/* pages/faq.css — implementation of FAQ.dc.html.

   Rewritten wholesale. Unlike the rest of the site this is a LIGHT page:
   paper background, ink text, hairline dividers, an Instrument Serif "+"
   that rotates into an ×. Narrow measure so answers stay readable. */

/* No body override: the fixed-nav offset paints the body background,
   and paper there showed as a white stripe above the dark header.
   body stays --ink-950, which matches the header gradient exactly. */
.faq-page {
    background: var(--paper);
    color: var(--paper-text);
    /* covers the viewport where :has() is unsupported, so no dark strip shows */
    min-height: 100vh;
    padding-top: 0;   /* body already offsets the fixed nav */
}

.faq-section { padding: 90px 0 130px; }
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------------- item ---------------- */
.faq-item {
    border: none;
    border-bottom: 1px solid var(--paper-line);
    border-radius: 0;
    background: transparent;
    margin: 0;
    overflow: hidden;
}
.faq-item:hover { border-color: var(--paper-line); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 30px 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--paper-text);
}
.faq-question:hover { color: var(--serif-accent); }

.faq-sign {
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1;
    color: var(--text-low);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item.active .faq-sign {
    transform: rotate(45deg);
    color: var(--serif-accent);
}

/* ---------------- answer ---------------- */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.35s var(--ease);
}
.faq-item.active .faq-answer {
    max-height: 1400px;
    opacity: 1;
    padding: 0 4px 32px;
}
.faq-answer p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--paper-mid);
    margin: 0;
    max-width: 62ch;
}

.faq-empty { color: var(--paper-mid); padding: 60px 0; }

/* ---------------- outro ---------------- */
.faq-outro {
    margin-top: 64px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.faq-outro-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--serif-accent);
}
.faq-outro a {
    font-size: 15px;
    font-weight: 500;
    color: var(--paper-text);
    border-bottom: 1px solid var(--paper-text);
    padding-bottom: 2px;
}
.faq-outro a:hover { color: var(--serif-accent); border-color: var(--serif-accent); }

@media (max-width: 640px) {
    .faq-section { padding: 56px 0 80px; }
    .faq-question { font-size: 17px; padding: 24px 2px; }
}
