/* =================================================================
   SENTINEL — Boutique de Inteligência de Mercado Independente
   Design system: "Modern Intel"
   Stratechery x Doomberg x Bespoke x briefing militar de inteligência
   ================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Paleta — dark é o estado natural da marca */
  --black: #0A0A0A;
  --off-white: #F5F5F2;
  --blood: #8B0000;
  --blood-hi: #A30000;
  --chrome: #9CA3AF;
  --graphite: #1F2937;
  --gray-mid: #6B7280;
  --alert: #DC2626;

  /* Papéis semânticos (tema escuro padrão) */
  --bg: #0A0A0A;
  --bg-2: #0E0E0E;
  --surface: #121315;
  --surface-2: #17181B;
  --quote-bg: #14171D;
  --text: #F5F5F2;
  --text-muted: #9CA3AF;
  --text-dim: #828C9C;
  --accent: #8B0000;
  --accent-hi: #B11212;
  --line: rgba(245, 245, 242, 0.10);
  --line-strong: rgba(245, 245, 242, 0.20);
  --dot: rgba(245, 245, 242, 0.045);

  /* Tipografia */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Espaçamento / geometria */
  --radius: 2px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #F5F5F2;
  --bg-2: #EFEFEB;
  --surface: #FFFFFF;
  --surface-2: #F2F2EE;
  --quote-bg: #ECECE6;
  --text: #0A0A0A;
  --text-muted: #4B5563;
  --text-dim: #6B7280;
  --accent: #8B0000;
  --accent-hi: #6E0000;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.24);
  --dot: rgba(10, 10, 10, 0.05);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.25; }

p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

.lead {
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Eyebrow / rótulo de inteligência em mono */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.muted { color: var(--text-dim); }
.eyebrow.muted::before { background: var(--text-dim); }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.serif { font-family: var(--font-serif); }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--alt { background: var(--bg-2); }
.divider { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 36px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { margin-top: 20px; font-size: 1.08rem; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Textura sutil de grade de pontos */
.dotted {
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- BOTÕES ---------- */
.btn {
  --pad-y: 0.95em;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--pad-y) 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  padding-bottom: 3px;
}
.btn--link:hover { color: var(--accent); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 18px; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark .mark { width: 26px; height: 26px; flex: none; }
.wordmark .mark .frame { stroke: var(--text); }
.wordmark .mark .post { stroke: var(--text); }
.wordmark .mark .eye { fill: var(--accent); }
.wordmark .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 0.34em;
}

.theme-toggle {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 1.5px; width: 22px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding-block: clamp(80px, 13vw, 180px) var(--section-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin: 26px 0 0; }
.hero h1 .accent { color: var(--accent); }
.hero .tese { margin-top: 32px; max-width: 620px; }
.hero-cta { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.5vw, 36px); }
.hero-side .kicker { display: block; margin-bottom: 14px; }
.hero-side .stoic { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.5; color: var(--text); font-style: italic; }
.hero-side .stoic-src { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); font-style: normal; }

/* Marquee de cobertura */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); padding: 16px 30px; display: inline-flex; align-items: center; gap: 30px;
}
.ticker-item::after { content: "//"; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 38px);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card .idx { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--accent); }
.card h3 { margin: 16px 0 12px; }
.card h4 { margin: 0 0 10px; }
.card p { font-size: 0.97rem; }
.card .card-meta { margin-top: 18px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

/* Card com barra de acento lateral (padrão horizontal) */
.card--rail { padding-left: clamp(26px, 2.8vw, 42px); }
.card--rail::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--accent); }

/* ---------- CAMADAS DO MÉTODO (stepped) ---------- */
.layers { border-top: 1px solid var(--line); }
.layer {
  display: grid;
  grid-template-columns: 90px 1fr minmax(180px, 0.55fr);
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(30px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.35s var(--ease);
}
.layer:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.layer .num { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent); letter-spacing: 0.05em; padding-top: 6px; }
.layer h3 { margin-bottom: 12px; }
.layer .layer-body p { font-size: 1rem; }
.layer .sources { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.9; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.layer .sources span { display: block; }
.layer .sources .lbl { color: var(--text-muted); margin-bottom: 6px; }

/* ---------- PRINCÍPIOS ---------- */
.principle {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.principle .pnum { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.12em; }
.principle h4 { margin: 12px 0 10px; }
.principle p { font-size: 0.95rem; }

/* ---------- TIERS ---------- */
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 2.8vw, 40px);
  display: flex; flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative; height: 100%;
}
.tier:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tier--feature { border-color: var(--accent); background: var(--surface-2); }
.tier--feature::before {
  content: "MAIS PROCURADO"; position: absolute; top: 0; right: clamp(24px,2.8vw,40px);
  transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  background: var(--accent); color: #fff; padding: 5px 12px; border-radius: var(--radius);
}
.tier .tier-name { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.tier h3 { margin: 10px 0 6px; }
.tier .tier-focus { font-size: 0.95rem; min-height: 48px; }
.tier .tier-line { height: 1px; background: var(--line); margin: 24px 0; border: 0; }
.tier ul.tier-feats { display: grid; gap: 13px; margin-bottom: 30px; }
.tier ul.tier-feats li { position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--text-muted); line-height: 1.45; }
.tier ul.tier-feats li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border: 1px solid var(--accent); border-radius: 1px; transform: rotate(45deg);
}
.tier .tier-cta { margin-top: auto; }
.tier .tier-cta .btn { width: 100%; justify-content: center; }
.tier .cap { margin-top: 14px; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- QUOTE / EDITORIAL ---------- */
.quote {
  background: var(--quote-bg);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 56px);
}
.quote blockquote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--text); letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 24px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); font-style: normal; }

/* ---------- STAT STRIP ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(24px, 2.6vw, 38px); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.03em; color: var(--text); }
.stat .num .u { color: var(--accent); }
.stat .lbl { margin-top: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); line-height: 1.5; }

/* ---------- LISTA DE COBERTURA / ATIVOS ---------- */
.asset-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.asset-row:first-child { border-top: 1px solid var(--line); }
.asset-row .a-class { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.asset-row .a-cov { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- FEATURE / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split .media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--surface-2), var(--bg)),
    radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: cover, 20px 20px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.split .media .glyph { width: 42%; opacity: 0.9; }
.split .media .glyph .frame { stroke: var(--line-strong); }
.split .media .glyph .post { stroke: var(--text-dim); }
.split .media .glyph .eye { fill: var(--accent); }
.split .media .tag { position: absolute; bottom: 16px; left: 16px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- TIMELINE (sobre) ---------- */
.timeline { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 44px); display: grid; gap: clamp(28px,3vw,44px); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: calc(-1 * clamp(24px,3vw,44px) - 1px); top: 8px; width: 9px; height: 9px; background: var(--accent); border-radius: 1px; transform: translateX(-4px) rotate(45deg); }
.tl-item .tl-year { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--accent); }
.tl-item h4 { margin: 8px 0 8px; }

/* ---------- FORM ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea, .field select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }

/* Consentimento (LGPD) */
.field--check { margin: 4px 0 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin-top: 2px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg-2); position: relative; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check span { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }
.check a { color: var(--text); border-bottom: 1px solid var(--accent); }
.check a:hover { color: var(--accent); }

/* ---------- LEAD MAGNET ---------- */
.leadmag {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(30px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,4vw,64px); align-items: center;
}
.leadmag .lm-doc {
  border: 1px solid var(--line-strong); border-radius: var(--radius); aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--surface-2), var(--bg));
  padding: clamp(20px,2.5vw,32px); display: flex; flex-direction: column; max-width: 280px;
}
.leadmag .lm-doc .lm-k { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.leadmag .lm-doc .lm-t { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; margin-top: auto; }
.leadmag .lm-doc .lm-lines { margin-top: 18px; display: grid; gap: 8px; }
.leadmag .lm-doc .lm-lines span { height: 5px; background: var(--line); border-radius: 1px; }
.leadmag .lm-doc .lm-lines span:nth-child(2) { width: 80%; }
.leadmag .lm-doc .lm-lines span:nth-child(3) { width: 60%; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px,3vw,48px); padding-bottom: 56px; }
.footer-brand .wordmark { margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-col a.disabled { opacity: 0.55; }
.footer-col .soon { font-size: 0.6rem; font-family: var(--font-mono); letter-spacing: 0.1em; color: var(--text-dim); border: 1px solid var(--line); padding: 1px 5px; border-radius: 1px; margin-left: 6px; }

/* Disclaimer regulatório obrigatório */
.disclaimer {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 32px;
}
.disclaimer p { font-size: 0.8rem; line-height: 1.7; color: var(--text-dim); max-width: 980px; }
.disclaimer .dlbl { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 12px; }

.footer-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 28px; }
.footer-base p { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.footer-base a { color: var(--text-muted); transition: color 0.25s var(--ease); }
.footer-base a:hover { color: var(--text); }

/* ---------- PAGE HERO (sub-páginas) ---------- */
.page-hero { padding-block: clamp(64px, 9vw, 130px) clamp(40px,5vw,72px); border-bottom: 1px solid var(--line); position: relative; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 28px; max-width: 640px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--text-muted); }

/* ---------- ARTICLE / PROSE ---------- */
.article { padding-block: clamp(40px, 6vw, 88px); }
.article-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.article-head .ameta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.article-head .ameta .tag { color: var(--accent); }
.article-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.article-head .standfirst { font-family: var(--font-serif); font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.5; color: var(--text-muted); margin-top: 24px; }
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.35em; }
.prose p { font-size: 1.08rem; line-height: 1.75; color: var(--text-muted); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose strong { color: var(--text); }
.prose blockquote { border-left: 2px solid var(--accent); padding: 4px 0 4px 26px; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--text); font-style: italic; }
.prose ul.dash { display: grid; gap: 12px; padding-left: 0; }
.prose ul.dash li { position: relative; padding-left: 26px; color: var(--text-muted); }
.prose ul.dash li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 1px; background: var(--accent); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.2em; }
.article-foot { max-width: 720px; margin: clamp(36px, 5vw, 60px) auto 0; padding-top: 30px; border-top: 1px solid var(--line); }

/* ---------- CTA BAND ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 22px auto 0; font-size: 1.08rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 38px; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- SKIP LINK ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 200; font-family: var(--font-mono); font-size: 0.74rem; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .leadmag { grid-template-columns: 1fr; }
  .leadmag .lm-doc { max-width: 220px; }
  .split { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 56px 1fr; }
  .layer .sources { grid-column: 2; padding-top: 4px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  }
  .site-header.open .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .asset-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .wordmark .name { letter-spacing: 0.22em; font-size: 1.02rem; }
}
