/* 040 · páginas públicas (/go, /go-play, /go-pro) — base comum.
   Tokens = src/theme/tweakcn.ts (escuro e claro). Peças de UI imitam o app de verdade. */
@font-face { font-family: "GeistRoundedByNortics-Regular"; src: url("/fonts/GeistRoundedByNortics-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GeistSharpByNortics-SemiLight"; src: url("/fonts/GeistSharpByNortics-SemiLight.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GeistSharpByNortics-Regular"; src: url("/fonts/GeistSharpByNortics-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GeistRoundedMonoByNortics-Regular"; src: url("/fonts/GeistRoundedMonoByNortics-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #050f0b;
  --bg-2: #07150f;
  --bg-raise: #091a13;
  --fg: #eef2ea;
  --fg-soft: rgba(238, 242, 234, 0.76);
  --muted-fg: #9db3a7;
  --card: #0c2219;
  --card-2: #10291f;
  --card-3: #143226;
  --border: #1d3a2d;
  --line: rgba(238, 242, 234, 0.08);
  --primary: #d8f03c;
  --primary-fg: #0b2b20;
  --glow: rgba(216, 240, 60, 0.16);
  --glow-strong: rgba(216, 240, 60, 0.32);
  --danger: #f0484e;
  --gold: #f2c94c;
  --silver: #c9d1d6;
  --bronze: #d08a4e;
  --padel: #5aaeff;
  --beach: #ffa24a;
  --pickle: #b795ff;
  --scrim: linear-gradient(180deg, rgba(5, 15, 11, 0) 0%, rgba(5, 15, 11, 0.55) 55%, rgba(5, 15, 11, 0.96) 100%);
  --veil-side: linear-gradient(90deg, rgba(5, 15, 11, 0.94) 0%, rgba(5, 15, 11, 0.7) 40%, rgba(5, 15, 11, 0) 75%);
  --shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 24px 60px -30px rgba(0, 0, 0, 0.65);
  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 29px;
  --font-title: "GeistRoundedByNortics-Regular", ui-rounded, system-ui, sans-serif;
  --font-body: "GeistSharpByNortics-SemiLight", system-ui, sans-serif;
  --font-strong: "GeistSharpByNortics-Regular", system-ui, sans-serif;
  --font-mono: "GeistRoundedMonoByNortics-Regular", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 68px;
  --maxw: 1280px;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #edf1e8;
  --bg-2: #e8ede2;
  --bg-raise: #e3e9dc;
  --fg: #0b2b20;
  --fg-soft: rgba(11, 43, 32, 0.78);
  --muted-fg: #4b6155;
  --card: #ffffff;
  --card-2: #f6f8f3;
  --card-3: #eef2ea;
  --border: #cad6cb;
  --line: rgba(11, 43, 32, 0.09);
  --primary: #536c08;
  --primary-fg: #ffffff;
  --glow: rgba(83, 108, 8, 0.12);
  --glow-strong: rgba(83, 108, 8, 0.24);
  --gold: #a97d10;
  --silver: #6f7c85;
  --bronze: #9a5a24;
  --padel: #1d6fd1;
  --beach: #a8560c;
  --pickle: #7a4fd6;
  --scrim: linear-gradient(180deg, rgba(237, 241, 232, 0) 0%, rgba(237, 241, 232, 0.6) 55%, rgba(237, 241, 232, 0.97) 100%);
  --veil-side: linear-gradient(90deg, rgba(237, 241, 232, 0.96) 0%, rgba(237, 241, 232, 0.72) 42%, rgba(237, 241, 232, 0) 78%);
  --shadow: 0 40px 100px -50px rgba(11, 43, 32, 0.45);
  --shadow-soft: 0 24px 60px -34px rgba(11, 43, 32, 0.35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Regra do app: cursor sempre seta (o hover diz o que é clicável). */
html, body, *, *::before, *::after { cursor: default; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
::selection { background: #d8f03c; color: #0b2b20; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 9px; corner-shape: squircle; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; corner-shape: round; background: var(--primary); color: var(--primary-fg); font-family: var(--font-strong); transition: top 0.2s; }
.skip:focus { top: 12px; }
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-theme="light"] .grain { opacity: 0.03; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nowrap { white-space: nowrap; }
.theme-light-only, [data-theme="light"] .theme-dark-only { display: none; }
[data-theme="light"] .theme-light-only { display: revert; }

/* ---------- Tipografia ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; corner-shape: round; background: currentColor; box-shadow: 0 0 0 4px var(--glow); }
/* Máscara do SplitText: folga para descendentes (j, g) e acentos (É, Á) não serem cortados. */
.go-mask { padding: 0.12em 0.04em 0.2em; margin: -0.12em -0.04em -0.2em; }
.display { font-family: var(--font-title); font-weight: 400; font-size: clamp(48px, 8.4vw, 132px); line-height: 0.94; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(36px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; color: var(--fg-soft); max-width: 56ch; }
.accent { color: var(--primary); }
.mono { font-family: var(--font-mono); }
.line-mask > * { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* ---------- Botões (pílula; ícone à direita) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; corner-shape: round; font-family: var(--font-strong); font-size: 15px; line-height: 1; white-space: nowrap; transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.btn .i { width: 18px; height: 18px; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 12px 32px -14px var(--glow-strong); }
.btn--primary:hover { box-shadow: 0 18px 44px -14px var(--primary); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); background: color-mix(in srgb, var(--bg) 40%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--primary); background: var(--glow); }
.btn--board { background: #0b2b20; color: #d8f03c; border: 1px solid rgba(216, 240, 60, 0.45); }
.btn--board:hover { background: #0f3a2a; border-color: #d8f03c; box-shadow: 0 14px 40px -16px rgba(216, 240, 60, 0.6); }
.magnetic { transition-property: background-color, color, border-color, box-shadow; will-change: transform; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; corner-shape: round; display: inline-grid; place-items: center; border: 1px solid var(--border); transition: border-color 0.18s, background-color 0.18s; }
.icon-btn:hover { border-color: var(--primary); background: var(--glow); }
[data-theme="dark"] .i--moon, [data-theme="light"] .i--sun { display: none; }

/* ---------- Topo ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 16px; }
.nav__brand { display: flex; align-items: center; flex: none; }
.logo { height: 34px; width: auto; }
[data-theme="dark"] .logo--light, [data-theme="light"] .logo--dark { display: none; }
.audience { display: none; padding: 3px; border: 1px solid var(--border); border-radius: 999px; corner-shape: round; margin-left: 8px; }
.audience a { height: 32px; padding: 0 14px; border-radius: 999px; corner-shape: round; display: inline-flex; align-items: center; font-family: var(--font-strong); font-size: 14px; color: var(--fg-soft); transition: color 0.18s, background-color 0.18s; }
.audience a:hover { color: var(--fg); }
.audience a[aria-current="page"] { background: var(--glow); color: var(--fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__login { display: none; padding: 8px 12px; font-family: var(--font-strong); font-size: 15px; border-radius: 999px; corner-shape: round; transition: background-color 0.18s; }
.nav__login:hover { background: var(--glow); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; corner-shape: round; }
.lang__btn { height: 30px; min-width: 34px; padding: 0 8px; border-radius: 999px; corner-shape: round; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; color: var(--fg-soft); transition: background-color 0.18s, color 0.18s; }
.lang__btn:hover { color: var(--fg); }
.lang__btn[aria-pressed="true"] { background: var(--primary); color: var(--primary-fg); }
@media (min-width: 640px) { .nav__login { display: inline-flex; } }
@media (min-width: 1000px) { .audience { display: inline-flex; } }
@media (max-width: 420px) {
  .nav .btn--sm { display: none; }
  .nav .nav__open { display: inline-flex; padding: 0 12px; }
  .nav__inner, .nav__actions { gap: 8px; }
  .lang__btn { min-width: 30px; padding: 0 6px; }
}
@media (pointer: coarse) {
  .lang__btn { height: 44px; min-width: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .btn--sm { height: 44px; }
  .nav__login { min-height: 44px; display: inline-flex; align-items: center; }
  .nav__brand { min-height: 44px; display: flex; align-items: center; }
}
/* Celular estreito com toque: 3 idiomas de 44 + tema + "Abrir o app" passavam
   de 360 px e cortavam o botão. Idiomas mais estreitos (44 de altura mantida). */
@media (pointer: coarse) and (max-width: 420px) {
  .lang__btn { min-width: 34px; padding: 0 4px; }
  .nav__inner, .nav__actions { gap: 6px; }
}

/* ---------- Placar (marca) ---------- */
.board { display: inline-flex; align-items: stretch; gap: 0; border-radius: 16px; corner-shape: squircle; background: linear-gradient(180deg, #0d2a1f, #071710); border: 1px solid #1e4a38; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(238, 242, 234, 0.06); color: #eef2ea; overflow: hidden; }
.board__side { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px 18px; min-width: 96px; }
.board__side + .board__side { border-left: 1px solid rgba(238, 242, 234, 0.08); }
.board__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(238, 242, 234, 0.6); white-space: nowrap; }
.board__digits { display: flex; gap: 4px; }
.digit { position: relative; width: 0.72em; height: 1.08em; border-radius: 0.126em; corner-shape: squircle; background: linear-gradient(180deg, #102f23 0 49.4%, #0b241a 50.6% 100%); display: grid; place-items: center; font-family: var(--font-mono); font-size: 44px; line-height: 1; color: #d8f03c; text-shadow: 0 0 18px rgba(216, 240, 60, 0.55); box-shadow: inset 0 0 0 1px rgba(238, 242, 234, 0.05); overflow: hidden; perspective: 300px; }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.45); }
.digit span { display: block; will-change: transform; }
.digit--word { width: auto; padding: 0 0.22em; font-size: 30px; letter-spacing: 1px; }
.board--xl .digit { font-size: clamp(54px, 9vw, 112px); }
.board--xl .digit--word { font-size: clamp(34px, 5.6vw, 72px); }
.board--xl .board__side { padding: clamp(14px, 2vw, 26px) clamp(16px, 2.4vw, 32px); min-width: 0; }
.board--xl .board__label { font-size: clamp(10px, 1vw, 12px); }
.board__ball { width: 14px; height: 14px; border-radius: 50%; corner-shape: round; background: radial-gradient(circle at 35% 35%, #f2ff8a, #c9e021 60%, #93a90f); box-shadow: 0 0 12px rgba(216, 240, 60, 0.6); }

/* ---------- Avatares e selos ---------- */
.av { width: 36px; height: 36px; border-radius: 50%; corner-shape: round; overflow: hidden; flex: none; background: var(--card-3); border: 2px solid var(--card); position: relative; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av--sm { width: 28px; height: 28px; }
.av--lg { width: 52px; height: 52px; }
.av--xl { width: 84px; height: 84px; }
.av-stack { display: flex; }
.av-stack .av + .av { margin-left: -10px; }
.av-more { width: 28px; height: 28px; border-radius: 50%; corner-shape: round; display: grid; place-items: center; background: var(--card-3); border: 2px solid var(--card); font-family: var(--font-mono); font-size: 10px; color: var(--fg-soft); margin-left: -10px; }
.chip { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; corner-shape: round; border: 1px solid var(--border); font-family: var(--font-strong); font-size: 12px; color: var(--fg-soft); white-space: nowrap; background: color-mix(in srgb, var(--card) 70%, transparent); }
.chip .i { width: 13px; height: 13px; }
.chip--on { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.chip--line { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); color: var(--primary); background: var(--glow); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 5px; corner-shape: squircle; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.6px; text-transform: uppercase; background: var(--glow); color: var(--primary); white-space: nowrap; }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; corner-shape: round; background: var(--danger); box-shadow: 0 0 0 3px rgba(240, 72, 78, 0.25); }
.badge--gold { background: rgba(242, 201, 76, 0.16); color: var(--gold); }

/* ---------- Cartões do app (mesma cara das telas) ---------- */
.panel { position: relative; border-radius: var(--r-lg); corner-shape: squircle; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-soft); overflow: hidden; }
.panel--glass { background: color-mix(in srgb, var(--card) 78%, transparent); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 0; }
.panel__kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.panel__body { padding: 14px 16px 16px; }
.hud-num { font-family: var(--font-mono); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.stat { display: grid; justify-items: center; gap: 6px; }
.stat__n { font-family: var(--font-mono); font-size: 30px; line-height: 1; }
.stat__l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-fg); }
.form { display: flex; gap: 6px; }
.form b { width: 24px; height: 24px; border-radius: 6px; corner-shape: squircle; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 400; font-size: 11px; }
.form .w { background: var(--primary); color: var(--primary-fg); }
.form .l { border: 1px solid var(--danger); color: var(--danger); }
.bar { height: 6px; border-radius: 99px; corner-shape: round; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 70%, #000), var(--primary)); transform-origin: left; }

/* Moldura de celular */
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 41px; corner-shape: squircle; padding: 11px; background: linear-gradient(160deg, #24453a, #07150f 55%); border: 1px solid #2d5243; box-shadow: var(--shadow), inset 0 0 0 1px rgba(238, 242, 234, 0.06); }
.phone__screen { position: relative; height: 100%; border-radius: 32px; corner-shape: squircle; overflow: hidden; background: #050f0b; color: #eef2ea; isolation: isolate; }
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 88px; height: 24px; border-radius: 999px; corner-shape: round; background: #020806; z-index: 5; }
.phone video, .phone .phone__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Celular da capa (11/11): sem vídeo, três fotos que se revezam e andam no quadro. */
.phone__slides { overflow: hidden; }
.phone__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide-turn 18s linear infinite, kb-a 9s ease-in-out infinite alternate; will-change: opacity, transform; }
.phone__slides img:nth-child(2) { animation-delay: -12s, -3s; }
.phone__slides img:nth-child(3) { animation-delay: -6s, -6s; }
@keyframes slide-turn { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.is-paused .phone__slides img { animation-play-state: paused; }

/* Foto com véu por tema (regra do app: claro = véu bege; escuro = scrim verde) */
.photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.photo--side::after { background: var(--veil-side); }

/* Foto em movimento (11/11, André: "a imagem se movimenta dentro do frame"):
   zoom e deriva lentos, ida e volta. Sem vídeo; o filtro 040 já vem na foto. */
@keyframes kb-a { from { transform: scale(1.06) translate3d(-1.5%, 1%, 0); } to { transform: scale(1.15) translate3d(1.5%, -1.2%, 0); } }
@keyframes kb-b { from { transform: scale(1.15) translate3d(1.4%, -0.8%, 0); } to { transform: scale(1.06) translate3d(-1.4%, 1%, 0); } }
@keyframes kb-c { from { transform: scale(1.08) translate3d(0, 1.8%, 0); } to { transform: scale(1.14) translate3d(0, -1.8%, 0); } }
.kb, .photo img { animation: kb-a var(--kb-dur, 26s) ease-in-out infinite alternate; transform-origin: 50% 50%; will-change: transform; }
.kb--b { animation-name: kb-b; }
.kb--c { animation-name: kb-c; }
.is-paused .kb, .is-paused .photo img { animation-play-state: paused; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section__head { display: grid; gap: 18px; max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.ghost-num { position: absolute; z-index: -1; font-family: var(--font-mono); font-size: clamp(160px, 30vw, 460px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--primary) 22%, transparent); pointer-events: none; user-select: none; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-raise); padding: 16px 0; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 46s linear infinite; font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-fg); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--primary); }
.marquee:hover .marquee__track, .is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pausar animações */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; corner-shape: round; border: 1px solid var(--border); font-family: var(--font-strong); font-size: 13px; color: var(--fg-soft); transition: border-color 0.18s, color 0.18s; background: color-mix(in srgb, var(--bg) 50%, transparent); }
.motion-toggle:hover { border-color: var(--primary); color: var(--fg); }
.motion-toggle .i { width: 16px; height: 16px; }
.motion-toggle .i--play, .is-paused .motion-toggle .i--pause { display: none; }
.is-paused .motion-toggle .i--play { display: block; }

/* Perguntas */
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; font-family: var(--font-title); font-size: clamp(19px, 2vw, 23px); line-height: 1.3; transition: color 0.18s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; content: "+" / ""; flex: none; width: 32px; height: 32px; border-radius: 50%; corner-shape: round; display: grid; place-items: center; border: 1px solid var(--border); font-family: var(--font-mono); color: var(--primary); transition: transform 0.25s, background-color 0.18s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--glow); }
.qa summary:hover { color: var(--primary); }
.qa p { padding: 0 4px 24px; color: var(--fg-soft); max-width: 62ch; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; color: var(--fg-soft); max-width: 34ch; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { color: var(--fg-soft); font-size: 15px; width: max-content; transition: color 0.18s; }
.footer nav a:hover { color: var(--primary); }
.footer__h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px 40px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted-fg); font-size: 14px; }
@media (pointer: coarse) {
  .motion-toggle { height: 44px; }
  .footer nav { gap: 0; }
  .footer nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; padding-block: 0; }
}

/* Estado inicial das animações (só com JS e sem "reduzir movimento") */
.js-anim [data-reveal] { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  /* Foto parada (sem zoom) e, no celular da capa, só a primeira foto. */
  .kb, .photo img, .phone__slides img { animation: none !important; transform: none; }
  .phone__slides img:first-child { opacity: 1; }
}

/* ================= Compartilhado pelas páginas de capítulos (/go-play, /go-pro) ================= */
/* Filme e utilitários */
.vignette { position: fixed; inset: 0; z-index: 140; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 62%, rgba(0, 0, 0, 0.32)); }
[data-theme="light"] .vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 66%, rgba(11, 43, 32, 0.1)); }
.dim { color: color-mix(in srgb, var(--fg) 52%, transparent); }
.danger { color: var(--danger); }

/* Hero (estrutura comum; o palco de cada página fica no CSS dela) */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 24px) 0 72px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow { position: absolute; width: 80vmax; height: 80vmax; right: -30vmax; top: -34vmax; border-radius: 50%; corner-shape: round; background: radial-gradient(closest-side, var(--glow-strong), transparent 70%); filter: blur(12px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.12fr 0.88fr; gap: 40px; } }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__title { margin-top: 6px; font-size: clamp(54px, 7.2vw, 112px); }
.hero__line { display: block; }
.hero__line--accent { color: var(--primary); }
.hero__lead { max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__fine { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-fg); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 999px; corner-shape: round; border: 1px solid var(--border); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.is-paused .hero__scroll span { animation-play-state: paused; }
@media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: block; } }

/* ================= CAPÍTULOS ================= */
.chapter { position: relative; isolation: isolate; overflow-x: clip; }
.chapter .ghost-num { top: 4vh; right: -2vw; }
.chapter__pin { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--nav-h) + 12px) 40px; }
.chapter__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .chapter__grid { grid-template-columns: 0.82fr 1.18fr; gap: 56px; }
  .chapter__grid--flip .chapter__copy { order: 2; }
}
.chapter__copy { display: grid; gap: 20px; align-content: center; }
.score-tag { height: 24px; padding: 0 10px; border-radius: 999px; corner-shape: round; display: inline-grid; place-items: center; background: #0b2b20; color: #d8f03c; border: 1px solid rgba(216, 240, 60, 0.4); font-size: 11px; letter-spacing: 1px; }
.chapter__title { font-size: clamp(36px, 4.6vw, 70px); }
.chapter__title > span { display: inline; }
.steps { display: grid; gap: 4px; margin-top: 6px; }
.step { display: grid; gap: 2px; padding: 12px 0 12px 18px; border-left: 2px solid var(--line); transition: border-color 0.35s, opacity 0.35s; }
.step b { font-family: var(--font-strong); font-weight: 400; font-size: 17px; color: var(--fg); }
.step span { font-size: 15px; color: var(--muted-fg); line-height: 1.45; }
.kill { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.kill s { color: var(--muted-fg); text-decoration-thickness: 1.5px; text-decoration-color: var(--danger); }
.chapter__stage { position: relative; height: clamp(520px, 70vh, 640px); perspective: 2200px; }
.cam { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.shot { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; }
.touch { position: absolute; left: 0; top: 0; z-index: 30; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; corner-shape: round; background: rgba(238, 242, 234, 0.32); border: 2px solid rgba(238, 242, 234, 0.9); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); opacity: 0; pointer-events: none; }
.touch i { position: absolute; inset: -2px; border-radius: 50%; corner-shape: round; border: 2px solid #d8f03c; opacity: 0; transform: scale(0.3); }
[data-theme="light"] .touch { background: rgba(11, 43, 32, 0.18); border-color: rgba(11, 43, 32, 0.7); }

/* Desktop com pin: passos ativos; sem pin (celular): tudo empilhado e legível */
@media (min-width: 1024px) {
  .js-anim .chapter .step { opacity: 0.5; }
  .js-anim .chapter .step.is-active { opacity: 1; border-left-color: var(--primary); }
}
@media (max-width: 1023px) {
  .chapter__pin { min-height: 0; padding-block: clamp(64px, 12vw, 96px) 24px; }
  .chapter .ghost-num { top: 0; font-size: clamp(120px, 34vw, 220px); }
  .chapter__stage { height: auto; perspective: none; }
  .cam { position: relative; display: grid; gap: 28px; }
  .shot { position: relative; inset: auto; min-height: 0; }
  .touch { display: none; }
  .step { border-left-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
}

/* Micro telas reaproveitadas (botão de tela, toast, mapa, horários, chat, convite) */
.toast { position: absolute; top: 2%; left: 50%; translate: -50% 0; z-index: 6; padding: 9px 16px; border-radius: 999px; corner-shape: round; background: var(--primary); color: var(--primary-fg); font-family: var(--font-strong); font-size: 13px; white-space: nowrap; opacity: 0; box-shadow: 0 14px 40px -14px var(--glow-strong); }
.mapcard { width: min(500px, 100%); }
.mapcard__map { position: relative; height: 330px; background: radial-gradient(90% 80% at 50% 60%, rgba(216, 240, 60, 0.1), transparent 65%), #0b2b20; overflow: hidden; }
[data-theme="light"] .mapcard__map { background: radial-gradient(90% 80% at 50% 60%, rgba(83, 108, 8, 0.12), transparent 65%), #dfe7d8; }
.mapcard__streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__streets path { fill: none; stroke: rgba(238, 242, 234, 0.08); stroke-width: 7; }
[data-theme="light"] .mapcard__streets path { stroke: rgba(11, 43, 32, 0.08); }
.mapcard__streets .route { stroke: #d8f03c; stroke-width: 2.5; stroke-dasharray: 5 7; stroke-linecap: round; }
[data-theme="light"] .mapcard__streets .route { stroke: #536c08; }
.radius { position: absolute; left: 49%; top: 59%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%; corner-shape: round; border: 1.5px dashed color-mix(in srgb, var(--primary) 60%, transparent); background: radial-gradient(closest-side, var(--glow), transparent); }
.pin { position: absolute; translate: -50% -50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; }
.pin--me { width: 16px; height: 16px; border-radius: 50%; corner-shape: round; background: var(--primary); box-shadow: 0 0 0 6px var(--glow-strong), 0 0 0 14px var(--glow); }
.pin--av { width: 40px; height: 40px; border-radius: 50%; corner-shape: round; overflow: hidden; border: 2px solid #d8f03c; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.6); }
.pin--av img { width: 100%; height: 100%; object-fit: cover; }
.pin--group, .pin--court, .pin--prof { width: 34px; height: 34px; border-radius: 50%; corner-shape: round; color: #0b2b20; border: 2px solid #0b2b20; }
.pin--group { background: var(--beach); }
.pin--court { background: #d8f03c; border-radius: 9px; corner-shape: squircle; }
.pin--prof { background: var(--pickle); }
.pin .i { width: 16px; height: 16px; stroke-width: 1.8; }
.mappop { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; border-radius: 14px; corner-shape: squircle; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); white-space: nowrap; }
.mappop::after { content: ""; position: absolute; right: 28px; bottom: -6px; width: 12px; height: 12px; rotate: 45deg; background: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mappop__n { font-family: var(--font-strong); font-size: 13px; line-height: 1.2; }
.mappop__m { font-size: 11px; color: var(--muted-fg); line-height: 1.3; }
.mappop__btn { margin-left: 4px; padding: 6px 12px; border-radius: 999px; corner-shape: round; background: #d8f03c; color: #0b2b20; font-family: var(--font-strong); font-size: 12px; }
.mapcard__bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 0; }
.mapcard__note { padding: 10px 14px 14px; font-size: 14px; color: var(--fg-soft); }
.mapcard__note b { color: var(--primary); font-weight: 400; }
.chat { width: min(420px, 100%); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__name { font-family: var(--font-strong); font-size: 15px; }
.chat__status { font-size: 12px; color: var(--primary); }
.chat__feed { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-height: 320px; justify-content: flex-end; }
@media (max-width: 1023px) { .chat__feed { min-height: 0; } }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; corner-shape: squircle; font-size: 14px; line-height: 1.4; }
.bubble--in { align-self: flex-start; background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--primary); color: var(--primary-fg); border-bottom-right-radius: 6px; }
.propose { position: relative; align-self: flex-end; width: 90%; padding: 14px; border-radius: 18px; corner-shape: squircle; background: var(--card-2); border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border)); display: grid; gap: 10px; overflow: hidden; }
.propose__kicker { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); }
.propose__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.propose__actions { display: flex; gap: 8px; justify-content: flex-end; }
.btnlike { height: 34px; padding: 0 14px; border-radius: 999px; corner-shape: round; display: inline-flex; align-items: center; font-family: var(--font-strong); font-size: 13px; white-space: nowrap; }
.btnlike--primary { background: var(--primary); color: var(--primary-fg); }
.btnlike--ghost { border: 1px solid var(--border); color: var(--fg-soft); }
.propose__done { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 34px; border-radius: 999px; corner-shape: round; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--primary); color: var(--primary-fg); font-family: var(--font-strong); font-size: 13px; opacity: 0; }
.propose__done .i { width: 16px; height: 16px; stroke-width: 2.2; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 36px; display: grid; place-items: center; border-radius: 9px; corner-shape: squircle; border: 1px solid var(--border); font-family: var(--font-mono); font-size: 12px; color: var(--fg-soft); }
.slot--off { opacity: 0.35; text-decoration: line-through; }
.slot--pick { --pick: 1; position: relative; overflow: hidden; isolation: isolate; color: color-mix(in srgb, var(--primary-fg) calc(var(--pick) * 100%), var(--fg-soft)); border-color: color-mix(in srgb, var(--primary) calc(var(--pick) * 100%), var(--border)); }
.slot--pick::after { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: var(--pick, 0); z-index: -1; }

/* Dúvidas e fechamento com foto */
.faq__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq__inner { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.final { position: relative; min-height: min(92vh, 880px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.final .photo img { object-position: 60% 50%; }
.final__inner { padding-block: 140px 96px; display: grid; gap: 22px; justify-items: start; }
.final__title { max-width: 13ch; }
.final__lead { font-size: clamp(18px, 2vw, 24px); color: var(--fg); }
.av--xs { width: 22px; height: 22px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; line-height: 1; }
