/* Fato & Poder — identity layer for the migrated portal.
   The source logo is kept untouched; this layer only supplies the surrounding
   system colours and sizing so the mark remains legible on every viewport. */
:root {
  --ds-blue-900:#0b2942;
  --ds-blue-800:#123e61;
  --ds-blue-700:#0d73a8;
  --ds-blue-600:#159bd2;
  --ds-blue-100:#e8f4fa;
  --navy:#0b2942;
  --navy-2:#123e61;
  --blue:#0d73a8;
  --blue-2:#07527e;
  --blue-soft:#e8f4fa;
  --warm:#f5f7f9;
  --surface:#ffffff;
  --surface-2:#edf2f6;
  --ink:#102b43;
  --muted:#60788d;
  --line:#d5e1e9;
  --shadow:0 16px 40px rgba(11,41,66,.12);
  --shadow-soft:0 8px 24px rgba(11,41,66,.08);
}

html { background:#0b2942!important; }
body { background:var(--warm); color:var(--ink); }

.global-header,
.global-header.is-condensed {
  background:#f6f8fa!important;
  color:var(--ink)!important;
  border-color:var(--line)!important;
  box-shadow:0 9px 30px rgba(11,41,66,.10)!important;
}
.global-header::before,
.global-header::after { background:#f6f8fa!important; }
.global-header :where(.header-control,.primary-nav a),
.network-bar a { color:var(--ink)!important; }
.global-header .header-control {
  background:rgba(255,255,255,.75)!important;
  border-color:var(--line)!important;
}
.global-header .primary-nav a[aria-current="page"] {
  color:var(--blue)!important;
  background:var(--blue-soft)!important;
}
.global-header .site-logo img,
.global-footer img[src*="fato-e-poder-logo"] {
  width:auto!important;
  height:76px!important;
  max-width:min(330px,46vw)!important;
  aspect-ratio:624/400!important;
  object-fit:contain!important;
  filter:none!important;
}

.global-footer {
  background:#0b2942!important;
  color:#f4f8fb!important;
  border-color:#123e61!important;
}
.global-footer :where(h2,a,p,span) { color:inherit!important; }
.category-pill,
.button-primary,
.mobile-nav a[aria-current="page"],
.mobile-nav button[aria-current="page"] {
  background:var(--blue)!important;
  color:#fff!important;
}
.editoria-pill .material-symbols-rounded,
.city-pill .material-symbols-rounded,
.section-heading a,
.eyebrow { color:var(--blue)!important; }
.news-card:hover,
.directory-card:hover,
.columnist-card:hover { border-color:#8cc9e5!important; }

@media(max-width:760px) {
  .global-header .site-logo img {
    height:56px!important;
    max-width:min(210px,52vw)!important;
  }
  .global-header,
  .global-header.is-condensed { background:#f6f8fa!important; }
  .mobile-nav {
    background:rgba(11,41,66,.94)!important;
    border-color:rgba(255,255,255,.16)!important;
  }
}

.a11y-dark {
  --warm:#0c1c2b;
  --surface:#132b40;
  --surface-2:#193a55;
  --ink:#f7fbff;
  --muted:#c6d5e0;
  --line:#31536e;
  --blue-soft:#173e5b;
}
.a11y-dark body { background:var(--warm); color:var(--ink); }
.a11y-dark .global-header,
.a11y-dark .global-header.is-condensed { background:#0b2942!important; }
.a11y-dark .global-header :where(.header-control,.primary-nav a),
.a11y-dark .network-bar a { color:#f7fbff!important; }
.a11y-dark .global-header .site-logo img { filter:brightness(0) invert(1)!important; }

/* 2026-09-12 — correções de consistência e identidade editorial contemporânea. */
.global-header { border-top:4px solid #0d73a8!important; }
.global-header .primary-nav {
  width:min(790px,calc(100% - 40px));
  margin:0 auto 20px;
  padding:6px;
  border:1px solid #cbd9e2!important;
  border-radius:999px;
  background:#e9eef2!important;
}
.global-header .primary-nav a { min-height:40px;padding:8px 14px;border-radius:999px; }
.global-header .primary-nav a[aria-current="page"] { background:#fff!important;color:#075f8d!important; }
.home-page>.hero { border-color:#c7d6df!important; }
.home-page .hero-main,.home-page .sequence-preview { box-shadow:0 16px 38px rgba(11,41,66,.11)!important; }
.home-page .hero-content h1 {
  font-family:var(--ds-font-ui)!important;
  font-weight:900!important;
  line-height:.94!important;
  letter-spacing:-.055em!important;
}
.home-page .section-heading { border-color:#cbd9e2!important; }
.home-page .section-heading h2 { font-family:var(--ds-font-ui)!important;font-weight:900!important; }
.home-page .section-heading h2::after {
  content:"";display:inline-block;width:34px;height:3px;margin-left:10px;vertical-align:middle;background:#0d73a8;
}
.home-page :where(.news-card,.columnist-card) {
  background:#fff!important;border-color:#d2dfe7!important;box-shadow:0 10px 28px rgba(11,41,66,.065)!important;
}
.home-page .news-card-meta span { color:#0874a8!important; }
.home-page .home-taxonomy-panel { background:#e6f1f6!important;border-color:#c5dce7!important; }
.home-page .home-taxonomy-panel :where(.editoria-pill,.city-pill) { background:rgba(255,255,255,.84)!important;border-color:#bdd7e3!important; }
@media(max-width:760px) {
  .global-header { border-top-width:3px!important; }
  .global-header .primary-nav { display:none; }
  .home-page .section-heading h2::after { width:24px;margin-left:7px; }
}
