/* Caso Vorcaro · estilos do site
   Tokens por papel (claro/escuro). Escuro: segue o sistema, a menos que o visitante escolha no botão de tema. */

:root {
  color-scheme: light;
  --page: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efeee9;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --ink-3: #6b6a66;
  --line: #e1e0d9;
  --line-2: #c3c2b7;
  --link: #1c5cab;
  --link-hover: #104281;
  --btn: #256abf;
  --btn-hover: #1c5cab;
  --accent-wash: #eaf2fc;
  --accent-line: #b7d3f6;
  --series: #2a78d6;
  --warn-ink: #7a5200;
  --warn-wash: #fff4d6;
  --warn-line: #f0d27f;
  --neutral-ink: #3d3c39;
  --focus: #2a78d6;
  --tip-bg: #0b0b0b;
  --tip-ink: #ffffff;
  --c1: #2a78d6; --c2: #eb6834; --c3: #1baf7a; --c4: #eda100; --c5: #e87ba4;
  --shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 10px 30px rgba(11, 11, 11, .06);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --read: 720px;
  --hdr: 60px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --surface-2: #242422;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --ink-3: #a3a29a;
    --line: #2c2c2a;
    --line-2: #45443f;
    --link: #86b6ef;
    --link-hover: #b7d3f6;
    --btn: #256abf;
    --btn-hover: #2a78d6;
    --accent-wash: #13233a;
    --accent-line: #1c4f8f;
    --series: #3987e5;
    --warn-ink: #fab219;
    --warn-wash: #2a2210;
    --warn-line: #5c4712;
    --neutral-ink: #c3c2b7;
    --focus: #86b6ef;
    --tip-bg: #ffffff;
    --tip-ink: #0b0b0b;
    --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #c98500; --c5: #d55181;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #242422;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --ink-3: #a3a29a;
  --line: #2c2c2a;
  --line-2: #45443f;
  --link: #86b6ef;
  --link-hover: #b7d3f6;
  --btn: #256abf;
  --btn-hover: #2a78d6;
  --accent-wash: #13233a;
  --accent-line: #1c4f8f;
  --series: #3987e5;
  --warn-ink: #fab219;
  --warn-wash: #2a2210;
  --warn-line: #5c4712;
  --neutral-ink: #c3c2b7;
  --focus: #86b6ef;
  --tip-bg: #ffffff;
  --tip-ink: #0b0b0b;
  --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #c98500; --c5: #d55181;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .5);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 24px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
.i { flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--page); padding: 10px 14px; border-radius: 10px; font-weight: 650;
}
.skip:focus { top: 12px; color: var(--page); }

.kicker, .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- botões e campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 11px;
  background: var(--btn); color: #fff; font-size: 16px; font-weight: 650;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s;
}
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-s { min-height: 38px; padding: 0 14px; font-size: 14.5px; }

.input {
  min-height: 48px; width: 100%; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- topo ---------- */
.topbar { background: var(--surface-2); color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.topbar .wrap { padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--ink); font-weight: 600; }

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .hdr {
    background: color-mix(in srgb, var(--page) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
.hdr-in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-badge { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--btn); color: #fff; }
.brand-t { font-size: 17px; font-weight: 760; letter-spacing: -.01em; white-space: nowrap; }
.brand-s {
  font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px;
}
@media (max-width: 400px), (min-width: 1040px) and (max-width: 1359.98px) { .brand-s { display: none; } }

.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 7px 10px; border-radius: 9px;
  color: var(--ink-2); font-size: 15px; font-weight: 580; text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }

[data-theme-toggle] .i { display: none; }
[data-theme-toggle]:not([data-state]) .i-auto,
[data-theme-toggle][data-state="auto"] .i-auto,
[data-theme-toggle][data-state="light"] .i-light,
[data-theme-toggle][data-state="dark"] .i-dark { display: block; }

.mnav { position: relative; }
.mnav > summary { list-style: none; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav[open] > summary { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }
.mnav nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px));
  padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mnav ul { margin: 0; padding: 0; list-style: none; }
.mnav a {
  display: block; padding: 12px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.mnav a:hover, .mnav a[aria-current="page"] { background: var(--surface-2); }
@media (min-width: 1040px) { .mnav { display: none; } }
@media (max-width: 1039.98px) { .nav { display: none; } }

.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--series); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- início ---------- */
.hero { display: grid; gap: 28px; padding-top: 36px; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding-top: 64px; align-items: start; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--series); box-shadow: 0 0 0 4px var(--accent-wash); }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin: 14px 0 16px; }
.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.trust li { display: flex; align-items: baseline; gap: 6px; }
.trust strong { font-size: 18px; font-weight: 760; color: var(--ink); }
.hero-status { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 8px; box-shadow: var(--shadow); }
.hero-status > .kicker { display: flex; justify-content: space-between; gap: 12px; }

.st-list { margin-top: 6px; }
.st { padding: 16px 0; border-top: 1px solid var(--line); }
.st:first-child { border-top: 0; }
.st-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.st-title { font-size: 18px; font-weight: 720; }
.st-label {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.st-alerta .st-label { background: var(--warn-wash); color: var(--warn-ink); box-shadow: inset 0 0 0 1px var(--warn-line); }
.st-neutro .st-label { background: var(--surface-2); color: var(--neutral-ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.st > p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.st-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14.5px; font-weight: 650; text-decoration: none; }
.st-more:hover { text-decoration: underline; }

.block { padding-top: 56px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.block-h, .block-head h2 { font-size: clamp(23px, 2.8vw, 30px); font-weight: 760; letter-spacing: -.02em; }
.block-h { margin-bottom: 18px; }
.see-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: 15px; white-space: nowrap; text-decoration: none; }
.see-all:hover { text-decoration: underline; }

.up { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.up-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding: 18px 22px; border-top: 1px solid var(--line); }
.up-item:first-child { border-top: 0; }
.up-item time { padding-top: 2px; font-size: 14.5px; font-weight: 680; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.up-title { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.up-text { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.up-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.up .ref { margin-top: 6px; }
@media (max-width: 600px) { .up-item { grid-template-columns: 1fr; gap: 4px; padding: 16px; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px;
  border-radius: 999px; background: var(--surface-2); color: var(--ink-2);
  font-size: 12.5px; font-weight: 650; line-height: 1.6; white-space: nowrap;
}
.chip::before, .fdot { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--c, var(--ink-3)); }
.chip-investigacao { --c: var(--c1); }
.chip-justica { --c: var(--c2); }
.chip-delacao { --c: var(--c3); }
.chip-politica { --c: var(--c4); }
.chip-mercado { --c: var(--c5); }

.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--accent-wash); color: var(--link); }
.card h3 { margin-top: 8px; font-size: 18px; font-weight: 720; }
.card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 650; color: var(--link); }

.nums { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .nums { grid-template-columns: 1fr; } }
.num { display: flex; flex-direction: column; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.num-v { font-size: clamp(26px, 3.4vw, 36px); font-weight: 780; line-height: 1.1; letter-spacing: -.02em; }
.num-l { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.num .ref { margin-top: auto; padding-top: 10px; }

.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: 28px; border-radius: 18px; background: var(--accent-wash); border: 1px solid var(--accent-line);
}
.band > div { flex: 1 1 380px; }
.band h2 { margin-top: 6px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 760; }
.band p:not(.kicker) { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 480px) { .band .btn { flex: 1 1 100%; } }

/* ---------- fontes ---------- */
.ref { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ref a, .ref-in a { color: var(--ink-2); text-decoration-color: var(--line-2); }
.ref a:hover, .ref-in a:hover { color: var(--link); text-decoration-color: currentColor; }
.ref-in { font-size: .8em; color: var(--ink-3); }
.prose .ref { margin: 8px 0 0; }
.prose p.ref:not(:last-child) { margin-bottom: 16px; }

/* ---------- gráfico de interesse ---------- */
.trend-fig { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
@media (min-width: 720px) { .trend-fig { padding: 28px 32px; } }
.trend-fig h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 760; letter-spacing: -.02em; }
.trend-sub { margin-top: 8px; max-width: 54em; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.trend { position: relative; margin-top: 30px; padding-left: 30px; }
.trend:focus-visible { outline-offset: 8px; border-radius: 8px; }
.trend-plot { position: relative; height: 230px; touch-action: pan-y; }
@media (max-width: 600px) { .trend-plot { height: 180px; } }
.tg { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.tg-0 { border-top-color: var(--line-2); }
.tg span {
  position: absolute; right: calc(100% + 6px); top: -9px; white-space: nowrap;
  font-size: 12px; line-height: 1.5; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.trend-cols { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.tc { display: flex; flex: 1 1 0; align-items: flex-end; justify-content: center; min-width: 0; height: 100%; }
.tb { display: block; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: var(--series); transition: opacity .12s; }
.tc.is-partial .tb { opacity: .45; }
.trend.has-active .tc:not(.is-active) .tb { opacity: .35; }
.trend.has-active .tc.is-active .tb { opacity: 1; }
.tm {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 21px; height: 21px;
  margin-bottom: 6px; transform: translateX(-50%); border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: 11.5px; font-weight: 760; pointer-events: none;
}
@media (max-width: 600px) { .tm { width: 17px; height: 17px; font-size: 10px; margin-bottom: 4px; } }
.trend-tip {
  position: absolute; top: 0; left: 0; z-index: 3; width: max-content; max-width: 210px;
  padding: 8px 11px; border-radius: 10px; background: var(--tip-bg); color: var(--tip-ink);
  font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); pointer-events: none;
}
.trend-tip strong { display: block; font-size: 20px; font-weight: 780; line-height: 1.15; }
.trend-tip span { display: block; }
.trend-tip .tt-ev { margin-top: 4px; font-weight: 600; }
.trend-x { position: relative; height: 24px; margin-top: 8px; }
.trend-x span { position: absolute; top: 0; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.trend-notes {
  display: grid; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.trend-notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.trend-notes strong { color: var(--ink); font-weight: 650; }
.tm-n {
  display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: 12px; font-weight: 760;
}
.trend-table { margin-top: 20px; }
.trend-table > summary, .fold > summary { cursor: pointer; color: var(--link); font-size: 15px; font-weight: 650; }
.table-scroll { max-height: 380px; margin-top: 12px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.num-c { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- newsletter ---------- */
.nl { display: grid; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
@media (min-width: 900px) { .nl { grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding: 36px; } }
.nl h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 760; letter-spacing: -.02em; }
.nl-copy p { margin-top: 8px; color: var(--ink-2); }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-row .input { flex: 1 1 220px; width: auto; background: var(--page); }
@media (max-width: 480px) { .nl-row .btn { flex: 1 1 100%; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--btn); }

/* ---------- artigos ---------- */
.art-grid { display: grid; gap: 40px; padding-top: 28px; }
@media (min-width: 1100px) {
  .art-grid { grid-template-columns: minmax(0, var(--read)) 232px; justify-content: center; gap: 72px; }
}
.art-grid.no-aside { grid-template-columns: minmax(0, var(--read)); justify-content: center; }
.art-main { min-width: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.art-hd .eyebrow { margin-top: 18px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; color: var(--link); }
.art-hd h1 { margin: 10px 0 14px; font-size: clamp(30px, 4.8vw, 46px); line-height: 1.08; letter-spacing: -.028em; }
.art-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.share-l { margin-right: 2px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.share-b {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); font-size: 14px; font-weight: 620; text-decoration: none; cursor: pointer;
}
.share-b:hover { color: var(--ink); border-color: var(--ink-3); }
.share-b[hidden] { display: none; }
.share-status { font-size: 13px; font-weight: 600; color: var(--ink-2); }

.prose { margin-top: 8px; }
.prose > h2, .prose section > h2 { margin: 52px 0 14px; font-size: clamp(23px, 3vw, 29px); font-weight: 760; letter-spacing: -.02em; }
.prose h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 720; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol:not(.tl):not(.steps) { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 680; }

.tldr {
  margin: 30px 0 8px; padding: 20px 22px 8px; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--series); border-radius: 12px;
}
.tldr .kicker { margin-bottom: 10px; }
.tldr ul { padding-left: 20px; }

.callout { display: flex; gap: 12px; margin: 22px 0; padding: 16px 18px; border-radius: 12px; font-size: 15.5px; line-height: 1.55; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.callout .i { margin-top: 2px; }
.callout-info { background: var(--accent-wash); border: 1px solid var(--accent-line); }
.callout-info .i { color: var(--link); }
.callout-warn { background: var(--warn-wash); border: 1px solid var(--warn-line); }
.callout-warn .i { color: var(--warn-ink); }

.faq { margin: 8px 0 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 40px 16px 0; font-weight: 680; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

.steps { margin: 4px 0 20px; padding: 0; list-style: none; counter-reset: passo; }
.steps li { position: relative; min-height: 34px; margin: 0 0 16px; padding-left: 50px; counter-increment: passo; }
.steps li::before {
  content: counter(passo); position: absolute; left: 0; top: -3px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-wash); color: var(--link);
  font-size: 15px; font-weight: 760;
}

.cols2 { display: grid; gap: 14px; margin: 0 0 20px; }
@media (min-width: 640px) { .cols2 { grid-template-columns: 1fr 1fr; } }
.boxlist { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.boxlist h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font-size: 16px !important; }
.boxlist ul { margin: 0 !important; padding-left: 20px !important; font-size: 15.5px; }

.toc-m { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.toc-m > summary { position: relative; padding: 13px 44px 13px 16px; font-weight: 680; cursor: pointer; list-style: none; }
.toc-m > summary::-webkit-details-marker { display: none; }
.toc-m > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg);
}
.toc-m[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.toc-m .toc { position: static; padding: 0 16px 12px; }
.art-aside { display: none; }
@media (min-width: 1100px) { .art-aside { display: block; } .toc-m { display: none; } }
.toc { position: sticky; top: calc(var(--hdr) + 28px); font-size: 14.5px; }
.toc-t { margin-bottom: 10px; font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a {
  display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent;
  color: var(--ink-2); line-height: 1.35; text-decoration: none;
}
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--ink); font-weight: 650; border-left-color: var(--series); }

.fontes { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.fontes h2 { font-size: 21px; font-weight: 740; }
.fontes > p { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }
.fontes ol { margin: 14px 0 0; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.fontes li { margin: 9px 0; }
.fontes .v { font-weight: 680; color: var(--ink); }

.rel { margin-top: 48px; }
.rel h2 { margin-bottom: 16px; font-size: 21px; font-weight: 740; }
.rel .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.rel .card { padding: 18px; }
.rel .card h3 { font-size: 16.5px; }
.rel .card p { display: none; }

/* ---------- linha do tempo ---------- */
.tl { position: relative; margin: 0; padding: 0; list-style: none; }
.tl::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 34px; }
.tl-item:last-child { padding-bottom: 6px; }
.tl-item::before {
  content: ""; position: absolute; left: 1px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--page); box-shadow: inset 0 0 0 3px var(--series);
}
.tl-item[hidden] { display: none; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
.tl-meta time { margin-right: 4px; font-size: 14.5px; font-weight: 720; font-variant-numeric: tabular-nums; }
.prose .tl-title, .tl-title { margin: 0 0 6px; font-size: 18.5px; font-weight: 720; line-height: 1.35; letter-spacing: -.01em; }
.tl-item p:not(.ref) { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.tl-tools { margin: 8px 0 24px; padding: 14px 0; border-bottom: 1px solid var(--line); background: var(--page); }
@media (min-width: 720px) { .tl-tools { position: sticky; top: var(--hdr); z-index: 5; } }
.fchips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .fchips { flex-wrap: wrap; overflow: visible; } }
.fchip {
  display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 38px; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); font-size: 14px; font-weight: 640; cursor: pointer;
}
.fchip:hover { color: var(--ink); border-color: var(--ink-3); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.fcount { font-weight: 600; opacity: .65; font-variant-numeric: tabular-nums; }
.tl-search { position: relative; margin-top: 12px; }
.tl-search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.tl-search .input { padding-left: 42px; }
.tl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.linkbtn { padding: 0; border: 0; background: none; color: var(--link); font-size: 14px; font-weight: 650; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.tl-year + .tl-year { margin-top: 12px; }
.tl-year[hidden] { display: none; }
.tl-year-h { margin: 0 0 18px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- quem é quem ---------- */
.people { display: grid; gap: 14px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pc { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pc:target { border-color: var(--series); box-shadow: 0 0 0 3px var(--accent-wash); }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-av {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--surface-2); color: var(--ink-2); font-size: 15px; font-weight: 760; letter-spacing: .02em;
}
.prose .pc h3, .pc h3 { margin: 0; font-size: 17px; font-weight: 720; }
.pc-nick { font-weight: 600; color: var(--ink-3); }
.pc-role { margin: 2px 0 0 !important; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.pc-papel { margin: 12px 0 0 !important; font-size: 15.5px; line-height: 1.55; }
.pc-diz { margin: 10px 0 0 !important; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pc-diz strong { color: var(--ink); }

/* ---------- simulador FGC ---------- */
.calc { margin: 30px 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .calc { padding: 28px; } }
.calc-hd { display: flex; gap: 14px; align-items: flex-start; }
.prose .calc h2 { margin: 2px 0 6px; font-size: clamp(21px, 2.6vw, 25px); }
.calc-hd p { margin: 0 !important; font-size: 15.5px; color: var(--ink-2); }
.calc-form { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 640px) { .calc-form { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 680; }
.opt { font-weight: 500; color: var(--ink-3); }
.money {
  display: flex; align-items: center; min-height: 54px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 11px; background: var(--page);
}
.money:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.money span { margin-right: 8px; color: var(--ink-3); font-weight: 650; }
.money input {
  flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: none; background: transparent;
  color: var(--ink); font: inherit; font-size: 21px; font-weight: 680; font-variant-numeric: tabular-nums;
}
.money input::placeholder { color: var(--line-2); }
.hint { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
@media (max-width: 480px) { .calc-out { grid-template-columns: 1fr; } }
.calc-res { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); }
.calc-k { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-k::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--k); }
.calc-res-a { --k: var(--series); }
.calc-res-b { --k: var(--line-2); }
.calc-v { margin: 4px 0 0 !important; font-size: clamp(23px, 3vw, 29px); font-weight: 780; letter-spacing: -.01em; }
.calc-bar { grid-column: 1 / -1; display: flex; gap: 2px; height: 12px; overflow: hidden; border-radius: 6px; background: var(--surface-2); }
.calc-bar span { display: block; width: 0; height: 100%; transition: width .25s; }
.calc-bar-a { background: var(--series); }
.calc-bar-b { background: var(--line-2); }
.calc-note { grid-column: 1 / -1; margin: 0 !important; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.calc-disc { margin: 16px 0 0 !important; font-size: 13px; color: var(--ink-3); }

/* ---------- anúncios e consentimento ---------- */
.ad { margin: 28px 0; }
.ad-l { margin: 0 0 6px !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 14px;
  max-width: 560px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 14px; line-height: 1.45;
}
.consent[hidden] { display: none; }

/* ---------- rodapé ---------- */
.ftr { margin-top: 80px; background: var(--surface-2); border-top: 1px solid var(--line); }
.ftr-in { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
@media (min-width: 880px) { .ftr-in { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }
.ftr p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.ftr .brand-t { margin-bottom: 8px; color: var(--ink); }
.ftr-h { margin-bottom: 10px; font-size: 12.5px !important; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3) !important; }
.ftr ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.ftr a { color: var(--ink-2); text-decoration: none; }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr-bottom { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.ftr-bottom p { font-size: 13px; color: var(--ink-3); }

/* ---------- utilitários de página ---------- */
.center-page { padding: 72px 0 24px; text-align: center; }
.center-page h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.025em; }
.center-page p { margin: 14px auto 0; max-width: 34em; color: var(--ink-2); }
.center-page .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .hdr, .share, .nl, .toc-m, .art-aside, .ftr nav, .consent, .progress, .rel, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .art-grid { display: block; }
}
