/* =========================================================================
   GamerPortugal — styles.css
   Tema: ZARA — minimalismo editorial. Tela branca pura (#fff), tinta preta
   pura (#000), um único cinza médio (#757575). Molduras hairline (1px),
   cantos 0px, SEM sombras, SEM gradientes, SEM cor de acento. A imagem
   editorial é a única "cor". Wordmark = didone de alto contraste (Bodoni Moda).
   Metodologia: BEM.
   ========================================================================= */

:root {
  /* Cores — paleta binária + um cinza */
  --paper: #ffffff;   /* tela / superfícies */
  --ink: #000000;     /* texto, ícones, molduras hairline, botões */
  --stone: #757575;   /* texto secundário / auxiliar — o único meio-tom */
  --line: #000000;    /* hairline forte */
  --line-soft: #e5e5e5; /* hairline subtil */
  --inv: #ffffff;     /* texto sobre preto */
  --dim: #b5b5b5;     /* secundário sobre fundo preto (AA) */

  /* Compat (usados por vários blocos) */
  --color-paper: var(--paper);
  --color-ink: var(--ink);
  --color-stone: var(--stone);
  --bg: var(--paper);
  --text: var(--ink);
  --text-muted: var(--stone);

  /* Tipografia */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-didone: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Playfair Display', Georgia, serif;

  --t-11: 11px;
  --t-12: 12px;
  --t-13: 13px;
  --t-15: 15px;
  --t-16: 16px;
  --t-20: 20px;

  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;

  /* Espaçamento — base 4px */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-112: 112px;

  /* Layout */
  --content-max: 1200px;
  --gutter: 24px;
  --header-h: 60px;

  /* Cantos — 0px é a assinatura ZARA */
  --radius: 0px;

  /* Estrelas de avaliação */
  --star: 15px;
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26 6.1.89-4.5 4.38 1.06 6.09L12 17.77 6.44 19.6l1.06-6.09-4.5-4.38 6.1-.89z'/%3E%3C/svg%3E");

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-13);
  font-weight: var(--w-regular);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.u-skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1200;
  background: var(--ink);
  color: var(--inv);
  padding: 10px 16px;
  font-size: var(--t-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: top 0.2s var(--ease);
}
.u-skip-link:focus { top: 12px; }

/* ------------------------------ Container ------------------------------ */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-size: var(--t-11);
  font-weight: var(--w-regular);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--sp-20);
}

.section__title {
  font-weight: var(--w-light);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section__lead {
  margin-top: var(--sp-20);
  max-width: 62ch;
  font-size: var(--t-15);
  line-height: 1.6;
  color: var(--stone);
}
.section__head--center .section__lead { margin-inline: auto; }

/* ------------------------------ Botões ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-size: var(--t-12);
  font-weight: var(--w-regular);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--inv);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--paper); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--inv); }

.btn--on-dark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn--on-dark:hover { background: transparent; color: var(--inv); }

.btn--ghost-on-dark {
  background: transparent;
  color: var(--inv);
  border-color: var(--inv);
}
.btn--ghost-on-dark:hover { background: var(--inv); color: var(--ink); }

.btn--block { width: 100%; }
.btn__icon { width: 15px; height: 15px; flex: none; }

/* ------------------------------ Cabeçalho ------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-didone);
  font-weight: var(--w-regular);
  font-size: clamp(20px, 2.6vw, 24px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand__accent { color: inherit; }

.nav { display: flex; align-items: center; gap: var(--sp-16); }
.nav__list { display: flex; align-items: center; gap: 18px; }
.nav__link {
  position: relative;
  font-size: var(--t-11);
  font-weight: var(--w-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--sp-12); }
.header__cta { padding: 11px 18px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}
.burger__lines,
.burger__lines::before,
.burger__lines::after {
  content: "";
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.burger__lines { position: relative; }
.burger__lines::before { position: absolute; top: -6px; }
.burger__lines::after { position: absolute; top: 6px; }
.burger.is-open .burger__lines { background: transparent; }
.burger.is-open .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  border-bottom: 1px solid var(--ink);
  background: #fff url("assets/img/bg/hero-collage.webp") center / cover no-repeat;
  overflow: hidden;
}
/* overlay claro e plano (sem gradiente) — mantém o preto legível (WCAG AA) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-block: clamp(56px, 9vw, 104px);
}

.hero .eyebrow { color: var(--ink); }

.hero__title {
  font-family: var(--font-didone);
  font-weight: var(--w-regular);
  font-size: clamp(40px, 7.4vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 16ch;
}
.hero__accent { font-style: italic; font-weight: var(--w-regular); }

.hero__lead {
  margin-top: var(--sp-24);
  max-width: 52ch;
  font-size: var(--t-16);
  line-height: 1.6;
  color: var(--ink);
}

.hero__actions {
  margin-top: var(--sp-32);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
}

.hero__meta {
  margin-top: var(--sp-24);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) var(--sp-24);
  font-size: var(--t-12);
  color: var(--ink);
}
.hero__meta li { display: inline-flex; align-items: center; gap: var(--sp-8); }
.hero__meta svg { width: 15px; height: 15px; color: var(--ink); }

/* Vitrine de ícones — strip de galeria (molduras hairline) */
.showcase {
  margin-top: clamp(40px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-12);
}
.showcase__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}
.showcase__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--paper);
}
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; }
.showcase__name {
  font-size: var(--t-11);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.3;
}

/* ------------------------------ Catálogo de jogos (galeria) ------------------------------ */
.games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px) var(--sp-32);
}
.card { display: flex; flex-direction: column; }

/* imagem editorial emoldurada (a "obra" na parede da galeria) */
.card__media {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
  margin-bottom: var(--sp-20);
}
.card__img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  display: inline-block;
  font-size: var(--t-11);
  font-weight: var(--w-regular);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.card__title {
  margin-top: var(--sp-8);
  font-size: var(--t-16);
  font-weight: var(--w-regular);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.card__dev {
  margin-top: var(--sp-4);
  font-size: var(--t-12);
  color: var(--stone);
}
.card__rating { margin-top: var(--sp-12); }
.card__desc {
  margin-top: var(--sp-12);
  font-size: var(--t-13);
  line-height: 1.6;
  color: var(--stone);
  flex: 1 1 auto;
}
.card__foot { margin-top: var(--sp-20); }

/* ------------------------------ Estrelas ------------------------------ */
.rating { display: inline-flex; align-items: center; gap: var(--sp-8); }
.rating__stars {
  position: relative;
  display: inline-block;
  width: calc(var(--star) * 5);
  height: var(--star);
  background: #d4d4d4;
  -webkit-mask: var(--star-mask) repeat-x;
  mask: var(--star-mask) repeat-x;
  -webkit-mask-size: var(--star) var(--star);
  mask-size: var(--star) var(--star);
}
.rating__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  -webkit-mask: var(--star-mask) repeat-x;
  mask: var(--star-mask) repeat-x;
  -webkit-mask-size: var(--star) var(--star);
  mask-size: var(--star) var(--star);
}
.rating__num {
  font-size: var(--t-12);
  font-weight: var(--w-medium);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------ Sobre / Porque confiar ------------------------------ */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-32);
}
.pillar { border-top: 1px solid var(--ink); padding-top: var(--sp-20); }
.pillar__icon {
  display: block;
  width: 26px; height: 26px;
  color: var(--ink);
  margin-bottom: var(--sp-16);
}
.pillar__icon svg { width: 100%; height: 100%; display: block; }
.pillar__title {
  font-size: var(--t-16);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  margin-bottom: var(--sp-8);
}
.pillar__text {
  font-size: var(--t-13);
  line-height: 1.6;
  color: var(--stone);
}

/* ------------------------------ Como começar (passos) ------------------------------ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-32);
}
.step { border-top: 1px solid var(--ink); padding-top: var(--sp-20); }
.step__num {
  font-family: var(--font-didone);
  font-size: 40px;
  font-weight: var(--w-regular);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin-top: var(--sp-16);
  font-size: var(--t-16);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
}
.step__text {
  margin-top: var(--sp-8);
  font-size: var(--t-13);
  line-height: 1.6;
  color: var(--stone);
}

/* ------------------------------ Banda preta (Como ganhamos) ------------------------------ */
.band { background: var(--ink); color: var(--inv); }
.band .eyebrow { color: var(--dim); }
.band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.band__title {
  font-weight: var(--w-light);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--inv);
}
.band__lead {
  margin-top: var(--sp-20);
  font-size: var(--t-15);
  line-height: 1.6;
  color: #d9d9d9;
}
.band__list { margin-top: var(--sp-32); display: grid; gap: var(--sp-24); }
.band__item { display: flex; gap: var(--sp-16); }
.band__marker {
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--inv);
}
.band__marker svg { width: 15px; height: 15px; }
.band__item-title { font-weight: var(--w-medium); font-size: var(--t-15); }
.band__item-text { margin-top: var(--sp-4); font-size: var(--t-13); color: var(--dim); line-height: 1.6; }
.band__note { margin-top: var(--sp-32); font-size: var(--t-13); color: var(--dim); }
.band__link { color: var(--inv); text-decoration: underline; text-underline-offset: 3px; }
.band__link:hover { text-decoration-thickness: 2px; }

/* ------------------------------ FAQ ------------------------------ */
.faq__list { max-width: 860px; margin-inline: auto; text-align: left; }
.faq__item { border-top: 1px solid var(--ink); }
.faq__item:last-child { border-bottom: 1px solid var(--ink); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--sp-24) 0;
  font-size: var(--t-16);
  font-weight: var(--w-regular);
  letter-spacing: -0.005em;
  color: var(--ink);
}
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; }
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.faq__sign::before { top: 50%; left: 0; width: 16px; height: 1px; transform: translateY(-50%); }
.faq__sign::after { left: 50%; top: 0; width: 1px; height: 16px; transform: translateX(-50%); }
.faq__item.is-open .faq__sign::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.faq__panel { overflow: hidden; max-height: 0; transition: max-height 0.28s var(--ease); }
.faq__answer {
  padding: 0 0 var(--sp-24);
  max-width: 70ch;
  font-size: var(--t-15);
  line-height: 1.65;
  color: var(--stone);
}

/* ------------------------------ Segurança ------------------------------ */
.safety__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.safety__list { display: grid; gap: var(--sp-24); }
.safety__item { display: flex; gap: var(--sp-16); align-items: flex-start; }
.safety__icon { flex: none; width: 24px; height: 24px; color: var(--ink); margin-top: 1px; }
.safety__icon svg { width: 100%; height: 100%; }
.safety__item-title { font-weight: var(--w-medium); font-size: var(--t-15); }
.safety__item-text { margin-top: var(--sp-4); font-size: var(--t-13); color: var(--stone); line-height: 1.6; }

.panel { border: 1px solid var(--ink); background: transparent; padding: var(--sp-32); }
.panel__kicker {
  font-size: var(--t-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--sp-24);
}
.panel__stat {
  font-family: var(--font-didone);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: var(--w-regular);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}
.panel__stat + .panel__stat { margin-top: var(--sp-24); }
.panel__stat-label {
  display: block;
  margin-top: var(--sp-8);
  font-family: var(--font-sans);
  font-size: var(--t-13);
  color: var(--stone);
}

/* ------------------------------ Avaliações ------------------------------ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
}
.review {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  border-top: 1px solid var(--ink);
  padding-top: var(--sp-24);
  text-align: left;
}
.review__quote {
  font-size: var(--t-15);
  line-height: 1.65;
  color: var(--ink);
  flex: 1 1 auto;
}
.review__author { display: flex; align-items: center; gap: var(--sp-12); }
.avatar {
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--inv);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--t-12);
  font-weight: var(--w-medium);
  letter-spacing: 0.04em;
}
.review__name { font-weight: var(--w-medium); font-size: var(--t-13); }
.review__role { font-size: var(--t-11); color: var(--stone); }

/* ------------------------------ Formulário de subscrição ------------------------------ */
.subscribe__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.subscribe__aside .section__title { max-width: 15ch; }
.subscribe__points { margin-top: var(--sp-24); display: grid; gap: var(--sp-12); }
.subscribe__point { display: flex; gap: var(--sp-12); font-size: var(--t-13); color: var(--stone); }
.subscribe__point svg { width: 16px; height: 16px; flex: none; color: var(--ink); margin-top: 1px; }

/* Formulário ZARA: sem cartão, sem moldura — flutua na tela; campos só com
   1px de borda inferior preta. */
.form { border: 0; background: transparent; padding: 0; }
.field { margin-bottom: var(--sp-24); }
.field__label {
  display: block;
  font-size: var(--t-11);
  font-weight: var(--w-regular);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--sp-8);
}
.field__req { text-transform: none; letter-spacing: normal; }
.field__control {
  width: 100%;
  font-family: inherit;
  font-size: var(--t-15);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 0;
  transition: border-color 0.15s var(--ease);
}
.field__control::placeholder { color: var(--stone); }
.field__control:focus { outline: none; border-bottom-color: var(--ink); }
.field__control:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.consent { display: flex; gap: var(--sp-12); align-items: flex-start; }
.consent__box {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: var(--radius);
  accent-color: var(--ink);
}
.consent__text { font-size: var(--t-13); color: var(--stone); line-height: 1.55; }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__submit { margin-top: var(--sp-8); }
.form__hint {
  margin-top: var(--sp-16);
  font-size: var(--t-11);
  color: var(--stone);
  line-height: 1.5;
}

.success {
  display: none;
  margin-top: var(--sp-24);
  gap: var(--sp-16);
  align-items: flex-start;
  padding: var(--sp-20);
  border: 1px solid var(--ink);
  background: transparent;
}
.success.is-visible { display: flex; }
.success__icon { flex: none; width: 22px; height: 22px; color: var(--ink); }
.success__title { font-weight: var(--w-medium); }
.success__text { display: block; margin-top: var(--sp-4); font-size: var(--t-13); color: var(--stone); }

/* ------------------------------ Rodapé ------------------------------ */
.footer { border-top: 1px solid var(--ink); padding-block: clamp(48px, 6vw, 72px) var(--sp-40); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-40);
}
.footer__brand {
  font-family: var(--font-didone);
  font-weight: var(--w-regular);
  font-size: var(--t-20);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer__brand .brand__accent { color: inherit; }
.footer__tag { margin-top: var(--sp-16); font-size: var(--t-13); color: var(--stone); max-width: 42ch; line-height: 1.6; }
.footer__contact { margin-top: var(--sp-20); font-size: var(--t-13); }
.footer__mail { text-decoration: underline; text-underline-offset: 2px; }
.footer__col-title {
  font-size: var(--t-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--sp-16);
}
.footer__links { display: grid; gap: var(--sp-12); }
.footer__link { font-size: var(--t-13); color: var(--stone); }
.footer__link:hover { color: var(--ink); }
.footer__bottom {
  margin-top: var(--sp-40);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12) var(--sp-24);
  justify-content: space-between;
  font-size: var(--t-11);
  color: var(--stone);
}

/* ------------------------------ Voltar ao topo ------------------------------ */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 900;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--inv);
  border: 0;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* ------------------------------ Banner de cookies ------------------------------ */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1100;
  max-width: 760px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--inv);
  border-radius: var(--radius);
  padding: var(--sp-20) var(--sp-24);
  display: none;
  gap: var(--sp-20);
  align-items: center;
  flex-wrap: wrap;
}
.cookie.is-visible { display: flex; }
.cookie__text { flex: 1 1 320px; font-size: var(--t-13); line-height: 1.55; color: #d9d9d9; }
.cookie__text a { color: var(--inv); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: var(--sp-12); flex: none; }
.cookie .btn { padding: 11px 18px; }

/* ------------------------------ Páginas legais ------------------------------ */
.legal { padding-block: clamp(48px, 6vw, 72px) clamp(64px, 8vw, 96px); }
.legal__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 48px); }
.legal__back {
  display: inline-flex; align-items: center; gap: var(--sp-8);
  font-size: var(--t-12);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: var(--sp-24);
}
.legal__back:hover { color: var(--ink); }
.legal__back svg { width: 15px; height: 15px; }
.legal__title {
  font-weight: var(--w-light);
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.legal__updated { margin-top: var(--sp-16); font-size: var(--t-12); color: var(--stone); }
.legal__body { max-width: 760px; }
.legal__body h2 {
  font-size: var(--t-16);
  font-weight: var(--w-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--sp-48);
  margin-bottom: var(--sp-16);
  color: var(--ink);
}
.legal__body h3 {
  font-size: var(--t-15);
  font-weight: var(--w-medium);
  margin-top: var(--sp-24);
  margin-bottom: var(--sp-8);
  color: var(--ink);
}
.legal__body p { margin-bottom: var(--sp-16); font-size: var(--t-15); color: var(--stone); line-height: 1.7; }
.legal__body ul { margin: 0 0 var(--sp-16); padding-left: var(--sp-20); list-style: disc; color: var(--stone); }
.legal__body li { margin-bottom: var(--sp-8); font-size: var(--t-15); line-height: 1.65; }
.legal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__body strong { font-weight: var(--w-medium); color: var(--ink); }

/* ------------------------------ Responsivo ------------------------------ */
@media (max-width: 1024px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: var(--sp-8) var(--gutter) var(--sp-24);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link { display: block; padding: 14px 0; font-size: var(--t-13); }
  .nav__link::after { display: none; }
  .header__cta { display: none; }
  .nav__cta { display: block; margin-top: var(--sp-16); }
  .burger { display: flex; }

  .games__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr; }
  .safety__grid { grid-template-columns: 1fr; }
  .subscribe__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 861px) { .nav__cta { display: none; } }

@media (max-width: 560px) {
  .games__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
  .hero__actions .btn { width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions .btn { flex: 1; }
}

/* ------------------------------ Movimento reduzido ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
