/* ==========================================================================
   JogosDeBolso — styles.css
   Tema visual: Duolingo (papel branco, verde suculento, azul de destaque,
   formas roliças, molduras grossas de 2px, botões-autocolante).
   BEM estrito. Sem bibliotecas externas.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Cores */
  --paper: #ffffff;
  --paper-soft: #fbfdf7;          /* leve creme para faixas alternadas */
  --green: #58cc02;               /* Eager Green */
  --green-deep: #4aa802;          /* face inferior do botão-autocolante */
  --green-wash: #d7ffb8;          /* Storybook Green */
  --green-leaf: #a5ed6e;          /* Fresh Leaf */
  --green-mist: #eaffd6;          /* tinte muito suave */
  --blue: #1cb0f6;                /* Spark Blue */
  --blue-deep: #1391d1;
  --blue-wash: #ddf4ff;
  --night: #000437;               /* Night Ink */
  --charcoal: #3c3c3c;            /* títulos escuros / corpo forte */
  --pencil: #6f6f6f;              /* corpo */
  --faded: #afafaf;               /* rótulos apagados */
  --line: #e5e5e5;                /* molduras subtis */
  --line-strong: #d6d6d6;

  /* Tipografia */
  --font-display: 'Baloo 2', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamento */
  --sp-8: 8px;  --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-40: 40px; --sp-48: 48px; --sp-64: 64px;
  --sp-80: 80px; --sp-96: 96px;

  /* Layout */
  --max: 1180px;
  --pad-x: clamp(18px, 5vw, 40px);
  --header-h: 74px;

  /* Raios */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--pencil);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--charcoal); margin: 0; line-height: 1.12; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

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

/* ---------- Secções ---------- */
.section { padding-block: clamp(56px, 8vw, 92px); }
.section--tint { background: var(--paper-soft); }
.section--mist { background: var(--green-mist); }
.section__head { max-width: 720px; margin-bottom: var(--sp-40); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-wash);
  border: 2px solid var(--green-leaf);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(29px, 4.6vw, 46px);
  color: var(--green);
  letter-spacing: -.01em;
}
.section__title--ink { color: var(--charcoal); }
.section__lead {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--pencil);
  max-width: 60ch;
}
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--r);
  border: none;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 0 var(--green-deep);
}
.btn--primary:hover { background: #61d906; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-deep); }
.btn--secondary {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--line);
  padding: 12px 24px;
}
.btn--secondary:hover { border-color: var(--blue); box-shadow: 0 4px 0 var(--blue-wash); }
.btn--secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 var(--blue-deep);
}
.btn--blue:hover { background: #2bb8f8; }
.btn--blue:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-deep); }
.btn--full { width: 100%; }
.btn--lg { font-size: 18px; padding: 17px 32px; }
.btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 2px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  color: var(--charcoal);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__accent { color: var(--green); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: var(--pencil);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--green); background: var(--green-mist); text-decoration: none; }
.site-nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--charcoal);
}
.nav-toggle__bars { width: 22px; height: 16px; position: relative; display: block; }
.nav-toggle__bars span {
  position: absolute; left: 0; height: 3px; width: 100%;
  background: currentColor; border-radius: 3px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6.5px; }
.nav-toggle__bars span:nth-child(3) { top: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 2px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--pad-x) 22px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .site-nav__link { padding: 13px 12px; font-size: 17px; }
  .site-nav__cta { margin-left: 0; margin-top: 12px; }
  .site-nav__cta .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 84px); }
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.92) 100%),
    radial-gradient(circle at 12% 18%, rgba(215,255,184,.6) 0, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(221,244,255,.6) 0, transparent 40%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-wash);
  border: 2px solid #bfeaff;
  padding: 6px 14px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.hero__badge svg { width: 15px; height: 15px; }
.hero__title {
  font-size: clamp(34px, 6vw, 60px);
  color: var(--charcoal);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.hero__title em { font-style: normal; color: var(--green); }
.hero__subtitle {
  margin-top: 20px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--pencil);
  max-width: 52ch;
}
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.hero__meta-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--charcoal); }
.hero__meta-item svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }

/* Vitrine de ícones */
.hero__showcase {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 6px 0 var(--line);
  padding: clamp(18px, 3vw, 26px);
}
.hero__showcase-title {
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--faded); margin-bottom: 16px; text-align: center;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.showcase-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
}
.showcase-tile:hover { text-decoration: none; }
.showcase-tile__icon {
  width: 100%; aspect-ratio: 1 / 1; height: auto;
  border-radius: var(--r); border: 2px solid var(--line);
  transition: transform .12s ease;
  background: #fff;
}
.showcase-tile:hover .showcase-tile__icon { transform: translateY(-4px) rotate(-2deg); }
.showcase-tile__name {
  font-size: 11.5px; font-weight: 700; color: var(--pencil); text-align: center;
  line-height: 1.15;
}
.hero__showcase-foot {
  margin-top: 16px; text-align: center; font-size: 13px; font-weight: 600; color: var(--faded);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__showcase { order: 2; }
}
@media (max-width: 420px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-tile:nth-child(7), .showcase-tile:nth-child(8) { display: none; }
}

/* ==========================================================================
   Cartões de característica (Porquê confiar) + genérico
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 26px 24px;
}
.feature-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--r);
  margin-bottom: 18px;
  color: #fff;
}
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card__icon--green { background: var(--green); }
.feature-card__icon--blue { background: var(--blue); }
.feature-card__icon--leaf { background: #7ad83a; }
.feature-card__icon--ink { background: var(--night); }
.feature-card__title { font-size: 21px; color: var(--charcoal); margin-bottom: 10px; }
.feature-card__text { font-size: 16px; color: var(--pencil); }

/* ==========================================================================
   Catálogo de jogos — layout zigzag (1 por linha)
   ========================================================================== */
.catalog__list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }

.game-card {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 6px 0 var(--line);
  padding: clamp(20px, 3vw, 34px);
}
.game-card--reverse { flex-direction: row-reverse; }

.game-card__media {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
  background: var(--green-mist);
  border: 2px solid var(--green-leaf);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2.4vw, 26px);
}
.game-card--reverse .game-card__media { background: var(--blue-wash); border-color: #bfeaff; }

.game-card__badge {
  position: absolute;
  top: -18px; left: 22px;
  width: 68px; height: 68px;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
  background: #fff;
}
.game-card--reverse .game-card__badge { left: auto; right: 22px; }

.game-card__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.game-card__shots--stack { grid-template-columns: 1fr; }
.game-card__shot {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,.08);
  background: #fff;
}
.game-card__shot--wide { aspect-ratio: 16 / 9; object-position: center; }

.game-card__body { flex: 1 1 50%; min-width: 0; }
.game-card__rank {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--green); background: var(--green-wash);
  border: 2px solid var(--green-leaf);
  padding: 4px 12px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.game-card__title { font-size: clamp(24px, 3vw, 30px); color: var(--charcoal); }
.game-card__dev { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--faded); }
.game-card__dev b { color: var(--pencil); font-weight: 700; }
.game-card__meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.game-card__genre {
  font-weight: 700; font-size: 13px; color: var(--blue);
  background: var(--blue-wash); border: 2px solid #bfeaff;
  padding: 3px 11px; border-radius: var(--r-pill);
}
.game-card__free {
  font-weight: 700; font-size: 13px; color: var(--green);
  background: var(--green-mist); border: 2px solid var(--green-leaf);
  padding: 3px 11px; border-radius: var(--r-pill);
}
.game-card__desc { margin-top: 16px; font-size: 16.5px; color: var(--pencil); }
.game-card__actions { margin-top: 22px; }

/* Estrelas de classificação */
.stars { display: inline-flex; align-items: center; gap: 8px; }
.stars__row { position: relative; display: inline-block; line-height: 0; }
.stars__base, .stars__fill { display: flex; gap: 2px; }
.stars__base { color: #e3e3e3; }
.stars__fill { position: absolute; inset: 0; color: #ffc800; overflow: hidden; white-space: nowrap; }
.stars svg { width: 19px; height: 19px; flex: 0 0 auto; }
.stars__value { font-weight: 700; font-size: 15px; color: var(--charcoal); font-family: var(--font-display); }

@media (max-width: 780px) {
  .game-card, .game-card--reverse { flex-direction: column; align-items: stretch; }
  .game-card__media, .game-card__body { flex: 1 1 auto; width: 100%; }
  .game-card__badge { width: 60px; height: 60px; top: -16px; }
}

/* ==========================================================================
   Como ganhamos (transparência)
   ========================================================================== */
.earn__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.earn__points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 16px; }
.earn__point { display: flex; gap: 14px; align-items: flex-start; }
.earn__point-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; background: var(--green);
}
.earn__point-ic svg { width: 22px; height: 22px; }
.earn__point-ic--blue { background: var(--blue); }
.earn__point-ic--ink { background: var(--night); }
.earn__point-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--charcoal); }
.earn__point-d { font-size: 15.5px; color: var(--pencil); margin-top: 2px; }
.earn__aside {
  background: var(--night);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 6px 0 rgba(0,0,0,.15);
}
.earn__aside h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.earn__aside p { color: #c9cbe4; font-size: 16px; }
.earn__aside-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.earn__aside-list li { display: flex; gap: 10px; align-items: flex-start; color: #ecebff; font-size: 15px; }
.earn__aside-list svg { width: 20px; height: 20px; color: var(--green-leaf); flex: 0 0 auto; margin-top: 2px; }
.earn__aside-link { display: inline-block; margin-top: 22px; color: var(--green-leaf); font-weight: 700; }
@media (max-width: 820px) { .earn__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Como começar (passos)
   ========================================================================== */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 30px 24px 26px;
}
.step__num {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 24px; color: #fff;
  background: var(--green); box-shadow: 0 4px 0 var(--green-deep);
  margin-bottom: 18px;
}
.step:nth-child(2) .step__num { background: var(--blue); box-shadow: 0 4px 0 var(--blue-deep); }
.step:nth-child(3) .step__num { background: var(--night); box-shadow: 0 4px 0 #00021f; }
.step__title { font-size: 20px; color: var(--charcoal); margin-bottom: 8px; }
.step__text { font-size: 16px; color: var(--pencil); }
@media (max-width: 760px) { .steps__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Jogo em destaque
   ========================================================================== */
.featured__card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background: var(--green-wash);
  border: 2px solid var(--green-leaf);
  border-radius: var(--r-xl);
  box-shadow: 0 6px 0 var(--green-leaf);
  padding: clamp(22px, 3vw, 40px);
}
.featured__media { position: relative; }
.featured__shot {
  width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 420px;
  object-fit: cover; object-position: top center;
  border-radius: var(--r-lg); border: 3px solid #fff;
  box-shadow: 0 6px 0 rgba(0,0,0,.1);
}
.featured__badge {
  position: absolute; top: -16px; left: -14px;
  width: 74px; height: 74px; border-radius: 20px; border: 3px solid #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,.12);
}
.featured__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: #fff; background: var(--green); border: 2px solid var(--green-deep);
  padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.featured__eyebrow svg { width: 15px; height: 15px; }
.featured__title { font-size: clamp(26px, 3.6vw, 38px); color: var(--charcoal); }
.featured__dev { margin-top: 6px; font-weight: 600; color: #5a7a3a; }
.featured__text { margin-top: 16px; font-size: 17px; color: #4c5b3c; }
.featured__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.featured__tag {
  font-weight: 700; font-size: 13px; color: var(--green);
  background: #fff; border: 2px solid var(--green-leaf);
  padding: 5px 13px; border-radius: var(--r-pill);
}
.featured__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
@media (max-width: 760px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__media { max-width: 260px; margin-inline: auto; }
  .featured__badge { left: 0; }
}

/* ==========================================================================
   Categorias / Géneros
   ========================================================================== */
.genres__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.genre {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 24px 22px;
  transition: transform .12s ease;
}
.genre:hover { transform: translateY(-4px); }
.genre__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; margin-bottom: 16px;
}
.genre__ic svg { width: 28px; height: 28px; }
.genre__ic--1 { background: var(--green); }
.genre__ic--2 { background: var(--blue); }
.genre__ic--3 { background: #f5a623; }
.genre__ic--4 { background: #9b6bff; }
.genre__ic--5 { background: #ff7a9c; }
.genre__ic--6 { background: var(--night); }
.genre__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--charcoal); margin-bottom: 6px; }
.genre__text { font-size: 14.5px; color: var(--pencil); }

/* ==========================================================================
   Opiniões
   ========================================================================== */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.review__stars { color: #ffc800; display: flex; gap: 3px; }
.review__stars svg { width: 20px; height: 20px; }
.review__quote { font-size: 16.5px; color: var(--charcoal); font-weight: 500; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff;
}
.review__avatar--a { background: var(--green); }
.review__avatar--b { background: var(--blue); }
.review__avatar--c { background: #9b6bff; }
.review__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--charcoal); }
.review__role { font-size: 13.5px; color: var(--faded); font-weight: 600; }
@media (max-width: 860px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Estatísticas
   ========================================================================== */
.stats__band {
  background: var(--green);
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: 0 6px 0 var(--green-deep);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; color: #fff; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1; }
.stat__label { margin-top: 8px; font-weight: 600; font-size: 15px; color: #eaffd6; }
.stat + .stat { border-left: 2px solid rgba(255,255,255,.25); }
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 0; }
}

/* ==========================================================================
   Novidades / Bónus
   ========================================================================== */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none;
}
.news-card:hover { text-decoration: none; transform: translateY(-3px); }
.news-card { transition: transform .12s ease; }
.news-card__top { display: flex; align-items: center; gap: 14px; }
.news-card__icon { width: 60px; height: 60px; border-radius: 15px; border: 2px solid var(--line); flex: 0 0 auto; }
.news-card__tag {
  align-self: flex-start;
  font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-wash); border: 2px solid #bfeaff;
  padding: 3px 10px; border-radius: var(--r-pill);
}
.news-card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--charcoal); }
.news-card__dev { font-size: 13.5px; color: var(--faded); font-weight: 600; margin-top: -6px; }
.news-card__text { font-size: 15px; color: var(--pencil); }
.news-card__link { margin-top: auto; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.news-card__link svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .news__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Segurança & confiança
   ========================================================================== */
.safety__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.safety-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 var(--line);
  padding: 26px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.safety-card__ic {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; background: var(--green);
}
.safety-card__ic svg { width: 26px; height: 26px; }
.safety-card__ic--blue { background: var(--blue); }
.safety-card__ic--ink { background: var(--night); }
.safety-card__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--charcoal); margin-bottom: 6px; }
.safety-card__text { font-size: 15px; color: var(--pencil); }

/* ==========================================================================
   Subscrição
   ========================================================================== */
.subscribe__card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background: var(--night);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 6px 0 #00021f;
}
.subscribe__intro-eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-leaf); margin-bottom: 14px;
}
.subscribe__title { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.subscribe__text { color: #c9cbe4; font-size: 17px; margin-top: 14px; }
.subscribe__perks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.subscribe__perks li { display: flex; gap: 10px; align-items: center; color: #ecebff; font-size: 15px; }
.subscribe__perks svg { width: 20px; height: 20px; color: var(--green-leaf); flex: 0 0 auto; }

.subscribe__form { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.field { margin-bottom: 16px; }
.field__label { display: block; font-weight: 700; font-size: 14px; color: var(--charcoal); margin-bottom: 7px; font-family: var(--font-display); }
.field__label span { color: var(--green); }
.field__input {
  width: 100%;
  font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
  background: var(--paper-soft);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .15s ease, background .15s ease;
}
.field__input::placeholder { color: var(--faded); }
.field__input:focus { outline: none; border-color: var(--blue); background: #fff; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 18px; }
.consent__box { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); }
.consent__text { font-size: 13.5px; color: var(--pencil); line-height: 1.5; }
.consent__text a { font-weight: 700; }
.subscribe__note { margin-top: 14px; font-size: 12.5px; color: var(--faded); text-align: center; }
.form-success {
  display: none;
  background: var(--green-wash);
  border: 2px solid var(--green);
  border-radius: var(--r);
  padding: 22px;
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success__ic { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--green); }
.form-success__ic svg { width: 100%; height: 100%; }
.form-success__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--charcoal); margin-bottom: 6px; }
.form-success__text { font-size: 15px; color: var(--pencil); }
@media (max-width: 820px) { .subscribe__card { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r);
  box-shadow: 0 4px 0 var(--line);
  overflow: hidden;
}
.faq__item.is-open { border-color: var(--green-leaf); box-shadow: 0 4px 0 var(--green-leaf); }
.faq__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--charcoal);
}
.faq__icon { flex: 0 0 auto; width: 26px; height: 26px; color: var(--green); transition: transform .2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__panel { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__panel-inner { padding: 0 22px 22px; font-size: 16px; color: var(--pencil); }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--green); color: #fff; padding-block: clamp(44px, 6vw, 64px) 30px; }
.site-footer a { color: #eaffd6; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 24px; color: #fff; text-decoration: none; }
.footer__brand:hover { text-decoration: none; }
.footer__brand-mark { width: 34px; height: 34px; }
.footer__tag { margin-top: 14px; color: #eaffd6; font-size: 15px; max-width: 34ch; }
.footer__contact { margin-top: 16px; font-weight: 700; }
.footer__contact a { color: #fff; text-decoration: underline; }
.footer__col-title { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__list a { font-weight: 600; font-size: 15px; text-decoration: none; }
.footer__list a:hover { text-decoration: underline; color: #fff; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.28);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 14px; color: #eaffd6; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { font-size: 14px; font-weight: 600; text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Banner de cookies + voltar ao topo
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin-inline: auto;
  background: #fff; border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 0 rgba(0,0,0,.08);
  padding: 20px 22px;
  display: none;
  gap: 18px; align-items: center; flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text { flex: 1 1 260px; font-size: 14.5px; color: var(--pencil); }
.cookie-banner__text a { font-weight: 700; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 11px 20px; font-size: 15px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  box-shadow: 0 4px 0 var(--green-deep);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-deep); }
.to-top svg { width: 24px; height: 24px; }

/* ==========================================================================
   Páginas legais
   ========================================================================== */
.legal { padding-block: clamp(36px, 5vw, 60px); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-bottom: 22px; }
.legal__back svg { width: 18px; height: 18px; }
.legal__title { font-size: clamp(30px, 5vw, 46px); color: var(--green); margin-bottom: 8px; }
.legal__updated { color: var(--faded); font-weight: 600; font-size: 15px; margin-bottom: 30px; }
.legal__body { max-width: 780px; }
.legal__body h2 { font-size: 24px; color: var(--charcoal); margin: 34px 0 12px; }
.legal__body h3 { font-size: 19px; color: var(--charcoal); margin: 22px 0 8px; }
.legal__body p { font-size: 16.5px; color: var(--pencil); margin-bottom: 14px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { font-size: 16.5px; color: var(--pencil); margin-bottom: 8px; }
.legal__body a { font-weight: 700; }
.legal__note {
  background: var(--green-mist); border: 2px solid var(--green-leaf);
  border-radius: var(--r); padding: 16px 20px; margin-bottom: 28px;
  font-size: 15px; color: #4c5b3c;
}

/* Utils */
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }
