/* ─────────────────────────────────────────────
   GameJamPlus — Design System
   ───────────────────────────────────────────── */

:root {
  /* Brand palette (official) */
  --gjp-orange: #F7941D;
  --gjp-red: #E05A28;
  --gjp-purple: #8B3F9E;
  --gjp-blue: #4B6CB7;
  --gjp-yellow: #FFE609;
  --gjp-cyan: #22D3EE;

  /* Surface */
  --bg-0: #07070C;
  --bg-1: #0E0E18;
  --bg-2: #161622;
  --bg-glass: rgba(20, 20, 30, 0.55);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-med: rgba(255, 255, 255, 0.15);

  /* Text */
  --text-hi: #FAFAFA;
  --text-md: #C5C5D6;
  --text-lo: #8A8AA0;

  /* Gradients */
  --grad-brand: linear-gradient(90deg, #F7941D 0%, #E05A28 30%, #8B3F9E 65%, #4B6CB7 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(247,148,29,0.18), rgba(75,108,183,0.18));
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  --grad-glow: radial-gradient(ellipse at center, rgba(247,148,29,0.32) 0%, rgba(139,63,158,0.18) 35%, transparent 70%);

  /* Type */
  --font: 'Barlow', system-ui, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  /* Container */
  --max-w: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050510;
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

/* ─────────────────────────────────────────────
   ANIMATED BACKGROUND — global, behind everything
   ───────────────────────────────────────────── */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  /* Pre-blurred ambient glows via radial-gradients — ZERO blur() GPU cost */
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(247,148,29,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 35%, rgba(139,63,158,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 50% 85%, rgba(75,108,183,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 75% 75%, rgba(224,90,40,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #050510 0%, #08081A 50%, #050510 100%);
  /* Promote to its own compositor layer once */
  transform: translateZ(0);
}

/* HEXAGONAL GRID — single-pass pattern, no mask, slow drift */
.bg-hex {
  position: absolute;
  inset: -10%;
  background-image:
    repeating-linear-gradient(60deg, transparent 0, transparent 39px, rgba(255,255,255,0.022) 39px, rgba(255,255,255,0.022) 40px, transparent 40px, transparent 78px),
    repeating-linear-gradient(-60deg, transparent 0, transparent 39px, rgba(255,255,255,0.022) 39px, rgba(255,255,255,0.022) 40px, transparent 40px, transparent 78px);
  opacity: 0.85;
}
@keyframes bg-hex-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(78px, 135px, 0); }
}

/* ORBS — pre-blurred radial gradients on smaller elements, no filter blur */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.bg-orb--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(247,148,29,0.55) 0%, rgba(247,148,29,0.18) 35%, transparent 70%);
  top: -10%; left: -8%;
  animation: orb-float-1 28s ease-in-out infinite alternate;
}
.bg-orb--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139,63,158,0.50) 0%, rgba(139,63,158,0.16) 35%, transparent 70%);
  top: 40%; right: -8%;
  animation: orb-float-2 32s ease-in-out infinite alternate;
}
.bg-orb--3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(75,108,183,0.50) 0%, rgba(75,108,183,0.16) 35%, transparent 70%);
  bottom: -10%; left: 30%;
  animation: orb-float-3 30s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(120px, 140px, 0); }
}
@keyframes orb-float-2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-140px, -100px, 0); }
}
@keyframes orb-float-3 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(90px, -130px, 0); }
}

/* PARTICLES — minimal: dots and rings only, no rotation */
.bg-particles {
  position: absolute;
  inset: 0;
}
.bg-particle {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}
.bg-particle--dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
}
.bg-particle--ring {
  width: 10px; height: 10px;
  border: 1.5px solid rgba(247,148,29,0.65);
  border-radius: 50%;
}
.bg-particle--diamond {
  width: 6px; height: 6px;
  background: rgba(139,63,158,0.65);
  border-radius: 1px;
}
.bg-particle--square {
  width: 6px; height: 6px;
  background: rgba(34,211,238,0.55);
  border-radius: 1px;
}
/* No rotation — pure translate is GPU-cheap */
@keyframes drift-up {
  0%   { transform: translate3d(var(--dx, 0), 30px, 0); opacity: 0; }
  12%  { opacity: var(--op, 0.5); }
  88%  { opacity: var(--op, 0.5); }
  100% { transform: translate3d(calc(var(--dx, 0) * 1.4), -110vh, 0); opacity: 0; }
}

/* Reduce motion (a11y) */
@media (prefers-reduced-motion: reduce) {
  .bg-orb, .bg-particle, .bg-hex { animation: none !important; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─────────────────────────────────────────────
   Reusable utility classes
   ───────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-inline: var(--pad-x); }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-md);
  padding: 8px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(20, 20, 32, 0.72);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gjp-cyan);
  box-shadow: 0 0 12px var(--gjp-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 14px 40px rgba(247,148,29,0.32);
}
.btn--primary:hover { box-shadow: 0 18px 50px rgba(247,148,29,0.45); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-med);
  color: var(--text-hi);
}
.btn--ghost:hover { background: rgba(255,255,255,0.10); }

/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad-x);
  background: rgba(7,7,12,0.55);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: padding 0.3s ease;
}
.nav.scrolled { padding-block: 8px; }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
}
.nav__logo img { height: 36px; width: auto; }
.nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav__menu a {
  color: var(--text-md);
  position: relative;
  transition: color 0.2s;
  padding-block: 4px;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width 0.3s;
}
.nav__menu a:hover { color: var(--text-hi); }
.nav__menu a:hover::after { width: 100%; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.lang-switch button {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-lo);
}
.lang-switch button.active { color: var(--gjp-orange); background: rgba(247,148,29,0.1); }
/* aba ativa: a marca de qual seção do site você está */
.nav__menu a.is-active { color: var(--text-hi); }
.nav__menu a.is-active::after { width: 100%; }
/* links que saem do site (loja, clube) */
.nav__menu a.is-ext::before { content: '↗'; font-size: 10px; margin-right: 4px; opacity: .65; }
.nav__menu li.nav__sep {
  width: 1px; align-self: stretch; margin: 0 4px;
  background: rgba(255,255,255,.14);
}

.nav__menu-toggle { display: none; }
@media (max-width: 1180px) {
  .nav__menu { gap: 18px; font-size: 12px; letter-spacing: 1px; }
}
@media (max-width: 1020px) {
  .lang-switch { display: none; }
  /* gaveta lateral: o menu antigo virava linha solta em cima do conteúdo */
  .nav__menu-toggle { display: block; padding: 8px; position: relative; z-index: 60; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column; gap: 4px;
    background: #0f0b18;
    border-left: 1px solid rgba(255,255,255,.12);
    padding: 92px 26px 32px;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    font-size: 14px;
    z-index: 55;
  }
  .nav__menu.is-open { transform: translateX(0); }
  /* o backdrop-filter do header vira bloco de contenção e faria a gaveta
     se posicionar dentro da barra em vez da viewport. Some com ele enquanto abre. */
  .nav.menu-aberto { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,7,12,.94); }
  .nav__menu li { width: 100%; }
  .nav__menu li.nav__sep { width: 100%; height: 1px; align-self: auto; margin: 12px 0; }
  .nav__menu a { display: block; padding: 12px 0; }
  .nav__menu a::after { display: none; }
  .nav__scrim {
    position: fixed; inset: 0; background: rgba(4,2,10,.66);
    opacity: 0; pointer-events: none; transition: opacity .28s; z-index: 50;
  }
  .nav__scrim.is-open { opacity: 1; pointer-events: auto; }
  body.nav-aberto { overflow: hidden; }
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* Hero now uses global bg-stage; no local grid pattern */
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  /* Pre-blurred radial gradient — no filter:blur(), no GPU re-blur per frame */
  background:
    radial-gradient(circle, rgba(247,148,29,0.45) 0%, rgba(224,90,40,0.25) 25%, rgba(139,63,158,0.15) 50%, transparent 75%);
  top: -250px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: -1;
  pointer-events: none;
  animation: float 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes float {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(-45%, 50px, 0); }
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__content { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  font-weight: 900;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -2px;
  text-transform: uppercase;
}
.hero__title .line { display: block; opacity: 0; transform: translateY(30px); animation: rise 1s ease forwards; }
.hero__title .line:nth-child(1) { animation-delay: 0.1s; }
.hero__title .line:nth-child(2) { animation-delay: 0.3s; }
.hero__title .line:nth-child(3) { animation-delay: 0.5s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero__subtitle {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-md);
  max-width: 540px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-lo);
}
.hero__meta strong {
  color: var(--text-hi);
  font-weight: 900;
  display: block;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.hero__meta strong .grad-text { font-weight: 900; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__mascot-disc {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  /* Pre-blurred conic-feel via stacked radial gradients — no filter, no spin */
  background:
    radial-gradient(circle at 30% 30%, rgba(247,148,29,0.55), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(224,90,40,0.50), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(139,63,158,0.50), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(75,108,183,0.45), transparent 55%);
  opacity: 0.62;
  animation: discPulse 12s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
@keyframes discPulse {
  from { transform: scale(1); opacity: 0.55; }
  to   { transform: scale(1.06); opacity: 0.7; }
}
.hero__mascot {
  position: relative;
  height: 580px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: floatY 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.hero__badge {
  position: absolute;
  background: rgba(18, 18, 30, 0.88);
  border: 1px solid var(--border-med);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}
.hero__badge--1 { top: 60px; left: 0; animation-delay: -1s; }
.hero__badge--2 { bottom: 60px; right: 0; animation-delay: -3s; }
.hero__badge .icon {
  width: 36px; height: 36px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* ─────────────────────────────────────────────
   MARQUEE STATS BAND
   ───────────────────────────────────────────── */
.marquee-band {
  position: relative;
  padding: 24px 0;
  background: linear-gradient(90deg, var(--gjp-orange), var(--gjp-red) 30%, var(--gjp-purple) 65%, var(--gjp-blue));
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.marquee {
  display: flex;
  gap: 60px;
  animation: scroll 38s linear infinite;
  white-space: nowrap;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.marquee span { display: inline-flex; align-items: center; gap: 14px; }
.marquee .sep { color: rgba(255,255,255,0.5); font-size: 16px; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SECTION BASICS
   ───────────────────────────────────────────── */
.section { padding: 120px var(--pad-x); position: relative; }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-inline: auto;
}
.section__title {
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.section__desc {
  color: var(--text-md);
  font-size: 17px;
  max-width: 640px;
}

/* ─────────────────────────────────────────────
   PIPELINE
   ───────────────────────────────────────────── */
.pipeline {
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(75,108,183,0.10), transparent 60%),
    var(--bg-0);
}
.pipeline__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
@media (max-width: 1200px) { .pipeline__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .pipeline__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pipeline__step {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pipeline__step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.pipeline__step:hover {
  transform: translateY(-8px);
  border-color: var(--gjp-orange);
  box-shadow: 0 30px 60px rgba(247,148,29,0.15);
}
.pipeline__step:hover::before { opacity: 1; }
.pipeline__step .num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gjp-cyan);
}
.pipeline__step h3 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pipeline__step p {
  font-size: 14px;
  color: var(--text-md);
  line-height: 1.55;
}
.pipeline__step .mascot {
  height: 130px;
  width: auto;
  margin: 4px auto -8px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.35s ease;
}
.pipeline__step:hover .mascot { transform: translateY(-6px) scale(1.04); }
.pipeline__step .duration {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-lo);
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   AUDIENCE CARDS
   ───────────────────────────────────────────── */
.audience {
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(247,148,29,0.10), transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 70%, rgba(75,108,183,0.10), transparent 50%);
}
.audience__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1000px) { .audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .audience__grid { grid-template-columns: minmax(0, 1fr); } }
.aud-card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s;
}
.aud-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.aud-card:hover { transform: translateY(-6px); }
.aud-card:hover::after { opacity: 1; }
.aud-card__icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.aud-card__title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.aud-card__desc {
  color: var(--text-md);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.aud-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gjp-orange);
  transition: gap 0.2s;
}
.aud-card:hover .aud-card__cta { gap: 14px; }
.aud-card__mascot {
  position: absolute;
  right: -20px; bottom: -10px;
  height: 220px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s;
}
.aud-card:hover .aud-card__mascot { opacity: 1; transform: translateY(-8px); }
.aud-card > * { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   EDITION BANNER (current edition)
   ───────────────────────────────────────────── */
.edition {
  background: linear-gradient(135deg, #F59E4B 0%, #E94560 40%, #8B3F9E 80%, #4B6CB7 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  margin: 0 var(--pad-x);
  padding: 80px 40px;
}
.edition__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .edition__inner { grid-template-columns: 1fr; text-align: center; } }
.edition::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.5;
}
.edition__label {
  display: inline-block;
  font-size: 13px; font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  margin-bottom: 16px;
}
.edition__title {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 24px;
}
.edition__dates {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.edition__dates .month {
  font-style: italic;
  font-weight: 500;
  opacity: 0.95;
  font-size: 22px;
}
.edition__desc {
  font-size: 17px;
  max-width: 520px;
  opacity: 0.95;
  margin-bottom: 28px;
}
.edition__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.edition__cta .btn--primary { background: #fff; color: #0F172A; }
.edition__cta .btn--primary:hover { background: #fff; box-shadow: 0 18px 50px rgba(255,255,255,0.35); }
.edition__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.edition__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edition__visual img.title-svg {
  width: 95%;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.30));
  position: relative;
  z-index: 1;
}
.edition__visual .mascot-pose {
  position: absolute;
  bottom: -90px;
  right: -60px;
  height: 320px;
  z-index: 2;
  filter: drop-shadow(-8px 18px 32px rgba(0,0,0,0.4));
  pointer-events: none;
}
@media (max-width: 900px) {
  .edition__visual .mascot-pose { display: none; }
}

/* ─────────────────────────────────────────────
   HALL OF FAME / WINNERS
   ───────────────────────────────────────────── */
.hall { background: var(--bg-1); }
.hall__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) { .hall__row { grid-template-columns: minmax(0, 1fr); } }
.hall__card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: transform 0.35s, border-color 0.35s;
}
.hall__card:hover { transform: translateY(-8px); border-color: var(--gjp-orange); }
.hall__card .bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hall__card[data-color="orange"] .bg-gradient {
  background: linear-gradient(180deg, #F7941D 0%, #7C2D12 100%);
}
.hall__card[data-color="purple"] .bg-gradient {
  background: linear-gradient(180deg, #8B3F9E 0%, #4C1D95 100%);
}
.hall__card[data-color="blue"] .bg-gradient {
  background: linear-gradient(180deg, #4B6CB7 0%, #1E3A8A 100%);
}
.hall__card .bg-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: transform 0.5s ease, opacity 0.3s;
}
.hall__card .bg-art svg { width: 70%; max-width: 280px; height: auto; }
.hall__card:hover .bg-art { transform: scale(1.05); opacity: 1; }
.hall__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.hall__card > * { position: relative; z-index: 2; }
.hall__card .badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(0, 0, 0, 0.62);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 3;
}
.hall__card h3 {
  font-size: 28px; font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.hall__card .meta {
  font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px;
}

/* ─────────────────────────────────────────────
   PARTNERS WALL
   ───────────────────────────────────────────── */
.partners {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139,63,158,0.15), transparent 70%),
    var(--bg-0);
}
.partners__tier { margin-bottom: 56px; }
.partners__tier h4 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 22px;
}
.partners__tier h4 .line { flex: 1; height: 1px; background: var(--border-soft); }
.partners__row {
  display: grid;
  gap: 14px;
}
.partners__row--diamond { grid-template-columns: 1fr 1fr; gap: 18px; }
.partners__row--cat     { grid-template-columns: repeat(4, 1fr); }
.partners__row--gold    { grid-template-columns: repeat(6, 1fr); }
.partners__row--silver  { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 900px) {
  .partners__row--diamond { grid-template-columns: 1fr; }
  .partners__row--cat     { grid-template-columns: repeat(2, 1fr); }
  .partners__row--gold    { grid-template-columns: repeat(3, 1fr); }
  .partners__row--silver  { grid-template-columns: repeat(4, 1fr); }
}
.partner-logo {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-md);
  font-size: 14px;
  transition: transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
  text-align: center;
  overflow: hidden;
  --brand: #F7941D;
}
.partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.partner-logo .pl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
.partner-logo .pl-name { color: var(--text-md); transition: color 0.3s; }
.partner-logo:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 22%, transparent);
}
.partner-logo:hover .pl-name { color: var(--text-hi); }
.partners__row--diamond .partner-logo { height: 160px; font-size: 22px; gap: 14px; }
.partners__row--diamond .partner-logo .pl-icon { width: 56px; height: 56px; font-size: 24px; }
.partners__row--cat .partner-logo     { height: 120px; font-size: 16px; gap: 10px; }
.partners__row--cat .partner-logo .pl-icon { width: 40px; height: 40px; font-size: 18px; }
.partners__row--silver .partner-logo  { height: 80px; font-size: 11px; gap: 6px; }
.partners__row--silver .partner-logo .pl-icon { width: 22px; height: 22px; font-size: 10px; }

.partners__cta {
  margin-top: 80px;
  background: var(--grad-brand);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partners__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 2px);
  background-size: 36px 36px;
  opacity: 0.6;
}
.partners__cta h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}
.partners__cta p {
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 560px;
  margin-inline: auto;
  position: relative;
}
.partners__cta .btn { position: relative; }
.partners__cta .btn--primary { background: #07070C; color: #fff; }
.partners__cta .email {
  display: block;
  margin-top: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: underline;
  position: relative;
}

/* ─────────────────────────────────────────────
   QUOTE / MANIFESTO
   ───────────────────────────────────────────── */
.quote {
  background: var(--bg-0);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(247,148,29,0.35) 0%, rgba(139,63,158,0.18) 35%, transparent 65%);
  pointer-events: none;
}
.quote blockquote {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text-hi);
}
.quote blockquote::before {
  content: '"';
  display: block;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.5;
  font-style: normal;
  color: var(--gjp-orange);
  margin-bottom: 28px;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-md);
  margin-top: 32px;
}
.quote cite span { color: var(--gjp-orange); }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: #04040A;
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--border-soft);
}
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr minmax(0, 1fr) minmax(0, 1fr) 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }
/* Usa gjplus_wordmark_full.webp, que é a wordmark inteira. O arquivo antigo
   (gamejamplus_wordmark.webp) tem o S cortado dentro do próprio PNG.
   Largura fixa com height:auto: a 50px de altura a wordmark daria 469px e
   estouraria a coluna do rodapé. */
.footer__brand img {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.footer__brand p { color: var(--text-md); font-size: 14px; max-width: 320px; }
.footer__col h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gjp-orange);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-md); }
.footer__col a:hover { color: var(--text-hi); }
.footer__news input[type="email"] {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  padding: 12px 16px;
  color: #fff;
  font: inherit;
  border-radius: var(--r-sm);
  width: 100%;
  margin-bottom: 10px;
}
.footer__news input[type="email"]:focus { outline: none; border-color: var(--gjp-orange); }
.footer__news button {
  background: var(--grad-brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: 100%;
}
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-lo);
}
.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  transition: background 0.2s, border-color 0.2s;
}
.footer__social a:hover {
  background: var(--grad-brand);
  border-color: transparent;
}
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ─────────────────────────────────────────────
   IMPACT MAP
   ───────────────────────────────────────────── */
.impact {
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(34,211,238,0.07), transparent 70%),
    var(--bg-1);
}
.impact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 50px;
  align-items: center;
}
@media (max-width: 1000px) { .impact__grid { grid-template-columns: minmax(0, 1fr); } }
.impact__list { display: flex; flex-direction: column; gap: 20px; }
.impact__stat {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  background: var(--grad-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}
.impact__stat .num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  min-width: 130px;
}
.impact__stat .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-md);
  text-transform: uppercase;
}
.impact__stat .label span { color: var(--text-lo); font-weight: 500; letter-spacing: 1px; text-transform: none; display: block; font-size: 12px; margin-top: 4px; }

.world-map {
  width: 100%;
  position: relative;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(247,148,29,0.04), transparent 70%);
  padding: 12px;
  border-radius: var(--r-lg);
}
.world-map svg { width: 100%; height: auto; display: block; }

/* Países. O traçado é Natural Earth 110m: quem tem sede sai aceso, o resto fica
   como divisa de referência. A transição é só de fill, que não recompõe camada. */
.world-map .pais {
  fill: #23233a;
  stroke: #0d0a16;
  stroke-width: 0.4;
  vector-effect: non-scaling-stroke;
  transition: fill 0.25s ease;
}
.world-map .pais.is-on {
  fill: #b26a1c;
  cursor: pointer;
}
.world-map .pais.is-on.is-hot { fill: var(--gjp-orange); }
.world-map .pais.is-on.is-sel {
  fill: var(--gjp-orange);
  stroke: #fff;
  stroke-width: 1.2;
}
/* país sem sede: clicável só pra dizer "essa vaga é sua" */
.world-map .pais:not(.is-on):hover { fill: #2d2d48; cursor: pointer; }

/* Cabo Verde e Singapura não existem no traçado 110m: entram como ponto */
.world-map .pais-ponto {
  fill: #b26a1c;
  stroke: #0d0a16;
  stroke-width: 0.5;
  cursor: pointer;
  transition: fill 0.25s ease;
}
.world-map .pais-ponto.is-hot,
.world-map .pais-ponto.is-sel {
  fill: var(--gjp-orange);
  stroke: #fff;
  stroke-width: 0.8;
}
/* fica em HTML, e não em <text> dentro do SVG: dentro do SVG a legenda
   atropelava a ponta da América do Sul e escalava junto com o mapa */
.world-map .map-caption {
  margin-top: 10px;
  text-align: center;
  font-size: clamp(9px, 1.05vw, 13px);
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text-lo);
}

/* Per-continent detail bar (below the map, no overlap) */
.map-detail {
  margin-top: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
}
.map-detail.is-pulse { transform: scale(1.01); }
.map-detail--empty {
  background: transparent;
  border-style: dashed;
  padding: 16px 22px;
}
.map-detail__hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-lo);
  text-align: center;
}
.map-detail__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 14px;
}
.map-detail__title {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.map-detail__desc {
  font-size: 12px;
  color: var(--text-lo);
  font-weight: 500;
  line-height: 1.5;
}
.map-detail__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 18px;
  margin-bottom: 12px;
}
.map-detail__stat .n {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--text-hi);
  margin-bottom: 3px;
}
.map-detail__stat .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-lo);
  font-weight: 700;
}
.map-detail__countries {
  font-size: 11px;
  color: var(--text-md);
  font-weight: 500;
  line-height: 1.6;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}
/* aviso da região enquanto os números por região estão fora do ar */
.map-detail__aviso {
  font-size: 14px;
  color: var(--text-md);
  font-weight: 600;
}

/* Legend buttons */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.map-legend__btn {
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-md);
  transition: all 0.2s ease;
  cursor: pointer;
}
.map-legend__btn:hover, .map-legend__btn.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .map-detail__stats { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  /* a lista de 16 países não cabe, mas as sedes do país clicado são o miolo
     do card: essas ficam */
  .map-detail__countries { display: none; }
  .map-detail__countries--pais { display: block; }
}

/* ─────────────────────────────────────────────
   INTERNAL PAGE — Hero, ROI grid, Tiers, Contact form
   ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px var(--pad-x) 80px;
  overflow: hidden;
}
.page-hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  background:
    radial-gradient(circle, rgba(247,148,29,0.40) 0%, rgba(224,90,40,0.22) 25%, rgba(139,63,158,0.12) 50%, transparent 75%);
  top: -350px; left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: -1;
  pointer-events: none;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } }
.page-hero__title {
  font-weight: 900;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin: 22px 0 22px;
}
.page-hero__subtitle {
  color: var(--text-md);
  font-size: 18px;
  max-width: 580px;
  margin-bottom: 28px;
}
.page-hero__subtitle strong { color: var(--text-hi); }
.page-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero__visual { display: flex; justify-content: center; align-items: center; }
.page-hero__mascot {
  max-height: 460px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: floatY 6s ease-in-out infinite;
}

/* ROI grid */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
/* minmax(0,...) porque 1fr sozinho não encolhe abaixo do min-content, e
   "17.500+" a 48px era mais largo que a coluna no celular */
@media (max-width: 900px) { .roi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roi-card__num { font-size: 34px; letter-spacing: -1px; } }
.roi-card {
  background: var(--grad-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
}
.roi-card__num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.roi-card__label {
  font-size: 13px;
  color: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Tier cards */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .tiers-grid { grid-template-columns: 1fr; } }
.tier-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--gjp-orange);
  box-shadow: 0 24px 50px rgba(247,148,29,0.15);
}
.tier-card--diamond {
  background:
    linear-gradient(135deg, rgba(247,148,29,0.12), rgba(75,108,183,0.12)),
    var(--bg-1);
  border-color: var(--gjp-orange);
}
.tier-card__badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gjp-orange);
  margin-bottom: 12px;
}
.tier-card__price {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-hi);
}
.tier-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--text-md);
}
.tier-card__features li {
  position: relative;
  padding-left: 22px;
}
.tier-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--gjp-orange);
  font-weight: 800;
}
.tier-card .btn { width: 100%; justify-content: center; font-size: 13px; padding: 14px 20px; }

.tiers-note {
  margin-top: 40px;
  padding: 24px 28px;
  background: rgba(34,211,238,0.05);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--r-md);
  color: var(--text-md);
  font-size: 14px;
  line-height: 1.6;
}
.tiers-note strong { color: var(--gjp-cyan); }

/* Contact form */
.contact {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(247,148,29,0.08), transparent 70%),
    var(--bg-1);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } }
.contact__head { position: sticky; top: 100px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-md);
  letter-spacing: 0.5px;
}
.contact-form label.full { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-0);
  border: 1px solid var(--border-soft);
  color: var(--text-hi);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gjp-orange);
  background: rgba(247,148,29,0.04);
}
.contact-form textarea { resize: vertical; min-height: 100px; font-family: var(--font); }
.contact-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7941D' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }

.form-consent { margin-top: 4px; }
.checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 13px;
  color: var(--text-md);
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--gjp-orange); margin-top: 2px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--text-lo);
  font-weight: 500;
}

/* Hub list */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .hubs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hubs-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--grad-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  transition: border-color 0.2s, transform 0.2s;
}
.hub-card:hover { border-color: var(--gjp-orange); transform: translateY(-2px); }
.hub-card .flag { font-size: 32px; }
.hub-card .city { font-size: 15px; font-weight: 800; color: var(--text-hi); }
.hub-card .country { font-size: 12px; color: var(--text-md); font-weight: 600; }

/* Jamer cards */
.jamers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .jamers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .jamers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .jamers-grid { grid-template-columns: 1fr; } }
.jamer-card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.jamer-card:hover {
  transform: translateY(-4px);
  border-color: var(--gjp-orange);
  box-shadow: 0 18px 40px rgba(247,148,29,0.12);
}
.jamer-card__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--grad-brand);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
}
.jamer-card__name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}
.jamer-card__role {
  font-size: 12px;
  color: var(--text-md);
  font-weight: 600;
  margin-bottom: 10px;
}
.jamer-card__country {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(247,148,29,0.1);
  border: 1px solid rgba(247,148,29,0.2);
  border-radius: 999px;
  color: var(--gjp-orange);
  font-weight: 700;
  letter-spacing: 1px;
}
.jamer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}
.jamer-filters button {
  padding: 8px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-md);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.jamer-filters button:hover, .jamer-filters button.active {
  background: var(--gjp-orange);
  border-color: var(--gjp-orange);
  color: #fff;
}

/* Timeline (edicao) */
.timeline {
  position: relative;
  padding: 30px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 30px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gjp-orange), var(--gjp-purple), var(--gjp-blue));
  border-radius: 2px;
}
.timeline__item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 36px;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 22px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gjp-orange);
  border: 4px solid var(--bg-0);
  box-shadow: 0 0 0 2px var(--gjp-orange), 0 0 18px var(--gjp-orange);
}
.timeline__item[data-phase="incubacao"]::before { background: var(--gjp-cyan); box-shadow: 0 0 0 2px var(--gjp-cyan), 0 0 18px var(--gjp-cyan); }
.timeline__item[data-phase="semifinais"]::before { background: var(--gjp-purple); box-shadow: 0 0 0 2px var(--gjp-purple), 0 0 18px var(--gjp-purple); }
.timeline__item[data-phase="aceleracao"]::before { background: #EC4899; box-shadow: 0 0 0 2px #EC4899, 0 0 18px #EC4899; }
.timeline__item[data-phase="final"]::before { background: var(--gjp-blue); box-shadow: 0 0 0 2px var(--gjp-blue), 0 0 18px var(--gjp-blue); }
.timeline__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gjp-orange);
  margin-bottom: 6px;
}
.timeline__title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-hi);
}
.timeline__desc { color: var(--text-md); font-size: 14px; max-width: 580px; line-height: 1.55; }

/* ─────────────────────────────────────────────
   Reveal-on-scroll
   ───────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   EDIÇÕES ANTERIORES
   ───────────────────────────────────────────── */
.ed-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.ed-switch a, .ed-switch button {
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text-md); transition: .16s;
}
.ed-switch a:hover, .ed-switch button:hover { color: var(--text-hi); border-color: rgba(255,255,255,.3); }
.ed-switch .is-on { background: var(--grad-brand); color: #14090a; border-color: transparent; }

.ed-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.ed-stats div {
  flex: 1 1 150px; padding: 22px 24px; border-radius: 16px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
}
.ed-stats b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.ed-stats span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-lo); }

/* jogos vencedores */
.games-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}
.game-card {
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; overflow: hidden; transition: transform .18s, border-color .18s;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(247,148,29,.45); }
.game-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #17121f; }
.game-card__body { padding: 18px 20px 22px; }
.game-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 10px; }
.game-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.game-card li {
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(247,148,29,.12); color: #FFB877; border: 1px solid rgba(247,148,29,.22);
}
.game-card li.is-top { background: var(--grad-brand); color: #14090a; border-color: transparent; }

/* galeria */
.gal-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.gal-grid button { padding: 0; border-radius: 12px; overflow: hidden; display: block; cursor: zoom-in;
  border: 1px solid rgba(255,255,255,.09); background: #17121f; }
.gal-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s, opacity .2s; }
.gal-grid button:hover img { transform: scale(1.06); opacity: .88; }

dialog.foto { border: 0; padding: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; }
dialog.foto[open] { display: grid; place-items: center; }
dialog.foto::backdrop { background: rgba(5,3,10,.93); }
dialog.foto img { max-width: 94vw; max-height: 90dvh; border-radius: 12px; }
dialog.foto .fechar {
  position: fixed; top: 20px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 20px;
}

/* organizadores */
.org-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.org-grid div {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: 11px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  font-size: 14px; font-weight: 600; color: var(--text-md);
}
.org-grid i {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-brand); color: #14090a;
  display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px;
}

/* ═══════════════ TRAILER (fachada do YouTube) ═══════════════ */
.video__frame {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #05050a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__play {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__play::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55));
  transition: background .3s ease;
}
.video__btn {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-gjp, linear-gradient(100deg, #F7941D 0%, #E05A28 32%, #8B3F9E 68%, #4B6CB7 100%));
  box-shadow: 0 12px 40px rgba(224, 90, 40, .5);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.4);
}
.video__btn svg { width: 40px; height: 40px; margin-left: 4px; }
.video__play:hover .video__btn { transform: scale(1.1); }
.video__play:hover::after { background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35)); }
.video__play:focus-visible { outline: 3px solid var(--gjp-orange); outline-offset: 3px; }
@media (max-width: 640px) {
  .video__btn { width: 64px; height: 64px; }
  .video__btn svg { width: 30px; height: 30px; }
}

/* ═══════════════ RÉGUA DE MARCAS (sem tiers) ═══════════════ */
/* Os logos são monocromáticos em branco sobre transparente, então não precisam
   de cartão branco atrás: pousam direto no fundo escuro e a régua inteira lê
   como uma coisa só, em vez de 22 retângulos claros. */
.marcas {
  /* são 7 marcas: com auto-fill sobra órfã na última linha, então centraliza */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 38px;
  align-items: center;
  margin-bottom: 74px;
}
.marca { flex: 0 1 170px; }
.marca {
  aspect-ratio: 2.2 / 1;
  display: grid;
  place-items: center;
  opacity: .66;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
/* Holofote: com o mouse na régua as outras recuam e só a de baixo do cursor
   acende. É o máximo de destaque possível enquanto os arquivos forem
   silhuetas brancas: não existe cor original dentro deles pra restaurar. */
.marcas:hover .marca { opacity: .3; }
.marca img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.marcas .marca:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(247, 148, 29, 0.55));
}
@media (max-width: 560px) {
  .marcas { gap: 18px 22px; }
  .marca { flex: 0 1 120px; }
}




/* ═══════════════ CARDS DE CASE COM LOGO DA MARCA ═══════════════ */
/* O logo aparece duas vezes: pequeno no badge, onde se lê o nome, e grande e
   bem apagado no fundo, como marca d'água. Assim vale pra logos que não
   sobrevivem ao monocromático em tamanho grande. */
.badge--logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge--logo img {
  height: 15px;
  width: auto;
  max-width: 62px;
  object-fit: contain;
  display: block;
}
.hall__card .bg-art--logo {
  opacity: .8;
  padding: 0 18%;
}
.bg-art--logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hall__card.case-card:hover .bg-art--logo { opacity: 1; }
/* Marca d'água tipográfica pra case sem arquivo de logo no repositório.
   Sai assim que a arte oficial da marca entrar. */
.hall__card .bg-art--texto {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  opacity: .22;
  white-space: nowrap;
}
.hall__card.case-card:hover .bg-art--texto { opacity: .3; }


/* ═══════════════ ORGANIZADOR COM CIDADE ═══════════════ */
.org-grid .org-nome { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.org-grid .org-nome em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--text-lo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* a régua de edições cresceu de 8 pra 8 itens em telas pequenas */
.ed-switch { flex-wrap: wrap; }

/* ═══════════════ ENDURECIMENTO PRA CELULAR ═══════════════ */

@media (max-width: 640px) {
  /* "17.500+" a 34px não cabe em meia tela de 320px */
  .roi-card__num { font-size: clamp(22px, 8.5vw, 40px); letter-spacing: -1px; }
  .roi-card { padding: 18px 14px; }
  .ed-stats b { font-size: clamp(24px, 9vw, 40px); }

  /* alvo de toque: 17px de altura num link de rodapé é chute no escuro */
  .footer__col ul a,
  .footer a.email,
  .aud-card__cta,
  .partners__cta .email { display: inline-flex; align-items: center; min-height: 40px; }
  .footer__col ul li { line-height: 1.2; }
  .nav__logo { padding: 6px; margin: -6px; }
  .form-consent .checkbox { gap: 12px; align-items: flex-start; }
  .form-consent input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }

  /* a régua de edições tem 8 abas: rola na horizontal em vez de espremer */
  .ed-switch {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scroll-snap-type: x proximity;
  }
  .ed-switch::-webkit-scrollbar { display: none; }
  .ed-switch > * { flex: 0 0 auto; scroll-snap-align: start; }
}

/* A gaveta do menu fica fixa fora da tela (translateX(100%)) enquanto fechada,
   e isso conta como largura de documento: em telas estreitas o site ganhava
   rolagem lateral. Nada aqui deve rolar de lado. */
@media (max-width: 1020px) {
  /* a gaveta do menu só existe abaixo de 1020px, e é ela que criava a rolagem
     lateral enquanto fechada. No desktop não há o que recortar. */
  html { overflow-x: clip; }
}
@media (max-width: 640px) {
  .footer__news a { display: inline-flex; align-items: center; min-height: 36px; }
}

@media (max-width: 640px) {
  /* Sem isto tudo vira uma coluna só no celular: 4 estatísticas, 19 fotos e
     64 organizadores empilhados um a um, e a página não acaba nunca. */
  .ed-stats { gap: 10px; }
  .ed-stats div { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 16px 14px; }
  .ed-stats b { font-size: clamp(22px, 8vw, 34px); letter-spacing: -1px; }
  .ed-stats span { font-size: 10px; letter-spacing: 1.2px; margin-top: 6px; }

  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .org-grid div { padding: 10px 11px; gap: 9px; }
  .org-grid i { flex: 0 0 auto; }
  .org-grid .org-nome { font-size: 12.5px; }
  .org-grid .org-nome em { font-size: 10px; }
  /* linha compacta: com 64 organizadores, cada pixel de altura vira meia tela
     de rolagem. O nome quebra em duas linhas em vez de ser cortado. */
  .org-grid div { padding: 9px 10px; }
  .org-grid i { width: 30px; height: 30px; font-size: 10px; }
  .org-grid .org-nome { line-height: 1.15; }
}
@media (max-width: 359px) {
  .org-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  /* em 320px sobram ~240px úteis: 2 logos de 120 + gap de 22 não cabiam e a
     régua virava uma coluna de 29 fileiras */
  .marcas { gap: 16px; }
  .marca { flex: 0 1 104px; }
}


/* ═══════════════ RESPONSIVIDADE DE CELULAR ═══════════════ */
/* Nada aqui fora de media query: o desktop não pode mudar. A única exceção é
   o text-size-adjust, que só existe em navegador de celular. */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (max-width: 1020px) {
  /* ── 1. zoom automático do iOS ──
     Campo com fonte abaixo de 16px faz o Safari dar zoom ao receber foco, e a
     página fica zoomada depois que você sai do campo. */
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .footer__news input { font-size: max(16px, 1rem); }

  /* ── 2. área segura (notch, Dynamic Island, barra de gestos) ──
     A barra é fixa no topo e passava por baixo do notch. Em paisagem o
     recorte vai pro lado, por isso os insets laterais também entram. */
  .nav {
    padding: max(10px, env(safe-area-inset-top)) max(var(--pad-x), env(safe-area-inset-right))
             10px max(var(--pad-x), env(safe-area-inset-left));
  }
  .nav.scrolled { padding-top: max(7px, env(safe-area-inset-top)); padding-bottom: 7px; }
  .nav__menu {
    padding-top: calc(84px + env(safe-area-inset-top));
    padding-right: max(26px, env(safe-area-inset-right));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  .container, .section { padding-inline: max(var(--pad-x), env(safe-area-inset-left)) max(var(--pad-x), env(safe-area-inset-right)); }
  .footer__bottom { padding-bottom: max(26px, env(safe-area-inset-bottom)); }
  dialog.foto .fechar { top: max(18px, calc(env(safe-area-inset-top) + 8px)); right: max(18px, calc(env(safe-area-inset-right) + 8px)); }

  /* ── 3. 100vh no celular ──
     vh é medido com a barra do navegador recolhida, então a seção transborda
     por trás dela enquanto a barra está visível. svh usa a altura menor. */
  .hero { min-height: 100svh; }

  /* ── 4. a barra comia 82px, 10% de uma tela de iPhone ── */
  .nav__logo img { height: 30px; }
  .nav__cta .btn { padding: 10px 18px; font-size: 13px; }
}

@media (max-width: 640px) {
  /* ── 5. rótulo de 10 e 11px não se lê no celular ── */
  .ed-stats span { font-size: 11.5px; }
  .org-grid i { font-size: 11px; }
  .org-grid .org-nome em { font-size: 11px; }
  .game-card li,
  .map-legend__btn,
  .hall__card .badge,
  .pipeline__step .duration,
  .ed-switch button,
  .ed-switch a { font-size: 12px; }
  .map-detail__countries { font-size: 12px; line-height: 1.5; }
}

/* ── 6. paisagem de celular: sobra pouca altura, a barra não pode comer 22% ── */
@media (max-width: 1020px) and (orientation: landscape) and (max-height: 520px) {
  .nav { padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 6px; }
  .nav__logo img { height: 26px; }
  .nav__menu { padding-top: calc(64px + env(safe-area-inset-top)); }
  .hero { min-height: 0; padding-block: 96px 56px; }
  .page-hero { padding-block: 96px 48px; }
  .section { padding-block: 56px; }
}

/* .hero__content é flex-column, então o pill esticava até a largura toda da
   coluna em vez de abraçar o texto como nas outras seções.
   (Regra reposta: um script de edição anterior a apagou sem querer.) */
.hero__content > .eyebrow { align-self: flex-start; }

/* ── 7. celular: hero e mascote ───────────────────────────────────────
   Abaixo de 900px o hero já é uma coluna só, então dimensionar o mascote
   pela LARGURA da tela (e não por altura fixa) é o que faz sentido: a 580px
   de altura o bicho comia 70% da tela, a cauda saía pela direita e os dois
   selos flutuantes caíam em cima dele e da barra. */
@media (max-width: 900px) {
  .hero__visual { height: auto; min-height: 0; padding-top: 4px; }
  .hero__mascot {
    height: auto;
    width: min(74%, 310px);
    max-width: 100%;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
  }
  .hero__mascot-disc { width: min(88%, 370px); height: auto; aspect-ratio: 1; }
  /* IGDA já está no eyebrow do topo e a data tem a seção Save the Date */
  .hero__badge { display: none; }

  .page-hero { padding-top: 128px; padding-bottom: 56px; }
  .page-hero__visual { margin-top: 8px; }
  .page-hero__mascot { max-height: none; height: auto; width: min(68%, 290px); }
}

/* ── 8. celular: centralização e respiro ──────────────────────────────
   O hero era o único bloco alinhado à esquerda no meio de uma página onde
   todo cabeçalho de seção é centralizado, e 120px de padding em cima e
   embaixo de cada seção davam 13 mil px de rolagem só na home. */
@media (max-width: 640px) {
  .hero__content { gap: 20px; align-items: center; text-align: center; }
  .hero__content > .eyebrow { align-self: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__title { letter-spacing: -1px; }

  /* eram 4 números em linha: virava 3 + 1 órfã na segunda linha */
  .hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
  .hero__meta strong { font-size: 23px; }
  .hero__meta > div span { font-size: 11.5px; letter-spacing: 1.4px; }

  /* botão de largura irregular fica torto na coluna estreita */
  .hero__cta, .page-hero__cta { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn, .page-hero__cta .btn { width: 100%; justify-content: center; text-align: center; }

  .page-hero__content { align-items: center; text-align: center; }
  .page-hero__content > .eyebrow { align-self: center; }
  .page-hero__subtitle { margin-inline: auto; }

  /* respiro */
  .section { padding-block: 60px; }
  .section__head { margin-bottom: 34px; gap: 14px; }
  .edition { padding: 48px 22px; }
  .marcas { margin-bottom: 40px; }
  .impact__stat { padding: 18px; gap: 16px; }
  .impact__stat .num { font-size: 38px; }
  .aud-card { min-height: 0; padding: 24px 20px; }

  /* a régua rolante a 22px empurrava a faixa pra 60px de altura */
  .marquee { font-size: 16px; gap: 32px; letter-spacing: 1.5px; }
}

/* ── 9. celular: card de case (aba parceiros) ─────────────────────────
   Num card de 350px a marca d'água ficava no centro e o título caía logo
   embaixo dela, colado. Sobe a arte, encolhe o título e reforça o degradê
   por baixo do texto pra nada disputar leitura com a imagem. */
@media (max-width: 640px) {
  .hall__card { aspect-ratio: 4 / 4.2; }
  .hall__card h3 { font-size: 21px; letter-spacing: -0.3px; }
  .hall__card .meta { font-size: 12.5px; }
  .hall__card::before { background: linear-gradient(180deg, transparent 14%, rgba(0, 0, 0, 0.88) 58%); }
  .hall__card .bg-art--logo { align-items: flex-start; padding: 20% 26% 0; }
  .hall__card .bg-art--texto { align-items: flex-start; padding-top: 24%; font-size: 34px; }
  .hall__card .badge { top: 16px; left: 16px; }
}

/* ── 10. celular: legenda do mapa ─────────────────────────────────────
   "Europa / América do Norte" não cabe num chip de tela estreita. */
@media (max-width: 640px) {
  .map-legend { gap: 6px; }
  .map-legend__btn { padding: 8px 11px; letter-spacing: 0.8px; font-size: 11.5px; }
  .world-map { padding: 4px; }
  .map-detail { padding: 15px 16px; }
  .map-detail__title { font-size: 16px; }
  .map-detail__aviso { font-size: 13px; }
}

/* ── 11. celular: cards de fase em uma coluna ─────────────────────────
   Em duas colunas o card tem ~155px de largura útil: "CONTINENTAL
   SEMIFINALS" e "ACCELERATION" eram cortados no meio da palavra, e a
   descrição quebrava em linhas de duas sílabas. */
@media (max-width: 640px) {
  .pipeline__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pipeline__step { padding: 24px 20px; }
  .pipeline__step h3 { font-size: 19px; overflow-wrap: break-word; hyphens: auto; }
  .pipeline__step .mascot { height: 118px; }
}

/* ── 12. celular: banner Save the Date ────────────────────────────────
   O visual tinha 420px de altura mínima e o mascote saía pela borda
   (right:-60px), o que virava um vão morto no fim do bloco. */
@media (max-width: 900px) {
  .edition__visual { min-height: 0; flex-direction: column; gap: 10px; margin-top: 6px; }
  .edition__visual img.title-svg { width: 100%; max-width: 420px; }
  /* o tamanduá já era escondido abaixo de 900px por regra anterior */
}
@media (max-width: 640px) {
  .edition__cta { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .edition__cta .btn { width: 100%; justify-content: center; text-align: center; }
  .edition__desc { margin-inline: auto; }
  .edition__dates { font-size: 27px; }
  .edition__dates .month { font-size: 19px; }

  /* o hero deixava 100px de vão entre o mascote e a régua rolante */
  .hero { padding-top: 112px; padding-bottom: 44px; }
}

/* ── 13. celular: alvo de toque no mapa ───────────────────────────────
   Sem o hover do mouse, o país só responde a toque: o painel precisa
   caber na tela junto com o mapa. */
@media (max-width: 640px) {
  .impact__grid { gap: 22px; }
  .footer__top { gap: 30px; }
  .footer__brand p { max-width: none; }
}

/* ── 14. celular: ritmo da lista do rodapé ────────────────────────────
   Item linkado ganha alvo de toque de 40px, item em texto puro (marca sem
   domínio no ar) ficava com 19px: a lista do ecossistema saía com espaços
   desiguais entre uma linha e outra. */
@media (max-width: 640px) {
  .footer__col ul li > span { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ── contato da aba parceiros (o formulário virou WhatsApp) ── */
.contato-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.contato-cta .btn { font-size: 16px; padding: 19px 40px; }
@media (max-width: 640px) {
  .contato-cta .btn { width: 100%; justify-content: center; text-align: center; }
}
