/* ════════════════════════════════════════════════════════════
   FAQ — faq.css
   Prefixo: fq-
   ════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.fq-hero {
    background: #30493a;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}
.fq-hero::before {
    content: '';
    position: absolute; top: -180px; right: -180px;
    width: 560px; height: 560px; border-radius: 50%;
    background: rgba(74,155,111,0.08);
    pointer-events: none;
}
.fq-hero__inner {
    max-width: 860px; margin: 0 auto;
    position: relative; z-index: 1;
}
.fq-hero__label {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #e1e4cb; margin-bottom: 16px;
}
.fq-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff; font-weight: 700; line-height: 1.2;
    max-width: 640px;
}

/* ── SECÇÃO ── */
.fq-section { background: var(--cream); padding: 80px 5% 96px; }
.fq-inner   { max-width: 800px; margin: 0 auto; }

/* ── LISTA ── */
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 64px;
}

/* ── ITEM ── */
.fq-item {
    border-bottom: 1px solid var(--border);
}
.fq-item:first-child {
    border-top: 1px solid var(--border);
}

.fq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 4px;
    text-align: left;
    color: var(--ink);
    transition: color 0.2s;
}
.fq-item__trigger:hover { color: var(--green-mid); }

.fq-item__question {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.fq-item__icon {
    flex-shrink: 0;
    color: var(--green-fresh);
    display: flex;
    align-items: center;
    transition: transform 0.25s ease;
}

/* Estado aberto */
.fq-item.is-open .fq-item__trigger { color: var(--green-mid); }
.fq-item.is-open .fq-item__icon    { transform: rotate(180deg); }

/* ── CORPO (acordeão com grid-template-rows) ── */
.fq-item__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
    overflow: hidden;
}
.fq-item.is-open .fq-item__body {
    grid-template-rows: 1fr;
}
.fq-item__body-inner {
    overflow: hidden;
    padding-bottom: 0;
    transition: padding-bottom 0.28s ease;
}
.fq-item.is-open .fq-item__body-inner {
    padding-bottom: 22px;
}
.fq-item__body-inner p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin: 0;
    padding: 0 4px;
}

/* ── CTA ── */
.fq-cta {
    text-align: center;
    padding: 48px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}
.fq-cta p {
    font-size: 1.05rem;
    color: var(--ink-mid);
    margin-bottom: 20px;
}

/* ── VAZIO ── */
.fq-empty {
    text-align: center;
    color: var(--ink-light);
    padding: 48px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .fq-hero    { padding: 100px 5% 64px; }
    .fq-section { padding: 56px 5% 72px; }
    .fq-item__question { font-size: 0.98rem; }
}

@media (max-width: 480px) {
    .fq-hero__title { font-size: 1.75rem; }
    .fq-item__trigger { padding: 18px 2px; }
}
