@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --fundo: #1b0b2b;
  --superficie: #28123d;
  --creme: #fff2cf;
  --texto: #e8d7ee;
  --ouro: #ffd354;
  --menta: #64f1bb;
  --borda: #6c4388;
  font-family: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--creme);
  background: radial-gradient(ellipse at 80% 25%, #3b1959, transparent 47%), var(--fundo);
}
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 5px; }
a { color: inherit; }

.topo, main { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  border-bottom: 1px solid var(--borda);
}
.marca { display: inline-flex; }
.marca img { display: block; width: clamp(118px, 16vw, 169px); height: auto; }
.atalho { font-weight: 700; text-underline-offset: 5px; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  padding-block: clamp(30px, 6vw, 84px);
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.064em;
  text-wrap: balance;
}
h1 span { color: var(--ouro); }
.convite p { margin-top: 22px; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--texto); max-width: 36ch; }
.botao {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 25px;
  padding: 12px 17px;
  border: 2px solid #113e32;
  border-radius: 12px;
  background: var(--menta);
  color: #1b0b2b;
  box-shadow: 0 4px 0 #0c4139;
  font-weight: 900;
  text-decoration: none;
}
.botao:hover { background: #a0ffde; }
.palco {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  aspect-ratio: 1.09;
  background: #473053 url("assets/campo.webp") center / cover;
  border: 2px solid #b970dd;
  border-radius: 25px;
  box-shadow: 8px 10px 0 #13081f;
}
.palco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, #2d104942 5%, transparent 52%, #36164c73);
}
.personagem {
  position: absolute;
  bottom: 8%;
  width: auto;
  height: 72%;
  max-width: 55%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 8px 5px #210c3160);
}
.tito { left: 2%; }
.luma { right: 2%; bottom: 6%; height: 68%; }
.jogo { padding-block: 28px 68px; border-top: 1px solid var(--borda); scroll-margin-top: 24px; }
.jogo h2 { margin-bottom: 22px; font-weight: 900; font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -0.04em; }
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.passos article { padding: 21px; border: 1px solid var(--borda); border-radius: 16px; background: var(--superficie); }
.passos h3 { margin-bottom: 7px; color: var(--ouro); font-size: 1.18rem; }
.passos p { color: var(--texto); line-height: 1.5; }

@media (max-width: 760px) {
  .topo, main { width: calc(100% - 36px); }
  .topo { min-height: 78px; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  h1 { max-width: 14ch; }
  .convite p { margin-top: 14px; }
  .botao { margin-top: 17px; }
  .palco { min-height: auto; box-shadow: 5px 6px 0 #13081f; }
  .passos { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Páginas de texto (política e exclusão de dados) */
.doc { max-width: 78ch; padding-block: 34px 60px; line-height: 1.6; color: var(--texto); }
.doc h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--creme); margin-bottom: 8px; }
.doc h2 { margin: 30px 0 10px; color: var(--ouro); font-size: 1.3rem; }
.doc p, .doc ul, .doc ol { margin: 0 0 12px; }
.doc .mut { opacity: 0.75; font-size: 0.95rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border: 1px solid var(--borda); }
.doc th { background: var(--superficie); color: var(--creme); }
.doc .tabela { overflow-x: auto; }
.rodape { width: min(1140px, calc(100% - 64px)); margin: 0 auto; padding: 22px 0 34px; border-top: 1px solid var(--borda); color: var(--texto); font-size: 0.95rem; }
.rodape a { margin-right: 14px; }
@media (max-width: 760px) { .rodape { width: calc(100% - 36px); } }
