/* Nextborn Games. Paleta 2, "dose 2 mais quente", a mesma dos e-books e do quiz.
   Regra: dourado = destaque principal; coral = só etiquetas, com parcimônia; azul nunca.
   Escrito para o celular primeiro (360 a 420 px); as media queries só acrescentam espaço. */
:root {
  color-scheme: dark;
  --bg: #0d0d13;
  --s1: #17161e;
  --s2: #201d27;
  --s3: #2c2833;
  --glass: rgba(23, 22, 30, 0.86);
  --ink: #fbf7f3;
  --ink-2: #bab2b0;
  --ink-3: #8f8784;
  --gold: #d8b46a;
  --gold-glow: rgba(216, 180, 106, 0.18);
  --gold-border: rgba(216, 180, 106, 0.28);
  --coral: #e08a72;
  --coral-glow: rgba(224, 138, 114, 0.16);
  --coral-border: rgba(224, 138, 114, 0.38);
  --line: rgba(255, 240, 232, 0.10);
  --line-strong: rgba(255, 240, 232, 0.24);
  --btn-ink: #14110c;
  --font-title: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --gutter: 16px;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-glow); }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--btn-ink); padding: 12px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Halo dourado atrás do conteúdo, com um segundo halo coral bem fraco no canto oposto. */
.halo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90vmax 70vmax at 20% 0%, var(--gold-glow), transparent 60%),
    radial-gradient(70vmax 60vmax at 100% 100%, rgba(224, 138, 114, 0.08), transparent 65%);
}

/* Uma grade só para cabeçalho, seções e rodapé. No PC a faixa é larga (cartões, galerias e números
   usam a largura toda) e o texto corrido fica na medida de leitura (.prose, uns 68 caracteres). */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }
:root { --wrap: 1200px; }
@media (min-width: 760px) { :root { --gutter: 28px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px;
  font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand svg { width: 32px; height: 32px; flex: none; }
.brand:hover { color: var(--ink); }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang a, .lang .on {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 10px; border-radius: 999px; font: 700 0.8rem/1 var(--font-body); letter-spacing: 0.08em;
  text-decoration: none; color: var(--ink-2);
}
.lang .on { background: var(--gold); color: var(--btn-ink); }
.lang a:hover { color: var(--ink); background: var(--s2); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
  font: 700 0.95rem/1 var(--font-body); cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
/* Telas estreitas: o botão fica só com o ícone (o texto continua para leitor de tela). */
@media (max-width: 459px) {
  .bar { gap: 6px; flex-wrap: wrap; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .menu-toggle { padding: 0; width: 46px; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang a, .lang .on { min-width: 40px; padding: 0 6px; }
}
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu do celular: lista simples que abre embaixo da barra. Sem JS, fica sempre aberta. */
.nav { flex-basis: 100%; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { padding: 4px 0 14px; border-top: 1px solid var(--line); }
.nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.sub-toggle { display: none; }
.sub-label {
  display: block; padding: 12px 4px 2px; color: var(--ink-3);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.sub a { padding-left: 16px; }

@media (min-width: 960px) {
  .bar { flex-wrap: nowrap; gap: 14px; }
  .brand { margin-right: 8px; }
  .menu-toggle { display: none; }
  .nav, .js .nav { display: block; flex-basis: auto; margin-left: auto; order: 2; }
  .lang { order: 3; }
  .nav > ul { display: flex; align-items: center; gap: 2px; padding: 0; border: 0; }
  .nav a { min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 0.97rem; color: var(--ink-2); }
  .nav a:hover { color: var(--ink); background: var(--s1); }
  .nav a[aria-current="page"] { color: var(--gold); }
  .has-sub { position: relative; }
  .sub-label { display: none; }
  .sub-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px;
    background: transparent; border: 0; color: var(--ink-2); font: 500 0.97rem/1 var(--font-body); cursor: pointer;
  }
  .has-sub.is-current .sub-toggle { color: var(--gold); }
  .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: var(--ink); background: var(--s1); }
  .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease; }
  .sub-toggle[aria-expanded="true"] .caret { transform: translateY(2px) rotate(-135deg); }
  .js .sub {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px;
    background: var(--s2); border: 1px solid var(--line-strong); border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
  .js .sub.is-open { display: block; }
  .sub a { padding: 0 12px; color: var(--ink); }
}

/* Aviso discreto para trocar de idioma (só aparece se o navegador estiver no outro idioma). */
.lang-hint { background: var(--s2); border-bottom: 1px solid var(--gold-border); }
.lang-hint .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.lang-hint a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.hint-close {
  min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--ink-2);
  font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 10px;
}
.hint-close:hover { color: var(--ink); background: var(--s3); }

/* ---------- seções ---------- */
main { flex: 1; }
.sec { padding: 28px 0 44px; }
.sec.cont { padding-top: 0; }
.sec-hero { padding: 28px 0 40px; }
@media (min-width: 760px) {
  .sec { padding: 40px 0 72px; }
  .sec.cont { padding-top: 0; }
  .sec-hero { padding: 56px 0 72px; }
}

.crumbs ol { list-style: none; margin: -8px 0 10px; align-items: center; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); font-size: 0.9rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a:hover { color: var(--gold); }

.hero { max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }
h1 {
  font-family: var(--font-title); font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(2.05rem, 8.4vw, 4.2rem); line-height: 1.06; margin: 14px 0 18px;
  text-wrap: balance;
}
.pg-home h1 { font-size: clamp(2.4rem, 10vw, 4.8rem); }
.grad {
  background: linear-gradient(120deg, var(--gold) 0%, #f1dcae 50%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--ink-2); margin: 0 0 16px; max-width: 62ch; }
.hero .lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--ink); opacity: 0.92; }
.hero .actions { margin-top: 26px; }

.shimmer { width: 60px; height: 2px; margin: 0 0 16px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-title {
  font-family: var(--font-title); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 5.2vw, 2.15rem); line-height: 1.18; margin: 0 0 22px; max-width: 28ch; text-wrap: balance;
}
h3 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.015em; font-size: 1.2rem; line-height: 1.3; margin: 30px 0 10px; }

.prose { max-width: 68ch; }
.body > :first-child { margin-top: 0; }
.body p { color: var(--ink-2); margin: 0 0 16px; font-size: 1.04rem; }
.body strong { color: var(--ink); }
.body ul { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.body li { margin: 8px 0; font-size: 1.04rem; }
.body li::marker { color: var(--gold); }
.body .actions { margin-top: 22px; }
.meta { color: var(--gold) !important; font-weight: 500; font-size: 1rem !important; }

/* Lista com marca de conferido ("para quem é", "onde colaborar"). */
.checklist .body ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist .body li {
  margin: 0; padding: 14px 16px 14px 46px; position: relative;
  background: var(--s1); border: 1px solid var(--line); border-radius: 14px;
}
.checklist .body li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* Seção em destaque: caixa com borda dourada (o título entra junto). */
.destaque .wrap {
  background: var(--s1); border: 1px solid var(--gold-border); border-radius: 22px;
  padding: 26px 20px;
}
@media (min-width: 760px) { .destaque .wrap { padding: 44px 48px; } }

/* Pessoa: foto ao lado do texto no PC, em cima no celular. */
.photo { margin: 0 0 20px; max-width: 300px; }
.photo img { border-radius: 18px; border: 1px solid var(--gold-border); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
@media (min-width: 760px) {
  .pessoa .photo { float: right; width: 300px; margin: 4px 0 18px 36px; }
  .pessoa .body { max-width: none; }
  .pessoa .body p, .pessoa .body ul { max-width: 64ch; }
  .pessoa .wrap::after { content: ""; display: block; clear: both; }
}

/* Faixa de números (prova). */
.stats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.stats li {
  padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 1rem;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 48px; padding: 12px 22px; border-radius: 13px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--btn-ink); box-shadow: 0 6px 24px var(--gold-glow); }
.btn-gold:hover { color: var(--btn-ink); background: #e3c483; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn.is-off { background: var(--s3); color: var(--ink-2); box-shadow: none; cursor: not-allowed; border-color: var(--line); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 479px) { .hero .actions .btn, .form .row .btn { flex: 1 1 100%; } }

/* ---------- cartões ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.sec-cartoes .body { margin-bottom: 24px; }
.card {
  background: var(--s1); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
@media (min-width: 760px) { .card { padding: 28px; } }
.card h3 { margin: 0; font-size: 1.3rem; }
.card p { margin: 0; color: var(--ink-2); }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.card li { margin: 8px 0; }
.card li::marker { color: var(--gold); }
.card strong { color: var(--ink); }
.card .actions { margin-top: auto; padding-top: 6px; }
.tag {
  align-self: flex-start; margin: 0 !important;
  font-weight: 700; font-size: 0.75rem !important; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--coral-border);
  color: var(--coral) !important; background: var(--coral-glow);
}
.sec-cartoes .wrap > .actions { margin-top: 22px; }

/* ---------- passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.step { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 8px;
  font-family: var(--font-title); font-weight: 800; color: var(--gold); font-size: 0.95rem; letter-spacing: 0.08em;
}
.step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- linha do tempo ---------- */
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--gold-border); max-width: 76ch; }
.timeline > li { position: relative; padding: 0 0 26px 4px; }
.timeline > li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
}
.tl-label { display: block; font-family: var(--font-title); font-weight: 800; color: var(--gold); letter-spacing: -0.01em; margin-bottom: 4px; }
.tl-body p { margin: 0 0 10px; color: var(--ink-2); }
.tl-body strong { color: var(--ink); }
.tl-body ul { margin: 6px 0 12px; padding-left: 20px; color: var(--ink-2); }
.tl-body li { margin: 8px 0; }
.tl-body li::marker { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; }
.faq-item[open] { border-color: var(--gold-border); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 18px; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold-border); color: var(--gold); font: 400 1.2rem/1 var(--font-body);
}
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0 0 12px; color: var(--ink-2); }

/* ---------- ciência e referências ---------- */
.ciencia h3 { font-size: 1.25rem; margin-top: 36px; }
.sec-referencias { padding-top: 0; }
.sec-referencias h3 { margin-top: 0; }
.refs { list-style: none; margin: 0; padding: 0; max-width: 80ch; display: grid; gap: 12px; }
.refs li {
  color: var(--ink-2); font-size: 1rem; line-height: 1.55; padding: 0 0 12px 18px; text-indent: -18px;
  border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.refs a { color: var(--gold); }

/* ---------- textos legais ---------- */
.legal .shimmer { display: none; }
.legal .body h2 { font-family: var(--font-title); font-size: 1.3rem; line-height: 1.3; margin: 34px 0 10px; letter-spacing: -0.015em; max-width: none; }

/* ---------- formulários ---------- */
.contact {
  background: var(--s2); border: 1px solid var(--gold-border); border-radius: 22px;
  padding: 22px 18px; display: grid; gap: 22px;
}
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding: 40px 44px; align-items: start; }
}
.contact .text p { margin: 0 0 12px; color: var(--ink-2); }
.form-after { margin-top: 14px; }
.form-after p { color: var(--ink-2); margin: 0 0 8px; }

.form { display: grid; gap: 16px; min-width: 0; }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--ink); }
.form .opt, .form .hint { color: var(--ink-3); font-weight: 400; }
.form .hint { font-size: 0.9rem; }
.form input, .form textarea, .form select {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; font: 400 1rem/1.4 var(--font-body); min-height: 50px; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.form select option { background: var(--s2); color: var(--ink); }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.form [aria-invalid="true"] { border-color: var(--coral); }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font-weight: 500; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); background: var(--bg);
  font-weight: 500; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--btn-ink); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rating .chip span { min-width: 48px; }
.form .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form .status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form .status.ok { color: var(--gold); }
.form .status.err { color: var(--coral); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 32px; color: var(--ink-3); margin-top: 24px; }
.foot-links { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--gold); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 0.95rem; }
.credit { margin: 6px 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; max-width: 90ch; }
.credit p { margin: 0; font-size: 0.9rem; line-height: 1.55; overflow-wrap: anywhere; }
.credit a { color: var(--ink-2); }

/* ---------- arte dos games ---------- */
/* Topo com a arte-chave. Celular: a arte em cima, o texto sobe por cima da parte que escurece.
   PC: a arte ocupa a largura toda atrás do texto, escurecida do lado do texto. */
.sec-hero.com-arte { position: relative; padding-top: 0; isolation: isolate; }
.hero-art { display: block; position: relative; z-index: -1; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 19, 0.15) 0%, rgba(13, 13, 19, 0) 35%, rgba(13, 13, 19, 0.75) 78%, var(--bg) 100%);
}
.com-arte .hero { margin-top: -96px; }
.com-arte .crumbs ol { margin-top: 0; }
@media (min-width: 760px) {
  .sec-hero.com-arte { padding: 0; min-height: min(78vh, 720px); display: flex; align-items: center; }
  .sec-hero.com-arte > .wrap { padding: 72px 0 64px; }
  .hero-art { position: absolute; inset: 0; }
  .hero-art img { height: 100%; aspect-ratio: auto; object-position: 72% 40%; }
  .hero-art::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(13, 13, 19, 0.9) 30%, rgba(13, 13, 19, 0.45) 55%, rgba(13, 13, 19, 0) 75%),
      linear-gradient(180deg, rgba(13, 13, 19, 0.35) 0%, rgba(13, 13, 19, 0) 25%, rgba(13, 13, 19, 0) 70%, var(--bg) 100%);
  }
  .com-arte .hero { margin-top: 0; max-width: none; }
  .com-arte .hero > :not(.numeros) { max-width: 640px; }
  .com-arte .hero p { text-shadow: 0 1px 12px rgba(13, 13, 19, 0.8); }
}
@media (min-width: 1280px) { .sec-hero.com-arte { min-height: min(80vh, 760px); } }

/* Tela ou arte de um game. */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line); background: var(--s1);
}
.body .shot { margin: 26px 0 6px; }
.shot figcaption { margin-top: 8px; color: var(--ink-3); font-size: 0.9rem; }

/* Cartão com imagem no topo, de borda a borda. */
.card-media { padding-top: 0; overflow: hidden; }
.card-media > .shot { margin: 0 -20px 6px; }
.card-media > .shot img { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .card-media > .shot { margin: 0 -28px 8px; } }

/* Galeria de telas: 2 colunas no celular, a primeira em destaque; 4 colunas no PC. */
.galeria { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.galeria > .shot:first-child { grid-column: span 2; }
@media (min-width: 900px) {
  .galeria { gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .galeria > .shot:first-child { grid-row: span 2; }
  .galeria > .shot:first-child img { height: 100%; }
}

/* Faixa do elenco: heróis em pé, com a classe embaixo. */
.galeria.elenco { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.galeria.elenco > .shot:first-child { grid-column: auto; grid-row: auto; }
.elenco .shot img, .galeria.elenco > .shot:first-child img { aspect-ratio: 4 / 5; height: auto; border-color: var(--gold-border); }
.elenco figcaption {
  text-align: center; margin-top: 10px; color: var(--gold); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (min-width: 640px) { .galeria.elenco { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Faixa de números: número grande, uma linha curta e, se houver, a fonte em letra pequena. */
.numeros {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.numeros li {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px;
  background: rgba(23, 22, 30, 0.82); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.num {
  font-family: var(--font-title); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(1.6rem, 6.4vw, 2.5rem); white-space: nowrap;
  background: linear-gradient(120deg, var(--gold) 0%, #f1dcae 50%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num-linha { color: var(--ink); font-size: 0.95rem; line-height: 1.4; }
.num-fonte { color: var(--ink-3); font-size: 0.78rem; line-height: 1.4; margin-top: auto; }
.numeros:not(.numeros-4) { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .numeros { gap: 14px; }
  .numeros:not(.numeros-4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numeros li { padding: 22px 22px 22px; }
}
@media (min-width: 960px) { .numeros-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero .numeros { margin-top: 34px; }
.sec-cartoes .numeros { margin: 0 0 26px; }

/* Cartões em grupos (B2B e B2C): uma coluna por grupo no PC. */
.grupos { display: grid; gap: 28px; }
.grupo { display: flex; flex-direction: column; gap: 12px; }
.grupo-titulo {
  margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.card h4 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.015em; font-size: 1.15rem; line-height: 1.3; margin: 0; }
@media (min-width: 960px) { .grupos-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

@media (prefers-reduced-motion: no-preference) {
  .sec-hero .hero > * { animation: rise 0.6s ease both; }
  .sec-hero .hero > :nth-child(2) { animation-delay: 0.05s; }
  .sec-hero .hero > :nth-child(3) { animation-delay: 0.1s; }
  .sec-hero .hero > :nth-child(n+4) { animation-delay: 0.15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
