/* ==========================================================================
   Boxti — Seção "Para quem somos"
   Eyebrow + título bold + lista de dúvidas expansíveis (accordion).
   Itens 2º e 4º com card destacado. Usa <details>/<summary> nativos.
   ========================================================================== */

/* Eyebrow em azul — sobrescreve o verde global só nesta seção */
#para-quem .section-eyebrow,
#para-quem .section-eyebrow::before {
    color: var(--color-blue);
}

.audience__title {
    font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 var(--space-8);
}

.audience__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 60rem;
}

/* Item expansível ---------------------------------------------------------- */
.faq {
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: border-color var(--transition-base),
                background-color var(--transition-base);
}

/* Itens destacados (2º e 4º) */
.faq--card {
    background-color: rgba(18, 42, 52, 0.5);
    border-color: var(--color-card-border);
}

.faq[open] {
    background-color: rgba(18, 42, 52, 0.6);
    border-color: rgba(43, 125, 214, 0.4);
}

/* Pergunta (cabeçalho clicável) */
.faq__summary {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    cursor: pointer;
    list-style: none;
    font-size: clamp(1.125rem, 0.85rem + 1vw, 1.5rem);
    line-height: var(--lh-snug);
    color: rgba(255, 255, 255, 0.88);
}

.faq__summary::-webkit-details-marker {
    display: none;
}

/* Bullet */
.faq__summary::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.88);
}

.faq__text {
    flex: 1;
}

/* Ícone "+" que vira "×" ao abrir */
.faq__icon {
    flex-shrink: 0;
    position: relative;
    width: 18px;
    height: 18px;
    color: var(--color-blue);
    transition: transform var(--transition-base);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background-color: currentColor;
    border-radius: 2px;
}

.faq__icon::before {
    width: 100%;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 100%;
}

.faq[open] .faq__icon {
    transform: rotate(45deg);
}

/* Resposta */
.faq__answer {
    /* alinha o texto da resposta sob o texto da pergunta (após o bullet) */
    padding: 0 var(--space-5) var(--space-5) calc(var(--space-5) + 7px + var(--space-4));
}

.faq__answer p {
    margin: 0;
    font-size: var(--fs-body-lg);
    line-height: var(--lh-relaxed);
    color: var(--color-text-secondary);
    max-width: 48rem;
}

.faq[open] .faq__answer {
    animation: faqReveal 320ms ease;
}

@keyframes faqReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsivo --------------------------------------------------------------- */
@media (max-width: 600px) {
    .faq__summary {
        padding: var(--space-4);
    }
    .faq__answer {
        padding: 0 var(--space-4) var(--space-4) calc(var(--space-4) + 7px + var(--space-4));
    }
}
