/* Bancorrupto: mesmo sistema visual do app (ui/theme/Color.kt e ui/components). */

@font-face { font-family: "Lilita One"; src: url("/fonts/lilita-one.woff2?v=08815d3200") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-600.woff2?v=bc3386b3a5") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-700.woff2?v=c309f16893") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-800.woff2?v=dfd8be7d53") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-900.woff2?v=25be380a4a") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* Palette do app */
  --night: #1B0F45;
  --violet: #5B2BC4;
  --violet-light: #8A5CF0;
  --violet-dark: #3E1C93;
  --board: #F6A75B;
  --board-dark: #E38A3A;
  --board-light: #FFC27E;
  --cream: #FFF8EC;
  --cream-dark: #E9D8BC;
  --green: #2FBF4A;
  --green-dark: #1C8A33;
  --gold: #FFC83D;
  --gold-dark: #E09B00;
  --gold-light: #FFE18A;
  --sky: #4DA8F7;
  --sky-dark: #2475C9;
  --orange: #FF9A2E;
  --orange-dark: #D06A00;
  --red: #E5484D;
  --red-dark: #A8282C;
  --table: #1F5F7E;
  --table-mid: #184D69;
  --table-deep: #123B52;
  --table-slot: #1C3145;
  --table-ink: #0E2233;
  --glow: #2E7C9C;
  --ink: #2B2140;
  --ink-soft: #6B5F80;
  --ink-body: #463B5C;
  --link: #1D63AE;
  --group-a: #F7C948;
  --group-b: #5AB0F0;
  --group-c: #8CC63F;
  --group-d: #A77BF3;
  --group-e: #FF8A3D;
  --group-f: #2EB5A8;
  --p-red: #EF3340;
  --p-blue: #1F6FEB;
  --p-green: #19B34A;
  --p-yellow: #FFC21A;

  --font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --spring-soft: cubic-bezier(.34, 1.3, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: 16px;
  --wrap: 1200px;
  --zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='75'%3E%3Cpath d='M-34 18 0 52 34 18 68 52 102 18' fill='none' stroke='%23fff' stroke-opacity='.035' stroke-width='10'/%3E%3C/svg%3E");
  --zigzag-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='52'%3E%3Cpath d='M-24 12 0 36 24 12 48 36 72 12' fill='none' stroke='%23fff' stroke-opacity='.12' stroke-width='7'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--table-ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  font: 700 1.0625rem/1.55 var(--font-body);
  color: #fff;
  background: var(--zigzag), var(--table-deep);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--cream); color: var(--ink); font-weight: 900; text-decoration: none;
  translate: 0 -200%;
}
.skip:focus { translate: none; }

/* ---------- Títulos: Lilita com contorno e sombra dura (OutlinedText) ---------- */
.title {
  --ol: var(--table-ink);
  font: 400 clamp(2.125rem, 1.35rem + 3.3vw, 3.75rem)/1.02 var(--font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: .13em var(--ol);
  paint-order: stroke fill;
  text-shadow: 0 .075em 0 var(--ol);
  text-wrap: balance;
}
.title--xl { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem); }
.title--board { --ol: #9A4A12; }
.title--violet { --ol: var(--night); }

.eyebrow {
  margin-bottom: 12px;
  font: 400 1.1875rem/1 var(--font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-light);
  -webkit-text-stroke: 6px var(--table-ink);
  paint-order: stroke fill;
  text-shadow: 0 2px 0 var(--table-ink);
}
.eyebrow--violet { -webkit-text-stroke-color: var(--night); text-shadow: 0 2px 0 var(--night); }
.eyebrow--board {
  display: inline-block;
  padding: 8px 16px 7px;
  border-radius: 999px;
  background: #9A4F16;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
  color: var(--cream);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.lead {
  max-width: 60ch;
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  text-wrap: pretty;
}
.lead--ink { color: var(--ink); }

/* ---------- Botão com lábio 3D (GameButton) ---------- */
.btn {
  --face: var(--green);
  --face-hi: #4CD465;
  --lip: var(--green-dark);
  --ol: #136B26;
  --lip-h: 6px;
  --h: 58px;
  --fs: 1.3125rem;
  --r: 16px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: var(--h);
  padding: 0 1.15em var(--lip-h);
  border: 0;
  border-radius: var(--r);
  font: 400 var(--fs)/1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(var(--lip), var(--lip)) 0 var(--lip-h) / 100% calc(100% - var(--lip-h)) no-repeat;
  box-shadow: 0 3px 0 -1px rgba(0, 0, 0, .2);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .5s var(--spring), filter .2s;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  transition: transform .5s var(--spring);
}
.btn::before { inset: 0 0 var(--lip-h); background: linear-gradient(180deg, var(--face-hi), var(--face) 60%); }
.btn::after {
  left: 5px; right: 5px; top: 3px;
  height: calc((100% - var(--lip-h)) * .36);
  border-radius: calc(var(--r) - 4px);
  background: rgba(255, 255, 255, .22);
}
.btn > * { transition: transform .5s var(--spring); }
.btn > span { -webkit-text-stroke: 5px var(--ol); paint-order: stroke fill; text-shadow: 0 2px 0 var(--ol); }
.btn__icon { flex: none; width: 1.15em; height: 1.15em; fill: #fff; stroke: var(--ol); stroke-width: 3px; paint-order: stroke; filter: drop-shadow(0 2px 0 var(--ol)); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); filter: brightness(1.05) saturate(1.05); } }
.btn:active { transform: scale(.975); transition-duration: .06s; }
.btn:active::before, .btn:active::after, .btn:active > * { transform: translateY(calc(var(--lip-h) - 1px)); transition-duration: .06s; }

.btn--white { --face: #fff; --face-hi: #fff; --lip: var(--cream-dark); color: var(--ink); }
.btn--white::after { opacity: 0; }
.btn--white > span { -webkit-text-stroke: 0; text-shadow: none; }
.btn--gold { --face: var(--gold); --face-hi: #FFD966; --lip: var(--gold-dark); --ol: #B07400; }
.btn--sm { --h: 44px; --fs: 1.0625rem; --lip-h: 4px; --r: 12px; padding-inline: .9em; }
.btn--sm > span { -webkit-text-stroke-width: 4px; text-shadow: 0 1.5px 0 var(--ol); }
.btn--lg { --h: 62px; --fs: 1.375rem; }
.btn--xl { --h: 68px; --fs: 1.5rem; --lip-h: 7px; --r: 18px; padding-inline: 1.3em; }
@media (max-width: 599px) { .btn--xl { --h: 64px; --fs: 1.25rem; padding-inline: .8em; } }

/* ---------- Barra do topo ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar.is-solid, .topbar.menu-open, .page .topbar {
  background-color: rgba(14, 34, 51, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .25);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1280px, 100% - 2 * var(--gutter));
  height: 68px;
  margin-inline: auto;
}
.topbar__brand { flex: none; border-radius: 10px; transition: opacity .35s var(--ease-out), transform .5s var(--spring); }
.topbar__brand img { width: auto; height: 42px; }
.home .topbar__brand { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.85); transition: opacity .35s var(--ease-out), transform .5s var(--spring), visibility 0s .35s; }
.home .topbar.show-brand .topbar__brand,
.home .topbar.menu-open .topbar__brand { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .5s var(--spring), visibility 0s; }
.topbar__nav { margin-left: auto; }
.topbar__nav ul { display: flex; gap: 2px; padding: 0; list-style: none; }
.topbar__nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  transition: background-color .2s;
}
.topbar__nav a:hover { background-color: rgba(255, 255, 255, .1); }
.topbar .btn { margin-left: 6px; }
.topbar__menu { display: none; }

@media (max-width: 879px) {
  .topbar .btn { margin-left: auto; }
  .topbar__menu {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(var(--sky-dark), var(--sky-dark)) 0 4px / 100% calc(100% - 4px) no-repeat;
    position: relative;
    isolation: isolate;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .topbar__menu::before { content: ""; position: absolute; inset: 0 0 4px; z-index: -1; border-radius: 50%; background: var(--sky); transition: transform .3s var(--spring); }
  .topbar__menu:active::before, .topbar__menu:active span { transform: translateY(3px); }
  .topbar__menu span,
  .topbar__menu span::before,
  .topbar__menu span::after {
    display: block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform .35s var(--spring), opacity .2s;
  }
  .topbar__menu span { position: relative; }
  .topbar__menu span::before, .topbar__menu span::after { content: ""; position: absolute; left: 0; }
  .topbar__menu span::before { top: -6px; }
  .topbar__menu span::after { top: 6px; }
  .menu-open .topbar__menu span { background: transparent; }
  .menu-open .topbar__menu span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .topbar__menu span::after { transform: translateY(-6px) rotate(-45deg); }

  .topbar__nav {
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
    padding: 10px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 6px 0 var(--cream-dark), 0 24px 48px rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: 50% 0;
    transition: opacity .2s, transform .35s var(--spring), visibility 0s .35s;
  }
  .menu-open .topbar__nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .45s var(--spring), visibility 0s; }
  .topbar__nav ul { flex-direction: column; }
  .topbar__nav a { padding: 15px 16px; border-radius: 14px; color: var(--ink); font-size: 1.125rem; }
  .topbar__nav a:hover { background-color: rgba(43, 33, 64, .06); }
}

/* ---------- Topo: cena da ilha com o banco ---------- */
.hero {
  --sw: clamp(580px, min(100vw, (100svh - 330px) * 2.25), 1100px);
  position: relative;
  overflow: clip;
  padding: 72px 0 clamp(40px, 8vw, 104px);
  text-align: center;
  background:
    var(--zigzag),
    radial-gradient(ellipse 75% 60% at 50% 34%, rgba(46, 124, 156, .62), transparent 72%),
    linear-gradient(180deg, var(--table) 0%, var(--table-mid) 62%, var(--table-deep) 100%);
}
.hero__scene { position: relative; left: 50%; width: var(--sw); translate: -50% 0; }
.stage { position: relative; aspect-ratio: 1200 / 540; }
.plx { position: absolute; inset: 0; }
.js .plx { will-change: transform; }
.it {
  position: absolute;
  left: calc(var(--x) - var(--w) / 2);
  bottom: calc(100% - var(--b));
  width: var(--w);
  height: auto;
}
.island {
  position: absolute;
  left: 9%;
  width: 82%;
  top: 49%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse 62% 62% at 50% 28%, var(--board-light), var(--board) 72%);
  box-shadow:
    0 calc(var(--sw) * .012) 0 var(--board-dark),
    0 calc(var(--sw) * .03) calc(var(--sw) * .025) rgba(6, 22, 34, .38);
  animation: rise 1s var(--ease-out) both;
}
.it--pop { transform-origin: 50% 92%; animation: pop .9s var(--spring) var(--d, 0s) both; }
.it--coin, .it--die { transform: rotate(var(--r, 0deg)); animation: drop 1.1s var(--spring-soft) var(--d, 0s) both; }
.it--bank { filter: drop-shadow(0 calc(var(--sw) * .008) 0 rgba(150, 70, 10, .18)); }
@keyframes rise { from { opacity: 0; transform: translateY(16%) scale(.9); } }
@keyframes pop {
  0% { opacity: 0; transform: translateY(24%) scale(.45); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-160%) rotate(calc(var(--r, 0deg) - 120deg)) scale(.7); }
  40% { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--r, 0deg)); }
}

.hero__content { position: relative; z-index: 2; padding-inline: var(--gutter); }
.hero__logo { width: min(86vw, 600px); margin: calc(var(--sw) * -.12) auto 0; }
.hero__logo img { width: 100%; animation: logo-in 1s var(--spring) .3s both; transform-origin: 50% 70%; }
@keyframes logo-in { from { transform: translateY(-10%) scale(.78) rotate(-3deg); } }
.hero__tagline {
  max-width: 24ch;
  margin: clamp(6px, 1.2vw, 14px) auto 0;
  font: 400 clamp(1.375rem, 1.05rem + 1.5vw, 2.125rem)/1.12 var(--font-display);
  color: #fff;
  -webkit-text-stroke: 7px var(--table-ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--table-ink);
  text-wrap: balance;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: clamp(20px, 2.6vw, 30px);
}
.hero__note { margin-top: 14px; font-size: .9375rem; font-weight: 800; color: rgba(255, 255, 255, .78); }
.hero__tagline, .hero__cta, .hero__note { animation: fade-up .8s var(--ease-out) both; }
.hero__tagline { animation-delay: .55s; }
.hero__cta { animation-delay: .68s; }
.hero__note { animation-delay: .8s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.peek { position: absolute; bottom: 0; z-index: 1; display: none; width: clamp(220px, 19vw, 300px); }
.peek--left { left: max(-30px, calc(50% - 720px)); }
.peek--right { right: max(-30px, calc(50% - 720px)); }
.peek img { width: 100%; margin-bottom: -18%; transform: rotate(var(--rot)); transform-origin: 50% 100%; animation: peek-in 1s var(--spring-soft) 1s both; }
@keyframes peek-in { from { transform: translateY(70%) rotate(var(--rot)); } }
@media (min-width: 1180px) { .peek { display: block; } }

@media (max-width: 599px) {
  .hero { padding-top: 64px; }
  .hero__cta { flex-direction: column; align-items: stretch; width: min(100%, 340px); margin-inline: auto; }
  .hero__cta .btn--white { --h: 52px; --fs: 1.1875rem; }
}

/* ---------- Seção do celular ---------- */
.intro { padding-block: clamp(24px, 9vw, 120px) clamp(72px, 10vw, 128px); }
.intro__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; }
}
.intro__phones { position: relative; display: grid; justify-items: center; padding-right: 12%; }
@media (min-width: 960px) { .intro__phones { padding-right: 18%; } }
.phone {
  --pw: min(290px, 56vw);
  position: relative;
  display: grid;
  width: var(--pw);
  padding: calc(var(--pw) * .032);
  border-radius: calc(var(--pw) * .135);
  background: linear-gradient(150deg, #33485a 0%, #0c1822 32%, #101e29 70%, #263847 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 calc(var(--pw) * .012) #070d12,
    0 2px 0 1px #050a0e,
    0 40px 70px -10px rgba(3, 12, 20, .7);
}
.phone::after {
  content: "";
  position: absolute;
  top: 24%;
  right: -3px;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #22323f;
}
.phone img { grid-area: 1 / 1; width: 100%; border-radius: calc(var(--pw) * .105); }
.phone--front { z-index: 2; transform: rotate(-3deg); }
.phone--back {
  --pw: min(244px, 46vw);
  position: absolute;
  top: 9%;
  left: 50%;
  margin-left: calc(var(--pw) * -.08);
  transform: rotate(7deg);
  filter: brightness(.82) saturate(.95);
}
.phone__shot { transition: opacity .45s var(--ease-out), transform .6s var(--spring); }
.phone__shot:not(.is-on) { opacity: 0; transform: scale(.97); }
.seg {
  position: relative;
  z-index: 3;
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  border-radius: 999px;
  background: var(--table-slot);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, .25), 0 1px 0 rgba(255, 255, 255, .08);
}
.seg__btn {
  padding: 10px 16px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 900;
  font-size: .9375rem;
  line-height: 1;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .4s var(--spring);
}
.seg__btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 0 var(--cream-dark); transform: translateY(-1px); }
.intro__caption { margin-top: 12px; font-size: .9375rem; font-weight: 800; color: rgba(255, 255, 255, .72); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-weight: 800;
  font-size: .96875rem;
  line-height: 1.2;
}
.chips li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  box-shadow: 0 1.5px 0 #B07400;
}
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.store__note { font-size: .9375rem; font-weight: 800; line-height: 1.35; color: rgba(255, 255, 255, .75); }

/* ---------- Cartões do que tem no jogo ---------- */
.features {
  padding-block: clamp(72px, 10vw, 128px);
  background:
    var(--zigzag),
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(46, 124, 156, .4), transparent 70%),
    linear-gradient(180deg, var(--table-deep), var(--table-mid) 50%, var(--table-deep));
}
.cards { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  --c: var(--green); --c-hi: #5FD873; --c-dark: var(--green-dark); --c-ink: #1A7A2E;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 7px 0 var(--cream-dark), 0 22px 40px -8px rgba(3, 14, 24, .55);
  transition: transform .55s var(--spring), box-shadow .3s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px) rotate(-.5deg); }
  .card:nth-child(even):hover { transform: translateY(-6px) rotate(.5deg); }
}
.card--orange { --c: var(--orange); --c-hi: #FFB866; --c-dark: var(--orange-dark); --c-ink: #A84F00; }
.card--gold { --c: var(--gold); --c-hi: var(--gold-light); --c-dark: var(--gold-dark); --c-ink: #8F6100; }
.card--violet { --c: var(--violet-light); --c-hi: #A98AF5; --c-dark: var(--violet); --c-ink: var(--violet); }
.card--sky { --c: var(--sky); --c-hi: #82C3FA; --c-dark: var(--sky-dark); --c-ink: #1D63AE; }
.card--teal { --c: var(--group-f); --c-hi: #5CCFC4; --c-dark: #1B8A7F; --c-ink: #127065; }
.card__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 176px;
  margin: 9px 9px 0;
  padding: 18px 16px 24px;
  border-radius: 19px;
  background: var(--zigzag-art), radial-gradient(ellipse 70% 80% at 50% 30%, var(--c-hi), var(--c) 75%);
  box-shadow: inset 0 -7px 0 var(--c-dark), inset 0 2px 0 rgba(255, 255, 255, .35);
  overflow: hidden;
}
.card__body { padding: 18px 22px 26px; }
.card__title {
  font: 400 1.625rem/1.05 var(--font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.card__body p { margin-top: 8px; font-weight: 700; color: var(--ink-body); text-wrap: pretty; }
.card__img { width: 128px; filter: drop-shadow(0 7px 0 rgba(0, 0, 0, .14)); transition: transform .6s var(--spring); }
@media (hover: hover) { .card:hover .card__img { transform: scale(1.08) rotate(-4deg); } }

.trio { display: flex; }
.badge {
  display: block;
  width: 88px;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ring) 25%, #fff) 0 calc(50% - 6px), var(--ring) calc(50% - 5px));
  box-shadow: 0 5px 0 rgba(0, 0, 0, .2);
  transition: transform .5s var(--spring);
}
.badge + .badge { margin-left: -22px; }
.badge img { width: 100%; border-radius: 50%; }
@media (hover: hover) {
  .card:hover .badge:nth-child(1) { transform: translateY(-6px) rotate(-6deg); }
  .card:hover .badge:nth-child(2) { transform: translateY(-10px); transition-delay: .04s; }
  .card:hover .badge:nth-child(3) { transform: translateY(-6px) rotate(6deg); transition-delay: .08s; }
}
.card--wide .card__art { grid-auto-flow: column; gap: 22px; }
.ticket {
  display: flex;
  gap: 4px;
  padding: 6px 7px 11px;
  border-radius: 12px;
  background: linear-gradient(#fff, #fff) 0 0 / 100% calc(100% - 5px) no-repeat, #1A5BA0;
  rotate: 4deg;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}
.ticket span, .otp span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 8px;
  background: var(--sky);
  box-shadow: inset 0 -3px 0 var(--sky-dark);
  font: 400 1.375rem/1 var(--font-display);
  color: #fff;
  -webkit-text-stroke: 4px #174E8C;
  paint-order: stroke fill;
}
.pile { position: relative; width: 190px; height: 128px; }
.pile img { position: absolute; width: 104px; filter: drop-shadow(0 6px 0 rgba(150, 90, 0, .25)); transition: transform .6s var(--spring); }
.pile img:nth-child(1) { left: 0; top: 22px; rotate: -14deg; }
.pile img:nth-child(2) { left: 74px; top: 18px; rotate: 12deg; }
.pile img:nth-child(3) { left: 38px; top: 0; }
@media (hover: hover) {
  .card:hover .pile img:nth-child(1) { transform: translate(-6px, -4px); }
  .card:hover .pile img:nth-child(2) { transform: translate(6px, -4px); }
  .card:hover .pile img:nth-child(3) { transform: translateY(-12px); }
}
.otp { display: flex; gap: 6px; }
.otp span {
  width: 40px;
  height: 50px;
  background: #fff;
  box-shadow: inset 0 -4px 0 var(--cream-dark), 0 4px 0 rgba(0, 0, 0, .14);
  color: var(--ink);
  -webkit-text-stroke: 0;
  font-size: 1.625rem;
}
.otp__label { position: absolute; bottom: 16px; font-weight: 900; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.card--teal .card__art { padding-bottom: 44px; }
@media (max-width: 420px) {
  .card--wide .card__art { gap: 14px; }
  .badge { width: 72px; }
  .ticket span { width: 26px; height: 32px; font-size: 1.125rem; }
  .ticket span:nth-child(n+4) { display: none; }
  .otp span { width: 34px; height: 44px; font-size: 1.375rem; }
}

/* ---------- Tabuleiro com as cidades ---------- */
.cities { padding-block: clamp(56px, 8vw, 104px); }
.board {
  position: relative;
  padding: clamp(36px, 6vw, 72px) clamp(14px, 3.4vw, 40px) clamp(40px, 6vw, 64px);
  border-radius: clamp(26px, 3.5vw, 40px);
  background: radial-gradient(ellipse 80% 55% at 50% 20%, #FBB874, var(--board) 70%);
  box-shadow:
    inset 0 0 0 clamp(8px, 1.1vw, 12px) var(--board-dark),
    inset 0 clamp(12px, 1.6vw, 16px) 0 clamp(8px, 1.1vw, 12px) rgba(255, 210, 160, .55),
    0 12px 0 #B9641E,
    0 40px 70px -14px rgba(3, 14, 24, .65);
  text-align: center;
  color: var(--ink);
}
.board .lead { margin-inline: auto; }
.groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 20px;
  margin-top: 40px;
}
.group { display: flex; flex-direction: column; align-items: center; }
.group__name {
  margin-bottom: 14px;
  padding: 6px 14px 7px;
  border-radius: 999px;
  font: 400 1rem/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(var(--g), var(--g));
  box-shadow: 0 3px 0 var(--gd);
  -webkit-text-stroke: 4px var(--gd);
  paint-order: stroke fill;
}
.group__list { display: flex; gap: 12px; padding: 0; list-style: none; }
.tile {
  --tw: 140px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--tw);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 0 #E3CDB0, 0 14px 22px -6px rgba(120, 55, 5, .45);
  transition: transform .5s var(--spring);
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-8px) rotate(-2deg); }
  .tile:nth-child(even):hover { transform: translateY(-8px) rotate(2deg); }
}
.tile__name {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 40px;
  padding: 7px 6px 8px;
  border-radius: 16px 16px 6px 6px;
  font: 400 1rem/1 var(--font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(var(--g), var(--g));
  box-shadow: inset 0 -3px 0 var(--gd);
  -webkit-text-stroke: 4px var(--gd);
  paint-order: stroke fill;
  text-shadow: 0 1.5px 0 var(--gd);
  text-wrap: balance;
}
.tile img { width: 88%; margin: 4px auto 0; transition: transform .6s var(--spring); }
@media (hover: hover) { .tile:hover img { transform: scale(1.06) translateY(-2px); } }
.tile__mark { padding: 0 8px 12px; font-weight: 800; font-size: .8125rem; line-height: 1.2; color: var(--ink-soft); }
.tile__only {
  position: absolute;
  top: 46px;
  right: -6px;
  padding: 5px 8px 6px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .6875rem;
  line-height: 1;
  color: #fff;
  background: var(--table-ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  rotate: 6deg;
}
.cities__note { margin-top: 36px; font-weight: 800; font-size: .9375rem; color: #5A3612; }
@media (max-width: 639px) {
  .groups { gap: 22px 0; margin-top: 30px; }
  .group { width: 100%; }
  .group__name { margin-bottom: 10px; font-size: .875rem; }
  .group__list { justify-content: center; width: 100%; gap: 8px; }
  .tile { --tw: calc((100% - 16px) / 3); border-radius: 12px; box-shadow: 0 4px 0 #E3CDB0, 0 10px 16px -6px rgba(120, 55, 5, .45); }
  .tile__name { min-height: 34px; padding: 6px 3px; border-radius: 12px 12px 5px 5px; font-size: clamp(.6875rem, 3.2vw, .8125rem); -webkit-text-stroke-width: 3px; text-shadow: 0 1px 0 var(--gd); }
  .tile__mark { padding: 0 4px 9px; font-size: .6875rem; }
  .tile__only { top: 28px; right: -5px; padding: 4px 6px; font-size: .5625rem; }
  .cities__note { margin-top: 28px; font-size: .875rem; }
}

/* ---------- Bichos ---------- */
.pets {
  padding-block: clamp(72px, 10vw, 128px);
  background:
    var(--zigzag),
    radial-gradient(ellipse 55% 60% at 75% 45%, rgba(138, 92, 240, .7), transparent 70%),
    linear-gradient(180deg, var(--violet) 0%, var(--violet-dark) 70%, #321678 100%);
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, .08), inset 0 -12px 0 rgba(10, 2, 40, .28);
}
.pets__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .pets__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.pets .lead { color: rgba(255, 255, 255, .92); }
.picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 10px;
  max-width: 560px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}
.pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pick img {
  width: min(100%, 104px);
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ring) 25%, #fff) 0 calc(50% - 6px), var(--ring) calc(50% - 5px));
  box-shadow: 0 5px 0 rgba(15, 5, 50, .35);
  transition: transform .5s var(--spring), box-shadow .3s;
}
.pick span {
  font: 400 clamp(.8125rem, 3.4vw, 1.0625rem)/1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 5px var(--night);
  paint-order: stroke fill;
  text-shadow: 0 2px 0 var(--night);
  transition: color .2s;
}
@media (hover: hover) { .pick:hover img { transform: translateY(-5px) rotate(-4deg); } }
.pick:active img { transform: scale(.94); transition-duration: .08s; }
.pick[aria-pressed="true"] img { transform: translateY(-6px) scale(1.06); box-shadow: 0 0 0 4px var(--gold), 0 10px 0 rgba(15, 5, 50, .35); }
.pick[aria-pressed="true"] span { color: var(--gold-light); }
.pick:focus-visible { outline: none; }
.pick:focus-visible img { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.pets__robot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-weight: 800;
  color: rgba(255, 255, 255, .86);
}
.pets__robot img { width: 54px; border-radius: 50%; background: rgba(255, 255, 255, .14); padding: 3px; rotate: -6deg; }
.pets__stage { display: grid; justify-items: center; }
.podium {
  --ring: var(--p-red);
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ring) 22%, #fff) 0 calc(50% - 14px), var(--ring) calc(50% - 13px));
  box-shadow: 0 14px 0 rgba(15, 5, 50, .38), 0 0 0 12px rgba(255, 255, 255, .1), 0 40px 80px rgba(10, 2, 40, .5);
  transition: background .3s;
}
.podium img { width: 100%; border-radius: 50%; }
.podium.is-swap img { animation: swap .6s var(--spring); }
@keyframes swap { 0% { transform: scale(.6) rotate(-8deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.podium__name {
  margin-top: 30px;
  font: 400 clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem)/1 var(--font-display);
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 8px var(--night);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--night);
  text-align: center;
}
@media (max-width: 959px) {
  .pets__grid { gap: 0; text-align: center; }
  .pets__text { display: contents; }
  .pets .lead { margin-inline: auto; }
  .pets__stage { order: 1; margin-top: 36px; }
  .picker, .pets__robot { order: 2; }
  .picker { width: 100%; margin-inline: auto; margin-top: 40px; }
  .pets__robot { justify-content: center; }
}

/* ---------- Como jogar ---------- */
.howto {
  padding-block: clamp(72px, 10vw, 128px);
  background:
    var(--zigzag),
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(46, 124, 156, .5), transparent 70%),
    linear-gradient(180deg, var(--table) 0%, var(--table-mid) 100%);
}
.steps {
  display: grid;
  gap: 30px 20px;
  margin-top: 54px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  position: relative;
  padding: 30px 20px 24px;
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--cream-dark), 0 18px 34px -8px rgba(3, 14, 24, .5);
  counter-increment: step;
  transition: transform .5s var(--spring);
}
@media (hover: hover) { .step:hover { transform: translateY(-5px); } }
.step::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding-bottom: 3px;
  border-radius: 50%;
  background: linear-gradient(var(--sky), var(--sky)) 0 0 / 100% calc(100% - 3px) no-repeat, var(--sky-dark);
  font: 400 1.5rem/1 var(--font-display);
  color: #fff;
  -webkit-text-stroke: 5px #174E8C;
  paint-order: stroke fill;
}
.step img { position: absolute; top: -26px; right: 12px; width: 76px; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .12)); transition: transform .6s var(--spring); }
@media (hover: hover) { .step:hover img { transform: rotate(-8deg) scale(1.08); } }
.step h3 {
  margin-top: 16px;
  padding-right: 56px;
  font: 400 1.5rem/1.05 var(--font-display);
  text-transform: uppercase;
  color: var(--table);
}
.step p { margin-top: 8px; font-weight: 700; color: var(--ink-body); text-wrap: pretty; }
.step--cta {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 180px;
  background: transparent;
  box-shadow: none;
  border: 3px dashed rgba(255, 255, 255, .32);
  counter-increment: none;
  text-align: center;
}
.step--cta::before { display: none; }
.step .step__ready {
  font: 400 2.25rem/1 var(--font-display);
  text-transform: uppercase;
  color: var(--gold-light);
  -webkit-text-stroke: 7px var(--table-ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--table-ink);
}
.howto__note { max-width: 70ch; margin-top: 40px; font-weight: 700; color: rgba(255, 255, 255, .82); }

/* ---------- Dúvidas ---------- */
.faq {
  padding-block: clamp(72px, 10vw, 128px);
  background: var(--zigzag), linear-gradient(180deg, var(--table-mid), var(--table-deep));
}
.faq__wrap { max-width: 860px; }
.faq__list { margin-top: 36px; }
.qa {
  margin-top: 14px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--cream-dark), 0 14px 26px -8px rgba(3, 14, 24, .5);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 16px 14px 22px;
  border-radius: 18px;
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v11M2.5 8h11' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat,
    radial-gradient(circle at 50% 40%, #6BB8FA, var(--sky) 70%);
  box-shadow: 0 3px 0 var(--sky-dark);
  transition: transform .45s var(--spring), background-color .2s;
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa__a { padding: 0 22px 22px; font-weight: 700; color: var(--ink-body); }
.qa__a p + p, .qa__a ol + p { margin-top: 10px; }
.qa__a ol { padding-left: 1.3em; }
.qa__a li + li { margin-top: 6px; }
.qa__a a { color: var(--link); font-weight: 900; }
@supports selector(::details-content) {
  .qa::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- Faixa de download ---------- */
.get {
  position: relative;
  overflow: clip;
  padding-block: clamp(72px, 10vw, 128px);
  background:
    var(--zigzag),
    radial-gradient(circle at 72% 55%, rgba(255, 200, 61, .32), transparent 45%),
    radial-gradient(ellipse 70% 70% at 20% 40%, rgba(46, 124, 156, .55), transparent 70%),
    linear-gradient(180deg, var(--table-deep) 0%, var(--table) 50%, var(--table-deep) 100%);
}
.get__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .get__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 64px; } }
.get__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.get__note { font-weight: 800; color: rgba(255, 255, 255, .78); }
.qr {
  display: none;
  align-items: center;
  gap: 18px;
  max-width: 440px;
  margin-top: 34px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--cream-dark), 0 14px 26px -8px rgba(3, 14, 24, .5);
}
.qr img { flex: none; width: 104px; height: 104px; padding: 8px; border-radius: 12px; background: #fff; image-rendering: pixelated; }
.qr p { font-weight: 800; font-size: .96875rem; line-height: 1.4; color: var(--ink-body); }
@media (min-width: 900px) and (hover: hover) { .qr { display: flex; } }
.get__art { position: relative; justify-self: center; width: min(420px, 78vw); }
.poster {
  padding: 10px 10px 14px;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 8px 0 var(--cream-dark), 0 40px 80px -16px rgba(0, 0, 0, .6);
  rotate: 3deg;
  transition: rotate .7s var(--spring), transform .7s var(--spring);
}
.poster img { width: 100%; border-radius: 20px; }
@media (hover: hover) { .get__art:hover .poster { rotate: 0deg; transform: scale(1.02); } }
.get__coin { position: absolute; width: 21%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.get__coin--a { top: -6%; left: -9%; rotate: -16deg; }
.get__coin--b { bottom: 8%; right: -10%; width: 16%; rotate: 14deg; }
@media (max-width: 899px) {
  .get__grid { text-align: center; }
  .get__art { order: -1; width: min(340px, 74vw); }
  .get__actions { justify-content: center; flex-direction: column; }
  .get .lead { margin-inline: auto; }
}

/* ---------- Rodapé ---------- */
.footer { padding-block: 48px 40px; background: var(--table-ink); color: rgba(255, 255, 255, .78); font-size: .96875rem; }
.footer__grid { display: grid; gap: 18px; justify-items: start; }
.footer__brand img { width: 150px; }
.footer__about { font-weight: 700; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a { padding: 8px 0; font-weight: 800; color: #fff; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-weight: 700; color: rgba(255, 255, 255, .6); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; }
  .footer__about { grid-column: 1; grid-row: 2; }
  .footer__nav { grid-column: 3; grid-row: 1; }
  .footer__copy { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* ---------- Aviso de download ---------- */
.sheet {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  width: min(420px, 100% - 24px);
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 7px 0 var(--cream-dark), 0 30px 60px rgba(0, 0, 0, .5);
  translate: -50% 0;
  animation: sheet-in .55s var(--spring) both;
}
.sheet[hidden] { display: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.95); } }
.sheet__title { padding-right: 44px; font: 400 1.5rem/1.1 var(--font-display); text-transform: uppercase; color: var(--table); }
.sheet ol { margin-top: 12px; padding-left: 1.3em; font-weight: 700; color: var(--ink-body); }
.sheet li + li { margin-top: 6px; }
.sheet p { font-weight: 700; color: var(--ink-body); }
.sheet__body > p:not(.sheet__title) { margin-top: 10px; }
.sheet__qr { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.sheet__qr img { flex: none; width: 112px; height: 112px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cream-dark); }
.sheet__link { display: inline-block; margin-top: 14px; font-weight: 900; color: var(--link); }
.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  font: 400 1.75rem/1 var(--font-display);
  color: #fff;
  background: linear-gradient(var(--red), var(--red)) 0 0 / 100% calc(100% - 4px) no-repeat, var(--red-dark);
  cursor: pointer;
}
.sheet__close:active { transform: translateY(2px); }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .7s var(--ease-out), translate .9s var(--spring-soft);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* ---------- Páginas de texto (privacidade, termos, 404) ---------- */
.page main { padding-block: 120px 96px; background: var(--zigzag), radial-gradient(ellipse 70% 40% at 50% 0%, rgba(46, 124, 156, .55), transparent 70%), linear-gradient(180deg, var(--table), var(--table-deep) 60%); }
.page__wrap { max-width: 860px; }
.page__date { margin-top: 14px; font-weight: 800; color: rgba(255, 255, 255, .78); }
.paper {
  margin-top: 36px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 8px 0 var(--cream-dark), 0 30px 60px -12px rgba(3, 14, 24, .55);
  font-weight: 600;
  line-height: 1.68;
}
.paper h2 { margin-top: 2.1em; font: 400 1.5rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--table); }
.paper h2:first-child { margin-top: 0; }
.paper p, .paper ul, .paper ol { margin-top: .85em; color: #3A3050; }
.paper ul, .paper ol { padding-left: 1.3em; }
.paper li + li { margin-top: .45em; }
.paper strong { font-weight: 800; color: var(--ink); }
.paper a { color: var(--link); font-weight: 800; }

.lost { display: grid; justify-items: center; text-align: center; min-height: calc(100svh - 240px); align-content: center; }
.lost__art { position: relative; width: min(220px, 55vw); }
.lost__art img { width: 100%; animation: pop .9s var(--spring) .1s both; }
.lost__code {
  margin-top: 10px;
  font: 400 clamp(4.5rem, 3rem + 7vw, 8rem)/.9 var(--font-display);
  color: var(--gold-light);
  -webkit-text-stroke: .14em var(--table-ink);
  paint-order: stroke fill;
  text-shadow: 0 .07em 0 var(--table-ink);
}
.lost .title { margin-top: 12px; }
.lost .lead { margin-inline: auto; }
.lost .btn { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
