/* ============================================================
   Ofertas Activas — "Caderno de Contas"
   Redesign: dossier / livro-razão editorial.
   Papel pergaminho · régua vermelha de margem · Fraunces display
   · figuras monoespaçadas · carimbos · linhas de razão.
   CSS escrito à mão. Sem frameworks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper:   #f0e9db;   /* fundo pergaminho */
  --paper-2: #f8f3e9;   /* superfície de cartão (mais clara) */
  --paper-3: #ebe2d0;   /* superfície recuada / tint */
  --ink:     #23262d;   /* tinta quase-preta, ligeiro azul */
  --ink-2:   #3b3f49;
  --muted:   #6c6555;   /* castanho-cinza para apoio */
  --line:    #d9cfba;   /* fio de régua */
  --line-2:  #c6b99e;   /* fio mais forte */
  --violet:  #ef5f14;   /* MARCA — laranja vivo (ações / acentos) */
  --violet-dk:#c5480a;
  --red:     #e23a2b;   /* vermelho vivo — só avisos (18+, "contra") */
  --red-dk:  #b7261a;
  --green:   #0f9d6e;   /* esmeralda viva "verificado" */
  --green-dk:#0a6f4e;
  --panel:   #241c17;   /* secção escura quente (café) */
  --panel-2: #33281f;

  /* cores vivas — paleta portuguesa (azulejo + âmbar) */
  --azul:    #2f78e0;   /* azul de azulejo, mais vivo */
  --azul-dk: #1f5cc0;
  --gold:    #f4a91f;   /* âmbar quente, mais vivo */
  --gold-dk: #cf8404;

  /* tintas suaves p/ fundos de secção */
  --tint-violet:#fdeadd;
  --tint-azul:  #e6eefc;
  --tint-gold:  #fdeecb;
  --tint-green: #dcf0e6;
  --tint-red:   #fbe6e2;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* full-bleed, sem contentor: largura total + goteira fluida (resiliente) */
  --gut: clamp(1.15rem, 5.2vw, 6rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-dk); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--violet); }
strong, b { font-weight: 600; }
::selection { background: #d9c9a2; color: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 .55em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4rem); font-weight: 460; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.42rem); line-height: 1.16; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; font-weight: 460; color: var(--violet); }
p { margin: 0 0 1rem; }
.lede {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}
.muted { color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }

/* números tabulares monoespaçados — a "conta" */
.tag-serif, .tnum, .val, .rating b, .code, .peek .val, .peek-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- Layout (full-bleed, sem contentor) ---------- */
.wrap { width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--gut); }
/* coluna de leitura estreita (legais/FAQ) — fluida mas com medida legível */
.wrap-narrow { width: 100%; max-width: min(100%, 66rem); margin-inline: auto; padding-inline: var(--gut); }

.section { padding: clamp(3rem, 2rem + 5vw, 5.4rem) 0; position: relative; }
/* régua dupla entre secções — como num livro-razão */
main > .section + .section::before,
main > .section + .disclosure::before,
main > .disclosure + .section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 3px 0 -2px var(--line);
}
.section--tint { background: var(--paper-3); }
.section--ink { background: var(--panel); color: #e7e2d6; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #e9b6a4; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 1rem + 3vw, 3.4rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.center { text-align: center; }

/* ---------- Secção-cabeçalho (etiqueta de dossiê) ---------- */
.sec-head { max-width: 62ch; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.sec-head p:not(.eyebrow) { color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
}
.eyebrow .num {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--violet);
  border: 1.5px solid var(--violet);
  padding: .12em .45em;
  letter-spacing: .05em;
  border-radius: 2px;
  line-height: 1;
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: #f6f1e6; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  line-height: 1; letter-spacing: .005em;
  padding: .82rem 1.25rem;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: 3px;
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 3px 5px 0 -1px rgba(35,38,45,.22); color: var(--fg); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .arw { transition: transform .15s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn--primary { --bg: var(--violet); --fg: #fdf7ec; --bd: var(--violet-dk); }
.btn--primary:hover { box-shadow: 3px 5px 0 -1px var(--violet-dk); }
.btn--green { --bg: var(--green); --fg: #f2f8f4; --bd: var(--green-dk); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--ink); background: rgba(35,38,45,.04); }
.btn--wide { width: 100%; }

/* ---------- Barra 18+ ---------- */
.agebar {
  background: var(--ink); color: #ded7c7;
  font-size: .8rem; line-height: 1.4;
}
.agebar .wrap { display: flex; align-items: center; gap: .7rem; padding-block: .5rem; }
.agebar a { color: #f0d9cf; }
.badge18 {
  flex: none;
  font-family: var(--mono); font-weight: 600; font-size: .72rem;
  color: #fdf7ec; background: var(--red);
  border: 1px solid var(--red-dk);
  padding: .18em .42em; border-radius: 2px; letter-spacing: .02em;
}

/* ---------- Cabeçalho / masthead ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(7px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 22px -18px rgba(35,38,45,.5); }
.nav { display: flex; align-items: center; gap: 1.4rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { width: 34px; height: 34px; flex: none; border-radius: 6px; }
.brand b { font-family: var(--serif); font-weight: 560; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand .tag {
  font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); border-left: 1px solid var(--line-2); padding-left: .55rem; align-self: center;
}
.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding: .3rem 0; position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1.5px;
  background: var(--violet); transition: right .22s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: #fdf7ec !important; background: var(--violet); border: 1.5px solid var(--violet-dk);
  padding: .5rem .85rem; border-radius: 3px;
}
.nav-cta:hover { background: var(--violet-dk); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); transition: .22s ease;
}
.burger span { top: 21px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(29,37,48,.4); opacity: 0; visibility: hidden; transition: .2s ease; z-index: 35; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 60; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* ---------- Hero (folha de dossiê) ---------- */
.hero { padding-top: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.8rem, 1rem + 3vw, 3.6rem); align-items: end; }
.hero .hero-grid > div:first-child {
  border-left: 2px solid var(--violet);
  padding-left: clamp(1rem, .5rem + 2vw, 1.9rem);
}
.hero h1 { margin-top: .3rem; max-width: 20ch; }
.hero .lede { margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.trust-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin-top: 1.7rem; font-size: .82rem; color: var(--muted);
  font-family: var(--mono); letter-spacing: .01em;
}
.trust-line b { color: var(--ink); font-weight: 600; }
.trust-line .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* cartão-resumo estilo talão de razão */
.hero-peek {
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: 4px 6px 0 -1px var(--paper-3), 4px 6px 0 0 var(--line);
  overflow: hidden;
}
.hero-peek.hero-peek--img { padding: 0; box-shadow: 5px 7px 0 -1px var(--line); }
.hero-peek.hero-peek--img img { width: 100%; height: auto; }
.peek-head {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); padding: .7rem .95rem; border-bottom: 1px solid var(--line);
  background: var(--paper-3);
}
.peek-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  padding: .8rem .95rem; border-bottom: 1px dashed var(--line);
}
.peek-row:last-child { border-bottom: 0; }
.peek-row .nm { font-family: var(--serif); font-weight: 560; font-size: 1.05rem; }
.peek-row .sub { color: var(--muted); font-size: .82rem; font-family: var(--mono); }
.peek-row .val {
  text-align: right; font-weight: 600; font-size: 1.15rem; color: var(--green-dk);
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
}
.peek-row .val small { color: var(--muted); font-size: .68rem; font-weight: 400; font-family: var(--sans); }

/* ---------- Divulgação de afiliação ---------- */
.disclosure { background: var(--paper-3); }
.disclosure .wrap {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.05rem var(--gut); border-left: 3px solid var(--violet);
}
.disclosure svg { flex: none; color: var(--violet); margin-top: .15rem; }
.disclosure p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* ---------- Cartões de casino ---------- */
.casino-list { display: flex; flex-direction: column; gap: 1.1rem; }
.casino-card {
  display: grid;
  grid-template-columns: 46px 244px 1fr auto;
  gap: 1.4rem; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 5px;
  padding: 1.35rem 1.5rem;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: 5px 8px 0 -2px var(--line); border-color: var(--line-2); }
.casino-card .rank {
  font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--line-2);
  text-align: center; line-height: 1;
}
.casino-card:first-child .rank { color: var(--violet); }
/* pré-visualização do lobby (imagem do casino) */
.casino-shot { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 3px 4px 0 -1px var(--line); }
.casino-shot img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.casino-card:hover .casino-shot img { transform: scale(1.03); }
.casino-brand { display: inline-flex; align-items: center; margin-bottom: .6rem; background: #14101a; border: 1px solid #2a2333; border-radius: 8px; padding: 6px 12px; }
.casino-brand img { height: 26px; width: auto; display: block; }
.casino-body h3 { margin: 0 0 .4rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.casino-body .rating {
  font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 500;
}
.casino-body .rating b { color: var(--green-dk); font-size: 1rem; }
.casino-body p { font-size: .92rem; color: var(--muted); margin: 0 0 .7rem; max-width: 60ch; }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  border: 1px solid var(--line-2); border-radius: 3px; padding: .28em .55em;
  color: var(--ink-2); background: var(--paper); display: inline-flex; gap: .4em; align-items: center;
}
.chip .k { text-transform: uppercase; letter-spacing: .06em; font-size: .62rem; color: var(--muted); }
.chip--bonus { border-color: color-mix(in srgb, var(--green) 45%, var(--line-2)); background: color-mix(in srgb, var(--green) 8%, var(--paper)); }
.chip--wager { border-color: color-mix(in srgb, var(--violet) 40%, var(--line-2)); background: color-mix(in srgb, var(--violet) 7%, var(--paper)); }
.casino-actions { display: flex; flex-direction: column; gap: .5rem; min-width: 170px; }
.casino-actions .note { font-family: var(--mono); font-size: .66rem; color: var(--muted); text-align: center; letter-spacing: .03em; }

/* ---------- Citação / regra ---------- */
.pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem); line-height: 1.28;
  color: var(--ink); margin: 0; padding-left: 1.3rem;
  border-left: 3px solid var(--violet);
}
.pull cite { display: block; margin-top: 1rem; font-family: var(--mono); font-style: normal; font-size: .78rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

/* ---------- Tabela comparativa (livro-razão) ---------- */
.table-wrap { margin-top: 1.5rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 5px; background: var(--paper-2); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .93rem; }
table.compare caption {
  caption-side: top; text-align: left; font-family: var(--mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  padding: .9rem 1rem; border-bottom: 1px solid var(--line);
}
table.compare th, table.compare td { padding: .78rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.compare thead th {
  font-family: var(--serif); font-weight: 560; font-size: 1.02rem; color: var(--ink);
  background: var(--paper-3); border-bottom: 2px solid var(--line-2);
}
table.compare thead th:first-child { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
table.compare tbody th[scope="row"] { font-weight: 600; color: var(--ink-2); font-size: .86rem; width: 30%; }
table.compare tbody tr:nth-child(even) td, table.compare tbody tr:nth-child(even) th { background: color-mix(in srgb, var(--paper-3) 50%, transparent); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td.tnum { font-size: .95rem; }
table.compare .win { color: var(--green-dk); font-weight: 600; position: relative; }
table.compare .win::before { content: "▸ "; color: var(--green); }
.table-foot { font-size: .8rem; color: var(--muted); margin-top: .9rem; line-height: 1.5; }

/* ---------- Medidores (pesos / notas) ---------- */
.meters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .95rem; max-width: 640px; }
.meter { display: grid; grid-template-columns: 12rem 1fr 3rem; gap: 1rem; align-items: center; }
.meter .lbl { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.meter .track { height: 9px; background: var(--paper-3); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.meter .fill { display: block; height: 100%; width: 0; background: var(--green); transition: width .9s cubic-bezier(.2,.7,.2,1); }
.meter .fill.is-mid { background: var(--violet); }
.meter .num { font-family: var(--mono); font-weight: 600; font-size: .9rem; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Guia: passos numerados ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); flex: none;
  font-family: var(--mono); font-weight: 600; font-size: .9rem; color: var(--violet);
  border: 1.5px solid var(--violet); border-radius: 3px; width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li h3 { margin: .1rem 0 .35rem; }
.steps li p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Jogo responsável ---------- */
.rg-block {
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 5px;
  border-left: 4px solid var(--green); padding: 1.7rem 1.8rem;
}
.rg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.rg-grid h2 { margin-top: .5rem; }
.rg-signs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.rg-signs li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: .7rem; }
.rg-signs li:last-child { border-bottom: 0; padding-bottom: 0; }
.rg-signs svg { flex: none; color: var(--green); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .8rem;
  padding: 1.1rem .2rem; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--mono); font-size: .8rem; color: var(--violet); font-weight: 600; flex: none; }
.faq summary .icn { margin-left: auto; flex: none; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary .icn { transform: rotate(45deg); }
.faq .ans { padding: 0 .2rem 1.2rem 2.6rem; }
.faq .ans p { margin: 0; color: var(--muted); }

/* ---------- Ficha (dl chave/valor) ---------- */
.ficha { border: 1px solid var(--line-2); border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.ficha dl { margin: 0; }
.frow { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .78rem 1.1rem; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding-top: .15rem; }
.frow dd { margin: 0; font-weight: 500; color: var(--ink); }
.frow dd small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

/* ---------- Prós e contras ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pc { border: 1px solid var(--line-2); border-radius: 5px; padding: 1.3rem 1.4rem; background: var(--paper-2); }
.pc h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .9rem; }
.pc--pro { border-top: 3px solid var(--green); }
.pc--pro h4 { color: var(--green-dk); }
.pc--con { border-top: 3px solid var(--red); }
.pc--con h4 { color: var(--red-dk); }
.pc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.pc li { display: flex; gap: .55rem; font-size: .92rem; color: var(--ink-2); align-items: flex-start; }
.pc li svg { flex: none; margin-top: .22rem; }
.pc--pro li svg { color: var(--green); }
.pc--con li svg { color: var(--red); }

/* ---------- Cartão-nota (links relacionados) ---------- */
.note-card { display: block; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 1.3rem 1.4rem; transition: transform .16s ease, box-shadow .16s ease; color: var(--ink); }
.note-card:hover { transform: translateY(-2px); box-shadow: 4px 7px 0 -2px var(--line); color: var(--ink); }
.note-card .k { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dk); font-weight: 600; }
.note-card h3 { margin: .5rem 0 .4rem; }
.note-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Prosa (páginas de texto/legais) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose .first::first-letter {
  font-family: var(--serif); font-weight: 500; float: left; font-size: 3.3rem; line-height: .82;
  padding: .1rem .5rem .1rem 0; color: var(--violet);
}
.prose a { font-weight: 500; }

/* ---------- Formulário ---------- */
.form { max-width: 34rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line-2); border-radius: 4px;
  padding: .7rem .8rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 15%, transparent); }
.field .req { color: var(--red); }
.field .hint { display: block; margin-top: .35rem; font-size: .78rem; color: var(--muted); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); margin-bottom: 1.3rem; line-height: 1.45; }
.check input { margin-top: .2rem; accent-color: var(--violet); flex: none; width: 1.05rem; height: 1.05rem; }
.check .req { color: var(--red); }

/* ---------- Obrigado / 404 ---------- */
.thanks, .err-page { text-align: center; max-width: 44rem; margin-inline: auto; padding-block: clamp(1rem, 3vw, 3rem); }
.thanks .ok { width: 62px; height: 62px; margin: 0 auto 1.4rem; color: var(--green); }
.thanks p, .err-page p { color: var(--muted); max-width: 48ch; margin-inline: auto; }
.err-page .code {
  font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 10vw, 9rem); font-weight: 500;
  color: var(--violet); line-height: .9; margin-bottom: .5rem; letter-spacing: -0.03em;
}

/* ---------- Rodapé ---------- */
.site-footer { background: var(--panel); color: #cdc7ba; margin-top: 0; border-top: 3px solid var(--violet); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.footer-brand b { font-family: var(--serif); font-size: 1.3rem; color: #fff; display: block; margin-bottom: .7rem; }
.footer-brand p { font-size: .88rem; color: #a9a294; max-width: 42ch; }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #8f8879; margin: .2rem 0 .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #d7d1c4; text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-rg { border-top: 1px solid rgba(255,255,255,.1); }
.footer-rg .wrap { padding-block: 1.6rem; }
.rg-head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.rg-head p { margin: 0; font-size: .84rem; color: #b7b0a2; line-height: 1.5; }
.rg-head strong { color: #e7e1d4; }
.rg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.rg-logos img { height: 30px; width: auto; opacity: .82; filter: grayscale(1) brightness(1.7); transition: opacity .2s ease; }
.rg-logos a:hover img { opacity: 1; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: #8f8879; }
.footer-bottom a { color: #c3bcae; }
.foot-disc { max-width: 60ch; }

/* ---------- AOS fallback ---------- */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .btn, .casino-card, .note-card { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .rg-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .casino-card { grid-template-columns: 1fr; row-gap: 1rem; padding: 1.2rem 1.25rem; align-items: start; }
  .casino-card .rank { text-align: left; font-size: 1.9rem; line-height: 1; }
  .casino-shot { order: -1; }
  .casino-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .casino-actions .btn { flex: 1; min-width: 140px; }
  .casino-actions .note { flex-basis: 100%; }
}
@media (max-width: 720px) {
  /* backdrop-filter cria bloco de contenção p/ fixed → tira no mobile
     para o menu off-canvas medir a partir da viewport (altura total). */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--paper-2); border-left: 1px solid var(--line-2);
    flex-direction: column; align-items: flex-start; gap: .3rem;
    padding: 5rem 1.6rem 2rem; transform: translateX(100%); transition: transform .25s ease; z-index: 38;
  }
  .nav-links.is-open { transform: translateX(0); box-shadow: -12px 0 40px -20px rgba(29,37,48,.6); }
  .nav-links a { font-size: 1.05rem; width: 100%; padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: .6rem; align-self: stretch; text-align: center; }
  .burger { display: block; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .meter { grid-template-columns: 1fr 3rem; grid-template-areas: "lbl num" "track track"; row-gap: .4rem; }
  .meter .lbl { grid-area: lbl; } .meter .num { grid-area: num; } .meter .track { grid-area: track; }
  .frow { grid-template-columns: 1fr; gap: .2rem; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   COR & VIDA — paleta portuguesa, azulejos, ilustração, animação
   ============================================================ */

/* ---- Fundos de secção coloridos (quebram o pergaminho) ---- */
.section--azul   { background: var(--tint-azul); }
.section--gold   { background: var(--tint-gold); }
.section--green  { background: var(--tint-green); }
.section--violet { background: var(--tint-violet); }

/* ---- Faixa de azulejos decorativa (tematismo PT, sem casino) ---- */
.azulejo-strip {
  height: 16px;
  background: url("../img/azulejo.svg") repeat-x;
  background-size: auto 16px;
  border-block: 1px solid var(--line);
}
.azulejo-strip--tall { height: 26px; background-size: auto 26px; }

/* ---- Marca de água de azulejo por trás do resumo ---- */
.peek-head { position: relative; }
.hero-peek::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/azulejo.svg") repeat;
  background-size: 46px 46px; opacity: .05; pointer-events: none;
}
.hero-peek > * { position: relative; }

/* ---- Chips e medidores a várias cores (mais vivo) ---- */
.chip--wager { border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); background: color-mix(in srgb, var(--gold) 14%, var(--paper)); }
.chip--wager .k { color: var(--gold-dk); }
.chip:not(.chip--bonus):not(.chip--wager) { border-color: color-mix(in srgb, var(--azul) 40%, var(--line-2)); background: color-mix(in srgb, var(--azul) 8%, var(--paper)); }

/* medidores: cor por posição para leitura viva */
.meters .meter:nth-child(1) .fill { background: var(--green); }
.meters .meter:nth-child(2) .fill { background: var(--azul); }
.meters .meter:nth-child(3) .fill { background: var(--gold); }
.meters .meter:nth-child(4) .fill { background: var(--violet); }
.meters .meter:nth-child(5) .fill { background: var(--azul-dk); }
.meter .fill { background: var(--green); position: relative; }

/* rank do 1.º lugar com laço dourado */
.casino-card:first-child { border-color: color-mix(in srgb, var(--gold) 45%, var(--line-2)); box-shadow: inset 3px 0 0 var(--gold); }
.casino-card:first-child .rank { color: var(--gold-dk); }

/* números da tabela "win" a verde vivo + azul nos títulos */
table.compare thead th:not(:first-child) { color: var(--azul-dk); }
.eyebrow .num { color: var(--violet); }
.note-card .k { color: var(--azul-dk); }

/* links do menu com sublinhado a cores rotativas */
.nav-links li:nth-child(2) a::after { background: var(--azul); }
.nav-links li:nth-child(3) a::after { background: var(--gold-dk); }
.nav-links li:nth-child(4) a::after { background: var(--green); }

/* ---- Hero: foto real (azulejos do Porto) + resumo flutuante ---- */
.hero-visual { position: relative; align-self: end; }
.hero-visual .hero-peek { position: relative; z-index: 2; margin: -3.2rem 1.4rem 0; }
.img-credit { font-family: var(--mono); font-size: .62rem; letter-spacing: .02em; color: var(--muted); margin: .7rem 0 0; text-align: right; }
.img-credit a { color: var(--muted); }
.hero-art {
  position: relative; border: 1px solid var(--line-2); border-radius: 6px;
  overflow: hidden; background: var(--tint-azul);
  box-shadow: 6px 9px 0 -2px var(--line);
}
.hero-art img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-art figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(29,37,48,.72));
  padding: 1.6rem .9rem .7rem;
}

/* ---- Faixa "Feito no Porto" (banner ilustrado, local + cor) ---- */
.porto-band { position: relative; overflow: hidden; background: var(--panel); color: #eef2f0; }
.porto-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,1rem+3vw,3.4rem); align-items: center; padding-block: clamp(2.4rem,1.6rem+3vw,3.8rem); position: relative; z-index: 1; }
.porto-band h2 { color: #fff; }
.porto-band p { color: #c8cfd3; }
.porto-band .porto-figure { border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 40px -26px #000; }
.porto-band .porto-figure img { width: 100%; height: auto; display: block; }
.porto-band .stat-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.4rem; }
.porto-band .stat { }
.porto-band .stat b { font-family: var(--mono); font-size: 1.7rem; color: var(--gold); display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.porto-band .stat span { font-size: .78rem; color: #a9b1b5; letter-spacing: .02em; }

/* ---- Faixa fotográfica cinemática (vida noturna / brilho) ---- */
.photo-band { position: relative; overflow: hidden; background: #16120d; display: grid; align-items: center; min-height: clamp(300px, 34vw, 440px); }
.photo-band > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,14,10,.9) 0%, rgba(18,14,10,.55) 45%, rgba(18,14,10,.15) 100%); }
.photo-band .wrap { position: relative; z-index: 2; padding-block: clamp(2.2rem,1.6rem+3vw,3.6rem); }
.photo-band .eyebrow { color: #f2c78a; }
.photo-band .eyebrow .num { color: var(--gold); border-color: var(--gold); }
.photo-band h2 { color: #fff; max-width: 20ch; }
.photo-band p { color: #e7ded0; max-width: 46ch; }
.photo-band .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.5); }
.photo-band .btn--ghost:hover { --bd: #fff; background: rgba(255,255,255,.08); }
.photo-credit { position: absolute; right: .7rem; bottom: .5rem; z-index: 3; font-family: var(--mono); font-size: .58rem; letter-spacing: .02em; color: rgba(255,255,255,.65); }
.photo-credit a { color: rgba(255,255,255,.75); }

/* ---- Foto-inset (imagem lateral numa secção) ---- */
.photo-inset { position: relative; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; box-shadow: 6px 9px 0 -2px var(--line); }
.photo-inset img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; display: block; }
.photo-inset figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; font-family: var(--mono); font-size: .58rem; letter-spacing: .02em; color: rgba(255,255,255,.82); background: linear-gradient(transparent, rgba(18,14,10,.72)); padding: 1.4rem .7rem .5rem; text-align: right; }
.photo-inset figcaption a { color: rgba(255,255,255,.9); }

/* ---- Ilustrações-spot (secções) ---- */
.spot { display: flex; align-items: center; gap: 1rem; }
.spot img, .spot svg { width: 56px; height: 56px; flex: none; }

/* ---- Animações ---- */
/* revelação suave (fallback quando AOS não corre também trata) */
@media (prefers-reduced-motion: no-preference) {
  [data-aos] { will-change: opacity, transform; }

  /* flutuação lenta do decoro do hero */
  .float-slow { animation: floatY 6s ease-in-out infinite; }
  @keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

  /* ponto "ao vivo / atualizado" pulsante */
  .live-dot { position: relative; }
  .live-dot::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    display: inline-block; margin-right: .5em; vertical-align: middle;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent);
    animation: pulse 2.2s ease-out infinite;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); }
    70% { box-shadow: 0 0 0 9px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
  }

  /* sublinhado animado nos links de prosa/CTA-texto */
  .link-anim { background-image: linear-gradient(var(--violet), var(--violet)); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .28s ease; text-decoration: none; padding-bottom: 1px; }
  .link-anim:hover { background-size: 100% 1.5px; }

  /* brilho suave que percorre a faixa de azulejos */
  .azulejo-strip { background-position-x: 0; animation: slideTile 40s linear infinite; }
  @keyframes slideTile { to { background-position-x: 460px; } }

  /* aparição do número da conta */
  .count { transition: color .3s ease; }
}

/* número "ao vivo" — estilo etiqueta de atualização */
.updated {
  display: inline-flex; align-items: center; gap: .1em;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-dk); background: var(--tint-green);
  border: 1px solid color-mix(in srgb, var(--green) 40%, var(--line-2));
  padding: .3em .6em; border-radius: 999px;
}

@media (max-width: 900px) {
  .porto-band .wrap { grid-template-columns: 1fr; }
}

