/* BRASIL DECIFRADO — IDENTIDADE EDITORIAL ÚNICA
   Referência: Checagem. Cabeçalho compartilhado em todas as sete coleções.
   Um sistema de tipografia, cor, espaçamento, cartões, legendas e gráficos.
   Deixe os arquivos CSS dos módulos para detalhes especializados. */
:root {
 --ui-bg:#101114;--ui-panel:#1c1c22;--ui-panel-up:#24232b;
 --ui-border:#39383f;--ui-rule:#36353d;--ui-white:#f8f6f2;
 --ui-muted:#bcb8c3;--ui-quiet:#96939f;--ui-red:#e82042;
 --ui-pink:#f29aaf;--ui-green:#9ccfbb;
 --ui-content:1200px;--ui-radius:9px;
 --ui-small:12px;--ui-body:16px;--ui-lead:clamp(17px,1.8vw,22px);
 --ui-section-title:clamp(28px,3.6vw,42px);
 --ui-display:clamp(52px,6.8vw,96px);
}
html {scroll-padding-top:110px}
body {font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page){
 font-family:inherit;color:var(--ui-white);font-feature-settings:"tnum" 1;min-width:0;
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page) h1,
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page) h2,
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page) h3 {
 font-family:inherit;letter-spacing:-.035em;text-wrap:balance;
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page) :is(p,li,small) {overflow-wrap:break-word}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.home-hub,.mv-page) :is(button,a,select,input,summary):focus-visible{
 outline:2px solid #ff9db4;outline-offset:3px
}
/* UMA ABERTURA, UM DESENHO: DOM do mesmo componente JS. */
.bd-hero {
 display:block!important;grid-template-columns:unset!important;
 position:relative;max-width:100%;
 padding:40px 0 36px!important;margin:0!important;
 border-bottom:1px solid var(--ui-rule)!important;
 background:none!important;min-height:0;
}
.bd-hero__main {display:block;min-width:0;max-width:1100px}
.bd-hero__eyebrow {
 display:block;color:#f04b65;font-size:11px;font-weight:800;
 line-height:1.5;letter-spacing:.15em;text-transform:uppercase;margin:0 0 21px;
}
.bd-hero h1 {
 margin:0!important;padding:0!important;
 font-family:inherit;font-size:var(--ui-display)!important;
 font-weight:800!important;line-height:.99!important;letter-spacing:-.062em!important;
 color:var(--ui-white)!important;text-transform:uppercase;text-wrap:balance;
 max-width:1150px;
}
.bd-hero h1 em {color:var(--ui-red)!important;font-style:normal;font-weight:800}
.bd-hero__lead {
 margin:20px 0 0!important;max-width:670px;
 font-family:inherit;font-size:var(--ui-lead)!important;
 font-weight:420;letter-spacing:-.014em;line-height:1.58!important;
 color:#d1cdd5!important;text-wrap:pretty
}
.bd-hero__stats {
 display:flex;align-items:center;flex-wrap:wrap;
 gap:19px 0;margin-top:31px;max-width:1150px;
}
.bd-stat {
 display:flex;gap:12px;align-items:center;min-height:45px;
 padding:0 26px 0 0;margin:0 26px 0 0;
 border-right:1px solid #39383f;min-width:0;
}
.bd-stat:last-child {border-right:0;margin-right:0;padding-right:0}
.bd-stat strong {
 display:block;font-size:clamp(27px,2.9vw,38px);font-weight:760;
 letter-spacing:-.05em;line-height:1;white-space:nowrap;
 color:var(--ui-white);font-variant-numeric:tabular-nums
}
.bd-stat span {
 color:#ed7188;font-size:10px;font-weight:800;line-height:1.45;
 letter-spacing:.11em;text-transform:uppercase;max-width:175px
}
.bd-stat small {
 display:block;font-size:11px;font-weight:500;letter-spacing:0;
 text-transform:none;color:#bcb8c3;margin-top:4px;line-height:1.4
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home,.mv-page) {
 max-width:var(--ui-content)
}
.mv-page .mv-wrap {max-width:var(--ui-content)}
.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home {padding-top:0!important}
.mv-page{padding-top:0}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.history-page,.investigations-home) > .bd-hero,
.mv-wrap > .bd-hero {margin-bottom:0}
/* ONE NAVIGATION BAR across topic collections — not independent card tabs */
.ec-page .ec-tabs,.gp-page .gp-tabs,.mv-page .mv-tabs,.edu-page .edu-jump-nav {
 display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;
 width:100%;min-width:0;gap:2px!important;
 overflow-x:auto!important;overflow-y:hidden;
 border-bottom:1px solid var(--ui-rule)!important;border-top:0;
 border-radius:0;scrollbar-width:thin;scrollbar-color:#5a4e58 transparent;
 padding:0!important;margin:0 0 24px!important;white-space:nowrap;
 overscroll-behavior-inline:contain;
}
.ec-page .ec-tabs>a,.gp-page .gp-tabs>a,.mv-page .mv-tabs>a,.edu-page .edu-jump-nav>a {
 display:inline-flex!important;flex:0 0 auto!important;align-items:center;justify-content:center;
 gap:8px;min-height:56px!important;padding:14px 16px!important;
 border:0!important;border-bottom:3px solid transparent!important;
 border-radius:0!important;background:none!important;box-shadow:none!important;
 color:#c7c3cd!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important;font-family:inherit!important;
 text-transform:none!important;white-space:nowrap!important;min-width:0!important;
}
.ec-page .ec-tabs>a[aria-current=page],.gp-page .gp-tabs>a[aria-current=page],.mv-page .mv-tabs>a[aria-current=page] {
 color:#fff!important;border-bottom-color:var(--ui-red)!important
}
.ec-page .ec-tabs>a:hover,.gp-page .gp-tabs>a:hover,.mv-page .mv-tabs>a:hover,.edu-page .edu-jump-nav>a:hover{
 color:#fff!important;background:#25232b!important
}
.gp-page .gp-tabs .gp-tab-icon,.gp-page .gp-tabs .gp-tab-arrow {display:none!important}
.gp-page .gp-tabs .gp-tab-copy,.gp-page .gp-tabs .gp-tab-copy strong {display:inline!important;font:inherit!important}
.mv-page .mv-tabs small {
 display:inline-flex;padding:3px 6px;min-width:22px;min-height:22px;
 align-items:center;justify-content:center;background:#2c2c34;border-radius:5px;
 color:#e7e2eb;font-size:11px;font-weight:750;line-height:1;font-family:inherit
}
.edu-page .edu-jump-nav {margin-top:15px!important}
.edu-page .edu-jump-nav>a {border-bottom:2px solid transparent!important}
.edu-page .edu-jump-nav>a:focus-visible {border-bottom-color:var(--ui-red)!important}
/* Homes + collections use same card anatomy as Checagem */
.home-hub {
 display:block!important;grid-template-columns:none!important;
 width:calc(100% - 32px);max-width:var(--ui-content);
 min-height:0!important;padding:0 0 78px!important
}
.home-hub>.bd-hero{margin-bottom:26px!important}
.home-hub-nav {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px!important;margin:0!important
}
.home-hub-nav>.home-finance-doors,.home-hub-nav>.home-other-doors {
 display:contents!important
}
.home-hub-nav .home-door,.home-hub-nav .home-door-featured {
 display:grid!important;grid-template-columns:1fr 24px!important;grid-template-rows:30px 1fr!important;
 align-items:start!important;gap:12px!important;
 min-height:200px!important;height:auto;
 padding:24px!important;margin:0!important;
 border:1px solid var(--ui-border)!important;
 border-radius:var(--ui-radius)!important;
 background:var(--ui-panel)!important;
 box-shadow:none!important;
 text-align:left;
 transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.home-hub-nav .home-door-icon,.home-hub-nav .home-door-featured .home-door-icon {
 grid-column:1!important;grid-row:1!important;justify-self:start;align-self:start;
 color:#f17991!important
}
.home-hub-nav .home-door-copy,.home-hub-nav .home-door-featured .home-door-copy {
 display:grid!important;grid-column:1/-1!important;grid-row:2!important;
 align-self:end;gap:8px!important;min-width:0
}
.home-hub-nav .home-door-arrow,.home-hub-nav .home-door-featured .home-door-arrow {
 grid-column:2!important;grid-row:1!important;justify-self:end;color:#a8a3ad!important
}
.home-hub-nav .home-door-copy strong,.home-hub-nav .home-door-featured .home-door-copy strong {
 color:#fff!important;font-size:clamp(19px,1.75vw,25px)!important;font-weight:750!important;line-height:1.18!important;font-family:inherit!important;letter-spacing:-.04em
}
.home-hub-nav .home-door-copy small,.home-hub-nav .home-door-featured .home-door-copy small {
 color:#c4bec9!important;font-size:13px!important;font-weight:450!important;line-height:1.55!important;font-family:inherit!important
}
.home-hub-nav .home-door[data-home-area=checagem] {
 border-color:#8f5260!important;background:linear-gradient(135deg,#2b1e26,#1b1b21)!important
}
.home-hub-nav .home-door:hover {border-color:#95606e!important;background:#292129!important;transform:translateY(-2px)}
/* Card architecture shared across data and editorial collections */
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(
 .ec-card,.gp-panel,.gp-stats article,.edu-chart-card,.edu-rank-card,.edu-learning-card,
 .edu-national-card,.ps-power-card,.ps-big-grid article,.mv-card,.governant-card
){
 background:var(--ui-panel)!important;border:1px solid var(--ui-border)!important;
 border-radius:var(--ui-radius)!important;box-shadow:none!important;min-width:0
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(.ec-card,.gp-panel,.edu-rank-card,.edu-learning-card,.ps-power-card,.mv-card) {
 padding:24px
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(.ec-card,.gp-panel,.edu-chart-card,.mv-card) h2 {
 font-size:clamp(20px,2.3vw,28px);font-weight:750;line-height:1.2;letter-spacing:-.035em
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(.ec-card>header p,.gp-panel-head p,.edu-section-heading>p,.ps-heading p,.mv-card p){
 color:#c8c3ce!important;font-size:14px!important;line-height:1.66!important
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(.eyebrow,.edu-section-heading .eyebrow,.ps-heading .eyebrow,.gp-panel .eyebrow,.mv-section-heading>span) {
 font-size:11px!important;font-weight:800!important;letter-spacing:.13em!important;
 line-height:1.5;text-transform:uppercase
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(.section-title h2,.edu-section-heading h2,.ps-heading h2,.mv-section-heading h2) {
 font-size:var(--ui-section-title)!important;line-height:1.13;letter-spacing:-.045em;font-weight:760
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(
 .ec-stat>span,.ec-stat>small,.gp-stats article>span,.gp-stats article>small,.ps-power-card>small,
 .ps-history small,.edu-learning-card>p,.mv-chart small,.mv-card-bottom,.governant-card p){
 font-size:12px!important;line-height:1.6;color:var(--ui-muted)!important
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(button,input,select) {
 font-family:inherit;accent-color:var(--ui-red);
}
:where(.ec-page,.edu-page,.gp-page,.ps-page,.mv-page,.history-page,.investigations-home) :is(input,select) {
 min-height:44px;border-radius:6px
}
/* Chart grammar: one surface, series, titles, values, axis & hover across datasets */
.ec-page .ec-chart,.edu-page .edu-chart-card,.gp-page .gp-year-strip,
.gp-page .gp-bars,.ps-page .ps-history,.ps-page .ps-population-bars,.mv-page .mv-chart {
 font-variant-numeric:tabular-nums;scrollbar-width:thin;scrollbar-color:#685763 transparent
}
.ec-chart svg,.edu-chart svg,.gp-year-strip svg,.gp-bar svg,.ps-population-bars svg {shape-rendering:geometricPrecision}
.ec-chart .ec-baseline,.edu-grid-line {stroke:#46444e;stroke-width:1}
.ec-chart .ec-trend,.edu-line-brazil {stroke:var(--ui-pink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.edu-line-oecd {stroke:var(--ui-green);stroke-width:3;stroke-linecap:round}
.edu-chart-legend {color:#d0cbd5;font-size:12px;gap:14px}
.edu-chart-legend i {width:19px;height:4px;border-radius:4px;background:var(--ui-pink)}
.edu-chart-legend>span:last-child i {background:var(--ui-green)}
.ec-chart text,.edu-chart text {fill:#d2ccd6;font-family:inherit;font-weight:550}
.ec-chart .ec-year,.ec-chart .ec-axis{fill:#aaa4b0}
.ec-chart rect,.ec-chart circle{fill:#b96a81}
.ec-chart .selected rect,.ec-chart .selected circle {fill:#ffb2c5}
.ec-chart .negative rect {fill:#da849a}
.ec-chart .selected text {fill:#fff}
.gp-track,.ec-rank-track {fill:#38363f}
.gp-fill,.gp-year[aria-current=true] .gp-year-fill{fill:var(--ui-pink)}
.gp-fill-negative,.gp-debt-changes .gp-year-fill-negative {fill:var(--ui-green)}
.gp-year-fill{fill:#897f8b}
.gp-bar-heading strong{font-size:14px;line-height:1.5}
.gp-bar-heading>span{font-size:13px;color:#e9c4cd}
.gp-year strong,.gp-year>span{font-size:12px;color:#d0cad4}
.gp-year[aria-current=true] strong{color:#ffb2c5}
.gp-bar:hover,.gp-bar[aria-pressed=true],.gp-year:hover,.gp-year[aria-current=true]{
 background:#34242c;border-color:#764458
}
.ps-power-track i,.ps-track i{background:var(--ui-pink)}
.ps-population-bars .ps-track{height:11px;border-radius:6px;overflow:hidden}
.mv-chart {max-width:850px}
.mv-chart-rail{background:#39333c;border-radius:6px}
.mv-chart-rail i{background:linear-gradient(90deg,#b74360,var(--ui-pink));border-radius:6px}
.mv-chart-row b {color:#ffe3ea;font-variant-numeric:tabular-nums}
/* Internal sections have one rhythm; reading articles stay paper-light. */
.edu-section,.ps-section {padding:42px 0;border-bottom:1px solid var(--ui-rule)}
.history-filters {border-bottom:1px solid var(--ui-rule);padding:27px 0}
.history-page .historical-period{padding-top:30px}
.history-page .period-heading h2{font-size:var(--ui-section-title);font-weight:760}
.investigations-home .investigations {padding-top:38px}
.investigations-home .library-controls {margin-top:20px}
.investigations-home .investigation-cover {border-radius:var(--ui-radius)}
.reader-page {font-family:inherit}
.reader-page .prose {font-size:17px;line-height:1.82;font-weight:425}
.reader-page .prose h2 {font-size:clamp(27px,3vw,36px);font-weight:750}
.reader-page .prose h3 {font-size:clamp(20px,2.2vw,27px);font-weight:710}
.reader-page .reading-head h1 {font-size:clamp(32px,4vw,50px);font-weight:760}
/* Unified nav + figures adapt without collapsing typography */
@media(max-width:1100px){
 .home-hub-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bd-stat{margin-right:16px;padding-right:16px}
}
@media(max-width:760px){
 :root{--ui-display:clamp(37px,9vw,58px);--ui-section-title:clamp(25px,6vw,34px)}
 .bd-hero {padding:24px 0 26px!important}
 .bd-hero__eyebrow{font-size:10px;margin-bottom:15px}
 .bd-hero h1 {font-size:var(--ui-display)!important;letter-spacing:-.059em!important;overflow-wrap:break-word}
 .bd-hero__lead{font-size:16px!important;line-height:1.56!important;margin-top:16px!important}
 .bd-hero__stats{margin-top:22px;gap:14px 0}
 .bd-stat {padding-right:14px;margin-right:14px;min-height:40px;gap:8px}
 .bd-stat strong{font-size:clamp(24px,6vw,31px)}
 .bd-stat span{font-size:9px;max-width:128px}
 .bd-stat small{font-size:10px}
 .ec-page .ec-tabs>a,.gp-page .gp-tabs>a,.mv-page .mv-tabs>a,.edu-page .edu-jump-nav>a {
  min-height:50px!important;padding:13px 13px!important;font-size:12px!important
 }
 .home-hub{width:calc(100% - 28px);padding-bottom:46px!important}
 .home-hub>.bd-hero {margin-bottom:20px!important}
 .home-hub-nav{gap:10px!important}
 .home-hub-nav .home-door,.home-hub-nav .home-door-featured {
  min-height:158px!important;padding:16px!important;gap:10px!important
 }
 .home-hub-nav .home-door-copy strong,.home-hub-nav .home-door-featured .home-door-copy strong {font-size:17px!important}
 .home-hub-nav .home-door-copy small,.home-hub-nav .home-door-featured .home-door-copy small {font-size:12px!important}
 .ec-card,.gp-panel,.edu-chart-card,.edu-rank-card,.edu-learning-card,.ps-power-card,.mv-card{padding:18px!important}
 .ec-page .ec-chart.bd-chart-viewport,.gp-page .gp-year-strip.bd-chart-viewport {
  overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch
 }
 .ec-page .ec-chart svg {min-width:500px;max-width:none}
 .edu-page .edu-chart-card.bd-chart{overflow-x:auto;overscroll-behavior-x:contain}
 .edu-page .edu-chart-card.bd-chart .edu-chart {min-width:610px;width:610px;max-width:none}
 .edu-page .edu-chart-legend {min-width:580px}
 .gp-page .gp-year-strip .gp-year {min-width:75px;flex:0 0 75px}
 .reader-page .prose {font-size:16px;line-height:1.75}
 .edu-section,.ps-section {padding:31px 0}
}
@media(max-width:480px){
 .home-hub-nav {grid-template-columns:1fr}
 .home-hub-nav .home-door,.home-hub-nav .home-door-featured{min-height:124px!important}
 .home-hub-nav .home-door-copy strong,.home-hub-nav .home-door-featured .home-door-copy strong {font-size:19px!important}
 .bd-hero h1 {font-size:clamp(35px,8.4vw,44px)!important}
 .bd-hero__stats{gap:12px}
 .bd-stat{border-right:0;flex:0 1 auto;max-width:calc(50% - 6px)}
 .bd-stat strong{font-size:24px}
 .mv-page .mv-wrap{width:calc(100% - 28px)}
}
@media(prefers-reduced-motion:reduce){.home-door,.gp-bar,.gp-year,.ec-point{transition:none!important;transform:none!important}}
@media print{.bd-hero{color:#111;border-color:#888}.bd-hero h1{color:#111!important}.bd-hero__lead{color:#333!important}}


/* Ajustes cirúrgicos: centralização original da Checagem e cards do acervo. */
/* O max-width global não deve limitar o elemento .mv-page inteiro;
   somente a sua .mv-wrap pode ter largura fixa. */
.mv-page {
  width:100%;
  max-width:none;
  margin-inline:0;
}
.mv-page .mv-wrap {
  width:calc(100% - 32px);
  max-width:1200px;
  margin-inline:auto;
}
/* A capa, os créditos e as informações compõem um único card clicável,
   exatamente como os cards de Governantes e Checagem. */
.investigations-home .investigation-grid {
  align-items:stretch;
  gap:22px;
}
.investigations-home .investigation-card {
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:0;
  overflow:hidden;
  background:var(--ui-panel,#1c1c22);
  border:1px solid var(--ui-border,#39383f);
  border-radius:var(--ui-radius,9px);
  color:inherit;
  transition:border-color .18s ease,background-color .18s ease;
}
.investigations-home .investigation-cover {
  flex:0 0 auto;
  width:100%;
  border-radius:0;
}
.investigations-home .card-cover-credit {
  flex:0 0 auto;
  padding:9px 15px;
  border-bottom:1px solid var(--ui-border,#39383f);
  background:#22222a;
}
.investigations-home .investigation-copy {
  display:flex;
  flex:1 1 auto;
  min-width:0;
  flex-direction:column;
  padding:21px 20px 17px;
}
.investigations-home .investigation-copy>p {
  flex:1 1 auto;
}
.investigations-home .case-card-bottom {
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--ui-border,#39383f);
}
.investigations-home .investigation-card:hover,
.investigations-home .investigation-card:focus-visible {
  border-color:#8f5260;
  background:#202027;
}
@media(max-width:760px) {
  .investigations-home .investigation-grid {gap:16px}
  .investigations-home .investigation-copy {padding:18px 17px 16px}
}
@media(max-width:480px) {
  .mv-page .mv-wrap {width:calc(100% - 28px)}
}
@media(prefers-reduced-motion:reduce) {
  .investigations-home .investigation-card {transition:none}
}


/* Contexto jurídico/editorial em Envolvidos: obrigatório na lista e nos perfis. */
.reader-page .people-context-note {
 display:block;
 max-width:100%;
 margin:0 0 28px;
 padding:18px 20px;
 background:#fff9f0;
 color:#2d2930;
 border:1px solid #cbb9a8;
 border-left:4px solid #ad2945;
 border-radius:8px;
 font-size:14px;
 line-height:1.65;
}
.reader-page .people-context-note strong {
 display:block;
 margin-bottom:7px;
 font-size:15px;
 font-weight:750;
 letter-spacing:-.015em;
 color:#842037;
}
.reader-page .people-context-note p {
 margin:0;
 font-size:14px;
 line-height:1.7;
 color:#3b3439;
 text-wrap:pretty;
}
@media(max-width:760px) {
 .reader-page .people-context-note {padding:15px 16px;margin-bottom:24px}
 .reader-page .people-context-note strong {font-size:14px}
 .reader-page .people-context-note p {font-size:14px}
}
