/* ================================================================
   Módulo Faq: perguntas frequentes em <details> nativo
   Faixa em "surface", separada por borda fina, como as demais seções
   alternadas (DESIGN.md). Sem degradê e sem glow.
   ================================================================ */

.faq-section {
    background-color: var(--jj-surface, #141414);
    border-top: 1px solid rgba(var(--jj-accent-rgb, 0, 255, 255), 0.2);
    border-bottom: 1px solid rgba(var(--jj-accent-rgb, 0, 255, 255), 0.2);
}

.faq-list {
    max-width: 46rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;          /* área de toque confortável no celular */
    padding: 0.9rem 0.25rem;
    list-style: none;
    cursor: pointer;
    color: var(--jj-text, #fff);
    font-weight: 600;
    line-height: 1.4;
}

.faq-question::-webkit-details-marker {
    display: none;
}

/* Seta desenhada com borda: vira para cima quando a resposta está aberta. */
.faq-question::after {
    content: "";
    flex: 0 0 auto;
    width: 0.6rem;
    height: 0.6rem;
    border: solid var(--jj-accent, #00ffff);
    border-width: 0 2px 2px 0;
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 0.15s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(0.15rem) rotate(-135deg);
}

.faq-question:hover {
    color: var(--jj-accent-soft, #99ffff);
}

.faq-question:focus-visible {
    outline: 2px solid var(--jj-accent, #00ffff);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.faq-answer {
    padding: 0 0.25rem 1.1rem;
    color: rgba(218, 218, 218, 0.8);
    line-height: 1.7;
    max-width: 60ch;
    text-shadow: none;
}

.faq-answer a {
    color: var(--jj-accent-soft, #99ffff);
}

@media (prefers-reduced-motion: reduce) {
    .faq-question::after {
        transition: none;
    }
}
