/* ═══════════════════════════════════════════
   RR Frontend — Design System v2
   Matching production site aesthetic
   ═══════════════════════════════════════════ */

:root {
  --rr-black: #0a0a0a;
  --rr-dark: #1a1a1a;
  --rr-charcoal: #2d2d2d;
  --rr-slate: #4a4a4a;
  --rr-grey: #8a8a8a;
  --rr-silver: #c4c4c4;
  --rr-light: #f2f0ed;
  --rr-cream: #faf8f5;
  --rr-white: #ffffff;
  --rr-red: #c4161c;
  --rr-red-dark: #9a1118;
  --rr-gold: #b8960c;
  --rr-blue: #1a4a7a;

  --cat-mercado: #1a6b4a;
  --cat-energia: #b8960c;
  --cat-empresa: #1a4a7a;
  --cat-governo: #7a1a1a;
  --cat-politica: #4a1a6b;
  --cat-infraestrutura: #6b4a1a;
  --cat-educacao: #1a5a6b;
  --cat-venture: #4a6b1a;

  --font-display: 'Roble', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 16px; --sp-lg: 24px;
  --sp-xl: 40px; --sp-2xl: 64px; --sp-3xl: 96px;
  --max-width: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--rr-dark); background: var(--rr-cream); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.2; color: var(--rr-black); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1em; color: var(--rr-slate); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-lg); }

/* ═══════════════════════════════════════
   HEADER — Matches production site
   ═══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--rr-dark);
  border-bottom: 3px solid var(--rr-red);
}

.header-main {
  background: var(--rr-cream);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto;
  padding: 16px var(--sp-lg);
}

.header-left, .header-right {
  display: flex; align-items: center; gap: var(--sp-md);
}

.header-icon-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--rr-dark); display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 4px; transition: background 0.2s;
}
.header-icon-btn:hover { background: rgba(0,0,0,0.06); }
.header-icon-label { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; }

/* Logo — centered image */
.header-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-align: center; display: flex; align-items: center;
}
.header-logo-img {
  height: 52px; width: auto; display: block;
  object-fit: contain;
  transition: opacity 0.3s;
}

.btn-login {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  color: var(--rr-dark); background: none; border: none;
  padding: 6px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.btn-login:hover { color: var(--rr-red); }
.login-icon { font-size: 1rem; }

.btn-subscribe {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  color: var(--rr-white); background: var(--rr-red); border: none;
  padding: 10px 22px; border-radius: 3px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.08em; transition: background 0.2s;
}
.btn-subscribe:hover { background: var(--rr-red-dark); }

/* Search dropdown */
.search-dropdown {
  background: var(--rr-cream); padding: 12px var(--sp-lg);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.search-dropdown-form {
  display: flex; gap: var(--sp-sm);
  max-width: 600px; margin: 0 auto;
}
.search-dropdown-input {
  flex: 1; font-family: var(--font-body); font-size: 1rem;
  padding: 10px 16px; border: 2px solid var(--rr-silver); border-radius: 3px;
  background: var(--rr-white); outline: none; transition: border-color 0.2s;
}
.search-dropdown-input:focus { border-color: var(--rr-red); }
.search-dropdown-btn {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  padding: 10px 24px; background: var(--rr-dark); color: var(--rr-white);
  border: none; border-radius: 3px; cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  background: var(--rr-dark); padding: var(--sp-md) var(--sp-lg);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav li a {
  display: block; padding: 10px 16px; font-size: 0.9rem; font-weight: 600;
  color: var(--rr-silver); border-radius: 4px; transition: all 0.2s;
}
.mobile-nav li a:hover, .mobile-nav li a.active {
  color: var(--rr-white); background: rgba(255,255,255,0.08);
}

/* Desktop nav */
.desktop-nav { background: var(--rr-dark); overflow-x: auto; }
.desktop-nav ul {
  display: flex; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-lg);
}
.desktop-nav li a {
  display: block; padding: 12px 18px; font-size: 0.82rem; font-weight: 600;
  color: var(--rr-silver); text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap; transition: color 0.2s; border-bottom: 2px solid transparent;
}
.desktop-nav li a:hover, .desktop-nav li a.active {
  color: var(--rr-white); border-bottom-color: var(--rr-red);
}

.tagline {
  text-align: center; padding: 10px var(--sp-lg);
  background: var(--rr-cream); border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  color: var(--rr-gold); text-transform: uppercase; letter-spacing: 0.3em;
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-logo { position: relative; left: auto; transform: none; }
  .header-logo-img { height: 40px; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none; }
}

/* ═══════════════════════════════════════
   HERO — Split layout (production style)
   ═══════════════════════════════════════ */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.hero-split-text {
  background: var(--rr-red-dark);
  padding: var(--sp-2xl) var(--sp-xl);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-label {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: var(--sp-md);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700; color: var(--rr-white);
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; margin-bottom: var(--sp-md);
}
.hero-title a { color: inherit; }
.hero-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-excerpt {
  font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.6;
  margin-bottom: var(--sp-md); max-width: 500px;
}
.hero-date { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hero-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.15);
  color: var(--rr-white); font-size: 1rem; margin-top: var(--sp-md); cursor: pointer;
  transition: background 0.2s;
}
.hero-share-btn:hover { background: rgba(255,255,255,0.3); }

.hero-split-image {
  overflow: hidden; background: var(--rr-charcoal);
}
.hero-split-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4rem; color: var(--rr-grey); opacity: 0.3;
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-image { height: 250px; }
}

/* ═══════════════════════════════════════
   NEWSLETTER BAR
   ═══════════════════════════════════════ */
.newsletter-bar {
  background: var(--rr-red); padding: var(--sp-lg) var(--sp-lg);
}
.newsletter-bar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: var(--sp-lg); flex-wrap: wrap;
}
.newsletter-brand {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 900;
  color: var(--rr-white); white-space: nowrap;
}
.newsletter-text {
  flex: 1; min-width: 250px;
}
.newsletter-text strong {
  display: block; font-size: 0.85rem; font-weight: 700; color: var(--rr-white);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.newsletter-text span {
  font-size: 0.78rem; color: rgba(255,255,255,0.8); text-transform: uppercase;
}
.newsletter-form { display: flex; gap: var(--sp-sm); }
.newsletter-input {
  font-family: var(--font-body); font-size: 0.9rem; padding: 10px 16px;
  border: none; border-radius: 3px; background: var(--rr-white); min-width: 220px;
}
.newsletter-btn {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  padding: 10px 20px; border: 2px solid var(--rr-white); border-radius: 3px;
  background: transparent; color: var(--rr-white); cursor: pointer; white-space: nowrap;
  transition: all 0.2s;
}
.newsletter-btn:hover { background: var(--rr-white); color: var(--rr-red); }

/* ═══════════════════════════════════════
   HOME GRID — main + sidebar
   ═══════════════════════════════════════ */
.home-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: var(--sp-xl); padding-top: var(--sp-xl); padding-bottom: var(--sp-xl);
}
.home-main { min-width: 0; }
.home-sidebar { min-width: 0; }
.sidebar-section { margin-top: var(--sp-xl); }

@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* ── Editorial row ── */
.editorial-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg);
  margin: var(--sp-xl) 0;
}
.editorial-card, .opinion-card {
  background: var(--rr-white); border-radius: 4px; padding: var(--sp-lg);
  border: 1px solid rgba(0,0,0,0.06);
}
.editorial-card h2 { font-size: 1.3rem; margin-top: var(--sp-sm); }
.editorial-card h2 a:hover, .opinion-card h3 a:hover { color: var(--rr-red); }
.editorial-card p, .opinion-card p { font-size: 0.88rem; margin-top: var(--sp-sm); line-height: 1.5; }
.editorial-date { font-size: 0.78rem; color: var(--rr-grey); margin-top: var(--sp-md); display: block; }
.section-label {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--rr-red);
}
@media (max-width: 768px) { .editorial-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   MARKET WIDGETS (sidebar)
   ═══════════════════════════════════════ */
.market-widgets { display: flex; flex-direction: column; gap: var(--sp-md); }

.widget-card {
  background: var(--rr-white); border-radius: 8px; padding: var(--sp-md);
  border: 1px solid rgba(0,0,0,0.06);
}
.widget-title {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  color: var(--rr-dark); margin-bottom: var(--sp-sm); text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Thermometer */
.thermometer { text-align: center; }
.thermometer-svg { width: 100%; max-width: 180px; margin: 0 auto; display: block; }
.thermometer-labels {
  display: flex; justify-content: space-between; padding: 4px 10px;
  font-size: 0.65rem; color: var(--rr-grey); text-transform: uppercase;
}
.thermometer-reading {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  text-align: center; margin-top: 4px;
}

/* Widget search */
.widget-search-form { display: flex; gap: 4px; }
.widget-search-input {
  flex: 1; font-family: var(--font-body); font-size: 0.85rem;
  padding: 8px 12px; border: 1px solid var(--rr-silver); border-radius: 3px;
  background: var(--rr-cream); outline: none;
}
.widget-search-input:focus { border-color: var(--rr-dark); }
.widget-search-btn {
  padding: 8px 14px; background: var(--rr-dark); color: var(--rr-white);
  border: none; border-radius: 3px; cursor: pointer; font-size: 1rem;
}

/* Market list */
.market-list { font-size: 0.82rem; }
.market-list-header {
  display: flex; justify-content: space-between; padding: 6px 0;
  font-weight: 700; color: var(--rr-grey); font-size: 0.72rem;
  text-transform: uppercase; border-bottom: 1px solid var(--rr-light);
}
.market-list-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
  align-items: center;
}
.market-name { font-weight: 600; color: var(--rr-dark); }
.market-change { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.market-change.positive { color: #10b981; }
.market-change.negative { color: #ef4444; }

/* Selic */
.selic-display { text-align: center; padding: var(--sp-sm) 0; }
.selic-value { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--rr-dark); }
.selic-label { display: block; font-size: 0.75rem; color: var(--rr-grey); margin-top: 4px; }

/* ═══════════════════════════════════════
   CATEGORY BADGES
   ═══════════════════════════════════════ */
.cat-badge {
  display: inline-block; font-family: var(--font-body); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 3px 10px; border-radius: 2px; color: var(--rr-white); background: var(--rr-slate);
}
.cat-badge.mercado { background: var(--cat-mercado); }
.cat-badge.energia { background: var(--cat-energia); }
.cat-badge.empresa { background: var(--cat-empresa); }
.cat-badge.governo { background: var(--cat-governo); }
.cat-badge.politica, .cat-badge.pol\u00edtica { background: var(--cat-politica); }
.cat-badge.infraestrutura { background: var(--cat-infraestrutura); }
.cat-badge.educacao { background: var(--cat-educacao); }
.cat-badge.venture { background: var(--cat-venture); }
.cat-badge.agronegocio, .cat-badge.agroneg\u00f3cio { background: #4a6b1a; }

/* ═══════════════════════════════════════
   ARTICLE CARDS
   ═══════════════════════════════════════ */
.article-card {
  background: var(--rr-white); border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.article-card .card-img { aspect-ratio: 16/10; overflow: hidden; }
.article-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .card-img img { transform: scale(1.04); }
.article-card .card-body { padding: var(--sp-md) var(--sp-lg); }
.article-card .card-body h3 { margin-top: var(--sp-sm); font-size: 1.15rem; line-height: 1.35; }
.article-card .card-body h3 a:hover { color: var(--rr-red); }
.article-card .card-meta {
  display: flex; align-items: center; gap: var(--sp-sm); margin-top: var(--sp-md);
  padding-top: var(--sp-md); border-top: 1px solid var(--rr-light);
  font-size: 0.78rem; color: var(--rr-grey);
}
.card-tag { font-size: 0.75rem; font-weight: 600; color: var(--rr-red); }
.card-img-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--rr-charcoal) 0%, var(--rr-slate) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--rr-grey); font-family: var(--font-display); font-size: 2rem; font-weight: 900; opacity: 0.3;
}

/* ── Section headers ── */
.section-header {
  display: flex; align-items: center; gap: var(--sp-md);
  margin-bottom: var(--sp-lg); padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--rr-black);
}
.section-header h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Article list (sidebar) ── */
.article-list-item {
  padding: var(--sp-md) 0; border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer; transition: padding-left 0.2s;
}
.article-list-item:hover { padding-left: 8px; }
.article-list-item .cat-badge { margin-bottom: var(--sp-xs); }
.article-list-item h4 { margin-top: 4px; }
.article-list-item h4 a:hover { color: var(--rr-red); }
.article-list-item .list-tag { font-size: 0.75rem; color: var(--rr-grey); margin-top: 4px; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-lg); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   PREMIUM CTA
   ═══════════════════════════════════════ */
.premium-banner {
  background: linear-gradient(135deg, var(--rr-black) 0%, var(--rr-charcoal) 100%);
  padding: var(--sp-2xl) var(--sp-xl); text-align: center; border-radius: 4px;
  margin: var(--sp-xl) 0; position: relative; overflow: hidden;
}
.premium-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,22,28,0.15), transparent 70%);
  pointer-events: none;
}
.premium-banner h2 { color: var(--rr-white); font-size: 1.8rem; margin-bottom: var(--sp-md); }
.premium-banner p { color: var(--rr-silver); max-width: 500px; margin: 0 auto var(--sp-lg); }
.premium-banner .btn-subscribe { font-size: 1rem; padding: 12px 40px; }

/* ═══════════════════════════════════════
   FILTER BAR (Noticias page)
   ═══════════════════════════════════════ */
.filter-bar { margin-bottom: var(--sp-xl); }
.search-form { display: flex; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.search-input {
  flex: 1; font-family: var(--font-body); font-size: 0.95rem; padding: 10px 16px;
  border: 2px solid var(--rr-silver); border-radius: 3px; background: var(--rr-white);
  color: var(--rr-dark); outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--rr-black); }
.search-input::placeholder { color: var(--rr-grey); }
.search-btn {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; padding: 10px 24px;
  background: var(--rr-black); color: var(--rr-white); border: none; border-radius: 3px;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.06em; transition: background 0.2s;
}
.search-btn:hover { background: var(--rr-charcoal); }
.clear-btn {
  font-family: var(--font-body); font-size: 0.82rem; padding: 10px 16px; background: none;
  color: var(--rr-grey); border: 1px solid var(--rr-silver); border-radius: 3px;
  cursor: pointer; transition: all 0.2s;
}
.clear-btn:hover { color: var(--rr-red); border-color: var(--rr-red); }
.category-pills { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.pill {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; padding: 6px 14px;
  border: 1px solid var(--rr-silver); border-radius: 20px; background: var(--rr-white);
  color: var(--rr-slate); cursor: pointer; transition: all 0.2s; display: flex;
  align-items: center; gap: 6px;
}
.pill:hover { border-color: var(--rr-black); color: var(--rr-black); }
.pill.active { background: var(--rr-black); color: var(--rr-white); border-color: var(--rr-black); }
.pill-count { font-size: 0.68rem; font-weight: 400; opacity: 0.6; }

/* ═══════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════ */
.article-page { padding: var(--sp-2xl) 0; }
.article-page .article-header { margin-bottom: var(--sp-xl); }
.article-page .article-header h1 { max-width: 800px; }
.article-page .article-meta {
  display: flex; gap: var(--sp-md); align-items: center;
  margin-top: var(--sp-md); font-size: 0.85rem; color: var(--rr-grey);
}
.article-page .article-content {
  max-width: 740px; font-size: 1.1rem; line-height: 1.8; color: var(--rr-charcoal);
}
.article-page .article-content p { margin-bottom: 1.4em; }
.wp-content img { border-radius: 4px; margin: var(--sp-lg) 0; }
.wp-content a { color: var(--rr-red); text-decoration: underline; }

.paywall-gate {
  position: relative; padding: var(--sp-2xl) var(--sp-lg); text-align: center;
  background: linear-gradient(to bottom, transparent, var(--rr-cream) 30%);
  margin-top: -60px; padding-top: 80px;
}
.paywall-gate h3 { margin-bottom: var(--sp-md); }
.paywall-gate p { color: var(--rr-grey); }

/* ═══════════════════════════════════════
   ARCHIVE
   ═══════════════════════════════════════ */
.archive-header {
  padding: var(--sp-xl) 0; border-bottom: 2px solid var(--rr-black); margin-bottom: var(--sp-xl);
}
.archive-header h1 { font-size: 2rem; }
.archive-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--rr-grey); margin-top: var(--sp-sm); }

.pagination { display: flex; justify-content: center; gap: var(--sp-sm); margin-top: var(--sp-2xl); }
.pagination button {
  font-family: var(--font-body); font-size: 0.85rem; padding: 8px 16px;
  border: 1px solid var(--rr-silver); background: var(--rr-white); cursor: pointer;
  border-radius: 3px; transition: all 0.2s;
}
.pagination button:hover { border-color: var(--rr-black); }
.pagination button.active { background: var(--rr-black); color: var(--rr-white); border-color: var(--rr-black); }
.pagination button:disabled { opacity: 0.4; cursor: default; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer { background: var(--rr-black); color: var(--rr-grey); padding: var(--sp-2xl) 0; margin-top: var(--sp-3xl); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-xl);
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-lg);
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: var(--sp-md); }
.footer-brand p { font-size: 0.85rem; color: var(--rr-slate); max-width: 320px; }
.footer-links h4 {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--rr-silver); margin-bottom: var(--sp-md);
}
.footer-links a { display: block; font-size: 0.85rem; color: var(--rr-grey); padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--rr-white); }
.footer-bottom {
  max-width: var(--max-width); margin: var(--sp-xl) auto 0; padding: var(--sp-lg) var(--sp-lg) 0;
  border-top: 1px solid var(--rr-charcoal); font-size: 0.75rem; color: var(--rr-slate); text-align: center;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); } }

/* ═══════════════════════════════════════
   LOADING
   ═══════════════════════════════════════ */
.loading { display: flex; justify-content: center; padding: var(--sp-3xl); }
.spinner {
  width: 32px; height: 32px; border: 3px solid var(--rr-light);
  border-top-color: var(--rr-red); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
  .container { padding: 0 var(--sp-md); }
  .newsletter-bar-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-input { min-width: auto; }
}

/* ═══════════════════════════════════════
   THEME OVERRIDES — Dark (Red) Mode
   ═══════════════════════════════════════ */
[data-theme="red"] {
  --rr-page-bg: #6b1515;
  --rr-card-bg: transparent;
  --rr-card-border: rgba(255,255,255,0.08);
  --rr-text: #ffffff;
  --rr-text-muted: rgba(255,255,255,0.7);
  --rr-text-subtle: rgba(255,255,255,0.5);
  --rr-heading: #ffffff;
  --rr-link-hover: #f0a0a0;
  --rr-divider: rgba(255,255,255,0.15);
}

[data-theme="red"] h1,
[data-theme="red"] h2,
[data-theme="red"] h3,
[data-theme="red"] h4 {
  color: var(--rr-heading);
}

[data-theme="red"] p {
  color: var(--rr-text-muted);
}

[data-theme="red"] .article-card {
  background: transparent;
  border-color: var(--rr-card-border);
  box-shadow: none;
}
[data-theme="red"] .article-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
[data-theme="red"] .article-card .card-body h3,
[data-theme="red"] .article-card .card-body h3 a {
  color: var(--rr-text);
}
[data-theme="red"] .article-card .card-body h3 a:hover {
  color: var(--rr-link-hover);
}
[data-theme="red"] .article-card .card-body p {
  color: var(--rr-text-muted);
}
[data-theme="red"] .article-card .card-meta {
  color: var(--rr-text-subtle);
  border-top-color: var(--rr-divider);
}
[data-theme="red"] .card-tag {
  color: #f0a0a0;
}

[data-theme="red"] .article-list-item {
  border-bottom-color: var(--rr-divider);
}
[data-theme="red"] .article-list-item h4,
[data-theme="red"] .article-list-item h4 a {
  color: var(--rr-text);
}
[data-theme="red"] .article-list-item h4 a:hover {
  color: var(--rr-link-hover);
}
[data-theme="red"] .article-list-item .list-tag {
  color: var(--rr-text-subtle);
}

[data-theme="red"] .editorial-card,
[data-theme="red"] .opinion-card {
  background: transparent;
  border-color: var(--rr-card-border);
}
[data-theme="red"] .editorial-card h2 a,
[data-theme="red"] .opinion-card h3 a {
  color: var(--rr-text);
}
[data-theme="red"] .editorial-card p,
[data-theme="red"] .opinion-card p {
  color: var(--rr-text-muted);
}
[data-theme="red"] .editorial-date {
  color: var(--rr-text-subtle);
}
[data-theme="red"] .section-header {
  border-bottom-color: rgba(255,255,255,0.3);
}

/* Widget overrides for dark mode */
[data-theme="red"] .widget-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="red"] .widget-title {
  color: rgba(255,255,255,0.9);
}
[data-theme="red"] .market-name {
  color: var(--rr-text);
}
[data-theme="red"] .market-list-header {
  color: var(--rr-text-subtle);
  border-bottom-color: var(--rr-divider);
}
[data-theme="red"] .market-list-row {
  border-bottom-color: var(--rr-divider);
}
[data-theme="red"] .selic-value {
  color: var(--rr-text);
}
[data-theme="red"] .selic-label {
  color: var(--rr-text-subtle);
}
[data-theme="red"] .thermometer-labels {
  color: var(--rr-text-subtle);
}
[data-theme="red"] .thermometer-reading {
  color: var(--rr-text);
}

/* ═══════════════════════════════════════
   THEME OVERRIDES — White (Light) Mode
   ═══════════════════════════════════════ */
[data-theme="white"] {
  --rr-page-bg: #dcdcdc;
  --rr-card-bg: transparent;
  --rr-card-border: rgba(0,0,0,0.1);
  --rr-text: #0a0a0a;
  --rr-text-muted: #333333;
  --rr-text-subtle: #666666;
  --rr-heading: #0a0a0a;
  --rr-link-hover: var(--rr-red);
  --rr-divider: rgba(0,0,0,0.12);
}

[data-theme="white"] h1,
[data-theme="white"] h2,
[data-theme="white"] h3,
[data-theme="white"] h4 {
  color: var(--rr-heading);
}

[data-theme="white"] p {
  color: var(--rr-text-muted);
}

[data-theme="white"] .article-card {
  background: transparent;
  border-color: var(--rr-card-border);
  box-shadow: none;
}
[data-theme="white"] .article-card .card-body h3,
[data-theme="white"] .article-card .card-body h3 a {
  color: var(--rr-text);
}
[data-theme="white"] .article-card .card-body p {
  color: var(--rr-text-muted);
}
[data-theme="white"] .article-card .card-meta {
  color: var(--rr-text-subtle);
  border-top-color: var(--rr-divider);
}

[data-theme="white"] .article-list-item {
  border-bottom-color: var(--rr-divider);
}
[data-theme="white"] .article-list-item h4,
[data-theme="white"] .article-list-item h4 a {
  color: var(--rr-text);
}
[data-theme="white"] .article-list-item .list-tag {
  color: var(--rr-text-subtle);
}

[data-theme="white"] .editorial-card,
[data-theme="white"] .opinion-card {
  background: transparent;
  border-color: var(--rr-card-border);
}

[data-theme="white"] .widget-card {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════
   THEME OVERRIDES — Journal (Print) Mode
   Variables only — specific rules in body section below
   ═══════════════════════════════════════ */
[data-theme="journal"] {
  --rr-page-bg: #e4dfd1;
  --rr-card-bg: transparent;
  --rr-card-border: rgba(0,0,0,0.15);
  --rr-text: #1a1a1a;
  --rr-text-muted: #2c2c2c;
  --rr-text-subtle: #555555;
  --rr-heading: #1a1a1a;
  --rr-link-hover: #8b1c1c;
  --rr-divider: rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════════
   THEME — Body / Page-level overrides
   ═══════════════════════════════════════ */

/* --- Red (Dark) body --- */
[data-theme="red"] body {
  background: #4a0e0e;
  color: #ffffff;
  font-family: var(--font-body);
}
[data-theme="red"] .container { color: #ffffff; }
[data-theme="red"] a { color: rgba(255,255,255,0.85); }

/* Header adapts per theme */
[data-theme="red"] .site-header { border-bottom-color: #8b1c1c; }
[data-theme="red"] .header-main { background: #1a0808; }
[data-theme="red"] .header-icon-btn { color: rgba(255,255,255,0.8); }
[data-theme="red"] .header-icon-btn:hover { background: rgba(255,255,255,0.08); }
[data-theme="red"] .header-icon-label { color: rgba(255,255,255,0.8); }
[data-theme="red"] .btn-login { color: rgba(255,255,255,0.8); }
[data-theme="red"] .btn-login:hover { color: #f0a0a0; }
[data-theme="red"] .desktop-nav { background: #0d0404; }
[data-theme="red"] .tagline { background: #1a0808; color: var(--rr-gold); border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="red"] .search-dropdown { background: #1a0808; border-bottom-color: rgba(255,255,255,0.08); }
[data-theme="red"] .search-dropdown-input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
[data-theme="red"] .search-dropdown-input:focus { border-color: #8b1c1c; }
[data-theme="red"] .search-dropdown-btn { background: #8b1c1c; }
[data-theme="red"] .mobile-nav { background: #0d0404; }

/* Article page */
[data-theme="red"] .article-page .article-header h1 { color: #ffffff; }
[data-theme="red"] .article-page .article-meta { color: rgba(255,255,255,0.5); }
[data-theme="red"] .article-page .article-content { color: rgba(255,255,255,0.85); }
[data-theme="red"] .article-page .article-content p { color: rgba(255,255,255,0.8); }
[data-theme="red"] .wp-content a { color: #f0a0a0; }
[data-theme="red"] .paywall-gate {
  background: linear-gradient(to bottom, transparent, #4a0e0e 30%);
}
[data-theme="red"] .paywall-gate h3 { color: #ffffff; }
[data-theme="red"] .paywall-gate p { color: rgba(255,255,255,0.6); }

/* Noticias / Archive page */
[data-theme="red"] .archive-header { border-bottom-color: rgba(255,255,255,0.2); }
[data-theme="red"] .archive-header h1 { color: #ffffff; }
[data-theme="red"] .archive-count { color: rgba(255,255,255,0.5); }
[data-theme="red"] .search-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #ffffff;
}
[data-theme="red"] .search-input::placeholder { color: rgba(255,255,255,0.4); }
[data-theme="red"] .search-input:focus { border-color: rgba(255,255,255,0.4); }
[data-theme="red"] .search-btn {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}
[data-theme="red"] .clear-btn {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}
[data-theme="red"] .clear-btn:hover {
  color: #f0a0a0;
  border-color: #f0a0a0;
}
[data-theme="red"] .pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
[data-theme="red"] .pill:hover {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}
[data-theme="red"] .pill.active {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
[data-theme="red"] .pill-count { color: rgba(255,255,255,0.4); }
[data-theme="red"] .pagination button {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
[data-theme="red"] .pagination button:hover { border-color: rgba(255,255,255,0.4); }
[data-theme="red"] .pagination button.active {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* Red footer */
[data-theme="red"] .site-footer { background: #0d0404; }

/* ═══════════════════════════════════════
   WHITE — Clean, high-contrast light mode
   ═══════════════════════════════════════ */
[data-theme="white"] body {
  background: #e8e8e8;
  color: #0a0a0a;
  font-family: var(--font-body);
}
[data-theme="white"] a { color: inherit; }
[data-theme="white"] h1,
[data-theme="white"] h2,
[data-theme="white"] h3,
[data-theme="white"] h4 { color: #0a0a0a; }
[data-theme="white"] p { color: #333; }

/* White header */
[data-theme="white"] .header-main { background: #f5f5f5; }
[data-theme="white"] .tagline { background: #f5f5f5; }
[data-theme="white"] .search-dropdown { background: #f5f5f5; }

/* White article page */
[data-theme="white"] .article-page .article-header h1 { color: #0a0a0a; }
[data-theme="white"] .article-page .article-meta { color: #666; }
[data-theme="white"] .article-page .article-content { color: #2d2d2d; }
[data-theme="white"] .article-page .article-content p { color: #333; }
[data-theme="white"] .paywall-gate { background: linear-gradient(to bottom, transparent, #e8e8e8 30%); }

/* White archive */
[data-theme="white"] .archive-header { border-bottom-color: #0a0a0a; }
[data-theme="white"] .archive-header h1 { color: #0a0a0a; }
[data-theme="white"] .archive-count { color: #666; }

/* ═══════════════════════════════════════
   JOURNAL — Serif newspaper / print mode
   ═══════════════════════════════════════ */
[data-theme="journal"] body {
  background: #e4dfd1;
  color: #1a1a1a;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
[data-theme="journal"] a { color: inherit; }

/* Journal: override ALL headings to serif + dark */
[data-theme="journal"] h1,
[data-theme="journal"] h2,
[data-theme="journal"] h3,
[data-theme="journal"] h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
  font-weight: 900;
}
[data-theme="journal"] p {
  color: #2c2c2c;
  font-family: 'Playfair Display', Georgia, serif;
}

/* Journal: body text areas use serif */
[data-theme="journal"] .container {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
}

/* Journal: card text */
/* Journal: card backgrounds */
[data-theme="journal"] .article-card {
  background: transparent;
  border-color: rgba(0,0,0,0.15);
  box-shadow: none;
}
[data-theme="journal"] .article-card .card-body h3,
[data-theme="journal"] .article-card .card-body h3 a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
  font-weight: 900;
}
[data-theme="journal"] .article-card .card-body p {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2c2c2c;
}
[data-theme="journal"] .article-card .card-meta {
  font-family: var(--font-body);
  color: #666;
  border-top-color: rgba(0,0,0,0.15);
}

/* Journal: sidebar list items */
[data-theme="journal"] .article-list-item h4,
[data-theme="journal"] .article-list-item h4 a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
  font-weight: 900;
}
[data-theme="journal"] .article-list-item .list-tag {
  font-family: var(--font-body);
  color: #666;
}
[data-theme="journal"] .article-list-item {
  border-bottom-color: rgba(0,0,0,0.15);
}

/* Journal: article page */
[data-theme="journal"] .article-page .article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
  font-weight: 900;
}
[data-theme="journal"] .article-page .article-meta {
  font-family: var(--font-body);
  color: #666;
}
[data-theme="journal"] .article-page .article-content {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2c2c2c;
  line-height: 1.9;
}
[data-theme="journal"] .article-page .article-content p {
  color: #2c2c2c;
}
[data-theme="journal"] .paywall-gate {
  background: linear-gradient(to bottom, transparent, #e4dfd1 30%);
}

/* Journal: archive / noticias */
[data-theme="journal"] .archive-header {
  border-bottom-color: #1a1a1a;
}
[data-theme="journal"] .archive-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
}
[data-theme="journal"] .archive-count {
  font-family: var(--font-mono);
  color: #666;
}
[data-theme="journal"] .search-input {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.15);
  font-family: var(--font-body);
}
[data-theme="journal"] .search-btn {
  background: #2c1e16;
}
[data-theme="journal"] .pill {
  background: rgba(255,255,255,0.4);
  border-color: rgba(0,0,0,0.12);
  color: #2c2c2c;
}
[data-theme="journal"] .pill.active {
  background: #2c1e16;
  color: #fff;
  border-color: #2c1e16;
}
[data-theme="journal"] .pagination button {
  background: rgba(255,255,255,0.4);
  border-color: rgba(0,0,0,0.1);
  font-family: var(--font-body);
}
[data-theme="journal"] .pagination button.active {
  background: #2c1e16;
  color: #fff;
  border-color: #2c1e16;
}

/* Journal: header */
[data-theme="journal"] .site-header { border-bottom-color: #1a1a1a; }
[data-theme="journal"] .header-main { background: #d8d0c0; border-bottom-color: rgba(0,0,0,0.12); }
[data-theme="journal"] .header-icon-btn { color: #2c1e16; }
[data-theme="journal"] .btn-login { color: #2c1e16; }
[data-theme="journal"] .btn-subscribe { background: #8b1c1c; }
[data-theme="journal"] .desktop-nav { background: #2c1e16; }
[data-theme="journal"] .desktop-nav li a { color: #c4b99a; }
[data-theme="journal"] .desktop-nav li a:hover,
[data-theme="journal"] .desktop-nav li a.active { color: #fff; border-bottom-color: #8b1c1c; }
[data-theme="journal"] .tagline {
  background: #d8d0c0; color: #8b7d6b;
  border-bottom-color: rgba(0,0,0,0.08);
  font-family: var(--font-mono);
}
[data-theme="journal"] .search-dropdown { background: #d8d0c0; }
[data-theme="journal"] .search-dropdown-input { background: rgba(255,255,255,0.5); border-color: rgba(0,0,0,0.15); }
[data-theme="journal"] .mobile-nav { background: #2c1e16; }

/* Journal: widget overrides */
[data-theme="journal"] .widget-card {
  background: rgba(255,255,255,0.3);
  border-color: rgba(0,0,0,0.12);
}
[data-theme="journal"] .widget-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a1a;
  font-weight: 900;
}

/* ═══════════════════════════════════════
   Theme toggle button (in header)
   ═══════════════════════════════════════ */
.theme-toggle-btn {
  background: none;
  border: 2px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rr-dark);
  transition: all 0.2s;
}
.theme-toggle-btn:hover {
  border-color: var(--rr-red);
  color: var(--rr-red);
}
.theme-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

[data-theme="red"] .theme-toggle-btn {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
[data-theme="red"] .theme-toggle-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
[data-theme="journal"] .theme-toggle-btn {
  border-color: rgba(0,0,0,0.15);
  color: #2c1e16;
}
[data-theme="journal"] .theme-toggle-btn:hover {
  border-color: #8b1c1c;
  color: #8b1c1c;
}
/* ═══════════════════════════════════════
   HEADER TRANSPARENCY — paste at end of global.css
   Makes header show the page texture behind it
   ═══════════════════════════════════════ */

/* Default (cream) */
.header-main {
  background: rgba(250, 248, 245, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.desktop-nav {
  background: rgba(26, 26, 26, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tagline {
  background: rgba(250, 248, 245, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Dark mode */
[data-theme="red"] .header-main {
  background: rgba(26, 8, 8, 0.82) !important;
}
[data-theme="red"] .desktop-nav {
  background: rgba(13, 4, 4, 0.85) !important;
}
[data-theme="red"] .tagline {
  background: rgba(26, 8, 8, 0.8) !important;
}

/* Journal mode */
[data-theme="journal"] .header-main {
  background: rgba(216, 208, 192, 0.82) !important;
}
[data-theme="journal"] .desktop-nav {
  background: rgba(44, 30, 22, 0.88) !important;
}
[data-theme="journal"] .tagline {
  background: rgba(216, 208, 192, 0.8) !important;
}

/* White mode */
[data-theme="white"] .header-main {
  background: rgba(245, 245, 245, 0.82) !important;
}
[data-theme="white"] .tagline {
  background: rgba(245, 245, 245, 0.8) !important;
}

.site-header {
  background: transparent !important;
}

/* ═══════════════════════════════════════
   NOTICIAS PAGE — force light theme regardless of data-theme
   ═══════════════════════════════════════ */
.noticias-page,
.noticias-page h1,
.noticias-page h2,
.noticias-page h3,
.noticias-page h4 { color: var(--rr-black) !important; }
.noticias-page p { color: var(--rr-slate) !important; }
.noticias-page { background: #fff !important; color: var(--rr-dark) !important; }
.noticias-page .pill { color: var(--rr-slate) !important; border-color: var(--rr-silver) !important; background: var(--rr-white) !important; }
.noticias-page .pill.active { background: var(--rr-black) !important; color: var(--rr-white) !important; }
.noticias-page .search-input { color: var(--rr-dark) !important; background: var(--rr-white) !important; }
.noticias-page .search-btn { color: var(--rr-white) !important; background: var(--rr-black) !important; }
.noticias-page .clear-btn { color: var(--rr-grey) !important; }
.noticias-page .pagination button { color: var(--rr-dark) !important; background: var(--rr-white) !important; }
.noticias-page .pagination button.active { background: var(--rr-black) !important; color: var(--rr-white) !important; }
.noticias-page .archive-count { color: var(--rr-grey) !important; }
.noticias-page .article-card { background: var(--rr-white) !important; }
.noticias-page .article-card .card-meta { color: var(--rr-grey) !important; }
.noticias-page .article-card h3, .noticias-page .article-card h3 a { color: var(--rr-black) !important; }
.noticias-page .search-input::placeholder { color: var(--rr-grey) !important; }
.noticias-page .filter-bar { background: #fff !important; }
.noticias-page .search-form input { color: var(--rr-dark) !important; background: var(--rr-white) !important; border-color: var(--rr-silver) !important; }
/* ─────────────────────────────────────────────
   Bricolage Grotesque — local font stack
   Drop the TTF files into /public/fonts/
   and import this file at the top of index.css
   or App.css with:  @import './fonts.css';
   ───────────────────────────────────────────── */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/6b033f9411dd392052af.ttf) format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/d4f82d0e3c6ef0c27d4a.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/a0089d4fdff2aaa9d37f.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/b9b6a25c6d5f8b5db298.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/e6b749e934573ca7eac3.ttf) format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/12b56951951b1bd2558f.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/b14b21478cf1bb4d06f3.ttf) format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* ─────────────────────────────────────────────
   Designer role mapping
   ─────────────────────────────────────────────
   Títulos              → Bold    (700)
   Texto e datas        → Medium  (500)
   Destaques na caixinha → SemiBold (600)
   ───────────────────────────────────────────── */

:root {
  --font-rr: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-headline: 'Roble', system-ui, sans-serif;

  --font-titulo:   800;
  --font-texto:    400;
  --font-destaque: 600;
}

body, input, button, select, textarea {
  font-family: var(--font-rr);
  font-weight: var(--font-texto);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: var(--font-titulo);
}

.rr-titulo   { font-family: var(--font-headline); font-weight: var(--font-titulo);   }
.rr-texto    { font-family: var(--font-rr);        font-weight: var(--font-texto);    }
.rr-destaque { font-family: var(--font-rr);        font-weight: var(--font-destaque); }

@font-face {
  font-family: 'Roble';
  src: url(/1ed084660962404d084d.woff2) format('woff2'),
       url(/8457c51f9ceb3835e44b.woff) format('woff'),
       url(/5eb3ed8d1b83001bb23b.ttf) format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url(/2b6a16d83289c8a3ca27.ttf) format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url(/43f102c74b3c079d5598.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
