/* ============================================================
   El Houcine Nasrollah · Campagne 2026
   Design v2 : moderne, laïc, photo d'abord
   Émeraude, ambre, nuit, sable. Archivo / Inter / Tajawal.
   ============================================================ */

:root {
  --nuit: #0c1310;
  --encre: #131a16;
  --encre-70: rgba(19, 26, 22, 0.72);
  --encre-45: rgba(19, 26, 22, 0.5);
  --sable: #f7f6f2;
  --menthe: #e9f3ec;
  --vert: #0e7a55;
  --vert-vif: #12a06b;
  --vert-fonce: #0a5c40;
  --ambre: #f0a63c;
  --ambre-fonce: #d98d1f;
  --blanc: #ffffff;
  --ivoire: var(--sable);
  --papier: var(--blanc);
  --or: var(--ambre);
  --or-clair: #f6c473;
  --vert-pale: var(--menthe);
  --rouge: #c0392b;

  --f-display: "Archivo", "Segoe UI", sans-serif;
  --f-serif: "Inter", "Segoe UI", sans-serif;
  --f-sans: "Inter", "Segoe UI", sans-serif;
  --f-ar: "Tajawal", "Segoe UI", sans-serif;

  --w-max: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);
  --r: 16px;
  --r-s: 10px;
  --ombre: 0 10px 30px rgba(12, 19, 16, 0.08);
  --ombre-forte: 0 24px 60px rgba(12, 19, 16, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--sable);
  color: var(--encre);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--vert); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- utilitaires ---------- */
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x); }

.eyebrow {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 4px;
  border-radius: 99px;
  background: var(--ambre);
  flex: none;
}

.ar { font-family: var(--f-ar); direction: rtl; }

h1, h2, h3 { font-family: var(--f-display); }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 19, 16, 0.07);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(12, 19, 16, 0.08); }
.nav-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-seal {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-fonce) 100%);
  flex: none;
}
.nav-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav-name small {
  display: block;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-45);
}
.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 99px;
  color: var(--encre-70);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--vert); background: var(--menthe); }
.nav-links a.active { color: #fff; background: var(--vert); }
.nav-links a[href="livres.html"] {
  color: var(--nuit);
  background: var(--ambre);
  font-weight: 700;
}
.nav-links a[href="livres.html"]:hover { background: var(--or-clair); }
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--encre); transition: 0.3s; }

@media (max-width: 1020px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(12, 19, 16, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 14px var(--pad-x) 22px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    gap: 4px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 12px 16px; font-size: 15px; border-radius: 12px; }
}

/* ---------- boutons ---------- */
.btn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 99px;
  border: 2px solid var(--encre);
  color: var(--encre);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: inline-block;
}
.btn:hover { transform: translateY(-2px); background: var(--encre); color: #fff; }
.btn.plein {
  background: var(--vert);
  border-color: var(--vert);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 122, 85, 0.3);
}
.btn.plein:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); }
.btn.ambre {
  background: var(--ambre);
  border-color: var(--ambre);
  color: var(--nuit);
  box-shadow: 0 10px 24px rgba(240, 166, 60, 0.35);
}
.btn.ambre:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--nuit); }

/* ---------- badge / chip ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--menthe);
  color: var(--vert-fonce);
  border: 1px solid rgba(14, 122, 85, 0.25);
}
.badge .pt { width: 8px; height: 8px; border-radius: 50%; background: var(--ambre); }

/* ---------- héros v2 ---------- */
.hero-v2 {
  position: relative;
  padding: clamp(120px, 15vw, 170px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(18, 160, 107, 0.1), transparent 60%),
    var(--sable);
  overflow: hidden;
}
.hero-v2 .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-v2 h1 {
  font-weight: 900;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 20px 0 8px;
}
.hero-v2 h1 .filet { color: var(--vert); }
.hero-slogan {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--encre);
  margin: 14px 0 6px;
}
.hero-slogan .ar-slogan {
  font-family: var(--f-ar);
  font-weight: 700;
  color: var(--vert);
  margin-right: 6px;
}
.hero-sous {
  font-size: 17px;
  color: var(--encre-70);
  max-width: 540px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.proof {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.1);
  box-shadow: var(--ombre);
  color: var(--encre-70);
}
.proof b { color: var(--vert); font-weight: 800; }

.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  aspect-ratio: 0.92;
  background: var(--nuit);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 16, 0) 55%, rgba(12, 19, 16, 0.55) 100%);
}
.hero-photo .photo-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
}
.hero-photo .photo-tag b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 16px;
}
.hero-photo .photo-badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  background: var(--ambre);
  color: var(--nuit);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
@media (max-width: 900px) {
  .hero-v2 .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 480px; }
}

/* ---------- bandeau chiffres ---------- */
.hero-strip {
  background: var(--nuit);
  color: #fff;
}
.strip-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 30px 18px 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.strip-item:last-child { border-right: none; }
.strip-item + .strip-item { padding-left: 22px; }
.strip-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 40px);
  color: #fff;
  line-height: 1.1;
}
.strip-num sup { font-size: 0.42em; color: var(--ambre); font-weight: 800; }
.strip-lab {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}
@media (max-width: 820px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.09); }
}

/* ---------- sections ---------- */
.folio { padding: clamp(64px, 8vw, 110px) 0; }
.folio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}
.folio-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 14px;
  max-width: 760px;
}
.folio-num {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-45);
  white-space: nowrap;
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.1);
  border-radius: 99px;
  padding: 9px 16px;
}
.folio-num b { color: var(--ambre-fonce); }
@media (max-width: 700px) {
  .folio-head { flex-direction: column; align-items: flex-start; }
}

.sombre { background: var(--nuit); color: #fff; }
.sombre .eyebrow { color: var(--vert-vif); }
.sombre .folio-num { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.vert-bloc { background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert) 100%); color: #fff; }
.vert-bloc .eyebrow { color: #fff; }
.vert-bloc .eyebrow::before { background: var(--ambre); }
.papier-bloc { background: #fff; }

/* ---------- cartes ---------- */
.grille { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } }

.carte {
  background: var(--blanc);
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: var(--r);
  padding: 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--encre);
  box-shadow: var(--ombre);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); }
.carte-ref {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambre-fonce);
}
.carte h3 {
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.carte p { font-size: 14.5px; color: var(--encre-70); }
.carte .chif { font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--vert); }
.carte-lien {
  margin-top: auto;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--vert);
  text-decoration: none;
}
.carte-lien::after { content: " →"; color: var(--ambre-fonce); }
.carte-lien:hover { text-decoration: underline; }

/* ---------- citation ---------- */
.citation { text-align: center; max-width: 900px; margin: 0 auto; }
.citation .ar-quote {
  font-family: var(--f-ar);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.5;
  color: #fff;
}
.citation .fr-quote {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
}
.citation figcaption {
  margin-top: 24px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambre);
}

/* ---------- frise chronologique ---------- */
.frise { position: relative; margin-top: 10px; }
.frise::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--vert) 0%, var(--ambre) 100%);
  opacity: 0.25;
}
.frise-item {
  display: grid;
  grid-template-columns: 100px 60px 1fr;
  align-items: start;
  padding: 22px 0;
}
.frise-an {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--vert);
  text-align: right;
}
.frise-point { position: relative; height: 100%; }
.frise-point::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ambre);
  border: 3px solid var(--sable);
  box-shadow: 0 0 0 2px var(--ambre);
}
.frise-txt h3 { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.frise-txt p { font-size: 14.5px; color: var(--encre-70); max-width: 640px; }
@media (max-width: 640px) {
  .frise::before { left: 8px; }
  .frise-item { grid-template-columns: 1fr; padding-left: 34px; position: relative; }
  .frise-an { text-align: left; margin-bottom: 4px; }
  .frise-point { display: none; }
  .frise-item::before {
    content: "";
    position: absolute;
    left: 3px; top: 32px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--ambre);
  }
}

/* ---------- tableaux ---------- */
.registre-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.08);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.registre-table th {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  background: var(--vert);
  padding: 15px 18px;
}
.registre-table td {
  padding: 16px 18px;
  border-top: 1px solid rgba(12, 19, 16, 0.07);
  font-size: 14.5px;
  vertical-align: top;
}
.registre-table td:first-child { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 640px; }

/* ---------- filtres ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filtres .grp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 0; }
.grp-lab {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-45);
  margin-right: 4px;
}
.chip {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 12.5px;
  padding: 8px 16px;
  border: 1px solid rgba(12, 19, 16, 0.14);
  background: #fff;
  cursor: pointer;
  border-radius: 99px;
  color: var(--encre-70);
  transition: 0.2s;
}
.chip:hover { border-color: var(--vert); color: var(--vert); }
.chip.on { background: var(--vert); border-color: var(--vert); color: #fff; }
.compte {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--encre-45);
  margin-bottom: 18px;
}

/* ---------- presse ---------- */
.presse-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .presse-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .presse-grille { grid-template-columns: 1fr; } }

.presse-carte {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  box-shadow: var(--ombre);
  transition: transform 0.3s, box-shadow 0.3s;
}
.presse-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); }
.presse-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.presse-meta .src { color: var(--vert); }
.presse-meta .dt { color: var(--encre-45); }
.presse-carte h3 { font-family: var(--f-sans); font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.presse-carte h3.ar { font-family: var(--f-ar); font-size: 18px; line-height: 1.55; font-weight: 700; }
.presse-carte p { font-size: 13.5px; color: var(--encre-70); }
.presse-tags { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.tag {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--menthe);
  color: var(--vert-fonce);
}
.tag.lang { background: rgba(240, 166, 60, 0.15); color: var(--ambre-fonce); }

/* ---------- vidéos ---------- */
.videos-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .videos-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .videos-grille { grid-template-columns: 1fr; } }

.video-carte {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ombre);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); }
.video-fenetre {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--nuit);
  cursor: pointer;
  overflow: hidden;
}
.video-fenetre img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.4s;
}
.video-fenetre:hover img { transform: scale(1.04); }
.video-fenetre iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.sceau-lecture { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sceau-lecture span {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--vert);
  font-size: 19px;
  padding-left: 4px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.video-fenetre:hover .sceau-lecture span { transform: scale(1.1); background: var(--ambre); color: var(--nuit); }
.video-infos { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-infos h3 { font-family: var(--f-sans); font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.video-infos h3.ar { font-family: var(--f-ar); font-size: 17px; line-height: 1.55; }
.video-infos p { font-size: 13px; color: var(--encre-70); }

/* ---------- tribunes ---------- */
.tribune {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-left: 5px solid var(--ambre);
  border-radius: var(--r);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  text-decoration: none;
  box-shadow: var(--ombre);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 18px;
}
.tribune:hover { transform: translateX(6px); box-shadow: var(--ombre-forte); }
.tribune .t-ar {
  font-family: var(--f-ar);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  direction: rtl;
  text-align: right;
  color: var(--vert-fonce);
}
.tribune .t-fr { font-weight: 600; font-size: 15.5px; color: var(--encre-70); margin-top: 4px; }
.tribune p { font-size: 14px; color: var(--encre-70); margin-top: 10px; max-width: 640px; }
.tribune .t-date {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-45);
  white-space: nowrap;
}
@media (max-width: 640px) { .tribune { grid-template-columns: 1fr; } }

/* ---------- études de cas ---------- */
.cas {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.08);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--ombre);
  margin-bottom: 26px;
}
.cas-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 30px;
  border-bottom: 1px solid rgba(12, 19, 16, 0.07);
  background: var(--menthe);
}
.cas-head h3 { font-weight: 800; font-size: 23px; letter-spacing: -0.01em; }
.cas-ref {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  background: #fff;
  border-radius: 99px;
  padding: 7px 14px;
}
.cas-corps { padding: 26px 30px 30px; }
.cas-corps p { margin-bottom: 14px; color: var(--encre-70); font-size: 15px; max-width: 900px; }
.cas-corps p strong { color: var(--encre); }
.cas-chiffres {
  display: flex; flex-wrap: wrap; gap: 34px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(12, 19, 16, 0.08);
  margin-top: 18px;
}
.cas-chiffres .cc b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--vert);
  display: block;
}
.cas-chiffres .cc span {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-45);
}

/* ---------- contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }
.contact-bloc {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--ombre);
}
.contact-bloc h3 { font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.contact-bloc .lig {
  display: flex; gap: 10px; align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(12, 19, 16, 0.07);
  font-size: 14.5px;
}
.contact-bloc .lig .k {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-45);
  min-width: 120px;
}
.contact-bloc .lig a { color: var(--vert); text-decoration: none; font-weight: 600; }
.contact-bloc .lig a:hover { text-decoration: underline; }

/* ---------- galerie ---------- */
.galerie-grille { columns: 3 300px; column-gap: 22px; }
.photo-carte {
  display: block;
  break-inside: avoid;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: var(--r);
  padding: 10px 10px 14px;
  cursor: zoom-in;
  box-shadow: var(--ombre);
  transition: transform 0.3s, box-shadow 0.3s;
}
.photo-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); }
.photo-carte .cadre { border-radius: var(--r-s); overflow: hidden; background: var(--menthe); }
.photo-carte img { width: 100%; height: auto; display: block; }
.photo-carte figcaption { padding: 12px 8px 0; }
.photo-carte .leg { font-size: 13.5px; line-height: 1.5; color: var(--encre); font-weight: 500; }
.photo-carte .cred {
  margin-top: 6px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-45);
}
.photo-carte .cred a { color: var(--vert); text-decoration: none; }
.photo-carte .cred a:hover { text-decoration: underline; }

/* portrait encadré */
.portrait-cadre {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.08);
  border-radius: var(--r);
  padding: 10px 10px 14px;
  box-shadow: var(--ombre-forte);
  max-width: 380px;
}
.portrait-cadre .cadre { border-radius: var(--r-s); overflow: hidden; }
.portrait-cadre img { width: 100%; height: auto; display: block; }
.portrait-cadre figcaption {
  padding-top: 11px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-45);
  text-align: center;
}
.hero-avec-portrait .hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: center;
}
.hero-portrait { justify-self: end; }
@media (max-width: 960px) {
  .hero-avec-portrait .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { display: none; }
}
.bio-portrait { float: right; margin: 0 0 24px 34px; }
@media (max-width: 760px) { .bio-portrait { float: none; margin: 0 auto 28px; } }

/* visionneuse */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 19, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  cursor: zoom-out;
}
.visionneuse.ouverte { display: flex; }
.visionneuse figure {
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visionneuse img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-s);
  background: var(--nuit);
}
.visionneuse figcaption { color: #fff; font-size: 15px; text-align: center; }
.visionneuse .v-cred {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambre);
  text-align: center;
  margin-top: 4px;
}
.visionneuse .v-fermer {
  position: absolute;
  top: 20px; right: 26px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}
.visionneuse .v-fermer:hover { background: var(--ambre); color: var(--nuit); border-color: var(--ambre); }

/* ---------- livres ---------- */
.livres-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
@media (max-width: 640px) { .livres-grille { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.livre-carte {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ombre);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--encre);
}
.livre-carte:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.livre-cover { aspect-ratio: 0.72; background: var(--nuit); }
.livre-cover img, .livre-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.livre-infos { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.livre-infos .num {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ambre-fonce);
}
.livre-infos h3 { font-weight: 800; font-size: 20px; line-height: 1.22; }
.livre-infos p { font-size: 14px; color: var(--encre-70); }
.livre-infos .gratuit {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--vert);
}
.livre-infos .gratuit::after { content: "→"; color: var(--ambre-fonce); }

/* formulaire lead */
.form-lead {
  background: #fff;
  border: 1px solid rgba(12, 19, 16, 0.08);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--ombre-forte);
  max-width: 560px;
}
.form-lead h3 { font-weight: 800; font-size: 24px; margin-bottom: 6px; }
.form-lead .sous-form { font-size: 14.5px; color: var(--encre-70); margin-bottom: 20px; }
.form-lead label {
  display: block;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-45);
  margin: 14px 0 6px;
}
.form-lead input {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 15.5px;
  padding: 14px 16px;
  border: 1.5px solid rgba(12, 19, 16, 0.16);
  border-radius: 12px;
  background: var(--sable);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-lead input:focus { border-color: var(--vert); box-shadow: 0 0 0 3px rgba(14, 122, 85, 0.15); }
.form-lead button { width: 100%; margin-top: 20px; }
.form-lead .rgpd { font-size: 12px; color: var(--encre-45); margin-top: 14px; line-height: 1.5; }
.form-merci { display: none; }
.form-merci.visible { display: block; }
.form-merci .telechargements { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

/* bande CTA finale */
.cta-band {
  background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert) 60%, var(--vert-vif) 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--ombre-forte);
}
.cta-band h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.85); font-size: 15.5px; max-width: 520px; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- pied de page ---------- */
.footer {
  background: var(--nuit);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 30px;
}
.footer-grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 820px) { .footer-grille { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 16px;
}
.footer .f-nom { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: #fff; }
.footer .f-nom-ar { font-family: var(--f-ar); font-weight: 700; font-size: 20px; color: var(--vert-vif); margin-top: 4px; }
.footer p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 380px; }
.footer ul { list-style: none; }
.footer ul li { padding: 5px 0; }
.footer ul a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--ambre); }
.footer-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-family: var(--f-sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- révélations ---------- */
.rev { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rev.vu { opacity: 1; transform: none; }
.rev-d1 { transition-delay: 0.08s; }
.rev-d2 { transition-delay: 0.16s; }
.rev-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { opacity: 1; transform: none; transition: none; }
  .carte:hover, .presse-carte:hover, .video-carte:hover, .tribune:hover, .livre-carte:hover, .photo-carte:hover { transform: none; }
  .btn:hover { transform: none; }
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ambre);
  outline-offset: 2px;
}

/* ---------- en-tête de page intérieure ---------- */
.page-tete {
  padding: clamp(120px, 15vw, 180px) 0 clamp(36px, 5vw, 60px);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(18, 160, 107, 0.1), transparent 60%),
    var(--sable);
  border-bottom: 1px solid rgba(12, 19, 16, 0.07);
}
.page-tete h1 {
  font-weight: 900;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
  max-width: 900px;
}
.page-tete .sous {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--encre-70);
  max-width: 720px;
}

/* anciens éléments neutralisés */
.hero-watermark { display: none; }
.hero-ledger { display: none; }
