/* Estilos para a página de locais de atendimento */

.locais-header {
    background: linear-gradient(135deg, #00333d 0%, #005a6b 100%);
    color: white;
    padding: 80px 0 60px;
    margin-top: 70px;
}

.locais-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.locais-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

.search-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.search-box {
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-box .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.search-box .input-group-text {
    background: #00333d;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
}

.search-box .input-group-text i {
    font-size: 1.2rem;
}

.regions-section {
    padding: 60px 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.region-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #00333d;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00333d, #005a6b);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.region-card.taxa-gratuita {
    border-left-color: #28a745;
}

.region-card.taxa-gratuita::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.region-card.taxa-paga {
    border-left-color: #ffc107;
}

.region-card.taxa-paga::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.taxa-info {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 5px;
}

.taxa-gratuita .taxa-info {
    background-color: #d4edda;
    color: #155724;
}

.taxa-paga .taxa-info {
    background-color: #fff3cd;
    color: #856404;
}

.whatsapp-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #25d366;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.region-card:hover .whatsapp-hint {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-hint i {
    font-size: 1rem;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.region-card:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

.region-card h4 {
    color: #00333d;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.region-card .region-icon {
    color: #00333d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.region-card .region-info {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results i {
    color: #ddd;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h3 {
    color: #00333d;
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #00333d 0%, #005a6b 100%);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 61, 0.3);
}

/* Animação de entrada */
.region-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.region-card:nth-child(1) { animation-delay: 0.1s; }
.region-card:nth-child(2) { animation-delay: 0.2s; }
.region-card:nth-child(3) { animation-delay: 0.3s; }
.region-card:nth-child(4) { animation-delay: 0.4s; }
.region-card:nth-child(5) { animation-delay: 0.5s; }
.region-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .locais-header {
        padding: 60px 0 40px;
        margin-top: 60px;
    }
    
    .locais-header h1 {
        font-size: 2rem;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .region-card {
        padding: 20px;
        padding-bottom: 50px; /* Espaço para o hint do WhatsApp */
    }
    
    .search-section {
        padding: 30px 0;
    }
    
    .search-box .form-control {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .search-box .input-group-text {
        padding: 12px 15px;
    }
    
    /* Mostrar hint do WhatsApp sempre em mobile */
    .whatsapp-hint {
        opacity: 1;
        transform: translateY(0);
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Efeito de highlight na pesquisa */
.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
