:root {
  --cream: #FFF7EA;
  --paper: #FFFDF8;
  --ink: #17322B;
  --ink-2: #3E5A52;
  --ink-deep: #0F241F;
  --orange: #FF6A2B;
  --orange-d: #C2410C;
  --sky: #BFE3F2;
  --sky-2: #E4F4FB;
  --grass: #7CC46B;
  --sun: #FFC94A;
  --kraft: #D9A066;
  --display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 24px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* durante o turno a página não rola: o jogo não some da tela nem pausa sozinho */
html.is-playing-page { overflow: hidden; }
html.is-playing-page body { overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin: 0; font-variation-settings: 'opsz' 96; }
h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.15; font-variation-settings: 'opsz' 24; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-d); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--text); text-decoration: none; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background-color .2s ease, box-shadow .25s var(--ease), color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn-orange:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #22463d; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 253, 248, .72); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--paper); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(23, 50, 43, .25); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-note { font: 600 12px/1 var(--text); background: var(--ink); color: var(--cream); border-radius: 999px; padding: 5px 8px; }

.eyebrow { font: 700 13px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-light { color: var(--sun); }
@media (pointer: fine), (hover: hover) and (not (pointer: coarse)) { .only-coarse { display: none !important; } }
@media (pointer: coarse) { .only-fine { display: none !important; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut);
  transition: background-color .3s ease, box-shadow .3s ease, height .3s var(--ease), opacity .4s ease;
}
.nav.is-solid { background: rgba(255, 247, 234, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(23, 50, 43, .08); height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; color: var(--ink); }
.logo-word { font: 800 30px/1 var(--display); letter-spacing: -.05em; font-variation-settings: 'opsz' 96; margin-top: -4px; }
.logo-light { color: var(--cream); }
.logo-light .logo-mark { color: var(--cream); }
.nav-links { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 253, 248, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 15px; border-radius: 999px; transition: background-color .2s ease; }
.nav-links a:hover { background: rgba(23, 50, 43, .08); }
.nav.is-solid .nav-links { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-playing-page .nav-links, .is-playing-page .nav-cta { opacity: 0; pointer-events: none; }
.nav-links, .nav-cta { transition: opacity .4s ease; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 95% 4%, rgba(255, 236, 190, .95) 0 4%, rgba(255, 228, 170, .35) 11%, transparent 26%),
    linear-gradient(180deg, #A9DAF0 0%, #CFEAF6 46%, #F4E9D7 78%, #FCDCC0 100%);
}
/* base do herói: nuvens e planeta se dissolvem no horizonte em vez de serem cortados pela borda da seção */
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; max-height: 150px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(252, 220, 192, 0) 0%, rgba(252, 220, 192, .82) 62%, #FCDCC0 100%); transition: opacity .5s ease; }
.hero.is-playing::after { opacity: 0; }
#cena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; z-index: 0; }
.hero.is-playing #cena { touch-action: none; cursor: grab; }
.hero-fallback { display: none; }
.no-webgl #cena { display: none; }
.no-webgl .hero-fallback { display: block; position: absolute; width: min(56vw, 640px); right: 4vw; bottom: 4vh; z-index: 0; }
.no-webgl #play, .no-webgl .hero-hint { display: none; }

.hero-copy {
  position: absolute; z-index: 2; left: var(--gut); top: 50%; transform: translateY(-46%);
  width: min(560px, 44vw); transition: opacity .5s ease, transform .6s var(--ease), visibility 0s linear 0s;
}
.hero.is-playing .hero-copy, .hero.is-ended .hero-copy { opacity: 0; transform: translate(-40px, -46%); visibility: hidden; pointer-events: none; transition: opacity .35s ease, transform .5s var(--ease), visibility 0s linear .5s; }
.eyebrow-hero { color: var(--ink); background: rgba(255, 253, 248, .7); padding: 8px 14px 8px 10px; border-radius: 999px; letter-spacing: .08em; font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 43, .22); }
.hero h1 { font-size: clamp(46px, 5.8vw, 86px); line-height: .96; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--orange-d); }
.hero-sub { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-hint { margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 500; }

.live {
  position: absolute; z-index: 2; right: var(--gut); bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 253, 248, .78); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .4s ease;
}
.live b { font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9D5B; box-shadow: 0 0 0 0 rgba(46, 157, 91, .5); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 157, 91, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46, 157, 91, 0); } }
.hero.is-playing .live, .hero.is-ended .live { opacity: 0; pointer-events: none; }

/* ---------- HUD ---------- */
.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.hero.is-playing .hud { opacity: 1; visibility: visible; transition: opacity .35s ease .05s, visibility 0s; }
.hud-stats { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.stat { display: flex; align-items: baseline; gap: 10px; background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.stat b { font: 800 24px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-transform: none; min-width: 1.4ch; }
.stat-time b { min-width: 3.2ch; }
.stat.is-bump { animation: bump .45s var(--ease); }
.stat-time.is-low { background: var(--orange-d); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.hud-order {
  position: absolute; left: var(--gut); top: 100px; width: 270px; display: grid; gap: 2px;
  background: rgba(255, 253, 248, .92); border-radius: 20px; padding: 16px 18px 16px; box-shadow: 0 10px 30px rgba(23, 50, 43, .12);
}
.hud-order.is-new { animation: orderIn .6s var(--ease); }
@keyframes orderIn { 0% { transform: translateX(-24px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.order-tag { font: 700 11px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); }
.order-who { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.order-what { font-size: 15px; color: var(--ink-2); }
.order-dist { margin-top: 8px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 4px; align-items: baseline; }
.order-dist b { font: 800 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.hud-arrow { position: absolute; left: 0; top: 0; width: 62px; height: 62px; margin: -31px 0 0 -31px; will-change: transform; filter: drop-shadow(0 4px 6px rgba(23,50,43,.3)); transition: opacity .3s ease; }
.hud-arrow svg { width: 100%; height: 100%; overflow: visible; }
.hud-arrow.is-behind svg { animation: nudge .8s var(--ease) infinite alternate; }
@keyframes nudge { from { transform: translateY(0) scale(1); } to { transform: translateY(-8px) scale(1.12); } }
.hud-count { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 800 clamp(64px, 12vw, 150px)/1 var(--display); color: var(--ink); letter-spacing: -.04em; text-shadow: 0 4px 0 rgba(255, 253, 248, .7); }
.hud-count.go { animation: go .7s var(--ease) both; }
@keyframes go { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.hud-exit { pointer-events: auto; position: absolute; right: var(--gut); top: 22px; border: 0; cursor: pointer; background: rgba(255, 253, 248, .9); color: var(--ink); font: 700 14px/1 var(--text); padding: 12px 16px; border-radius: 999px; }
.hud-exit:hover { background: var(--paper); }
.hud-exit:focus:not(:focus-visible), .btn:focus:not(:focus-visible) { outline: none; }
.hud-keys { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; white-space: nowrap; background: rgba(255, 253, 248, .85); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
kbd { font: 700 13px/1 var(--text); background: var(--ink); color: var(--cream); padding: 5px 7px; border-radius: 6px; min-width: 24px; text-align: center; }
kbd + kbd { margin-left: -2px; }
.hud-keys kbd:not(:first-child) { margin-left: 6px; }
.pad { position: absolute; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: flex-end; padding: 0 18px; }
.pad-btn { pointer-events: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .9); color: var(--ink); box-shadow: 0 5px 0 var(--ink); display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.pad-btn svg { width: 32px; height: 32px; }
.pad-btn.is-down { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); background: var(--orange); }
.pad-boost { width: 62px; height: 62px; margin-bottom: 8px; background: var(--ink); color: var(--cream); box-shadow: 0 5px 0 #000; }
.pad-boost svg { width: 26px; height: 26px; }

.popups { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.pop { position: absolute; left: 0; top: 0; white-space: nowrap; background: var(--ink); color: var(--cream); font: 600 14px/1.2 var(--text); padding: 9px 14px 9px 10px; border-radius: 999px; display: flex; align-items: center; gap: 8px; animation: pop 2.2s var(--ease) forwards; }
.pop b { background: var(--orange); color: var(--ink); border-radius: 999px; padding: 4px 8px; font: 800 13px/1 var(--display); }
@keyframes pop { 0% { opacity: 0; translate: -50% 10px; scale: .8; } 12% { opacity: 1; translate: -50% -12px; scale: 1; } 75% { opacity: 1; translate: -50% -30px; } 100% { opacity: 0; translate: -50% -48px; } }

.endcard {
  position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px));
  background: var(--paper); border-radius: 30px; padding: 34px 34px 30px; box-shadow: 0 30px 80px rgba(23, 50, 43, .25), 0 0 0 6px rgba(255, 253, 248, .5);
  text-align: center;
}
.endcard:not([hidden]) { animation: cardIn .6s var(--ease); }
@keyframes sheetIn { 0% { opacity: 0; transform: translate(-50%, -18px); } 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes cardIn { 0% { opacity: 0; transform: translate(-50%, -44%) scale(.94); } 100% { opacity: 1; transform: translate(-50%, -50%); } }
.endcard .eyebrow { margin-bottom: 10px; }
.endcard h2 { font-size: clamp(32px, 4vw, 44px); }
.endcard h2 #end-n { color: var(--orange-d); }
#end-msg { margin-top: 14px; color: var(--ink-2); }
.end-best { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.end-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 7.5vw, 108px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec h2 { font-size: clamp(38px, 5vw, 68px); }
.lead { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 600px; }

/* Como funciona: sem WebGL são quatro cartões; com WebGL, um palco fixo com o planeta e os textos passando por cima */
.how { background: var(--cream); padding: clamp(64px, 7.5vw, 108px) 0; }
.how-flow { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.how-intro { max-width: 720px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.how h2 { font-size: clamp(38px, 5vw, 68px); }
.how-cue { display: none; }
.stage { display: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; height: 100%; background: var(--paper); border-radius: var(--r); padding: 26px 24px 28px; box-shadow: 0 2px 0 rgba(23, 50, 43, .06); }
.step-ico { width: 120px; height: 100px; margin: 0 0 18px; }
.step-n { font: 700 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.step-n b { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font: 800 17px/1 var(--display); letter-spacing: 0; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step-card > p:last-child { font-size: 16px; color: var(--ink-2); }

.js:not(.no-webgl):not(.no-stage) .how { padding: 0; background: #DCEFF7; }
.js:not(.no-webgl):not(.no-stage) .scrolly { position: relative; }
/* emenda com o herói: o pêssego do horizonte continua e se abre no céu do palco (rola junto, não fica preso) */
.js:not(.no-webgl):not(.no-stage) .scrolly::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 70vh; height: 70svh; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #FCDCC0 0%, rgba(244, 233, 215, .85) 22%, rgba(212, 236, 246, .4) 58%, rgba(180, 221, 240, 0) 100%); }
#cena-how { opacity: 0; }
.js:not(.no-webgl):not(.no-stage) .stage {
  display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(circle at 12% 8%, rgba(255, 236, 190, .8) 0 3%, rgba(255, 228, 170, .25) 10%, transparent 24%), linear-gradient(180deg, #B4DDF0 0%, #D4ECF6 50%, #F3EAD9 100%);
}
#cena-how { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.js:not(.no-webgl):not(.no-stage) .how-flow { position: relative; z-index: 2; max-width: none; margin-top: -100vh; margin-top: -100svh; padding: 0; pointer-events: none; }
.js:not(.no-webgl):not(.no-stage) .steps { display: block; }
.js:not(.no-webgl):not(.no-stage) .how-block {
  min-height: 82vh; min-height: 82svh; display: flex; align-items: center;
  padding: 0 var(--gut) 0 max(var(--gut), calc((100vw - 1240px) / 2 + var(--gut)));
}
.js:not(.no-webgl):not(.no-stage) .how-block-intro { min-height: 100vh; min-height: 100svh; }
.js:not(.no-webgl):not(.no-stage) .how-intro { pointer-events: auto; margin: 0; max-width: 560px; }
#how-title { text-wrap: balance; }
/* último passo: o cartão para mais alto, longe da pílula do modelo no canto */
.js:not(.no-webgl):not(.no-stage) .steps .how-block:last-child { padding-bottom: 16vh; padding-bottom: 16svh; }
.js:not(.no-webgl):not(.no-stage) .how-cue { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-weight: 600; font-size: 15px; background: rgba(255, 253, 248, .78); padding: 10px 16px; border-radius: 999px; }
.js:not(.no-webgl):not(.no-stage) .how-cue span { color: var(--orange-d); font-weight: 800; }
.js:not(.no-webgl):not(.no-stage) .step-card {
  pointer-events: auto; width: min(420px, 100%); height: auto; padding: 26px 28px 28px;
  background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(23, 50, 43, .12);
}
.js:not(.no-webgl):not(.no-stage) .step-ico { display: none; }
.js:not(.no-webgl):not(.no-stage) .step h3 { font-size: clamp(26px, 2.4vw, 32px); }
.js:not(.no-webgl):not(.no-stage) .step-card > p:last-child { font-size: 17px; }

.numbers { background: var(--ink); color: var(--cream); padding: 64px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num b { display: block; font: 800 clamp(40px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.035em; color: var(--sun); font-variant-numeric: tabular-nums; font-variation-settings: 'opsz' 96; }
.num span:not(.count) { display: block; margin-top: 10px; font-size: 16px; color: rgba(255, 247, 234, .82); max-width: 220px; }

.cities { background: linear-gradient(180deg, var(--sky-2) 0%, #D7EEF8 100%); }
.city-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city { background: var(--paper); border-radius: var(--r); padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.city:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(23, 50, 43, .1); }
.city-planet { width: 100%; height: 120px; margin-bottom: 8px; border-radius: 16px; background: linear-gradient(180deg, #CDEBF7, #F4ECDD); }
.city-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.city h3 { font-size: 25px; }
.chip { font: 700 12px/1 var(--text); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.chip-on { background: #DDF2DD; color: #1F5E36; }
.chip-on::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2E9D5B; margin-right: 6px; vertical-align: 1px; }
.chip-test { background: #FFE9C2; color: #7A4A00; }
.city-meta { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.city p:last-child { color: var(--ink-2); font-size: 16px; }
.cities-foot { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--paper); border-radius: var(--r); padding: 22px 24px 22px 28px; }
.cities-foot p { max-width: 640px; }

.quotes { background: var(--cream); }
.quotes-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.quotes h2 { font-size: clamp(38px, 4.4vw, 60px); }
.quote-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px 20px; align-items: start; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { position: relative; margin: 0; padding: 26px 28px; border-radius: 28px 28px 28px 8px; background: #FFE39A; font: 600 22px/1.3 var(--display); letter-spacing: -.015em; font-variation-settings: 'opsz' 36; }
.quote blockquote::after { content: ''; position: absolute; left: 0; bottom: -14px; width: 26px; height: 16px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
.quote-a { grid-row: span 2; }
.quote-a blockquote { font-size: clamp(26px, 2.6vw, 36px); padding: 36px 36px 40px; }
.quote-b blockquote { background: #CDE9F5; }
.quote-c blockquote { background: #FAD3CC; }
.quote-c { margin-left: clamp(0px, 3vw, 40px); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); padding-left: 6px; }
.quote figcaption b { display: block; color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font: 800 18px/1 var(--display); color: var(--ink); flex: none; }

.safety { background: var(--ink); color: var(--cream); }
.safety-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.safety-side { position: sticky; top: 110px; }
.safety h2 { font-size: clamp(36px, 4.2vw, 58px); }
.safety .lead { color: rgba(255, 247, 234, .82); }
.safety-art { width: min(380px, 100%); margin-top: 36px; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.safety-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; background: rgba(255, 247, 234, .06); border-radius: 22px; padding: 24px 24px 24px 22px; }
.s-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.s-ico svg { width: 26px; height: 26px; }
.safety-list h3 { font-size: 22px; margin-bottom: 6px; }
.safety-list p { color: rgba(255, 247, 234, .8); font-size: 16px; }

.partner { background: var(--cream); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { --c: #FF6A2B; background: color-mix(in srgb, var(--c) 9%, var(--paper)); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pcard:nth-child(2) { --c: #2E7D5B; }
.pcard:nth-child(3) { --c: #3C8DBC; }
.pcard-ico { width: 56px; height: 56px; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, white); color: var(--c); display: grid; place-items: center; margin-bottom: 6px; }
.pcard-ico svg { width: 32px; height: 32px; }
.pcard h3 { font-size: 26px; }
.pcard p { color: var(--ink-2); }
.pcard-price { margin-top: auto; padding-top: 10px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.pcard-price b { font: 800 clamp(34px, 3.2vw, 44px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.pcard .btn { margin-top: 8px; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cities .sec-head, .partner .sec-head { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: end; }
.cities .sec-head .eyebrow, .partner .sec-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.cities .sec-head .lead, .partner .sec-head .lead { margin-top: 0; padding-bottom: 6px; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 96px; }
.faq-ask { margin-top: 32px; background: var(--sky-2); border-radius: 22px; padding: 22px 24px 24px; display: grid; gap: 14px; justify-items: start; }
.faq-ask-mark { width: 44px; height: 44px; color: var(--ink); }
.faq-ask p { color: var(--ink-2); max-width: 340px; }
.faq-ask b { color: var(--ink); }
.faq h2 { font-size: clamp(34px, 4vw, 52px); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--cream); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font: 700 19px/1.3 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font: 700 20px/1 var(--text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--orange); color: var(--ink); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 600px; }

.final { background: var(--paper); padding: 0 0 clamp(72px, 9vw, 120px); }
.final-card { background: var(--orange); border-radius: 36px; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; overflow: hidden; position: relative; }
.final-card h2 { font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -.04em; }
.final-card p { margin: 18px 0 28px; font-size: 19px; max-width: 440px; }
.final-art { width: 100%; margin-bottom: calc(-1 * clamp(36px, 5vw, 72px)); }

.foot { background: var(--ink-deep); color: var(--cream); padding: 72px 0 calc(72px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 16px; max-width: 300px; color: rgba(255, 247, 234, .75); }
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col h3 { font: 700 13px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }
.foot-col a { text-decoration: none; color: rgba(255, 247, 234, .88); }
.foot-col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.foot-best { white-space: nowrap; font-size: 14px; color: rgba(255, 247, 234, .7); }
.foot-legal { margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 247, 234, .62); }
.foot-legal p:first-child { max-width: 640px; }

/* ---------- modal ---------- */
.aviso { border: 0; padding: 36px 32px 28px; border-radius: 28px; width: min(460px, calc(100% - 32px)); background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 30px 80px rgba(15, 36, 31, .35); }
.aviso::backdrop { background: rgba(15, 36, 31, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.aviso[open] { animation: cardPop .45s var(--ease); }
@keyframes cardPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.aviso-mark { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--ink); }
.aviso h2 { font-size: 30px; }
.aviso p { margin-top: 12px; color: var(--ink-2); }
.aviso-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.aviso-actions form, .aviso-actions .btn { width: 100%; }
.aviso-actions form .btn { width: 100%; }
.aviso-x-form { position: absolute; top: 14px; right: 14px; }
.aviso-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); cursor: pointer; font-size: 15px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot, .hud-arrow.is-behind svg { animation: none; }
  .endcard:not([hidden]), .aviso[open], .pop, .hud-order.is-new, .stat.is-bump { animation-duration: .01s; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .city-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav { height: 64px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-word { font-size: 27px; }
  .hero { min-height: 600px; }
  .hero-copy { top: 84px; transform: none; width: auto; right: var(--gut); }
  .hero.is-playing .hero-copy, .hero.is-ended .hero-copy { transform: translateY(-20px); }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-sub { font-size: 16.5px; margin-top: 14px; }
  .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-actions .btn-lg { min-height: 52px; padding: 0 20px; font-size: 16px; }
  .hero-hint { display: none; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn-lg { padding: 0 18px; }
  .hero-actions .btn-note { display: none; }
  .is-playing-page .nav { opacity: 0; pointer-events: none; }
  .final-card { padding: 30px 26px; }
  .final-card .btn { width: 100%; padding: 0 18px; }
  .eyebrow-hero { margin-bottom: 14px; }
  .live { left: auto; right: 12px; bottom: 56px; font-size: 13px; padding: 8px 12px; }
  .hud-stats { top: 14px; left: var(--gut); transform: none; }
  .stat { padding: 8px 13px; font-size: 11px; gap: 7px; }
  .stat b { font-size: 20px; }
  .hud-exit { top: 14px; right: 12px; padding: 11px 13px; font-size: 13px; }
  .hud-order { top: 66px; left: var(--gut); right: var(--gut); width: auto; padding: 12px 16px; grid-template-columns: 1fr auto; column-gap: 12px; border-radius: 18px; }
  .order-tag { grid-column: 1 / -1; }
  .order-who { font-size: 21px; grid-column: 1; }
  .order-what { grid-column: 1; font-size: 14px; }
  .order-dist { grid-column: 2; grid-row: 2 / 4; align-self: center; margin: 0; }
  .no-webgl .hero-fallback { width: 86vw; right: 7vw; bottom: 8vh; }
  .steps { grid-template-columns: 1fr; }
  .step-card { padding: 22px 20px 24px; }
  /* cidades, depoimentos e parcerias viram carrossel de arrastar */
  .city-grid, .partner-grid, .quote-row {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 18px; scroll-padding: 0 var(--gut);
  }
  .city-grid::-webkit-scrollbar, .partner-grid::-webkit-scrollbar, .quote-row::-webkit-scrollbar { display: none; }
  .city, .pcard, .quote { scroll-snap-align: start; }
  .quote-row { align-items: stretch; }
  .quote-a { grid-row: auto; }
  .quote-c { margin-left: 0; }
  .quote blockquote, .quote-a blockquote { font-size: 20px; padding: 22px 22px 24px; flex: 1; }
  /* celular: o cartão fica preso na faixa de baixo (sticky) e a cena acontece na faixa de cima; ao subir ele some (app.js) */
  .js:not(.no-webgl):not(.no-stage) .how-block,
  .js:not(.no-webgl):not(.no-stage) .steps .how-block:last-child { align-items: flex-end; padding: 0 var(--gut) calc(76px + env(safe-area-inset-bottom)); min-height: 84vh; min-height: 84svh; }
  .js:not(.no-webgl):not(.no-stage) .how-intro, .js:not(.no-webgl):not(.no-stage) .step-card { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .js:not(.no-webgl):not(.no-stage) .how-block-intro { min-height: 100vh; min-height: 100svh; }
  .js:not(.no-webgl):not(.no-stage) .how-intro { background: rgba(255, 253, 248, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 24px; padding: 22px 20px 22px; }
  .js:not(.no-webgl):not(.no-stage) .how-intro .lead { font-size: 16px; margin-top: 12px; }
  .js:not(.no-webgl):not(.no-stage) .how-cue { margin-top: 14px; padding: 0; background: none; font-size: 14px; }
  .js:not(.no-webgl):not(.no-stage) .step-card { width: 100%; padding: 20px 20px 22px; }
  .js:not(.no-webgl):not(.no-stage) .step h3 { font-size: 24px; margin-bottom: 6px; }
  .js:not(.no-webgl):not(.no-stage) .step-card > p:last-child { font-size: 16px; }
  .how h2 { font-size: clamp(32px, 9vw, 42px); }
  .faq .sec-head { position: static; }
  .faq-ask { margin-top: 22px; }
  /* no celular o cartão final ocupa o lugar do texto do herói, em cima, e o planeta continua visível embaixo */
  .endcard { top: 80px; bottom: auto; transform: translateX(-50%); border-radius: 26px; padding: 22px 20px 20px; box-shadow: 0 16px 40px rgba(23, 50, 43, .18), 0 0 0 5px rgba(255, 253, 248, .45); }
  .endcard:not([hidden]) { animation: sheetIn .55s var(--ease); }
  .endcard h2 { font-size: 27px; }
  .end-best { margin-top: 8px; }
  #end-msg { font-size: 15px; margin-top: 10px; }
  .end-actions { margin-top: 16px; flex-wrap: nowrap; gap: 10px; }
  .end-actions .btn { padding: 0 18px; font-size: 15px; }
  .step-ico { width: 96px; height: 80px; }
  .numbers { padding: 52px 0; }
  .numbers-grid { gap: 28px 16px; }
  .num span:not(.count) { font-size: 14px; }
  .safety-grid, .faq-grid { grid-template-columns: 1fr; }
  .cities .sec-head, .partner .sec-head { grid-template-columns: 1fr; }
  .cities .sec-head .lead, .partner .sec-head .lead { margin-top: 16px; }
  .safety-side { position: static; }
  .safety-art { width: 260px; margin: 28px auto 0; }
  .safety-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 18px; }
  .s-ico { width: 44px; height: 44px; border-radius: 14px; }
  .final-card { grid-template-columns: 1fr; border-radius: 28px; }
  .final-art { margin-top: 8px; }
  .cities-foot { padding: 22px 20px; }
  .cities-foot .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .lead { font-size: 17px; }
}
