@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ════════════════════════════════════════════════════════════
   JOURNAL DE RUSSIE · CSS DE RÉFÉRENCE VERROUILLÉ V11
   ════════════════════════════════════════════════════════════ */

:root {
  --red:           #9b2335;
  --red-dark:      #6b1420;
  --red-light:     #c0392b;
  --gold:          #b8963e;
  --gold-light:    #d4af5a;
  --gold-dim:      #9a7a30;
  --bg:            #f5f2ed;
  --bg-card:       #faf8f5;
  --bg-warm:       #f2ede5;
  --bg-dark:       #1a1008;
  --masthead:      #120a05;
  --text:          #2a2018;
  --text-muted:    #6b5e4e;
  --text-dim:      #9c8e80;
  --border:        rgba(120,90,60,0.15);
  --border-strong: rgba(120,90,60,0.28);
  --border-red:    rgba(155,35,53,0.22);
  --shadow-sm:     0 1px 4px rgba(60,35,10,0.08);
  --shadow-md:     0 3px 16px rgba(60,35,10,0.10);
  --shadow-lg:     0 8px 32px rgba(60,35,10,0.13);
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
  --radius-sm:     4px;
  --radius-md:     7px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--red-dark); }
::selection { background: rgba(155,35,53,0.14); color: var(--text); }
img { max-width: 100%; height: auto; }

/* ── TICKER ── */
.alert-ticker {
  background: var(--red);
  color: #fff;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--font-sans);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}
.alert-ticker__label {
  background: var(--red-dark);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.alert-ticker__wrapper { overflow: hidden; flex: 1; min-width: 0; }
.alert-ticker__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  padding-left: 1.5rem;
  font-size: 0.76rem;
  font-weight: 500;
  -webkit-animation: ticker-scroll 28s linear infinite;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.alert-ticker__sep { color: rgba(255,255,255,0.30); font-size: 0.6rem; }
@-webkit-keyframes ticker-scroll {
  0%   { -webkit-transform: translateX(0);    transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .alert-ticker__track { -webkit-animation-duration: 120s; animation-duration: 120s; }
}

/* ── MASTHEAD ── */
.masthead {
  background: var(--masthead);
  position: relative;
  overflow: hidden;
}
.masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% 60%, rgba(155,35,53,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 90% at 82% 25%, rgba(184,150,62,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.masthead::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 25%, var(--red-light) 45%, var(--gold) 65%, var(--gold-light) 80%, var(--red-dark) 100%);
}
.masthead__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.4rem 2rem 1.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.masthead__brand { display: flex; align-items: flex-end; gap: 1.4rem; }
.masthead__flag { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 1.1rem; flex-shrink: 0; }
.flag-mast {
  width: 2px; height: 50px;
  background: linear-gradient(180deg, #d4b06a 0%, #9a7840 100%);
  border-radius: 1px; margin-top: 2px; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(212,176,106,0.3);
}
.flag-cloth {
  display: flex;
  flex-direction: column;  /* BANDES HORIZONTALES — NE PAS CHANGER EN ROW */
  width: 42px; height: 30px;
  border-radius: 0 2px 2px 0;
  overflow: hidden;
  border: 0.5px solid rgba(0,0,0,0.18);
  box-shadow: 1px 2px 8px rgba(0,0,0,0.40), inset 0 0 0 0.5px rgba(255,255,255,0.06);
}
.flag-w { flex: 1; background: #f8f8f8; }
.flag-b { flex: 1; background: #003DA5; }
.flag-r { flex: 1; background: #CC0001; }
.masthead__titles { display: flex; flex-direction: column; }
.masthead__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #f5f0e8;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65);
}
.masthead__sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.55rem;
  opacity: 0.85;
}
.masthead__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-bottom: 0.1rem;
}
.masthead__date { font-family: var(--font-sans); font-size: 0.76rem; color: rgba(245,240,232,0.50); letter-spacing: 0.07em; }
.masthead__live { font-family: var(--font-sans); font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.06em; }

/* ── NAVIGATION ── */
.masthead__nav {
  background: rgba(18,10,5,0.96);
  border-bottom: 1px solid rgba(155,35,53,0.28);
  position: sticky;
  top: 32px;  /* OBLIGATOIRE — hauteur ticker */
  z-index: 90;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.30);
}
.masthead__nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  align-items: center;
}
.masthead__nav-inner::-webkit-scrollbar { display: none; }
.masthead__nav ul { display: flex; list-style: none; white-space: nowrap; }
.masthead__nav a {
  display: block;
  padding: 0.62rem 0.88rem;
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.masthead__nav a:hover { color: rgba(245,240,232,0.92); border-bottom-color: rgba(155,35,53,0.6); text-decoration: none; }
.masthead__nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(245,240,232,0.22);
  color: rgba(245,240,232,0.75);
  padding: 0.38rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-left: auto;
  line-height: 1;
}

/* ── LAYOUT ── */
.page-body {
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 298px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .page-body { grid-template-columns: 1fr; padding: 1.5rem 1.2rem; }
  .sidebar { position: static !important; order: -1; }
}
@media (max-width: 600px) {
  .page-body { padding: 1.2rem 1rem; }
}

/* ── FIL DU JOUR ── */
.fil-du-jour {
  background: #fffaf5;
  border-left: 4px solid var(--red);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.4rem 1.7rem;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.fil-du-jour__label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}
.fil-du-jour h2 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.32;
  margin-bottom: 0.6rem;
}
.fil-du-jour p { font-size: 0.9rem; line-height: 1.68; color: var(--text-muted); margin: 0; }

/* ── ESSENTIEL ── */
#essentiel {
  background: #fffaf5;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
#essentiel h2 {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
#essentiel ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
#essentiel li { font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); }
#essentiel li::marker { color: var(--red); font-weight: 700; }

/* ── EN-TÊTE ÉDITION ── */
.edition-head {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}

/* ── RUBRIQUE HEADER ── */
.rubrique-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.6rem 0 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-strong);
}
.rubrique-header__label {
  font-family: var(--font-sans);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.rubrique-header h2 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin: 0;
  border: none;
  padding: 0;
}
.rubrique-header__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

/* ── ARTICLE UNE — HERO SOMBRE ── */
.article-une {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.article-une__hero {
  background: linear-gradient(135deg, #1a0a06 0%, #3d1012 50%, #1a0a06 100%);
  padding: 2rem 2.4rem 1.6rem;
  position: relative;
  min-height: 140px;
}
.article-une__hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light), var(--gold), var(--gold-light), var(--red-dark));
}
.article-une__badge {
  position: absolute;
  top: 1rem; right: 1.4rem;
  background: rgba(184,150,62,0.15);
  border: 1px solid rgba(184,150,62,0.35);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.article-une__label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,175,90,0.7);
  display: block;
  margin-bottom: 0.6rem;
}
.article-une h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.22;
  color: #f5f0e8;
  margin-bottom: 0.85rem;
  border: none;
  padding: 0;
}
.article-une__hero p {
  font-size: 0.82rem;
  line-height: 1.68;
  color: rgba(245,240,232,0.58);
  margin-bottom: 0;
}
.article-une__body {
  padding: 1.6rem 2.4rem;
  background: var(--bg-card);
}
.article-une__body p { font-size: 0.94rem; line-height: 1.78; color: #4a3825; margin-bottom: 0.85rem; }
.article-une__body p:last-of-type { margin-bottom: 0; }
.article-une__meta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 600px) {
  .article-une__hero { padding: 1.4rem 1.2rem 1.2rem; }
  .article-une__body { padding: 1.2rem; }
  .article-une h2 { font-size: 1.28rem; }
}

/* ── ARTICLE CARD — AVEC BANDEAU THÉMATIQUE ── */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.14s;
  overflow: hidden;
}
.article-card:hover { border-color: rgba(155,35,53,0.32); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Bandeau thématique en haut des cartes */
.article-card__banner {
  height: 72px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.55rem 1.1rem;
  overflow: hidden;
}
.article-card__banner-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
  line-height: 1.3;
}
/* Couleurs par rubrique */
.article-card__banner--guerre    { background: linear-gradient(135deg, #0d1f35, #1a3a5c); }
.article-card__banner--economie  { background: linear-gradient(135deg, #1a1005, #3d2810); }
.article-card__banner--politique { background: linear-gradient(135deg, #1a0a06, #3d1012); }
.article-card__banner--monde     { background: linear-gradient(135deg, #0d2020, #1a3d3d); }
.article-card__banner--defense   { background: linear-gradient(135deg, #141420, #252540); }
.article-card__banner--energie   { background: linear-gradient(135deg, #1a1400, #3d3000); }
.article-card__banner--societe   { background: linear-gradient(135deg, #0d1a10, #1a3520); }
.article-card__banner--moscou    { background: linear-gradient(135deg, #200d10, #401520); }
.article-card__banner--analyse   { background: linear-gradient(135deg, #0d0d20, #1a1a40); }
.article-card__banner--influence { background: linear-gradient(135deg, #20100d, #402015); }
.article-card__banner--banques   { background: linear-gradient(135deg, #101a10, #203520); }
.article-card__banner--regions   { background: linear-gradient(135deg, #0d1520, #1a2a3d); }
.article-card__banner--numerique { background: linear-gradient(135deg, #0d1520, #152040); }

/* Icône décorative SVG en filigrane dans le bandeau */
.article-card__banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 80% 50%, white 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Corps de la carte sans bandeau (compatibilité) */
.article-card__body {
  padding: 1.1rem 1.4rem;
}
/* Cartes sans bandeau — padding direct */
.article-card > .article-card__label,
.article-card > h3,
.article-card > p,
.article-card > .verification-row,
.article-card > .note-editoriale,
.article-card > blockquote,
.article-card > ol,
.article-card > ul {
  padding-left: 1.55rem;
  padding-right: 1.55rem;
}
.article-card > .article-card__label:first-child { padding-top: 1.4rem; }
.article-card > p:last-of-type,
.article-card > blockquote:last-child,
.article-card > ol:last-child,
.article-card > ul:last-child { padding-bottom: 1.4rem; }

.article-card__label {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.38rem;
}
.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.article-card p { font-size: 0.87rem; line-height: 1.72; color: var(--text-muted); margin-bottom: 0.65rem; }
.article-card p:last-of-type { margin-bottom: 0; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 680px) { .article-grid { grid-template-columns: 1fr; } }

/* ── CHIFFRE DU JOUR — BLOC MIS EN AVANT ── */
.chiffre-du-jour {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.6rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}
.chiffre-du-jour__label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.chiffre-du-jour__number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.chiffre-du-jour__unit {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.15rem;
}
.chiffre-du-jour__source {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ── LIEN RECHERCHER ── */
.read-link {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.read-link:hover { border-bottom-color: var(--gold); color: var(--gold-light); text-decoration: none; }

/* ── BADGES ── */
.verification-row { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-bottom: 0.75rem; }
.verification {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.62rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}
.verification--confirme   { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.verification--estime     { background: #fff3e0; color: #bf360c; border: 1px solid #ffcc80; }
.verification--prudence   { background: #fbe9e7; color: #b71c1c; border: 1px solid #ef9a9a; }
.verification--contexte   { background: #e3f2fd; color: #0d47a1; border: 1px solid #90caf9; }
.verification--officiel-ru { background: #fff8e1; color: #6d4c00; border: 1px solid #f9a825; }
.verification--alerte      { background: #fff3cd; color: #7a4f00; border: 1px solid #ffc107; }

/* ── NOTES ÉDITORIALES ── */
.note-editoriale { border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin: 1rem 0; font-size: 0.86rem; line-height: 1.64; }
.note-editoriale__label { font-family: var(--font-sans); font-size: 0.57rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 0.38rem; }
.note-editoriale p { margin: 0; }
.note-editoriale--confirme  { background: #f1f8e9; border-left: 3px solid #7cb342; color: #33691e; }
.note-editoriale--confirme .note-editoriale__label  { color: #558b2f; }
.note-editoriale--prudence  { background: #fff3e0; border-left: 3px solid #ef6c00; color: #4e342e; }
.note-editoriale--prudence .note-editoriale__label  { color: #bf360c; }
.note-editoriale--telegram  { background: #e8eaf6; border-left: 3px solid #5c6bc0; color: #283593; }
.note-editoriale--telegram .note-editoriale__label  { color: #3949ab; }

/* ── BLOCKQUOTE ── */
blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1.25rem;
  margin: 1.1rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.93rem;
  background: rgba(184,150,62,0.055);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}
blockquote cite { font-style: normal; font-family: var(--font-sans); font-size: 0.68rem; color: var(--text-dim); display: block; margin-top: 0.45rem; }

/* ── TIMELINE À SURVEILLER ── */
.a-surveiller-timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 1.1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-date { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; color: var(--red); white-space: nowrap; min-width: 95px; padding-top: 0.1rem; }
.timeline-text { font-size: 0.85rem; line-height: 1.62; color: var(--text-muted); }

/* ── KEY LIST ── */
.key-list { counter-reset: item; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.key-list li { counter-increment: item; padding-left: 2.4rem; position: relative; font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); }
.key-list li::before {
  content: counter(item);
  position: absolute; left: 0; top: 0.05rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700;
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1.15rem; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h2 {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.72rem; }
.dashboard-item { background: var(--bg); border-radius: var(--radius-sm); padding: 0.58rem 0.68rem; border: 1px solid var(--border); }
.dashboard-label { font-family: var(--font-sans); font-size: 0.53rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dim); display: block; margin-bottom: 0.2rem; }
.dashboard-item strong { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 0.15rem; line-height: 1.3; }
.dashboard-item p { font-family: var(--font-sans); font-size: 0.67rem; color: var(--text-muted); line-height: 1.42; margin: 0; }
.chiffres-list { display: flex; flex-direction: column; }
.chiffre-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.52rem 0; border-bottom: 1px solid var(--border); gap: 0.5rem; }
.chiffre-item:last-child { border-bottom: none; }
.chiffre-item > div:first-child { flex: 1 1 auto; min-width: 0; }
.chiffre-label { font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-muted); display: block; line-height: 1.4; }
.chiffre-value { font-family: var(--font-serif); font-size: 1.02rem; font-weight: 700; color: var(--red); white-space: nowrap; }
.chiffre-source { font-family: var(--font-sans); font-size: 0.58rem; color: var(--text-dim); display: block; margin-top: 0.08rem; }
.chiffre-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 0.18rem; }
.chiffre-right .trend { font-family: var(--font-sans) !important; font-size: 0.63rem !important; font-weight: 600; padding: 0.12rem 0.38rem; border-radius: 4px; white-space: nowrap; display: inline-block; line-height: 1.5; }
.chiffre-right .trend--up   { background: #e4f4e6; color: #276b2c; }
.chiffre-right .trend--down { background: #fae8eb; color: #8c1e2f; }
.chiffre-right .trend--flat { background: #e8e4de; color: #7a6e63; }
.thermo-list { display: flex; flex-direction: column; gap: 0.8rem; }
.thermo-item { display: flex; flex-direction: column; gap: 0.28rem; }
.thermo-pair { font-family: var(--font-sans); font-size: 0.70rem; color: var(--text-muted); display: flex; justify-content: space-between; align-items: baseline; }
.thermo-pair span { font-size: 0.63rem; color: var(--text-dim); font-weight: 500; }
.thermo-bar-bg { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.thermo-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.thermo-bar-fill.tension-haute   { background: linear-gradient(90deg, #9b1c1c, #c62828); }
.thermo-bar-fill.tension-moyenne { background: linear-gradient(90deg, #c04800, #e64a19); }
.thermo-bar-fill.tension-basse   { background: linear-gradient(90deg, #1b5e20, #2e7d32); }
.sidebar-toc { display: flex; flex-direction: column; }
.sidebar-toc a { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-muted); padding: 0.3rem 0.55rem; border-radius: var(--radius-sm); transition: background 0.13s, color 0.13s; display: block; text-decoration: none; line-height: 1.4; }
.sidebar-toc a:hover { background: rgba(155,35,53,0.07); color: var(--text); text-decoration: none; }
.sidebar-toc a.active { color: var(--red); background: rgba(155,35,53,0.06); }

/* ── PANEL / SECTION SOURCES ── */
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.4rem 1.6rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }

/* ── FOOTER ── */
.site-footer {
  background: var(--masthead);
  border-top: 2px solid var(--red);
  color: rgba(245,240,232,0.45);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  padding: 3rem 2rem 1.8rem;
  margin-top: 3.5rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,62,0.4), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; max-width: 1260px; margin: 0 auto 1.8rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand strong { font-family: var(--font-serif); font-size: 1.05rem; color: rgba(245,240,232,0.90); display: block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.74rem; line-height: 1.6; color: rgba(245,240,232,0.38); margin-bottom: 0.5rem; }
.footer-col h3 { font-family: var(--font-sans); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,240,232,0.40); margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a { color: rgba(245,240,232,0.42); font-size: 0.74rem; transition: color 0.15s; text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.1rem;
  text-align: center;
  font-size: 0.66rem;
  color: rgba(245,240,232,0.22);
  max-width: 1260px;
  margin: 0 auto;
}

/* ── BOUTONS PARTAGE ── */
.share-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 600;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245,240,232,0.18);
  color: rgba(245,240,232,0.50);
  margin-right: 0.45rem;
  margin-bottom: 0.45rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.share-btn:hover { border-color: var(--gold-dim); color: var(--gold-light); text-decoration: none; }
.share-btn--contact { border-color: rgba(155,35,53,0.35); }
.share-btn--contact:hover { border-color: var(--red); color: rgba(245,240,232,0.75); }

/* ── RETOUR HAUT ── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
  box-shadow: 0 3px 14px rgba(0,0,0,0.28);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); }

/* ── PAGE ARCHIVES ── */
.archive-page { max-width: 860px; margin: 2.5rem auto; padding: 0 1.5rem; }
.archive-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.archive-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 1rem; }
.archive-list li:last-child { border-bottom: none; }
.archive-list .arch-date { font-family: var(--font-sans); font-size: 0.7rem; color: var(--text-dim); white-space: nowrap; min-width: 90px; }
.archive-list a { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600; color: var(--red); }
.archive-list a:hover { color: var(--red-dark); }

/* ── UTILITAIRES ── */
.note { font-family: var(--font-sans); font-size: 0.62rem; color: var(--text-dim); margin-top: 0.6rem; font-style: italic; }
.kicker { font-family: var(--font-sans); font-size: 0.57rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 0.4rem; }

/* ── MENU MOBILE ── */
@media (max-width: 700px) {
  .mobile-menu-btn { display: flex; align-items: center; }
  .masthead__nav ul { display: none; flex-direction: column; }
  .masthead__nav ul.open { display: flex; }
  .masthead__inner { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.8rem 1.2rem 1.4rem; }
  .masthead__meta { align-items: flex-start; }
}
