/* Popup de Taxa de Visita Gratuita */
/* Ícones adicionais do Font Awesome */
.fa-check-circle:before { content: "\f058"; }
.fa-map-marker:before { content: "\f041"; }
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid #007bff;
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #007bff;
}

.popup-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.popup-title {
    color: #007bff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.popup-subtitle {
    color: #28a745;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.popup-text {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-regions {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.popup-regions h4 {
    color: #00333d;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-info-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-consultar-regioes {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-consultar-regioes:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.btn-consultar-regioes i {
    margin-right: 8px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    text-align: left;
}

.region-item {
    color: #555;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}

.region-item:last-child {
    border-bottom: none;
}

.popup-cta {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.popup-cta:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.popup-cta i {
    margin-right: 10px;
    font-size: 20px;
}

.popup-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-subtitle {
        font-size: 18px;
    }
    
    .popup-text {
        font-size: 14px;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-cta {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 25px 15px;
    }
    
    .popup-icon {
        font-size: 50px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-subtitle {
        font-size: 16px;
    }
}
