/* =========================================================
   RASTRO · folha de estilo
   Cores, fontes e espaçamentos ficam nas variáveis abaixo.
   ========================================================= */
/* Fontes Geist e Geist Mono (licença SIL OFL 1.1), servidas pelo próprio site */
@font-face { font-family: "Geist"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/Geist-Light.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/Geist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/Geist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/GeistMono-Medium.woff2") format("woff2"); }

:root {
  --ink: #1c1b19;        /* fundo escuro */
  --ink-2: #2a2926;      /* escuro secundário */
  --paper: #ece6da;      /* creme */
  --paper-2: #e1d9c9;
  --accent: #d6a0c8;     /* orquídea */
  --accent-2: #c487b5;
  --moss: #26321f;       /* verde musgo */
  --lilac: #ebdeec;
  --sage: #bcb79d;

  --line-d: rgba(236, 230, 218, .16);
  --line-l: rgba(28, 27, 25, .16);
  --muted-d: rgba(236, 230, 218, .66);
  --muted-l: rgba(28, 27, 25, .66);

  --f-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; opacity: .8; }
.h2 { font-size: clamp(2rem, 5vw, 4.25rem); line-height: .95; font-weight: 500; letter-spacing: -.025em; text-transform: uppercase; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 46px; padding: 12px 20px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--paper); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--moss); }
.btn--block { width: 100%; }

/* ---------- barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--accent);
  background: linear-gradient(var(--ink) 40%, transparent);
  transition: color .4s, background .4s;
}
.topbar.on-light { color: var(--ink); background: linear-gradient(var(--paper) 40%, transparent); }
.topbar.on-accent { color: var(--ink); background: linear-gradient(var(--accent) 40%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .18em; font-size: 18px; }
.brand__mark { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; }
.brand--lg { font-size: 26px; color: var(--accent); }
.brand--lg .brand__mark { width: 36px; height: 36px; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__login { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.topbar__login:hover { text-decoration: underline; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.menu-btn__plus { position: relative; width: 14px; height: 14px; }
.menu-btn__plus::before, .menu-btn__plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn__plus::after { transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .menu-btn__plus::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__plus::after { transform: rotate(135deg); }

/* ---------- menu em tela cheia ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menuIn .5s var(--ease); }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-d);
  font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1; font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; text-decoration: none;
  transition: color .3s, padding .3s var(--ease);
}
.menu__list a span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.menu__list a:hover { color: var(--accent); padding-left: 12px; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 32px; color: var(--muted-d); }

/* =========================================================
   CENA 1 · ABERTURA
   ========================================================= */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 8vh) var(--gutter) 0; display: flex; flex-direction: column; }
.hero__title {
  display: flex; justify-content: space-between; gap: 3vw;
  color: var(--accent); font-weight: 500; text-transform: uppercase;
  font-size: clamp(2.4rem, 5.6vw, 6.2rem); line-height: .95; letter-spacing: -.03em;
}
.hero__col { display: block; flex: 0 1 auto; }
.hero__col--right { text-align: right; margin-left: auto; }
/* folga em cima para acentos (Ã, Á) não serem cortados pela máscara da animação */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: .18em 0 .06em; margin: -.18em 0 -.06em; }
.word > span { display: inline-block; }
.js .split-ready .word > span { transform: translateY(125%); }
.js .split-ready.is-in .word > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms); }

.hero__body { position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 4vw; margin-top: auto; padding: 8vh 0 4vh; align-items: end; }
.hero__lead { font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.25; text-transform: uppercase; font-weight: 500; max-width: 26ch; }
.hero__aside p { color: var(--muted-d); max-width: 44ch; font-size: 15px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.badge { width: clamp(110px, 12vw, 170px); height: auto; color: var(--accent); }
.badge text { font-family: var(--f-mono); font-size: 13.2px; letter-spacing: .14em; fill: currentColor; }
.badge > text, .badge > defs + text { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.badge__core { fill: currentColor; stroke: currentColor; stroke-width: 3; }
@keyframes spin { to { transform: rotate(360deg); } }

.chain { margin: 0 0 28px; position: relative; }
.chain svg { width: 100%; height: 24px; }
.chain__base { stroke: var(--line-d); stroke-width: 1; }
.chain__flow { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.chain__nodes { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.chain__nodes li { position: relative; padding-top: 2px; }
.chain__nodes li::before { content: ""; position: absolute; top: -27px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); }
.chain__nodes li:first-child::before { left: 5px; }
.chain__nodes li:last-child::before { left: auto; right: -5px; background: var(--accent); }

/* ---------- faixa de termos ---------- */
.marquee { border-block: 1px solid var(--line-d); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(1.1rem, 2.2vw, 1.8rem); text-transform: uppercase; font-weight: 500; letter-spacing: -.01em; padding: 0 28px; white-space: nowrap; }
.marquee span:nth-child(odd) { color: var(--accent); }
.marquee span::after { content: "✳"; margin-left: 56px; color: var(--paper); font-size: .6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CENA 2 · CAOS → ORDEM (presa)
   ========================================================= */
.chaos { position: relative; height: 320vh; }
.chaos__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--header-h) + 16px) var(--gutter) 32px; }
.chaos__text { max-width: 760px; }
.chaos__steps { display: grid; font-size: clamp(1.5rem, 3.2vw, 2.8rem); line-height: 1.05; font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; }
.chaos__step { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chaos__step.is-active { opacity: 1; transform: none; }
.chaos__step:last-child { color: var(--accent); }
.chaos__stage { position: relative; margin-top: 4vh; }
.chaos__cols { position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); opacity: var(--cols, 0); }
.chaos__cols span { border-top: 1px solid var(--accent); padding-top: 8px; }
.file {
  position: absolute; left: 0; top: 0; width: var(--fw, 200px);
  padding: 12px 14px; border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  will-change: transform;
}
.file::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--accent-2); vertical-align: 0; }
.file.is-placed { background: var(--lilac); }

/* sem JS: arquivos em grade simples */
html:not(.js) .chaos { height: auto; }
html:not(.js) .chaos__sticky { position: static; height: auto; }
html:not(.js) .chaos__step { position: static; opacity: 1; transform: none; margin-bottom: 8px; }
html:not(.js) .chaos__stage { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 40px; }
html:not(.js) .file { position: static; }
html:not(.js) .rail__sticky { position: static; height: auto; padding-block: 96px; }
html:not(.js) .rail__track { width: auto; flex-wrap: wrap; }

/* =========================================================
   PAINÉIS CLAROS
   ========================================================= */
.panel { position: relative; z-index: 2; padding: clamp(72px, 12vh, 140px) 0; }
.panel--paper { background: var(--paper); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.panel--paper .eyebrow { color: var(--ink); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 80px); }
.head-row__note { max-width: 46ch; color: var(--muted-l); font-size: 15px; }
.features .head-row__note, .faq .head-row__note { color: var(--muted-d); }

/* ---------- seções da norma: tiras verticais ---------- */
.sections { display: flex; gap: 10px; height: clamp(440px, 62vh, 600px); }
.sec { position: relative; flex: 0 0 76px; background: var(--c); color: var(--t); border-radius: 14px; overflow: hidden; transition: flex-basis .7s var(--ease), flex-grow .7s var(--ease); }
.sec.is-open { flex: 1 1 auto; }
.sec__head { position: absolute; inset: 0; margin: 0; }
.sec__head button { width: 100%; height: 100%; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 22px; text-align: left; color: inherit; }
.sec__n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; }
.sec__name { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.sec.is-open .sec__name { writing-mode: horizontal-tb; transform: none; font-family: var(--f-sans); font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.02em; font-weight: 500; line-height: 1; order: -1; margin-bottom: auto; }
.sec.is-open .sec__n { order: -2; margin-bottom: 18px; }
.sec__plus { position: absolute; right: 18px; top: 18px; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; }
.sec__plus::before, .sec__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .4s var(--ease); }
.sec__plus::after { transform: rotate(90deg); }
.sec.is-open .sec__plus::after { transform: rotate(0deg); }
.sec:not(.is-open) .sec__plus { top: auto; bottom: 18px; right: auto; left: 50%; margin-left: -15px; }
.sec:not(.is-open) .sec__head button { padding-bottom: 64px; }
.sec:not(.is-open):hover { filter: brightness(1.06); }
.sec__body { position: absolute; left: 22px; right: 22px; bottom: 22px; max-width: 560px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.sec.is-open .sec__body { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.sec__body p { font-size: 15.5px; line-height: 1.55; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 5px 10px; opacity: .85; }

/* =========================================================
   CENA 4 · PRONTIDÃO (pico, presa)
   ========================================================= */
.ready { position: relative; height: 380vh; background: var(--ink); }
.ready__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(280px, 1fr) 1.45fr; gap: 5vw; align-items: center; padding: calc(var(--header-h) + 8px) var(--gutter) 24px; }
.ready__intro .h2 { color: var(--accent); }
.ready__note { margin-top: 24px; color: var(--muted-d); max-width: 38ch; }
.app { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 11px; color: var(--muted-d); }
.app__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-d); }
.app__bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__grid { display: grid; grid-template-columns: 200px 1fr; }
.app__score { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; border-right: 1px solid var(--line-d); position: relative; color: var(--muted-d); }
.app__score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line-d); stroke-width: 8; }
.ring { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 0; }
.app__pct { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -78%); display: flex; align-items: baseline; color: var(--paper); font-size: 44px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app__pct small { font-size: 18px; margin-left: 2px; color: var(--accent); }
.app__list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.app__list b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--accent); }
.app__list em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); white-space: nowrap; transition: background .3s, color .3s; }
.app__list li.is-pending span { color: var(--muted-d); }
.app__list li.is-pending em { background: transparent; color: var(--muted-d); box-shadow: inset 0 0 0 1px var(--line-d); }
.app__list li.just-done { animation: flash .9s var(--ease); }
@keyframes flash { from { background: rgba(214, 160, 200, .18); } to { background: transparent; } }
.app__log { grid-column: 1 / -1; padding: 12px 18px; color: var(--accent); border-top: 1px solid var(--line-d); }
.app__log::before { content: "› "; }

/* =========================================================
   CENA 5 · TRILHO HORIZONTAL
   ========================================================= */
.rail { position: relative; background: var(--paper); color: var(--ink); }
.rail__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6vh; padding: var(--header-h) 0 24px; }
.rail__track { display: flex; gap: 16px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.step { position: relative; width: clamp(280px, 30vw, 420px); min-height: 340px; padding: 26px; border: 1px solid var(--line-l); border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; transition: background .4s, color .4s; }
.step:hover { background: var(--ink); color: var(--paper); }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; margin-left: auto; }
.step h3 { margin-top: auto; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; }
.step p { font-size: 15px; opacity: .8; }
.step:last-child { background: var(--accent); }
.step:last-child:hover { background: var(--ink); }

/* =========================================================
   CENA 6 · NÚMEROS
   ========================================================= */
.numbers { background: var(--paper); color: var(--ink); padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--line-l); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.num { padding: 8px 24px 8px 0; border-left: 1px solid var(--line-l); padding-left: 20px; }
.num:first-child { border-left: 0; padding-left: 0; }
.num__val { font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .9; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num dd { margin: 14px 0 0; color: var(--muted-l); max-width: 24ch; font-size: 15px; }

/* =========================================================
   CENA 7 · RECURSOS
   ========================================================= */
.features { background: var(--ink); padding: clamp(80px, 14vh, 160px) 0; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-d); }
.feat li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line-d); transition: background .3s, padding .4s var(--ease); }
.feat li:nth-child(odd) { border-right: 1px solid var(--line-d); }
.feat li:nth-child(even) { padding-left: 24px; }
.feat li:hover { background: var(--ink-2); }
.feat__n { grid-row: span 2; font-family: var(--f-mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.feat h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 8px; }
.feat p { color: var(--muted-d); font-size: 15px; max-width: 48ch; }

/* =========================================================
   CENA 8 · PLANOS
   ========================================================= */
.refs { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

/* ---------- diagnóstico gratuito ---------- */
.diag { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: center; margin-bottom: 16px; padding: 32px; border-radius: 18px; background: var(--moss); color: var(--paper); }
.diag__flag { position: static; display: inline-block; margin-bottom: 14px; }
.diag__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 12px; }
.diag__desc { color: var(--muted-d); max-width: 52ch; font-size: 15px; }
.diag__list { display: grid; gap: 10px; font-size: 15px; }
.diag__list li { position: relative; padding-left: 22px; }
.diag__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent); }
.diag__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.diag__cta .plan__price { border: 0; padding: 0; }
@media (max-width: 1080px) { .diag { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 767px) { .diag { padding: 24px; } }

.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 18px; border: 1px solid var(--line-l); background: var(--paper); }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__flag { position: absolute; top: 18px; right: 18px; background: var(--accent); color: var(--ink); padding: 5px 10px; border-radius: 999px; font-size: 10.5px; }
.plan__name { font-size: 1.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; }
.plan__desc { color: var(--muted-l); font-size: 15px; }
.plan--featured .plan__desc { color: var(--muted-d); }
.plan__price { display: flex; align-items: baseline; gap: 6px; padding: 10px 0 14px; border-bottom: 1px solid var(--line-l); white-space: nowrap; }
.plan--featured .plan__price { border-color: var(--line-d); }
.plan__cur { font-family: var(--f-mono); font-size: 14px; }
.plan__val { font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan__per { font-family: var(--f-mono); font-size: 13px; opacity: .7; }
.plan__list { display: grid; gap: 10px; font-size: 15px; margin-bottom: 14px; flex: 1; }
.plan__list li { position: relative; padding-left: 22px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent-2); }
.plan .btn { margin-top: auto; }

/* =========================================================
   CENA 9 · PERGUNTAS
   ========================================================= */
.faq { background: var(--ink); padding: clamp(80px, 14vh, 160px) 0; }
.faq__wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6vw; }
.faq__list { border-top: 1px solid var(--line-d); }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font-family: var(--f-mono); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted-d); max-width: 62ch; }

/* =========================================================
   CENA 10 · CONVITE + FORMULÁRIO
   ========================================================= */
.cta { background: var(--accent); color: var(--ink); padding: clamp(80px, 14vh, 150px) 0; border-radius: var(--radius) var(--radius) 0 0; }
.cta .eyebrow { color: var(--ink); }
.cta__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.cta__title { font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .92; font-weight: 500; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 24px; }
.cta__copy p { max-width: 40ch; margin-bottom: 28px; font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); padding: clamp(22px, 3vw, 36px); border-radius: 18px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.field .opt { text-transform: none; opacity: .6; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line-l); padding: 10px 0; font-size: 16px; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input, .field.has-error select { border-color: #a3264a; }
.field__err { font-size: 13px; color: #a3264a; min-height: 0; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.field--check label { flex: 1; font-family: var(--f-sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.field--check .field__err { flex-basis: 100%; }
.form__status { grid-column: 1 / -1; font-size: 14px; }
.form .btn { grid-column: 1 / -1; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--ink); padding: 80px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.footer__grid p { margin-bottom: 8px; }
.footer__grid a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer__grid a:hover { color: var(--accent); }
.footer__claim { margin-top: 18px; color: var(--muted-d); max-width: 28ch; }
.footer__small { font-size: 13px; color: var(--muted-d); max-width: 32ch; }
.footer__base { display: flex; justify-content: space-between; padding-top: 22px; color: var(--muted-d); }
.footer__base a { text-decoration: none; }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--ease), background .3s; }
.wa svg { width: 26px; height: 26px; fill: currentColor; }
.wa:hover { transform: scale(1.08); background: var(--accent); }
.wa.wa--hide { opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.wa.wa--hide.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- revelações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   POLÍTICA DE PRIVACIDADE
   ========================================================= */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal__head { padding-bottom: 48px; border-bottom: 1px solid var(--line-d); margin-bottom: 48px; }
.legal__head h1 { color: var(--accent); font-size: clamp(2.4rem, 6vw, 5rem); line-height: .92; font-weight: 500; letter-spacing: -.03em; text-transform: uppercase; }
.legal__head p { margin-top: 18px; color: var(--muted-d); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 1.3rem; font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; margin: 44px 0 14px; color: var(--accent); }
.legal__body p, .legal__body li { color: rgba(236, 230, 218, .86); margin-bottom: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; }
.legal__body a { color: var(--accent); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.legal__body th, .legal__body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.legal__body th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); font-weight: 400; }
.legal__table { overflow-x: auto; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .hero__body { grid-template-columns: 1fr 1fr; }
  .badge { position: absolute; right: 0; top: -12px; width: 110px; }
  .ready__sticky { grid-template-columns: 1fr; align-content: center; gap: 24px; }
  .ready__note { display: none; }
  .plans__grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 62px; }
  .topbar__login { display: none; }
  .hero { padding-top: calc(var(--header-h) + 5vh); }
  .hero__title { flex-direction: column; gap: 4vh; font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero__col { max-width: none; }
  .hero__body { grid-template-columns: 1fr; gap: 22px; padding: 5vh 0 3vh; }
  .badge { display: none; }
  .chain__nodes li:nth-child(2), .chain__nodes li:nth-child(3), .chain__nodes li:nth-child(4) { display: none; }

  .chaos { height: 260vh; }
  .chaos__stage { margin-top: 3vh; }
  .chaos__cols { display: block; font-size: 10px; }
  .chaos__cols span { position: absolute; left: 0; top: 0; width: 100%; padding-top: 5px; }
  .file { font-size: 10px; padding: 7px 9px; border-radius: 7px; }

  .sections { flex-direction: column; height: auto; gap: 8px; }
  .sec, .sec.is-open { flex: none; }
  .sec__head { position: relative; }
  .sec__head button, .sec:not(.is-open) .sec__head button { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 18px 64px 18px 18px; }
  .sec .sec__plus, .sec:not(.is-open) .sec__plus { top: 50%; bottom: auto; left: auto; right: 18px; margin: -15px 0 0 0; }
  .sec__name, .sec.is-open .sec__name { writing-mode: horizontal-tb; transform: none; font-family: var(--f-sans); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; margin: 0; order: 0; white-space: normal; }
  .sec.is-open .sec__n { order: 0; margin: 0; }
  .sec__body { position: static; display: none; padding: 0 18px 20px; opacity: 1; transform: none; }
  .sec.is-open .sec__body { display: block; }

  .ready { height: 300vh; }
  .ready__sticky { padding-top: calc(var(--header-h) + 4px); gap: 16px; }
  .ready__sticky { align-content: start; }
  .ready__intro .eyebrow { margin-bottom: 10px; }
  .ready__intro .h2 { font-size: 1.55rem; }
  .ready__intro .h2 br { display: none; }
  .app__list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app__grid { grid-template-columns: 1fr; }
  .app__score { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .app__score svg { width: 64px; height: 64px; }
  .app__pct { position: static; transform: none; font-size: 34px; }
  .app__list li { grid-template-columns: 34px 1fr auto; padding: 8px 14px; font-size: 12.5px; gap: 8px; }
  .app__list em { font-size: 9px; padding: 3px 7px; }
  .app__log { padding: 10px 14px; }

  /* trilho vira carrossel nativo no celular */
  .rail__sticky { position: static; height: auto; padding: 72px 0; gap: 32px; }
  .rail__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding-bottom: 12px; transform: none !important; }
  .step { width: 80vw; min-height: 300px; scroll-snap-align: start; flex: none; }

  .numbers__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .feat { grid-template-columns: 1fr; }
  .feat li, .feat li:nth-child(even) { padding: 24px 0; border-right: 0; }
  .faq__wrap, .cta__wrap { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: 10px; }
}

/* =========================================================
   MOVIMENTO REDUZIDO: conteúdo final, sem cenas presas
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .split-ready .word > span { opacity: 1; transform: none; }
  .chaos, .ready { height: auto; }
  .chaos__sticky, .ready__sticky, .rail__sticky { position: static; height: auto; min-height: 0; padding-block: 96px; }
  .chaos__step { position: static; opacity: 1; transform: none; margin-bottom: 10px; }
  .chaos__stage { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 44px; }
  .chaos__cols { display: none; }
  .file { position: static; transform: none !important; width: auto; }
  .rail__track { width: auto; flex-wrap: wrap; transform: none !important; }
  .topbar { position: absolute; background: none !important; }
}
