/* ============================================================
   SANKADABO - Design System v2 (2026)
   La Tribune d'Analyse Économique et Financière
   Palette calée sur le logo : olive #808154, orange #ED7208, vert #54831A
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Olive - couleur principale du logo */
  --olive-900: #26271A;
  --olive-800: #393A24;
  --olive-700: #4F5031;
  --olive-600: #6A6B42;   /* UI / texte sur blanc (AA) */
  --olive-500: #808154;   /* logo */
  --olive-400: #A3A47A;
  --olive-200: #E2E2CF;
  --olive-100: #F1F1E8;

  /* Orange - accent du logo */
  --orange-700: #9A4700;
  --orange-600: #B85500;  /* boutons / liens (AA sur blanc) */
  --orange-500: #ED7208;  /* logo - accents, filets, fonds sombres */
  --orange-400: #F59A3C;
  --orange-100: #FCEFE2;

  /* Vert feuille - signature du logo, hausses */
  --leaf-600: #54831A;
  --leaf-300: #9CC25B;
  --red-600:  #B42318;
  --red-300:  #F28B82;

  /* Encre (noir chaud) */
  --ink-950: #0F100A;
  --ink-900: #16170F;
  --ink-800: #1F2016;
  --ink-700: #2A2B1F;

  /* Neutres chauds */
  --gray-600: #55564B;
  --gray-500: #6E6F63;
  --gray-400: #8A8B7F;
  --gray-300: #C9C8BC;
  --gray-200: #E4E2D6;
  --gray-100: #EFEDE4;
  --gray-50:  #F6F5EF;
  --paper:    #F8F6EF;
  --white:    #FFFFFF;

  /* Alias rétro-compatibles (styles inline existants) */
  --green-900: var(--olive-900);
  --green-700: var(--olive-700);
  --green-600: var(--olive-600);
  --green-400: var(--olive-400);
  --green-100: var(--olive-100);
  --dark-900:  var(--ink-900);
  --dark-800:  var(--ink-800);
  --dark-700:  var(--ink-700);
  --cream:     var(--paper);

  /* Typographie */
  --font-serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  clamp(1.6rem, 1.2rem + 1.4vw, 1.95rem);
  --text-4xl:  clamp(2rem, 1.4rem + 2.2vw, 2.6rem);
  --text-5xl:  clamp(2.4rem, 1.5rem + 3.4vw, 3.6rem);

  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Layout */
  --container: 1240px;
  --gutter: 1.5rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Ombres (teintées encre) */
  --shadow-sm: 0 1px 2px rgba(22,23,15,.06), 0 0 0 1px rgba(22,23,15,.04);
  --shadow-md: 0 8px 24px -8px rgba(22,23,15,.14), 0 0 0 1px rgba(22,23,15,.05);
  --shadow-lg: 0 24px 48px -16px rgba(22,23,15,.25);

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 200ms;
  --focus: 0 0 0 3px rgba(237,114,8,.45);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--orange-500); color: var(--white); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Utilitaires ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 1000;
  background: var(--orange-600); color: var(--white); padding: .6rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: var(--text-sm);
}
.skip-link:focus { top: var(--space-4); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -0.2em; }

/* ── Badges (rubriques) ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.badge--green  { background: var(--olive-100);  color: var(--olive-700); }
.badge--orange { background: var(--orange-100); color: var(--orange-700); }
.badge--ghost  { background: transparent; color: var(--olive-700); box-shadow: inset 0 0 0 1.5px var(--olive-400); }
.badge--dark   { background: var(--ink-800); color: var(--white); }

/* ============================================================
   BOUTONS - système unifié
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px;
  padding: .7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em;
  line-height: 1.2; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary   { background: var(--orange-600); color: var(--white); box-shadow: 0 6px 16px -6px rgba(184,85,0,.55); }
.btn--primary:hover { background: var(--orange-700); }
.btn--secondary { background: var(--olive-700); color: var(--white); }
.btn--secondary:hover { background: var(--olive-800); }
.btn--outline   { background: transparent; color: var(--ink-800); box-shadow: inset 0 0 0 1.5px var(--gray-300); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--olive-600); color: var(--olive-700); }
.btn--light     { background: var(--white); color: var(--ink-900); }
.btn--light:hover { background: var(--olive-100); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; padding: .9rem 1.75rem; font-size: var(--text-base); }

/* Fond clair signature : papier + halos flous (clarté dans un environnement flou) */
.bg-clarity, .hero, .page-hero, .article-hero, .about-hero, .legal-hero {
  background: var(--paper) url('../images/illustrations/hero-pattern.svg') center / cover no-repeat;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: var(--text-xs);
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; gap: var(--space-4);
}
.topbar__date { color: var(--gray-600); display: flex; align-items: center; gap: var(--space-2); }
.topbar__date i { color: var(--orange-500); }
.topbar__links { display: flex; gap: var(--space-4); align-items: center; }
.topbar__links a { color: var(--gray-600); transition: color var(--dur) var(--ease); }
.topbar__links a:hover { color: var(--orange-600); }
.topbar__sep { color: var(--gray-300); }

/* ============================================================
   MASTHEAD + BANNIÈRE SLOGAN
   ============================================================ */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.masthead::after { /* filet bicolore aux couleurs du logo */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--olive-500) 0 62%, var(--orange-500) 62% 100%);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-5) 0;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 76px; width: auto; }

.brand-banner {
  position: relative;
  flex: 1; max-width: 640px;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-5);
  padding: var(--space-4) var(--space-6);
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brand-banner::before { /* motif barres du logo */
  content: ''; position: absolute; right: -10px; bottom: -6px; width: 120px; height: 84px; opacity: .1;
  background:
    linear-gradient(var(--olive-500),var(--olive-500)) 0 100% / 22px 40% no-repeat,
    linear-gradient(var(--olive-500),var(--olive-500)) 34px 100% / 22px 65% no-repeat,
    linear-gradient(var(--orange-500),var(--orange-500)) 68px 100% / 22px 92% no-repeat;
}
.brand-banner__mark {
  width: 4px; align-self: stretch; border-radius: 4px;
  background: linear-gradient(var(--olive-500), var(--orange-500));
}
.brand-banner__kicker {
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: .2rem;
}
.brand-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, .9rem + .9vw, 1.6rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -.01em;
  color: var(--ink-900);
}
.brand-banner__title em { font-style: italic; color: var(--olive-600); }
.brand-banner__sub { font-size: var(--text-sm); color: var(--gray-600); margin-top: .25rem; }

/* Ancienne bannière (compat) */
.banner-placeholder { display: none; }

.btn-search {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 38px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  transition: all var(--dur) var(--ease);
}
.btn-subscribe {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 38px; padding: 0 var(--space-5);
  background: var(--orange-600); color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 600;
  transition: background var(--dur) var(--ease);
}
.btn-subscribe:hover { background: var(--orange-700); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: var(--space-4);
}
.nav { display: flex; align-items: center; height: 100%; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav__link {
  position: relative;
  display: flex; align-items: center;
  height: 100%;
  padding: 0 .9rem;
  font-size: .875rem; font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: .9rem; right: .9rem;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--ink-900); }
.nav__link.active { font-weight: 600; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.navbar__right { display: flex; align-items: center; gap: var(--space-3); }
.navbar__social { display: flex; gap: var(--space-3); }
.navbar__social a { color: var(--gray-500); transition: color var(--dur); }
.navbar__social a:hover { color: var(--orange-400); }
.btn-menu {
  display: none; color: var(--ink-900);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; font-size: 1.25rem;
}
.btn-menu:hover { background: var(--gray-100); }

.navbar__logo-mobile { display: none; align-items: center; flex: 1; }
.navbar__logo-mobile img {
  height: 34px; width: auto;
}
.navbar .btn-search {
  background: var(--gray-50);
  color: var(--gray-600);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}
.navbar .btn-search:hover { background: var(--white); color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--olive-500); }

/* ============================================================
   TICKER - fil flash
   ============================================================ */
.ticker {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 8px 0;
}
.ticker__inner {
  height: 38px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}
.ticker__label {
  flex-shrink: 0;
  height: 100%;
  display: flex; align-items: center; gap: var(--space-2);
  padding: 0 var(--space-5);
  background: var(--orange-600);
  color: var(--white);
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.ticker__label i { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ticker__track { flex: 1; position: relative; overflow: hidden; height: 100%; }
.ticker__scroll { position: absolute; inset: 0; display: flex; align-items: center; }
.ticker__scroll a {
  position: absolute; width: 100%;
  padding-inline: var(--space-4) var(--space-6);
  color: var(--ink-800);
  font-size: var(--text-sm); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
  pointer-events: none;
}
.ticker__scroll a.ticker-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ticker__scroll a:hover { color: var(--orange-600); }
.ticker__sep { display: none; }

/* ============================================================
   HERO - À la une
   ============================================================ */
.hero { padding: var(--space-8) 0 var(--space-10); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-5);
}
.hero__slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.slider__track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  opacity: 0; visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms;
}
.slide.active { opacity: 1; visibility: visible; }
.slide__bg { position: relative; grid-column: 2; grid-row: 1; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 6s ease-out; }
.slide.active .slide__bg { transform: scale(1.06); }
.slide__overlay { display: none; }
.slide__body { position: relative; z-index: 1; grid-column: 1; grid-row: 1; align-self: center; padding: var(--space-10) var(--space-10) var(--space-16); }
.slide__body .badge { margin-bottom: var(--space-4); }
.slide__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: var(--space-4);
}
.slide__title a { color: inherit; transition: color var(--dur); }
.slide__title a:hover { color: var(--olive-600); }
.slide__excerpt {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  max-width: 620px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.slide__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: var(--gray-500); }
.slide__meta-author { color: var(--ink-900); font-weight: 600; }

.slider__btn {
  position: absolute; top: var(--space-6);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; z-index: 10;
  box-shadow: var(--shadow-md);
  transition: background var(--dur), color var(--dur);
}
.slider__btn:hover { background: var(--orange-600); color: var(--white); }
.slider__btn--prev { right: calc(var(--space-6) + 52px); }
.slider__btn--next { right: var(--space-6); }

.slider__dots {
  position: absolute; bottom: var(--space-5); left: var(--space-10);
  display: flex; gap: 6px; z-index: 10;
}
.slider__dot {
  width: 24px; height: 4px; border-radius: 4px;
  background: var(--gray-300);
  transition: all 250ms var(--ease);
  padding: 0;
  position: relative;
}
.slider__dot::before { content: ''; position: absolute; inset: -10px -2px; } /* zone tactile */
.slider__dot.active { background: var(--orange-500); width: 40px; }

/* Colonne droite */
.hero__side { display: flex; flex-direction: column; gap: var(--space-5); }
.hero__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.hero__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero__card-img-wrap { aspect-ratio: 16 / 9; overflow: hidden; position: relative; flex-shrink: 0; }
.hero__card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.hero__card:hover .hero__card-img { transform: scale(1.04); }
.hero__card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: .3; color: var(--white); }
.hero__card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.hero__card-body .badge { margin-bottom: var(--space-3); align-self: flex-start; }
.hero__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink-900); line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__card-title a:hover { color: var(--olive-600); }
.hero__card-meta {
  margin-top: auto; padding-top: var(--space-3);
  font-size: var(--text-xs); color: var(--gray-500);
  display: flex; align-items: center; gap: var(--space-3);
}

/* Compat ancien hero */
.hero__featured { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-700); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__featured-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__featured-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,16,10,.95) 35%, rgba(15,16,10,.15) 100%); }
.hero__featured-body { position: relative; z-index: 1; padding: var(--space-8); }
.hero__featured-title { font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: var(--space-3); }
.hero__featured-excerpt { color: rgba(255,255,255,.78); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.hero__meta { display: flex; align-items: center; gap: var(--space-4); font-size: var(--text-xs); color: rgba(255,255,255,.6); }
.hero__meta-author { color: var(--white); font-weight: 500; }

/* ============================================================
   ESPACE PARTENAIRE (bannière rotative)
   ============================================================ */
.ad-banner {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  display: flex; flex-direction: column;
  position: relative;
  min-height: 220px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.ad-banner__label {
  position: absolute; top: var(--space-3); left: var(--space-3);
  font-size: .5625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); background: rgba(0,0,0,.35);
  padding: 2px 8px; border-radius: var(--radius-pill); z-index: 5;
}
.ad-banner__track { position: relative; flex: 1; overflow: hidden; }
.ad-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 700ms; }
.ad-slide.active { opacity: 1; visibility: visible; }
.ad-slide__inner {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: var(--space-6) var(--space-5);
}
.ad-slide__tag { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.65); margin-bottom: var(--space-2); }
.ad-slide__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: var(--space-4); }
.ad-slide__cta {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 0 18px;
  background: var(--white); color: var(--ink-900);
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  transition: background var(--dur), color var(--dur);
}
.ad-slide__cta:hover { background: var(--orange-500); color: var(--ink-900); }
.ad-banner__dots { display: flex; justify-content: center; gap: 4px; padding: 8px 0; background: rgba(0,0,0,.25); }
.ad-banner__dot { width: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); padding: 0; transition: background 200ms; position: relative; }
.ad-banner__dot::before { content: ''; position: absolute; inset: -10px -2px; }
.ad-banner__dot.active { background: var(--orange-500); }

/* ============================================================
   SOURCES DE DONNÉES
   ============================================================ */
.data-source {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  font-size: .6875rem; color: var(--gray-500);
  padding: .5rem .875rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.data-source__label { font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }
.data-source__pill {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200);
  border-radius: var(--radius-pill); padding: 1px 8px;
  font-weight: 600; color: var(--gray-600);
  transition: all 150ms;
}
.data-source__pill:hover { box-shadow: inset 0 0 0 1px var(--olive-600); color: var(--olive-700); }
.data-source__pill i { font-size: .55rem; }
.data-source__sep { color: var(--gray-300); }
.data-source__note { margin-left: auto; font-style: italic; color: var(--gray-400); }

.page-sources { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: .875rem 0; }
.page-sources__inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .6875rem; color: var(--gray-500); }
.page-sources__label { font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.page-sources__pill {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200);
  border-radius: var(--radius-pill); padding: 2px 9px;
  font-size: .6875rem; font-weight: 600; color: var(--gray-600);
  transition: all 150ms; white-space: nowrap;
}
.page-sources__pill:hover { box-shadow: inset 0 0 0 1px var(--olive-600); color: var(--olive-700); }
.page-sources__pill i { font-size: .5rem; }
.page-sources__sep { color: var(--gray-300); }

/* ============================================================
   ESPACE PARTENAIRE SIDEBAR
   ============================================================ */
.sidebar-ad {
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative; width: 100%;
  aspect-ratio: 400 / 600;
  background: var(--olive-100) url('../images/illustrations/hero-pattern.svg') center / cover;
  box-shadow: inset 0 0 0 1px var(--gray-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-6);
  transition: box-shadow var(--dur);
}
.sidebar-ad:hover { box-shadow: 0 0 0 2px var(--orange-500); }
.sidebar-ad__label {
  position: absolute; top: var(--space-3); left: 50%; transform: translateX(-50%);
  font-size: .5625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-500); background: var(--white);
  padding: 2px 10px; border-radius: var(--radius-pill); white-space: nowrap;
}
.sidebar-ad__deco { font-size: 4rem; line-height: 1; color: var(--orange-500); opacity: .2; margin-bottom: var(--space-5); }
.sidebar-ad__size { font-size: .625rem; font-weight: 700; color: var(--gray-500); letter-spacing: .1em; text-transform: uppercase; border: 1px dashed var(--gray-300); padding: 3px 12px; border-radius: var(--radius-pill); margin-bottom: var(--space-5); }
.sidebar-ad__tagline { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--ink-900); line-height: 1.3; margin-bottom: var(--space-6); }
.sidebar-ad__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; background: var(--orange-600); color: var(--white); border-radius: var(--radius-pill); font-size: .8125rem; font-weight: 600; transition: background var(--dur); }
.sidebar-ad__cta:hover { background: var(--orange-700); }

/* ============================================================
   EN-TÊTES DE SECTION
   ============================================================ */
.section-header {
  display: flex; align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}
.section-header__line { flex: 1; height: 1px; background: var(--gray-200); align-self: center; }
.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
  color: var(--ink-900);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .55rem;
}
.section-title::before {
  content: ''; width: 10px; height: 10px; border-radius: 2px;
  background: var(--orange-500); flex-shrink: 0;
  transform: translateY(-.05em);
}
.section-title--accent { color: var(--ink-900); }
.section-title--accent::before { background: var(--olive-500); }
.section-link {
  font-size: var(--text-sm); font-weight: 600;
  color: var(--orange-600);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur) var(--ease), color var(--dur);
}
.section-link::after { content: '→'; }
.section-link:hover { color: var(--orange-700); gap: 10px; }

/* Accroche de section (ton éditorial court) */
.section-intro {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--gray-600);
  max-width: 62ch;
  margin-bottom: var(--space-6);
}
.section-intro strong { color: var(--ink-900); font-weight: 600; }

/* ============================================================
   EN-TÊTE DE RUBRIQUE (pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink-900);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-12) 0 var(--space-10);
  isolation: isolate;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: var(--space-4);
}
.page-hero__eyebrow .icon { width: 18px; height: 18px; }
.page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ink-900);
}
.page-hero__title em { font-style: italic; color: var(--olive-600); font-weight: 500; }
.page-hero__dek {
  margin-top: var(--space-5);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  line-height: 1.55;
  color: var(--gray-600);
  max-width: 56ch;
}
.page-hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.page-hero__chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  color: var(--ink-800);
}
.page-hero__chip--accent { background: var(--orange-600); box-shadow: none; color: var(--white); }
.page-hero__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--compact { padding: var(--space-10) 0 var(--space-8); }
.page-hero--compact .page-hero__inner { grid-template-columns: 1fr; }
.page-hero--compact .page-hero__title { font-size: var(--text-4xl); }

/* Fil d'Ariane */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-size: .8125rem;
  color: var(--gray-500);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--gray-600); transition: color var(--dur); }
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb__sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--ink-900); font-weight: 500; }

/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */
.main-content { padding: var(--space-12) 0; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-10);
  align-items: start;
}

/* ── Cartes article ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column;
  position: relative;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card__img-wrap { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-800); position: relative; }
.article-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.article-card:hover .article-card__img { transform: scale(1.04); }
.article-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--gray-200); }
.article-card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.article-card__body .badge { margin-bottom: var(--space-3); align-self: flex-start; }
.article-card__title {
  font-family: var(--font-serif);
  font-size: 1.1875rem; font-weight: 600;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -.005em;
  margin-bottom: var(--space-3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__title a { transition: color var(--dur); }
.article-card__title a::after { content: ''; position: absolute; inset: 0; } /* carte entièrement cliquable */
.article-card__title a:hover, .article-card:hover .article-card__title a { color: var(--olive-600); }
.article-card__excerpt {
  font-size: var(--text-sm); color: var(--gray-600); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: var(--space-4);
}
.article-card__footer {
  margin-top: auto; padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  font-size: var(--text-xs); color: var(--gray-500);
}
.article-card__author { font-weight: 600; color: var(--ink-800); }
.article-card__read-time { display: flex; align-items: center; gap: 5px; }

/* Carte horizontale */
.article-card--h { flex-direction: row; }
.article-card--h .article-card__img-wrap { width: 140px !important; aspect-ratio: auto; flex-shrink: 0; }
.article-card--h .article-card__body { padding: var(--space-4); }
.article-card--h .article-card__title { font-size: 1.0625rem; -webkit-line-clamp: 3; }
.article-card--h .article-card__excerpt { display: none; }

/* Liste compacte */
.article-list-item { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--gray-100); }
.article-list-item:last-child { border-bottom: none; }
.article-list-item__num { font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: 600; color: var(--olive-400); line-height: 1; flex-shrink: 0; width: 2rem; text-align: center; }
.article-list-item__body { flex: 1; }
.article-list-item__cat { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-600); margin-bottom: 4px; }
.article-list-item__title { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600; color: var(--ink-900); line-height: 1.3; margin-bottom: 4px; transition: color var(--dur); }
.article-list-item__title:hover { color: var(--olive-600); }
.article-list-item__meta { font-size: var(--text-xs); color: var(--gray-500); }

/* ============================================================
   BLOCS DE SECTION
   ============================================================ */
.section-block { margin-bottom: var(--space-16); }
.section-block:last-child { margin-bottom: 0; }
.section-block--colored {
  background: var(--olive-100) url('../images/illustrations/hero-pattern.svg') center / cover;
  border-top: 1px solid var(--olive-200);
  border-bottom: 1px solid var(--olive-200);
  padding: var(--space-16) 0;
  margin: 0;
}
.section-block--colored .section-header__line { background: var(--olive-200); }

.featured-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.featured-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opinion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }

/* ============================================================
   WIDGET MARCHÉS
   ============================================================ */
.markets-widget { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-6); box-shadow: var(--shadow-sm); }
.markets-widget__header {
  padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink-900);
  margin: 0 var(--space-5);
  padding-inline: 0;
}
.markets-widget__title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-900); display: flex; align-items: center; gap: .5rem; }
.markets-widget__title i { color: var(--orange-500); }
.markets-widget__time { font-size: .6875rem; color: var(--gray-600); background: var(--gray-100); padding: 2px 8px; border-radius: var(--radius-pill); }
.markets-widget__body { padding: var(--space-2) 0; }
.market-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--dur);
}
.market-row:last-child { border-bottom: none; }
.market-row:hover { background: var(--gray-50); }
.market-row__name { font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); }
.market-row__code { font-size: var(--text-xs); color: var(--gray-500); }
.market-row__right { text-align: right; }
.market-row__value { font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.market-row__change { font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.market-row__change--up   { color: var(--leaf-600); }
.market-row__change--down { color: var(--red-600); }
.market-row__arrow { font-size: .6rem; margin-right: 2px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: var(--space-6); position: sticky; top: 76px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sidebar-widget__header { padding: var(--space-4) var(--space-5) 0; }
.sidebar-widget__title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-900);
  display: flex; align-items: center; gap: .5rem;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--ink-900);
}
.sidebar-widget__title i { color: var(--orange-500); }
.sidebar-widget__body { padding: var(--space-3) var(--space-5) var(--space-5); }

.popular-list { display: flex; flex-direction: column; counter-reset: pop; }
.popular-item { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--gray-100); }
.popular-item:last-child { border-bottom: none; }
.popular-item__rank { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; font-style: italic; color: var(--orange-500); line-height: 1; flex-shrink: 0; min-width: 30px; }
.popular-item__title { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--ink-900); line-height: 1.3; transition: color var(--dur); }
.popular-item__title:hover { color: var(--olive-600); }
.popular-item__meta { font-size: var(--text-xs); color: var(--gray-500); margin-top: 3px; }

/* Widget newsletter */
.newsletter-widget {
  position: relative; overflow: hidden;
  background: var(--olive-100);
  box-shadow: inset 0 0 0 1px var(--olive-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--ink-900);
}
.newsletter-widget::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  border: 18px solid rgba(237,114,8,.18);
}
.newsletter-widget__icon { font-size: 1.5rem; margin-bottom: var(--space-3); color: var(--orange-600); }
.newsletter-widget__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin-bottom: var(--space-2); line-height: 1.15; }
.newsletter-widget__desc { font-size: var(--text-sm); color: var(--gray-600); margin-bottom: var(--space-5); line-height: 1.5; }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-2); position: relative; z-index: 1; }
.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  width: 100%; min-height: 46px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  font-size: var(--text-base);
  background: var(--white);
  color: var(--ink-900);
  outline: none;
}
.newsletter-form input:focus { box-shadow: var(--focus); }
.newsletter-form input::placeholder { color: var(--gray-500); }
.newsletter-form button {
  width: 100%; min-height: 46px;
  background: var(--orange-600); color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 700;
  transition: background var(--dur);
  margin-top: var(--space-2);
}
.newsletter-form button:hover { background: var(--orange-700); }

/* Tags */
.tags-cloud { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  display: inline-flex; align-items: center; min-height: 32px;
  padding: 0 12px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 500;
  color: var(--gray-600); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  transition: all var(--dur);
}
.tag:hover { background: var(--olive-700); color: var(--white); box-shadow: none; }

/* Statistique */
.stat-highlight { text-align: center; padding: var(--space-5) var(--space-5) var(--space-6); }
.stat-highlight__value { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 600; color: var(--olive-600); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-highlight__label { font-size: var(--text-xs); color: var(--gray-500); margin-top: 6px; text-transform: uppercase; letter-spacing: .1em; }

/* ============================================================
   OPINIONS
   ============================================================ */
.opinion-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column;
  position: relative;
}
.opinion-card:hover { transform: translateY(-3px); }
.opinion-card__quote { font-family: var(--font-serif); font-size: 4rem; color: var(--orange-500); line-height: .6; margin-bottom: var(--space-3); height: 2rem; }
.opinion-card__text { font-family: var(--font-serif); font-size: 1.1875rem; font-style: italic; color: var(--ink-900); line-height: 1.5; margin-bottom: var(--space-6); flex: 1; }
.opinion-card__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--gray-100); }
.opinion-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--olive-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--olive-700); flex-shrink: 0; }
.opinion-card__author-name { font-size: var(--text-sm); font-weight: 700; color: var(--ink-900); }
.opinion-card__author-role { font-size: var(--text-xs); color: var(--gray-500); }

/* ============================================================
   NEWSLETTER (pleine largeur)
   ============================================================ */
.newsletter-section {
  background: var(--olive-100);
  border-top: 1px solid var(--olive-200);
  padding: var(--space-20) 0;
  position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 85% 20%, rgba(237,114,8,.14), transparent 70%),
    radial-gradient(520px 320px at 10% 90%, rgba(128,129,84,.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.newsletter-section__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 460px;
  gap: var(--space-12); align-items: center;
}
.newsletter-section__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--orange-600); margin-bottom: var(--space-4); display: flex; align-items: center; gap: .5rem; }
.newsletter-section__title { font-family: var(--font-serif); font-size: var(--text-5xl); font-weight: 600; color: var(--ink-900); line-height: 1.05; letter-spacing: -.02em; margin-bottom: var(--space-5); }
.newsletter-section__title em { font-style: italic; color: var(--olive-600); font-weight: 500; }
.newsletter-section__desc { font-size: var(--text-lg); color: var(--gray-600); line-height: 1.55; max-width: 52ch; }
.newsletter-section__form {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.newsletter-section__row { display: flex; gap: var(--space-3); }
.newsletter-section__input {
  flex: 1; min-width: 0; min-height: 50px;
  padding: 0 var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--dur);
}
.newsletter-section__input::placeholder { color: var(--gray-400); }
.newsletter-section__input:focus { border-color: var(--olive-600); box-shadow: 0 0 0 3px rgba(106,107,66,.18); }
.newsletter-section__btn {
  min-height: 52px; padding: 0 var(--space-8);
  background: var(--orange-600); color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--text-base); font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(184,85,0,.6);
  transition: background var(--dur), transform var(--dur);
}
.newsletter-section__btn:hover { background: var(--orange-700); }
.newsletter-section__note { font-size: var(--text-xs); color: var(--gray-500); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-900) url('../images/illustrations/hero-dark-pattern.svg') center / cover; color: rgba(255,255,255,.66); }
.footer__top { padding: var(--space-16) 0 var(--space-10); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer__logo { display: inline-flex; align-items: center; margin-bottom: var(--space-5); background: var(--white); padding: 10px 16px; border-radius: var(--radius-md); }
.footer__logo img { height: 52px !important; width: auto; filter: none !important; opacity: 1 !important; }
.footer__logo-name { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 700; color: var(--white); }
.footer__logo-name span { color: var(--orange-500); }
.footer__desc { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-5); max-width: 46ch; }
.footer__motto {
  font-family: var(--font-serif); font-style: italic; font-size: var(--text-sm);
  color: rgba(255,255,255,.7); border-left: 2px solid var(--orange-500);
  padding-left: var(--space-3); margin-top: var(--space-4); line-height: 1.5; max-width: 46ch;
}
.social-links { display: flex; gap: var(--space-2); }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all var(--dur);
}
.social-link:hover { background: var(--orange-600); color: var(--white); }
.footer__col-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: var(--space-5); }
.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { font-size: var(--text-sm); color: rgba(255,255,255,.62); transition: color var(--dur); }
.footer__links a:hover { color: var(--orange-400); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-5) 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
}
.footer__copyright { color: rgba(255,255,255,.5); }
.footer__devby { color: rgba(255,255,255,.5); }
.footer__devby a { color: var(--orange-400); transition: color var(--dur); }
.footer__devby a:hover { color: var(--white); }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero {
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-12) 0 var(--space-10);
}
.article-hero__cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--orange-600); margin-bottom: var(--space-4); }
.article-hero__title { font-family: var(--font-serif); font-size: var(--text-5xl); font-weight: 600; color: var(--ink-900); line-height: 1.06; letter-spacing: -.02em; max-width: 22ch; }
.article-hero__lead { font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--gray-600); margin-top: var(--space-5); line-height: 1.55; max-width: 62ch; }
.article-hero__meta { display: flex; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-6); font-size: .8125rem; color: var(--gray-500); flex-wrap: wrap; }
.article-hero__author { display: flex; align-items: center; gap: .6rem; }
.article-hero__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--olive-600); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: .85rem; flex-shrink: 0; }
.article-hero__author-name { color: var(--ink-900); font-weight: 600; }

.article-figure { margin: 0 0 var(--space-8); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { font-size: var(--text-xs); color: var(--gray-500); padding: .6rem var(--space-4); background: var(--white); }

.article-body { max-width: 720px; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-serif); float: left; font-size: 3.6em; line-height: .85; font-weight: 600;
  padding: .06em .1em 0 0; color: var(--olive-600);
}
.article-body p { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.75; color: var(--ink-800); margin-bottom: 1.4rem; }
.article-body h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-900); margin: 2.75rem 0 1rem; line-height: 1.2; }
.article-body h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--ink-900); margin: 2rem 0 .75rem; }
.article-body a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink-900); }
.article-body blockquote { border-left: 3px solid var(--orange-500); padding: .5rem 0 .5rem 1.5rem; margin: 2.25rem 0; }
.article-body blockquote p { font-size: 1.4rem; line-height: 1.45; color: var(--ink-900); font-style: italic; margin: 0; }
.article-body ul { margin: 0 0 1.5rem 1.25rem; list-style: disc; }
.article-body ul li { margin-bottom: .5rem; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.7; color: var(--ink-800); }
.article-body ul li::marker { color: var(--orange-500); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }

/* Composants éditoriaux */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-8) 0; }
.kpi-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-5); text-align: center; box-shadow: var(--shadow-sm); }
.kpi-val { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--olive-600); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-label { font-size: .75rem; color: var(--gray-600); margin-top: .5rem; line-height: 1.35; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-8) 0; }
.stat-box { background: var(--white); border-radius: var(--radius-md); padding: var(--space-5); text-align: center; box-shadow: var(--shadow-sm); }
.stat-box__val { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--leaf-600); line-height: 1; }
.stat-box__label { font-size: .75rem; color: var(--gray-600); margin-top: .5rem; }
.reason-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-6); margin-bottom: var(--space-4); display: flex; gap: var(--space-4); align-items: flex-start; box-shadow: var(--shadow-sm); }
.reason-num { font-family: var(--font-serif); font-size: 2.25rem; font-style: italic; font-weight: 600; color: var(--orange-500); line-height: 1; flex-shrink: 0; width: 2.5rem; text-align: center; }
.reason-body h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--ink-900); margin-bottom: .35rem; }
.reason-body p { font-family: var(--font-sans); font-size: .9375rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-6) 0; }
.partner-box { background: var(--white); border-radius: var(--radius-md); padding: var(--space-4); text-align: center; box-shadow: var(--shadow-sm); font-size: .8125rem; font-weight: 600; color: var(--ink-700); }
.step-list { counter-reset: steps; list-style: none !important; margin: 0 0 1.5rem 0 !important; padding: 0; }
.step-list li { counter-increment: steps; display: flex; gap: 1rem; align-items: flex-start; padding: .875rem 0; border-bottom: 1px solid var(--gray-100); }
.step-list li:last-child { border-bottom: none; }
.step-list li::before { content: counter(steps); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--olive-600); color: var(--white); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; flex-shrink: 0; margin-top: .15rem; }
.media-card { background: var(--paper) url('../images/illustrations/guinee-is-back.svg') center / cover; border-radius: var(--radius-lg); padding: var(--space-12) var(--space-8); text-align: center; margin: var(--space-8) 0; position: relative; overflow: hidden; }
.media-card::before { content: ''; position: absolute; inset: 0; background: rgba(248,246,239,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.media-card > * { position: relative; }
.media-card__icon { font-size: 3rem; color: var(--orange-600); margin-bottom: 1rem; }
.media-card__title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; color: var(--ink-900); margin-bottom: .5rem; }
.media-card__artist { font-size: .9375rem; color: var(--gray-600); }
.media-card__play { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; min-height: 48px; padding: 0 1.75rem; background: var(--orange-600); color: var(--white); border-radius: var(--radius-pill); font-size: .9375rem; font-weight: 700; transition: background var(--dur); }
.media-card__play:hover { background: var(--orange-700); }
.stat-views { display: inline-flex; align-items: center; gap: .5rem; background: var(--olive-100); color: var(--olive-700); border-radius: var(--radius-pill); padding: .4rem 1rem; font-size: .8125rem; font-weight: 700; margin: 1rem 0; }


/* ============================================================
   ARTICLE - mise en page détaillée (v2)
   ============================================================ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive-500), var(--orange-500)); transition: width 80ms linear; }

.article-hero .container { max-width: 1040px; }
.article-hero__cat {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--orange-100); color: var(--orange-700);
  padding: .35rem .8rem; border-radius: var(--radius-pill);
  letter-spacing: .12em;
}
.article-hero__title { max-width: 24ch; }
.article-hero__meta { padding-top: var(--space-5); border-top: 1px solid var(--gray-200); max-width: 900px; }
.article-hero__meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.article-hero__meta > span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); margin-right: .6rem; }

.article-figure { margin: 0 0 var(--space-10); background: var(--white); }
.article-figure img { aspect-ratio: 16 / 9; }
.article-figure figcaption { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid var(--gray-100); }
.article-figure__credit { color: var(--gray-400); font-style: italic; }

.article-layout { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.share-rail { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.share-rail__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-400); margin-bottom: var(--space-2); }
.share-rail .share__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
.share-rail .share__btn span { display: none; }

.article-body > p:first-of-type { font-size: 1.3rem; line-height: 1.6; color: var(--ink-900); }
.article-body h2 { position: relative; padding-top: var(--space-5); }
.article-body h2::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--orange-500); }
.article-body blockquote {
  position: relative; border: 0; margin: var(--space-10) 0; padding: var(--space-8) var(--space-8) var(--space-6);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.article-body blockquote::before {
  content: '“'; position: absolute; top: -.15em; left: var(--space-6);
  font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--orange-500);
}
.article-body blockquote p { font-size: 1.45rem; line-height: 1.4; font-style: italic; color: var(--ink-900); }
.article-body blockquote p:first-of-type::first-letter { all: unset; }
.article-body blockquote footer, .article-body blockquote cite { display: block; margin-top: var(--space-3); font-family: var(--font-sans); font-size: .8125rem; font-style: normal; color: var(--gray-500); }
.article-body .kpi-grid { gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin: var(--space-10) 0; }
.article-body .kpi-card { box-shadow: none; border-radius: 0; border-right: 1px solid var(--gray-100); padding: var(--space-6) var(--space-4); }
.article-body .kpi-card:last-child { border-right: 0; }
.article-body .kpi-val { color: var(--ink-900); }
.article-body .kpi-card:nth-child(odd) .kpi-val { color: var(--olive-600); }
.article-body .kpi-card:nth-child(even) .kpi-val { color: var(--orange-600); }

.article-sources { margin-top: var(--space-12); padding: var(--space-6); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.article-sources .article-sources__title, .article-body .article-sources h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-600); margin: 0 0 var(--space-3); padding: 0; }
.article-body .article-sources h2::before { display: none; }
.article-body .article-sources ul { margin: 0; padding-left: 1.1rem; }
.article-body .article-sources li { font-family: var(--font-sans); font-size: .8125rem; line-height: 1.55; color: var(--gray-600); margin-bottom: .35rem; }
.article-body .article-sources a { color: var(--olive-700); }

/* Partage */
.share { margin: var(--space-12) 0 var(--space-8); padding: var(--space-6); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.share__label { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--ink-900); line-height: 1.2; }
.share__label small { display: block; font-family: var(--font-sans); font-size: .8125rem; font-weight: 400; color: var(--gray-500); margin-top: .2rem; }
.share__buttons { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.share__btn {
  --brand: var(--ink-900);
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  font-size: .8125rem; font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur), transform var(--dur);
}
.share__btn i { color: var(--brand); font-size: 1rem; transition: color var(--dur); }
.share__btn:hover { background: var(--brand); color: var(--white); box-shadow: none; transform: translateY(-1px); }
.share__btn:hover i { color: var(--white); }
.share__btn--wa { --brand: #1DA851; }
.share__btn--li { --brand: #0A66C2; }
.share__btn--fb { --brand: #1877F2; }
.share__btn--x  { --brand: #111111; }
.share__btn--mail { --brand: var(--olive-600); }
.share__btn--copy { --brand: var(--orange-600); }
.share__btn.is-copied { background: var(--leaf-600); color: var(--white); box-shadow: none; }
.share__btn.is-copied i { color: var(--white); }
.share__btn--native { --brand: var(--orange-600); background: var(--orange-600); color: var(--white); box-shadow: none; }
.share__btn--native i { color: var(--white); }

/* Encadré rédaction */
.author-box { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin-bottom: var(--space-10); }
.author-box__avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--white) url('../images/sankadabo-embleme.png') center / 72% no-repeat; box-shadow: var(--shadow-sm); }
.author-box__name { font-weight: 700; color: var(--ink-900); }
.author-box__bio { font-size: .9375rem; color: var(--gray-600); margin-top: .2rem; max-width: 60ch; }
.author-box__link { display: inline-flex; margin-top: .5rem; font-size: .8125rem; font-weight: 600; color: var(--orange-600); }
.author-box__link:hover { color: var(--orange-700); }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .share-rail { display: none; }
}
@media (max-width: 768px) {
  .article-body > p:first-of-type { font-size: 1.175rem; }
  .article-body blockquote { padding: var(--space-8) var(--space-5) var(--space-5); }
  .article-body blockquote p { font-size: 1.2rem; }
  .article-body .kpi-card:nth-child(2n) { border-right: 0; }
  .article-body .kpi-card:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .share { flex-direction: column; align-items: stretch; }
  .share__buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .share__btn { justify-content: center; }
  .article-hero__meta > span + span::before { display: none; }
}

/* ============================================================
   LISTES / FILTRES / PAGINATION
   ============================================================ */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  min-height: 38px; padding: 0 1rem; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 600;
  background: var(--white); color: var(--gray-600);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--ink-800); }
.filter-btn.active { background: var(--ink-900); color: var(--white); box-shadow: none; }
.articles-full-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 .5rem; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600;
  background: var(--white); color: var(--gray-600);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  transition: all var(--dur);
}
.page-btn:hover { color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--ink-800); }
.page-btn.active { background: var(--ink-900); color: var(--white); box-shadow: none; }

/* ============================================================
   À PROPOS
   ============================================================ */
.about-hero { border-bottom: 1px solid var(--gray-200); padding: var(--space-16) 0 var(--space-12); }
.about-section { padding: var(--space-16) 0; }
.about-section:nth-child(even) { background: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.stat-card { text-align: center; padding: var(--space-8) var(--space-4); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-card__value { font-family: var(--font-serif); font-size: 3rem; font-weight: 600; color: var(--olive-600); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-card__label { font-size: .8125rem; color: var(--gray-600); margin-top: .5rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.team-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); box-shadow: var(--shadow-sm); text-align: center; }
.team-card__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--olive-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--olive-700); }
.team-card__name { font-weight: 700; color: var(--ink-900); margin-bottom: .25rem; }
.team-card__role { font-size: .75rem; color: var(--orange-600); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.partner-item { background: var(--white); border-radius: var(--radius-md); padding: var(--space-4); box-shadow: var(--shadow-sm); text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-700); transition: all var(--dur); }
.partner-item:hover { box-shadow: inset 0 0 0 1.5px var(--olive-600); color: var(--olive-700); }

/* ============================================================
   CONTACT / FORMULAIRES
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-12); align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-900); margin-bottom: .4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 1rem; font-family: var(--font-sans);
  color: var(--ink-900); background: var(--white); outline: none;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--olive-600); box-shadow: 0 0 0 3px rgba(106,107,66,.18); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; min-height: 52px;
  background: var(--orange-600); color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 1rem; font-weight: 700;
  transition: background var(--dur);
  box-shadow: 0 8px 20px -8px rgba(184,85,0,.6);
}
.form-submit:hover { background: var(--orange-700); }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); margin-bottom: var(--space-4); display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--olive-100); display: flex; align-items: center; justify-content: center; color: var(--olive-700); font-size: 1.1rem; flex-shrink: 0; }
.contact-card__title { font-weight: 700; color: var(--ink-900); font-size: .9375rem; margin-bottom: .25rem; }
.contact-card__value { font-size: .875rem; color: var(--gray-600); }
.contact-card__value a { color: var(--orange-600); }
.contact-card__value a:hover { color: var(--orange-700); }
.success-msg { display: none; background: var(--olive-100); border: 1px solid var(--olive-400); border-radius: var(--radius-sm); padding: 1rem 1.25rem; color: var(--olive-800); font-size: .9375rem; margin-top: 1rem; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal-hero { border-bottom: 1px solid var(--gray-200); padding: var(--space-12) 0 var(--space-10); }
.legal-body { max-width: 760px; margin: 0 auto; padding: var(--space-12) 0 var(--space-16); }
.legal-body h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--ink-900); margin: 2.5rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: .6rem; }
.legal-body h2::before { content: ''; width: 8px; height: 8px; background: var(--orange-500); border-radius: 2px; flex-shrink: 0; }
.legal-body p { font-size: 1rem; line-height: 1.8; color: var(--ink-700); margin-bottom: 1rem; }
.legal-body ul { padding-left: 1.3rem; margin-bottom: 1rem; list-style: disc; }
.legal-body ul li { font-size: 1rem; line-height: 1.75; color: var(--ink-700); margin-bottom: .3rem; }
.legal-body a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink-900); }
.legal-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem 1.75rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.legal-card p { margin-bottom: .5rem; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-highlight { background: var(--olive-100); border-left: 3px solid var(--olive-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.legal-highlight p { color: var(--ink-900); margin-bottom: 0; font-size: .9375rem; }
.legal-dev { display: flex; align-items: center; gap: 1.25rem; background: var(--ink-900); border-radius: var(--radius-md); padding: 1.4rem 1.75rem; margin-top: 2rem; }
.legal-dev img { height: 42px; width: auto; border-radius: 6px; background: #fff; padding: 5px 10px; box-sizing: content-box; }
.legal-dev p { color: rgba(255,255,255,.8); font-size: .875rem; margin-bottom: 0; }
.legal-dev a { color: var(--orange-400); font-weight: 600; text-decoration: none; }
.legal-dev a:hover { text-decoration: underline; }
.legal-updated { margin-top: 3rem; font-size: .8125rem; color: var(--gray-500); text-align: center; }

/* ============================================================
   NAV MOBILE
   ============================================================ */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: var(--space-5) var(--space-6) var(--space-8);
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 300ms var(--ease), visibility 300ms;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav__close { align-self: flex-end; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--ink-900); border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); margin-bottom: var(--space-6); }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 500;
  color: var(--ink-900);
  padding: .7rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--dur), padding var(--dur);
}
.mobile-nav__links a:hover { color: var(--orange-600); padding-left: .5rem; }
.mobile-nav__subscribe {
  margin-top: var(--space-8);
  min-height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--orange-600); color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--text-base); font-weight: 700;
}

/* ============================================================
   RETOUR EN HAUT
   ============================================================ */
.scroll-top {
  position: fixed; bottom: var(--space-6); right: var(--space-6);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all var(--dur);
  z-index: 90;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--orange-600); transform: translateY(-2px); }

/* ============================================================
   ÉTATS DE FORMULAIRE
   ============================================================ */
.form-error { border-color: var(--red-600) !important; }
.field-error { display: block; font-size: .75rem; margin-top: .2rem; color: var(--red-600); min-height: .9rem; }
.newsletter-widget .field-error, .newsletter-section .field-error { color: var(--red-600); }
.newsletter-form input.form-error { box-shadow: 0 0 0 2px var(--red-600); }
.newsletter-section__input.form-error { border-color: var(--red-600) !important; }
.newsletter-success { display: none; border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); margin-top: var(--space-2); text-align: center; }
.newsletter-widget .newsletter-success { background: var(--white); color: var(--olive-800); }
.newsletter-section .newsletter-success { background: var(--olive-100); border: 1px solid var(--olive-200); color: var(--olive-800); }
.newsletter-section__errors { display: flex; gap: var(--space-8); min-height: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { display: grid; grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .newsletter-section__inner { grid-template-columns: 1fr; }
  .brand-banner { max-width: 520px; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .articles-grid, .articles-full-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinion-grid { grid-template-columns: 1fr 1fr; }
  .featured-row--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 1rem; }
  .topbar { display: none; }
  /* Masthead : le logo passe dans la navbar, la bannière slogan reste */
  .masthead .logo { display: none; }
  .masthead__inner { padding: var(--space-3) 0; }
  .brand-banner { max-width: none; padding: var(--space-3) var(--space-4); gap: var(--space-3); border-radius: var(--radius-md); }
  .brand-banner__sub { display: none; }
  .brand-banner::before { display: none; }
  .nav { display: none; }
  #btn-search span { display: none; }
  #btn-search { padding: 0; width: 40px; height: 40px; justify-content: center; }
  .btn-subscribe { display: none; }
  .btn-menu { display: flex; }
  .navbar__logo-mobile { display: flex; }
  .navbar__inner { height: 56px; }
  .navbar__social { display: none; }

  .hero { padding: var(--space-4) 0 var(--space-6); }
  .hero__slider { min-height: 560px; border-radius: var(--radius-md); }
  .slide { grid-template-columns: 1fr; grid-template-rows: 210px 1fr; }
  .slide__bg { grid-column: 1; grid-row: 1; }
  .slide__body { grid-column: 1; grid-row: 2; align-self: start; padding: var(--space-5) var(--space-5) var(--space-12); }
  .slide__title { font-size: 1.6rem; }
  .slide__excerpt { font-size: var(--text-sm); }
  .slider__btn { top: var(--space-4); width: 40px; height: 40px; }
  .slider__btn--prev { right: calc(var(--space-4) + 46px); }
  .slider__btn--next { right: var(--space-4); }
  .slider__dots { left: var(--space-5); }
  .hero__side { grid-template-columns: 1fr; }

  .main-content { padding: var(--space-8) 0; }
  .section-block { margin-bottom: var(--space-12); }
  .section-block--colored { padding: var(--space-12) 0; }
  .section-header { flex-wrap: wrap; }
  .section-header__line { display: none; }
  .section-title { font-size: 1.5rem; white-space: normal; }
  .section-link { margin-left: auto; }
  .section-intro { font-size: var(--text-base); }

  .articles-grid, .articles-full-grid, .related-grid,
  .featured-row, .featured-row--3, .opinion-grid { grid-template-columns: 1fr; }
  .article-card--h .article-card__img-wrap { width: 112px !important; }
  .sidebar { grid-template-columns: 1fr; }

  .newsletter-section { padding: var(--space-12) 0; }
  .newsletter-section__row { flex-direction: column; }
  .newsletter-section__errors { flex-direction: column; gap: 0; }
  .newsletter-section__form { padding: var(--space-5); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .page-hero { padding: var(--space-8) 0 var(--space-8); }
  .article-hero { padding: var(--space-8) 0; }
  .article-body p { font-size: 1.125rem; }
  .kpi-grid, .partner-row, .partner-grid, .stat-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .share-bar__label { width: 100%; }

  /* Mises en page inline héritées : empilement mobile */
  main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  main [style*="display:flex"][style*="gap:0"] { flex-direction: column; }
  main [style*="min-height:280px"] { min-height: 200px !important; }
  .scroll-top { bottom: var(--space-4); right: var(--space-4); }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand-banner__kicker { display: none; }
  .brand-banner__title { font-size: 1.05rem; }
  .hero__slider { min-height: 580px; }
  .kpi-grid, .stat-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .article-card--h { flex-direction: column; }
  .article-card--h .article-card__img-wrap { width: 100% !important; aspect-ratio: 16 / 9; }
}

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

/* ============================================================
   IMPRESSION
   ============================================================ */
@media print {
  .topbar, .navbar, .ticker, .footer, .sidebar, .newsletter-section, .share-bar, .scroll-top, .mobile-nav, .brand-banner { display: none !important; }
  .content-grid { grid-template-columns: 1fr; }
  body { background: #fff; }
  .article-hero { background: none; color: #000; }
  .article-hero__title, .article-hero__lead { color: #000; }
}

/* ── Photos reelles (credit + licence) ── */
.article-figure__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.article-figure picture { display: block; }
.article-figure--portrait { float: right; width: 260px; margin: var(--space-2) 0 var(--space-6) var(--space-8); }
.article-figure--portrait img { aspect-ratio: 4 / 5; }
.article-figure--portrait figcaption { flex-direction: column; gap: .25rem; }
.page-hero__art--photo { position: relative; margin: 0; }
.page-hero__art--photo picture { display: block; height: 100%; }
.page-hero__credit {
  position: absolute; right: var(--space-3); bottom: var(--space-3);
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(248, 246, 239, .85); backdrop-filter: blur(6px);
  font-size: .6875rem; color: var(--gray-600);
}
.page-hero__credit a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .article-figure--portrait { float: none; width: min(280px, 100%); margin: var(--space-6) auto; }
}

/* ── Avatar auteur Sankadabo : embleme du logo ── */
div.avatar-embleme {
  background: var(--white) url('../images/sankadabo-embleme.png') center / 74% no-repeat;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* ── Logo d'emetteur / de programme dans un article ── */
.article-issuer { display: flex; align-items: center; gap: var(--space-4); margin: 0 0 var(--space-6); padding: var(--space-3) var(--space-4); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); font-family: var(--font-sans); font-size: .8125rem; line-height: 1.4; color: var(--gray-600); }
.article-issuer picture { flex-shrink: 0; }
.article-issuer__logo { height: 36px; width: auto; }
.article-issuer strong { display: block; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.page-hero__art--fade { box-shadow: none; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.page-hero__art--fade img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 22%, #000 48%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 22%, #000 48%);
}
.article-card__author { display: inline-flex; align-items: center; gap: .4rem; }
.article-card__author::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--white) url('../images/sankadabo-embleme.png') center / 74% no-repeat;
  border: 1px solid var(--gray-200);
}

/* ── Recherche ── */
.search-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(22, 23, 15, .35); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh var(--space-4) var(--space-4); }
.search-overlay[hidden] { display: none; }
.search-panel { width: min(680px, 100%); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.search-panel__bar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid var(--gray-200); }
.search-panel__input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink-900); outline: none; }
.search-panel__close { border: 1px solid var(--gray-200); background: var(--white); border-radius: 6px; padding: .2rem .5rem; font-size: .6875rem; color: var(--gray-500); cursor: pointer; }
.search-panel__results { list-style: none; margin: 0; padding: var(--space-2); max-height: 60vh; overflow-y: auto; }
.search-panel__results a { display: grid; gap: .15rem; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); color: inherit; text-decoration: none; }
.search-panel__results a:hover, .search-panel__results a:focus-visible { background: var(--white); box-shadow: var(--shadow-sm); outline: none; }
.search-panel__results strong { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink-900); }
.search-panel__sec { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.search-panel__desc { font-size: .8125rem; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-panel__empty { padding: var(--space-4); color: var(--gray-500); font-size: .875rem; }
