/* ============================================================
   e-Comparar — comparador de bónus de casino (PT)
   Direção NOVA: "O Painel" — instrument dashboard / control panel.
   Full-bleed (sem contentor central), fluido (clamp / auto-fit).
   Tipografia: Chivo (grotesco) + Chivo Mono (dados / rótulos).
   Paleta fria: cinza-gelo + tinta fria + índigo + esmeralda.
   CSS escrito à mão.
   ============================================================ */

:root {
  /* ---- Paleta fria (instrumento) ---- */
  --paper:    #eef1f5;   /* base fria */
  --paper-2:  #e4e9ef;   /* banda mais funda */
  --card:     #ffffff;   /* painel */
  --ink:      #101720;   /* tinta fria */
  --ink-2:    #46515e;   /* secundário */
  --ink-3:    #7a8794;   /* rótulos ténues */
  --brand:    #15803d;   /* verde-escuro — botões / estrutura / ligações */
  --brand-2:  #116634;
  --brand-tint: rgba(21, 128, 61, .12);
  --accent:   #10b981;   /* esmeralda viva — sinal / melhor valor */
  --accent-2: #059669;
  --accent-tint: rgba(16, 185, 129, .15);
  --good:     #10b981;   /* licenciado / tick */
  --line:     #dbe1e8;   /* fio */
  --line-2:   #c1cad4;   /* régua mais forte */
  --rust-bg:  #fcecc6;   /* aviso +18 (âmbar) */
  --rust-fg:  #925700;

  /* ---- Tipografia ---- */
  --display: "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Chivo Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---- Ritmo / medida ---- */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --measure: 68ch;
  --rule: 1px;

  /* ---- Raio (painel) ---- */
  --r: 4px;
  --r-lg: 8px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(16, 23, 32, .05), 0 8px 24px rgba(16, 23, 32, .05);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

/* ---- Títulos: Chivo grotesco, apertado ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.3rem, 1.5rem + 3.8vw, 4.8rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.8rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1em; }
strong { font-weight: 700; }
em { font-style: italic; }

.serif { font-family: var(--display); }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ============================================================
   Layout full-bleed (sem contentor central)
   ============================================================ */
.wrap { width: 100%; max-width: none; margin: 0; padding-inline: var(--gutter); }
.band { padding-block: clamp(3.25rem, 6vw, 7rem); position: relative; }
.band--tight { padding-block: clamp(2.25rem, 4vw, 4rem); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: #b9c3ce; }
.band + .band { border-top: var(--rule) solid var(--line); }
.band--paper2 + .band, .band + .band--paper2, .band--ink + .band, .band + .band--ink { border-top: 0; }

.section { padding-block: clamp(3.25rem, 6vw, 7rem); }
.section--gray { background: var(--paper-2); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 4rem); }

.measure { max-width: var(--measure); }
.section-head { max-width: 48ch; margin-bottom: clamp(2rem, 3vw, 3rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); font-weight: 400; }

/* rótulo de secção — mono, com índice */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before {
  content: attr(data-idx);
  color: #fff; background: var(--accent); padding: .18em .45em; border-radius: 3px;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.eyebrow--plain::before { content: ""; background: none; padding: 0; }
.eyebrow:not([data-idx])::before, .eyebrow[data-idx=""]::before { content: ""; background: none; padding: 0; }
.eyebrow:not([data-idx]), .eyebrow[data-idx=""] { gap: 0; }

.rule { height: 0; border: 0; border-top: 2px solid var(--ink); margin: 0; }
.rule--thin { border-top: var(--rule) solid var(--line-2); }

/* ============================================================
   Botões
   ============================================================ */
.btn {
  --_bg: var(--brand); --_fg: #fff; --_bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: .9rem 1.5rem; border-radius: var(--r);
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  cursor: pointer; white-space: nowrap; min-height: 3rem;
  transition: transform 120ms var(--ease), background 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { --_bg: var(--brand); --_fg: #fff; --_bd: var(--brand); }
.btn--primary:hover { --_bg: var(--brand-2); --_bd: var(--brand-2); }
.btn--brand { --_bg: var(--brand); --_fg: #fff; --_bd: var(--brand); }
.btn--brand:hover { --_bg: var(--brand-2); --_bd: var(--brand-2); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-2); }
.btn--ghost:hover { --_bg: var(--ink); --_fg: #fff; --_bd: var(--ink); }
.btn--sm { padding: .58rem 1rem; min-height: 2.5rem; font-size: .85rem; }
.btn--block { width: 100%; }
.band--ink .btn--ghost { --_fg: #fff; --_bd: #3a4553; }
.band--ink .btn--ghost:hover { --_bg: #fff; --_fg: var(--ink); }

.link-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .86rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; line-height: 1.1;
}
.link-cta:hover { text-decoration: none; color: var(--accent-2); }
.link-cta svg { width: 1.1em; height: 1.1em; }

/* ============================================================
   Badges / chips
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-size: .7rem; font-weight: 600; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .4rem .55rem; border-radius: 3px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
}
.badge svg { width: .85rem; height: .85rem; }
.badge--lic { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); background: var(--accent-tint); }
.badge--best { color: #fff; border-color: var(--accent); background: var(--accent); }
.badge--18 { color: var(--rust-fg); background: var(--rust-bg); border-color: transparent; }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; font-weight: 600; font-size: .9rem; }
.skip-link:focus { left: 0; text-decoration: none; }

/* ============================================================
   Cabeçalho / navegação
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 4.4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.28rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.brand em { font-style: normal; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .93rem; padding: .5rem .7rem; border-radius: var(--r); }
.nav-links a:hover { color: var(--ink); text-decoration: none; background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-cta { margin-left: .6rem; }
.burger { margin-left: auto; display: none; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--card); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 200ms var(--ease), opacity 150ms var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Hero — typography-first, full-bleed
   ============================================================ */
.hero { padding-block: clamp(2.5rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem); }
.hero .kicker-row {
  display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; align-items: center;
  padding-bottom: 1.2rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.hero .kicker-row .dot { color: var(--accent); }
.hero h1 { max-width: 20ch; margin-bottom: 1.1rem; }
.hero h1 .em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 54ch; }
.hero-note {
  font-family: var(--sans); font-size: clamp(1rem, .95rem + .3vw, 1.18rem); font-weight: 500;
  line-height: 1.45; color: var(--ink); max-width: 42ch;
  border-left: 3px solid var(--accent); padding-left: 1.1rem; margin-top: 1.6rem;
}
.hero-note .em { font-style: normal; color: var(--accent-2); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* faixa de estatística (painéis) */
.stat-ribbon {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.stat { padding: 1.3rem 1.5rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .k { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: .55rem; }
.stat .v { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat .v small { font-family: var(--mono); font-size: .74rem; font-weight: 500; color: var(--ink-2); display: block; letter-spacing: 0; margin-top: .35rem; text-transform: none; }
.stat--hi { background: var(--accent-tint); }
.stat--hi .v { color: var(--accent-2); }

/* ============================================================
   Faixa de divulgação de afiliação
   ============================================================ */
/* foto de Braga no hero (imagem real, CC) */
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; object-position: center 60%; display: block; border-block: 1px solid var(--line-2); }
.hero-photo figcaption { position: absolute; right: .6rem; bottom: .55rem; background: rgba(16, 23, 32, .6); color: #e7ecf1; font-family: var(--mono); font-size: .64rem; letter-spacing: .02em; padding: .3rem .5rem; border-radius: 3px; backdrop-filter: blur(2px); }
.hero-photo figcaption a { color: #fff; text-decoration: underline; }

/* mosaico de ambiente no hero (imagens temáticas, CC0) */
.hero-mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); background: #0c0f18; }
.hero-mosaic figure { position: relative; margin: 0; overflow: hidden; }
.hero-mosaic img { width: 100%; height: clamp(150px, 20vw, 300px); object-fit: cover; display: block; transition: transform .5s var(--ease); }
.hero-mosaic figure:hover img { transform: scale(1.05); }
.hero-mosaic figure + figure { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 18, .6), transparent 46%); pointer-events: none; }
.hero-mosaic figcaption { position: absolute; left: .8rem; bottom: .6rem; z-index: 1; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.hero-mosaic__credit { position: absolute; right: .6rem; bottom: .45rem; z-index: 1; font-family: var(--mono); font-size: .58rem; letter-spacing: .04em; color: rgba(255, 255, 255, .72); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
@media (max-width: 640px) { .hero-mosaic { grid-template-columns: 1fr 1fr; } .hero-mosaic figure:last-of-type { grid-column: 1 / -1; } }

.disclaimer { background: var(--rust-bg); }
.disclaimer .wrap { display: flex; gap: .8rem; align-items: flex-start; padding-block: 1rem; font-size: .9rem; color: #7a4a06; }
.disclaimer svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15rem; }
.disclaimer b { color: #5f3a04; }
.disclaimer p { margin: 0; max-width: 100ch; }

/* ============================================================
   Painel de comparação (tabela interativa)
   ============================================================ */
.ledger-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.compare-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.6rem 0 1.2rem; }
.compare-controls .label { font-family: var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 600; margin-right: .3rem; }
.sort-btn { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--ink-2); padding: .5rem .8rem; border: 1px solid var(--line-2); background: var(--card); border-radius: var(--r); cursor: pointer; transition: all 130ms var(--ease); }
.sort-btn:hover { border-color: var(--ink); color: var(--ink); }
.sort-btn[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
.cmp caption { text-align: left; }
.cmp th, .cmp td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { border-bottom: 2px solid var(--ink); background: var(--card); position: sticky; top: 0; }
.cmp thead .metric-col { width: 14rem; }
.cmp .casino-head { min-width: 12rem; vertical-align: bottom; }
.cmp .casino-head .c-name { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.cmp .casino-head .c-logo { width: 2.1rem; height: 2.1rem; border-radius: var(--r); flex: none; border: 1px solid var(--line); }
.cmp .casino-head .c-rating { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; }
.cmp .casino-head .c-rating b { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.cmp tbody th { font-family: var(--mono); font-weight: 500; color: var(--ink-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; width: 14rem; }
.cmp tbody td { font-variant-numeric: tabular-nums; }
.cmp tbody tr:hover td { background: color-mix(in srgb, var(--paper) 55%, transparent); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cell { display: flex; align-items: baseline; gap: .5rem; }
.cell .val { font-weight: 600; font-size: 1.02rem; }
.cell .sub { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); font-weight: 400; display: block; letter-spacing: 0; margin-top: .2rem; }
.tick { width: .95rem; height: .95rem; color: var(--good); flex: none; align-self: center; }
td.is-best { background: var(--accent-tint); box-shadow: inset 3px 0 0 var(--accent); }
td.is-best .val { color: var(--accent-2); }
.badge--best { white-space: nowrap; }
.cmp .cta-row td { padding-top: 1.1rem; padding-bottom: 1.2rem; }
.cmp .cta-row th { color: var(--ink); }
.best-key { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-3); margin-top: 1rem; }
.best-key .swatch { width: .9rem; height: .9rem; background: var(--accent-tint); border-left: 3px solid var(--accent); }

/* ============================================================
   Painéis de casino (bento, com medidor circular)
   ============================================================ */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.entry {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem); display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform 160ms var(--ease), border-color 160ms var(--ease);
}
.entry:hover { transform: translateY(-3px); border-color: var(--brand); }
.entry__shot { width: 100%; height: clamp(160px, 19vw, 200px); object-fit: contain; display: block; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 1.1rem; background: #0e1526; }
.entry__idx { display: none; }
.entry__topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.entry__head { display: flex; align-items: center; gap: .7rem; }
.entry__logo { width: 2.6rem; height: 2.6rem; border-radius: var(--r); border: 1px solid var(--line); flex: none; }
.entry__name { font-family: var(--display); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.entry__rank { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.entry__rating { font-size: .8rem; color: var(--ink-3); }
.entry__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.entry__bonus { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 1rem; }
.entry__bonus small { font-family: var(--mono); font-size: .78rem; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.entry__facts { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; }
.entry__facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.entry__facts li:first-child { border-top: 1px solid var(--line); }
.entry__facts .k { color: var(--ink-3); }
.entry__facts .v { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.entry__cta { margin-top: auto; display: grid; gap: .55rem; }
.stars { color: var(--accent); letter-spacing: 1px; }

/* medidor circular (gauge) */
.gauge { --sz: 3.6rem; width: var(--sz); height: var(--sz); position: relative; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: var(--line); stroke-width: 3.5; }
.gauge .g-fill { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.gauge .g-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: .95rem; color: var(--ink); }
.gauge .g-num small { font-size: .58rem; color: var(--ink-3); font-weight: 400; }

/* ============================================================
   Método / passos numerados
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.4rem 1.5rem 1.6rem; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 1.1rem; font-weight: 600; color: #fff; background: var(--brand); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--r); margin-bottom: .8rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

.pull { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 700; line-height: 1.2; color: var(--ink); max-width: 24ch; letter-spacing: -.03em; }
.pull .em { font-style: normal; color: var(--accent); }

/* ============================================================
   Grelhas genéricas (fluidas)
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card--pad { padding: clamp(1.6rem, 3vw, 2.4rem); }

.cc-facts { list-style: none; margin: 0; padding: 0; }
.cc-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cc-facts li:first-child { border-top: 1px solid var(--line); }
.cc-facts .k { color: var(--ink-2); }
.cc-facts .v { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cc-top { display: flex; align-items: center; gap: .9rem; }
.cc-logo { width: 3rem; height: 3rem; border-radius: var(--r); border: 1px solid var(--line); flex: none; }
.cc-rating { font-family: var(--mono); font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.cc-rating b { color: var(--accent-2); font-variant-numeric: tabular-nums; }

/* ============================================================
   FAQ / acordeão
   ============================================================ */
.faq { max-width: 82ch; border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); font-weight: 700; color: var(--ink);
  padding: 1.3rem 2.8rem 1.3rem 0; position: relative; display: block; letter-spacing: -.02em;
}
.acc-btn::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform 220ms var(--ease); line-height: 1; }
.acc-btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.acc-panel { overflow: hidden; }
.acc-panel > div { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 74ch; }
.acc-panel p:last-child { margin-bottom: 0; }

/* ============================================================
   Bloco de jogo responsável
   ============================================================ */
.rg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.band--ink h2 { color: #fff; }
.band--ink .eyebrow { color: #6ee0b4; }
.band--ink .eyebrow::before { background: var(--accent); color: #06120c; }
.rg-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.rg-list li { display: flex; gap: .8rem; font-size: .96rem; color: var(--ink-2); padding: .9rem 0; border-bottom: 1px solid var(--line); }
.rg-list svg { width: 1.15rem; height: 1.15rem; color: var(--accent); flex: none; margin-top: .2rem; }
.band--ink .rg-list { border-top-color: #2b333d; }
.band--ink .rg-list li { color: #b9c3ce; border-bottom-color: #2b333d; }
.band--ink .rg-list svg { color: #6ee0b4; }
.rg-block { }

/* ============================================================
   Prose (artigos / análises)
   ============================================================ */
.prose { max-width: var(--measure); }
.prose > * { max-width: 74ch; }
.prose h2 { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose ol { list-style: none; counter-reset: li; padding-left: 0; }
.prose ol > li { counter-increment: li; padding-left: 2.4rem; position: relative; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--mono); color: var(--accent-2); font-weight: 600; font-size: .9em; }
.prose-figure { margin: 1.8rem 0; max-width: 74ch; }
.prose-figure img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.prose-figure figcaption { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); margin-top: .5rem; }
.prose-figure figcaption a { color: var(--ink-2); }
.callout { background: var(--accent-tint); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 1.1rem 1.3rem; font-size: .95rem; color: var(--ink-2); margin: 1.6rem 0; max-width: 74ch; }
.callout strong { color: var(--ink); }

.breadcrumb { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--ink-2); }

.proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); max-width: none; }
.pc { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--card); box-shadow: var(--shadow); }
.pc h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .4rem; }
.pc ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.pc li { display: flex; gap: .6rem; font-size: .93rem; color: var(--ink-2); }
.pc li svg { width: 1rem; height: 1rem; flex: none; margin-top: .25rem; }
.pc--pro h3 { color: var(--good); }
.pc--pro li svg { color: var(--good); }
.pc--con h3 { color: #d1483a; }
.pc--con li svg { color: #d1483a; }

.verdict { border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem); background: var(--card); max-width: none; box-shadow: var(--shadow); }
.verdict .score { display: flex; align-items: baseline; gap: .6rem; }
.verdict .score b { font-family: var(--mono); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.04em; color: var(--accent-2); line-height: 1; }
.verdict .score span { color: var(--ink-2); }

.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); max-width: none; }
.ficha div { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ficha .k { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.ficha .v { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1.02rem; }

/* ============================================================
   Formulários
   ============================================================ */
.form { max-width: 30rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.field input, .field textarea { font-family: inherit; font-size: 1rem; color: var(--ink); padding: .8rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--card); transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 8rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: .2rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--accent); }
.form-ok { border: 1.5px solid var(--good); color: var(--good); border-radius: var(--r); padding: 1rem; font-weight: 600; background: var(--accent-tint); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; border-top: 2px solid var(--ink); }
.info-list li { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list .k { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }

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

/* ============================================================
   Rodapé (banda escura)
   ============================================================ */
.site-footer { background: var(--ink); color: #8b96a3; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; border-top: 3px solid var(--accent); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.4rem; border-bottom: 1px solid #2b333d; }
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #6ee0b4; }
.footer-about { max-width: 34ch; font-size: .92rem; color: #79848f; margin-top: .9rem; }
.footer-col h4 { font-family: var(--mono); color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: #8b96a3; font-size: .92rem; }
.footer-col a:hover { color: #fff; }

.rg-footer { padding-block: 2.2rem; border-bottom: 1px solid #2b333d; }
.rg-footer .rg-note { font-size: .88rem; color: #79848f; max-width: 84ch; margin: 1rem 0 1.6rem; }
.rg-footer .badge--18 { background: #2a2410; color: #e6b34d; }
.rg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.rg-logos a { display: inline-flex; align-items: center; background: #fff; border-radius: var(--r); padding: .5rem .8rem; transition: transform 130ms var(--ease); }
.rg-logos a:hover { transform: translateY(-2px); text-decoration: none; }
.rg-logos img { height: 1.6rem; width: auto; filter: brightness(0); opacity: .68; transition: opacity 130ms var(--ease); }
.rg-logos a:hover img { opacity: 1; }
.rg-logos .rg-text { font-family: var(--display); font-weight: 700; color: var(--ink) !important; font-size: .82rem; letter-spacing: -.01em; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .84rem; color: #6b7682; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #79848f; }

/* ============================================================
   404
   ============================================================ */
.notfound { padding-block: clamp(4rem, 8vw, 8rem); }
.notfound .big { font-family: var(--mono); font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 600; color: var(--accent); letter-spacing: -.05em; line-height: .9; }

/* ============================================================
   Utilidades
   ============================================================ */
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { height: 0; border: 0; border-top: 1px solid var(--line-2); margin: clamp(2rem, 4vw, 3rem) 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.stack-gap > * + * { margin-top: 1rem; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; position: absolute; left: 0; right: 0; top: 4.4rem; background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 1rem var(--gutter) 1.4rem; box-shadow: var(--shadow); }
  .nav-links.open a { padding: .8rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-cta { display: inline-flex; margin: .8rem 0 0; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   Vida / animação (gated em .has-js; respeita reduced-motion)
   ============================================================ */
.site-header { transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(16, 23, 32, .07); }

.g-fill { transition: stroke-dashoffset 1.1s var(--ease); }

.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js .reveal.is-in { opacity: 1; transform: none; }
.has-js .entry.reveal:nth-child(2) { transition-delay: .09s; }
.has-js .entry.reveal:nth-child(3) { transition-delay: .18s; }
.has-js .step.reveal:nth-child(2) { transition-delay: .06s; }
.has-js .step.reveal:nth-child(3) { transition-delay: .12s; }
.has-js .step.reveal:nth-child(4) { transition-delay: .18s; }
.has-js .step.reveal:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  .g-fill { transition: none; }
}

/* micro-interações */
.entry__logo, .cc-logo { transition: transform .2s var(--ease); }
.entry:hover .entry__logo { transform: rotate(-4deg) scale(1.05); }
.link-cta svg { transition: transform .2s var(--ease); }
.link-cta:hover svg { transform: translateX(4px); }
.rg-logos img, .footer-col a, .nav-links a { transition: all .16s var(--ease); }

/* ============================================================
   Elementos temáticos (azulejo + silhueta de Braga)
   ============================================================ */
.band--tiled { position: relative; isolation: isolate; }
.band--tiled::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/azulejo.svg") repeat; background-size: 108px 108px; opacity: .55;
}

/* faixa-divisória de azulejo (full-bleed) */
.tile-strip {
  height: 56px; border-block: 1px solid var(--line);
  background: url("../img/azulejo.svg") repeat-x center; background-size: 56px 56px;
  background-color: var(--paper-2);
}

/* silhueta de Braga no fundo da banda de jogo responsável */
.rg-band { position: relative; overflow: hidden; }
.skyline { display: block; width: 100%; height: auto; margin-top: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: calc(-1 * clamp(3.25rem, 6vw, 7rem)); }
@media (max-width: 560px) { .skyline { margin-top: 2rem; } }
