/* Funil de material gratuito: hero com resultado, provas, bônus e o formulário em etapas.
   Mesma linguagem do refinamento: navy, controles 8px, superfícies 12px. */

/* Hero: a frase de resultado é mais longa que o slogan anterior e quebra naturalmente. */
.hero-heading--outcome { max-width: 15ch; font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: 1.06; text-wrap: balance; }
.hero-heading--outcome .hero-line { display: inline; white-space: normal; }
.hero-heading--outcome .hero-line + .hero-line::before { content: " "; }
.hero-heading--outcome .hero-accent { color: var(--accent-ink); }

/* ---------- Provas ---------- */
.std-provas { background: var(--navy); }
.provas-grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prova { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--navy-alt); }
.prova-tag { margin: 0; color: var(--text-faint); font-size: .8125rem; line-height: 1.5; }
.prova-metric { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1.05; letter-spacing: -.04em; color: var(--text-on-dark); }
.prova-text { margin: 14px 0 0; color: var(--text-soft); font-size: .9375rem; line-height: 1.7; }
.prova-text strong { color: var(--text-on-dark); font-weight: 600; }
.prova-shot { margin: auto 0 0; padding-top: 24px; }
.prova-shot img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; object-position: left top; border-radius: 8px; background: #f3efe8; }
.provas-mais { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.provas-mais li { padding: 24px 0; border-top: 1px solid var(--line); }
.provas-mais p { margin: 0; color: var(--text-soft); font-size: .9375rem; line-height: 1.65; }
.provas-mais strong { color: var(--text-on-dark); font-weight: 600; }
.provas-mais .prova-metric-sm { margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.03em; color: var(--accent-ink); }
.std-provas .std-note { margin-top: 24px; border-top: 0; padding-top: 0; }

/* ---------- Bônus nos serviços ---------- */

/* ---------- Formulário em etapas ---------- */
html.lf-open, html.lf-open body { overflow: hidden; }
.lf { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--navy); color: var(--text-on-dark); overscroll-behavior: contain; }
.lf::backdrop { background: rgba(4, 12, 24, .82); }
.lf[open] { display: block; }
.lf-shell { height: 100%; overflow-y: auto; display: flex; flex-direction: column; padding: 0 var(--page-gutter, 20px) max(32px, env(safe-area-inset-bottom)); background: radial-gradient(80% 60% at 85% 0%, rgba(20, 121, 255, .14), transparent 70%), var(--navy); }
.lf-top { flex: none; position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 16px; min-height: 72px; padding-top: 8px; background: linear-gradient(var(--navy) 70%, rgba(7, 20, 38, 0)); }
.lf-for { flex: 1; margin: 0; color: var(--text-faint); font-size: .875rem; line-height: 1.45; }
.lf-for strong { color: var(--text-on-dark); font-weight: 600; }
.lf-close { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text-soft); cursor: pointer; }
.lf-progress { flex: none; height: 3px; border-radius: 3px; background: rgba(164, 181, 202, .2); overflow: hidden; }
.lf-progress span { display: block; height: 100%; width: 4%; background: var(--accent-ink); transition: width 360ms var(--ease-out); }
.lf-stage { flex: 1; display: flex; align-items: center; width: 100%; max-width: 680px; margin: 0 auto; padding: clamp(32px, 8vh, 72px) 0 24px; }
.lf-screen { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .lf-screen { animation: lf-in 380ms var(--ease-out) both; }
  @keyframes lf-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
.lf-count { margin: 0 0 14px; color: var(--accent-ink); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lf-kicker { margin: 0 0 14px; color: var(--accent-ink); font-size: .875rem; font-weight: 600; }
.lf-question { display: block; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; color: var(--text-on-dark); text-wrap: balance; }
.lf-question:focus { outline: none; }
.lf-help { margin: 16px 0 0; color: var(--text-soft); font-size: 1rem; line-height: 1.65; max-width: 56ch; }
.lf-choices { display: grid; gap: 10px; margin-top: 32px; }
.lf-choice { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 12px 16px; border: 1px solid rgba(119, 189, 255, .42); border-radius: 8px; background: rgba(11, 27, 49, .7); color: var(--text-on-dark); font-size: 1.0625rem; line-height: 1.4; text-align: left; cursor: pointer; transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.lf-key { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(119, 189, 255, .5); border-radius: 6px; color: var(--accent-ink); font-size: .8125rem; font-weight: 700; }
.lf-choice[aria-pressed="true"] { border-color: var(--accent-ink); background: rgba(20, 121, 255, .22); }
.lf-choice[aria-pressed="true"] .lf-key { background: var(--accent-ink); color: var(--navy); border-color: var(--accent-ink); }
.lf-form { display: block; }
.lf-input { display: block; width: 100%; min-height: 52px; margin-top: 8px; padding: 12px 14px; border: 1px solid rgba(164, 181, 202, .4); border-radius: 8px; background: rgba(4, 12, 24, .45); color: var(--text-on-dark); font: inherit; font-size: 1.0625rem; }
.lf-input::placeholder { color: rgba(164, 181, 202, .6); }
.lf-input:focus { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-color: transparent; }
.lf-input[aria-invalid="true"] { border-color: #ff8f8f; }
.lf-input--big { margin-top: 28px; min-height: 60px; border-width: 0 0 2px; border-radius: 0; background: transparent; padding-inline: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.lf-input--big:focus { outline: none; border-bottom-color: var(--accent-ink); }
.lf-error { margin: 8px 0 0; color: #ffb0b0; font-size: .875rem; }
.lf-fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.lf-label { display: block; padding: 0; color: var(--text-soft); font-size: .9375rem; font-weight: 600; }
.lf-pills { display: flex; gap: 10px; margin-top: 10px; }
.lf-pill { position: relative; flex: 1; max-width: 200px; }
.lf-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lf-pill span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 1px solid rgba(119, 189, 255, .42); border-radius: 8px; color: var(--text-soft); font-weight: 600; }
.lf-pill input:checked + span { border-color: var(--accent-ink); background: rgba(20, 121, 255, .22); color: var(--text-on-dark); }
.lf-pill input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.lf-field { margin-top: 20px; }
.lf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.lf-next { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: .9rem 1.4rem; border: 1px solid rgba(238, 244, 251, .14); border-radius: 8px; background: var(--btn); color: #eef4fb; font-weight: 700; font-size: 1rem; line-height: 1.35; text-align: center; cursor: pointer; transition: background-color 160ms var(--ease-out); }
.lf-whatsapp { text-decoration: none; background: #177a40; width: 100%; max-width: 420px; min-height: 58px; font-size: 1.0625rem; }
.lf-hint { color: var(--text-faint); font-size: .8125rem; }
.lf-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 8px 0; border: 0; background: none; color: var(--accent-ink); font-size: .9375rem; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(119, 189, 255, .5); }
.lf-fine { margin: 16px 0 0; color: var(--text-faint); font-size: .8125rem; line-height: 1.55; }
.lf-receipt { margin-top: 28px; padding: 20px 22px; border: 1px dashed rgba(119, 189, 255, .5); border-radius: var(--surface-radius); background: rgba(20, 121, 255, .08); }
.lf-receipt-kicker { margin: 0; color: var(--text-faint); font-size: .8125rem; }
.lf-receipt-title { margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--text-on-dark); }
@media (hover: hover) {
  .lf-choice:hover { border-color: var(--accent-ink); background: rgba(119, 189, 255, .1); }
  .lf-next:hover { background: var(--btn-hover); }
  .lf-whatsapp:hover { background: #12663a; }
  .lf-close:hover { color: var(--text-on-dark); border-color: var(--accent-ink); }
}

@media (max-width: 1100px) {
  .provas-grid { grid-template-columns: 1fr 1fr; }
  .provas-grid .prova:last-child { grid-column: 1 / -1; }
  .provas-mais { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .hero-heading--outcome { font-size: clamp(2rem, 8.6vw, 3rem); max-width: 16ch; }
  .provas-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .provas-grid .prova:last-child { grid-column: auto; }
  .prova { padding: 22px 20px; }
  .provas-mais { grid-template-columns: 1fr; margin-top: 24px; }
  .provas-mais li { padding: 20px 0; }
  .lf-top { min-height: 64px; }
  .lf-stage { align-items: flex-start; padding-top: 28px; }
  .lf-question { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .lf-choice { font-size: 1rem; min-height: 56px; }
  .lf-next { width: 100%; }
  .lf-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-progress span, .lf-choice, .lf-next { transition: none; }
}
.prova-shot a { display: block; border-radius: 8px; }
.prova-shot figcaption { margin-top: 8px; color: var(--text-faint); font-size: .8125rem; }
@media (hover: hover) { .prova-shot a:hover img { outline: 2px solid var(--accent-ink); outline-offset: 2px; } }
.lf-receipt-bonus { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(119, 189, 255, .3); color: var(--text-soft); font-size: .9375rem; line-height: 1.6; }
.lf-receipt-bonus strong { color: var(--text-on-dark); }
