/* ==========================================================================
   Nossos Bónus — comparador independente de bónus de casino (pt-PT)
   Visual DNA: "O Dossiê" — dark premium rating-ledger / analyst comparison.
   Hand-written CSS. Locked dark theme. No glow, no gradients-for-effect.
   Type: Plus Jakarta Sans (UI/headings) + Lora (display numerals, quotes).
   ========================================================================== */

:root {
  /* --- palette (locked dark) --- */
  --ink:       #0d0f13;   /* deepest — footer, hero backdrop */
  --bg:        #12141a;   /* base */
  --surface:   #171a21;   /* cards */
  --surface-2: #1c2029;   /* raised / hover */
  --text:      #eef0f4;
  --muted:     #9aa3b2;
  --faint:     #616b7a;
  --gold:      #a78bfa;   /* PRIMARY ACCENT = bright violet (text/icons/scores) */
  --gold-2:    #8b5cf6;
  --gold-wash: rgba(167, 139, 250, .16);
  --violet-deep: #7c3aed; /* button fill — solid violet with white text */
  --green:     #34d399;   /* bright mint */
  --green-wash:rgba(52, 211, 153, .16);
  --warn:      #fbbf24;   /* amber (cautions) */
  /* bright multi-colour accents */
  --azul:      #22d3ee;   /* bright cyan */
  --azul-deep: #0ea5e9;
  --azul-wash: rgba(34, 211, 238, .16);
  --terra:     #f472b6;   /* bright pink */
  --terra-wash:rgba(244, 114, 182, .16);
  --hair:      #262a33;   /* hairline rules */
  --hair-2:    #1d212a;   /* softer hair */

  /* --- type --- */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --num: var(--serif);

  /* --- rhythm --- (full-bleed, fluid: no fixed container, padding scales with vw) */
  --gutter: clamp(1.15rem, 6vw, 10rem);
  --gutter-narrow: clamp(1.15rem, 5vw, 3rem);
  --measure: 74ch;
  --r-lg: 16px;
  --r-md: 11px;
  --r-sm: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --tap: 44px;
}

/* ---------- reset ---------- */
*, *::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #14161c; }
:where(.tnum) { font-variant-numeric: tabular-nums; }

/* ---------- helpers ---------- */
/* full-bleed fluid container: spans the whole width, side padding scales with vw */
.shell { width: 100%; padding-inline: var(--gutter); }
/* readable text column for prose/legal — centered measure only where reading matters */
.shell--narrow { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter-narrow); }
section { scroll-margin-top: 84px; }
.band { padding-block: clamp(3.4rem, 8vw, 6.5rem); }
.band--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.hair { border: 0; border-top: 1px solid var(--hair); margin: 0; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.lead { color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.2rem); max-width: 58ch; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* eyebrow / section label with tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }

/* focus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #14161c; padding: .6rem 1rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--hair);
}
.head__row { display: flex; align-items: center; gap: 1.2rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.02em; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; }
.brand__name { font-size: 1.04rem; }
.brand__name b { color: var(--gold); font-weight: 800; }

.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav a {
  position: relative; padding: .5rem .62rem; border-radius: var(--r-sm);
  color: var(--muted); font-size: .9rem; font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .28rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.head__cta { display: flex; align-items: center; gap: .7rem; }

.chip-18 {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  padding: .2rem .46rem; border-radius: 6px; line-height: 1;
}

.burger {
  display: none; width: var(--tap); height: var(--tap); margin-left: auto;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-sm);
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; left: 0; }
.burger span::after  { position: absolute; top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .74rem 1.2rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: .92rem; border: 1px solid transparent; white-space: nowrap;
  transition: transform .14s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; }
.btn--gold { background: var(--violet-deep); color: #fff; border-color: var(--violet-deep); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--line { background: transparent; color: var(--text); border-color: var(--hair); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost { background: transparent; color: var(--muted); border-color: transparent; padding-inline: .6rem; }
.btn--ghost:hover { color: var(--gold); }
.btn--block { width: 100%; }
.btn--sm { padding: .48rem .8rem; font-size: .84rem; }
.btn--lg { padding: .9rem 1.5rem; font-size: 1rem; }

/* ==========================================================================
   Badges / pills / tags
   ========================================================================== */
.pill {
  display: inline-flex; align-items: center; gap: .38rem;
  font-size: .74rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px;
  border: 1px solid var(--hair); color: var(--muted); background: var(--surface);
}
.pill svg { width: 13px; height: 13px; }
.pill--green { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); background: var(--green-wash); }
.pill--gold  { color: var(--gold);  border-color: color-mix(in srgb, var(--gold) 40%, transparent);  background: var(--gold-wash); }

.tag {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}

/* ==========================================================================
   Section head with oversized index numeral
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head__no {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--hair);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding-top: .2rem;
}
.sec-head__body { max-width: 60ch; }
.sec-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); margin-top: .55rem; }
.sec-head p { margin-top: .85rem; color: var(--muted); }
.sec-head--plain { display: block; }

/* ==========================================================================
   HERO — typography-first, ledger snapshot inline
   ========================================================================== */
.hero { position: relative; background: var(--ink); border-bottom: 1px solid var(--hair); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--hair-2) calc(25% - 1px) 25%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(2.8rem, 7vw, 5rem) clamp(2.4rem, 5vw, 3.6rem); }
/* real photo backdrop + readability overlay */
.hero__photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 20%, rgba(13,15,19,.72) 58%, rgba(13,15,19,.9)); }
.hero__credit { position: absolute; z-index: 3; right: .8rem; bottom: .5rem; font-size: .64rem; color: var(--faint); }
.hero__credit a { color: inherit; text-decoration: underline; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: end; }
.hero__flags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 1.25rem; }
.hero__quote {
  margin-top: 1.3rem; padding-left: 1rem; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.02rem; max-width: 52ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero__trust { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .82rem; color: var(--faint); }
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust svg { width: 14px; height: 14px; color: var(--green); }

/* hero ledger — the ranking snapshot */
.ledger {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden;
}
.ledger__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  padding: .95rem 1.1rem; border-bottom: 1px solid var(--hair-2);
}
.ledger__cap span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.ledger__cap b { font-family: var(--serif); font-weight: 500; color: var(--gold); }
.ledger__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: .5rem .85rem; align-items: center;
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--hair-2);
}
.ledger__row:last-child { border-bottom: 0; }
.ledger__rk { font-family: var(--serif); font-size: 1.05rem; color: var(--faint); width: 1.2rem; font-variant-numeric: tabular-nums; }
.ledger__nm { font-weight: 600; font-size: .96rem; }
.ledger__nm small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; margin-top: .05rem; }
.ledger__sc { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.ledger__sc small { font-family: var(--sans); font-size: .68rem; color: var(--faint); }
.ledger__foot { padding: .8rem 1.1rem; font-size: .76rem; color: var(--faint); }
.ledger__foot em { font-style: italic; color: var(--muted); }

/* ==========================================================================
   Disclosure strip
   ========================================================================== */
.disclose { background: var(--surface); border-bottom: 1px solid var(--hair); }
.disclose__row { display: flex; gap: .85rem; align-items: flex-start; padding-block: 1.05rem; font-size: .88rem; color: var(--muted); }
.disclose__row svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 2px; }
.disclose__row b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Score meter (data-forward)
   ========================================================================== */
.meter { display: inline-grid; grid-template-columns: 1fr auto; align-items: center; gap: .55rem; width: 100%; }
.meter__track { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter__fill { display: block; height: 100%; width: var(--v, 0%); background: linear-gradient(90deg, var(--gold-2), var(--azul)); border-radius: 999px; }
/* animate the fill on scroll-in (JS present); no-JS shows full bars */
.js .meter__fill { width: 0; transition: width 1.1s var(--ease) .12s; }
.js .reveal.in .meter__fill { width: var(--v, 0%); }
.meter__fill--green { background: var(--green); }
.meter__val { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.meter__val small { font-family: var(--sans); font-size: .66rem; color: var(--faint); }

/* ==========================================================================
   LEAGUE — ranked leaderboard of casinos (index page centrepiece)
   ========================================================================== */
.league { display: flex; flex-direction: column; gap: 1rem; counter-reset: rank; }
.lg {
  display: grid;
  grid-template-columns: 84px 1.35fr 1.25fr 1fr;
  gap: clamp(.9rem, 2vw, 1.6rem); align-items: center;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: 1.25rem clamp(1.1rem, 2.2vw, 1.6rem);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.lg:hover { border-color: color-mix(in srgb, var(--gold) 35%, var(--hair)); transform: translateY(-2px); }
.lg--lead { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--gold-wash) 60%, var(--surface)), var(--surface)); }

.lg__rank { position: relative; }
.lg__rank .n { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .8; color: var(--text); font-variant-numeric: tabular-nums; }
.lg--lead .lg__rank .n { color: var(--gold); }
.lg__rank .tag { display: block; margin-top: .35rem; }

.lg__id { min-width: 0; }
.lg__logo { width: 140px; max-width: 100%; height: 46px; border-radius: var(--r-sm); object-fit: contain; object-position: left center; }
/* real-operator text wordmark (nominative name, not their logo artwork) */
.lg__wordmark { display: inline-flex; align-items: baseline; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.6rem); letter-spacing: -.02em; color: var(--text); }
.lg__wordmark b { color: var(--green); font-weight: 800; }
.lg__rank .shield { color: var(--green); display: inline-flex; }
.lg__rank .shield svg { width: 40px; height: 40px; }
.lg__blurb { margin-top: .6rem; font-size: .88rem; color: var(--muted); }

.lg__facts { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.lg__bonus .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.lg__bonus .v { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; margin-top: .1rem; }
.lg__meta { display: flex; flex-wrap: wrap; gap: .35rem; }

.lg__act { display: flex; flex-direction: column; gap: .5rem; }
.lg__act .meter { margin-bottom: .3rem; }
.lg__legal { grid-column: 1 / -1; margin-top: .3rem; padding-top: .85rem; border-top: 1px solid var(--hair-2); font-size: .72rem; color: var(--faint); }

/* ==========================================================================
   Comparison table (spec-sheet)
   ========================================================================== */
.cmp-wrap { border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .92rem; }
.cmp caption { text-align: left; }
.cmp th, .cmp td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hair-2); vertical-align: top; }
.cmp thead th { background: var(--surface); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; position: sticky; top: 0; }
.cmp thead .brandcell { display: flex; flex-direction: column; gap: .2rem; }
.cmp thead .brandcell b { font-size: .96rem; color: var(--text); font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.cmp thead .brandcell .s { font-family: var(--serif); color: var(--gold); font-size: 1.15rem; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }
.cmp tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.cmp tbody td { font-variant-numeric: tabular-nums; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.cmp .best { color: var(--text); font-weight: 600; }
.cmp .best::after {
  content: "melhor"; display: inline-block; margin-left: .45rem; vertical-align: middle;
  font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-wash); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  padding: .1rem .34rem; border-radius: 5px;
}
.cmp .sub { display: block; color: var(--faint); font-size: .78rem; margin-top: .2rem; }

/* ==========================================================================
   Weighted criteria bars (methodology)
   ========================================================================== */
.weights { display: flex; flex-direction: column; gap: 1.35rem; }
.wrow { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 1rem; align-items: center; }
.wrow__label b { font-weight: 600; font-size: 1rem; }
.wrow__label p { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.wrow__bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.wrow__bar span { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--violet-deep), var(--azul)); border-radius: 999px; }
.js .wrow__bar span { width: 0; transition: width 1.2s var(--ease) .1s; }
.js .reveal.in .wrow__bar span { width: var(--w, 0%); }
.wrow__pct { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Split / prose / cards
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.45fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.prose > * + * { margin-top: 1.05rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.9rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; color: var(--text); }
.prose ul { display: flex; flex-direction: column; gap: .6rem; padding-left: 1.15rem; list-style: disc; }
.prose ul li::marker { color: var(--gold); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.6rem); }
.card h3 { font-size: 1.02rem; }
.card--sticky { position: sticky; top: 88px; }

.list-check { display: flex; flex-direction: column; gap: .7rem; margin-top: .95rem; }
.list-check li { display: flex; gap: .55rem; font-size: .9rem; color: var(--muted); }
.list-check svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }
.list-check strong { color: var(--text); }

.callout { background: var(--gold-wash); border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent); border-radius: var(--r-md); padding: 1.15rem 1.25rem; }
.callout .k { display: block; font-weight: 700; color: var(--gold); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.callout p { margin-top: .45rem; color: var(--muted); font-size: .92rem; }
.callout--green { background: var(--green-wash); border-color: color-mix(in srgb, var(--green) 32%, transparent); }
.callout--green .k { color: var(--green); }

/* ==========================================================================
   Note cards grid (types of bonus, habits, etc.)
   ========================================================================== */
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.note {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md);
  padding: 1.3rem; position: relative;
}
.note__no { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.note h3 { font-size: 1.04rem; margin-top: .45rem; }
.note p { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.note__meta { margin-top: .8rem; font-size: .78rem; color: var(--faint); }

/* ==========================================================================
   Prós / contras
   ========================================================================== */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pc__col { border: 1px solid var(--hair); border-radius: var(--r-md); padding: 1.3rem; background: var(--surface); }
.pc__col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.pc__col h3 svg { width: 18px; height: 18px; }
.pc__col ul { display: flex; flex-direction: column; gap: .7rem; margin-top: .95rem; }
.pc__col li { display: flex; gap: .55rem; font-size: .9rem; color: var(--muted); }
.pc__col li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.pc--pro h3, .pc--pro li svg { color: var(--green); }
.pc--con h3, .pc--con li svg { color: var(--warn); }

/* ==========================================================================
   Review page — hero / spec sheet / subnav / veredicto
   ========================================================================== */
.crumbs { font-size: .82rem; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }

.rev-hero { background: var(--ink); border-bottom: 1px solid var(--hair); }
.rev-hero__row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 1.8rem); align-items: center; margin-top: 1.4rem; }
.rev-hero__logo { width: 190px; max-width: 100%; height: 70px; border-radius: var(--r-md); object-fit: contain; object-position: left center; }
.rev-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.rev-hero__blurb { margin-top: .6rem; color: var(--muted); max-width: 54ch; }
.rev-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .95rem; }
.rev-hero__score { text-align: center; }
.rev-hero__score .big { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.2rem); color: var(--gold); line-height: .9; font-variant-numeric: tabular-nums; }
.rev-hero__score small { display: block; color: var(--faint); font-size: .74rem; margin-top: .2rem; }

.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; margin-top: 1.6rem; }
.spec > div { background: var(--surface); padding: 1rem 1.1rem; }
.spec dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); }
.spec dd { margin: .35rem 0 0; font-weight: 600; font-size: .98rem; }

.subnav { position: sticky; top: 66px; z-index: 40; background: color-mix(in srgb, var(--ink) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.subnav ul { display: flex; gap: .2rem; overflow-x: auto; padding: .5rem 0; }
.subnav a { white-space: nowrap; font-size: .85rem; color: var(--muted); padding: .38rem .75rem; border-radius: 999px; }
.subnav a:hover { color: var(--text); background: var(--surface); }

.veredicto { background: linear-gradient(180deg, var(--surface), var(--bg)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.3rem); }
.veredicto__q { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.45; margin-top: 1rem; }
.veredicto__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; }
.veredicto__foot .s { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.veredicto__foot .s small { font-family: var(--sans); font-size: .8rem; color: var(--faint); }
.veredicto__note { margin-top: 1.2rem; font-size: .8rem; color: var(--faint); }
.jump { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.mini-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mini-table th, .mini-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--hair-2); }
.mini-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 600; }
.mini-table tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.mini-table td { font-variant-numeric: tabular-nums; }
.mini-table tbody tr:last-child th, .mini-table tbody tr:last-child td { border-bottom: 0; }
.mini-table em { font-style: normal; color: var(--text); font-weight: 600; }
figure.shot { margin: 1.2rem 0 0; }
figure.shot img { border: 1px solid var(--hair); border-radius: var(--r-md); }
figure.shot figcaption { margin-top: .5rem; font-size: .78rem; color: var(--faint); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: .65rem; }
.faq details { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { position: relative; width: 15px; height: 15px; flex: none; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .24s var(--ease); }
.faq summary .ic::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq summary .ic::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary .ic::after { transform: scaleY(0); }
.faq__body { padding: 0 1.25rem 1.2rem; color: var(--muted); font-size: .93rem; }
.faq__body p + p { margin-top: .7rem; }

/* ==========================================================================
   Responsible gaming block + logos
   ========================================================================== */
.rg { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.3rem); }
.rg__top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.rg__badge { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #14161c; background: var(--gold); border-radius: 12px; width: 56px; height: 56px; display: grid; place-items: center; flex: none; }
.rg p { color: var(--muted); font-size: .93rem; max-width: 70ch; margin-top: 1rem; }
.rg__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 2rem; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--hair); }
.rg__logos a { display: inline-flex; align-items: center; font-size: .82rem; color: var(--muted); opacity: .82; transition: opacity .2s var(--ease); }
.rg__logos a:hover { opacity: 1; color: var(--text); }
.rg__logos img { height: 32px; width: auto; filter: grayscale(1) brightness(1.7); }
.rg__logos a:hover img { filter: none; }

/* ==========================================================================
   Contact info cards + forms
   ========================================================================== */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card { border: 1px solid var(--hair); background: var(--surface); border-radius: var(--r-md); padding: 1.3rem; }
.info-card svg { width: 22px; height: 22px; color: var(--gold); }
.info-card h3 { font-size: 1rem; margin-top: .8rem; }
.info-card p { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
.info-card a { color: var(--gold); }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field .req { color: var(--gold); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--hair); color: var(--text);
  border-radius: var(--r-sm); padding: .78rem .9rem; font: inherit;
  transition: border-color .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field .help { font-size: .8rem; color: var(--faint); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: .15rem; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.check a { color: var(--gold); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--faint); }

.success { border: 1px solid color-mix(in srgb, var(--green) 42%, transparent); background: var(--green-wash); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem); text-align: center; }
.success svg { width: 44px; height: 44px; color: var(--green); margin: 0 auto 1rem; }
.success h2 { font-size: 1.4rem; }
.success p { color: var(--muted); margin-top: .6rem; }

/* ==========================================================================
   Page hero (interior pages) + 404
   ========================================================================== */
.page-hero { background: var(--ink); border-bottom: 1px solid var(--hair); padding-block: clamp(2.6rem, 6vw, 4rem); }
.page-hero h1 { font-size: clamp(1.95rem, 4.6vw, 3rem); margin-top: .7rem; }
.page-hero p { margin-top: .9rem; color: var(--muted); max-width: 62ch; }

.nf { text-align: center; padding-block: clamp(4rem, 13vw, 8rem); }
.nf__code { font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem); color: var(--gold); line-height: .85; font-variant-numeric: tabular-nums; }
.nf h1 { margin-top: 1rem; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.nf p { margin: 1rem auto 1.9rem; color: var(--muted); max-width: 46ch; }
.center-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { border-top: 1px solid var(--hair); background: var(--ink); margin-top: clamp(2rem, 5vw, 3.5rem); }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.6rem, 6vw, 3.6rem); }
.foot__brand p { color: var(--muted); font-size: .89rem; margin-top: .95rem; max-width: 40ch; }
.foot__col h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 600; }
.foot__col ul { margin-top: .95rem; display: flex; flex-direction: column; gap: .55rem; }
.foot__col a { color: var(--muted); font-size: .89rem; }
.foot__col a:hover { color: var(--gold); }

.foot__rg { border-top: 1px solid var(--hair); }
.foot__rg-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding-block: 1.35rem; }
.foot__rg-row .muted { font-size: .84rem; }
.foot__rg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-left: auto; }
.foot__rg-logos a { display: inline-flex; align-items: center; font-size: .8rem; color: var(--faint); }
.foot__rg-logos img { height: 26px; width: auto; filter: grayscale(1) brightness(1.7); opacity: .72; transition: opacity .2s var(--ease), filter .2s var(--ease); }
.foot__rg-logos a:hover { color: var(--muted); }
.foot__rg-logos a:hover img { opacity: 1; filter: none; }

.foot__legal { border-top: 1px solid var(--hair); }
.foot__legal-row { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; padding-block: 1.2rem; font-size: .82rem; color: var(--faint); }
.foot__legal-row nav { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.foot__legal-row a:hover { color: var(--muted); }
.foot__disc { padding-bottom: 1.7rem; font-size: .79rem; color: var(--faint); line-height: 1.6; max-width: 92ch; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
  .js .meter__fill, .js .wrow__bar span { transition: none; }
  .hero__tile { animation: none; }
}

/* ==========================================================================
   Colour & life — Lisbon / azulejo theme, thematic accents, animation
   ========================================================================== */
/* extra pill colours */
.pill--azul  { color: var(--azul);  border-color: color-mix(in srgb, var(--azul) 42%, transparent);  background: var(--azul-wash); }
.pill--terra { color: var(--terra); border-color: color-mix(in srgb, var(--terra) 42%, transparent); background: var(--terra-wash); }

/* eyebrow colour variants for section-to-section rhythm */
.eyebrow--azul  { color: var(--azul); }
.eyebrow--terra { color: var(--terra); }
.eyebrow--green { color: var(--green); }

/* section index numerals pick up warm tones */
.sec-head__no--azul  { -webkit-text-stroke-color: color-mix(in srgb, var(--azul) 55%, var(--hair)); }
.sec-head__no--terra { -webkit-text-stroke-color: color-mix(in srgb, var(--terra) 55%, var(--hair)); }

/* note cards: rotate accent colour + top rule for colour + warmth */
.note { border-top: 3px solid var(--gold); }
.note::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; }
.note:nth-child(4n+2) { border-top-color: var(--azul); }
.note:nth-child(4n+2) .note__no { color: var(--azul); }
.note:nth-child(4n+3) { border-top-color: var(--terra); }
.note:nth-child(4n+3) .note__no { color: var(--terra); }
.note:nth-child(4n) { border-top-color: var(--green); }
.note:nth-child(4n) .note__no { color: var(--green); }
.note { transition: transform .2s var(--ease), border-color .2s var(--ease); }
.note:hover { transform: translateY(-3px); }

/* info cards: warmer icon rotation */
.info-card:nth-child(2) svg { color: var(--azul); }
.info-card:nth-child(3) svg { color: var(--terra); }
.info-card { transition: transform .2s var(--ease), border-color .2s var(--ease); }
.info-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 30%, var(--hair)); }

/* Solverde — real SRIJ-licensed operator highlight (honest, no fabricated figures) */
.solverde {
  display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid color-mix(in srgb, var(--green) 36%, var(--hair)); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 4vw, 2.3rem); position: relative; overflow: hidden;
}
.solverde::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--green);
}
.solverde__name { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .7rem; letter-spacing: -.02em; }
.solverde__name span { color: var(--green); }
.solverde p { color: var(--muted); margin-top: .9rem; max-width: 62ch; }
.solverde .small { font-size: .82rem; color: var(--faint); }
.solverde__cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.3rem; }
.solverde__aside { display: flex; flex-direction: column; gap: 1.1rem; }
.solverde__mark {
  width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 2rem; color: #06231a; background: var(--green);
}
@media (max-width: 820px) { .solverde { grid-template-columns: 1fr; } }

/* ceramic azulejo frieze — thematic divider strip */
.tile-strip {
  height: 46px; border: 0;
  background: url("../img/lisboa/azulejo.svg") repeat-x center / auto 46px;
  border-block: 1px solid var(--hair);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* footer gets a thin ceramic strip on top — applies to every page via CSS */
.foot { position: relative; }
.foot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: url("../img/lisboa/azulejo.svg") repeat-x center / auto 24px;
  opacity: .9;
}

/* Lisbon skyline band */
.skyline {
  position: relative; background: var(--ink); border-bottom: 1px solid var(--hair);
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
}
.skyline__art { width: 100%; height: auto; max-height: 230px; opacity: .96; margin-top: clamp(.8rem, 2vw, 1.4rem); }
.skyline__cap {
  position: absolute; top: clamp(1rem, 3vw, 1.8rem); left: var(--gutter);
  font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .92rem;
  max-width: 30ch;
}

/* hero: a warm azulejo tile accent floating near the flags */
.hero { overflow: hidden; }
.hero__tile {
  position: absolute; z-index: 0; right: clamp(-40px, -2vw, 0px); top: 8%;
  width: clamp(110px, 16vw, 220px); aspect-ratio: 1; border-radius: var(--r-lg);
  background: url("../img/lisboa/azulejo.svg") repeat center / 60px 60px;
  border: 1px solid var(--hair); opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 60% 40%, #000, transparent 72%);
}

/* page-hero interior pages: small ceramic corner accent */
.page-hero { position: relative; overflow: hidden; }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero::after {
  content: ""; position: absolute; z-index: 0; right: -30px; bottom: -30px;
  width: clamp(120px, 18vw, 200px); height: clamp(120px, 18vw, 200px);
  background: url("../img/lisboa/azulejo.svg") repeat center / 54px 54px;
  opacity: .28; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 70%);
          mask-image: radial-gradient(circle, #000, transparent 70%);
  pointer-events: none;
}

/* motion for decorative accents (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .hero__tile { animation: floaty 9s ease-in-out infinite; }
  .rg__badge, .brand__mark { transition: transform .3s var(--ease); }
  .brand:hover .brand__mark { transform: rotate(-6deg); }
  .lg:hover .lg__logo { transform: translateY(-1px); }
  .pill { transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease); }
  .pill:hover { transform: translateY(-1px); }
}
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* warmer, livelier card hover */
.card { transition: transform .2s var(--ease), border-color .2s var(--ease); }
.card:hover { border-color: color-mix(in srgb, var(--azul) 26%, var(--hair)); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .lg { grid-template-columns: 70px 1fr 1fr; }
  .lg__act { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .lg__act .meter { flex: 1 1 160px; margin-bottom: 0; }
  .lg__act .btn { flex: 1 1 auto; }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .ledger { order: 2; }
  .split, .split--even { grid-template-columns: 1fr; }
  .card--sticky { position: static; }
  .notes { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .rev-hero__row { grid-template-columns: 1fr auto; }
  .rev-hero__logo { grid-column: 1 / -1; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .wrow { grid-template-columns: 1fr auto; }
  .wrow__bar { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .head__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .head.open .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .1rem; margin: 0;
    background: var(--ink); border-bottom: 1px solid var(--hair);
    padding: .7rem var(--gutter) 1.1rem;
  }
  .head.open .nav a { padding: .8rem .4rem; font-size: 1rem; border-bottom: 1px solid var(--hair-2); }
  .head.open .nav a[aria-current="page"]::after { display: none; }
  .hero__tile { display: none; }
  .lg { grid-template-columns: 56px 1fr; }
  .lg__facts { grid-column: 1 / -1; }
  .lg__id { grid-column: 2; }
  .pc, .notes { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: .5rem; }
  .sec-head__no { font-size: 2.4rem; }
  .rev-hero__row { grid-template-columns: 1fr; }
  .rev-hero__score { text-align: left; }
  .veredicto__foot { flex-direction: column; align-items: stretch; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__legal-row { flex-direction: column; align-items: flex-start; }
  .foot__rg-logos { margin-left: 0; }
}
@media (max-width: 440px) {
  .spec { grid-template-columns: 1fr; }
  .lg__logo { width: 128px; height: 44px; }
}
