/* OpenSpread + Bullroom: site estático. Um script nosso (site.js), nenhum recurso de terceiros.
   Sem o script, sem WebGL ou com "menos movimento", a abertura vira página empilhada e nada se perde. */
@font-face { font-family: Anton; src: url(fonts/Anton-Regular.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Pixel; src: url(fonts/pixelify-sans-500.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; src: url(fonts/poppins-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(fonts/poppins-700.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --nav: #0b1530; --deep: #070d1f; --lift: #14224a; --line: #24345f; --off: #f7f8fb; --muted: #a9b6d0;
  --must: #f2b51b; --alert: #e3262b; --red: #f87171; --green: #4ade80; --sim: #6d4cc0; --sim-lit: #e4d9fb;
  --max: 1240px; --r: 4px; --cut: 5vw;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--nav); }
body { margin: 0; background: var(--nav); color: var(--off); font: 600 16px/1.6 Poppins, system-ui, sans-serif; }
main { overflow-x: clip; }
a { color: var(--must); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.neg { color: var(--red); } .pos { color: var(--green); }
.nav-mark { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

h1, h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(42px, 6.6vw, 104px); line-height: 1; margin: 0 0 20px; }
h2 em { font-style: normal; color: var(--must); }
h3 { line-height: 1.2; }
.sub { color: var(--muted); margin: 0; font-size: 18px; max-width: 58ch; }
.hint { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 78ch; }
.head { max-width: 900px; margin-bottom: 44px; }
.block { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
:is(p, li) > code { white-space: nowrap; }
code { font: 500 .92em ui-monospace, Consolas, monospace; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 1px 5px; }

/* ------------------------------------------------------------------ navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 200ms ease, border-color 200ms ease; }
.nav.scrolled { background: #0b1530f2; border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; max-width: none; padding: 0 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Pixel, sans-serif; font-size: 21px; color: var(--off); text-decoration: none; white-space: nowrap; }
.brand img { width: 28px; image-rendering: pixelated; }
.brand .plus { color: var(--muted); }
.brand .pos { color: var(--must); }
.links { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
.links a { color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.links a:hover, .links a:focus-visible { color: var(--off); }
.lang { font-size: 13px; border: 1px solid var(--line); border-radius: var(--r); padding: 2px 8px; color: var(--muted); text-decoration: none; }

/* ------------------------------------------------------------------ botões */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r); font-weight: 700; text-decoration: none; font-size: 15px; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn.primary { background: var(--must); color: var(--nav); }
.btn.ghost { border: 1px solid #ffffff40; color: var(--off); background: transparent; }
.btn:active { transform: scale(.97); }
:is(.btn, .links a, .lang, button, .brand):focus-visible { outline: 2px solid var(--must); outline-offset: 3px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; font-family: Pixel, sans-serif; font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border: 1px solid; border-radius: var(--r); }
.pill.amber { color: var(--must); border-color: var(--must); }

/* ------------------------------------------------------------------ abertura: sem script é uma página comum */
.cine { position: relative; }
.stage { position: relative; background: radial-gradient(ellipse at 60% 56%, #18295a, var(--nav) 64%); }
.led, .world, .veil, .rail, .cap { display: none; }
.hero { padding: 104px 32px 40px; max-width: var(--max); margin: 0 auto; }
.eyebrow { font: 500 14px Pixel, sans-serif; letter-spacing: .1em; color: var(--must); margin: 0 0 12px; }
h1 { font-size: clamp(44px, min(7.2vw, 14.5vh), 128px); line-height: 1; margin: 0; }
h1 span { display: block; white-space: nowrap; }
h1 .m { color: var(--must); }
.lead { color: #d8e0ef; font-size: 17px; margin: 0 0 20px; max-width: 50ch; }
.hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: end; }
.note { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.board-msgs { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 400 clamp(26px, 5vw, 56px)/1.1 Anton, sans-serif; font-variant-numeric: tabular-nums; }
.board-msgs [data-color="red"] { color: var(--red); } .board-msgs [data-color="green"] { color: var(--green); }
.board-msgs [data-color="amber"] { color: var(--must); } .board-msgs [data-color="violet"] { color: #a78bea; }
.floors { max-width: var(--max); margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.floors-static { grid-column: 1 / -1; }
.floors-static img { border-radius: var(--r); image-rendering: pixelated; border: 1px solid var(--line); }
.floors-static figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.floor h2 { font-size: clamp(34px, 3.9vw, 62px); line-height: 1.02; margin: 0 0 12px; }
.floor p { color: #d8e0ef; margin: 0; font-size: 16px; }
.floor small { display: block; color: var(--muted); font-size: 13px; margin-top: 10px; }
.big { font: 400 clamp(38px, 4.2vw, 64px)/1.05 Anton, sans-serif; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.big.word { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .03em; }
.big.must { color: var(--must); } .big.gain { color: var(--green); } .big.vio { color: #a78bea; }

/* ------------------------------------------------------------------ abertura com movimento */
.cine-on .cine { height: 760vh; }
.cine-anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.cine-on .stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; perspective: 1500px; isolation: isolate; }
.cine-on .led { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cine-on .world { display: block; position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; transform-origin: 0 0; transform-style: preserve-3d; will-change: transform; }
.slab { position: absolute; transform-style: preserve-3d; }
.room { position: absolute; width: 245px; height: 186px; transform-style: preserve-3d; }
.face { position: absolute; backface-visibility: hidden; opacity: 0; }
.face.top { inset: 0; background-size: 1600px 900px; image-rendering: pixelated; transition: box-shadow 300ms ease; }
.face.top.smooth { image-rendering: auto; }
.face.s { left: 0; right: 0; bottom: 0; height: 100px; transform-origin: bottom; background: var(--wall, #2c3a5c); }
.face.e { top: 0; bottom: 0; right: 0; width: 100px; transform-origin: right; background: var(--wall2, #1f2c4a); }
.room.on .top { box-shadow: 0 0 0 3px var(--accent, var(--must)), 0 0 60px var(--accent, var(--must)); }
.bull { position: absolute; width: 150px; left: 150px; top: -70px; max-width: none; transform-origin: bottom center; opacity: 0; transition: opacity 240ms ease; }
.cine-on .veil { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  background: linear-gradient(90deg, #0b1530f7 0, #0b1530e0 32%, transparent 54%); }
.stage.steps .veil { opacity: 1; }
.cine-on .board-msgs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; }
.cine-on .hero { position: absolute; inset: 0; z-index: 3; max-width: none; margin: 0; padding: 0 32px 24px; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none;
  transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.cine-on .hero a { pointer-events: auto; }
.cine-on .hero.off { opacity: 0; transform: translateY(-16px); }
.cine-on .hero.off a { pointer-events: none; }
.cine-on .cap { display: block; position: absolute; left: 32px; right: 32px; top: 76px; margin: 0; font: 600 12px Poppins, sans-serif; letter-spacing: .08em; color: var(--muted); transition: opacity 240ms ease; }
.cap b { color: var(--off); font-weight: 700; }
.cap.quiet { opacity: 0; }
.cine-on .floors { display: block; position: absolute; inset: 0; z-index: 3; max-width: none; margin: 0; padding: 0; pointer-events: none; }
.cine-on .floors-static { display: none; }
.cine-on .floor { position: absolute; left: 32px; bottom: 64px; width: max(34vw, 340px); max-width: 540px; opacity: 0; transform: translateY(20px);
  transition: opacity 320ms ease, transform 420ms var(--ease-out); }
.cine-on .floor.on { opacity: 1; transform: none; }
.cine-on .rail { display: grid; gap: 8px; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity 300ms ease; }
.stage.steps .rail { opacity: 1; }
.rail i { display: block; width: 8px; height: 22px; background: var(--line); transition: background-color 240ms ease; }
.rail i.on { background: var(--must); }

/* ------------------------------------------------------------------ a taxa */
.diag { position: relative; margin-top: calc(var(--cut) * -1); padding-top: calc(clamp(84px, 10vw, 150px) + var(--cut)); }
.fee { background: var(--deep); z-index: 2; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); overflow-x: clip; padding-bottom: clamp(70px, 8vw, 120px); }
.fee .num { font: 400 min(27vw, 396px)/.95 Anton, sans-serif; color: var(--alert); margin: 0 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee h2 em { color: var(--alert); }
.fee .sub { font-size: 19px; color: #d8e0ef; }

/* ------------------------------------------------------------------ vídeo */
.video { background: var(--nav); }
.reel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.reel > * { min-width: 0; }
.reel .head { margin: 0; }
.reel h2 { font-size: clamp(40px, 4.8vw, 76px); }
.phone-wrap { perspective: 1400px; justify-self: center; position: relative; padding-bottom: 52px; }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #2c3a5c, #0a1228);
  box-shadow: 0 0 0 1px #3a4a78, 22px 34px 0 var(--deep); transform-style: preserve-3d;
  transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 5deg)); transition: transform 700ms var(--ease-out); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; display: block; background: #000; }
.phone video::cue { font: 600 15px/1.35 Poppins, sans-serif; background: #000c; color: #fff; }
.phone .glare { position: absolute; inset: 10px; border-radius: 33px; background: linear-gradient(115deg, #ffffff14, transparent 40%); pointer-events: none; }
.sound { display: none; position: absolute; top: calc(100% + 16px); left: 50%; translate: -50% 0; font: 500 12px Pixel, sans-serif; letter-spacing: .06em; background: var(--deep); border: 1px solid var(--line);
  border-radius: var(--r); padding: 7px 12px; cursor: pointer; white-space: nowrap; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.sound:active { transform: scale(.96); }
.sound[aria-pressed="true"] { border-color: var(--must); }
.js .sound { display: block; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; }
.beat { display: block; width: 100%; text-align: left; background: none; border: 0; border-left: 2px solid var(--line); padding: 10px 0 10px 18px; cursor: pointer;
  transition: opacity 300ms ease, border-color 300ms ease; }
.js .beat { opacity: .45; }
.js .beat.on { opacity: 1; border-left-color: var(--must); }
.beat .k { font: 700 12px Poppins, sans-serif; color: var(--must); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.beat b { display: block; font-size: 18px; line-height: 1.3; }
.beat span:last-child { display: block; color: var(--muted); font-size: 13px; }
.reel-bar { height: 3px; background: var(--line); margin-top: 16px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: var(--must); transform: scaleX(0); transform-origin: left; }

/* ------------------------------------------------------------------ paper: bloco roxo */
.paper { background: var(--sim); z-index: 3; clip-path: polygon(0 0, 100% var(--cut), 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(clamp(84px, 10vw, 150px) + var(--cut)); }
.paper h2 em { color: var(--sim-lit); }
.paper .sub, .paper .hint { color: #efe9fd; }
.stamp { display: inline-block; font: 500 18px Pixel, sans-serif; background: var(--off); color: var(--sim); padding: 4px 12px; transform: rotate(-2deg); margin-bottom: 18px; }
.paper-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.paper-main > * { min-width: 0; }
.paper-shot img { width: 100%; image-rendering: auto; border: 8px solid var(--off); transform: rotate(-2.4deg); box-shadow: 18px 18px 0 var(--nav); }
.paper-shot figcaption { color: #efe9fd; font-size: 14px; margin-top: 30px; }
.paper-num { border-top: 1px solid #ffffff4d; padding: 16px 0; }
.paper-num strong { display: block; font: 400 clamp(38px, 4.2vw, 62px)/1.1 Anton, sans-serif; font-variant-numeric: tabular-nums; }
.paper-num strong i { font-style: normal; color: var(--sim-lit); }
.paper-num strong em { font-style: normal; color: var(--must); }
.paper-num span { color: #efe9fd; font-size: 14px; display: block; max-width: 44ch; }
.paper-also { font: 400 clamp(26px, 2.6vw, 38px)/1.1 Anton, sans-serif; text-transform: uppercase; margin: 64px 0 16px; }
.paper-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.paper-mini { background: var(--nav); border-radius: var(--r); overflow: hidden; position: relative; }
.paper-mini img { width: 100%; aspect-ratio: 62 / 49; object-fit: cover; object-position: top; }
.paper-mini b { display: block; padding: 12px 14px 0; font-size: 15px; }
.paper-mini p { margin: 0; padding: 2px 14px 14px; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ ferramentas: bloco mostarda */
.tools { background: var(--must); color: var(--nav); z-index: 4; margin-top: calc(var(--cut) * -1); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding: calc(clamp(84px, 10vw, 150px) + var(--cut)) 0; }
.tools a:not(.btn) { color: var(--nav); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.tool-grid > * { min-width: 0; }
.tool .shot { position: relative; border: 6px solid var(--nav); box-shadow: 12px 12px 0 var(--nav); margin-bottom: 34px; background: var(--nav); }
.tool .shot img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.tool h3 { font: 400 clamp(44px, 5vw, 76px)/1 Anton, sans-serif; text-transform: uppercase; margin: 0; }
.tool .pos { color: inherit; }
.tool .role { margin: 4px 0 14px; font-size: 18px; font-weight: 700; }
.tool ul { margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; }
.tool li { border-top: 1px solid #0b153033; padding: 8px 0; }
.tool code { background: var(--nav); color: var(--off); border: 0; }
.tool .pill { font-size: 10px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; background: var(--nav); color: var(--must); border-color: var(--nav); }
.tool .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tools .btn.primary { background: var(--nav); color: var(--must); }
.tools .btn.ghost { border-color: var(--nav); color: var(--nav); }
.tools :is(.btn, a):focus-visible { outline-color: var(--nav); }

/* ------------------------------------------------------------------ rodar */
.run { margin-top: calc(var(--cut) * -1); padding-top: calc(clamp(84px, 10vw, 150px) + var(--cut)); }
.runs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.runs > * { min-width: 0; }
.runs h3 { margin: 0 0 10px; font-size: 18px; }
pre { position: relative; margin: 0; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font: 500 14px/1.75 ui-monospace, Consolas, monospace; color: #cfd9ec; }
pre .c { color: var(--muted); }
pre .ln { display: inline-block; }
pre .cmd::before { content: "$ "; color: var(--must); }
.caret { display: inline-block; width: .42em; height: .78em; margin-left: .12em; vertical-align: -.04em; background: var(--must); }
.copy { position: absolute; top: 10px; right: 10px; font: 500 11px Pixel, sans-serif; letter-spacing: .08em; color: var(--muted); background: var(--lift); border: 1px solid var(--line);
  border-radius: var(--r); padding: 3px 9px; cursor: pointer; transition: color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.copy:active { transform: scale(.95); }
.copy.done { color: var(--must); border-color: var(--must); }

/* ------------------------------------------------------------------ princípios: lista grande */
.rules { padding-top: 0; }
.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: baseline; border-top: 1px solid var(--line); padding: 22px 0; }
.rule-list b { font: 400 clamp(28px, 3.4vw, 50px)/1.1 Anton, sans-serif; text-transform: uppercase; }
.rule-list p { margin: 0; color: var(--muted); font-size: 17px; max-width: 54ch; }

/* ------------------------------------------------------------------ roteiro */
.road-sec { padding-top: 0; }
.road { --done: 76%; list-style: none; padding: 0 0 0 28px; margin: 0; display: grid; gap: 2px; position: relative; }
.road::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--must) 0 var(--done), var(--line) var(--done)); }
.road li { position: relative; display: flex; gap: 14px; align-items: baseline; padding: 10px 0; }
.road li::before { content: ""; position: absolute; left: -26px; top: 18px; width: 10px; height: 10px; background: var(--line); }
.road li:has(.done)::before, .road li:has(.next)::before { background: var(--must); }
.road .st { font-family: Pixel, sans-serif; font-size: 12px; letter-spacing: .08em; white-space: nowrap; flex-shrink: 0; min-width: 88px; }
.road .done { color: var(--muted); } .road .next { color: var(--must); } .road .later { color: var(--muted); }
.road li:has(.later) > span:last-child { color: var(--muted); }
.road .next::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; background: var(--must); }

/* ------------------------------------------------------------------ apoio e rodapé */
#apoio, #support { padding-top: 0; }
.support { background: var(--lift); border-radius: var(--r); padding: 30px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.support p { margin: 0; color: var(--muted); }
.support-text { flex: 1; min-width: 220px; }
.support h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 60px); }
.mascot-peek { height: 112px; width: auto; align-self: flex-end; margin: -12px 0 -30px; }
.mascot-side { float: right; height: 84px; width: auto; margin: 0 0 8px 16px; }
.donate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.donate > * { min-width: 0; }
.addr { position: relative; background: var(--lift); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.addr p { margin: 0; color: var(--muted); font-size: 14px; }
.addr .copy { top: 18px; right: 18px; background: var(--nav); }
code.sel { display: block; width: 100%; font-size: 14px; padding: 10px 12px; word-break: break-all; user-select: all; color: var(--off); }
.follow { margin-top: 28px; }
.follow h3 { margin: 0 0 2px; font-size: 18px; }
.follow p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
/* redes da bitcoin100treta: ícones Simple Icons (CC0) embutidos, na cor do texto */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r); color: var(--off); text-decoration: none; font-size: 14px; background: var(--lift); transition: color 160ms ease, border-color 160ms ease; }
.social svg, .social-mini svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.social a:hover, .social a:focus-visible, .social-mini a:hover, .social-mini a:focus-visible { color: var(--must); border-color: var(--must); }
.social a:focus-visible, .social-mini a:focus-visible { outline: 2px solid var(--must); outline-offset: 3px; }
.social-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.social-mini a { display: inline-flex; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); transition: color 160ms ease, border-color 160ms ease; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 10px; }
footer .warn { color: var(--off); }

/* ------------------------------------------------------------------ telas menores */
@media (max-width: 1100px) {
  .reel { grid-template-columns: auto minmax(0, 1fr); }
  .reel .head { grid-column: 1 / -1; }
  .phone { width: 260px; }
}
@media (max-width: 900px) {
  .tool-grid, .runs, .donate, .paper-main, .hero-grid, .floors { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 11.4vw; }
  .hero-grid { gap: 14px; }
  .paper-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 960px) {
  .links { display: none; }
  .nav .lang { margin-left: auto; }
}
@media (max-width: 899px) {
  .cine-on .cine { height: 640vh; }
  .cine-on .veil { background: linear-gradient(0deg, #0b1530f7 0, #0b1530e0 42%, transparent 66%); }
  .cine-on .floor { left: 16px; right: 16px; bottom: 20px; width: auto; max-width: none; }
  .cine-on .floor h2 { font-size: clamp(30px, 9vw, 44px); }
  .cine-on .floor p { font-size: 14px; line-height: 1.5; }
  .cine-on .floor .big { font-size: 34px; margin-bottom: 4px; }
  .cine-on .floor .big.word { font-size: 22px; }
  .cine-on .rail { display: none; }
  .cine-on .hero { padding: 0 16px 16px; }
  .cine-on .cap { left: 16px; right: 16px; top: 72px; font-size: 11px; }
  .cine-on .lead { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
  .cine-on .eyebrow { margin-bottom: 6px; font-size: 12px; }
  .cine-on .note { font-size: 11px; margin-top: 10px; }
}
@media (max-width: 640px) {
  .wrap, .nav .wrap { padding: 0 16px; }
  .brand { font-size: 17px; }
  .fee .num { font-size: 29vw; }
  .hero { padding: 88px 16px 28px; }
  .floors { padding: 40px 16px 28px; }
  .reel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .phone { width: min(250px, 70vw); box-shadow: 0 0 0 1px #3a4a78, 12px 18px 0 var(--deep); }
  .paper-shot img { box-shadow: 10px 10px 0 var(--nav); border-width: 5px; }
  .tool .shot { box-shadow: 8px 8px 0 var(--nav); }
  .mascot-peek { display: none; }
  .mascot-side { height: 64px; }
  .road li { flex-direction: column; gap: 0; }
  .road .st { min-width: 0; }
}

/* ------------------------------------------------------------------ Movimento
   Curvas e durações da skill animate (Emil Kowalski): só transform/opacity/clip-path, ease-out forte.
   Os aparecimentos seguem a própria rolagem; navegador sem suporte mostra tudo direto. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { clip-path: inset(0 0 100% 0); transform: translateY(24%); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes slam { from { opacity: 0; transform: translateY(10%) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .25; } }

/* imagens que inclinam em 3D sob o mouse (o script define --tx/--ty); um brilho segue o cursor */
[data-tilt] { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 500ms var(--ease-out); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), #ffffff14, transparent 60%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn.ghost:hover { border-color: var(--must); }
  .tools .btn.ghost:hover { background: var(--nav); color: var(--must); }
  [data-tilt]:hover { transition: transform 120ms linear; }
  [data-tilt]:hover::after { opacity: 1; }
  .beat:hover { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  h1 span { animation: line-in 800ms var(--ease-out) both; }
  h1 .m { animation-delay: 80ms; }
  .eyebrow { animation: rise 600ms var(--ease-out) 120ms both; }
  .lead { animation: rise 600ms var(--ease-out) 200ms both; }
  .hero .cta { animation: rise 600ms var(--ease-out) 260ms both; }
  .note { animation: rise 600ms var(--ease-out) 320ms both; }
  .caret { animation: blink 1.1s steps(1) 1.2s infinite; }
  .road .next::before { animation: pulse 1.6s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .block .head, .fee .sub, .fee h2, .paper-main > *, .paper-strip > *, .tool, .runs > *, .rule-list > li, .donate > *, .support, .follow, .beats > li {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 50%;
    }
    .fee .num { animation: slam linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
    .road > li { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    /* os comandos são digitados linha a linha enquanto o terminal sobe na tela */
    .runs pre { view-timeline: --term block; }
    .runs pre .ln { animation: type steps(18, end) both; animation-timeline: --term; }
    .runs pre .ln:nth-child(1) { animation-range: cover 6% cover 13%; }
    .runs pre .ln:nth-child(2) { animation-range: cover 13% cover 18%; }
    .runs pre .ln:nth-child(3) { animation-range: cover 18% cover 23%; }
    .runs pre .ln:nth-child(4) { animation-range: cover 23% cover 28%; }
    .runs pre .ln:nth-child(5) { animation-range: cover 28% cover 35%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-tilt] { transform: none; transition: none; }
  .phone { transform: none; transition: none; }
}
