/* ===== Variables (palette reprise du template) ===== */
:root {
  --navy: #122238;
  --navy-2: #3e4d63;
  --blue: #0632b9;
  --red: #ba1c24;
  --red-dark: #9a151c;
  --light: #f5f5f5;
  --light-2: #edf0f5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(18, 34, 56, 0.12);
  --radius: 4px;
  --header-h: 113px;
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Roboto', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy-2);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--red); margin: 0 0 10px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: #ff8a8f; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.section-title--center { text-align: center; margin-bottom: 60px; }
.section-title--light { color: var(--white); }

/* ===== Boutons ===== */
.btn {
  display: inline-block; padding: 16px 36px; border: 2px solid transparent; border-radius: var(--radius);
  font: 700 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all .25s ease;
}
.btn--sm { padding: 12px 22px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); }
.btn--outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover, .btn--outline.is-active { background: var(--blue); color: var(--white); }

.link-arrow {
  font-weight: 700; color: var(--blue); text-decoration: none; text-transform: uppercase;
  font-size: 14px; letter-spacing: .06em;
}
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ===== En-tête ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; background: var(--navy);
  height: var(--header-h); display: flex; align-items: center; transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 2px; text-decoration: none; color: var(--white); line-height: 1; }
.logo__name { font: 400 38px 'Allura', cursive; white-space: nowrap; }
.logo__tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #ff8a8f; }
.logo--footer { color: var(--navy); }
.logo--footer .logo__name { font-size: 44px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 17px; position: relative;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--red); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; background: #f7f8fa;
  margin-top: var(--header-h); min-height: calc(100vh - var(--header-h));
  display: flex; align-items: stretch;
}
.hero__decor { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .07; pointer-events: none; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding-top: 60px;
}
.hero__content { padding-bottom: 80px; }
.hero__title { font-size: clamp(44px, 5vw, 68px); font-weight: 700; line-height: 1.1; margin-bottom: 50px; letter-spacing: -.01em; }
.hero__first, .hero__last { display: block; }
.hero__first { color: var(--blue); }
.hero__last { color: var(--red); }
.hero__quote { margin: 0 0 40px; max-width: 720px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.6; color: var(--navy); }
.hero__signature { font: 400 clamp(56px, 5vw, 76px)/1 'Allura', cursive; color: var(--red); }

.hero__visual { position: relative; align-self: stretch; min-height: 560px; }
.hero__photo {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 92%; width: auto; max-width: 100%; object-fit: cover; object-position: center top;
  mix-blend-mode: multiply; /* fond blanc de la photo fondu dans le fond de la section */
  /* Bords haut et côtés estompés pour ne pas voir le rectangle de la photo */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent, #000 15%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-composite: intersect;
}

/* ===== Biographie ===== */
.bio { position: relative; overflow: hidden; }
/* Trame de points discrète à droite */
.bio::before {
  content: ''; position: absolute; top: 25%; right: 0; width: 45%; height: 60%; pointer-events: none;
  background: radial-gradient(circle, rgba(18, 34, 56, .08) 2px, transparent 2.5px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
}
.bio .container { position: relative; }
.bio__title { font-size: clamp(34px, 5vw, 64px); font-weight: 900; text-align: center; margin-bottom: 36px; }
.bio__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--red); margin: 48px auto 0; }
.bio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 70px; }
.bio__image img { width: 100%; aspect-ratio: 713 / 507; object-fit: cover; border-radius: 8px; }
.bio__text p { margin: 0 0 1em; }
.bio__text .btn { margin-top: 30px; }

.btn--pill { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 18px; padding: 20px 40px; }

/* ===== Cartes ===== */
.cards { display: grid; gap: 30px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Priorités ===== */
.priorities {
  padding: 130px 0;
  /* Photo de fond définie dans index.php (modifiable dans l'admin) */
  background: linear-gradient(rgba(10, 52, 190, .93), rgba(10, 52, 190, .93)) center / cover;
  color: var(--white);
}
.priorities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; }
.priority__icon {
  width: 120px; height: 120px; margin: 0 auto 30px; display: block;
  fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.priority h3 { color: var(--white); font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 24px; }
.priority p { margin: 0 auto; max-width: 440px; font-size: 19px; line-height: 1.6; }

/* ===== Réalisations ===== */
.achievements { position: relative; overflow: hidden; background: #0f1f35; color: var(--white); }
/* Trame de points discrète à droite */
.achievements::before {
  content: ''; position: absolute; top: 20%; right: 0; width: 45%; height: 65%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 2px, transparent 2.5px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 70%);
}
.achievements .container { position: relative; max-width: 1500px; }
.achievements__title { color: var(--white); font-size: clamp(34px, 5vw, 64px); font-weight: 900; text-align: center; margin-bottom: 70px; }
.achievements__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--white); margin: 48px auto 0; }
.achievements__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 40px; max-width: 1460px; margin: 0 auto; padding-inline: 5%; }
.achievement { display: flex; align-items: flex-start; gap: 26px; }
.achievement__icon {
  flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center;
}
.achievement__icon svg {
  width: 48px; height: 48px; fill: none; stroke: var(--white); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.achievement h3 { color: var(--white); font-size: clamp(24px, 2.2vw, 32px); margin: 0 0 14px; }
.achievement p { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .92); }

/* ===== Enjeux ===== */
.issues__title { font-size: clamp(34px, 5vw, 64px); font-weight: 900; text-align: center; margin-bottom: 60px; }
.issues__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--red); margin: 40px auto 0; }
.issues__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.issue {
  background: var(--white); border-radius: 6px; box-shadow: 0 8px 30px rgba(18, 34, 56, .14);
  padding: 50px 36px 56px; text-align: center;
}
.issue__num { width: 80px; height: 80px; margin: 0 auto 26px; display: block; fill: none; stroke: var(--blue); stroke-width: 2.4; }
.issue__arc { stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; }
.issue__num text { fill: var(--blue); stroke: none; font: 400 34px var(--sans); }
.issue h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 24px; }
.issue p { margin: 0; font-size: 18px; line-height: 1.65; }
.issue__list { list-style: none; margin: 0; padding: 0; text-align: left; font-size: 18px; line-height: 1.6; }
.issue__list li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.issue__list li:last-child { margin-bottom: 0; }
.issue__list li::before {
  content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
}

/* ===== Problèmes ===== */
.problems { background: var(--light); }
.problems__title { font-size: clamp(34px, 5vw, 64px); font-weight: 900; text-align: center; margin-bottom: 60px; }
.problems__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--red); margin: 40px auto 0; }

/* ===== Carrousel ===== */
.slider { position: relative; padding: 0 56px; }
.slider__track {
  --per-view: 3; --gap: 38px;
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view)); margin: 0; scroll-snap-align: start; text-align: center; }
.slide__img {
  position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: #dfe3ea; display: grid; place-items: center;
}
/* Emplacement vide tant que la photo n'est pas déposée */
.slide__img::before { content: attr(data-label); color: #8a94a6; font: 500 18px var(--sans); }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.slide__img video, .slide__img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slide__img--video, .slide__img--youtube { background: #0d1522; }
.slide__img video { object-fit: contain; }
.slide figcaption { margin-top: 22px; font-size: 20px; color: var(--navy); }
.slider__arrow {
  position: absolute; top: calc(50% - 60px); width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer;
}
.slider__arrow svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow:disabled { opacity: .3; cursor: default; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__dots { display: flex; justify-content: center; gap: 22px; margin-top: 40px; }
.slider__dots button {
  width: 13px; height: 13px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue); opacity: .25; transition: opacity .25s;
}
.slider__dots button.is-active { opacity: .75; }

/* ===== Vos opinions ===== */
.opinion {
  padding: 120px 0;
  /* Photo de fond définie dans index.php (modifiable dans l'admin) */
  background: linear-gradient(rgba(18, 34, 56, .85), rgba(18, 34, 56, .85)) center 30% / cover;
  color: var(--white); text-align: center;
}
.opinion__title { color: var(--white); font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 30px; }
.opinion__signature { font: 400 clamp(56px, 5vw, 76px)/1 'Allura', cursive; color: var(--red); margin-bottom: 36px; }
.opinion p { margin: 0 auto 60px; max-width: 1000px; font-size: clamp(18px, 1.5vw, 22px); }

/* ===== Événements ===== */
.events { position: relative; overflow: hidden; background: #0632b9; color: var(--white); }
/* Trame de points discrète en fond */
.events::before {
  content: ''; position: absolute; inset: 25% 10% 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .09) 2.5px, transparent 3px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 72%);
}
.events .container { position: relative; }
.events__title { color: var(--white); font-size: clamp(34px, 5vw, 64px); font-weight: 900; text-align: center; margin-bottom: 50px; }
.events__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--white); margin: 48px auto 0; }
.events__intro { text-align: center; font-size: clamp(18px, 1.5vw, 22px); margin: 0 0 70px; }
.events__list { display: flex; flex-direction: column; }
.event {
  display: grid; grid-template-columns: 200px 1fr 300px auto; align-items: center; gap: 30px;
  padding: 30px 20px; border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.event:last-child { border-bottom: 0; }
.events__empty { text-align: center; font-size: 19px; margin: 0; color: rgba(255, 255, 255, .85); }
.event__day { font: 700 clamp(56px, 6vw, 96px)/1 var(--serif); color: var(--red); }
.event__when { display: block; font: 700 14px var(--serif); color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.event__info h3 { color: var(--white); font-size: clamp(24px, 2.2vw, 32px); margin: 0; }
.event__place strong { display: block; font-size: 18px; margin-bottom: 6px; }
.event__place span { font: 700 14px var(--serif); color: rgba(255, 255, 255, .7); }
.btn--ghost {
  background: transparent; border-color: var(--white); color: var(--white);
  border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 16px; padding: 13px 28px;
}
.btn--ghost:hover, .btn--ghost.is-active { background: var(--white); color: var(--blue); }

/* ===== Blog : section d'accueil et cartes d'aperçu ===== */
.blog { background: var(--white); }
.blog__head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.blog__eyebrow { margin: 0 0 14px; font: 700 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.blog__title { font-size: clamp(34px, 5vw, 64px); font-weight: 900; margin-bottom: 0; }
.blog__title::after { content: ''; display: block; width: 88px; height: 2px; background: var(--red); margin: 40px auto 0; }
.blog__intro { margin: 32px 0 0; font-size: clamp(18px, 1.5vw, 21px); }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.blog__all { text-align: center; margin-top: 60px; }
.blog__empty { text-align: center; font-size: 19px; margin: 0; }

.post-card {
  display: flex; flex-direction: column; min-width: 0; background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(18, 34, 56, .10); transition: transform .35s ease, box-shadow .35s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(18, 34, 56, .18); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font: 400 44px 'Allura', cursive; color: rgba(255, 255, 255, .85); }
.post-card__cat {
  position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: var(--white);
  font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 30px; }
.post-card__meta { margin: 0 0 12px; font-size: 14px; color: #6b7587; }
.post-card__meta span { margin: 0 4px; }
.post-card__title { font-size: 22px; line-height: 1.35; margin: 0 0 14px; }
.post-card__title a { text-decoration: none; color: var(--navy); transition: color .2s; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt {
  margin: 0 0 22px; font-size: 16.5px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__more { margin-top: auto; align-self: flex-start; color: var(--red); font-weight: 700; text-decoration: none; }
.post-card__more span { display: inline-block; transition: transform .25s; }
.post-card__more:hover span, .post-card:hover .post-card__more span { transform: translateX(5px); }

/* Accueil : un article à la une + deux articles compacts */
.blog__grid:has(.post-card--featured) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.post-card--featured { grid-row: span 2; }
.post-card--featured .post-card__media { aspect-ratio: auto; flex: 1; min-height: 300px; }
.post-card--featured .post-card__body { flex: none; padding: 32px 36px 36px; }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.3vw, 32px); }
.blog__grid:has(.post-card--featured) .post-card:not(.post-card--featured) { flex-direction: row; }
.blog__grid:has(.post-card--featured) .post-card:not(.post-card--featured) .post-card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.blog__grid:has(.post-card--featured) .post-card:not(.post-card--featured) .post-card__excerpt { -webkit-line-clamp: 2; }

/* ===== Blog : page liste ===== */
.page-hero {
  position: relative; overflow: hidden; margin-top: var(--header-h); padding: 90px 0 100px;
  background: var(--navy); color: rgba(255, 255, 255, .88); text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 2px, transparent 2.5px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero__title { color: var(--white); font-size: clamp(36px, 5vw, 62px); font-weight: 900; margin: 18px 0 20px; }
.page-hero__intro { max-width: 720px; margin: 0 auto; font-size: clamp(17px, 1.5vw, 21px); }
.page-hero--notfound .btn { margin-top: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.blog--page { background: var(--light); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(18, 34, 56, .15); background: var(--white);
  color: var(--navy); font-weight: 500; font-size: 15px; text-decoration: none; transition: all .2s;
}
.chip small { color: #8a94a6; margin-left: 4px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip.is-active small { color: rgba(255, 255, 255, .6); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a {
  min-width: 44px; padding: 10px 14px; border-radius: 8px; background: var(--white); border: 1px solid rgba(18, 34, 56, .12);
  color: var(--navy); text-decoration: none; text-align: center; font-weight: 500;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ===== Blog : page article ===== */
.post-hero {
  position: relative; overflow: hidden; margin-top: var(--header-h); min-height: clamp(440px, 64vh, 660px);
  display: flex; align-items: flex-end; background: var(--navy); color: var(--white);
}
.post-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 56, .25) 0%, rgba(18, 34, 56, .55) 45%, rgba(18, 34, 56, .94) 100%);
}
.post-hero--plain { min-height: 0; }
.post-hero--plain::after { background: radial-gradient(circle, rgba(255, 255, 255, .07) 2px, transparent 2.5px) 0 0 / 16px 16px; }
.post-hero__inner { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 60px; max-width: 1000px; }
.post-hero .breadcrumb { justify-content: flex-start; margin-bottom: 26px; }
.post-hero__cat {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--red);
  font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.post-hero__title { color: var(--white); font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; line-height: 1.15; margin: 20px 0 22px; text-wrap: balance; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.post-hero__meta strong { color: var(--white); }

.post__layout { display: grid; grid-template-columns: 56px minmax(0, 760px); justify-content: center; gap: 56px; padding-top: 70px; padding-bottom: 90px; }
.share { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.share__label { font: 700 11px var(--sans); letter-spacing: .15em; text-transform: uppercase; color: #8a94a6; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.share__btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(18, 34, 56, .15); background: var(--white); color: var(--navy); cursor: pointer; transition: all .2s;
}
.share__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share__btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.share__btn.is-done { background: #15803d; border-color: #15803d; color: var(--white); }

.post__lead { margin: 0 0 40px; font: 400 clamp(19px, 1.7vw, 23px)/1.65 var(--serif); color: var(--navy); }
.prose { font-size: 18.5px; line-height: 1.85; color: #2f3b4d; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.4em; }
.prose h2 { font-size: clamp(25px, 2.4vw, 31px); margin: 2em 0 .7em; }
.prose h3 { font-size: clamp(21px, 2vw, 25px); margin: 1.8em 0 .6em; }
.prose h4 { font-size: 19px; margin: 1.6em 0 .5em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.prose li { margin-bottom: .55em; padding-left: .3em; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose blockquote {
  margin: 2.2em 0; padding: 6px 0 6px 32px; border-left: 4px solid var(--red);
  font: italic 400 clamp(20px, 1.9vw, 24px)/1.6 var(--serif); color: var(--navy);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { height: auto; border-radius: 10px; margin: 2.2em auto; }
.prose figure { margin: 2.4em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: 12px; text-align: center; font-size: 14.5px; line-height: 1.5; color: #6b7587; }
.prose video, .prose iframe {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9;
  margin: 2.2em 0; border: 0; border-radius: 10px; background: #0d1522;
}
.prose video { object-fit: contain; }
.prose figure video, .prose figure iframe { margin: 0; }
/* Galerie : 3 colonnes (2 si elle contient 2 ou 4 photos) */
.prose figure.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 2.4em 0; }
.prose figure.gallery:has(> img:nth-of-type(2):last-of-type),
.prose figure.gallery:has(> img:nth-of-type(4):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose figure.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 8px; }
.prose figure.gallery:has(> img:only-of-type) { grid-template-columns: 1fr; }
.prose figure.gallery:has(> img:only-of-type) img { aspect-ratio: auto; }
.prose figure.gallery figcaption { grid-column: 1 / -1; margin-top: 4px; }
.prose img:not(a img) { cursor: zoom-in; transition: opacity .2s; }
.prose img:not(a img):hover { opacity: .9; }

/* Visionneuse plein écran des photos d'article */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 60px 70px; background: rgba(8, 14, 24, .95); color: var(--white);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__figure figcaption { margin-top: 16px; max-width: 800px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lightbox__figure figcaption:empty { display: none; }
.lightbox button {
  position: absolute; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: var(--white); font: 400 34px/1 var(--sans); transition: background .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button[hidden] { display: none; }
.lightbox__close { top: 16px; right: 16px; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__count { position: absolute; top: 26px; left: 24px; font-size: 14px; color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) {
  .prose figure.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .lightbox { padding: 60px 10px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}

.prose hr { border: 0; height: 1px; background: var(--light-2); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--light-2); text-align: left; }
.prose th { background: var(--light); color: var(--navy); }
.prose pre { background: var(--light); padding: 16px 20px; border-radius: 8px; overflow-x: auto; font-size: 15px; }

.author-box { display: flex; gap: 24px; align-items: flex-start; margin-top: 60px; padding: 30px; border-radius: 14px; background: var(--light); }
.author-box img { flex: none; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0 0 10px; font-size: 16.5px; }
.author-box__name { font: 700 20px var(--serif); color: var(--navy); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.post-nav__link {
  display: block; padding: 20px 24px; border-radius: 12px; border: 1px solid rgba(18, 34, 56, .12);
  text-decoration: none; color: var(--navy); font: 700 17px/1.4 var(--serif); transition: border-color .2s, box-shadow .2s;
}
.post-nav__link small { display: block; margin-bottom: 6px; font: 500 13px var(--sans); color: var(--red); }
.post-nav__link:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(18, 34, 56, .1); }
.post-nav__link--next { text-align: right; grid-column: 2; }
.blog--related { background: var(--light); }
.draft-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0c75e; color: #6b4d00;
  font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.draft-banner a { color: var(--blue); font-weight: 700; margin-left: 8px; }
.nav a.is-active::after { width: 100%; }

/* ===== Contact ===== */
.contact { position: relative; overflow: hidden; padding: 80px 0; background: linear-gradient(90deg, #e9ecf0, #f4f5f7); }
/* Photo pleine hauteur sur la moitié droite (fond gris clair tant qu'elle n'est pas déposée) */
.contact__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact .container { position: relative; }
.contact__card {
  max-width: 713px; background: var(--white); border-radius: 4px; box-shadow: 0 10px 40px rgba(18, 34, 56, .16);
  padding: 100px 100px 90px; text-align: center;
}
.contact__title { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 40px; }
.contact__title span { color: var(--red); }
.contact__intro { font-size: 20px; line-height: 1.55; margin: 0 0 40px; }
.form { display: flex; flex-direction: column; gap: 30px; text-align: left; }
.form input, .form textarea {
  width: 100%; padding: 13px 30px; border: 2px solid transparent; border-radius: 26px;
  font: 17px var(--sans); color: var(--navy); background: #e3e5e9; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: #6b7280; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form .is-invalid { border-color: var(--red); }
.form .btn { margin-top: 40px; width: 100%; padding: 13px 20px; }
.form__success { margin: 0; color: var(--blue); font-weight: 700; text-align: center; }
.form__error { margin: 0; color: var(--red); font-weight: 700; text-align: center; }
/* Champ piège anti-robots : jamais visible (sélecteur plus fort que « .form input ») */
.form .form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ===== Pied de page ===== */
.footer { background: var(--white); color: var(--navy-2); padding: 90px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.footer__col { text-align: center; }
.footer__col h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 26px; }
.footer__col a { color: var(--red); text-decoration: none; font-size: 19px; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--light-2); padding: 24px 20px; font-size: 14px; }
.footer__bottom p { margin: 0; }

/* ===== Animation d'apparition ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  :root { --header-h: 80px; }
  .section { padding: 70px 0; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .hero__content { padding-bottom: 20px; text-align: center; }
  .hero__title { font-size: min(11vw, 56px); margin-bottom: 24px; }
  .hero__quote { margin-inline: auto; margin-bottom: 24px; }
  .hero__signature { font-size: clamp(44px, 12vw, 64px); }
  .hero__visual { min-height: min(460px, 115vw); max-width: 560px; width: 100%; margin: 0 auto; }
  .logo__name { font-size: 32px; }
  .bio__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__photo { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact__card { margin: 0 auto; padding: 60px 40px; }
  .slider__track { --per-view: 2; --gap: 24px; }
  .event { grid-template-columns: 110px 1fr 1fr auto; gap: 20px; }
  .issues__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 40px; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .bio__grid { margin-top: 40px; }
  .bio__image { max-width: 640px; }
  .blog__grid, .blog__grid:has(.post-card--featured) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .post-card--featured { grid-column: 1 / -1; grid-row: auto; }
  .post-card--featured .post-card__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
  .blog__grid:has(.post-card--featured) .post-card:not(.post-card--featured) { flex-direction: column; }
  .blog__grid:has(.post-card--featured) .post-card:not(.post-card--featured) .post-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .post__layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .share { position: static; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 36px; }
  .share__label { writing-mode: horizontal-tb; transform: none; margin: 0 6px 0 0; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 80vw); background: var(--navy);
    flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px;
    transform: translateX(100%); transition: transform .35s ease, box-shadow .35s ease;
  }
  .nav.is-open { transform: none; box-shadow: -10px 0 30px rgba(0,0,0,.3); }
  .nav a:not(.btn) { font-size: 20px; }
  .burger { position: relative; z-index: 2; }
}
@media (max-width: 640px) {
  .header .logo__name { font-size: min(32px, 8vw); }
  .logo--footer .logo__name { font-size: min(44px, 10vw); }
  .slider { padding: 0 40px; }
  .slider__track { --per-view: 1; }
  .slider__arrow { width: 32px; height: 32px; }
  .contact__card { padding: 44px 22px; }
  .contact__intro { font-size: 17px; }
  .form { gap: 18px; }
  .cards--3, .priorities__grid, .achievements__grid { grid-template-columns: 1fr; }
  .achievements__grid { padding-inline: 0; }
  .achievement { gap: 18px; }
  .achievement__icon { width: 64px; height: 64px; }
  .achievement__icon svg { width: 36px; height: 36px; }
  .priorities { padding: 80px 0; }
  .event { grid-template-columns: auto 1fr; gap: 16px 24px; padding: 30px 0; }
  .event__place { grid-column: 1 / -1; }
  .event .btn { grid-column: 1 / -1; width: 100%; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__col { text-align: left; }
  .footer__col h3 { margin-bottom: 10px; }
  .blog__head { margin-bottom: 44px; }
  .blog__grid, .blog__grid:has(.post-card--featured) { grid-template-columns: minmax(0, 1fr); }
  .post-card__body, .post-card--featured .post-card__body { padding: 22px 22px 26px; }
  .page-hero { padding: 60px 0 70px; }
  .post-hero { min-height: 420px; }
  .post-hero__inner { padding-top: 50px; padding-bottom: 40px; }
  .prose { font-size: 17.5px; }
  .prose blockquote { padding-left: 20px; }
  .author-box { flex-direction: column; padding: 24px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { grid-column: auto; }
}
