/* ===== ESTILOS ESPECÍFICOS DA PÁGINA DE CONTATO ===== */

/* Breadcrumb */
.breadcrumb-section {
    padding: 2rem 0 1rem;
    background: var(--bg-light);
    margin-top: 76px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-contato {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-contato h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-contato p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Seção Principal de Contato */
.secao-contato {
    padding: 4rem 0;
    background: var(--bg-light);
}

.container-contato {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Informações de Contato */
.info-contato {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    height: 100%;
    position: relative;
}

.info-contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.2;
}

.info-contato h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.item-contato {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.icone-contato {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detalhes-contato h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detalhes-contato p {
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.horarios-contato {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.horarios-contato h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.item-horario {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.links-sociais {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.links-sociais h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.icones-sociais {
    display: flex;
    gap: 1rem;
}

.icone-social {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icone-social:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Formulário de Contato */
.formulario-contato {
    padding: 3rem 2rem;
    background: white;
}

.formulario-contato h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.grupo-formulario {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    background: white;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    display: block;
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.textarea-formulario {
    min-height: 120px;
    resize: vertical;
}

.botao-enviar {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.botao-enviar:hover {
    background: #157347;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.botao-enviar:active {
    transform: translateY(0);
}

.botao-enviar:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Seção FAQ */
.secao-faq {
    padding: 4rem 0;
    background: white;
}

.faq-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23343a40'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    background: white;
}

/* Seção do Mapa */
.secao-mapa {
    padding: 4rem 0;
    background: var(--bg-light);
}

.secao-mapa h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.container-mapa {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.placeholder-mapa {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 4rem 2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.placeholder-mapa i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.placeholder-mapa h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-mapa {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Alertas de Formulário */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
    border-left: 4px solid var(--primary-color);
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--secondary-color);
}

/* Responsividade */
@media (max-width: 992px) {
    .info-contato,
    .formulario-contato {
        padding: 2rem 1.5rem;
    }
    
    .hero-contato h1 {
        font-size: 2.5rem;
    }
    
    .hero-contato p {
        font-size: 1.1rem;
    }
    
    .secao-faq h3,
    .secao-mapa h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-contato {
        padding: 3rem 0;
    }
    
    .hero-contato h1 {
        font-size: 2rem;
    }
    
    .hero-contato p {
        font-size: 1rem;
    }
    
    .secao-contato {
        padding: 3rem 0;
    }
    
    .info-contato,
    .formulario-contato {
        padding: 1.5rem 1rem;
    }
    
    .info-contato h3,
    .formulario-contato h3 {
        font-size: 1.5rem;
    }
    
    .secao-faq,
    .secao-mapa {
        padding: 3rem 0;
    }
    
    .secao-faq h3,
    .secao-mapa h3 {
        font-size: 1.8rem;
    }
    
    .botao-acordeao {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .corpo-acordeao {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-contato h1 {
        font-size: 1.8rem;
    }
    
    .info-contato,
    .formulario-contato {
        padding: 1rem;
    }
    
    .item-contato {
        flex-direction: column;
        text-align: center;
    }
    
    .icone-contato {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .icones-sociais {
        justify-content: center;
    }
    
    .botao-enviar {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
