/* ============================================================
   Billion Contabilidade · E-book interativo
   Paleta oficial do projeto Billion (ink, navy, royal, gold, cream)
   ============================================================ */

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root{
  --ink:      oklch(0.14 0.02 260);
  --navy:     oklch(0.22 0.06 260);
  --royal:    oklch(0.48 0.16 258);
  --royal-lo: oklch(0.36 0.13 258);
  --gold:     oklch(0.74 0.11 78);
  --gold-soft:oklch(0.85 0.08 82);
  --cream:    oklch(0.975 0.008 90);

  --txt:      oklch(0.96 0.008 90);
  --txt-mid:  oklch(0.80 0.015 250);
  --txt-dim:  oklch(0.66 0.02 250);
  --line:     oklch(1 0 0 / 0.10);
  --glass:    oklch(1 0 0 / 0.035);

  --f-disp: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
  --hud: 62px;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  font-family:var(--f-body);
  background:var(--ink);
  color:var(--txt);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; height:auto; display:block; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ color:inherit; }

/* ---------- fundo vivo ---------- */
.aurora{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.aurora i{
  position:absolute; border-radius:50%; filter:blur(90px); opacity:.4;
  animation:drift 26s var(--ease) infinite alternate;
}
.aurora i:nth-child(1){ width:52vw; height:52vw; left:-14vw; top:-10vw; background:var(--royal); }
.aurora i:nth-child(2){ width:44vw; height:44vw; right:-12vw; top:32vh; background:var(--royal-lo); animation-delay:-9s; }
.aurora i:nth-child(3){ width:30vw; height:30vw; left:38vw; bottom:-12vw; background:var(--gold); opacity:.14; animation-delay:-17s; }
@keyframes drift{
  from{ transform:translate3d(0,0,0) scale(1); }
  to  { transform:translate3d(6vw,-6vh,0) scale(1.18); }
}

.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ---------- HUD ---------- */
.hud{
  position:fixed; inset:0 0 auto 0; height:var(--hud); z-index:40;
  display:flex; align-items:center; gap:18px; padding:0 clamp(16px,3vw,34px);
  background:oklch(0.14 0.02 260 / .72);
  backdrop-filter:blur(16px) saturate(1.3);
  border-bottom:1px solid var(--line);
}
.hud-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:0 0 auto; }
.hud-brand img{ width:34px; height:34px; }
.hud-brand span{ display:flex; flex-direction:column; line-height:1.05; }
.hud-brand b{ font-family:var(--f-disp); font-size:13px; letter-spacing:.16em; font-weight:800; }
.hud-brand small{ font-size:8.5px; letter-spacing:.24em; color:var(--txt-dim); }
.hud-bar{ flex:1; height:3px; background:var(--line); border-radius:99px; overflow:hidden; }
.hud-bar i{ display:block; height:100%; width:0%; border-radius:99px;
  background:linear-gradient(90deg,var(--royal),var(--gold)); transition:width .18s linear; }
.hud-count{ font-family:var(--f-disp); font-size:12px; letter-spacing:.1em; color:var(--txt-dim); flex:0 0 auto; }
.hud-count b{ color:var(--gold); font-size:14px; }

/* ---------- pontos de navegacao ---------- */
.dots{
  position:fixed; right:14px; top:50%; transform:translateY(-50%); z-index:35;
  display:flex; flex-direction:column; gap:9px;
}
.dots button{
  width:9px; height:9px; border-radius:50%; background:oklch(1 0 0 / .2);
  transition:all .3s var(--ease); position:relative;
}
.dots button:hover{ background:oklch(1 0 0 / .5); }
.dots button.is-on{ background:var(--gold); transform:scale(1.45); box-shadow:0 0 0 4px oklch(0.74 0.11 78 / .16); }
.dots button::after{
  content:attr(data-t); position:absolute; right:20px; top:50%; transform:translateY(-50%) translateX(6px);
  white-space:nowrap; font-size:11px; letter-spacing:.05em; color:var(--txt-mid);
  background:oklch(0.22 0.06 260 / .92); border:1px solid var(--line);
  padding:4px 9px; border-radius:7px; opacity:0; pointer-events:none; transition:all .25s var(--ease);
}
.dots button:hover::after{ opacity:1; transform:translateY(-50%) translateX(0); }

/* ---------- paginas ---------- */
#book{ position:relative; z-index:2; }
.page{
  min-height:100svh; display:flex; align-items:center;
  padding:calc(var(--hud) + 40px) clamp(20px,5vw,60px) 60px;
  position:relative;
}
.page + .page::before{
  content:""; position:absolute; top:0; left:clamp(20px,5vw,60px); right:clamp(20px,5vw,60px);
  height:1px; background:linear-gradient(90deg,transparent,var(--line) 20%,var(--line) 80%,transparent);
}
.wrap{ width:100%; max-width:1080px; margin:0 auto; }
.wrap.two{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,4vw,58px); align-items:center; }

/* ---------- tipografia ---------- */
.eyebrow{
  font-family:var(--f-disp); font-size:11px; font-weight:700; letter-spacing:.28em;
  text-transform:uppercase; color:var(--gold); margin-bottom:14px;
}
h1{
  font-family:var(--f-disp); font-weight:800; line-height:1.02; letter-spacing:-.03em;
  font-size:clamp(38px,7.2vw,84px); margin-bottom:22px;
}
h2{
  font-family:var(--f-disp); font-weight:800; line-height:1.08; letter-spacing:-.025em;
  font-size:clamp(28px,4.4vw,52px); margin-bottom:16px;
}
h3{ font-family:var(--f-disp); font-weight:700; font-size:clamp(17px,2vw,22px); margin-bottom:8px; }
.grad{
  background:linear-gradient(100deg,var(--gold-soft),var(--gold) 45%,oklch(0.66 0.13 258) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{ font-size:clamp(15px,1.65vw,19px); color:var(--txt-mid); max-width:60ch; }
.sub{ font-size:clamp(14px,1.5vw,17px); color:var(--txt-dim); margin-bottom:30px; max-width:62ch; }
.body{ font-size:clamp(14.5px,1.5vw,17px); color:var(--txt-mid); margin-bottom:16px; max-width:56ch; }
.body b{ color:var(--gold-soft); }
.foot{
  margin-top:26px; font-size:13.5px; line-height:1.7; color:var(--txt-dim);
  max-width:74ch; padding-left:16px; border-left:2px solid oklch(0.74 0.11 78 / .35);
}

/* ---------- animacao de entrada ----------
   O estado escondido so entra quando o JS esta ativo (classe .js no html).
   Sem JS, ou se o IntersectionObserver falhar, o conteudo aparece normalmente. */
.js .reveal{ opacity:0; transform:translateY(26px); filter:blur(6px);
  transition:opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal[data-d="1"]{ transition-delay:.07s } .reveal[data-d="2"]{ transition-delay:.14s }
.reveal[data-d="3"]{ transition-delay:.21s } .reveal[data-d="4"]{ transition-delay:.28s }
.reveal[data-d="5"]{ transition-delay:.35s } .reveal[data-d="6"]{ transition-delay:.42s }
.reveal[data-d="7"]{ transition-delay:.49s }
.is-in .reveal{ opacity:1; transform:none; filter:none; }

/* ---------- 01 capa ---------- */
.cover{ text-align:center; }
.cover-wrap{ max-width:900px; }
.cover-mark{ width:clamp(78px,10vw,112px); margin:0 auto 26px;
  filter:drop-shadow(0 18px 40px oklch(0.48 0.16 258 / .55)); animation:float 7s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-11px) } }
.cover .lead{ margin:0 auto; }
.cover-meta{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:32px 0 40px; }
.cover-meta li{
  font-size:12px; letter-spacing:.05em; color:var(--txt-mid);
  border:1px solid var(--line); background:var(--glass); padding:8px 15px; border-radius:99px;
}
.scroll-cue{
  display:inline-flex; align-items:center; gap:11px; text-decoration:none;
  font-family:var(--f-disp); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--txt-dim);
  transition:color .3s;
}
.scroll-cue:hover{ color:var(--gold); }
.scroll-cue span{
  width:22px; height:34px; border:1.5px solid oklch(0.74 0.11 78 / .5); border-radius:99px; position:relative;
}
.scroll-cue span::after{
  content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:99px;
  background:var(--gold); transform:translateX(-50%); animation:wheel 1.9s var(--ease) infinite;
}
@keyframes wheel{ 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,13px)} }

/* ---------- 02 sumario ---------- */
.toc{ list-style:none; counter-reset:t; display:grid; gap:0; max-width:820px; }
.toc a{
  counter-increment:t; display:flex; align-items:baseline; gap:16px; text-decoration:none;
  padding:9px 16px; border-radius:11px; border:1px solid transparent;
  transition:all .3s var(--ease);
}
.toc a::before{
  content:counter(t,decimal-leading-zero);
  font-family:var(--f-disp); font-size:12px; letter-spacing:.1em; color:var(--gold); opacity:.75; flex:0 0 26px;
}
.toc a b{ font-family:var(--f-disp); font-weight:600; font-size:clamp(15px,1.7vw,19px); }
.toc a i{ flex:1; height:1px; background:var(--line); font-style:normal; }
.toc a small{ font-size:12px; color:var(--txt-dim); }
.toc a:hover{ background:var(--glass); border-color:var(--line); transform:translateX(6px); }
.toc a:hover b{ color:var(--gold-soft); }

/* ---------- 03 vazamento ---------- */
.callout{
  margin-top:26px; display:flex; gap:18px; align-items:flex-start;
  border:1px solid var(--line); background:var(--glass); border-radius:14px; padding:20px 22px;
}
.callout b{ font-family:var(--f-disp); font-size:clamp(26px,3.4vw,38px); color:var(--gold); line-height:1; flex:0 0 auto; }
.callout p{ font-size:13.5px; color:var(--txt-dim); line-height:1.6; }

.viz-leak{ display:grid; gap:14px; }
.leak-track{ position:relative; height:56px; border-radius:12px; border:1px solid var(--line);
  background:var(--glass); overflow:hidden; display:flex; align-items:center; }
.leak-fill{ position:absolute; inset:0; width:0; border-radius:12px;
  background:linear-gradient(90deg,var(--royal-lo),var(--royal)); transition:width 1.3s var(--ease) .25s; }
.leak-fill.mono{ background:linear-gradient(90deg,oklch(0.62 0.11 78),var(--gold)); }
.is-in .leak-fill{ width:100%; } .is-in .leak-fill.mono{ width:42%; }
.leak-tag{ position:relative; z-index:2; padding-left:16px; font-size:12.5px; font-weight:600;
  letter-spacing:.03em; color:oklch(1 0 0 / .92); text-shadow:0 1px 6px oklch(0 0 0 / .5); }
.leak-out{ border:1px dashed oklch(0.74 0.11 78 / .45); border-radius:14px; padding:20px 22px;
  background:oklch(0.74 0.11 78 / .05); }
.leak-out span{ display:block; font-size:12.5px; color:var(--txt-dim); }
.leak-out b{ font-family:var(--f-disp); font-size:clamp(40px,6vw,64px); color:var(--gold); line-height:1.05; }
.leak-out small{ font-size:12.5px; color:var(--txt-dim); }

/* ---------- 04 cadeia ---------- */
.chain{ border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:clamp(20px,3vw,34px); }
.chain-rail{ height:3px; background:var(--line); border-radius:99px; margin-bottom:-1.5px; position:relative; z-index:0; }
.chain-rail i{ display:block; height:100%; width:16.6%; border-radius:99px;
  background:linear-gradient(90deg,var(--royal),var(--gold)); transition:width .55s var(--ease); }
.chain-nodes{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.node{ text-align:left; padding:16px 4px 4px; opacity:.45; transition:opacity .4s var(--ease); }
.node.is-on{ opacity:1; }
.node-dot{ display:block; width:13px; height:13px; border-radius:50%; background:var(--navy);
  border:2px solid oklch(1 0 0 / .28); margin-bottom:12px; transition:all .4s var(--ease); }
.node.is-on .node-dot{ background:var(--gold); border-color:var(--gold);
  box-shadow:0 0 0 6px oklch(0.74 0.11 78 / .16); }
.node b{ display:block; font-family:var(--f-disp); font-size:clamp(13.5px,1.6vw,17px); }
.node small{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--txt-dim); }
.chain-panel{ margin-top:24px; min-height:132px; position:relative; }
.chain-slide{ position:absolute; inset:0; opacity:0; transform:translateY(14px);
  transition:opacity .45s var(--ease), transform .45s var(--ease); pointer-events:none; }
.chain-slide.is-on{ opacity:1; transform:none; pointer-events:auto; }
.chain-rate{ display:inline-block; font-family:var(--f-disp); font-size:clamp(20px,3vw,30px);
  padding:7px 18px; border-radius:99px; margin-bottom:14px; }
.chain-rate.up{ background:oklch(0.48 0.16 258 / .22); color:oklch(0.78 0.1 258); border:1px solid oklch(0.48 0.16 258 / .5); }
.chain-rate.zero{ background:oklch(0.74 0.11 78 / .14); color:var(--gold); border:1px solid oklch(0.74 0.11 78 / .45); }
.chain-slide p{ font-size:clamp(14px,1.5vw,16.5px); color:var(--txt-mid); max-width:62ch; }

/* ---------- 05 comparativo ---------- */
.switch{ display:inline-flex; gap:4px; padding:4px; border:1px solid var(--line);
  background:var(--glass); border-radius:99px; margin-bottom:26px; flex-wrap:wrap; }
.sw-btn{ padding:9px 18px; border-radius:99px; font-size:13px; font-weight:600; color:var(--txt-dim);
  transition:all .35s var(--ease); }
.sw-btn.is-on{ background:var(--gold); color:var(--ink); }

.cmp-bar{ position:relative; height:78px; border-radius:14px; overflow:hidden; display:flex;
  border:1px solid var(--line); }
.cmp-bar .seg{ display:flex; align-items:center; justify-content:center; font-style:normal; }
.cmp-bar .seg span{ font-size:12px; font-weight:600; padding:0 10px; text-align:center;
  text-shadow:0 1px 6px oklch(0 0 0 / .55); }
.seg-mono{ width:60%; background:linear-gradient(180deg,oklch(0.62 0.11 78),oklch(0.52 0.1 78)); color:var(--ink); }
.seg-rest{ width:40%; background:linear-gradient(180deg,var(--royal),var(--royal-lo)); }
.cmp-note{ margin-top:14px; font-size:11.5px; color:var(--txt-dim); line-height:1.6; }
.cmp-legend{ display:none; margin-top:11px; font-size:12px; color:var(--gold-soft); line-height:1.5; }
.seg-tax{ position:absolute; left:60%; top:0; bottom:0; width:40%; font-style:normal;
  border:2px dashed oklch(1 0 0 / .85); border-radius:12px; background:oklch(0 0 0 / .42);
  display:flex; align-items:center; justify-content:center; transition:width .7s var(--ease), left .7s var(--ease); }
.seg-tax span{ font-size:12px; font-weight:700; letter-spacing:.02em; padding:0 12px; text-align:center; }
.seg-tax.is-bad{ left:0; width:100%; border-color:oklch(0.74 0.11 78); }
.cmp-read{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.cmp-read div{ border:1px solid var(--line); background:var(--glass); border-radius:12px; padding:14px 16px; }
.cmp-read small{ display:block; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--txt-dim); }
.cmp-read b{ font-family:var(--f-disp); font-size:clamp(17px,2.4vw,25px); }
.cmp-read .hot{ border-color:oklch(0.74 0.11 78 / .5); background:oklch(0.74 0.11 78 / .08); }
.cmp-read .hot b{ color:var(--gold); }

/* ---------- 06 cartoes ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.flip{ perspective:1200px; height:172px; }
.flip .fc{
  position:absolute; inset:0; border-radius:16px; border:1px solid var(--line);
  background:var(--glass); backdrop-filter:blur(8px);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:6px;
  padding:20px; text-align:left; backface-visibility:hidden;
  transition:transform .7s var(--ease), border-color .3s;
}
.flip{ position:relative; }
.flip .front{ transform:rotateY(0deg); }
.flip .back{ transform:rotateY(180deg); background:oklch(0.48 0.16 258 / .14); border-color:oklch(0.48 0.16 258 / .45); }
.flip.is-flip .front{ transform:rotateY(-180deg); }
.flip.is-flip .back{ transform:rotateY(0deg); }
.flip:hover .fc{ border-color:oklch(0.74 0.11 78 / .45); }
.flip .ic{ font-size:24px; font-style:normal; line-height:1; }
.flip b{ font-family:var(--f-disp); font-size:15px; line-height:1.25; }
.flip .back b{ color:var(--gold); font-size:16px; }
.flip small{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--txt-dim); }
.flip p{ font-size:12.5px; color:var(--txt-mid); line-height:1.55; }

/* ---------- 07 quiz ---------- */
.quiz{ display:grid; gap:9px; }
.q{ border:1px solid var(--line); background:var(--glass); border-radius:13px; padding:14px 16px;
  display:flex; align-items:center; gap:14px; transition:border-color .3s, background .3s; }
.q.answered{ border-color:oklch(0.74 0.11 78 / .35); }
.q p{ flex:1; font-size:13.5px; line-height:1.5; color:var(--txt-mid); }
.q-opt{ display:flex; gap:5px; flex:0 0 auto; }
.q-opt button{ padding:6px 14px; border-radius:99px; font-size:12px; font-weight:700;
  border:1px solid var(--line); color:var(--txt-dim); transition:all .3s var(--ease); }
.q-opt button.on-y{ background:var(--gold); border-color:var(--gold); color:var(--ink); }
.q-opt button.on-n{ background:oklch(0.48 0.16 258); border-color:oklch(0.48 0.16 258); color:#fff; }

.gauge{ margin-top:28px; text-align:center; max-width:300px; }
.gauge svg{ width:100%; height:auto; overflow:visible; }
.g-bg{ fill:none; stroke:var(--line); stroke-width:13; stroke-linecap:round; }
.g-fg{ fill:none; stroke:var(--gold); stroke-width:13; stroke-linecap:round;
  stroke-dasharray:270; stroke-dashoffset:270; transition:stroke-dashoffset .8s var(--ease); }
.gauge b{ display:block; font-family:var(--f-disp); font-size:clamp(18px,2.4vw,25px); margin-top:-14px; }
.gauge small{ display:block; font-size:12.5px; color:var(--txt-dim); margin-top:4px; }

/* ---------- 08 calculadora ---------- */
.calc{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(18px,3vw,32px);
  border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:clamp(20px,3vw,32px); }
.calc-in{ display:grid; gap:22px; align-content:start; }
.fld{ display:block; }
.fld > span{ display:block; font-size:12.5px; letter-spacing:.05em; color:var(--txt-mid); margin-bottom:9px; }
.fld > span b{ color:var(--gold); font-family:var(--f-disp); }
.fld small{ display:block; margin-top:7px; font-size:11.5px; color:var(--txt-dim); line-height:1.5; }
.seg-ctl{ display:flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:11px; flex-wrap:wrap; }
.seg-ctl button{ flex:1; min-width:112px; padding:9px 6px; border-radius:8px; font-size:12.5px; font-weight:600;
  color:var(--txt-dim); transition:all .3s var(--ease); }
.seg-ctl button.is-on{ background:var(--royal); color:#fff; }
.money{ display:flex; align-items:center; border:1px solid var(--line); border-radius:11px;
  background:oklch(0 0 0 / .25); overflow:hidden; }
.money i{ font-style:normal; padding:0 12px; font-size:14px; color:var(--txt-dim); }
.money input{ flex:1; background:none; border:0; outline:none; color:var(--txt);
  font-family:var(--f-disp); font-size:clamp(19px,2.4vw,26px); font-weight:700; padding:12px 14px 12px 0; width:100%; }
input[type=range]{ -webkit-appearance:none; appearance:none; width:100%; height:5px; border-radius:99px;
  background:linear-gradient(90deg,var(--royal),var(--gold)); outline:none; }
input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; width:20px; height:20px; border-radius:50%;
  background:var(--cream); border:3px solid var(--gold); cursor:pointer; box-shadow:0 3px 12px oklch(0 0 0 / .5); }
input[type=range]::-moz-range-thumb{ width:20px; height:20px; border-radius:50%;
  background:var(--cream); border:3px solid var(--gold); cursor:pointer; }

.calc-out{ border:1px solid oklch(0.74 0.11 78 / .35); border-radius:14px; padding:22px;
  background:linear-gradient(160deg,oklch(0.74 0.11 78 / .10),transparent 70%);
  display:flex; flex-direction:column; justify-content:center; }
.calc-out small{ font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--txt-dim); }
.calc-mes{ font-family:var(--f-disp); font-size:clamp(28px,4.2vw,44px); color:var(--gold); line-height:1.1; }
.calc-tot{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
.calc-tot b{ display:block; font-family:var(--f-disp); font-size:clamp(24px,3.6vw,38px); line-height:1.1; }
.calc-form{ margin-top:14px; font-size:11.5px; color:var(--txt-dim); line-height:1.6; }

/* ---------- 09 passos ---------- */
.steps{ list-style:none; counter-reset:s; display:grid; gap:8px; }
.steps li{
  counter-increment:s; border:1px solid var(--line); background:var(--glass); border-radius:13px;
  padding:16px 20px 16px 62px; position:relative; cursor:pointer; transition:all .4s var(--ease);
}
.steps li::before{
  content:counter(s,decimal-leading-zero); position:absolute; left:20px; top:15px;
  font-family:var(--f-disp); font-size:13px; font-weight:800; color:var(--txt-dim); transition:color .3s;
}
.steps li b{ display:block; font-family:var(--f-disp); font-size:clamp(15px,1.9vw,19px); }
.steps li span{
  display:block; font-size:13.5px; color:var(--txt-mid); line-height:1.6; max-width:70ch;
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.steps li.is-on{ border-color:oklch(0.74 0.11 78 / .45); background:oklch(0.74 0.11 78 / .06); }
.steps li.is-on::before{ color:var(--gold); }
.steps li.is-on span{ max-height:140px; opacity:1; margin-top:7px; }
.steps li:hover{ border-color:oklch(1 0 0 / .2); }

/* ---------- 10 partilha ---------- */
.alert{ margin-top:22px; border:1px solid oklch(0.48 0.16 258 / .5); border-radius:14px;
  padding:18px 20px; background:oklch(0.48 0.16 258 / .12); }
.alert b{ display:block; font-family:var(--f-disp); font-size:14px; color:oklch(0.82 0.09 258); margin-bottom:6px;
  letter-spacing:.06em; text-transform:uppercase; }
.alert p{ font-size:13px; color:var(--txt-mid); line-height:1.65; }

.split{ border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:clamp(20px,3vw,30px); }
.split-cap{ font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--txt-dim); margin-bottom:18px; }
.split-list{ list-style:none; display:grid; gap:11px; }
.split-list li{ display:grid; grid-template-columns:78px 1fr 62px; align-items:center; gap:11px; font-size:12.5px; }
.split-list li span{ color:var(--txt-mid); }
.split-list li i{ height:9px; border-radius:99px; background:oklch(1 0 0 / .09); position:relative; overflow:hidden; }
.split-list li i::after{ content:""; position:absolute; inset:0 auto 0 0; width:0; border-radius:99px;
  background:oklch(0.48 0.16 258); transition:width 1s var(--ease); }
.split-list li.go i::after{ width:var(--w); }
.split-list li.hot i::after{ background:linear-gradient(90deg,var(--gold),var(--gold-soft)); }
.split-list li b{ font-family:var(--f-disp); text-align:right; }
.split-list li.hot span, .split-list li.hot b{ color:var(--gold); }
.split-foot{ margin-top:16px; font-size:11.5px; color:var(--txt-dim); }

/* ---------- 11 linha do tempo ---------- */
.tl{ border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:clamp(20px,3vw,32px); }
.tl-rail{ height:3px; background:var(--line); border-radius:99px; }
.tl-rail i{ display:block; height:100%; width:12.5%; border-radius:99px;
  background:linear-gradient(90deg,var(--royal),var(--gold)); transition:width .5s var(--ease); }
.tl-years{ display:grid; grid-template-columns:repeat(8,1fr); gap:4px; margin-top:-8px; }
.tl-years button{ padding:16px 0 8px; font-family:var(--f-disp); font-size:clamp(11px,1.5vw,15px);
  font-weight:700; color:var(--txt-dim); position:relative; transition:color .3s; }
.tl-years button::before{ content:""; position:absolute; top:-4px; left:50%; transform:translateX(-50%);
  width:11px; height:11px; border-radius:50%; background:var(--navy); border:2px solid oklch(1 0 0 / .25);
  transition:all .35s var(--ease); }
.tl-years button.is-on{ color:var(--gold); }
.tl-years button.is-on::before{ background:var(--gold); border-color:var(--gold);
  box-shadow:0 0 0 5px oklch(0.74 0.11 78 / .18); }
.tl-card{ margin-top:20px; border-top:1px solid var(--line); padding-top:22px; min-height:186px; }
.tl-card > b{ font-family:var(--f-disp); font-size:clamp(38px,6vw,60px); color:oklch(1 0 0 / .1);
  line-height:.9; display:block; }
.tl-card h3{ margin-top:-14px; color:var(--gold); }
.tl-card p{ font-size:clamp(13.5px,1.5vw,16px); color:var(--txt-mid); max-width:70ch; }
.tl-tags{ list-style:none; display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.tl-tags li{ font-size:11.5px; border:1px solid var(--line); background:oklch(0 0 0 / .25);
  padding:6px 12px; border-radius:99px; color:var(--txt-mid); }

/* ---------- 12 datas ---------- */
.dates{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
.date-card{ border:1px solid var(--line); background:var(--glass); border-radius:18px; padding:clamp(20px,3vw,30px); }
.date-card.hot{ border-color:oklch(0.74 0.11 78 / .4); background:linear-gradient(160deg,oklch(0.74 0.11 78 / .08),transparent 65%); }
.dc-tag{ display:inline-block; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--txt-dim); border:1px solid var(--line); padding:4px 11px; border-radius:99px; margin-bottom:14px; }
.date-card > b{ display:block; font-family:var(--f-disp); font-size:clamp(20px,2.8vw,29px);
  line-height:1.15; margin-bottom:12px; }
.date-card.hot > b{ color:var(--gold); }
.date-card p{ font-size:13.5px; color:var(--txt-mid); line-height:1.65; }
.date-card p span{ color:var(--gold-soft); font-weight:600; }
.cd{ display:flex; gap:10px; margin-top:20px; }
.cd i{ font-style:normal; flex:1; text-align:center; border:1px solid var(--line);
  border-radius:11px; padding:12px 4px; background:oklch(0 0 0 / .25); }
.cd b{ display:block; font-family:var(--f-disp); font-size:clamp(20px,3vw,28px); color:var(--gold); line-height:1; }
.cd small{ font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--txt-dim); }
.window{ margin-top:20px; }
.win-rail{ display:flex; height:11px; border-radius:99px; overflow:hidden; background:oklch(0 0 0 / .3); }
.win-rail i{ display:block; height:100%; width:0%; transition:width 1.2s var(--ease) .3s; }
.win-lost{ background:repeating-linear-gradient(45deg,oklch(1 0 0 / .11) 0 5px,transparent 5px 10px); }
.win-open{ background:linear-gradient(90deg,var(--gold),var(--gold-soft)); }
.is-in .win-lost{ width:52%; } .is-in .win-open{ width:48%; }
.win-legend{ display:flex; justify-content:space-between; gap:14px; margin-top:9px; }
.win-legend span{ font-size:11px; color:var(--txt-dim); }
.win-legend span:last-child{ text-align:right; color:var(--gold-soft); }

/* ---------- 13 final ---------- */
.final{ text-align:center; }
.final .wrap{ max-width:920px; }
.cta-mark{ width:72px; margin:0 auto 20px; }
.final .lead{ margin:0 auto 26px; }
.proof{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:34px; }
.proof div{ border:1px solid var(--line); background:var(--glass); border-radius:14px; padding:15px 14px; }
.proof b{ display:block; font-family:var(--f-disp); font-size:clamp(22px,3.2vw,34px); color:var(--gold); line-height:1.1; }
.proof small{ display:block; font-size:12px; color:var(--txt-dim); margin-top:5px; line-height:1.45; }
.cta{
  display:inline-flex; align-items:center; gap:12px; text-decoration:none;
  background:linear-gradient(100deg,var(--gold),var(--gold-soft)); color:var(--ink);
  font-family:var(--f-disp); font-weight:800; font-size:clamp(14.5px,1.8vw,17px);
  padding:17px 34px; border-radius:99px; letter-spacing:.01em;
  box-shadow:0 16px 44px oklch(0.74 0.11 78 / .3); transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cta:hover{ transform:translateY(-3px); box-shadow:0 22px 56px oklch(0.74 0.11 78 / .42); }
.contact{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:28px 0 20px; text-align:left; }
.contact div{ border-top:1px solid var(--line); padding-top:12px; }
.contact small{ display:block; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--txt-dim); }
.contact b{ font-size:13px; font-weight:600; line-height:1.45; }
.contact a{ color:var(--gold-soft); text-decoration:none; }
.sources{ text-align:left; border:1px solid var(--line); background:var(--glass); border-radius:14px; padding:16px 20px; }
.sources summary{ cursor:pointer; font-family:var(--f-disp); font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--gold); }
.sources ul{ margin:16px 0 0 18px; display:grid; gap:8px; }
.sources li{ font-size:12.5px; color:var(--txt-mid); line-height:1.6; }
.sources a{ color:var(--gold-soft); }
.disc{ margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
  font-size:11.5px; color:var(--txt-dim); line-height:1.6; }
.sign{ margin-top:30px; font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--txt-dim); }

/* ---------- responsivo ---------- */
@media (max-width:960px){
  .wrap.two{ grid-template-columns:1fr; gap:26px; }
  .cards{ grid-template-columns:repeat(2,1fr); }
  .calc{ grid-template-columns:1fr; }
  .dates{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:repeat(2,1fr); }
  .dots{ display:none; }
}
@media (max-width:620px){
  :root{ --hud:56px; }
  .page{ padding-top:calc(var(--hud) + 28px); padding-bottom:44px; min-height:auto; }
  .cover{ min-height:100svh; }
  .cards{ grid-template-columns:1fr; }
  .flip{ height:150px; }
  .chain-nodes{ grid-template-columns:1fr; gap:4px; }
  .chain-rail{ display:none; }
  .node{ padding:9px 0; display:flex; align-items:center; gap:11px; }
  .node-dot{ margin-bottom:0; }
  .chain-panel{ min-height:180px; }
  .cmp-read{ grid-template-columns:1fr; }
  .seg-tax span{ display:none; }
  .cmp-legend{ display:block; }
  .proof{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .tl-years{ grid-template-columns:repeat(4,1fr); }
  .tl-rail{ display:none; }
  .q{ flex-direction:column; align-items:flex-start; gap:10px; }
  .hud-brand small{ display:none; }
  .cd b{ font-size:20px; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important;
     transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; filter:none; }
}
