/* ==========================================================================
   MALIANZ PHARMA — Système de design
   --------------------------------------------------------------------------
   Direction : dossier réglementaire / rapport annuel.
   Fond papier, filets fins, titres en Spectral, données en Plex Mono.
   Le seul accent vif est le disque lime — le point du « i » du logotype.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --ink:        #06170d;
  --forest:     #0b3b21;
  --forest-2:   #0f4a2a;
  --forest-3:   #135a33;
  --green:      #1f7a3c;
  --lime:       #c8d126;
  --lime-deep:  #6e7500;

  /* Neutres papier */
  --paper:      #fbfcf8;
  --paper-2:    #eef2e7;
  --paper-3:    #e4ead9;
  --rule:       #d5decb;
  --rule-soft:  #e6ebdf;
  --muted:      #56645a;

  /* Sur fond sombre */
  --on-forest:        #f2f7ef;
  --on-forest-muted:  #a9c2b1;
  --rule-dark:        rgba(255, 255, 255, .16);

  /* Typographie */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-ui:      'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

  /* Échelle typographique fluide */
  --t-hero:  clamp(2.3rem, 1.35rem + 2.6vw, 3.4rem);
  --t-h1:    clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem);
  --t-h2:    clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  --t-h3:    clamp(1.15rem, 1rem + .5vw, 1.4rem);
  --t-lead:  clamp(1.05rem, .98rem + .38vw, 1.28rem);
  --t-body:  1.0625rem;
  --t-small: .9375rem;
  --t-mono:  .75rem;

  /* Rythme (base 4) */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter:    clamp(1.25rem, .5rem + 3vw, 3rem);

  --radius:    4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(6, 23, 13, .05);
  --shadow:    0 18px 40px -24px rgba(6, 23, 13, .28);

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --dur:       .28s;

  --z-nav: 100;
  --z-float: 500;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--t-body);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--green); text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--lime); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: var(--gutter);
  z-index: 999;
  transform: translateY(-120%);
  padding: .75rem 1.25rem;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--prose { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight   { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--flush-t { padding-top: 0; }
.section--flush-b { padding-bottom: 0; }
.section--paper2  { background: var(--paper-2); }
.section--forest  { background: var(--forest); color: var(--on-forest); }

.rule { height: 1px; border: 0; margin: 0; background: var(--rule); }

/* Icônes */
.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--solid { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   4. Micro-typographie de marque
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin: 0 0 var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.section--forest .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--lime); }

.lead {
  max-width: 58ch;
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--muted);
}
.section--forest .lead,
.hero .lead,
.page-hero .lead { color: var(--on-forest-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2 { font-size: var(--t-h2); }
.section-head .lead { margin-top: var(--s-4); }

/* Filet d'index : petite légende monospace au-dessus d'un bloc */
.caption {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .9375rem 1.625rem;
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d5de3a; }

.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-2); }

.btn--outline { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.btn--ghost { border-color: var(--rule-dark); color: var(--on-forest); background: transparent; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn--block { width: 100%; justify-content: center; }

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--green);
}
.arrow-link .icon { width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease); }
.arrow-link:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Barre supérieure
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--forest);
  color: var(--on-forest-muted);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 2.5rem;
  flex-wrap: wrap;
}
.topbar__contacts { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.topbar__contacts a,
.topbar__contacts span { display: inline-flex; align-items: center; gap: .4375rem; padding-block: .375rem; color: inherit; }
.topbar__contacts a:hover { color: var(--lime); }
.topbar .icon { width: .875rem; height: .875rem; color: var(--lime); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
}
.lang .icon { width: .875rem; height: .875rem; color: var(--lime); }
.lang select {
  padding: .3125rem 1.375rem .3125rem .5rem;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .04em;
  color: var(--on-forest);
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8d126' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right .1rem center / .7rem;
  border: 1px solid var(--rule-dark);
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
}
.lang select:hover { border-color: var(--lime); }
.lang select option { color: var(--ink); background: #fff; }

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(251, 252, 248, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 4.5rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 2.125rem; width: auto; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  margin-right: -.5rem;
  color: var(--forest);
}
.nav__toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

.nav__menu { display: flex; align-items: center; gap: .125rem; }
.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .625rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--green); background: var(--paper-2); }
.nav__link .icon { width: .75rem; height: .75rem; opacity: .55; }

/* onglet actif : disque lime */
.nav__link[aria-current="page"] { color: var(--green); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .1rem;
  width: .3125rem; height: .3125rem;
  margin-left: -.15625rem;
  border-radius: 50%;
  background: var(--lime);
}

.nav__cta {
  margin-left: var(--s-3);
  padding: .75rem 1.375rem;
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--forest);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease);
}
.nav__cta:hover { background: var(--forest-2); }

/* Sous-menu */
.nav__submenu {
  position: absolute;
  top: calc(100% + .375rem);
  left: 0;
  min-width: 19rem;
  padding: .375rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.375rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .75rem;
  font-size: .9375rem;
  color: var(--ink);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__submenu a:hover { background: var(--paper-2); color: var(--green); }
.nav__submenu .icon { width: 1.0625rem; height: 1.0625rem; color: var(--green); }

/* --------------------------------------------------------------------------
   8. Héros — la thèse
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--on-forest);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

/* Colonne illustration */
.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero h1 {
  font-size: var(--t-hero);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.hero .lead { margin-top: var(--s-5); max-width: 44ch; }
.hero__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   9. LE PARCOURS — élément signature
   Rail horizontal jalonné, parcouru par le disque lime du logotype.
   L'ordre porte une vraie information : c'est la séquence réglementaire.
   -------------------------------------------------------------------------- */
.parcours { position: relative; }

.parcours__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.parcours__head h2 { font-size: var(--t-h2); }
.parcours__head .caption { color: var(--muted); }

.parcours__rail {
  position: relative;
  height: 1px;
  margin-bottom: var(--s-6);
  background: var(--rule);
}
.section--forest .parcours__rail,
.hero .parcours__rail { background: var(--rule-dark); }

.parcours__disc {
  position: absolute;
  top: 50%;
  left: 10%;
  width: .875rem; height: .875rem;
  margin: -.4375rem 0 0 -.4375rem;
  border-radius: 50%;
  background: var(--lime);
  transition: left .9s var(--ease);
}
.parcours__disc::after {
  content: "";
  position: absolute;
  inset: -.4375rem;
  border-radius: 50%;
  border: 1px solid var(--lime);
  opacity: .45;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.7); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}

.parcours__stations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4);
}
.parcours__station {
  position: relative;
  padding-top: var(--s-4);
  border-top: 1px solid transparent;
  transition: border-color .5s var(--ease);
}
.parcours__station::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--s-6) - 1px);
  left: 0;
  width: 1px; height: .5rem;
  background: var(--rule);
  transition: background .5s var(--ease), height .5s var(--ease);
}
.section--forest .parcours__station::before { background: var(--rule-dark); }

.parcours__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .5s var(--ease);
}
.section--forest .parcours__num { color: var(--on-forest-muted); }

.parcours__name {
  display: block;
  margin-top: .375rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section--forest .parcours__name { color: var(--on-forest); }

.parcours__note {
  display: block;
  margin-top: .375rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
}
.section--forest .parcours__note { color: var(--on-forest-muted); }

/* état actif */
.parcours__station.is-active .parcours__num { color: var(--lime-deep); }
.section--forest .parcours__station.is-active .parcours__num { color: var(--lime); }
.parcours__station.is-active::before { background: var(--lime); height: .875rem; }
.parcours__station.is-active { border-top-color: var(--lime); }

/* --------------------------------------------------------------------------
   10. Laboratoires partenaires
   -------------------------------------------------------------------------- */
.partners__head {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
.partners__head .caption { flex: none; }
.partners__head .rule { flex: 1; }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: var(--s-5) var(--s-4);
  background: #fff;
}
.partners__item img {
  max-height: 3rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.partners__item:hover img { filter: grayscale(0); opacity: 1; }

/* --------------------------------------------------------------------------
   11. Services — colonnes séparées par des filets, pas des boîtes
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.service {
  display: flex;
  flex-direction: column;
  padding-top: var(--s-5);
  border-top: 2px solid var(--ink);
}
.service__icon {
  width: 2.25rem; height: 2.25rem;
  margin-bottom: var(--s-4);
  color: var(--green);
}
.service__icon .icon { width: 100%; height: 100%; stroke-width: 1.4; }
.service h3 {
  font-size: var(--t-h3);
  margin-bottom: var(--s-3);
}
.service p {
  flex: 1;
  font-size: var(--t-small);
  color: var(--muted);
}
.service .arrow-link { margin-top: var(--s-5); align-self: flex-start; }

/* --------------------------------------------------------------------------
   12. Chiffres
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-dark);
}
.stat { padding: var(--s-5) var(--s-5) var(--s-5) 0; background: var(--forest); }
.stat:not(:first-child) { padding-left: var(--s-5); }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: var(--s-3);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--on-forest-muted);
}

/* --------------------------------------------------------------------------
   14. Bandeau d'appel
   -------------------------------------------------------------------------- */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-6);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  background: var(--forest);
  color: var(--on-forest);
  border-radius: var(--radius-lg);
}
.cta h2 { font-size: var(--t-h2); max-width: 22ch; }
.cta p { margin-top: var(--s-3); color: var(--on-forest-muted); max-width: 46ch; }

/* --------------------------------------------------------------------------
   15. En-tête de page intérieure
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--forest);
  color: var(--on-forest);
  overflow: hidden;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: var(--t-h1); font-weight: 500; max-width: 20ch; }
.page-hero .lead { margin-top: var(--s-5); }

/* Hero à deux colonnes (texte + illustration) pour les pages intérieures */
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.page-hero__figure { margin: 0; }
.page-hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__figure { display: none; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-forest-muted);
}
.breadcrumb a { color: var(--on-forest-muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .icon { width: .75rem; height: .75rem; opacity: .5; }
.breadcrumb [aria-current] { color: var(--lime); }

/* --------------------------------------------------------------------------
   16. Contenu éditorial
   -------------------------------------------------------------------------- */
.prose { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: var(--s-5); }
.prose p { color: #22331f; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose h2 {
  margin-top: var(--s-8);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); font-size: var(--t-h3); }

/* intertitre avec filet + numéro d'index */
.prose-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
}
.prose-head:first-child { margin-top: 0; }
.prose-head h2 { margin: 0; flex: 1; }
.prose-head .caption { flex: none; color: var(--green); }

.checklist { display: grid; gap: var(--s-3); }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-ui);
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  width: .4375rem; height: .4375rem;
  margin-top: .5rem;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.pullquote {
  margin: var(--s-7) 0;
  padding-left: var(--s-5);
  border-left: 2px solid var(--lime);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--forest);
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.option {
  padding: var(--s-5);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}
.option h3 {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: var(--s-3);
  font-size: 1.0625rem;
}
.option h3 .icon { width: 1.125rem; height: 1.125rem; color: var(--green); }
.option p { font-family: var(--font-ui); font-size: var(--t-small); color: var(--muted); }

/* Mise en page article + colonne latérale */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.aside { position: sticky; top: 6rem; }
.aside__title {
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.value {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule-soft);
}
.value .icon { width: 1.125rem; height: 1.125rem; margin-top: .25rem; color: var(--green); }
.value__t { font-family: var(--font-ui); font-size: .9375rem; font-weight: 600; }
.value__d { margin-top: .125rem; font-family: var(--font-ui); font-size: .8125rem; line-height: 1.55; color: var(--muted); }

.figure { margin: var(--s-7) 0; }
.figure img { width: 100%; border-radius: var(--radius-lg); }
/* --------------------------------------------------------------------------
   17. Vidéo (façade — l'iframe n'est chargée qu'au clic)
   -------------------------------------------------------------------------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 60rem;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 50% 35%, var(--forest-3), transparent 70%),
    var(--forest);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note { text-align: center; margin-top: var(--s-4); }
.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  color: #fff;
}
.video__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.video__play span .icon { width: 1.5rem; height: 1.5rem; margin-left: .1875rem; }
.video__play:hover span { transform: scale(1.08); }
.video__play em {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .4375rem; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.field label .req { color: var(--green); }
.field input,
.field textarea {
  width: 100%;
  padding: .8125rem .9375rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 60, .12);
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field__error {
  display: none;
  font-family: var(--font-ui);
  font-size: .8125rem;
  color: #b3261e;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #b3261e; }
.field.is-invalid .field__error { display: block; }

.form__hint { font-size: .8125rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-cards { display: grid; gap: .625rem; margin-top: var(--s-5); }
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.contact-card:hover { border-color: var(--green); background: #fff; }
.contact-card .icon { width: 1.25rem; height: 1.25rem; color: var(--green); }
.contact-card__t {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card__d { font-size: .9375rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   19. WhatsApp flottant
   -------------------------------------------------------------------------- */
.wa {
  position: fixed;
  right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55);
  transition: transform var(--dur) var(--ease);
}
.wa:hover { transform: scale(1.07); }
.wa .icon { width: 1.75rem; height: 1.75rem; }

/* --------------------------------------------------------------------------
   20. Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--forest); color: var(--on-forest-muted); font-size: var(--t-small); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.footer__logo { height: 2rem; width: auto; margin-bottom: var(--s-4); }
.footer__about { max-width: 34ch; line-height: 1.6; }
.footer h4 {
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer__links li + li { margin-top: .625rem; }
.footer__links a { color: var(--on-forest-muted); transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--lime); }
.footer__links li { display: flex; align-items: flex-start; gap: .625rem; }
.footer__links .icon { width: .9375rem; height: .9375rem; margin-top: .3125rem; color: var(--lime); opacity: .8; }

.socials { display: flex; gap: .5rem; margin-top: var(--s-5); }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--on-forest);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.socials .icon { width: 1rem; height: 1rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-block: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .05em;
  color: var(--on-forest-muted);
}

/* --------------------------------------------------------------------------
   22. Révélation au défilement
   -------------------------------------------------------------------------- */
/* L'état masqué n'est appliqué que si JavaScript est disponible : sans JS,
   rien ne peut retirer la classe et le contenu resterait invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 30rem; }
  .hero__figure img { aspect-ratio: 16 / 10; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .aside { position: static; }
  .contact { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .125rem;
    padding: var(--s-3) var(--gutter) var(--s-5);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: .875rem .25rem; font-size: 1.0625rem; }
  .nav__link[aria-current="page"]::after { left: auto; right: .25rem; bottom: auto; top: 50%; margin: -.15625rem 0 0; }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0 0 var(--s-3);
    padding: 0 0 0 var(--s-4);
    background: transparent;
    border: 0;
    border-left: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
  }
  .nav__cta { margin: var(--s-3) 0 0; text-align: center; }

  .services { grid-template-columns: 1fr; }
  .service { padding-bottom: var(--s-5); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:not(:first-child) { padding: var(--s-5); }
  .duo { grid-template-columns: 1fr; }

  .parcours__stations { grid-template-columns: 1fr; gap: 0; }
  .parcours__rail { display: none; }
  .parcours__station {
    padding: var(--s-4) 0 var(--s-4) var(--s-5);
    border-top: 1px solid var(--rule);
    border-left: 2px solid var(--rule);
  }
  .section--forest .parcours__station { border-top-color: var(--rule-dark); border-left-color: var(--rule-dark); }
  .parcours__station::before { display: none; }
  .parcours__station.is-active { border-left-color: var(--lime); }
  .parcours__num { position: absolute; left: 0; top: var(--s-4); }
  .parcours__name { margin-top: 0; }
}

@media (max-width: 700px) {
  .topbar__contacts .topbar__mail,
  .topbar__contacts .topbar__hours { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .parcours__head { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; flex: 1 1 12rem; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   24. Mouvement réduit / impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .nav, .wa, .cta, .video { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-hero, .footer, .section--forest { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
