/* ═══════════════════════════════════════════════════════════════
   STP · Sassi Imóveis — "Planta & Medida"
   Documento técnico de construção de carreira.
   Paper/tinta + vinho de marca (#830811) · Archivo + Spline Sans Mono
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* paper / tinta */
  --paper:    #f4f5f6;
  --paper-2:  #eceef0;
  --paper-3:  #e4e6e9;
  --ink:      #211c19;
  --ink-2:    #5f5752;
  --ink-3:    #8d867f;
  --line:     #d4d0cc;
  --line-2:   #c2bdb8;

  /* vinho de marca Sassi */
  --brand:      #830811;
  --brand-soft: #c0301f;
  --brand-deep: #5c050c;
  --on-brand:   #f6f1ec;
  --on-brand-2: #e3b9b2;

  /* tipografia */
  --f-disp: 'Archivo', system-ui, sans-serif;
  --f-body: 'Archivo', system-ui, sans-serif;
  --f-mono: 'Spline Sans Mono', ui-monospace, monospace;

  /* escala modular ~1.25 */
  --t-2xs: .6875rem;   /* 11px */
  --t-xs:  .75rem;     /* 12px */
  --t-sm:  .875rem;    /* 14px */
  --t-base: 1.0625rem; /* 17px */
  --t-md:  1.1875rem;  /* 19px */
  --t-lg:  clamp(1.3rem, 1.1rem + .9vw, 1.6rem);
  --h3:    clamp(1.45rem, 1.1rem + 1.6vw, 2.05rem);
  --h2:    clamp(2.1rem, 1.4rem + 3.2vw, 3.25rem);
  --h1:    clamp(2.75rem, 1.4rem + 6.4vw, 5.25rem);

  /* medida / grade */
  --maxw: 1240px;
  --gutter: clamp(20px, 4.5vw, 60px);
  --rule: 1px solid var(--line);
  --rule-ink: 1px solid var(--ink);

  /* ritmo vertical */
  --sec: clamp(72px, 9vw, 132px);

  /* motion */
  --ease: cubic-bezier(.22,1,.36,1);     /* ease-out-quint */
  --ease-2: cubic-bezier(.16,1,.3,1);

  --z-nav: 100;
  --z-sticky: 90;
  --z-skip: 1000;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--brand); color: var(--on-brand); }

/* ─── TIPOGRAFIA ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--h1); font-variation-settings: "wdth" 112; letter-spacing: -.035em; line-height: .98; }
h2 { font-size: var(--h2); font-variation-settings: "wdth" 108; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--t-md); font-weight: 700; letter-spacing: -.01em; }
p  { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
.lede { font-size: var(--t-md); color: var(--ink-2); line-height: 1.55; max-width: 56ch; }
.measure { max-width: 64ch; }

/* ─── MONO TAG (etiqueta de prancha — sistema nomeado) ───────── */
.tag {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.tag::before {
  content: ""; width: 22px; height: 1px; background: var(--brand);
}
.tag--plain::before { display: none; }
.tag--brand { color: var(--brand); }
.tag b { color: var(--brand); font-weight: 600; }

/* ─── LAYOUT / FOLHA TÉCNICA ─────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* a "folha": régua de margem em hairline */
.sheet {
  position: relative;
  border-left: var(--rule);
  border-right: var(--rule);
}
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* régua horizontal com ticks */
.rule { height: 0; border-top: var(--rule); position: relative; }
.rule--ticks::before, .rule--ticks::after {
  content: ""; position: absolute; top: 0; width: 1px; height: 7px; background: var(--line-2);
}
.rule--ticks::before { left: 0; }
.rule--ticks::after { right: 0; }

/* cabeçalho de seção padrão */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lede { margin-top: 4px; }

/* ─── BOTÕES (sinalização, cantos retos) ─────────────────────── */
.btn {
  --bg: var(--brand); --fg: var(--on-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 26px; min-height: 50px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-disp); font-weight: 700; font-size: var(--t-sm);
  letter-spacing: .01em;
  border: 1px solid var(--bg);
  transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
  touch-action: manipulation;
}
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 19px 34px; min-height: 58px; font-size: var(--t-base); }
.btn--full { width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--on-ink { --bg: var(--on-brand); --fg: var(--ink); border-color: var(--on-brand); }
.btn--on-ink:hover { background: #fff; border-color: #fff; }

/* ─── FOCO / SKIP ────────────────────────────────────────────── */
:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px;
}
.section--ink :where(a,button,input,select):focus-visible,
.section--brand :where(a,button,input,select):focus-visible { outline-color: var(--on-brand); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-skip);
  background: var(--brand); color: var(--on-brand);
  padding: 12px 18px; font-family: var(--f-mono); font-size: var(--t-sm);
}
.skip-link:focus { left: 0; }

/* ─── SEÇÕES INVERTIDAS ──────────────────────────────────────── */
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4, .section--ink strong { color: var(--paper); }
.section--ink .lede, .section--ink p { color: #c7c0ba; }
.section--ink .tag { color: #b7b0aa; }
.section--ink .rule { border-color: rgba(255,255,255,.16); }

.section--brand { background: var(--brand); color: var(--on-brand); }
.section--brand h1, .section--brand h2, .section--brand h3, .section--brand strong { color: #fff; }
.section--brand .lede, .section--brand p { color: var(--on-brand-2); }
.section--brand .tag { color: var(--on-brand-2); }
.section--brand .tag::before { background: var(--on-brand-2); }

/* ═══════════════════ NAV ════════════════════════════════════ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: 68px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
#nav.scrolled {
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
.nav-logo { display: inline-flex; align-items: center; gap: .7em; }
.logo-img { height: 32px; width: auto; display: block; }
.nav-logo .reg { display: none; font-family: var(--f-mono); font-size: .6rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); padding-left: .7em; border-left: var(--rule); }
@media (min-width: 560px) { .nav-logo .reg { display: inline-block; } }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-cta { display: none; }
@media (min-width: 600px) { .nav-cta { display: inline-flex; } }

/* ═══════════════════ HERO ═══════════════════════════════════ */
#hero { padding-top: 116px; padding-bottom: clamp(48px, 6vw, 80px); position: relative; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .em { color: var(--brand); }
.hero-sub { font-size: var(--t-md); color: var(--ink-2); max-width: 50ch; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 34px; }
.hero-link { font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: .02em; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s, color .2s; }
.hero-link:hover { color: var(--brand); border-color: var(--brand); }

.specline {
  margin-top: 40px; padding-top: 18px; border-top: var(--rule);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.specline b { color: var(--brand); font-weight: 600; }

/* ─── ELEVAÇÃO (desenho-assinatura da carreira) ──────────────── */
.elev {
  position: relative; border: var(--rule-ink);
  background: #fff;
  padding: 0;
}
.elev-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  padding: 16px 22px; border-bottom: var(--rule-ink);
}
.elev-steps { display: grid; gap: 0; position: relative; padding: 8px 22px 8px 52px; }
.elev-step { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px 0; position: relative; }
.elev-num {
  position: absolute; left: -35px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; display: grid; place-items: center;
}
.elev-num .dot { width: 11px; height: 11px; border: 1.5px solid var(--brand); border-radius: 50%; background: var(--paper); }
.elev-step.is-top .elev-num .dot { background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.elev-name { font-family: var(--f-disp); font-weight: 700; font-size: var(--t-base); letter-spacing: -.01em; }
.elev-name small { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--t-xs); color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.elev-code { font-family: var(--f-mono); font-size: var(--t-2xs); color: var(--ink-3); letter-spacing: .06em; }
.elev-val { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-2); text-align: right; white-space: nowrap; }
.elev-val b { display: block; color: var(--brand); font-size: var(--t-sm); font-weight: 600; }
.elev-rail { position: absolute; left: 25px; top: 22px; bottom: 22px; width: 2px; background: var(--line-2); }
.elev-rail i { position: absolute; inset: 0 0 auto 0; height: 100%; width: 100%; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease); }
.is-inview .elev-rail i { transform: scaleY(1); }

/* ═══════════════════ FAIXA DE SPECS ─────────────────────────── */
#trust { border-block: var(--rule); background: var(--paper-2); }
.specbar { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .specbar { grid-template-columns: repeat(4, 1fr); } }
.spec { padding: 26px clamp(16px, 2.4vw, 30px); border-top: var(--rule); border-left: var(--rule); }
.spec:nth-child(-n+2) { border-top: none; }
@media (min-width: 760px) { .spec { border-top: none; } .spec:first-child { border-left: none; } }
@media (max-width: 759px) { .spec:nth-child(odd) { border-left: none; } }
.spec-k { font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.spec-v { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); letter-spacing: -.03em; margin-top: 8px; font-variation-settings: "wdth" 108; }
.spec-v.brand { color: var(--brand); }
.spec-d { font-size: var(--t-xs); color: var(--ink-2); margin-top: 4px; }

/* ═══════════════════ COLUNAS REGRADAS (hook) ───────────────── */
.cols2 { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 880px) { .cols2 { grid-template-columns: 1fr 1fr; } }
.ledger { margin-top: 26px; border-top: var(--rule-ink); }
.ledger-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 24px 0; align-items: start; }
.ledger-mark { margin-top: 2px; color: var(--brand); }
.ledger-mark.neg { color: var(--ink-3); }
.ledger-row h4 { margin-bottom: 4px; }
.ledger-row p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }

/* ═══════════════════ SPEC-SHEET (CRECI / diferenciais) ─────── */
.spec-sheet { border: var(--rule-ink); background: #fff; }
.spec-sheet-h { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-bottom: var(--rule-ink); font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.spec-line { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 13px 20px; border-bottom: var(--rule); font-size: var(--t-sm); align-items: center; }
.spec-line:last-child { border-bottom: none; }
.spec-line .v { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--brand); }
.callout { margin-top: 20px; padding: 18px 20px; border: var(--rule); background: var(--paper-2); font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.callout b { color: var(--ink); }
.callout .lbl { display: block; font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.points { display: grid; gap: 0; margin-top: 8px; }
.point { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; }
.point .n { font-family: var(--f-mono); font-size: var(--t-md); font-weight: 600; color: var(--brand); }
.point h4 { margin-bottom: 5px; }
.point p { font-size: var(--t-sm); color: var(--ink-2); }

/* ═══════════════════ CHECKLIST (for whom) ───────────────────── */
.checklist { display: grid; gap: 0; margin-top: 28px; border-top: var(--rule-ink); }
@media (min-width: 720px) { .checklist { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 64px); } }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 22px 0; }
.check .mk { color: var(--brand); margin-top: 1px; }
.check h4 { font-size: var(--t-base); margin-bottom: 3px; }
.check p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }

/* ═══════════════════ CREDENCIAIS (instrutores) ─────────────── */
.creds { display: grid; gap: 0; margin-top: 28px; border-top: var(--rule-ink); }
@media (min-width: 820px) { .creds { grid-template-columns: 1fr 1fr; } }
.cred { padding: 36px 0; }
@media (min-width: 820px) { .cred:nth-child(2) { padding-left: clamp(28px, 3vw, 44px); border-left: var(--rule); } }
.cred-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.monogram { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--f-disp); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.cred-name { font-family: var(--f-disp); font-weight: 800; font-size: var(--t-lg); letter-spacing: -.02em; }
.cred-role { font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }
.cred-bio { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .06em; color: var(--ink-2); border: var(--rule); padding: 5px 10px; }

/* ═══════════════════ ÍNDICE / MÓDULOS (currículo) ──────────── */
.index-list { border-top: var(--rule-ink); margin-top: 28px; }
.mod { border-bottom: var(--rule); }
.mod-trigger { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 16px; padding: 20px 4px; text-align: left; transition: background .15s; }
.mod-trigger:hover { background: var(--paper-2); }
.mod-n { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600; color: var(--brand); }
.mod-title { font-family: var(--f-disp); font-weight: 700; font-size: var(--t-md); letter-spacing: -.01em; }
.mod-arw { justify-self: end; color: var(--ink-2); transition: transform .3s var(--ease); }
.mod.open .mod-arw { transform: rotate(45deg); }
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.mod.open .mod-body { grid-template-rows: 1fr; }
.mod-body > div { overflow: hidden; min-height: 0; }
.mod-inner { padding: 0 4px 24px 64px; }
.mod-inner p { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 12px; }
.mod-inner ul { display: grid; gap: 8px; }
.mod-inner li { font-size: var(--t-sm); color: var(--ink-2); padding-left: 18px; position: relative; }
.mod-inner li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--brand); }
@media (max-width: 560px) { .mod-inner { padding-left: 44px; } }

/* ═══════════════════ FOLHA DE CÁLCULO (ganhos) ─────────────── */
.calc-grid { display: grid; gap: clamp(36px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-explain p { color: var(--ink-2); margin-bottom: 14px; font-size: var(--t-sm); line-height: 1.65; }
.calc-explain p strong { color: var(--ink); }
.calc-note { margin-top: 18px; padding: 16px 18px; border: var(--rule); background: var(--paper-2); font-size: var(--t-xs); color: var(--ink-2); line-height: 1.55; }
.calc-note b { color: var(--brand); }
.sheet-calc { border: var(--rule-ink); background: #fff; }
.calc-h { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: var(--rule-ink); font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: var(--rule); }
.calc-lvl { font-family: var(--f-disp); font-weight: 700; font-size: var(--t-base); }
.calc-lvl small { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--ink-2); margin-top: 2px; }
.calc-amt { font-family: var(--f-mono); font-weight: 600; font-size: var(--t-md); color: var(--brand); text-align: right; font-variant-numeric: tabular-nums; }
.calc-amt small { display: block; font-size: var(--t-2xs); color: var(--ink-3); font-weight: 400; }
.calc-scn { background: var(--paper-2); }
.calc-brk { padding: 8px 20px 4px; }
.calc-brk .br { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: var(--rule); font-size: var(--t-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.calc-brk .br b { font-family: var(--f-mono); color: var(--ink); font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-top: var(--rule-ink); }
.calc-total span { font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.calc-total b { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); color: var(--brand); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ═══════════════════ DEPOIMENTOS (invertido) ───────────────── */
.quotes { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.18); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255,255,255,.18); } }
.quote { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 860px) {
  .quote { border-bottom: none; border-left: 1px solid rgba(255,255,255,.14); padding: 30px clamp(20px,2vw,30px); }
  .quote:first-child { border-left: none; padding-left: 0; }
}
.q-score { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; color: var(--brand-soft); }
.q-text { font-size: var(--t-md); line-height: 1.5; margin: 14px 0 22px; color: var(--paper); }
.q-who { font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .08em; text-transform: uppercase; color: #b7b0aa; }
.q-who b { color: var(--paper); font-weight: 600; }

/* ═══════════════════ FAQ ════════════════════════════════════ */
.faq { max-width: 820px; border-top: var(--rule-ink); margin-top: 28px; }
.qa { border-bottom: var(--rule); }
.qa-q { width: 100%; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 22px 4px; text-align: left; transition: background .15s; }
.qa-q:hover { background: var(--paper-2); }
.qa-q span { font-family: var(--f-disp); font-weight: 600; font-size: var(--t-md); letter-spacing: -.01em; }
.qa-arw { justify-self: end; color: var(--ink-2); transition: transform .3s var(--ease); }
.qa.open .qa-arw { transform: rotate(45deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; min-height: 0; }
.qa-a p { padding: 0 4px 24px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.65; max-width: 70ch; }

/* ═══════════════════ FORM CTA (drench vinho) ───────────────── */
#formcta { background: var(--brand); color: var(--on-brand); }
.form-wrap { max-width: 720px; margin-inline: auto; }
.form-head { margin-bottom: 30px; }
.form-head h2 { color: #fff; }
.form-head .lede { color: var(--on-brand-2); }
.form-sheet { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--brand-deep); }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-family: var(--f-mono); font-size: var(--t-2xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.fg label .req { color: var(--brand); }
.fg input, .fg select {
  width: 100%; padding: 14px; min-height: 50px;
  background: #fff; border: var(--rule-ink); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-base); border-radius: 0;
  transition: border-color .18s, box-shadow .18s;
}
.fg input::placeholder { color: var(--ink-3); }
.fg input:focus, .fg select:focus { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .fg2 { grid-template-columns: 1fr; } }
.form-submit { margin-top: 26px; }
.form-fine { margin-top: 14px; font-family: var(--f-mono); font-size: var(--t-2xs); line-height: 1.6; color: var(--ink-2); letter-spacing: .02em; }
.form-fine svg { display: inline; vertical-align: -2px; }
.form-success { display: none; text-align: center; padding: 16px 0; }
.form-success .ok { color: var(--brand); margin: 0 auto 18px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: 24px; max-width: 46ch; margin-inline: auto; }

/* ═══════════════════ FOOTER ─────────────────────────────────── */
#footer { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 5vw, 64px); }
.foot { display: grid; gap: 28px; }
@media (min-width: 720px) { .foot { grid-template-columns: 1fr auto; align-items: end; } }
.foot-logo img { height: 46px; width: auto; display: block; }
.foot-colophon { font-family: var(--f-mono); font-size: var(--t-2xs); line-height: 1.8; letter-spacing: .04em; color: #9b948e; margin-top: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .06em; color: #b7b0aa; transition: color .2s; }
.foot-nav a:hover { color: var(--paper); }

/* ═══════════════════ STICKY MOBILE CTA ──────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 599px) {
  .sticky-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: blur(8px); border-top: var(--rule);
  }
}

/* ═══════════════════ MOTION / REVEAL ────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-inview { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .07s; }
.js .reveal[data-d="2"] { transition-delay: .14s; }
.js .reveal[data-d="3"] { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .elev-rail i { transform: scaleY(1) !important; }
}

#page-analysis { display: none; }
