/* Site institucional do Missão do Dia. Identidade do app: noite de aventura, pixel art, bordas em box-shadow.
   O build substitui os marcadores de fontes/estrelas e as referências a assets (prefixo arroba-asset) por ficheiros com hash. */

@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/press-start-2p-latin-400-normal.afec86997f.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/press-start-2p-latin-ext-400-normal.3c7df3a15e.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"VT323";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/vt323-latin-400-normal.8ddbebcc10.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"VT323";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/vt323-latin-ext-400-normal.4435f062eb.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root {
  --ink: #0e0c1f;
  --cream: #f4f1e6;
  --gold: #f7c548;
  --gold-dark: #c98a2b;
  --gold-light: #ffe08a;
  --red: #e8505b;
  --red-dark: #a8323e;
  --red-light: #f28a92;
  --green: #5fd068;
  --green-dark: #2f8f4a;
  --green-light: #9be7a1;
  --blue: #4fa3e0;
  --blue-dark: #2c5d9e;
  --panel: #2f2a5c;
  --panel-light: #4a4290;
  --panel-shade: #262152;
  --panel-deep: #231f48;
  --night-0: #120f26;
  --night-1: #17132f;
  --night-2: #1d1839;
  --night-3: #241e45;
  --gray-light: #b9b4d6;
  --gray: #6b6594;
  --paper-ink: #2b2440;
  --paper-edge: #c9b98f;
  --font-body: "VT323", "Courier New", monospace;
  --font-title: "Press Start 2P", "VT323", "Courier New", monospace;
  --header-h: 76px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-0);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.35;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body {
    font-size: 24px;
  }
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-light);
}

strong {
  font-weight: 400;
  color: var(--gold);
}

svg.sprite {
  display: block;
  flex: none;
  height: auto;
  image-rendering: pixelated;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
}

@media (min-width: 700px) {
  .wrap {
    padding-inline: 36px;
  }
}

/* ---------------------------------------------------------------- componentes do app */

.panel {
  --edge: var(--cream);
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--panel);
  box-shadow:
    0 -4px 0 0 var(--edge),
    0 4px 0 0 var(--edge),
    -4px 0 0 0 var(--edge),
    4px 0 0 0 var(--edge),
    0 -8px 0 0 var(--ink),
    0 8px 0 0 var(--ink),
    -8px 0 0 0 var(--ink),
    8px 0 0 0 var(--ink),
    -4px -4px 0 0 var(--ink),
    4px -4px 0 0 var(--ink),
    -4px 4px 0 0 var(--ink),
    4px 4px 0 0 var(--ink),
    inset 0 -6px 0 0 var(--panel-shade);
}

.panel-quiet {
  --edge: var(--gray);
  background: var(--night-3);
  box-shadow:
    0 -4px 0 0 var(--edge),
    0 4px 0 0 var(--edge),
    -4px 0 0 0 var(--edge),
    4px 0 0 0 var(--edge),
    0 -8px 0 0 var(--ink),
    0 8px 0 0 var(--ink),
    -8px 0 0 0 var(--ink),
    8px 0 0 0 var(--ink),
    -4px -4px 0 0 var(--ink),
    4px -4px 0 0 var(--ink),
    -4px 4px 0 0 var(--ink),
    4px 4px 0 0 var(--ink);
}

.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  --lo: var(--gold-dark);
  --hi: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--fg);
  background: var(--bg);
  cursor: pointer;
  box-shadow:
    0 -4px 0 0 var(--ink),
    0 4px 0 0 var(--ink),
    -4px 0 0 0 var(--ink),
    4px 0 0 0 var(--ink),
    inset 0 -5px 0 0 var(--lo),
    inset 0 4px 0 0 var(--hi);
}

.btn:hover {
  color: var(--fg);
  filter: brightness(1.08);
}

.btn:active {
  box-shadow:
    0 -4px 0 0 var(--ink),
    0 4px 0 0 var(--ink),
    -4px 0 0 0 var(--ink),
    4px 0 0 0 var(--ink),
    inset 0 -2px 0 0 var(--lo),
    inset 0 4px 0 0 var(--lo);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: translateY(2px);
  }
}

.btn:focus-visible {
  outline-offset: 8px;
}

.btn-green {
  --bg: var(--green);
  --lo: var(--green-dark);
  --hi: var(--green-light);
}

.btn-ghost {
  --bg: var(--panel);
  --fg: var(--cream);
  --lo: var(--panel-deep);
  --hi: var(--panel-light);
}

.btn-sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 21px;
}

.btn-lg {
  min-height: 56px;
  padding: 14px 26px;
  font-size: 27px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--cream);
  background: var(--night-2);
  box-shadow: 0 0 0 3px var(--ink);
}

.chip-green {
  color: var(--ink);
  background: var(--green);
}

.chip-gold {
  color: var(--ink);
  background: var(--gold);
}

.chip-red {
  color: var(--ink);
  background: var(--red);
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--ink);
}

/* ---------------------------------------------------------------- cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--night-0);
  box-shadow: 0 4px 0 0 var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--font-title);
  font-size: 12px;
  line-height: 1.4;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--ink);
}

.brand-icon {
  width: 28px;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 4px 24px;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gray-light);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cream);
  text-decoration: underline;
}

@media (min-width: 960px) {
  .site-nav {
    display: block;
  }
  .brand {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 10px;
  }
  .header-cta {
    padding-inline: 12px;
  }
}

/* ---------------------------------------------------------------- cenário (céu + montanhas) */

.hero,
.legal-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    var(--night-0) 0 25%,
    var(--night-1) 25% 50%,
    var(--night-2) 50% 75%,
    var(--night-3) 75% 100%
  );
}

.stars {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 4px;
  height: 4px;
}

.stars{box-shadow:608px 692px 0 0 #f4f1e6,124px 648px 0 0 #6b6594,176px 744px 0 0 #f7c548,1360px 340px 0 0 #f4f1e6,1988px 592px 0 0 #6b6594,2180px 272px 0 0 #6b6594,1916px 632px 0 0 #6b6594,2512px 92px 0 0 #6b6594,276px 84px 0 0 #f4f1e6,216px 460px 0 0 #f7c548,680px 448px 0 0 #6b6594,1308px 540px 0 0 #6b6594,2236px 472px 0 0 #f4f1e6,1240px 132px 0 0 #f4f1e6,1504px 372px 0 0 #6b6594,456px 0px 0 0 #f4f1e6,368px 412px 0 0 #f4f1e6,948px 308px 0 0 #f4f1e6,1288px 364px 0 0 #f4f1e6,828px 672px 0 0 #6b6594,2428px 540px 0 0 #6b6594,752px 624px 0 0 #6b6594,1300px 572px 0 0 #6b6594,900px 156px 0 0 #f7c548,520px 512px 0 0 #6b6594,684px 396px 0 0 #6b6594,988px 352px 0 0 #f4f1e6,1980px 176px 0 0 #f4f1e6,192px 564px 0 0 #f7c548,1440px 644px 0 0 #f4f1e6,1112px 756px 0 0 #f7c548,500px 212px 0 0 #f7c548,2076px 748px 0 0 #f7c548,72px 668px 0 0 #f4f1e6,616px 700px 0 0 #f7c548,1656px 424px 0 0 #6b6594,68px 4px 0 0 #f4f1e6,224px 276px 0 0 #f4f1e6,480px 420px 0 0 #6b6594,1376px 44px 0 0 #6b6594,1128px 136px 0 0 #f4f1e6,1104px 88px 0 0 #f7c548,216px 444px 0 0 #f4f1e6,952px 484px 0 0 #6b6594,876px 516px 0 0 #6b6594,2016px 424px 0 0 #f4f1e6,1360px 216px 0 0 #f4f1e6,2024px 20px 0 0 #f4f1e6,148px 396px 0 0 #f7c548,1092px 696px 0 0 #f4f1e6,624px 324px 0 0 #f7c548,628px 100px 0 0 #f7c548,348px 248px 0 0 #f4f1e6,460px 516px 0 0 #f7c548,1116px 44px 0 0 #f7c548,1160px 12px 0 0 #f4f1e6,740px 300px 0 0 #f4f1e6,2492px 472px 0 0 #6b6594,504px 712px 0 0 #f4f1e6,1768px 556px 0 0 #f4f1e6,576px 40px 0 0 #f7c548,1420px 276px 0 0 #f7c548,2116px 428px 0 0 #6b6594,2128px 692px 0 0 #6b6594,2492px 0px 0 0 #f7c548,600px 400px 0 0 #f7c548,1060px 488px 0 0 #f4f1e6,1232px 196px 0 0 #6b6594,996px 540px 0 0 #f7c548,1044px 88px 0 0 #6b6594,1688px 608px 0 0 #f4f1e6,1952px 352px 0 0 #6b6594,244px 232px 0 0 #6b6594,1776px 52px 0 0 #f7c548,2492px 536px 0 0 #f4f1e6,2216px 132px 0 0 #6b6594,900px 112px 0 0 #f7c548,932px 8px 0 0 #6b6594,1252px 636px 0 0 #f4f1e6,196px 424px 0 0 #f4f1e6,488px 176px 0 0 #f4f1e6,2220px 220px 0 0 #6b6594,636px 516px 0 0 #f7c548,2184px 580px 0 0 #f7c548,356px 520px 0 0 #6b6594,516px 552px 0 0 #f7c548,444px 368px 0 0 #6b6594,112px 244px 0 0 #f4f1e6,56px 220px 0 0 #6b6594,992px 452px 0 0 #6b6594,1604px 552px 0 0 #6b6594,324px 708px 0 0 #6b6594,1064px 208px 0 0 #f7c548,2132px 12px 0 0 #6b6594,2424px 196px 0 0 #6b6594,104px 468px 0 0 #6b6594,2488px 296px 0 0 #6b6594,68px 652px 0 0 #f7c548,1220px 232px 0 0 #f4f1e6,2216px 196px 0 0 #f4f1e6,876px 368px 0 0 #f4f1e6,2548px 176px 0 0 #f4f1e6,2368px 140px 0 0 #6b6594,288px 360px 0 0 #f7c548,880px 148px 0 0 #f4f1e6,1440px 92px 0 0 #f4f1e6,464px 644px 0 0 #6b6594,1052px 436px 0 0 #f4f1e6,312px 148px 0 0 #f4f1e6,420px 724px 0 0 #6b6594,1292px 320px 0 0 #6b6594,1236px 276px 0 0 #f4f1e6,1728px 84px 0 0 #f7c548,220px 112px 0 0 #6b6594,140px 92px 0 0 #f4f1e6,1888px 196px 0 0 #f4f1e6,496px 144px 0 0 #6b6594,256px 716px 0 0 #6b6594,2544px 260px 0 0 #f7c548,2084px 232px 0 0 #f4f1e6,1724px 636px 0 0 #f7c548,1808px 568px 0 0 #6b6594,96px 100px 0 0 #f7c548,2316px 552px 0 0 #f4f1e6,1456px 304px 0 0 #6b6594,300px 620px 0 0 #f4f1e6,2420px 724px 0 0 #6b6594,1288px 572px 0 0 #f4f1e6,788px 664px 0 0 #f4f1e6,2116px 236px 0 0 #f4f1e6,2548px 536px 0 0 #6b6594,992px 460px 0 0 #6b6594,748px 100px 0 0 #6b6594,588px 556px 0 0 #6b6594,1688px 8px 0 0 #6b6594,2316px 592px 0 0 #6b6594,1396px 620px 0 0 #f7c548,948px 616px 0 0 #f4f1e6,1776px 556px 0 0 #f4f1e6,1496px 52px 0 0 #f7c548,260px 460px 0 0 #6b6594,2176px 408px 0 0 #6b6594,128px 432px 0 0 #f7c548,2368px 484px 0 0 #f7c548,312px 44px 0 0 #f7c548,376px 320px 0 0 #f4f1e6,1620px 564px 0 0 #f4f1e6,936px 492px 0 0 #f4f1e6,1916px 68px 0 0 #f4f1e6,2516px 188px 0 0 #6b6594,1376px 32px 0 0 #f7c548,1604px 404px 0 0 #f4f1e6,1188px 88px 0 0 #6b6594,2116px 140px 0 0 #f7c548,336px 480px 0 0 #f7c548,1416px 704px 0 0 #f7c548,1180px 348px 0 0 #f7c548,1392px 292px 0 0 #6b6594,416px 512px 0 0 #f7c548,896px 20px 0 0 #6b6594,688px 76px 0 0 #f4f1e6,504px 480px 0 0 #f7c548,1232px 288px 0 0 #f7c548,36px 540px 0 0 #6b6594,1656px 240px 0 0 #6b6594,1856px 208px 0 0 #f7c548,1228px 136px 0 0 #f7c548,2472px 40px 0 0 #f4f1e6,488px 336px 0 0 #f7c548,252px 476px 0 0 #f4f1e6,288px 156px 0 0 #6b6594,2472px 180px 0 0 #f4f1e6,1676px 112px 0 0 #f4f1e6,648px 20px 0 0 #f4f1e6,1508px 72px 0 0 #6b6594,528px 188px 0 0 #f7c548,1660px 644px 0 0 #6b6594,1576px 28px 0 0 #6b6594,144px 308px 0 0 #f4f1e6,112px 720px 0 0 #f7c548,1520px 420px 0 0 #6b6594,1632px 136px 0 0 #f4f1e6,656px 376px 0 0 #6b6594,1804px 32px 0 0 #f4f1e6,56px 284px 0 0 #f7c548,1416px 392px 0 0 #6b6594,1756px 608px 0 0 #f7c548,1420px 124px 0 0 #f4f1e6,520px 288px 0 0 #f4f1e6,404px 564px 0 0 #f4f1e6,472px 348px 0 0 #6b6594,1684px 348px 0 0 #f7c548,1288px 28px 0 0 #6b6594,816px 88px 0 0 #6b6594,160px 464px 0 0 #f4f1e6,164px 588px 0 0 #f4f1e6,2400px 108px 0 0 #6b6594,948px 448px 0 0 #6b6594,2364px 236px 0 0 #6b6594,1780px 272px 0 0 #f4f1e6,2364px 688px 0 0 #6b6594,2128px 284px 0 0 #6b6594,888px 16px 0 0 #6b6594,1160px 524px 0 0 #f4f1e6,824px 620px 0 0 #6b6594,1260px 672px 0 0 #f4f1e6,1852px 660px 0 0 #f4f1e6,812px 344px 0 0 #f4f1e6,16px 24px 0 0 #f4f1e6,1864px 544px 0 0 #f7c548,2440px 652px 0 0 #f7c548,2420px 104px 0 0 #6b6594,2332px 672px 0 0 #f4f1e6,1360px 500px 0 0 #6b6594,2040px 680px 0 0 #f7c548,1984px 412px 0 0 #f4f1e6,1016px 40px 0 0 #f4f1e6,1740px 616px 0 0 #6b6594,2548px 724px 0 0 #f4f1e6,168px 24px 0 0 #f4f1e6}
.stars-twinkle{box-shadow:624px 276px 0 0 #f4f1e6,1824px 620px 0 0 #f4f1e6,532px 684px 0 0 #6b6594,208px 588px 0 0 #6b6594,588px 500px 0 0 #6b6594,1072px 368px 0 0 #f7c548,2292px 540px 0 0 #f4f1e6,652px 60px 0 0 #f4f1e6,1508px 400px 0 0 #6b6594,2172px 236px 0 0 #f4f1e6,2392px 52px 0 0 #6b6594,1576px 736px 0 0 #6b6594,1268px 108px 0 0 #f4f1e6,2392px 44px 0 0 #6b6594,180px 468px 0 0 #6b6594,828px 32px 0 0 #6b6594,72px 708px 0 0 #f4f1e6,192px 8px 0 0 #6b6594,1848px 320px 0 0 #f4f1e6,2412px 492px 0 0 #f7c548,196px 728px 0 0 #6b6594,784px 672px 0 0 #f7c548,688px 512px 0 0 #6b6594,368px 400px 0 0 #f7c548,104px 708px 0 0 #f4f1e6,1316px 496px 0 0 #f4f1e6,324px 500px 0 0 #6b6594,1864px 472px 0 0 #f4f1e6,404px 164px 0 0 #6b6594,1336px 632px 0 0 #f7c548,1564px 480px 0 0 #6b6594,2180px 324px 0 0 #f4f1e6,1056px 352px 0 0 #6b6594,2116px 580px 0 0 #f7c548,2164px 412px 0 0 #f4f1e6,1252px 292px 0 0 #f4f1e6,2292px 584px 0 0 #f4f1e6,136px 312px 0 0 #6b6594,1164px 248px 0 0 #f4f1e6,100px 228px 0 0 #f4f1e6}


@media (prefers-reduced-motion: no-preference) {
  .stars-twinkle {
    animation: twinkle 3.2s steps(2, jump-none) infinite;
  }
}

@keyframes twinkle {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.15;
  }
}

.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: clamp(90px, 13vw, 200px);
  background: url("/assets/hills.a1e0b79351.svg") bottom / 100% 100% no-repeat;
  image-rendering: pixelated;
}

/* ---------------------------------------------------------------- herói */

.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(120px, 16vw, 240px);
  box-shadow: 0 4px 0 0 var(--ink);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(21px, 4.1vw, 44px);
  line-height: 1.45;
  color: var(--gold);
  text-shadow: 4px 4px 0 var(--ink);
  text-wrap: balance;
}

.lead {
  max-width: 34em;
  font-size: clamp(25px, 2.5vw, 31px);
  line-height: 1.3;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 6px 4px;
}

.hero-actions .sprite {
  width: 27px;
}

.hero-note {
  color: var(--gray-light);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
  min-height: 180px;
}

.art-hero {
  width: clamp(76px, 10vw, 128px);
}

.art-padlock {
  width: clamp(120px, 17vw, 216px);
}

.art-key {
  position: absolute;
  right: 12%;
  bottom: -8px;
  width: clamp(40px, 5vw, 64px);
}

.art-sparkle {
  position: absolute;
  top: 0;
  left: 18%;
  width: clamp(20px, 2.4vw, 28px);
}

@media (max-width: 899px) {
  .hero-art {
    order: -1;
    min-height: 0;
  }
  .art-hero {
    width: 64px;
  }
  .art-padlock {
    width: 104px;
  }
  .art-key {
    width: 36px;
    right: 18%;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .art-sparkle {
    animation: twinkle 1.6s steps(2, jump-none) infinite;
  }
}

/* ---------------------------------------------------------------- secções */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.band-1 {
  background: var(--night-1);
}

.band-2 {
  background: var(--night-2);
  box-shadow:
    0 -4px 0 0 var(--ink),
    0 4px 0 0 var(--ink);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.eyebrow {
  color: var(--gray-light);
  font-size: 22px;
}

.eyebrow a {
  color: inherit;
}

.section-title,
.page-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 26px);
  line-height: 1.55;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--ink);
  text-wrap: balance;
}

.section-intro {
  max-width: 38em;
  font-size: clamp(23px, 2.2vw, 27px);
  color: var(--cream);
}

.section-more {
  margin-top: 40px;
}

.card-title {
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
}

.feature-title {
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
}

/* como funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 48px 36px;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 36px;
}

.step p {
  color: var(--gray-light);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--ink);
  background: var(--gold);
  box-shadow:
    0 0 0 4px var(--ink),
    inset 0 -4px 0 0 var(--gold-dark);
}

.step-icon {
  width: 64px;
  margin-bottom: 4px;
}

/* para quem */

.tracks {
  display: grid;
  gap: 48px 40px;
}

@media (min-width: 860px) {
  .tracks {
    grid-template-columns: 1fr 1fr;
  }
}

.track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
}

.track > p {
  color: var(--gray-light);
}

.track-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.track-head .sprite {
  width: 60px;
}

.track-sub {
  color: var(--gold);
}

.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px 20px;
  padding: 0;
  list-style: none;
}

.subjects li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--night-2);
  box-shadow: 0 0 0 3px var(--ink);
}

.subjects .sprite {
  width: 28px;
}

.subjects .sprite-play {
  width: 14px;
}

.track .chips {
  margin-top: auto;
}

/* painel dos pais */

.parents {
  display: grid;
  gap: 56px;
  align-items: start;
}

@media (min-width: 980px) {
  .parents {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .live {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    margin-top: 120px;
  }
}

.features,
.rules {
  display: grid;
  gap: 26px 36px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.features li,
.rules li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.features .sprite,
.rules .sprite {
  width: 36px;
  margin-top: 2px;
}

.features p,
.rules p {
  margin-top: 4px;
  color: var(--gray-light);
}

.live {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.live figcaption {
  color: var(--gray-light);
  font-size: 20px;
  text-align: center;
}

.live-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}

.live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  line-height: 1;
}

.live-name .sprite {
  width: 26px;
}

.live-meta {
  color: var(--gray-light);
  font-size: 20px;
}

.meter {
  height: 26px;
  background: var(--night-0);
  box-shadow: 0 0 0 4px var(--ink);
}

.meter-fill {
  display: block;
  width: 58.33%;
  height: 100%;
  background: var(--blue);
  box-shadow:
    inset 0 -5px 0 0 var(--blue-dark),
    inset 0 4px 0 0 #8cc8f0;
}

.meter-label strong {
  color: var(--cream);
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 8px 4px;
}

.live-actions .btn {
  cursor: default;
  filter: none;
}

.live-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 0;
  list-style: none;
  font-size: 20px;
  color: var(--gray-light);
  border-top: 4px solid var(--panel-light);
}

.live-feed li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* regras */

.rules {
  padding: clamp(24px, 4vw, 40px);
}

@media (min-width: 760px) {
  .rules {
    grid-template-columns: 1fr 1fr;
    gap: 36px 56px;
  }
}

@media (min-width: 1100px) {
  .rules {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* galeria */

.gallery {
  display: grid;
  gap: 48px 40px;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .shot-main {
    grid-column: 1 / -1;
  }
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shot-frame {
  display: block;
  padding: 4px;
  background: var(--cream);
  box-shadow:
    0 0 0 4px var(--ink),
    8px 8px 0 4px var(--ink);
}

.shot-frame:hover {
  background: var(--gold);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night-0);
}

.shot figcaption {
  color: var(--gray-light);
}

/* privacidade */

.privacy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
  padding: 0;
  list-style: none;
}

.privacy li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy .sprite {
  width: 40px;
  margin-bottom: 6px;
}

.privacy p {
  color: var(--gray-light);
}

/* perguntas frequentes */

.faq-wrap {
  max-width: 980px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-item {
  background: var(--panel);
  box-shadow:
    0 -4px 0 0 var(--ink),
    0 4px 0 0 var(--ink),
    -4px 0 0 0 var(--ink),
    4px 0 0 0 var(--ink),
    inset 0 -5px 0 0 var(--panel-shade);
}

.faq-item[open] {
  background: var(--night-3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 22px;
  font-size: 27px;
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item summary:focus-visible {
  outline-offset: 6px;
}

.faq-caret {
  width: 21px;
}

.faq-item[open] .faq-caret {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 22px 22px;
  color: var(--gray-light);
}

.faq-body p + p {
  margin-top: 12px;
}

/* chamada final */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 56px);
  text-align: center;
}

.cta-icon {
  width: 84px;
}

.cta p {
  max-width: 36em;
}

.cta a:not(.btn) {
  overflow-wrap: anywhere;
}

.cta-note {
  color: var(--gray-light);
  font-size: 20px;
}

/* ---------------------------------------------------------------- rodapé */

.site-footer {
  padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px));
  background: var(--night-0);
  box-shadow: 0 -4px 0 0 var(--ink);
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand p,
.footer-copy {
  color: var(--gray-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 20px;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .footer-links {
    justify-content: flex-end;
  }
  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- páginas legais */

.legal-hero {
  padding-block: clamp(40px, 6vw, 72px);
  box-shadow: 0 4px 0 0 var(--ink);
}

.legal-hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-title {
  font-size: clamp(18px, 3vw, 32px);
}

.legal-section {
  padding-block: clamp(48px, 7vw, 88px);
  box-shadow: none;
}

.legal-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 940px;
}

.paper {
  padding: clamp(24px, 5vw, 56px);
  color: var(--paper-ink);
  background: var(--cream);
  box-shadow:
    0 -4px 0 0 var(--paper-edge),
    0 4px 0 0 var(--paper-edge),
    -4px 0 0 0 var(--paper-edge),
    4px 0 0 0 var(--paper-edge),
    0 -8px 0 0 var(--ink),
    0 8px 0 0 var(--ink),
    -8px 0 0 0 var(--ink),
    8px 0 0 0 var(--ink),
    -4px -4px 0 0 var(--ink),
    4px -4px 0 0 var(--ink),
    -4px 4px 0 0 var(--ink),
    4px 4px 0 0 var(--ink);
}

.legal {
  font-size: 23px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.legal > * + * {
  margin-top: 16px;
}

.legal h2 {
  margin-top: 48px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.6;
  color: var(--blue-dark);
}

.legal h3,
.legal h4,
.legal h5,
.legal h6 {
  margin-top: 32px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--paper-ink);
}

.legal > :first-child {
  margin-top: 0;
}

.legal a {
  color: var(--blue-dark);
}

.legal a:hover {
  color: var(--red-dark);
}

.legal :focus-visible {
  outline-color: var(--blue-dark);
}

.legal strong {
  color: var(--paper-ink);
  text-decoration: underline;
  text-decoration-color: var(--gold-dark);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.legal ul,
.legal ol {
  padding-left: 1.3em;
}

.legal li + li {
  margin-top: 6px;
}

.legal code {
  padding: 0 6px;
  font-family: var(--font-body);
  background: #e6dfc7;
}

.legal blockquote {
  margin-inline: 0;
  padding: 12px 18px;
  background: #ebe4cc;
  box-shadow: inset 4px 0 0 0 var(--gold-dark);
}

.legal hr {
  height: 4px;
  margin-block: 32px;
  border: 0;
  background: var(--paper-edge);
}

.legal table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 21px;
}

.legal th,
.legal td {
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  border: 3px solid var(--paper-edge);
}

.legal th {
  background: #ebe4cc;
  font-weight: 400;
}

.legal-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-block: 24px;
  text-align: center;
}

.legal-pending .sprite {
  width: 64px;
}

.legal-pending-title {
  font-family: var(--font-title);
  font-size: clamp(13px, 2vw, 18px);
  line-height: 1.6;
  color: var(--blue-dark);
}

.legal-prefs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.legal-prefs .section-title {
  font-size: clamp(14px, 2vw, 18px);
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 0;
  list-style: none;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-nav a[aria-current="page"] {
  color: var(--cream);
  text-decoration: none;
}

/* ---------------------------------------------------------------- 404 */

.hero-404 {
  min-height: calc(100vh - var(--header-h));
}

.nf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.nf .lead {
  max-width: 24em;
}

/* ---------------------------------------------------------------- aviso de cookies */

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  max-height: calc(100vh - 40px);
  margin-inline: auto;
  padding: 22px 24px;
  overflow-y: auto;
  pointer-events: auto;
}

.cookie-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gold);
}

.cookie-title:focus {
  outline: none;
}

.cookie-text {
  font-size: 22px;
  color: var(--cream);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  padding: 6px 4px 4px;
}

.cookie-actions .btn {
  flex: 1 1 auto;
}

.cookie-prefs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 4px 8px;
}

.cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.cookie-cat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--night-2);
  box-shadow: 0 0 0 3px var(--ink);
}

.cookie-cat label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  cursor: pointer;
}

.cookie-cat-name {
  font-size: 25px;
}

.cookie-cat-desc {
  grid-column: 2;
  font-size: 20px;
  color: var(--gray-light);
}

.switch {
  appearance: none;
  position: relative;
  width: 58px;
  height: 32px;
  margin: 0;
  background: var(--night-0);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--gray);
  cursor: pointer;
}

.switch::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 18px;
  height: 18px;
  background: var(--gray-light);
}

.switch:checked {
  background: var(--green-dark);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--green);
}

.switch:checked::before {
  left: 33px;
  background: var(--cream);
}

.switch:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.switch:focus-visible {
  outline-offset: 5px;
}

.has-cookie-banner body {
  padding-bottom: 300px;
}

@media (max-width: 520px) {
  .cookie-inner {
    padding: 18px;
  }
  .cookie-actions .btn {
    flex-basis: 100%;
  }
  .has-cookie-banner body {
    padding-bottom: 420px;
  }
}

@media (forced-colors: active) {
  .btn,
  .panel,
  .chip,
  .faq-item,
  .cookie-cat {
    border: 2px solid CanvasText;
  }
}

/* ---------------------------------------------------------------- pedido de acesso (diálogo + página) */

html:has(.access-dialog[open]) {
  overflow: hidden;
}

.access-dialog {
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  color: var(--cream);
  background: transparent;
}

.access-dialog::backdrop {
  background: rgba(14, 12, 31, 0.84);
}

.access-dialog-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: clamp(20px, 4vw, 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.access-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.access-dialog-head .section-title {
  font-size: clamp(15px, 2.2vw, 20px);
  padding-top: 8px;
}

.access-intro {
  color: var(--cream);
}

.access-page {
  max-width: 820px;
}

.access-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(20px, 4vw, 36px);
}

.notice {
  padding: 12px 16px;
  background: var(--night-2);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 4px 0 0 0 var(--gold);
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-label {
  font-size: 25px;
  line-height: 1.15;
  color: var(--cream);
}

.field-hint {
  font-size: 20px;
  color: var(--gray-light);
}

.field-error {
  font-size: 21px;
  line-height: 1.2;
  color: var(--red-light);
}

.access-form input:not([type="checkbox"]),
.access-form textarea {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1.25;
  color: var(--cream);
  background: var(--night-0);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--gray);
}

.access-form textarea {
  min-height: 140px;
  resize: vertical;
}

.access-form ::placeholder {
  color: #8d88b3;
  opacity: 1;
}

.access-form input:not([type="checkbox"]):focus-visible,
.access-form textarea:focus-visible {
  outline-offset: 3px;
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--gold);
}

.access-form [aria-invalid="true"] {
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--red);
}

.field-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
}

.field-check label {
  font-size: 24px;
  cursor: pointer;
}

.field-check .field-error {
  grid-column: 1 / -1;
}

.check {
  appearance: none;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 3px;
  background: var(--night-0);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--gray);
  cursor: pointer;
}

.check:checked {
  background: var(--green);
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--green-dark);
}

.check:checked::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--ink);
  clip-path: polygon(0 55%, 22% 35%, 40% 55%, 78% 10%, 100% 32%, 40% 92%);
}

.check[aria-invalid="true"] {
  box-shadow:
    0 0 0 3px var(--ink),
    inset 0 0 0 3px var(--red);
}

.turnstile-slot {
  max-width: 100%;
}

.turnstile-slot:empty {
  display: none;
}

.form-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  color: var(--cream);
  background: #3b1f3a;
  box-shadow:
    0 0 0 3px var(--ink),
    inset 5px 0 0 0 var(--red);
}

.form-status:focus {
  outline: 3px solid var(--red-light);
  outline-offset: 3px;
}

.form-status a {
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 6px 4px;
}

.form-actions .btn:disabled {
  cursor: progress;
  opacity: 0.7;
  filter: grayscale(0.3);
}

.form-alt {
  font-size: 20px;
  color: var(--gray-light);
}

.form-alt a {
  overflow-wrap: anywhere;
}

.access-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  text-align: center;
}

.access-success:focus {
  outline: none;
}

.access-success .sprite {
  width: 96px;
}

.access-success-title {
  font-family: var(--font-title);
  font-size: clamp(15px, 2.4vw, 20px);
  line-height: 1.5;
  color: var(--green);
  text-shadow: 3px 3px 0 var(--ink);
}
