/* Bit Labs · página inicial — rolagem como diretor.
   O fundo (canvas) e os capítulos fixos (.scene) reagem à posição da rolagem.
   O JS escreve --p (0 a 1) em cada capítulo e --t em elementos internos; aqui o CSS transforma isso em movimento. */

:root {
  --bg: #05070f;
  --bg2: #0b0f1c;
  --ink: #f2f3f5;
  --mut: rgba(242, 243, 245, 0.66);
  --dim: rgba(242, 243, 245, 0.42);
  --blue: #4a74e8;
  --cyan: #5bc8ff;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --line: rgba(255, 255, 255, 0.11);
  --glass: rgba(255, 255, 255, 0.055);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}

@property --tilt { syntax: '<number>'; inherits: false; initial-value: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: .92em; padding: .12em .4em; border-radius: 6px; background: var(--glass); border: 1px solid var(--line); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- camadas fixas ---------- */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; will-change: transform; --gc: 74, 116, 232; background: radial-gradient(ellipse 70% 62% at 50% 48%, rgba(var(--gc), 0.2), rgba(var(--gc), 0.05) 45%, transparent 75%); transition: none; }
#world { z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 25%, rgba(5, 7, 15, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.5), transparent 22%, transparent 78%, rgba(5, 7, 15, 0.6));
}
.spot {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), rgba(91, 200, 255, 0.09), transparent 60%);
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); will-change: transform; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet)); }
main, .footer { position: relative; z-index: 2; }
/* o que muda a cada quadro ganha camada própria: o navegador só reposiciona, sem repintar o palco */
.hero-eyebrow, .hero-sub, .hero-core .cta-row, .scroll-cue, .chips span { will-change: transform, opacity; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 60;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(8, 11, 20, 0.88);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.nav.hide { transform: translateX(-50%) translateY(-130%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 24px; }
.nav-logo img { height: 26px; width: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 26px); }
.nav ul a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--mut); transition: color 0.25s; }
.nav ul a:hover { color: var(--ink); }
.nav-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink) !important; background: var(--glass); }
.nav-btn:hover { border-color: var(--cyan); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--glass); position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- elementos comuns ---------- */
.eyebrow { font-family: var(--mono); font-size: clamp(11px, 1.15vw, 13px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow.center { text-align: center; }
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 15px 28px; border-radius: 999px; font: 600 15px/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; color: var(--ink);
  transform: translate(var(--bx), var(--by));
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.3s, border-color 0.3s;
}
.btn-primary { background: linear-gradient(120deg, var(--blue), var(--violet)); box-shadow: 0 10px 40px -10px rgba(74, 116, 232, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { box-shadow: 0 14px 54px -8px rgba(110, 120, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.07); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(91, 200, 255, 0.08); }
.btn-lg { padding: 19px 36px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.scene { position: relative; height: var(--len, 300vh); --p: 0; }
.stage {
  contain: layout paint;
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: clip;
  padding: 84px clamp(20px, 5vw, 72px) 28px;
}

.block { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 72px); }
.head { text-align: center; margin-bottom: clamp(36px, 6vh, 72px); }
.head h2 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.head p { margin: 14px auto 0; max-width: 620px; color: var(--mut); font-size: clamp(15px, 1.5vw, 18px); }
.head a { color: var(--cyan); }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease) var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 1 · hero ---------- */
.hero-core { display: grid; justify-items: center; text-align: center; gap: clamp(12px, 2.2vh, 24px); max-width: 1180px; }
.hero-bot {
  transform: translateY(calc(var(--p) * 58vh)) scale(calc(1 + var(--p) * var(--p) * 26));
  opacity: clamp(0, calc(1 - (var(--p) - 0.12) * 3.6), 1);
  will-change: transform, opacity;
}
.hero-bot svg { width: clamp(84px, 14.5vh, 150px); height: auto; animation: float 5s ease-in-out infinite; }
.hero-bot { position: relative; }
.hero-bot::before { content: ''; position: absolute; inset: -70%; background: radial-gradient(closest-side, rgba(91, 200, 255, 0.34), transparent 70%); z-index: -1; }
.bot-eye { animation: blink 5.5s infinite; transform-box: fill-box; transform-origin: center; }
.bot-light { animation: glow 1.8s ease-in-out infinite; }
.hero-eyebrow { opacity: clamp(0, calc(1 - var(--p) * 4), 1); }
.hero-title {
  font-size: clamp(38px, 7.2vw, 122px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  opacity: clamp(0, calc(1 - var(--p) * 3.6), 1);
  transform: translateY(calc(var(--p) * -24vh)) scale(calc(1 + var(--p) * 0.18));
  will-change: transform, opacity;
}
.hero-title .line { display: block; white-space: nowrap; overflow: hidden; padding: 0.04em 0.06em 0.14em; margin: -0.04em -0.06em -0.14em; }
.w { display: inline-block; }
.js .w { transform: translateY(112%); opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: calc(0.2s + var(--d) * 0.1s); }
.grad { background: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; color: var(--mut); font-size: clamp(15px, 1.7vw, 20px); opacity: clamp(0, calc(1 - var(--p) * 5), 1); transform: translateY(calc(var(--p) * -18vh)); }
.hero-core .cta-row { opacity: clamp(0, calc(1 - var(--p) * 5.5), 1); transform: translateY(calc(var(--p) * -14vh)); margin-top: 6px; }
.js .hero-sub, .js .hero-core .cta-row, .js .hero-eyebrow { animation: fade 1.2s var(--ease) 0.9s backwards; }
.hero-second {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: clamp(44px, 10.4vw, 168px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; pointer-events: none;
  opacity: calc(clamp(0, calc((var(--p) - 0.55) * 5), 1) * clamp(0, calc((1 - var(--p)) * 7), 1));
  transform: scale(calc(0.78 + var(--p) * 0.32));
  background: linear-gradient(100deg, #fff, var(--cyan) 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform, opacity;
}
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); opacity: clamp(0, calc(1 - var(--p) * 14), 1); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--cyan), transparent); transform-origin: top; animation: cue 2s ease-in-out infinite; }

/* ---------- 2 · manifesto ---------- */
.manifesto .stage { align-content: center; gap: 22px; }
.manifesto-text { position: relative; z-index: 2; max-width: 1150px; text-align: center; font-size: clamp(25px, 4.3vw, 62px); font-weight: 700; line-height: 1.16; letter-spacing: -0.025em; }
.mw { opacity: 0.14; transition: opacity 0.45s ease-out; }
.mw.on { opacity: 1; }
.manifesto-text em { font-style: normal; }
.manifesto-text em .mw { background: linear-gradient(100deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { position: absolute; inset: 0; pointer-events: none; }
.chips span {
  position: absolute; left: var(--x); top: 0; padding: 7px 14px; border-radius: 999px;
  font: 500 clamp(11px, 1.2vw, 14px) var(--mono); color: var(--cyan);
  border: 1px solid rgba(91, 200, 255, 0.28); background: rgba(91, 200, 255, 0.06);
  transform: translateY(calc(var(--y) - var(--p) * 250vh * var(--s))) scale(var(--s));
  opacity: calc(0.16 + var(--s) * 0.3);
}

/* ---------- 3 · robôs ---------- */
.robots-grid { width: 100%; max-width: 1280px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 84px); align-items: center; }
.robots-titles { display: grid; margin-top: clamp(14px, 3vh, 28px); }
.rt { grid-area: 1 / 1; opacity: 0; transform: translateY(44px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.rt.on { opacity: 1; transform: none; pointer-events: auto; }
.rt h2 { font-size: clamp(34px, 5.2vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.rt p { margin-top: clamp(14px, 2.4vh, 24px); max-width: 500px; color: var(--mut); font-size: clamp(14px, 1.45vw, 18px); }
.rt strong { color: var(--ink); font-weight: 600; }

.device {
  border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, #141a2c, #0c1020);
  box-shadow: 0 50px 140px -30px rgba(74, 116, 232, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: perspective(1500px) rotateY(calc(-11deg + var(--tilt) * 8deg)) rotateX(calc(4deg - var(--tilt) * 2deg));
  will-change: transform;
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; } .device-bar i:nth-child(3) { background: #28c840; }
.device-bar span { margin-left: 10px; font: 500 12px var(--mono); color: var(--dim); }
.device-body { position: relative; aspect-ratio: 16 / 11; }
.panel { position: absolute; inset: 0; padding: clamp(16px, 2.6vw, 30px); opacity: 0; transform: translateY(22px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); --t: 0; }
.panel.on { opacity: 1; transform: none; }
.panel-title { font-weight: 600; font-size: clamp(13px, 1.4vw, 17px); }
.panel-title small, .muted { color: var(--dim); font-weight: 400; font-size: 0.8em; margin-left: 8px; }

.bars { position: relative; display: flex; align-items: flex-end; gap: 2.4%; height: 60%; margin-top: 7%; border-bottom: 1px solid var(--line); }
.bars b {
  --g: clamp(0, calc(var(--t) * 9 - var(--k)), 1);
  flex: 1; height: calc(var(--h) * 100% * var(--g)); border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, rgba(150, 165, 205, 0.42), rgba(110, 125, 170, 0.22));
}
.bars b.over { background: linear-gradient(180deg, var(--cyan), var(--blue)); box-shadow: 0 0 24px -4px rgba(91, 200, 255, 0.5); }
.threshold { position: absolute; left: 0; right: 0; bottom: 68%; border-top: 2px dashed rgba(251, 191, 36, 0.75); }
.threshold em { position: absolute; left: 0; top: -22px; font: 500 clamp(10px, 1vw, 12px) var(--mono); color: var(--amber); font-style: normal; }
.verdict {
  --v: clamp(0, calc((var(--t) - 0.78) * 8), 1);
  display: inline-flex; align-items: center; gap: 10px; margin-top: 5%; padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: clamp(12px, 1.3vw, 15px); color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1);
  opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 14px)) scale(calc(0.94 + var(--v) * 0.06));
}
.dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.25); }
.seg span { position: relative; z-index: 1; padding: 8px clamp(10px, 1.6vw, 18px); text-align: center; font-size: clamp(11px, 1.2vw, 14px); font-weight: 500; color: var(--mut); white-space: nowrap; }
.seg span:first-of-type { color: #fff; }
.seg i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(120deg, var(--blue), var(--violet)); }
.panel-s.on .seg i { animation: seg-move 5.2s infinite; }
.panel-s.on .seg span:first-of-type { animation: seg-a 5.2s infinite; }
.panel-s.on .seg span:last-of-type { animation: seg-b 5.2s infinite; }
.months { display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(3px, 0.5vw, 6px); margin: clamp(14px, 3vh, 26px) 0; }
.months i {
  aspect-ratio: 1; border-radius: 28%; background: linear-gradient(135deg, var(--cyan), var(--blue));
  opacity: 0.1; transform: scale(0.6); transition: opacity 0.3s ease-out, transform 0.45s var(--ease);
}
.months i.f { opacity: 1; transform: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(10px, 2vh, 18px); }
.tags span { padding: 5px 12px; border-radius: 999px; font: 500 clamp(10px, 1.05vw, 12px) var(--mono); color: var(--mut); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.panel-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: clamp(12px, 1.3vw, 15px); }
.num { font: 700 clamp(22px, 3vw, 38px) var(--sans); letter-spacing: -0.03em; color: var(--cyan); font-variant-numeric: tabular-nums; }

.panel-c { display: grid; grid-template-columns: minmax(0, 1fr) 26%; gap: 6%; align-items: center; }
.files { display: grid; gap: clamp(5px, 1.1vh, 9px); }
.file {
  --f: clamp(0, calc(var(--t) * 9.2 - var(--k)), 1);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: clamp(6px, 1.1vh, 9px) 12px; border-radius: 10px; overflow: hidden;
  font: 500 clamp(10px, 1.05vw, 13px) var(--mono); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.file > i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--f)); background: rgba(91, 200, 255, 0.1); }
.file s, .file b { grid-area: 1 / 1; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.file s { color: var(--dim); opacity: clamp(0, calc(1 - (var(--f) - 0.55) * 4), 1); }
.file b { font-weight: 500; color: var(--cyan); opacity: clamp(0, calc((var(--f) - 0.7) * 4), 1); }
.file em { position: relative; font-style: normal; font-weight: 700; color: var(--green); opacity: clamp(0, calc((var(--f) - 0.92) * 14), 1); }
.folder { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--cyan); font: 500 clamp(11px, 1.15vw, 14px) var(--mono); }
.folder svg { width: 100%; height: auto; }
.folder strong { font: 700 clamp(22px, 2.6vw, 34px) var(--sans); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }

/* ---------- 4 · como funciona ---------- */
.flow-grid { width: 100%; max-width: 1320px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.flow-h { margin: 12px 0 clamp(16px, 3vh, 30px); font-size: clamp(28px, 3.7vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.flow-steps { display: grid; gap: 6px; }
.flow-steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 12px 16px; border-radius: 16px; border: 1px solid transparent; opacity: 0.55; transition: opacity 0.5s, background 0.5s, border-color 0.5s; }
.flow-steps li.on { opacity: 1; background: var(--glass); border-color: var(--line); }
.flow-steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); border: 1px solid var(--line); transition: background 0.5s, border-color 0.5s; }
.flow-steps li.on .n { background: linear-gradient(120deg, var(--blue), var(--violet)); border-color: transparent; }
.flow-steps strong { font-size: clamp(15px, 1.5vw, 18px); }
.flow-steps small { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--mut); font-size: clamp(13px, 1.2vw, 15px); line-height: 1.5; transition: max-height 0.6s var(--ease), opacity 0.5s, margin 0.5s; }
.flow-steps li.on small { max-height: 9em; opacity: 1; margin-top: 4px; }
.device.big { transform: perspective(1800px) rotateY(calc(10deg - var(--tilt) * 12deg)) rotateX(3deg); }
.shots { position: relative; aspect-ratio: 1400 / 715; background: #0b0f1c; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.demo-note { margin-top: 14px; text-align: center; color: var(--dim); font-size: 13px; }

/* ---------- 5 · garantias ---------- */
.assure-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.assure .eyebrow { margin-bottom: clamp(28px, 5vh, 56px); }
.card { padding: clamp(24px, 3vw, 38px); border-radius: 26px; border: 1px solid var(--line); background: rgba(14, 18, 32, 0.78); transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s; }
.card:hover { border-color: rgba(91, 200, 255, 0.4); background: rgba(91, 200, 255, 0.05); }
.card svg { width: 54px; height: 54px; color: var(--cyan); margin-bottom: 22px; }
.card svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 0.25s; }
.card.in svg *, html:not(.js) .card svg *, html.static .card svg * { stroke-dashoffset: 0; }
.card h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--mut); font-size: clamp(14px, 1.3vw, 16px); }

/* ---------- 6 · números ---------- */
.numbers { text-align: center; max-width: none; padding-inline: 0; }
.big-number { display: flex; justify-content: center; align-items: baseline; gap: 0.06em; margin-top: 18px; font-size: clamp(88px, 22vw, 330px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.big-number .plus, .big-number #saved-hours-counter { background: linear-gradient(120deg, #fff, var(--cyan) 45%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-number .unit { font-size: 0.2em; letter-spacing: -0.01em; font-weight: 700; color: var(--mut); margin-left: 0.2em; }
.numbers-sub { margin: 18px auto 0; max-width: 560px; padding-inline: 20px; color: var(--mut); font-size: clamp(15px, 1.6vw, 19px); }
.marquee { margin-top: clamp(44px, 9vh, 100px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.marquee-track span { padding: 12px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font: 500 15px var(--mono); color: var(--mut); white-space: nowrap; }

/* ---------- 7 · calculadora ---------- */
.calc-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 60px); padding: clamp(22px, 4vw, 52px); border-radius: 30px; border: 1px solid var(--line); background: rgba(14, 18, 32, 0.8); }
.calc-inputs { display: grid; gap: clamp(20px, 3vh, 32px); align-content: center; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; cursor: pointer; }
.calc-label { grid-column: 1 / -1; font-weight: 600; font-size: clamp(14px, 1.4vw, 17px); }
.calc-label small { display: block; margin-top: 2px; color: var(--dim); font-weight: 400; font-size: 0.82em; }
.calc-row output { font: 700 clamp(20px, 2.2vw, 28px) var(--sans); min-width: 3ch; text-align: right; color: var(--cyan); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer; background: linear-gradient(90deg, var(--blue), var(--cyan)) 0 / var(--v, 20%) 100% no-repeat, rgba(255, 255, 255, 0.12); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 6px rgba(74, 116, 232, 0.2), 0 6px 20px rgba(0, 0, 0, 0.5); transition: transform 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.calc-result { display: grid; gap: 14px; align-content: center; padding: clamp(18px, 3vw, 34px); border-radius: 22px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.calc-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-big span { font-size: clamp(64px, 8vw, 120px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; background: linear-gradient(120deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.calc-big small { color: var(--mut); font-size: clamp(14px, 1.4vw, 18px); }
#calc-year { color: var(--ink); font-weight: 500; }
.calc-note { color: var(--dim); font-size: 13px; }
.calc-result .btn { justify-self: start; margin-top: 4px; }

/* ---------- 8 · planos ---------- */
.pricing .req { font-size: 13px; color: var(--dim); }
.pricing-grid { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: rgba(14, 18, 32, 0.82); transition: transform 0.5s var(--ease), border-color 0.4s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(91, 200, 255, 0.4); }
.plan h3 { font-size: 18px; font-weight: 600; color: var(--mut); }
.price { margin: 14px 0 4px; white-space: nowrap; font-size: clamp(40px, 4.3vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price span { font-size: 0.28em; font-weight: 500; letter-spacing: 0; color: var(--mut); margin-left: 4px; }
.plan-note { color: var(--dim); font-size: 13px; margin-bottom: 22px; min-height: 2.6em; }
.plan ul { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan li { position: relative; padding-left: 28px; color: var(--mut); font-size: 15px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.4 2.3 2.2 4.7-5'/%3E%3C/svg%3E") center / 100% no-repeat; }
.block-btn { width: 100%; }
.plan.premium {
  --ang: 0deg;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box, conic-gradient(from var(--ang), var(--blue), var(--cyan), var(--violet), var(--blue)) border-box;
  box-shadow: 0 30px 100px -30px rgba(91, 120, 255, 0.55);
}
.ribbon { position: absolute; top: -13px; right: 28px; padding: 6px 14px; border-radius: 999px; font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: linear-gradient(120deg, var(--cyan), var(--blue)); color: #04101f; }

/* ---------- 9 · perguntas ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--glass); padding: 0 24px; transition: border-color 0.3s, background 0.3s; }
.faq-item[open] { border-color: rgba(91, 200, 255, 0.35); background: rgba(91, 200, 255, 0.045); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat; transition: transform 0.4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { padding: 0 0 22px; color: var(--mut); font-size: clamp(14px, 1.3vw, 16px); animation: drop 0.5s var(--ease); }
.faq-item p a { color: var(--cyan); }

/* ---------- 10 · fim e rodapé ---------- */
.final { text-align: center; padding-block: clamp(100px, 22vh, 240px); }
.final-title { font-size: clamp(64px, 16vw, 250px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.88; margin-bottom: clamp(32px, 6vh, 64px); background: linear-gradient(120deg, #fff 10%, var(--cyan) 50%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer { border-top: 1px solid var(--line); background: rgba(5, 7, 15, 0.92); }
.footer-inner { max-width: 1320px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 72px); display: grid; gap: 14px; justify-items: start; }
.footer .nav-logo img { height: 24px; }
.footer p { color: var(--dim); max-width: 520px; font-size: 14px; }
.copyright { color: var(--dim); font-size: 13px; }
.copyright a { text-decoration: none; } .copyright a:hover { color: var(--cyan); } .copyright span { margin: 0 6px; opacity: 0.5; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(18px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes seg-move { 0%, 42% { transform: none; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); } 52%, 92% { transform: translateX(100%); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); } 100% { transform: none; } }
@keyframes seg-a { 0%, 44% { color: #fff; } 50%, 94% { color: var(--mut); } 100% { color: #fff; } }
@keyframes seg-b { 0%, 44% { color: var(--mut); } 50%, 94% { color: #fff; } 100% { color: var(--mut); } }

/* ---------- telas pequenas ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-inner { padding: 8px 8px 8px 20px; }
  .nav nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; border: 1px solid var(--line); border-radius: 24px; background: rgb(10, 13, 24); padding: 10px; display: none; }
  .nav nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav ul a { display: block; padding: 14px 16px; font-size: 16px; }
  .nav-btn { text-align: center; }
  .stage { padding-top: 76px; }
  .robots-grid, .flow-grid { grid-template-columns: 1fr; gap: 18px; align-content: start; }
  .robots-copy { min-height: 0; }
  .hero-title .line { white-space: normal; }
  .rt h2 { font-size: clamp(30px, 9vw, 44px); }
  .rt p { font-size: 14px; }
  .device, .device.big { transform: none; }
  .device-body { aspect-ratio: auto; height: clamp(280px, 40vh, 350px); }
  .tags { display: none; }
  .panel-c { grid-template-columns: minmax(0, 1fr) 24%; gap: 5%; }
  .flow-copy .flow-steps li:not(.on) small { max-height: 0; }
  .flow-h { font-size: clamp(24px, 7vw, 34px); }
  .assure-grid, .pricing-grid, .calc-card { grid-template-columns: 1fr; }
  .plan.premium { order: -1; }
}
@media (max-height: 640px) and (min-width: 861px) {
  .rt p { display: none; }
  .hero-sub { display: none; }
}

/* ---------- sem animação por rolagem (preferência do sistema ou sem JavaScript) ---------- */
html:not(.js) .scene, html.static .scene { height: auto; --p: 0; }
html:not(.js) .stage, html.static .stage { position: static; height: auto; overflow: visible; padding-block: clamp(80px, 14vh, 140px) clamp(40px, 8vh, 80px); }
html:not(.js) .hero-second, html.static .hero-second, html:not(.js) .scroll-cue, html.static .scroll-cue, html:not(.js) .chips, html.static .chips { display: none; }
html:not(.js) .hero-bot, html.static .hero-bot { transform: none; opacity: 1; }
html:not(.js) .hero-title, html.static .hero-title { transform: none; opacity: 1; }
html:not(.js) .mw, html.static .mw { opacity: 1; }
html:not(.js) .months i, html.static .months i { opacity: 1; transform: none; }
html:not(.js) .robots-titles, html.static .robots-titles { display: grid; gap: 40px; }
html:not(.js) .rt, html.static .rt { grid-area: auto; opacity: 1; transform: none; }
html:not(.js) .device-body, html.static .device-body { aspect-ratio: auto; display: grid; gap: 14px; }
html:not(.js) .panel, html.static .panel { position: relative; inset: auto; opacity: 1; transform: none; --t: 1; min-height: 200px; }
html:not(.js) .panel-q, html.static .panel-q { min-height: 280px; }
html:not(.js) .device, html.static .device { transform: none; }
html:not(.js) .flow-steps li, html.static .flow-steps li { opacity: 1; }
html:not(.js) .flow-steps small, html.static .flow-steps small { max-height: none; opacity: 1; }
html:not(.js) .shots, html.static .shots { aspect-ratio: auto; display: grid; gap: 6px; }
html:not(.js) .shot, html.static .shot { position: relative; opacity: 1; transform: none; }
html.static .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.static .w, html.static .hero-sub, html.static .hero-core .cta-row, html.static .hero-eyebrow { animation: none !important; transform: none; opacity: 1; }
html.static *, html.static *::before, html.static *::after { scroll-behavior: auto !important; }


/* ---------- aviso antes de assinar, suporte e WhatsApp ---------- */
.aviso-assinar { max-width: 860px; margin: clamp(28px, 4vw, 48px) auto 0; padding: clamp(20px, 3vw, 30px); border-radius: 22px; border: 1px solid rgba(251, 191, 36, 0.38); background: rgba(251, 191, 36, 0.06); }
.aviso-assinar h3 { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; margin-bottom: 14px; color: var(--amber); }
.aviso-assinar ol { display: grid; gap: 12px; padding-left: 22px; list-style: decimal; }
.aviso-assinar li { color: var(--mut); font-size: clamp(14px, 1.3vw, 16px); line-height: 1.6; }
.aviso-assinar li strong { color: var(--ink); }
.aviso-assinar a, .footer-contato a { color: var(--cyan); }
.aviso-suporte { margin-top: 16px; color: var(--mut); font-size: 14px; }
.footer-contato { margin: 6px 0 10px; color: var(--mut); font-size: 14px; }
.footer-contato span { margin: 0 8px; color: var(--dim); }
.wa-float { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1faa59; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7); transition: transform 0.3s var(--ease), background 0.3s; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #25c065; }
.wa-float:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wa-float svg { width: 30px; height: 30px; }
