/* ==========================================================================
   GOES GAMES — design system
   Paleta do logo (verde + laranja), formas arredondadas, 3D suave.
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/fredoka.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* marca */
  --green: #2fa84f;
  --green-deep: #187a3d;
  --green-shade: #0f5a2b;
  --mint: #8fe3b0;
  --orange: #f59a2b;
  --amber: #ffc04d;
  --orange-shade: #c4650b;
  --cream: #faf7f2;
  --charcoal: #131b26;

  /* tema claro */
  --bg: var(--cream);
  --surface: #ffffff;
  --surface-2: #f3eee4;
  --text: var(--charcoal);
  --muted: #556070;
  --line: rgba(19, 27, 38, 0.1);
  --hl: #1f8f45;
  --kicker: var(--green-deep);
  --kicker-bg: rgba(47, 168, 79, 0.13);
  --shadow-lg: 0 30px 60px -20px rgba(19, 27, 38, 0.22);
  --shadow-md: 0 18px 40px -18px rgba(19, 27, 38, 0.2);
  --edge: rgba(19, 27, 38, 0.08);
  --deco-a: rgba(47, 168, 79, 0.14);
  --deco-b: rgba(245, 154, 43, 0.14);

  --max: 1120px;
  --pad: clamp(18px, 4vw, 40px);
  --r-xl: clamp(28px, 4vw, 44px);
  --r-lg: 30px;
  --r-md: 22px;
  --dock-h: 74px;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fredoka", "Baloo 2", "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg: var(--charcoal);
  --surface: #1b2533;
  --surface-2: #18212d;
  --text: var(--cream);
  --muted: #a8b3c1;
  --line: rgba(250, 247, 242, 0.1);
  --hl: var(--mint);
  --kicker: var(--mint);
  --kicker-bg: rgba(143, 227, 176, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  --edge: rgba(0, 0, 0, 0.35);
  --deco-a: rgba(47, 168, 79, 0.16);
  --deco-b: rgba(245, 154, 43, 0.1);
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 40px + env(safe-area-inset-bottom));
  transition: background-color 0.35s ease, color 0.35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 12px; }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--charcoal); color: var(--cream); padding: 10px 18px;
  border-radius: 999px; z-index: 100; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }

/* fundo decorativo estático (sem pulsar) */
.bg-deco { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.deco { position: absolute; border-radius: 50%; }
.deco-1 { width: 60vmax; height: 60vmax; top: -30vmax; left: -20vmax; background: radial-gradient(circle, var(--deco-a), transparent 65%); }
.deco-2 { width: 50vmax; height: 50vmax; top: 30vh; right: -25vmax; background: radial-gradient(circle, var(--deco-b), transparent 65%); }
.deco-3 { width: 45vmax; height: 45vmax; bottom: -25vmax; left: 10vw; background: radial-gradient(circle, var(--deco-a), transparent 65%); }

/* ---------- header: logo protagonista ---------- */

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(18px, 4vw, 36px) var(--pad) 0;
}
.brand {
  display: block;
  width: min(100%, 600px);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: 0 10px 0 -2px var(--edge), var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s var(--spring);
}
.brand:hover { transform: translateY(-4px) rotate(-1deg); }
.brand-logo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
[data-theme="dark"] .brand { box-shadow: 0 0 0 1px rgba(250, 247, 242, 0.08), 0 10px 0 -2px rgba(0, 0, 0, 0.5), var(--shadow-lg); }

/* ---------- dock HUD ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  height: var(--dock-h);
  border-radius: 999px;
  background: rgba(19, 27, 38, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 0 #070b11,
    0 20px 40px -10px rgba(19, 27, 38, 0.55);
}
[data-theme="dark"] .dock { background: rgba(31, 42, 57, 0.92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(250, 247, 242, 0.06), 0 6px 0 #05080c, 0 20px 40px -10px rgba(0, 0, 0, 0.7); }

.dock-item {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 64px;
  height: 100%;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(250, 247, 242, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.35s var(--spring);
}
.dock-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock-item span { font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.dock-item:hover { color: #fff; transform: translateY(-3px); }
.dock-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, #3cbf5f, var(--green-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 var(--green-shade);
}
.dock-sep { width: 2px; height: 30px; border-radius: 2px; background: rgba(250, 247, 242, 0.14); margin: 0 4px; }

.theme-toggle { color: var(--amber); }
.theme-toggle:hover { color: #ffd27a; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- botões 3D ---------- */

.btn {
  --shade: var(--orange-shade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--shade), 0 14px 26px -12px rgba(19, 27, 38, 0.35);
  transition: transform 0.25s var(--spring), box-shadow 0.2s ease, filter 0.2s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--shade), 0 6px 12px -8px rgba(19, 27, 38, 0.3); }

.btn-primary { background: linear-gradient(180deg, var(--amber), var(--orange)); color: var(--charcoal); }
.btn-ghost { --shade: var(--line); background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 2px var(--line), 0 5px 0 var(--shade), 0 14px 26px -14px rgba(19, 27, 38, 0.25); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--line), 0 1px 0 var(--shade); }
.btn-light { --shade: #d9cfbf; background: var(--cream); color: var(--charcoal); }
.btn-outline-light { --shade: rgba(0, 0, 0, 0.18); background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 5px 0 var(--shade); }
.btn-outline-light:active { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 1px 0 var(--shade); }

/* ---------- utilitários de texto ---------- */

.chip, .kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--kicker);
  background: var(--kicker-bg);
}
.kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }

.hl {
  color: var(--hl);
  background: linear-gradient(var(--orange), var(--orange)) 0 94% / 100% 0.12em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.04em;
}

/* ---------- hero ---------- */

.hero { padding: clamp(40px, 8vw, 80px) 0 clamp(40px, 6vw, 64px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title {
  margin-top: 22px;
  max-width: 13ch;
  font-size: clamp(2.7rem, 8.4vw, 6.4rem);
  line-height: 0.98;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--muted);
  text-wrap: balance;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; }

.hero-stage { position: relative; width: 100%; margin-top: clamp(44px, 7vw, 72px); }

/* ---------- slots de imagem (com fallback ilustrado) ---------- */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 120%, #2fa84f 0 38%, transparent 38.5%),
    radial-gradient(80% 60% at 15% 110%, #24924a 0 40%, transparent 40.5%),
    radial-gradient(70% 55% at 88% 112%, #3cbf5f 0 42%, transparent 42.5%),
    radial-gradient(circle at 78% 26%, var(--amber) 0 7%, rgba(255, 192, 77, 0.35) 7.5% 12%, transparent 12.5%),
    linear-gradient(180deg, #bfeed0 0%, #fde7c4 100%);
}
[data-theme="dark"] .media {
  background:
    radial-gradient(120% 80% at 50% 120%, #1f7a3c 0 38%, transparent 38.5%),
    radial-gradient(80% 60% at 15% 110%, #18652f 0 40%, transparent 40.5%),
    radial-gradient(70% 55% at 88% 112%, #26904a 0 42%, transparent 42.5%),
    radial-gradient(circle at 78% 26%, var(--amber) 0 6%, rgba(255, 192, 77, 0.2) 6.5% 11%, transparent 11.5%),
    linear-gradient(180deg, #1c2a3c 0%, #2a3346 100%);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media img[hidden] { display: none; }

.media-hero {
  aspect-ratio: 4 / 3;
  background: #fcf5ed;
  border-radius: var(--r-xl);
  border: clamp(5px, 1vw, 10px) solid var(--surface);
  box-shadow: 0 12px 0 -2px var(--edge), var(--shadow-lg);
}
.media-wide { aspect-ratio: 4 / 3; background: #131b26; }
.media-card { aspect-ratio: 4 / 3; }

/* stickers do hero */
.sticker {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--sh), 0 14px 24px -10px rgba(19, 27, 38, 0.4);
  transition: transform 0.4s var(--spring);
}
.sticker-a { --sh: var(--orange-shade); top: -18px; left: clamp(8px, 6%, 64px); background: linear-gradient(180deg, var(--amber), var(--orange)); color: var(--charcoal); transform: rotate(-7deg); }
.sticker-b { --sh: var(--green-shade); top: 18%; right: -10px; background: linear-gradient(180deg, #3cbf5f, var(--green-deep)); color: #fff; transform: rotate(6deg); }
.sticker-c { --sh: #05080c; bottom: -18px; left: 50%; background: var(--charcoal); color: var(--cream); transform: translateX(-50%) rotate(-2deg); }
[data-theme="dark"] .sticker-c { background: var(--cream); color: var(--charcoal); --sh: #c9bfae; }
.hero-stage:hover .sticker-a { transform: rotate(-10deg) translateY(-4px); }
.hero-stage:hover .sticker-b { transform: rotate(9deg) translateY(-4px); }

/* ---------- seções ---------- */

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: var(--surface-2); border-radius: clamp(36px, 6vw, 72px); margin-inline: clamp(8px, 2vw, 24px); }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 60px);
}
.section-title { font-size: clamp(2.1rem, 5.4vw, 3.8rem); max-width: 18ch; text-wrap: balance; }
.section-sub { max-width: 46ch; color: var(--muted); font-size: 1.12rem; text-wrap: balance; }

/* ---------- jogos ---------- */

.game-feature {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(10px, 1.4vw, 16px);
  box-shadow: 0 10px 0 -2px var(--edge), var(--shadow-md);
}
.game-feature .media { border-radius: calc(var(--r-xl) - 10px); }
.game-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 12px clamp(28px, 4vw, 40px);
}
.game-title { font-size: clamp(2.4rem, 6vw, 4rem); }
.game-lead { color: var(--muted); font-size: 1.12rem; text-wrap: balance; }
.platform { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.04em; }

.tags { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags li {
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}
.badge-live { background: var(--green-deep); color: #fff; }
.badge-plan { background: var(--cream); color: var(--charcoal); }

.game-grid { display: grid; gap: clamp(18px, 3vw, 28px); margin-top: clamp(18px, 3vw, 28px); }
.game-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(10px, 1.4vw, 14px);
  box-shadow: 0 10px 0 -2px var(--edge), var(--shadow-md);
  transition: transform 0.45s var(--spring);
}
.game-card:hover { transform: translateY(-6px); }
.game-card .media { border-radius: calc(var(--r-xl) - 10px); }
.card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 16px 22px; }
.card-body h3 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.card-body p { color: var(--muted); max-width: 34ch; }

/* arte do card de protótipos: d-pad 3D */
.media-proto {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #3cbf5f, var(--green-deep) 75%);
}
[data-theme="dark"] .media-proto { background: radial-gradient(circle at 50% 40%, #2a9a4c, #0f4f27 75%); }
.proto-pad { position: relative; width: 44%; aspect-ratio: 1; filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.18)) drop-shadow(0 24px 24px rgba(0, 0, 0, 0.2)); }
.proto-pad::before, .proto-pad::after {
  content: "";
  position: absolute;
  background: var(--cream);
  border-radius: 22%;
  box-shadow: inset 0 -6px 0 #e4d8c3;
}
.proto-pad::before { inset: 33% 0; }
.proto-pad::after { inset: 0 33%; box-shadow: none; }
.proto-pad i {
  position: absolute;
  z-index: 1;
  width: 14%;
  aspect-ratio: 1;
  background: var(--orange);
  clip-path: polygon(50% 8%, 95% 88%, 5% 88%);
}
.proto-pad i:nth-child(1) { top: 7%; left: 43%; }
.proto-pad i:nth-child(2) { bottom: 7%; left: 43%; transform: rotate(180deg); }
.proto-pad i:nth-child(3) { left: 7%; top: 43%; transform: rotate(-90deg); }
.proto-pad i:nth-child(4) { right: 7%; top: 43%; transform: rotate(90deg); }

/* ---------- estúdio ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 3vw, 26px); }
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 24px 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 8px 0 -2px var(--edge), var(--shadow-md);
}
.step h3 { font-size: 1.5rem; margin-top: 8px; }
.step p { color: var(--muted); max-width: 28ch; }
.step-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 28px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -6px 0 rgba(0, 0, 0, 0.16), 0 12px 22px -10px rgba(19, 27, 38, 0.45);
}
.step-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-green { background: linear-gradient(180deg, #3cbf5f, var(--green-deep)); color: #fff; transform: rotate(-4deg); }
.step-orange { background: linear-gradient(180deg, var(--amber), var(--orange)); color: var(--charcoal); transform: rotate(3deg); }
.step-ink { background: linear-gradient(180deg, #2a3647, var(--charcoal)); color: var(--mint); transform: rotate(-2deg); }
[data-theme="dark"] .step-ink { background: linear-gradient(180deg, var(--cream), #e6dccb); color: var(--green-deep); }

/* ---------- equipe ---------- */

.team-grid { display: grid; gap: clamp(18px, 3vw, 28px); max-width: 900px; margin-inline: auto; }
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 40px 28px 36px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 10px 0 -2px var(--edge), var(--shadow-md);
  transition: transform 0.45s var(--spring);
}
.team-card:hover { transform: translateY(-6px); }
.team-card h3 { font-size: 2.2rem; margin-top: 10px; }
.team-card p { color: var(--muted); max-width: 32ch; margin-top: 6px; }
.role { font-family: var(--display); font-weight: 600; font-size: 0.92rem; color: var(--kicker); }
.avatar {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.4rem;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35), inset 0 -8px 0 rgba(0, 0, 0, 0.16), 0 16px 26px -12px rgba(19, 27, 38, 0.5);
}
.avatar-green { background: radial-gradient(circle at 35% 30%, #5ad27a, var(--green-deep)); color: #fff; }
.avatar-orange { background: radial-gradient(circle at 35% 30%, #ffd27a, var(--orange)); color: var(--charcoal); }

/* ---------- contato ---------- */

.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(56px, 9vw, 96px) clamp(22px, 5vw, 64px);
  border-radius: var(--r-xl);
  color: #fff;
  background: linear-gradient(160deg, #36b85a 0%, var(--green-deep) 70%, #11602f 100%);
  box-shadow: 0 12px 0 -2px var(--green-shade), var(--shadow-lg);
}
.contact-card::before, .contact-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.contact-card::before { width: 340px; height: 340px; right: -110px; top: -130px; background: radial-gradient(circle at 35% 35%, var(--amber), var(--orange)); opacity: 0.9; }
.contact-card::after { width: 220px; height: 220px; left: -80px; bottom: -110px; background: rgba(255, 255, 255, 0.1); }
.contact-title { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.contact-card p { font-size: 1.15rem; opacity: 0.92; max-width: 36ch; }
.contact-card .hero-actions { margin-top: 18px; }

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

.site-footer { padding: 20px 0 10px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { width: 64px; height: 64px; border-radius: 20px; box-shadow: 0 6px 0 -1px var(--edge); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-links a { font-family: var(--display); font-weight: 600; text-decoration: none; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.9rem; color: var(--muted); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */

@media (min-width: 720px) {
  .game-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .media-hero { aspect-ratio: 2 / 1; }
  .media-wide { aspect-ratio: 3 / 2; }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(2) { transform: translateY(24px); }
  .step.reveal:nth-child(2):not(.in) { transform: translateY(50px); }
}

@media (max-width: 560px) {
  :root { --dock-h: 64px; }
  body { font-size: 16px; }
  .dock { gap: 2px; padding: 6px; }
  .dock-item { min-width: 50px; padding: 0 6px; }
  .dock-item svg { width: 21px; height: 21px; }
  .dock-item span { font-size: 10px; }
  .dock-sep { margin: 0 1px; }
  .sticker-b { right: -4px; }
  .btn { min-height: 50px; padding: 0 22px; font-size: 1rem; }
}
@media (max-width: 370px) {
  .dock-item span { display: none; }
  .dock-item { min-width: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
