/* CursorDodge — landing page
   Paleta tirada do jogo (GameConfig.swift → Neon, tema Synthwave). */
:root {
  --magenta: #ff2bd6;
  --cyan: #00f0ff;
  --yellow: #ffe61a;
  --orange: #ff7a00;
  --lime: #7dff1a;
  --purple: #a854ff;
  --pink: #ff3b6b;
  --floor: #0b0018;
  --sky-1: #6b0573;
  --sky-2: #29004d;
  --sky-3: #050012;
  --text: #f4ecff;
  --muted: #b9a8d6;
  --card: rgba(30, 6, 58, 0.55);
  --line: rgba(255, 43, 214, 0.35);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--sky-3);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 0, 18, 0.6);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 14px rgba(0, 240, 255, .45); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--cyan); }
@media (max-width: 720px) { .nav-links a:not(.keep) { display: none; } }

/* ---------- Títulos neon (como o banner de fase) ---------- */
.neon-title {
  font-weight: 900; font-style: italic; letter-spacing: .01em; line-height: 1.02;
  background: linear-gradient(180deg, var(--yellow) 10%, var(--magenta) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 43, 214, .55)) drop-shadow(0 0 28px rgba(255, 43, 214, .35));
  margin: 0;
}
.eyebrow {
  display: inline-block; font-weight: 900; font-size: .8rem; letter-spacing: .22em;
  color: var(--cyan); text-shadow: 0 0 10px rgba(0, 240, 255, .7); margin-bottom: 10px;
}
h2.neon-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }

/* ---------- Hero com céu synthwave ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 92vh; padding: 70px 0 0;
  background: linear-gradient(180deg, var(--sky-3) 0%, var(--sky-2) 42%, var(--sky-1) 62%, var(--floor) 62.2%);
}
.stars { position: absolute; inset: 0 0 40% 0; z-index: -2;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8, transparent 60%),
    radial-gradient(1px 1px at 32% 8%, #fff9, transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 22%, #fffa, transparent 60%),
    radial-gradient(1px 1px at 78% 12%, #fff8, transparent 60%),
    radial-gradient(1px 1px at 90% 30%, #fff7, transparent 60%),
    radial-gradient(1px 1px at 45% 35%, #fff6, transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 40%, #fff7, transparent 60%),
    radial-gradient(1px 1px at 68% 40%, #fff6, transparent 60%);
}
.sun-wrap { position: absolute; z-index: -1; inset: 0 0 38% 0; overflow: hidden; }
.sun {
  position: absolute; left: 72%; bottom: 0;
  width: min(520px, 80vw); aspect-ratio: 1; transform: translate(-50%, 38%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe14d 0%, #ff7350 50%, #ff2a8c 100%);
  box-shadow: 0 0 80px rgba(255, 42, 140, .55), 0 0 160px rgba(255, 115, 80, .25);
  -webkit-mask: linear-gradient(180deg, #000 0 45%, transparent 45% 47%, #000 47% 53%, transparent 53% 56%, #000 56% 61%, transparent 61% 65%, #000 65% 69%, transparent 69% 74%, #000 74% 77%, transparent 77% 83%, #000 83%);
          mask: linear-gradient(180deg, #000 0 45%, transparent 45% 47%, #000 47% 53%, transparent 53% 56%, #000 56% 61%, transparent 61% 65%, #000 65% 69%, transparent 69% 74%, #000 74% 77%, transparent 77% 83%, #000 83%);
}
@media (max-width: 900px) { .sun { left: 50%; width: min(420px, 90vw); } }
.mountains {
  position: absolute; z-index: -1; left: 0; right: 0; top: calc(62% - 90px); height: 92px;
  background: #120028;
  clip-path: polygon(0 100%, 0 60%, 8% 30%, 16% 62%, 24% 20%, 33% 70%, 40% 45%, 47% 78%, 53% 78%, 60% 40%, 68% 66%, 76% 15%, 85% 58%, 92% 35%, 100% 55%, 100% 100%);
  filter: drop-shadow(0 -1px 0 var(--magenta));
}
.grid-floor {
  /* chão de grade desenhado em canvas por grid.js */
  position: absolute; z-index: -1; left: 0; bottom: 0;
  width: 100%; height: 38%; display: block; pointer-events: none;
}

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); }
.hero .tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: #fff; max-width: 520px; margin: 18px 0 28px; text-shadow: 0 2px 12px #000a; }
.hero-copy { padding-bottom: 60px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-weight: 800; font-size: .82rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, .5); color: var(--cyan); background: rgba(0, 240, 255, .07);
}

/* ---------- Botões (NeonButtonStyle) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 900; letter-spacing: .08em; font-size: 1rem;
  padding: 14px 26px; border-radius: 14px; color: #fff;
  border: 2px solid var(--cyan);
  background: rgba(0, 240, 255, .12);
  box-shadow: 0 0 14px rgba(0, 240, 255, .55), inset 0 0 14px rgba(0, 240, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(0, 240, 255, .8), inset 0 0 18px rgba(0, 240, 255, .35); }
.btn.magenta { border-color: var(--magenta); background: rgba(255, 43, 214, .14); box-shadow: 0 0 14px rgba(255, 43, 214, .6), inset 0 0 14px rgba(255, 43, 214, .25); }
.btn small { display: block; font-size: .65rem; letter-spacing: .14em; opacity: .8; font-weight: 800; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn[aria-disabled="true"] { cursor: default; }

/* ---------- Celular com print ---------- */
.phone {
  position: relative; margin: 0 auto; width: min(300px, 70vw); aspect-ratio: 9 / 19.5;
  border-radius: 44px; padding: 10px; background: #0d0d14;
  box-shadow: 0 0 0 2px #2a2440, 0 0 40px rgba(0, 240, 255, .35), 0 30px 80px #000c;
}
.phone img, .phone .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
.phone.landscape { width: min(560px, 90vw); aspect-ratio: 19.5 / 9; }
/* Dynamic Island desenhada por cima do print (medida no print do iPhone 18 Pro: 4,1% da altura,
   140:54, a 1,6% do topo). Cobre a que já vem nos prints em pé e aparece também nos que não têm
   (hero e deitados). Deitado: na lateral esquerda. */
.phone::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  left: 50%; top: calc(10px + (100% - 20px) * .0161); transform: translateX(-50%);
  height: calc((100% - 20px) * .0414); aspect-ratio: 140 / 54;
  border-radius: 999px; background: #000;
}
.phone.landscape::after {
  left: calc(10px + (100% - 20px) * .0161); top: 50%; transform: translateY(-50%);
  width: calc((100% - 20px) * .0414); height: auto; aspect-ratio: 54 / 140;
}
.hero .phone { transform: rotate(-4deg); margin-bottom: 60px; }

/* ---------- Seções ---------- */
section { position: relative; padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--floor), #12002a 50%, var(--floor)); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  box-shadow: inset 0 0 30px rgba(255, 43, 214, .06);
}
.card h3 { margin: 12px 0 6px; font-size: 1.15rem; font-weight: 900; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem;
  border: 2px solid currentColor; box-shadow: 0 0 12px currentColor, inset 0 0 10px currentColor;
}
.c-cyan { color: var(--cyan); } .c-magenta { color: var(--magenta); } .c-yellow { color: var(--yellow); }
.c-lime { color: var(--lime); } .c-orange { color: var(--orange); } .c-purple { color: var(--purple); }
.icon svg { width: 24px; height: 24px; fill: currentColor; }

/* Power-ups */
.powerups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.pu { text-align: center; padding: 22px 16px; }
.pu .disc {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid #fff;
  box-shadow: 0 0 18px currentColor; background: currentColor;
}
.pu .disc svg { width: 30px; height: 30px; fill: #fff; }
.pu h3 { color: var(--text); }

/* Galeria de prints: lista de abas (esquerda) + celular que troca de orientação (direita) */
.showcase {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px; align-items: center;
  margin-top: 56px;
}
.sc-list { display: grid; gap: 8px; }
.sc-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 10px 14px 10px 10px; text-align: left; cursor: pointer;
  font: inherit; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: 16px;
  transition: background .2s, border-color .2s, color .2s;
}
.sc-tab:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.sc-tab[aria-selected="true"] { background: var(--card); border-color: var(--line); color: var(--text); box-shadow: inset 0 0 30px rgba(255, 43, 214, .08); }
.sc-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sc-thumb {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12); opacity: .7; transition: opacity .2s, box-shadow .2s;
}
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-tab[aria-selected="true"] .sc-thumb { opacity: 1; border-color: var(--cyan); box-shadow: 0 0 12px rgba(0, 240, 255, .5); }
.sc-text b { display: block; font-weight: 900; font-size: 1rem; letter-spacing: .01em; }
.sc-text small { display: block; font-size: .86rem; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.sc-tab:not([aria-selected="true"]) .sc-text small { display: none; }
/* barra de progresso do avanço automático */
.sc-bar, .tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); }
.is-running [aria-selected="true"] .sc-bar,
.is-running [aria-selected="true"] .tab-bar { animation: cd-fill var(--autoplay) linear forwards; }
@keyframes cd-fill { to { transform: scaleX(1); } }

.sc-stage { position: relative; height: 680px; padding-bottom: 60px; display: grid; place-items: center; touch-action: pan-y; user-select: none; }
.sc-stage::before { /* brilho no chão atrás do aparelho */
  content: ""; position: absolute; inset: auto 10% 6% 10%; height: 40%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 43, 214, .28), transparent); filter: blur(10px);
}
/* baralho de celulares: o print ativo na frente, o anterior e o próximo inclinados atrás.
   O deslocamento lateral depende da orientação do print da frente (data-orient no root) e do vizinho. */
.deck-phone {
  --pw: 272px; --ph: 590px;          /* em pé */
  --lw: 540px; --lh: 249px;          /* deitado (19,5:9) */
  position: absolute; left: 50%; top: calc(50% - 30px); margin: 0;
  width: var(--pw); height: var(--ph); aspect-ratio: auto; cursor: pointer;
  transform: translate(-50%, -50%) translateX(var(--tx, 0)) translateY(var(--ty, 0)) rotate(var(--rot, 0)) scale(var(--sc, 1));
  transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .4s ease, filter .4s ease;
  filter: brightness(var(--br, 1)); opacity: var(--op, 1); z-index: var(--z, 1);
}
.deck-phone.landscape { width: var(--lw); height: var(--lh); }
.deck-phone.landscape img { border-radius: 30px; }
.deck-phone.is-active { cursor: default; }
.deck-phone:not(.is-active) { box-shadow: 0 0 0 2px #2a2440, 0 24px 60px #000c; }
.deck-phone[data-pos="0"] { --z: 4; }
.deck-phone[data-pos="next"], .deck-phone[data-pos="prev"] { --z: 3; --sc: .78; --br: .42; --ty: 2%; }
.deck-phone[data-pos="next"] { --rot: 7deg; }
.deck-phone[data-pos="prev"] { --rot: -7deg; --z: 2; }
.deck-phone[data-pos="hidden"] { --z: 1; --sc: .65; --op: 0; pointer-events: none; }
.deck-phone:not(.is-active):hover { --br: .7; }
/* frente em pé */
.deck-phone[data-pos="next"] { --tx: 130px; }
.deck-phone[data-pos="prev"] { --tx: -130px; }
.deck-phone.landscape[data-pos="next"] { --tx: 160px; }
.deck-phone.landscape[data-pos="prev"] { --tx: -160px; }
/* frente deitada */
[data-orient="landscape"] .deck-phone[data-pos="next"] { --tx: 250px; }
[data-orient="landscape"] .deck-phone[data-pos="prev"] { --tx: -250px; }
[data-orient="landscape"] .deck-phone.landscape[data-pos="next"] { --tx: 175px; }
[data-orient="landscape"] .deck-phone.landscape[data-pos="prev"] { --tx: -175px; }
#jogo { overflow-x: clip; }
.sc-controls {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 800; font-size: .9rem;
}
.sc-controls b { color: var(--text); }
.arrow {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font: inherit; font-size: 1.3rem; font-weight: 900; line-height: 1; color: var(--cyan);
  border: 1.5px solid rgba(0, 240, 255, .5); background: rgba(0, 240, 255, .08);
  transition: box-shadow .15s, transform .15s;
}
.arrow:hover { box-shadow: 0 0 14px rgba(0, 240, 255, .6); transform: translateY(-1px); }
.arrow:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .sc-stage { order: -1; height: 560px; padding-bottom: 56px; }
  .deck-phone { --pw: 228px; --ph: 494px; --lw: min(340px, 88vw); --lh: calc(min(340px, 88vw) * 9 / 19.5); }
  .deck-phone[data-pos="next"] { --tx: 100px; } .deck-phone[data-pos="prev"] { --tx: -100px; }
  .deck-phone.landscape[data-pos="next"] { --tx: 110px; } .deck-phone.landscape[data-pos="prev"] { --tx: -110px; }
  [data-orient="landscape"] .deck-phone[data-pos="next"] { --tx: 140px; }
  [data-orient="landscape"] .deck-phone[data-pos="prev"] { --tx: -140px; }
  [data-orient="landscape"] .deck-phone.landscape[data-pos="next"] { --tx: 110px; }
  [data-orient="landscape"] .deck-phone.landscape[data-pos="prev"] { --tx: -110px; }
  /* abas viram uma fileira de miniaturas + legenda da ativa */
  .sc-list { grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 420px; margin-inline: auto; width: 100%; }
  .sc-tab { flex-direction: column; padding: 6px; gap: 6px; border-radius: 14px; }
  .sc-tab .sc-text { display: none; }
  .sc-thumb { width: 100%; height: auto; aspect-ratio: 1; }
  .showcase .sc-caption { display: block; }
}
.sc-caption { display: none; text-align: center; min-height: 3.2em; }
.sc-caption p { margin: 0; }
.sc-caption b { display: block; font-weight: 900; }
.sc-caption small { color: var(--muted); font-size: .9rem; }

/* ---------- Compartilhar a run: baralho de imagens ---------- */
.share { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; margin-top: 48px; }
.share-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share-tab {
  position: relative; overflow: hidden; cursor: pointer; font: inherit; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
  font-weight: 900; font-size: .78rem; letter-spacing: .1em;
  transition: color .2s, border-color .2s, background .2s;
}
.share-tab svg { width: 22px; height: 22px; fill: currentColor; }
.share-tab small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; opacity: .75; }
.share-tab:hover { color: var(--text); }
.share-tab[aria-selected="true"] { color: var(--yellow); border-color: rgba(255, 230, 26, .6); background: rgba(255, 230, 26, .07); box-shadow: 0 0 16px rgba(255, 230, 26, .18); }
.share-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.share-panel { margin-top: 26px; min-height: 360px; }
.share-panel h3 { margin: 0 0 8px; font-size: 1.45rem; font-weight: 900; }
.share-panel > p { margin: 0; color: var(--muted); }
.share-panel[hidden] { display: none; }
.share-panel:not([hidden]) { animation: cd-in .4s ease; }
@keyframes cd-in { from { opacity: 0; transform: translateY(8px); } }
.share-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.share-notes li {
  display: flex; gap: 12px; align-items: flex-start; padding: 8px 12px; border-radius: 12px; color: var(--muted); line-height: 1.45;
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.share-notes li b { color: var(--text); }
.share-notes li.hot { background: rgba(255, 230, 26, .07); border-color: rgba(255, 230, 26, .4); }
.pin-n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: .8rem; color: #120028; background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 230, 26, .6);
}
.share-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.share-stage { position: relative; height: 700px; touch-action: pan-y; user-select: none; }
#compartilhar { overflow-x: clip; }
.deck-card {
  --cw: 340px; --ch: 604px;
  position: absolute; left: 50%; top: calc(50% - 30px); margin: 0; width: var(--cw); height: var(--ch);
  border-radius: 22px; overflow: visible; cursor: pointer;
  transform: translate(-50%, -50%) translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0)) scale(var(--sc, 1));
  transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .4s ease, filter .4s ease;
  filter: brightness(var(--br, 1)); opacity: var(--op, 1); z-index: var(--z, 1);
}
.deck-card.square { --cw: 440px; --ch: 440px; }
.deck-card > img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px #000b;
}
.deck-card.is-active { cursor: default; }
.deck-card.is-active > img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 40px rgba(255, 43, 214, .35), 0 30px 70px #000c; }
/* posições no baralho: 0 = frente, 1 = próxima (direita), 3 = anterior (esquerda), 2 = fundo */
.deck-card[data-off="0"] { --z: 4; }
.deck-card[data-off="1"] { --z: 3; --tx: 34%; --ty: 2%; --rot: 7deg; --sc: .78; --br: .45; }
.deck-card[data-off="3"] { --z: 2; --tx: -34%; --ty: 2%; --rot: -7deg; --sc: .78; --br: .45; }
.deck-card[data-off="2"] { --z: 1; --ty: -3%; --sc: .7; --br: .3; --op: .6; }
.deck-card:not(.is-active):hover { --br: .7; }

/* marcadores numerados na imagem (só na carta da frente) */
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: .8rem; color: #120028; background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(18, 0, 40, .75), 0 0 14px rgba(255, 230, 26, .8);
  opacity: 0; transition: opacity .3s .2s, transform .2s; pointer-events: none;
}
.deck-card.is-active .pin { opacity: 1; pointer-events: auto; cursor: help; }
.pin::after { /* pulso */
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--yellow);
  opacity: 0; animation: cd-pulse 2.4s ease-out infinite;
}
.pin.hot { transform: translate(-50%, -50%) scale(1.25); }
@keyframes cd-pulse { 0% { opacity: .8; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }

.share-stage .sc-controls { bottom: -6px; z-index: 6; }

@media (max-width: 900px) {
  .share { grid-template-columns: 1fr; gap: 22px; }
  .share-stage { order: -1; height: 560px; }
  .deck-card { --cw: 270px; --ch: 480px; }
  .deck-card.square { --cw: 330px; --ch: 330px; }
  .deck-card[data-off="1"] { --tx: 28%; }
  .deck-card[data-off="3"] { --tx: -28%; }
  .share-panel { min-height: 0; }
}
@media (max-width: 420px) {
  .deck-card { --cw: 240px; --ch: 427px; }
  .deck-card.square { --cw: 290px; --ch: 290px; }
  .share-tab { font-size: .68rem; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-phone, .deck-card, .share-panel:not([hidden]) { transition: none; animation: none; }
  .pin::after { animation: none; }
}

/* Temas */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.theme { position: relative; overflow: hidden; padding: 0; }
.theme .sky { aspect-ratio: 460 / 245; overflow: hidden; }
.theme .sky img { width: 100%; height: 100%; object-fit: cover; }
.theme .info { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.theme h3 { margin: 0; font-size: 1.05rem; }
.theme p { font-size: .9rem; margin-top: 2px; }
.price { font-weight: 900; color: var(--yellow); white-space: nowrap; font-size: .9rem; }

/* Lista de passos */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  font-weight: 900; font-style: italic; font-size: 2.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--cyan); text-shadow: 0 0 12px rgba(0, 240, 255, .6);
}

/* FAQ */
details { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--magenta); font-weight: 900; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

.privacy-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.privacy-teaser ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy-teaser li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.privacy-teaser li b { color: var(--text); }
.tick { color: var(--lime); font-weight: 900; text-shadow: 0 0 8px rgba(125, 255, 26, .7); }

/* Rodapé */
footer { border-top: 1px solid rgba(0, 240, 255, .2); padding: 34px 0 44px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--cyan); }
footer .legal { font-size: .78rem; opacity: .7; width: 100%; }

/* ---------- Página de documento (política) ---------- */
.doc-hero { padding: 70px 0 36px; background: linear-gradient(180deg, var(--sky-3), var(--sky-2)); border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 50px; padding: 50px 0 90px; }
.toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid rgba(255, 255, 255, .1); }
.toc a:hover { color: var(--cyan); border-color: var(--cyan); }
.doc article { max-width: 760px; }
.doc h2 { font-size: 1.45rem; font-weight: 900; margin: 46px 0 10px; color: #fff; scroll-margin-top: 90px; }
.doc h2 span { color: var(--magenta); margin-right: 8px; }
.doc h3 { font-size: 1.08rem; margin: 22px 0 6px; color: var(--cyan); }
.doc p, .doc li { color: #ddd0f2; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .93rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.doc th { color: var(--cyan); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.summary-box { border: 1px solid rgba(0, 240, 255, .4); border-radius: 16px; padding: 18px 22px; background: rgba(0, 240, 255, .05); }
.tag { display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; padding: 2px 8px; border-radius: 6px; background: rgba(255, 230, 26, .15); color: var(--yellow); vertical-align: middle; margin-left: 6px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-inner, .privacy-teaser { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { padding-bottom: 10px; text-align: center; }
  .hero .tagline { margin-inline: auto; }
  .badges, .cta-row { justify-content: center; }
  .features, .themes, .steps { grid-template-columns: 1fr 1fr; }
  .powerups { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  .features, .themes, .steps { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .brand span { display: none; } }
