/* =========================================================
   Arena Robótica 26 · landing page
   Mobile-first. Breakpoints: 640 / 960 / 1200
   ========================================================= */

/* ---------- Fontes (self-hosted, subset latin) ---------- */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-900i.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/spacemono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/spacemono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/spacemono-700i.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "7LED"; src: url("/assets/fonts/7led-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #0A1E8C;
  --blue-deep: #031F71;
  --blue-night: #020F4A;
  --blue-line: rgba(160, 178, 255, .22);
  --neon: #8CFF1A;
  --neon-soft: rgba(140, 255, 26, .16);
  --magenta: #E33FD9;
  --purple: #6B4BC8;
  --pink: #F07FC0;
  --white: #fff;
  --ink: #050F4A;
  --muted: #C9D2FF;

  --f-display: "Archivo", "Arial Black", Impact, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-lcd: "7LED", "Space Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 40px);
  --maxw: 1200px;
  --radius: 999px;
  --r-card: 14px;
  --hdr-h: 64px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --glow: 0 0 0 1px rgba(140, 255, 26, .5), 0 0 18px rgba(140, 255, 26, .45), 0 0 42px rgba(140, 255, 26, .22);
  --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  min-height: 100dvh;
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: clamp(15px, .9rem + .2vw, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--neon); color: var(--ink); }

:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--neon); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.sprite { position: absolute; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lcd-txt { font-family: var(--f-lcd); font-style: italic; font-weight: 400; letter-spacing: .04em; }

/* ---------- Botões ---------- */
.btn {
  --bh: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh);
  padding: 0 1.4em;
  border-radius: var(--radius);
  font-family: var(--f-mono); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.96); }
.btn--sm { --bh: 44px; font-size: .9rem; padding: 0 1.1em; }
.btn--lg { --bh: 56px; font-size: 1.05rem; }
.btn--xl { --bh: 60px; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); padding: 0 1.6em; }
.btn--block { width: 100%; }

.btn--cta {
  background: var(--neon); color: var(--ink);
  box-shadow: var(--glow);
  overflow: hidden;
  isolation: isolate;
}
/* brilho que atravessa o botão */
.btn--cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: sheen 4.2s var(--ease-out) infinite 1.2s;
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--neon), 0 0 26px rgba(140,255,26,.7), 0 0 60px rgba(140,255,26,.35); }
.btn--cta:active { transform: scale(.96); }
.btn--cta .ico--arrow { transition: transform .25s var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.btn--ink { background: var(--ink); color: var(--neon); box-shadow: 0 6px 0 rgba(5,15,74,.35); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(5,15,74,.3); }

.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--blue-line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--neon); color: var(--neon); }

.linkish { text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; padding: 10px 4px; }
.linkish:hover { color: var(--neon); }

@keyframes sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

/* ---------- Janela retrô (componente da identidade) ---------- */
.win {
  position: relative;
  background: rgba(3, 18, 100, .72);
  border: 2px solid #CFC6F4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(2, 10, 60, .45);
}
.win__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 26px; padding: 0 6px 0 10px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}
.win__title { font-size: .72rem; font-weight: 700; color: var(--white); letter-spacing: .04em; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.win__btns { display: flex; gap: 3px; margin-left: auto; }
.win__btns i { width: 14px; height: 13px; background: #E9E6F7; border: 1px solid #3B2C82; position: relative; }
.win__btns i:nth-child(1)::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 2px; background: #3B2C82; }
.win__btns i:nth-child(2)::after { content: ""; position: absolute; inset: 2px 3px; border: 1.5px solid #3B2C82; border-top-width: 2.5px; }
.win__btns i:nth-child(3)::before, .win__btns i:nth-child(3)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 2px; background: #3B2C82; transform: translate(-50%, -50%) rotate(45deg); }
.win__btns i:nth-child(3)::after { transform: translate(-50%, -50%) rotate(-45deg); }
.win--mini .win__bar { height: 14px; }
.win--mini .win__btns i { width: 9px; height: 8px; }
.win--mini .win__btns i::before, .win--mini .win__btns i::after { display: none; }

/* ---------- Cabeçalho ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.hdr.is-scrolled { background: rgba(3, 18, 100, .82); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); box-shadow: 0 1px 0 var(--blue-line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.brand__hash { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.brand__lcd { font-family: var(--f-lcd); font-style: italic; font-size: 1.15rem; line-height: 1; background: var(--neon); color: var(--blue); padding: 3px 4px 1px; transform: translateY(3px); }
.hdr__nav { display: none; }
.hdr__date { margin-left: auto; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); display: flex; align-items: baseline; gap: 6px; }
.hdr__date .lcd-txt { color: var(--neon); font-size: 1.15rem; }
.hdr__cta { display: none; }

@media (min-width: 960px) {
  :root { --hdr-h: 76px; }
  .hdr__nav { display: flex; gap: 4px; margin-left: 24px; }
  .hdr__nav a { font-size: .85rem; text-decoration: none; padding: 10px 12px; border-radius: 8px; position: relative; color: var(--muted); transition: color .2s; }
  .hdr__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
  .hdr__nav a:hover, .hdr__nav a[aria-current="true"] { color: var(--white); }
  .hdr__nav a:hover::after, .hdr__nav a[aria-current="true"]::after { transform: scaleX(1); }
  .hdr__date { display: none; }
  .hdr__cta { display: inline-flex; margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--hdr-h) + 12px) 0 40px;
  background:
    radial-gradient(90% 60% at 80% 20%, rgba(40, 70, 220, .35), transparent 60%),
    linear-gradient(180deg, #04207A 0%, #052080 55%, var(--blue) 100%);
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .08; pointer-events: none; z-index: -1; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* grade 3D em perspectiva */
.grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%;
  perspective: 420px; perspective-origin: 50% 0%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%);
          mask-image: linear-gradient(to top, #000 10%, transparent 95%);
}
.grid-floor__plane {
  position: absolute; left: 0; right: 0; top: 0; height: 200%;
  transform-origin: 50% 0;
  transform: rotateX(62deg);
  background-image:
    linear-gradient(var(--blue-line) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--blue-line) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
  animation: grid-move 3.2s linear infinite;
  will-change: transform;
}
@keyframes grid-move { from { transform: rotateX(62deg) translateY(-56px); } to { transform: rotateX(62deg) translateY(0); } }

.waves { position: absolute; fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; opacity: .95; filter: drop-shadow(0 6px 0 rgba(0,0,0,.18)); }
.waves--tl { width: 70px; left: -14px; top: calc(var(--hdr-h) - 10px); animation: float 7s ease-in-out infinite; }
.stripes { position: absolute; width: 56px; height: 180px; background: repeating-linear-gradient(-55deg, var(--magenta) 0 3px, transparent 3px 9px); opacity: .8; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.stripes--l { left: 0; top: 56%; background: repeating-linear-gradient(-55deg, var(--purple) 0 3px, transparent 3px 9px); }
.stripes--r { right: 0; top: 22%; }
.hero__xpat { position: absolute; width: 180px; right: -30px; top: calc(var(--hdr-h) + 6px); opacity: .9; animation: float 9s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; position: relative; }
.hero__content { min-width: 0; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }

.hero__kicker { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 6px; }
.hero__kicker .win { box-shadow: 5px 5px 0 rgba(2,10,60,.4); }
.hero__kicker .win__body { padding: 4px; }
.hero__arena { width: clamp(118px, 34vw, 210px); animation: lcd-flicker 6s steps(1) infinite; }
.hero__icon { width: clamp(26px, 7vw, 40px); margin-bottom: 4px; }
@keyframes lcd-flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .5; } 97% { opacity: 1; } }

.hero__title { display: block; width: 100%; }
.hero__logo { display: block; width: 100%; max-width: 640px; }
.logo-svg { width: 100%; height: auto; filter: drop-shadow(4px 5px 0 rgba(2, 10, 60, .45)); }
.logo-svg path { animation: logo-in .9s var(--ease-out) both; }
.logo-svg path:nth-child(2) { animation-delay: .04s; } .logo-svg path:nth-child(3) { animation-delay: .08s; }
.logo-svg path:nth-child(4) { animation-delay: .12s; } .logo-svg path:nth-child(5) { animation-delay: .16s; }
.logo-svg path:nth-child(6) { animation-delay: .2s; } .logo-svg path:nth-child(7) { animation-delay: .24s; }
.logo-svg path:nth-child(8) { animation-delay: .28s; } .logo-svg path:nth-child(9) { animation-delay: .32s; }
.logo-svg path:nth-child(10), .logo-svg path:nth-child(11) { animation: lcd-on 1.2s steps(1) .5s both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(40px) skewX(-8deg); } to { opacity: 1; transform: none; } }
@keyframes lcd-on { 0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: .2; } 45% { opacity: 1; } 55% { opacity: .4; } 65%, 100% { opacity: 1; } }

.hero__headline {
  display: block; margin-top: 14px;
  font-family: var(--f-mono); font-weight: 700; font-style: normal;
  font-size: clamp(1.15rem, .9rem + 1.6vw, 1.9rem);
  line-height: 1.2; letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__headline em { font-style: normal; color: var(--neon); }

.pill {
  margin-top: 16px;
  display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 2px;
  padding: 10px 18px;
  border-radius: 24px;
  background: var(--neon); color: var(--ink);
  font-size: clamp(.82rem, .75rem + .35vw, 1.05rem); letter-spacing: .04em;
  box-shadow: 4px 4px 0 rgba(2,10,60,.35);
}
.pill > span { display: inline-flex; align-items: center; gap: 6px; }
.pill .ico { width: 1.05em; height: 1.05em; }
.pill__sep { display: none !important; }

.hero__actions { margin-top: 22px; display: flex; align-items: center; gap: 14px; width: 100%; }
.cta-wrap { position: relative; flex: 1 1 auto; max-width: 420px; }
.cta-wrap .btn { width: 100%; }

/* mãozinha "clicando" no CTA */
.cursor-demo {
  position: absolute; width: 56px; right: 8%; bottom: -34px; z-index: 3; pointer-events: none;
  transform-origin: 20% 15%;
  animation: cursor-click 6s var(--ease-out) infinite 1.6s;
  opacity: 0;
}
@keyframes cursor-click {
  0% { opacity: 0; transform: translate(70px, 60px) rotate(8deg); }
  8% { opacity: 1; }
  26% { transform: translate(0, 0) rotate(0); }
  30% { transform: translate(0, 0) scale(.82); }
  34% { transform: translate(0, 0) scale(1); }
  56% { opacity: 1; transform: translate(0, 0); }
  70%, 100% { opacity: 0; transform: translate(40px, 50px) rotate(6deg); }
}
.btn--demo { animation: demo-press 6s var(--ease-out) infinite 1.6s; }
@keyframes demo-press {
  0%, 28%, 36%, 100% { transform: none; }
  30% { transform: scale(.95); }
}
.btn--demo::before {
  content: ""; position: absolute; width: 30px; height: 30px; right: 13%; top: 50%; z-index: -1;
  border-radius: 50%; background: rgba(255,255,255,.75);
  transform: translate(50%, -50%) scale(0); opacity: 0;
  animation: ripple 6s var(--ease-out) infinite 1.6s;
}
@keyframes ripple {
  0%, 29% { transform: translate(50%, -50%) scale(0); opacity: 0; }
  30% { opacity: .9; transform: translate(50%, -50%) scale(.4); }
  44%, 100% { opacity: 0; transform: translate(50%, -50%) scale(9); }
}

/* selo "evento gratuito" */
.sticker {
  position: relative; flex: none;
  width: 86px; height: 86px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--magenta); color: var(--ink);
  box-shadow: 4px 4px 0 rgba(2,10,60,.4);
  transform: rotate(-10deg);
}
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker__ring text { font-family: var(--f-mono); font-weight: 700; font-size: 10.6px; letter-spacing: .1em; fill: var(--ink); }
.sticker__core { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: .8rem; line-height: 1; display: flex; align-items: flex-start; gap: 1px; }
.sticker__core b { font-size: 1.9rem; line-height: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* contagem regressiva */
.countdown { margin-top: 30px; width: 100%; max-width: 460px; }
.countdown__label { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: blink 1s steps(1) infinite; }
.countdown__lcd {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 12px 14px 8px;
  background: #02104F;
  border: 2px solid rgba(140,255,26,.35);
  border-radius: 10px;
  box-shadow: inset 0 0 30px rgba(0,0,0,.5), 0 0 0 4px rgba(2,10,60,.35);
}
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-num { position: relative; font-family: var(--f-lcd); font-style: italic; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.2rem); line-height: 1; color: var(--neon); text-shadow: 0 0 12px rgba(140,255,26,.55); font-variant-numeric: tabular-nums; }
.cd-ghost { position: absolute; inset: 0; color: rgba(140,255,26,.08); text-shadow: none; }
.cd-cap { margin-top: 6px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cd-colon { display: flex; flex-direction: column; justify-content: center; gap: .55em; height: clamp(2.2rem, 1.6rem + 3vw, 3.2rem); animation: blink 1s steps(1) infinite; }
.cd-colon i { width: 6px; height: 6px; background: var(--neon); box-shadow: 0 0 8px rgba(140,255,26,.8); transform: skewX(-8deg); }
@keyframes blink { 50% { opacity: .15; } }
.countdown.is-live .countdown__lcd { border-color: var(--magenta); }

/* personagens */
.hero__media { position: relative; z-index: 1; margin: 10px calc(var(--gutter) * -1) -40px; }
.chars { position: relative; aspect-ratio: 768 / 940; width: 100%; max-width: 520px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 70%, transparent 97%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 70%, transparent 97%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-composite: intersect;
}
.chars__item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.chars__item img { width: 100%; height: 100%; object-fit: cover; }
.chars__item.is-active { opacity: 1; }
.chars__item.is-glitch { animation: glitch .45s steps(2) both; }
@keyframes glitch {
  0% { clip-path: inset(10% 0 70% 0); transform: translate(-8px, 0); filter: hue-rotate(60deg) saturate(2); }
  20% { clip-path: inset(55% 0 20% 0); transform: translate(8px, 0); }
  40% { clip-path: inset(30% 0 45% 0); transform: translate(-4px, 0); filter: hue-rotate(-60deg) saturate(2); }
  60% { clip-path: inset(75% 0 5% 0); transform: translate(5px, 0); }
  80% { clip-path: inset(0 0 0 0); transform: translate(-2px, 0); filter: none; }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
.hero__lcd26 { position: absolute; width: 64px; right: 10%; top: 12%; z-index: 2; animation: lcd-flicker 7s steps(1) infinite 2s; filter: drop-shadow(3px 3px 0 rgba(2,10,60,.4)); }

@media (max-width: 639.98px) {
  .hero__actions { position: static; }
  .sticker { position: absolute; top: 2px; right: 0; width: 78px; height: 78px; }
  .sticker__ring text { font-size: 11px; }
}
@media (min-width: 640px) {
  .hero__xpat { width: 260px; right: 4%; }
  .sticker { width: 104px; height: 104px; }
}

@media (min-width: 960px) {
  .hero { padding: calc(var(--hdr-h) + 24px) 0 72px; min-height: min(100svh, 980px); display: flex; align-items: center; }
  .hero__in { grid-template-columns: 46% 1fr; align-items: center; gap: 0; }
  .hero__media { order: -1; margin: 0 0 -72px calc(var(--gutter) * -1); align-self: end; }
  .chars { max-width: 600px; margin-inline: auto 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 99%), linear-gradient(to right, transparent 0, #000 16%, #000 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 99%), linear-gradient(to right, transparent 0, #000 16%, #000 80%, transparent 100%); }
  .hero__content { padding-left: 2vw; }
  .waves--tl { width: 110px; }
  .hero__xpat { width: 320px; right: 2%; top: calc(var(--hdr-h) + 10px); }
  .hero__lcd26 { display: none; }
  .cursor-demo { width: 64px; }
  .countdown { max-width: 520px; }
}
@media (min-width: 1200px) {
  .hero__logo { max-width: 700px; }
  .pill { flex-wrap: nowrap; white-space: nowrap; font-size: .95rem; }
  .pill__sep { display: inline !important; }
}

/* ---------- Faixa de confiança ---------- */
.trust { position: relative; z-index: 3; background: var(--neon); color: var(--ink); border-block: 3px solid var(--ink); }
.trust__list { display: none; }
.marquee { overflow: hidden; padding: 12px 0; }
.marquee__track { display: flex; width: max-content; gap: 22px; align-items: center; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee__track b { font-size: .9rem; color: var(--purple); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 960px) {
  .trust { transform: rotate(-1.2deg); margin: 0 -1%; }
  .marquee { display: none; }
  .trust__list { display: flex; justify-content: space-between; list-style: none; padding-block: 18px; }
  .trust__list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(.8rem, .1rem + 1.1vw, 1.15rem); text-transform: uppercase; }
  .trust__list li + li::before { content: "✕"; font-family: var(--f-mono); font-style: normal; font-size: .8rem; color: var(--purple); margin-right: clamp(6px, 1vw, 16px); }
  .trust__list .ico { width: 1.3em; height: 1.3em; stroke-width: 2.4; }
}

/* ---------- Seções genéricas ---------- */
.sec { position: relative; padding: clamp(64px, 10vw, 120px) 0; }
.sec__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--neon); margin-bottom: 14px; }
.eyebrow .lcd-txt { font-size: 1.15rem; background: var(--neon); color: var(--blue); padding: 2px 6px 0; letter-spacing: .02em; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink .lcd-txt { background: var(--ink); color: var(--neon); }
.h2 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(2rem, 1.3rem + 3.6vw, 3.8rem); letter-spacing: -.02em; text-transform: uppercase; line-height: .98; }
.hl { color: var(--neon); }
.lede { margin-top: 18px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.lede strong { color: var(--neon); }

/* revelação ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Atividades ---------- */
.acts { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); }
.acts::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .06; pointer-events: none; }
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
.card .win { height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.card__art {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(140,255,26,.18), transparent 70%),
    linear-gradient(var(--blue-line) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--blue-line) 1px, transparent 1px) 0 0 / 22px 22px,
    #031066;
  border-bottom: 2px solid #CFC6F4;
}
.card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__icon { width: 38%; height: auto; aspect-ratio: 1; fill: none; stroke: var(--neon); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(140,255,26,.7)); transition: transform .5s var(--ease-spring); }
.card__icon--spin { animation: hover-bob 3s ease-in-out infinite; }
.card__icon--float { animation: float 4s ease-in-out infinite; }
.card__icon--pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes hover-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes pulse { 50% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(140,255,26,.95)); } }
.card__tag { position: absolute; right: 12px; top: 8px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.5rem; color: var(--magenta); animation: blink 1.2s steps(1) infinite; }
.card__body { padding: 16px 16px 20px; flex: 1; }
.card__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.45rem; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 8px; }
.card__body p { font-size: .92rem; color: var(--muted); }
.swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.swipe-hint .ico { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

@media (hover: hover) {
  .card .win:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(140,255,26,.35); }
  .card .win:hover .card__icon { transform: scale(1.12) rotate(-4deg); }
}
@media (min-width: 640px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .swipe-hint { display: none; }
  .card--feature { grid-column: 1 / -1; }
  .card--feature .win { display: grid; grid-template-columns: 1.2fr 1fr; }
  .card--feature .card__art { aspect-ratio: auto; min-height: 240px; border-bottom: 0; border-right: 2px solid #CFC6F4; grid-row: 2; }
  .card--feature .win__bar { grid-column: 1 / -1; }
  .card--feature .card__body { align-self: center; padding: 28px; grid-row: 2; }
  .card--feature .card__title { font-size: 2.2rem; }
  .card--feature .card__body p { font-size: 1rem; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card--feature { grid-column: span 2; grid-row: span 2; }
  .card--feature .win { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .card--feature .card__art { grid-row: auto; border-right: 0; border-bottom: 2px solid #CFC6F4; min-height: 300px; }
  .card--feature .card__body { grid-row: auto; }
  .card:nth-child(6), .card:nth-child(7) { grid-column: span 2; }
  .card:nth-child(6) .win, .card:nth-child(7) .win { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto 1fr; }
  .card:nth-child(6) .win__bar, .card:nth-child(7) .win__bar { grid-column: 1 / -1; }
  .card:nth-child(6) .card__art, .card:nth-child(7) .card__art { aspect-ratio: auto; border-bottom: 0; border-right: 2px solid #CFC6F4; }
  .card:nth-child(6) .card__icon, .card:nth-child(7) .card__icon { width: 46%; }
  .card:nth-child(6) .card__body, .card:nth-child(7) .card__body { align-self: center; }
}

/* ---------- Batalha ---------- */
.battle { background: var(--blue-night); overflow: hidden; }
.battle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 50%, rgba(227,63,217,.22), transparent 70%); pointer-events: none; }
.battle__in { position: relative; display: grid; gap: 36px; align-items: center; }
.win--big { box-shadow: 10px 10px 0 rgba(0,0,0,.35); }
.battle__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(70% 70% at 50% 100%, rgba(140,255,26,.12), transparent 70%), #020B3D; }
.battle__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.battle__hud { position: absolute; inset: 10px 12px auto; display: flex; align-items: center; gap: 12px; z-index: 3; }
.live { display: inline-flex; align-items: center; gap: 6px; background: var(--magenta); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; padding: 3px 8px; border-radius: 4px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 1s steps(1) infinite; }
.battle__round { color: var(--muted); font-size: 1.1rem; }
.battle__timer { margin-left: auto; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); color: var(--neon); text-shadow: 0 0 12px rgba(140,255,26,.6); font-variant-numeric: tabular-nums; }
.arena-floor {
  position: absolute; left: -30%; right: -30%; bottom: -10%; height: 70%;
  background-image: linear-gradient(rgba(140,255,26,.35) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(140,255,26,.35) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  transform: perspective(300px) rotateX(58deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
          mask-image: linear-gradient(to top, #000 30%, transparent);
}
.bot { position: absolute; bottom: 14%; width: 32%; fill: none; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; z-index: 2; }
.bot--a { left: 8%; stroke: var(--neon); filter: drop-shadow(0 0 8px rgba(140,255,26,.8)); animation: bot-a 2.4s var(--ease-out) infinite; }
.bot--b { right: 8%; stroke: var(--pink); filter: drop-shadow(0 0 8px rgba(240,127,192,.8)); animation: bot-b 2.4s var(--ease-out) infinite; }
.bot__eye { fill: currentColor; stroke: none; animation: blink 1.4s steps(1) infinite; }
.bot--a { color: var(--neon); } .bot--b { color: var(--pink); }
.disc { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
@keyframes bot-a { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(46%); } 45% { transform: translateX(40%) rotate(-4deg); } 60% { transform: translateX(10%); } }
@keyframes bot-b { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(-46%); } 45% { transform: translateX(-38%) rotate(5deg); } 60% { transform: translateX(-10%); } }
.spark { position: absolute; left: 50%; bottom: 30%; width: 70px; height: 70px; transform: translate(-50%, 0) scale(0); z-index: 3;
  background: radial-gradient(circle, #fff 0 12%, var(--neon) 13% 22%, transparent 23%), conic-gradient(from 0deg, transparent 0 8%, #fff 9% 10%, transparent 11% 33%, var(--neon) 34% 35%, transparent 36% 58%, #fff 59% 60%, transparent 61% 83%, var(--pink) 84% 85%, transparent 86%);
  border-radius: 50%; animation: spark 2.4s var(--ease-out) infinite; }
@keyframes spark { 0%, 38% { transform: translate(-50%, 0) scale(0); opacity: 0; } 41% { transform: translate(-50%, 0) scale(1.2) rotate(30deg); opacity: 1; } 55%, 100% { transform: translate(-50%, 0) scale(1.8) rotate(70deg); opacity: 0; } }
.battle__vs { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(2.6rem, 2rem + 4vw, 4.6rem); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.65); letter-spacing: -.04em; z-index: 1; }
.battle__stage.has-video .bot, .battle__stage.has-video .spark, .battle__stage.has-video .battle__vs, .battle__stage.has-video .arena-floor { display: none; }
.battle__meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.battle__meta .lcd-txt { font-size: 2rem; color: var(--neon); text-shadow: 0 0 10px rgba(140,255,26,.6); }
.battle__copy .btn { margin-top: 28px; }
@media (min-width: 960px) {
  .battle__in { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}

/* ---------- Programação ---------- */
.sched { background: var(--blue); }
/* estado atual: dias + "o que rola todos os dias" (programação detalhada em breve) */
.sched__body { display: grid; gap: 20px; max-width: 880px; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.day {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 16px 8px 14px; border-radius: 12px;
  background: rgba(3,18,100,.6); box-shadow: inset 0 0 0 2px var(--blue-line);
}
.day__num { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); line-height: 1; color: var(--neon); text-shadow: 0 0 12px rgba(140,255,26,.5); }
.day__wd { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.day__hours { font-size: .82rem; color: var(--muted); }
.day.is-today { background: var(--neon); box-shadow: 0 0 24px rgba(140,255,26,.35); }
.day.is-today .day__num { color: var(--blue); text-shadow: none; }
.day.is-today .day__wd, .day.is-today .day__hours { color: var(--ink); }
.allday__list { display: grid; gap: 4px; padding: 14px 16px 16px; }
.allday__list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 700; font-size: .95rem; }
.allday__list li + li { border-top: 1px dashed var(--blue-line); }
.allday__list .ico { color: var(--neon); width: 1.5em; height: 1.5em; filter: drop-shadow(0 0 6px rgba(140,255,26,.6)); }
.soon { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) {
  .allday__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .allday__list li + li { border-top: 0; }
}

/* abas com horários: para quando a programação oficial sair */
.tabs { max-width: 880px; }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 8px 12px; min-height: 44px;
  border-radius: 12px;
  background: rgba(3,18,100,.6); box-shadow: inset 0 0 0 2px var(--blue-line);
  transition: background-color .25s, box-shadow .25s, transform .25s var(--ease-spring);
}
.tab__num { font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem); line-height: 1; color: rgba(140,255,26,.4); transition: color .25s, text-shadow .25s; }
.tab__day { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tab__hours { font-size: .78rem; color: var(--muted); }
.tab[aria-selected="true"] .tab__hours { color: var(--ink); }
.tab:hover { box-shadow: inset 0 0 0 2px rgba(140,255,26,.5); }
.tab[aria-selected="true"] { background: var(--neon); box-shadow: 0 0 24px rgba(140,255,26,.35); transform: translateY(-2px); }
.tab[aria-selected="true"] .tab__num { color: var(--blue); }
.tab[aria-selected="true"] .tab__day { color: var(--ink); }
.tabs__panel:focus-visible { outline-offset: 8px; }
.tabs__panel:not([hidden]) { animation: panel-in .5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.timeline { position: relative; padding-left: 0; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--blue-line); }
.timeline time { font-size: 1.7rem; color: var(--neon); line-height: 1; padding-top: 2px; }
.timeline h3 { font-family: var(--f-mono); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.timeline p { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.tabs__note { margin-top: 16px; font-size: .8rem; color: var(--muted); }
@media (min-width: 960px) {
  .sched .wrap, .faq__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 0 64px; align-items: start; }
  .sched .sec__head, .faq .sec__head { position: sticky; top: calc(var(--hdr-h) + 32px); }
  .faq__cta { grid-column: 2; }
}
@media (min-width: 640px) {
  .timeline li { grid-template-columns: 120px 1fr; }
  .timeline time { font-size: 2.1rem; }
}

/* ---------- Como retirar ---------- */
.steps { color: var(--ink); background: var(--neon) url("/assets/img/bg-verde-960.webp") center / cover no-repeat; overflow: hidden; }
@media (min-width: 960px) { .steps { background-image: url("/assets/img/bg-verde-1440.webp"); } }
.steps .h2 { color: var(--ink); }
.steps__list { display: grid; gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 24px 22px 24px 22px;
  background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
}
.step__n { position: absolute; right: 18px; top: 10px; font-size: 3.4rem; line-height: 1; color: var(--blue); opacity: .9; }
.step__ico { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.step h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.45rem; text-transform: uppercase; margin-bottom: 6px; }
.step p { font-size: .95rem; }
.steps__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.steps__safe { font-size: .82rem; }
@media (min-width: 640px) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 3px; background: var(--ink); }
  .steps__cta { flex-direction: row; align-items: center; gap: 24px; }
}

/* ---------- Local ---------- */
.place { background: linear-gradient(180deg, var(--blue-deep), var(--blue)); }
.place__in { display: grid; gap: 40px; }
.place__addr { font-style: normal; margin-top: 18px; font-size: 1.02rem; line-height: 1.6; padding-left: 14px; border-left: 3px solid var(--neon); }
.info-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.info-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--neon-soft); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(140,255,26,.35); }
.info-list strong { display: block; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.info-list span { display: block; font-size: .92rem; color: var(--muted); }
.place__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.map { position: relative; aspect-ratio: 4 / 3.4; background: #031066; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map__facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; overflow: hidden; }
.map__grid { position: absolute; inset: -20%;
  background:
    linear-gradient(28deg, transparent 47%, rgba(240,127,192,.55) 47.5% 49.5%, transparent 50%),
    linear-gradient(-62deg, transparent 58%, rgba(201,210,255,.35) 58.5% 60%, transparent 60.5%),
    linear-gradient(var(--blue-line) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, var(--blue-line) 1px, transparent 1px) 0 0 / 30px 30px;
}
.map__ping { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--neon); color: var(--ink); margin-bottom: 6px; }
.map__ping .ico { width: 30px; height: 30px; }
.map__ping::before, .map__ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--neon); animation: ping 2.2s var(--ease-out) infinite; }
.map__ping::after { animation-delay: 1.1s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.map__load, .map__note { position: relative; z-index: 1; }
.map__note { font-size: .78rem; color: var(--muted); max-width: 30ch; }
@media (min-width: 960px) { .place__in { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; } }

/* ---------- FAQ ---------- */
.faq { background: var(--blue); }
@media (max-width: 959.98px) { .faq__in { max-width: 880px; } }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 14px; background: rgba(3,18,100,.6); box-shadow: inset 0 0 0 2px var(--blue-line); transition: box-shadow .25s, background-color .25s; overflow: hidden; }
.qa[open] { box-shadow: inset 0 0 0 2px var(--neon); background: rgba(3,18,100,.85); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 56px; font-weight: 700; font-size: 1.02rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { color: var(--neon); transform: rotate(90deg); transition: transform .35s var(--ease-spring); }
.qa[open] summary .ico { transform: rotate(-90deg); }
.qa summary:hover { color: var(--neon); }
.qa__a { padding: 0 20px 20px; color: var(--muted); }
.qa__a strong { color: var(--neon); }
.qa__a a { color: var(--neon); text-underline-offset: 3px; }
.qa__a a:hover { text-decoration-thickness: 2px; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
.faq__cta { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.faq__cta p { font-weight: 700; }
@media (min-width: 640px) and (max-width: 959.98px) { .faq__cta { flex-direction: row; align-items: center; gap: 24px; } }

/* ---------- Fechamento ---------- */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(80px, 12vw, 150px) 0;
  background: linear-gradient(135deg, var(--pink) 0%, #E870C8 45%, var(--magenta) 100%);
  color: var(--ink); text-align: center;
}
.final::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .14; z-index: -1; }
.final__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final__x { position: absolute; width: 360px; left: -60px; bottom: -40px; opacity: .55; filter: brightness(0) invert(1); animation: float 8s ease-in-out infinite; }
.final__duo { position: absolute; width: 84px; right: -14px; top: 18px; filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(4000%) hue-rotate(230deg); opacity: .9; animation: spin 24s linear infinite; }
@media (min-width: 960px) { .final__duo { width: 150px; right: 5%; top: 12%; } }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__kicker { font-size: 1.6rem; background: var(--ink); color: var(--neon); padding: 4px 12px 2px; transform: rotate(-3deg); margin-bottom: 20px; }
.final__title { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 1.5rem + 6vw, 6rem); letter-spacing: -.03em; line-height: .92; color: var(--white); text-shadow: 4px 5px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.final__sub { margin: 18px 0 34px; font-size: clamp(1rem, .95rem + .4vw, 1.25rem); font-weight: 700; max-width: 36ch; }

/* ---------- Rodapé ---------- */
.ftr { background: var(--blue-night); padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .88rem; }
.ftr__brand { display: grid; gap: 10px; padding-bottom: 32px; border-bottom: 1px solid var(--blue-line); }
.ftr__logo { width: min(320px, 80%); }
.ftr__brand p { color: var(--muted); }
.ftr__orgs { display: grid; gap: 14px; padding: 28px 0; }
.org { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 22px; background: var(--white); color: #0B0B0B; border-radius: 24px; }
.org__label { font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; }
.org__name { font-family: Arial, Helvetica, sans-serif; font-size: .82rem; line-height: 1.15; max-width: 22ch; }
.org__name--guilda { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.org__name--gdf { font-weight: 700; text-transform: uppercase; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--blue-line); }
.social { display: flex; gap: 8px; list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--blue-line); transition: box-shadow .2s, color .2s; }
.social a:hover { color: var(--neon); box-shadow: inset 0 0 0 2px var(--neon); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.ftr__links a { padding: 10px 0; text-underline-offset: 3px; }
.ftr__links a:hover { color: var(--neon); }
.ftr__copy { color: var(--muted); margin-left: auto; }
@media (min-width: 960px) {
  .ftr { padding-bottom: 56px; }
  .ftr__orgs { grid-template-columns: auto 1fr; }
  .org { border-radius: 999px; padding: 18px 30px; }
}

/* ---------- Barra fixa mobile ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(3,18,100,0), rgba(3,18,100,.92) 30%);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.mbar.is-on { transform: none; }
.mbar .btn { --bh: 54px; }
@media (min-width: 960px) { .mbar { display: none; } }

/* ---------- Banner de cookies ---------- */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 460px; animation: consent-in .5s var(--ease-out); }
.consent[hidden] { display: none; }
.consent .win { background: #071A7A; box-shadow: 8px 8px 0 rgba(0,0,0,.45); }
.consent__body { padding: 16px; font-size: .86rem; }
.consent__body a { color: var(--neon); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.consent__prefs { display: grid; gap: 8px; margin-top: 14px; }
.consent__prefs[hidden] { display: none; }
.switch { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.05); cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--neon); }
.switch small { display: block; color: var(--muted); font-size: .72rem; }
body.has-mbar .consent { bottom: calc(86px + env(safe-area-inset-bottom)); }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }
@media (min-width: 640px) { .consent { left: 20px; bottom: 20px; } }

/* ---------- Performance: pausa animações fora da tela ---------- */
[data-anim-scope].is-off *, [data-anim-scope].is-off::before, [data-anim-scope].is-off::after { animation-play-state: paused !important; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-demo, .btn--demo::before, .spark { display: none; }
  .marquee__track { animation: none; }
}
