/* ═══════════════════════════════════════════════════════════════════
   Adra Diallo — FRONDEG Liste Nationale 2026
   Palette : rigueur académique × engagement guinéen
   Drapeau guinéen (rouge, or, vert) décliné sobrement
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs principales — drapeau guinéen sobrement décliné */
  --rouge:       #CE1126;   /* rouge drapeau */
  --rouge-dark:  #A50E1E;
  --rouge-light: #E84D5D;
  --rouge-pale:  #F8D0D4;
  --or:          #C9A84C;   /* or académique (pas le jaune vif du drapeau) */
  --or-light:    #E8D5A0;
  --or-pale:     #F5EED8;
  --vert:        #006B3C;   /* vert drapeau assombri */
  --vert-light:  #2E8B57;

  /* Neutres — palette éditoriale */
  --encre:       #0F1923;   /* quasi-noir éditorial */
  --ardoise:     #2C3E50;   /* gris bleu profond */
  --parchemin:   #F4F0E8;   /* fond crème parcheminé */
  --ivoire:      #FAFAF7;   /* fond très clair */
  --gris-moyen:  #6B7280;
  --gris-clair:  #D1D5DB;
  --white:       #ffffff;

  /* Texte */
  --text-dark:   #0F1923;
  --text-mid:    #374151;
  --text-muted:  #6B7280;

  /* Accent principal de la marque */
  --accent:      var(--rouge);
  --accent-dark: var(--rouge-dark);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--ivoire);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 25, 35, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--rouge);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.nav-logo-badge {
  height: 38px; background: var(--rouge); border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; font-weight: 700; font-size: 11px; color: var(--white);
  letter-spacing: 1px; flex-shrink: 0; padding: 0 14px;
  font-family: 'Work Sans', sans-serif; text-transform: uppercase;
}
.nav-logo-wrap { width: 120px; height: 40px; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; }
.nav-logo-img { width: 100%; height: 100%; object-fit: contain; object-position: left center; display: block; }
.nav-brand-text { font-weight: 700; font-size: 15px; color: var(--white); line-height: 1.2; font-family: 'Work Sans', sans-serif; }
.nav-brand-text span {
  font-weight: 300; font-size: 10px; color: rgba(255,255,255,0.45);
  display: block; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Work Sans', sans-serif;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.2s; font-family: 'Work Sans', sans-serif;
}
.nav-links a:hover { color: var(--or-light); }
.nav-cta {
  background: var(--rouge) !important; color: var(--white) !important;
  padding: 8px 18px; border-radius: 3px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rouge-dark) !important; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; background: var(--encre);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  padding: 120px 6% 80px 8%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--or-light);
  font-weight: 600; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 0; margin-bottom: 28px; width: fit-content;
  border-bottom: 1.5px solid var(--rouge); padding-bottom: 8px;
  font-family: 'Work Sans', sans-serif;
}
.hero-tag i { font-size: 6px; vertical-align: 2px; color: var(--rouge); }
.hero-title {
  font-size: clamp(44px, 5.5vw, 76px); font-weight: 700; line-height: 0.95;
  color: var(--white); margin-bottom: 8px; letter-spacing: -2px;
  font-family: 'Libre Baskerville', Georgia, serif;
}
.hero-title .accent { color: var(--rouge-light); font-style: italic; }
.hero-subtitle-name {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 400;
  color: var(--or-light); margin-bottom: 4px; letter-spacing: 0.01em;
  font-family: 'Work Sans', sans-serif; font-style: normal;
}
.hero-role {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px;
  font-family: 'Work Sans', sans-serif;
}
.hero-desc {
  font-size: 15px; font-weight: 400; line-height: 1.8;
  color: rgba(255,255,255,0.55); max-width: 440px; margin-bottom: 44px;
}
.hero-desc strong { color: var(--or-light); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; align-items: center; }

.btn-primary {
  background: var(--rouge); color: var(--white);
  font-family: 'Work Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border: none; border-radius: 2px;
  cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--rouge-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: rgba(255,255,255,0.7);
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 24px; border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s; position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--or-light); color: var(--or-light); }

.hero-right { position: relative; overflow: hidden; }
.hero-photo-frame {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2a3a 0%, #0a1520 100%);
}
.hero-photo-frame::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 65%; height: 100%;
  background: linear-gradient(to bottom-left, var(--rouge) 0%, transparent 60%);
  opacity: 0.08;
}
.hero-photo-frame::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to top, rgba(15,25,35,0.85) 0%, transparent 100%);
}
.hero-candidate-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}

/* Carousel */
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.active { opacity: 1; }

.hero-photo-placeholder {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80%; max-width: 380px; height: 90%;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-candidate-silhouette {
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(206,17,38,0.12) 0%, transparent 60%);
  border-radius: 6px 6px 0 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; padding-bottom: 60px;
}
.photo-circle {
  width: 180px; height: 180px; border-radius: 50%;
  border: 3px solid var(--rouge); overflow: hidden; background: #1a2a3a;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 700; color: var(--rouge-light);
  letter-spacing: -3px; margin-bottom: 16px; font-family: 'Libre Baskerville', serif;
}
.hero-photo-name { font-size: 20px; font-weight: 700; color: var(--white); text-align: center; font-family: 'Libre Baskerville', serif; }
.hero-photo-role { font-size: 12px; font-weight: 300; color: var(--or-light); text-align: center; letter-spacing: 0.08em; font-family: 'Work Sans', sans-serif; }

.hero-date-banner {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--rouge); padding: 14px 8%;
  display: flex; align-items: center; justify-content: center; gap: 24px;
}
.hero-date-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-family: 'Work Sans', sans-serif; }
.hero-date-value { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; font-family: 'Libre Baskerville', serif; }
.hero-date-divider { width: 1px; height: 26px; background: rgba(255,255,255,0.25); }

/* ─── SECTIONS GÉNÉRIQUES ─────────────────────────────────── */
section { padding: 100px 8%; }
.section-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
  font-family: 'Work Sans', sans-serif;
}
.section-eyebrow i { font-size: 12px; }
.section-title {
  font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; line-height: 1.05;
  letter-spacing: -1.5px; color: var(--text-dark); margin-bottom: 24px;
  font-family: 'Libre Baskerville', Georgia, serif;
}
.section-title .accent { color: var(--rouge); font-style: italic; }

/* ─── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  background: var(--encre); padding: 56px 8%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-top: 3px solid var(--rouge);
}
.stat-item {
  text-align: center; padding: 28px 20px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 24px; color: var(--rouge); margin-bottom: 12px; display: block; }
.stat-number {
  font-size: 48px; font-weight: 700; color: var(--white); line-height: 1;
  letter-spacing: -2px; margin-bottom: 8px; font-family: 'Libre Baskerville', serif;
}
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-family: 'Work Sans', sans-serif;
}

/* ─── DOUBLE PORTRAIT ─────────────────────────────────────── */
.portrait {
  background: var(--parchemin);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.portrait-intro { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.portrait-intro .section-title { margin-bottom: 12px; }
.portrait-lead { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--text-mid); }
.portrait-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  background: var(--ardoise); border-radius: 4px; overflow: hidden;
}
.portrait-card {
  background: var(--white); padding: 48px 40px; position: relative; overflow: hidden;
  transition: transform 0.2s;
}
.portrait-card:hover { transform: translateY(-2px); }
.portrait-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--rouge);
}
.portrait-card:nth-child(2)::before { background: var(--vert); }
.portrait-card-icon {
  width: 56px; height: 56px; border-radius: 4px;
  background: var(--rouge-pale); color: var(--rouge);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.portrait-card:nth-child(2) .portrait-card-icon { background: rgba(0,107,60,0.1); color: var(--vert); }
.portrait-card-title {
  font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px;
  font-family: 'Libre Baskerville', serif; letter-spacing: -0.3px;
}
.portrait-card-text { font-size: 15px; font-weight: 400; line-height: 1.8; color: var(--text-mid); }

/* ─── PARCOURS / TIMELINE ─────────────────────────────────── */
.parcours { background: var(--white); }
.parcours-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.parcours-intro .about-quote {
  border-left: 4px solid var(--rouge); padding: 16px 20px; margin: 32px 0;
  background: var(--parchemin); border-radius: 0 4px 4px 0;
}
.parcours-intro .about-quote p { font-size: 16px; font-style: italic; font-weight: 400; color: var(--ardoise); line-height: 1.7; }
.parcours-lead { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--text-mid); margin-bottom: 20px; }

.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 16px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--rouge), var(--rouge-pale));
  z-index: 0;
}
.timeline-item { position: relative; margin-bottom: 24px; display: flex; gap: 16px; align-items: flex-start; }
.timeline-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rouge); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; position: relative; z-index: 1;
}
.timeline-content-wrapper { flex: 1; padding-top: 4px; }
.timeline-year {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 4px; font-family: 'Work Sans', sans-serif;
}
.timeline-content { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; font-family: 'Libre Baskerville', serif; }
.timeline-detail { font-size: 13px; font-weight: 400; color: var(--text-muted); line-height: 1.5; font-family: 'Work Sans', sans-serif; }

/* ─── PROGRAMME ───────────────────────────────────────────── */
.programme { background: var(--parchemin); }
.programme-intro { max-width: 640px; margin-bottom: 64px; }
.programme-lead { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--text-mid); }
.axes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  background: var(--ardoise); border-radius: 4px; overflow: hidden;
}
.axe-card {
  background: var(--white); padding: 40px 36px; position: relative;
  overflow: hidden; cursor: default; transition: transform 0.2s;
}
.axe-card.featured {
  grid-column: span 2; background: var(--rouge);
}
.axe-card:hover { transform: scale(1.005); z-index: 1; }
.axe-number {
  font-size: 72px; font-weight: 700; line-height: 0.9; color: rgba(0,0,0,0.05);
  position: absolute; right: 24px; top: 16px; letter-spacing: -4px;
  font-family: 'Libre Baskerville', serif;
}
.axe-card.featured .axe-number { color: rgba(255,255,255,0.1); }
.axe-icon {
  width: 40px; height: 40px; border-radius: 3px;
  background: var(--rouge-pale); color: var(--rouge);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 16px;
}
.axe-card.featured .axe-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.axe-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.2; letter-spacing: -0.5px; font-family: 'Libre Baskerville', serif; }
.axe-card.featured .axe-title { color: var(--white); font-size: 24px; }
.axe-desc { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--text-muted); font-family: 'Work Sans', sans-serif; }
.axe-card.featured .axe-desc { color: rgba(255,255,255,0.7); }
.axe-points { list-style: none; margin-top: 16px; }
.axe-points li {
  font-size: 13px; font-weight: 400; color: var(--text-mid);
  padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.05); line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start; font-family: 'Work Sans', sans-serif;
}
.axe-card.featured .axe-points li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.12); }
.axe-points li i { color: var(--rouge); font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.axe-card.featured .axe-points li i { color: rgba(255,255,255,0.6); }

/* ─── PUBLICATIONS ACADÉMIQUES ────────────────────────────── */
.publications { background: var(--white); }
.pub-header { margin-bottom: 40px; }
.pub-intro-sub { font-size: 16px; font-weight: 400; color: var(--text-muted); margin-top: 8px; max-width: 560px; font-family: 'Work Sans', sans-serif; }

/* Filtre onglets */
.pub-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.pub-filter-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 2px; cursor: pointer;
  border: 1.5px solid rgba(44, 62, 80, 0.2); background: transparent; color: var(--text-mid);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.pub-filter-btn i { font-size: 11px; }
.pub-filter-btn:hover { border-color: var(--rouge); color: var(--rouge); }
.pub-filter-btn.active { background: var(--rouge); color: var(--white); border-color: var(--rouge); }

/* Grille publications */
.pub-grid {
  display: grid; gap: 24px;
}
@media (min-width: 1025px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }

.pub-card {
  background: var(--ivoire); border: 1px solid rgba(0,0,0,0.08);
  border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.pub-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rouge); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.pub-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-2px); }
.pub-card:hover::before { transform: scaleX(1); }

.pub-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pub-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

.pub-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px; margin-bottom: 12px; width: fit-content;
  font-family: 'Work Sans', sans-serif;
}
.pub-badge i { font-size: 10px; }
.pub-badge--academic    { background: #1a2744; color: #c8d8f0; }
.pub-badge--report      { background: #1a3a20; color: #c8f0cc; }
.pub-badge--opinion     { background: #6b1a00; color: #f0c8a0; }
.pub-badge--comparative { background: #3a1a60; color: #e0c8f0; }

.pub-year-tag {
  font-size: 11px; font-weight: 700; color: var(--rouge);
  letter-spacing: 0.05em; margin-bottom: 6px; font-family: 'Work Sans', sans-serif;
}
.pub-card-title {
  font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.35;
  margin-bottom: 6px; letter-spacing: -0.3px; font-family: 'Libre Baskerville', serif;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pub-card-institution {
  font-size: 12px; font-weight: 400; color: var(--gris-moyen); margin-bottom: 10px;
  font-style: italic; font-family: 'Work Sans', sans-serif;
}
.pub-card-summary {
  font-size: 13px; font-weight: 400; color: var(--text-muted); line-height: 1.65;
  flex: 1; margin-bottom: 16px; font-family: 'Work Sans', sans-serif;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pub-read-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--rouge);
  background: none; border: none; cursor: pointer; padding: 0;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; transition: color 0.15s;
}
.pub-read-btn:hover { color: var(--rouge-dark); text-decoration: underline; }

.pub-empty, .pub-no-result {
  text-align: center; font-size: 15px; color: var(--text-muted);
  padding: 48px 0; font-style: italic; font-family: 'Work Sans', sans-serif;
}

/* ─── ANALYSE COMPARATIVE DOUMBOUYA ──────────────────────── */
.comparative { background: var(--encre); color: var(--white); }
.comparative .section-eyebrow { color: var(--rouge-light); }
.comparative .section-eyebrow i { color: var(--rouge-light); }
.comparative .section-title { color: var(--white); }
.comparative .section-title .accent { color: var(--rouge-light); }
.comparative-intro { font-size: 15px; font-weight: 400; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 680px; margin-bottom: 48px; font-family: 'Work Sans', sans-serif; }

.comparison-table { border-collapse: collapse; width: 100%; border-radius: 4px; overflow: hidden; }
.comparison-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.comparison-col-header {
  padding: 16px 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: 'Work Sans', sans-serif;
}
.comparison-col-header.promise { background: rgba(206,17,38,0.2); color: var(--rouge-light); }
.comparison-col-header.reality { background: rgba(0,107,60,0.2); color: #5dca8a; }
.comparison-col-header i { margin-right: 8px; }

.comparison-rows { display: flex; flex-direction: column; gap: 2px; }
.comparison-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.comparison-row.is-visible { opacity: 1; transform: none; }
.comparison-row-promise,
.comparison-row-reality {
  padding: 20px 24px; font-size: 14px; line-height: 1.65; font-family: 'Work Sans', sans-serif;
}
.comparison-row-promise { background: rgba(206,17,38,0.07); color: rgba(255,255,255,0.7); }
.comparison-row-reality { background: rgba(0,107,60,0.07); color: rgba(255,255,255,0.7); }

.comparison-theme {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--or-light); margin-bottom: 6px; font-family: 'Work Sans', sans-serif;
}
.comparative-conclusion { margin-top: 40px; padding: 28px 32px; background: rgba(255,255,255,0.05); border-left: 4px solid var(--rouge); border-radius: 0 3px 3px 0; }
.comparative-conclusion p { font-size: 15px; font-weight: 400; line-height: 1.8; color: rgba(255,255,255,0.65); font-family: 'Work Sans', sans-serif; }

/* ─── ACTUALITÉS ──────────────────────────────────────────── */
.actualites { background: var(--parchemin); }
.news-grid {
  display: grid; gap: 24px; margin-top: 48px;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: var(--white); border-radius: 3px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07); transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.09); transform: translateY(-2px); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card-body { padding: 20px 22px 22px; }
.news-card-date { font-size: 11px; font-weight: 700; color: var(--rouge); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; font-family: 'Work Sans', sans-serif; }
.news-card-title { font-size: 17px; font-weight: 700; color: var(--text-dark); line-height: 1.3; letter-spacing: -0.3px; font-family: 'Libre Baskerville', serif; margin-bottom: 10px; }
.news-card-content { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-family: 'Work Sans', sans-serif; }

/* ─── ENGAGEMENTS ─────────────────────────────────────────── */
.engagements { background: var(--white); }
.engagements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.engagement-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--parchemin); padding: 24px; border-radius: 3px;
  border-left: 4px solid var(--rouge);
}
.engagement-check {
  width: 36px; height: 36px; background: var(--rouge); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--white);
}
.engagement-check i { font-size: 14px; }
.engagement-text { font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--text-dark); font-family: 'Work Sans', sans-serif; }

/* ─── CONTACT / REJOINDRE ─────────────────────────────────── */
.contact { background: var(--parchemin); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info { }
.contact-form-wrap { }
.contact-desc { font-size: 15px; font-weight: 400; line-height: 1.8; color: var(--text-mid); margin-bottom: 28px; font-family: 'Work Sans', sans-serif; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-icon { font-size: 14px; color: var(--rouge); width: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-val { font-size: 14px; font-weight: 400; color: var(--text-mid); font-family: 'Work Sans', sans-serif; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 6px; font-family: 'Work Sans', sans-serif;
}
.form-input, .form-textarea {
  width: 100%; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 400;
  padding: 12px 16px; border: 1.5px solid rgba(44,62,80,0.2); border-radius: 2px;
  background: var(--white); color: var(--text-dark); outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--rouge); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gris-moyen); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit {
  background: var(--rouge); color: var(--white);
  font-family: 'Work Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border: none; border-radius: 2px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--rouge-dark); }
.form-submit:disabled { opacity: .7; cursor: not-allowed; }
.contact-feedback { margin-bottom: 12px; padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.contact-feedback--ok  { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-feedback--err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--encre); padding: 64px 8% 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-size: 26px; font-weight: 700; color: var(--rouge-light); letter-spacing: -1px; margin-bottom: 6px; font-family: 'Libre Baskerville', serif; }
.footer-logo-sub { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-bottom: 16px; font-family: 'Work Sans', sans-serif; }
.footer-desc { font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.4); font-family: 'Work Sans', sans-serif; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or-light); margin-bottom: 20px; font-family: 'Work Sans', sans-serif; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; font-family: 'Work Sans', sans-serif; }
.footer-links a:hover { color: var(--or-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-icon { font-size: 13px; color: var(--rouge); width: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-value { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5); font-family: 'Work Sans', sans-serif; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.2); font-family: 'Work Sans', sans-serif; }
.footer-election-tag {
  background: var(--rouge); color: var(--white); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
}

/* ─── MODALE ARTICLE ──────────────────────────────────────── */
.pub-modal-overlay {
  display: flex; position: fixed; inset: 0;
  background: rgba(15, 25, 35, 0.92); z-index: 200;
  align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.pub-modal-overlay.open { opacity: 1; pointer-events: auto; }
.pub-modal-box {
  background: var(--white); border-radius: 3px; border-top: 3px solid var(--rouge);
  width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.pub-modal-overlay.open .pub-modal-box { transform: translateY(0) scale(1); }
.pub-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 0; }
.pub-modal-close {
  font-family: 'Work Sans', sans-serif;
  background: none; border: none; cursor: pointer;
  font-size: 18px; color: var(--text-muted); padding: 4px 8px;
  border-radius: 2px; line-height: 1; transition: background 0.15s, color 0.15s;
}
.pub-modal-close:hover { background: var(--parchemin); color: var(--text-dark); }
.pub-modal-body { padding: 16px 28px 32px; }
.pub-modal-title {
  font-size: 22px; font-weight: 700; color: var(--text-dark);
  line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 8px;
  font-family: 'Libre Baskerville', serif;
}
.pub-modal-meta {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
  margin-bottom: 24px; font-family: 'Work Sans', sans-serif;
  padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pub-modal-cover { width: 100%; max-height: 300px; object-fit: cover; border-radius: 3px; display: block; margin-bottom: 20px; }
.pub-modal-content { font-size: 15px; font-weight: 400; color: var(--text-mid); line-height: 1.8; white-space: pre-line; font-family: 'Work Sans', sans-serif; }

/* ─── SCROLL / UI HELPERS ─────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Progress bar */
#read-progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; width: 0%; background: var(--rouge); pointer-events: none;
  transition: width 0.1s linear;
}

/* ─── MOBILE HAMBURGER ─────────────────────────────────────── */
.hamburger {
  display: none; cursor: pointer; padding: 8px;
  background: none; border: none; font-size: 20px;
  color: rgba(255,255,255,0.7); line-height: 1; transition: color 0.2s;
}
.hamburger:hover { color: var(--or-light); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 18px;
  position: fixed; top: 66px; left: 0; right: 0;
  background: var(--encre); border-top: 2px solid var(--rouge);
  padding: 24px 8%; z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.mobile-menu.open { max-height: 520px; opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); font-family: 'Work Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Navbar scroll */
nav { transition: height 0.25s ease, box-shadow 0.25s ease; }
nav.nav--scrolled { height: 52px; box-shadow: 0 1px 0 rgba(0,0,0,0.2); }
@media (prefers-reduced-motion: no-preference) {
  nav { transition: height 0.25s ease, box-shadow 0.25s ease, transform 0.3s ease; }
  nav.nav--hidden { transform: translateY(-100%); }
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 1.5px; background: var(--rouge);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav-links a.nav--active { color: var(--or-light); }
.nav-links a.nav--active::after { transform: scaleX(1); }
.mobile-menu a.nav--active { color: var(--or-light); }

/* Hero animations */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes heroFadeLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes heroSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  @keyframes heroPhotoReveal {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
  }
  .ha-fade-up   { animation: heroFadeUp   0.5s ease both; }
  .ha-fade-left { animation: heroFadeLeft  0.6s ease both; }
  .ha-slide-up  { animation: heroSlideUp  0.5s ease both; }
  .ha-photo-reveal { animation: heroPhotoReveal 0.7s cubic-bezier(0.34,1.56,0.64,1) 300ms both; }
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  [class*="reveal-"] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .reveal-up    { transform: translateY(32px); }
  .reveal-left  { transform: translateX(-32px); }
  .reveal-right { transform: translateX(32px); }
  .reveal-scale { transform: translateY(18px) scale(0.97); }
}
[class*="reveal-"].is-visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }

/* Timeline */
@media (prefers-reduced-motion: no-preference) {
  .timeline::before {
    transform: scaleY(0); transform-origin: top;
    transition: transform 1.8s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .timeline.is-visible::before { transform: scaleY(1); }
  @keyframes dotPop {
    0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
    70%  { transform: scale(1.2) rotate(10deg);  opacity: 1; }
    100% { transform: scale(1)   rotate(0deg);   opacity: 1; }
  }
  .timeline-item {
    opacity: 0; transform: translateX(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .timeline-item.is-visible .timeline-icon {
    animation: dotPop 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
  }
}
.timeline-item.is-visible { opacity: 1; transform: none; }

/* Axes stagger */
@media (prefers-reduced-motion: no-preference) {
  .axe-points li {
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  @keyframes cardShine { to { left: 150%; } }
  .axe-card.featured::after {
    content: ''; position: absolute; top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-15deg); pointer-events: none;
  }
  .axe-card.featured:hover::after { animation: cardShine 0.7s ease forwards; }
}
.axe-points li.is-visible { opacity: 1; transform: none; }

/* Bouton ripple */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }
  .btn-ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.2); transform: scale(0); pointer-events: none;
    animation: rippleAnim 0.55s ease-out forwards;
  }
}

/* Menu mobile stagger */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu a { opacity: 0; transform: translateX(-10px); transition: opacity 0.25s ease, transform 0.25s ease; }
  .mobile-menu.open a { opacity: 1; transform: translateX(0); }
  .mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
  .mobile-menu.open a:nth-child(2) { transition-delay: 0.10s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: 0.20s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
  .mobile-menu.open a:nth-child(6) { transition-delay: 0.30s; }
}

/* Vision quote */
.vision-quote .word { display: inline-block; }

/* ─── VISION ──────────────────────────────────────────────── */
.vision { background: var(--ardoise); color: var(--white); text-align: center; padding: 100px 15%; }
.vision .section-eyebrow { justify-content: center; color: var(--or-light); }
.vision .section-title { color: var(--white); text-align: center; }
.vision .section-title .accent { color: var(--rouge-light); }
.vision-quote {
  font-size: clamp(18px, 2.8vw, 30px); font-style: italic; font-weight: 400;
  color: var(--or-light); line-height: 1.6; margin: 32px 0; position: relative;
  font-family: 'Libre Baskerville', serif;
}
.vision-quote::before {
  content: '"'; font-size: 110px; font-weight: 700; color: rgba(206,17,38,0.1);
  position: absolute; top: -36px; left: -20px; line-height: 1;
  font-family: 'Libre Baskerville', serif;
}
.vision-sub { font-size: 15px; font-weight: 400; line-height: 1.8; color: rgba(255,255,255,0.5); max-width: 600px; margin: 0 auto; font-family: 'Work Sans', sans-serif; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: block; height: 60vh; min-height: 340px; }
  .hero-left { padding: 110px 10% 48px; align-items: center; text-align: center; }
  .hero-tag { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .portrait-grid { grid-template-columns: 1fr; }
  .parcours-inner { grid-template-columns: 1fr; gap: 48px; }
  .axes-grid { grid-template-columns: 1fr; }
  .axe-card.featured { grid-column: span 1; }
  .engagements-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-header, .comparison-row { grid-template-columns: 1fr; }
  .comparison-col-header.reality, .comparison-row-reality { border-top: 1px solid rgba(255,255,255,0.06); }
  .vision { padding: 80px 8%; }
}

@media (max-width: 768px) {
  section { padding: 80px 6%; }
  .hero-right { height: 55vh; }
  .hero-date-banner { flex-wrap: wrap; gap: 8px 16px; }
  .hero-date-divider { display: none; }
  .pub-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 64px 5%; }
  .hero-right { height: 52vh; min-height: 260px; }
  .hero-left { padding: 90px 6% 36px; }
  .hero-title { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; }
  .stats-band { padding: 32px 5%; }
  .stat-number { font-size: 38px; }
  .axe-card { padding: 32px 24px; }
  .portrait-card { padding: 32px 28px; }
  .pub-modal-overlay { padding: 0; align-items: flex-end; }
  .pub-modal-box { border-radius: 12px 12px 0 0; max-height: 92vh; }
  .pub-modal-body { padding: 12px 20px 28px; }
  footer { padding: 48px 5% 28px; }
  .vision { padding: 64px 6%; }
  .vision-quote::before { display: none; }
}

@media (max-width: 480px) {
  .nav-brand-text span { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 30px; letter-spacing: -1px; }
  .engagement-item { gap: 12px; padding: 18px; }
}
