/* ===================================================
   SEÇÃO PERGUNTAS FREQUENTES (FAQ)
   =================================================== */

.s-faq {
    background: #f8f8f8; /* Fundo cinza claro */
    color: var(--text-dark, #243047);
    padding: clamp(60px, 8vw, 100px) 0;
}

.s-faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--gutter, 24px); 
}

/* --- CABEÇALHO --- */
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}
.faq__h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 5px;
    color: #333;
}
.faq-rule {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand, #e6b043); /* Cor Dourada/Âmbar */
    border-radius: 2px;
    margin: 0 auto 10px;
}
.faq__sub {
    font-size: 1rem;
    color: var(--brand, #e6b043); /* Cor Dourada/Âmbar */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- GRID DE ACORDEÕES --- */
.faq-grid {
    display: grid;
    /* 💥 LAYOUT DESKTOP: 2 Colunas Fixas */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start; /* Alinha os cards ao topo */
}

/* Item de Acordeão */
.faq-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-card__q {
    /* Botão da Pergunta */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark, #243047);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.faq-card__q:hover {
    background-color: #f5f5f5;
}

/* Ícone de Mais/Menos */
.faq-card__icon {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--brand, #e6b043);
}

/* Resposta */
.faq-card__a {
    /* O JS muda o 'hidden' e esta classe */
    padding:20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
}
.faq-card__a p {
    
    font-size: 1rem;
    color: #44516a;
}

/* 💥 ESTADO ABERTO (JS adiciona .is-open) */
.faq-card.is-open .faq-card__icon {
    transform: rotate(45deg); /* Gira o '+' para 'x' ou em 45deg para o '-' */
}
.faq-card.is-open .faq-card__a {
    max-height: 500px; /* Suficiente para qualquer resposta */
    opacity: 1;
}


/* ===================================================
   RESPONSIVIDADE (Abaixo de 800px)
   =================================================== */
@media (max-width: 800px) {
    .faq-grid {
        /* 💥 LAYOUT MOBILE: 1 Coluna */
        grid-template-columns: 1fr;
        gap: 15px;
    }
}