/* ═══════════════════════════════════════════════════════════════
   Innoviax · sistema de design
   Estratégia: committed — carvão frio profundo + capítulos claros,
   um único acento: o azul do logo (#007BFF) carregando a marca.
   Tipografia: Bricolage Grotesque, contraste por peso.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* cor · base escura (viés frio para harmonizar com o azul) */
  --bg0: oklch(14.5% 0.01 252);
  --bg1: oklch(18% 0.012 252);
  --bg2: oklch(23% 0.014 252);
  --line-d: oklch(34% 0.016 252);
  --tx-d1: oklch(96% 0.004 252);
  --tx-d2: oklch(79% 0.012 252);

  /* cor · capítulos claros */
  --pg0: oklch(96.5% 0.003 252);
  --pg1: oklch(99.2% 0 0);
  --line-l: oklch(86% 0.008 252);
  --tx-l1: oklch(22% 0.018 252);
  --tx-l2: oklch(41% 0.018 252);

  /* acento · azul do logo (#007BFF ≈ oklch 58.5% 0.19 252) */
  --accent: oklch(58.5% 0.19 252);
  --accent-hi: oklch(72% 0.145 250);
  --accent-deep: oklch(45% 0.16 252);
  --accent-soft: oklch(58.5% 0.19 252 / 0.13);
  --ok: oklch(74% 0.13 155);

  /* tipo */
  --font: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* métricas */
  --wrap: 1240px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --ease: cubic-bezier(.19, 1, .22, 1);

  /* camadas */
  --z-nav: 50;
  --z-menu: 60;
}

/* ── reset curto ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--tx-d1);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--accent); color: var(--bg0);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  z-index: calc(var(--z-menu) + 1);
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 16px; }

/* ── botões ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: oklch(64% 0.17 252); transform: translateY(-2px); box-shadow: 0 12px 32px -12px var(--accent); }

.btn-line { background: transparent; color: var(--tx-d1); border-color: var(--line-d); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-hi); transform: translateY(-2px); }

.btn-ink { background: var(--tx-l1); color: var(--pg1); }
.btn-ink:hover { background: oklch(30% 0.02 252); transform: translateY(-2px); }

.btn-line-ink { background: transparent; color: var(--tx-l1); border-color: var(--line-l); }
.btn-line-ink:hover { border-color: var(--accent-deep); color: var(--accent-deep); transform: translateY(-2px); }

/* ── navegação ───────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex; flex-direction: column; align-items: center;
  padding: 14px clamp(12px, 3vw, 24px) 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  width: 100%; max-width: 1080px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: oklch(15% 0.01 40 / .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(34% 0.014 40 / .6);
  transition: box-shadow .4s var(--ease), background .4s;
}
.nav.scrolled .nav-pill { background: oklch(15% 0.01 40 / .92); box-shadow: 0 18px 50px -22px oklch(0% 0 0 / .8); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 30px); flex: 1; }
.nav-links a {
  font-size: 14.5px; font-weight: 500;
  color: var(--tx-d2); text-decoration: none;
  padding: 6px 2px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--tx-d1); }
.nav-links a[aria-current="true"] { color: var(--accent-hi); }
.nav-cta { flex-shrink: 0; padding: 11px 20px; font-size: 14px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line-d); border-radius: 999px;
  cursor: pointer; flex-shrink: 0;
}
.nav-burger span { width: 17px; height: 1.6px; background: var(--tx-d1); transition: transform .3s var(--ease); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.nav-mobile {
  pointer-events: auto;
  display: none;
  width: 100%; max-width: 1080px;
  margin-top: 8px; padding: 18px;
  flex-direction: column; gap: 4px;
  border-radius: var(--r-lg);
  background: oklch(15% 0.01 40 / .96);
  backdrop-filter: blur(16px);
  border: 1px solid oklch(34% 0.014 40 / .6);
}
.nav-mobile.open { display: flex; }
.nav-mobile a:not(.btn) {
  padding: 12px 10px;
  font-size: 17px; font-weight: 500;
  color: var(--tx-d1); text-decoration: none;
  border-radius: var(--r-sm);
}
.nav-mobile a:not(.btn):hover { background: var(--bg1); }
.nav-mobile .btn { margin-top: 10px; }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: clip;
}
.hero-ring {
  position: absolute;
  top: 50%; right: min(-160px, calc(-6vw - 120px));
  width: clamp(560px, 58vw, 880px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: .9;
}
.ring-rotor { transform-origin: 400px 400px; animation: ring-spin 90s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.ring-nodes circle.n { fill: var(--bg2); stroke: var(--line-d); stroke-width: 1.5; }
.ring-nodes circle.n.lit { fill: var(--accent); stroke: none; }
.ring-core { fill: var(--tx-d2); font: 500 21px var(--font); letter-spacing: .04em; }
.ring-core.sub { fill: var(--accent-hi); font-weight: 700; }

.hero-inner { position: relative; width: 100%; max-width: var(--wrap); }
.hero-intro {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; font-weight: 500;
  color: var(--tx-d2);
  margin-bottom: clamp(22px, 3.5vh, 40px);
}
.hero-intro em { font-style: normal; color: var(--accent-hi); font-weight: 700; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.hero-h1 {
  font-size: clamp(2.6rem, 6.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0 0 clamp(22px, 3.5vh, 36px);
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hl > span { display: inline-block; }

.hero-sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--tx-d2);
  margin-bottom: clamp(28px, 4.5vh, 44px);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-foot {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--tx-d2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.hero-foot i { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* entrada do hero (roda sob .js; sem JS fica tudo visível) */
.js .hl > span { animation: rise-in 1s var(--ease) both; }
.js .hl:nth-child(2) > span { animation-delay: .14s; }
.js .hero-intro { animation: fade-in .8s ease-out both .5s; }
.js .hero-sub { animation: fade-in .9s ease-out both .62s; }
.js .hero-ctas { animation: fade-in .9s ease-out both .74s; }
.js .hero-ring { animation: ring-in 1.6s var(--ease) both .2s; }
@keyframes rise-in { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: .9; transform: translateY(-50%) scale(1); } }

/* ── manifesto ───────────────────────────────────────────────── */
.manifesto { padding: clamp(90px, 14vh, 170px) 0; background: var(--bg0); }
.mani-lead {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.mani-lead s { color: var(--tx-d2); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.mani-lead em { font-style: normal; color: var(--accent); }
.mani-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  max-width: 980px; margin-left: auto;
}
.mani-cols p { font-size: 1.1rem; line-height: 1.7; color: var(--tx-d2); max-width: 52ch; }
.mani-cols strong { color: var(--tx-d1); font-weight: 700; }

/* ── o ciclo · scroll story ──────────────────────────────────── */
/* âncoras param abaixo do nav fixo (antes era o offset -80 do Lenis) */
.sc[id], section[id] { scroll-margin-top: 88px; }

.story { padding: clamp(80px, 12vh, 150px) 0 0; background: var(--bg0); }
.story-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(20px, 4vh, 48px);
}
.story-head h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.026em;
}
.story-head em { font-style: normal; color: var(--accent); }
.story-head p { color: var(--tx-d2); font-size: 1.08rem; line-height: 1.7; max-width: 52ch; }

.story-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.story-pin {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center; justify-content: center;
}
.story-pin .wheel { width: 100%; max-width: 560px; }

.wheel { height: auto; overflow: visible; }
.wheel-flow { animation: flow-run 40s linear infinite; }
@keyframes flow-run { to { stroke-dashoffset: -1000; } }
/* halo do arco: substitui o feGaussianBlur (filtro SVG rasterizava na CPU a cada frame) */
.wheel-arc-glow { opacity: .17; }
.story:not(.scrub) .wheel-arc,
.story:not(.scrub) .wheel-arc-glow { transition: stroke-dasharray .8s var(--ease); }
.wheel-core { fill: var(--tx-d1); font: 700 30px var(--font); letter-spacing: -0.01em; }
.wheel-core-sub { fill: var(--tx-d2); font: 500 13.5px var(--font); letter-spacing: .1em; text-transform: uppercase; }

/* ciclo completo: a roda "acende" */
.wheel.closed .wheel-flow { opacity: .9; animation-duration: 12s; }
.wheel.closed .wheel-arc { animation: arc-breathe 3.2s ease-in-out infinite; }
.wheel.closed .wheel-arc-glow { animation: arc-breathe 3.2s ease-in-out infinite; }
@keyframes arc-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.wnode { cursor: pointer; }
.wnode circle.hit { fill: transparent; }
.wnode circle.dot { fill: var(--bg2); stroke: var(--line-d); stroke-width: 1.5; transition: fill .3s, stroke .3s, r .3s var(--ease); }
.wnode text { fill: var(--tx-d2); font: 500 16.5px var(--font); transition: fill .3s, font-weight .3s; }
.wnode:hover circle.dot { stroke: var(--accent); }
.wnode:hover text { fill: var(--tx-d1); }
.wnode.lit circle.dot { fill: var(--accent); stroke: none; }
.wnode.on circle.dot { fill: var(--accent); stroke: var(--accent-hi); }
.wnode.on text { fill: var(--accent-hi); font-weight: 700; }
.wnode:focus-visible { outline: none; }
.wnode:focus-visible circle.dot { stroke: var(--accent-hi); stroke-width: 3; }

.story-flow { display: flex; flex-direction: column; }
.sc {
  min-height: 86svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 6vh, 72px) 0;
}
.sc-k {
  font: 600 13px var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 16px;
}
.sc h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800; line-height: 1.07; letter-spacing: -0.024em;
  margin-bottom: 18px;
}
.sc h3 em { font-style: normal; color: var(--accent); }
.sc-dor { font-size: 1.14rem; font-weight: 600; color: var(--tx-d1); line-height: 1.55; max-width: 44ch; margin-bottom: 14px; }
.sc-d { color: var(--tx-d2); line-height: 1.7; max-width: 54ch; margin-bottom: 18px; }
.sc-d strong { color: var(--tx-d1); font-weight: 700; }
.sc-flow {
  padding: 13px 16px;
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  color: var(--tx-d1); font-size: .95rem; line-height: 1.55;
  max-width: 54ch;
  margin-bottom: 20px;
}
.sc-flow b { color: var(--accent-hi); }
.sc-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-hi); font-weight: 700; font-size: 1rem;
  text-decoration: none;
}
.sc-link::after { content: '→'; transition: transform .3s var(--ease); }
.sc-link:hover::after { transform: translateX(5px); }
.sc-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.sc-loop { min-height: 92svh; }

/* foco narrativo: capítulo ativo em destaque */
.story.live .sc { opacity: .34; transition: opacity .55s ease; }
.story.live .sc.on { opacity: 1; }

/* ── capítulos claros ────────────────────────────────────────── */
.chapter-light { background: var(--pg0); color: var(--tx-l1); }
.chapter-light.alt { background: var(--pg1); }

.pratica, .produtos, .fomento { padding: clamp(90px, 13vh, 160px) 0; }

.chap-head { max-width: 900px; margin-bottom: clamp(48px, 7vh, 84px); }
.chap-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.027em;
  margin-bottom: 22px;
}
.chap-head em { font-style: normal; color: var(--accent-deep); }
.chap-lede { font-size: 1.15rem; line-height: 1.7; color: var(--tx-l2); max-width: 62ch; }

/* passos 1–4 (sequência real) */
.passos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  position: relative;
}
.passos::before {
  content: '';
  position: absolute; top: 26px; left: 3%; right: 3%;
  height: 1.5px; background: var(--line-l);
}
.passo { position: relative; padding-top: 64px; }
.passo-n {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--pg0);
  border: 1.5px solid var(--line-l);
  border-radius: 50%;
  font-weight: 800; font-size: 1.15rem;
  color: var(--tx-l2);
  transition: border-color .3s, color .3s, background .3s;
}
.chapter-light.alt .passo-n { background: var(--pg1); }
.passo:hover .passo-n, .passo.lit .passo-n { border-color: var(--accent); color: var(--accent-deep); }
.passo h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.passo p { color: var(--tx-l2); font-size: .98rem; line-height: 1.6; max-width: 34ch; }

/* credenciais + oportunidade */
.cred {
  margin-top: clamp(60px, 9vh, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding-top: clamp(40px, 6vh, 64px);
  border-top: 1.5px solid var(--line-l);
}
.cred-big {
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--accent-deep);
}
.cred-big span { font-size: .38em; font-weight: 700; color: var(--tx-l2); letter-spacing: 0; }
.cred-cap { color: var(--tx-l2); font-size: 1.02rem; line-height: 1.65; max-width: 44ch; margin-top: 14px; }
.cred-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cred-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 1.06rem; color: var(--tx-l2); line-height: 1.55;
}
.cred-list li:first-child { border-top: 1px solid var(--line-l); }
.cred-list strong { color: var(--tx-l1); font-weight: 700; }

/* ── produtos ────────────────────────────────────────────────── */
.prod {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.prod + .prod { margin-top: clamp(80px, 12vh, 140px); }
.prod-name { font-size: .95rem; font-weight: 500; color: var(--tx-l2); margin-bottom: 14px; }
.prod-name strong { color: var(--accent-deep); font-weight: 800; }
.prod h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.022em;
  margin-bottom: 18px;
}
.prod h3 em { font-style: normal; color: var(--accent-deep); }
.prod-lede { color: var(--tx-l2); line-height: 1.7; max-width: 56ch; margin-bottom: 26px; }

.prod-stats {
  display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap;
  margin: 0 0 28px;
}
.prod-stats > div { min-width: 120px; }
.prod-stats dt {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--tx-l1);
}
.prod-stats dt sup { font-size: .45em; color: var(--tx-l2); font-weight: 600; }
.prod-stats dd { margin: 4px 0 0; font-size: .92rem; color: var(--tx-l2); line-height: 1.45; max-width: 20ch; }
.prod-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats-note { margin-top: clamp(40px, 6vh, 56px); font-size: .88rem; color: var(--tx-l2); max-width: 60ch; }

/* boards: telas de produto (escuras sobre capítulo claro) */
.board {
  margin: 0;
  background: var(--bg0);
  border-radius: var(--r-lg);
  padding: 22px 22px 18px;
  box-shadow: 0 32px 70px -34px oklch(20% 0.02 252 / .55);
  color: var(--tx-d1);
}
.board-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.board-title {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-d2);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live 2.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.board-score { font: 700 12px var(--mono); color: var(--accent-hi); letter-spacing: .04em; }
.board-foot {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--bg2);
  font: 500 12.5px var(--mono); color: var(--tx-d2);
}
.board-foot .ok { color: var(--ok); }

/* board optima: linhas de escala */
.og-rows { display: flex; flex-direction: column; gap: 11px; }
.og-row { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 12px; }
.og-label { font: 600 11.5px var(--mono); color: var(--tx-d2); letter-spacing: .06em; }
.og-track { position: relative; height: 22px; background: var(--bg1); border-radius: 6px; }
.og-bar {
  position: absolute; top: 3px; bottom: 3px;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.og-bar.alt { background: oklch(62% 0.08 252); }
.og-bar.rest { background: none; border: 1.5px dashed var(--line-d); }
.board.play .og-bar { animation: bar-grow .7s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes bar-grow { to { transform: scaleX(1); } }

/* board ascend: escada de maturidade */
.asc-steps { display: flex; flex-direction: column; gap: 9px; }
.asc-step {
  display: grid; grid-template-columns: 22px 128px 1fr;
  align-items: center; gap: 10px;
  margin-left: calc(var(--i, 0) * 9px);
}
.asc-step .sn { font: 700 11.5px var(--mono); color: var(--tx-d2); }
.asc-step .sl { font-size: 13px; font-weight: 600; color: var(--tx-d1); }
.asc-step.done .sn { color: var(--ok); }
.asc-step .sp { position: relative; height: 8px; background: var(--bg1); border-radius: 999px; overflow: hidden; }
.asc-step .sp i {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.asc-step.done .sp i { background: var(--ok); }
.board.play .asc-step .sp i { animation: lad-grow .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes lad-grow { to { transform: scaleX(var(--f, 0)); } }

/* ── por que funciona (faixa escura) ─────────────────────────── */
.porque { background: var(--bg0); padding: clamp(80px, 12vh, 140px) 0; }
.porque-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.porque article { border-top: 2px solid var(--accent); padding-top: 26px; }
.porque h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.porque p { color: var(--tx-d2); line-height: 1.65; max-width: 40ch; }

/* ── fomento ─────────────────────────────────────────────────── */
.mech-group + .mech-group { margin-top: clamp(36px, 5vh, 52px); }
.mech-group-t {
  font-size: .95rem; font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.mech-index { list-style: none; margin: 0; padding: 0; }
.mech-index li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(16px, 2.4vh, 24px) 0;
  border-bottom: 1px solid var(--line-l);
}
.mech-index li:first-child { border-top: 1.5px solid var(--tx-l1); }
.mech-index strong {
  display: inline-block;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700; letter-spacing: -0.018em;
  transition: color .25s, transform .35s var(--ease);
}
.mech-index li:hover strong { color: var(--accent-deep); transform: translateX(14px); }
.mech-index span { font-size: .95rem; color: var(--tx-l2); text-align: right; flex-shrink: 0; }
.mech-note { margin-top: clamp(32px, 5vh, 48px); color: var(--tx-l2); line-height: 1.7; max-width: 58ch; }
.mech-note strong { color: var(--tx-l1); }

/* ── contato ─────────────────────────────────────────────────── */
.contato { background: var(--bg0); padding: clamp(90px, 13vh, 160px) 0 clamp(70px, 10vh, 120px); }
.contato-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.contato-copy h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.026em;
  margin-bottom: 20px;
}
.contato-copy em { font-style: normal; color: var(--accent); }
.contato-copy > p { color: var(--tx-d2); font-size: 1.1rem; line-height: 1.7; max-width: 46ch; }
.contato-alt { margin-top: 14px; }
.contato-alt a { color: var(--accent-hi); font-weight: 600; text-decoration-color: oklch(58.5% 0.19 252 / .4); }
.contato-trust { list-style: none; margin: 34px 0 0; padding: 0; }
.contato-trust li {
  position: relative;
  padding: 12px 0 12px 30px;
  color: var(--tx-d2); font-size: .98rem;
  border-bottom: 1px solid var(--bg1);
}
.contato-trust li::before {
  content: '✓';
  position: absolute; left: 4px;
  color: var(--accent-hi); font-weight: 800;
}

.form {
  background: var(--bg1);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
}
.form-fields { display: flex; flex-direction: column; gap: 20px; }
.field label, .field legend {
  display: block;
  font-size: .92rem; font-weight: 600;
  color: var(--tx-d1);
  margin-bottom: 8px; padding: 0;
}
.field .req { color: var(--accent-hi); font-weight: 800; }
.field .opt { color: var(--tx-d2); font-weight: 500; font-size: .85em; }
.field { border: none; margin: 0; padding: 0; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg0);
  color: var(--tx-d1);
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font: 400 15.5px/1.45 var(--font);
  transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(60% 0.014 252); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.err input { border-color: oklch(62% 0.19 25); }
.field-err { margin: 7px 0 0; font-size: .87rem; color: oklch(74% 0.14 25); }
textarea { resize: vertical; min-height: 84px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 15px;
  background: var(--bg0);
  color: var(--tx-d2);
  border: 1px solid var(--line-d);
  border-radius: 999px;
  font: 500 13.5px var(--font);
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.chip:hover { border-color: var(--accent); color: var(--tx-d1); }
.chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hi);
  font-weight: 600;
}

.btn .btn-busy {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgb(255 255 255 / .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form.busy .btn-busy { display: inline-block; }
.form.busy button[type="submit"] { pointer-events: none; opacity: .85; }
.form-status { min-height: 1em; font-size: .92rem; color: var(--tx-d2); margin: 0; }
.form-status.err { color: oklch(74% 0.14 25); }

.form-done { text-align: center; padding: 34px 10px; }
.done-check {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-hi);
  border-radius: 50%;
  font-size: 26px; font-weight: 800;
}
.form-done h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.done-msg { color: var(--tx-d2); line-height: 1.65; max-width: 40ch; margin: 0 auto; }

/* ── footer ──────────────────────────────────────────────────── */
.footer { background: var(--bg0); border-top: 1px solid var(--bg1); padding: clamp(48px, 7vh, 72px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vh, 56px);
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--tx-d2); font-size: .96rem; max-width: 30ch; line-height: 1.6; }
.footer-col h4 {
  font-size: .85rem; font-weight: 700;
  color: var(--tx-d1);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--tx-d2); font-size: .95rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent-hi); }
.footer-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 26px;
  border-top: 1px solid var(--bg1);
  color: var(--tx-d2); font-size: .86rem;
}

/* ── reveals de scroll (variados por tipo) ───────────────────── */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].in { opacity: 1; }

.js [data-reveal="rise"] { transform: translateY(34px); transition: opacity .9s ease-out, transform 1s var(--ease); }
.js [data-reveal="rise"].in { transform: none; }

.js [data-reveal="wipe"] { clip-path: inset(0 0 100% 0); transform: translateY(20px); transition: clip-path 1s var(--ease), opacity .7s ease-out, transform 1s var(--ease); }
.js [data-reveal="wipe"].in { clip-path: inset(0 0 -8% 0); transform: none; }

.js [data-reveal="steps"] { opacity: 1; }
.js [data-reveal="steps"] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .85s var(--ease); }
.js [data-reveal="steps"].in > * { opacity: 1; transform: none; }
.js [data-reveal="steps"].in > *:nth-child(2) { transition-delay: .09s; }
.js [data-reveal="steps"].in > *:nth-child(3) { transition-delay: .18s; }
.js [data-reveal="steps"].in > *:nth-child(4) { transition-delay: .27s; }
.js [data-reveal="steps"].in > *:nth-child(5) { transition-delay: .36s; }
.js [data-reveal="steps"].in > *:nth-child(6) { transition-delay: .45s; }
.js [data-reveal="steps"].in > *:nth-child(7) { transition-delay: .54s; }
.js [data-reveal="steps"].in > *:nth-child(8) { transition-delay: .63s; }

/* ── responsivo ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .story-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .story-stage { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
  .wnode text { font-size: 19px; }
}

@media (max-width: 820px) {
  /* roda compacta e fixa no topo; capítulos correm por baixo */
  .story-stage { display: block; }
  .story-pin {
    top: 58px;
    height: auto;
    padding: 12px 0 6px;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg0) 82%, oklch(14.5% 0.01 252 / 0));
  }
  .story-pin .wheel { max-width: 210px; }
  .wnode text { display: none; }
  .wnode circle.hit { display: none; }
  .wheel-core { font-size: 44px; }
  .wheel-core-sub { font-size: 22px; }
  .sc { min-height: 0; padding: clamp(44px, 8vh, 72px) 0; }
  .sc-loop { min-height: 0; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero { padding-top: 120px; }
  .hero-ring {
    top: auto; bottom: -18vw; right: -30vw;
    width: 120vw; transform: none; opacity: .34;
  }
  .js .hero-ring { animation: none; opacity: .34; }
  .hero-ring .ring-core { display: none; }
  .mani-cols { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .passos::before { display: none; }
  .cred { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
  .prod-optima .board { order: 2; }
  .porque-grid { grid-template-columns: 1fr; gap: 36px; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .passos { grid-template-columns: 1fr; }
  .passo p { max-width: none; }
  .mech-index li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mech-index span { text-align: left; }
  .prod-stats { gap: 18px; }
  .hero-ctas .btn { width: 100%; }
  .hero-foot { display: none; }
}

/* ── movimento reduzido ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal], .js [data-reveal="steps"] > * { opacity: 1; transform: none; clip-path: none; }
  .ring-rotor, .wheel-flow, .live-dot,
  .wheel.closed .wheel-arc, .wheel.closed .wheel-arc-glow { animation: none; }
  .board .og-bar { transform: scaleX(1); }
  .board .asc-step .sp i { transform: scaleX(var(--f, 0)); }
  .story.live .sc { opacity: 1; }
}
