/* Identité de la charte adaptée au web (SPEC § 5.5).
   Hors charte, à valider par Vincent : polices et fonds clairs adoucis.
   Polices reprises de la maquette de Valentin (08/11/2026), hébergées sur le site. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("polices/archivo.woff2") format("woff2");
}

/* Titres en Barlow, grands titres et chiffres en Barlow Condensed (essai, Valentin, 08/11/2026).
   Archivo ne sert plus qu'au nom du média. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("polices/barlow-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("polices/barlow-800.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("polices/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("polices/instrument-sans.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("polices/ibm-plex-mono-700.woff2") format("woff2");
}

:root {
  --green: #008F48;
  --navy: #001F41;
  --green-bright: #16C800;
  --green-fonce: #006B36;
  --petrol: #092C3E;
  --petrol-raised: #053449;
  --ink: #1C1C1C;
  --grey-text: #595959;
  --grey-250: #D9D9D9;
  --white: #FFFFFF;
  --clair: #F4F5F1;
  --clair-fonce: #E6E9E2;
  --clair-carte: #F8F9F5;

  --police: "Instrument Sans", Arial, sans-serif;
  --police-titre: "Barlow", Arial, sans-serif;
  --police-etroite: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --police-marque: "Archivo", Arial, sans-serif;
  --police-mono: "IBM Plex Mono", Menlo, monospace;
  --gouttiere: 16px;
  --espace: clamp(2rem, 4vw, 3.25rem);
  --coin: clamp(2rem, 6vw, 4rem);
  --rayon: 0.75rem;
  --pilule: 999px;
  --marge-carte: 1.5rem;
  --trait: 3px solid var(--green-bright);

  /* Couleurs du fond courant, redéfinies par les classes fond-*. */
  --fond: var(--clair);
  --texte: var(--ink);
  --discret: var(--grey-text);
  --titre: var(--petrol);
  --accent: var(--petrol);
  --bouton-fond: var(--petrol);
  --bouton-texte: var(--white);
  --nom: var(--navy);
  --nom-vert: var(--green);
}

/* Deux fonds seulement, en alternance : petrol et clair (Valentin, 08/11/2026).
   Sur petrol, une lumière venue d'en haut au centre donne de la profondeur (variante C3, Valentin, 17/11/2026). */
.fond-petrol {
  --fond: radial-gradient(ellipse 110% 85% at 50% 0%, #0F4561 0%, var(--petrol) 60%, #061E2A 100%);
  --texte: var(--white);
  --discret: var(--grey-250);
  --titre: var(--white);
  --accent: var(--green-bright);
  --bouton-fond: var(--green-bright);
  --bouton-texte: var(--petrol);
  --nom: var(--white);
  --nom-vert: var(--green-bright);
}


* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  /* Une ancre ne doit pas finir cachée sous l'en-tête fixe. */
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--clair);
  color: var(--ink);
  font-family: var(--police);
  font-size: 1.125rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after { transition: none !important; }

  .egaliseur b { animation: none; }
  .egaliseur b:nth-child(odd) { transform: scaleY(0.55); }
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--titre);
  font-family: var(--police-titre);
  font-stretch: 105%;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  overflow-wrap: break-word;
  min-width: 0;
}

/* Titres en capitales : étroits et très gras pour h1, larges pour h2, comme la maquette. */
h1 {
  max-width: 16ch;
  font-family: var(--police-etroite);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-stretch: 72%;
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

h3 { font-size: 1.375rem; }

/* Titre du haut de l'accueil : « de demain » est insécable dans contenu.json. Sur ordinateur, la taille
   suit la largeur de la colonne pour garder trois lignes (Valentin, 11/11/2026). */
.une h1 {
  max-width: 19ch;
  font-size: clamp(2.75rem, 6vw, 5rem);
}

/* Mots importants d'un titre (**…** dans contenu.json), en vert comme dans la maquette. */
h1 strong,
h2 strong,
.appel-texte strong {
  color: var(--nom-vert);
  font-weight: inherit;
}

/* Titre entièrement vert, comme « L'industrie de demain » sur l'accueil (Valentin, 11/11/2026). */
h1.vert { color: var(--nom-vert); }

a { color: inherit; }

a:focus-visible,
.carrousel:focus-visible,
.references:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

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

.conteneur {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.etroit { width: min(100%, 46rem); }

/* En-tête : wordmark sans cartouche et menu discret, d'après la maquette de Valentin (08/11/2026). */
.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--petrol);
  --bouton-fond: var(--green-bright);
  --bouton-texte: var(--petrol);
}

.entete-ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: 4.5rem;
}

/* Wordmark de la charte en version sombre : blanc, GREEN en green-bright. */
.marque {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 1rem;
  color: var(--white);
  font-family: var(--police-marque);
  font-size: clamp(0.9375rem, 0.8rem + 0.6vw, 1.125rem);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.marque span { color: var(--green-bright); }

/* Égaliseur devant le nom : cinq barres qui bougent comme un son, immobiles si le visiteur le demande. */
.egaliseur {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 1.5rem;
  height: 1.125rem;
}

.egaliseur b {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--green-bright);
  transform-origin: bottom;
  animation: egaliseur 1s ease-in-out infinite;
}

.egaliseur b:nth-child(2) { animation-delay: -0.2s; }
.egaliseur b:nth-child(3) { animation-delay: -0.45s; }
.egaliseur b:nth-child(4) { animation-delay: -0.7s; }
.egaliseur b:nth-child(5) { animation-delay: -0.1s; }

@keyframes egaliseur {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Sans JavaScript, le menu passe sous le nom et défile sur une ligne. */
.entete nav { max-width: 100%; }

.menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.25rem 0.25rem 0.75rem;
  margin-inline: -0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.menu a:not(.bouton) {
  position: relative;
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--grey-250);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

/* Trait vert qui se dessine sous le lien survolé ou la rubrique en cours (site.js). */
.menu a:not(.bouton)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125rem;
  width: 100%;
  height: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.menu a:not(.bouton):hover,
.menu a.actif:not(.bouton) { color: var(--white); }

.menu a:not(.bouton):hover::after,
.menu a.actif:not(.bouton)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bouton svg {
  margin-left: 0.5rem;
  vertical-align: -0.15em;
  transition: transform 0.35s ease;
}
.bouton:hover svg { transform: translateX(4px) rotate(-45deg); }
.bouton:hover svg.vers-bas { transform: translateY(3px); }

/* Bouton du menu sur téléphone, affiché seulement avec JavaScript. */
.burger { display: none; }

.avec-js .burger {
  position: relative;
  display: block;
  width: 2.875rem;
  height: 2.875rem;
  border: 1.5px solid var(--grey-text);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger i {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.4s, top 0.4s;
}

.burger i:first-child { top: 1.05rem; }
.burger i:last-child { top: 1.5rem; }

.menu-ouvert .burger i:first-child,
.menu-ouvert .burger i:last-child { top: 1.28rem; }
.menu-ouvert .burger i:first-child { transform: rotate(45deg); }
.menu-ouvert .burger i:last-child { transform: rotate(-45deg); }

.burger:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

/* Sur téléphone, avec JavaScript : menu plein écran qui s'ouvre en cercle depuis le bouton. */
@media (max-width: 71.99rem) {
  .avec-js .entete nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem var(--gouttiere) 2.5rem;
    background: var(--petrol);
    clip-path: circle(0% at calc(100% - 2.5rem) 2.25rem);
    visibility: hidden;
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.7s;
  }

  .menu-ouvert .entete nav {
    clip-path: circle(150% at calc(100% - 2.5rem) 2.25rem);
    visibility: visible;
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1);
  }

  /* Le nom et le bouton du menu tiennent sur une ligne. */
  .avec-js .entete-ligne { flex-wrap: nowrap; gap: 0.75rem; }

  .avec-js .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    overflow: visible;
  }

  .avec-js .menu a:not(.bouton) {
    color: var(--white);
    font-family: var(--police-etroite);
    font-size: clamp(2.25rem, 10vw, 4rem);
    font-stretch: 80%;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
  }

  .avec-js .menu a.actif:not(.bouton) { color: var(--green-bright); }
  .avec-js .menu a:not(.bouton)::after { display: none; }
  .avec-js .menu .bouton { margin-top: 1.5rem; }
  .menu-ouvert body { overflow: hidden; }
}

/* Avec JavaScript : barre de lecture sous l'en-tête. */
.avec-js .entete::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--green-bright);
  transform: scaleX(var(--avancement, 0));
  transform-origin: left;
}

/* Apparition au défilement, coupée si le visiteur demande moins d'animations. */
.a-reveler {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delai, 0s);
}

.a-reveler.revele { opacity: 1; transform: none; }

/* Sections */
.section {
  padding-block: var(--espace);
  background: var(--fond);
  color: var(--texte);
}

/* Bloc de couleur à un seul coin arrondi. */
.ouverture { border-bottom-right-radius: var(--coin); }

/* Haut de page : la lumière part sous l'en-tête, qui reste en aplat, pour éviter une marche entre les deux. */
.section.fond-petrol:is(.une, .ouverture) {
  background: linear-gradient(var(--petrol), rgba(9, 44, 62, 0) 6rem), var(--fond);
}

/* Haut de page : un peu moins d'air sous l'en-tête (Valentin, 08/11/2026). */
.section.une { padding-top: calc(var(--espace) * 0.5); }


/* Surtitre en chasse fixe, précédé d'un trait, comme la maquette. */
.surtitre {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1rem;
  width: fit-content;
  color: var(--accent);
  font-family: var(--police-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.surtitre::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--green-bright);
}

.texte {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 1.25rem;
  white-space: pre-line;
}

.texte p { margin: 0.875rem 0 0; }
.texte > :first-child { margin-top: 0; }
.texte .liste { margin-top: 0.5rem; }
.texte.aere { margin-top: 2rem; }

/* Manifeste : les questions pour la présidentielle forment un bloc à part,
   avec un intitulé en capitales et un grand numéro vert par question. */
#manifeste .texte p:has(+ ol) {
  margin-top: 2.5rem;
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

#manifeste .texte p:has(+ ol) strong { font-weight: inherit; }

#manifeste ol.liste {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
  counter-reset: question;
}

#manifeste ol.liste li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  margin: 0;
  padding-block: 1rem;
  border-top: 1px solid var(--grey-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  counter-increment: question;
}

#manifeste ol.liste li:last-child { border-bottom: 1px solid var(--grey-text); }

#manifeste ol.liste li::before {
  content: counter(question, decimal-leading-zero);
  color: var(--green-bright);
  font-family: var(--police-etroite);
  font-size: 1.75rem;
  font-stretch: 88%;
  font-weight: 900;
  line-height: 1;
}

/* Le nom du média dans un texte : en gras, d'une seule couleur, bleu sur fond clair, blanc sur petrol.
   « Green » n'est en vert que dans l'en-tête (Valentin, 08/11/2026). */
.nom-media {
  color: var(--nom);
  font-weight: 700;
}

.sous-titre {
  margin-top: 1.75rem;
  font-size: 1.625rem;
  font-stretch: 105%;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.note {
  margin: 0.25rem 0 0;
  color: var(--discret);
  font-size: 1rem;
}

/* Au survol, un aplat monte depuis le bas du bouton, comme dans la maquette. */
.bouton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: var(--pilule);
  background: var(--bouton-fond);
  color: var(--bouton-texte);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bouton-survol, var(--green-bright));
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.bouton:hover { color: var(--petrol); }
.bouton:hover::before { transform: none; }

.fond-petrol,
.entete { --bouton-survol: var(--white); }

.suite { margin: 1.5rem 0 0; }
.suite.centre { text-align: center; }

/* En haut de page, le bas du bouton tombe pile sur le bas de la photo : sans cela, l'espace réservé
   sous la ligne de texte le laisse 8 px plus haut (Valentin, 15/11/2026). */
.une .suite .bouton { vertical-align: bottom; }

/* Texte et photo : l'un sous l'autre sur téléphone, côte à côte ensuite. */
.duo {
  display: grid;
  gap: 2rem;
}

.photo,
.portrait {
  width: 100%;
  object-fit: cover;
  border-bottom-right-radius: var(--coin);
}

.photo { aspect-ratio: 4 / 3; }
.portrait { aspect-ratio: 4 / 5; }

/* Chiffres */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem 1.5rem;
}

.chiffres li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 1rem;
  border-left: var(--trait);
}

/* Pictogrammes des chiffres : posés tels quels, sans fond, à la même hauteur. */
.picto {
  align-self: flex-start;
  width: auto;
  height: 2.75rem;
  margin-bottom: 0.75rem;
}

.pastille {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
  border-radius: var(--rayon);
  background: var(--white);
}

.pastille img { width: 2.625rem; height: auto; }

.chiffres strong {
  display: block;
  color: var(--titre);
  font-family: var(--police-etroite);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-stretch: 88%;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
}

/* Organisations qui suivent le média. */
.suivis-titre { margin-top: 2rem; }

/* Sans animation : les noms en capitales, à la suite. */
.suivis,
.piste {
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--petrol);
}

.suivis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

/* Avec animation (site.js) : deux lignes qui défilent en sens opposés, fondues aux bords. */
.defilement {
  display: grid;
  gap: 0.5rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.piste {
  display: flex;
  width: max-content;
  animation: defiler 60s linear infinite;
}

/* Même couleur que la première ligne (Vincent, 15/11/2026). */
.piste.inverse { animation-direction: reverse; }

.piste span::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-inline: 1.1em;
  border-radius: 50%;
  background: var(--green-bright);
  vertical-align: 0.2em;
}

.defilement:hover .piste { animation-play-state: paused; }

@keyframes defiler {
  to { transform: translateX(-50%); }
}

/* Masqué à l'écran, mais lu par les lecteurs d'écran. */
.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Contenus : un titre en capitales par format, les flèches du carrousel à droite. */
.contenus-titre {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* Moins d'air sous la mention de financement, qui introduit les reportages (Valentin, 15/11/2026). */
.note + .contenus-titre { margin-top: 1.25rem; }

/* Bandeau des entretiens : les bords s'effacent en fondu derrière les flèches,
   posées à mi-hauteur des miniatures (site.js). */
.bandeau {
  position: relative;
  container-type: inline-size;
  --largeur-carte: min(80cqw, 18rem);
  --fondu: min(7rem, 15cqw);
}

.bandeau { margin-top: 1.25rem; }
.bandeau .carrousel { margin-top: 0; }

/* Au départ, ni flèche ni fondu à gauche : la première vidéo est alignée sur le titre (Valentin, 11/11/2026).
   Dès qu'on a quitté le début (classe .defile, site.js), le fondu de gauche apparaît avec sa flèche,
   et chaque vignette s'arrête juste après lui. Les vignettes tiennent entre les deux fondus :
   celle qui est en place reste nette. */
.avec-js .bandeau {
  --largeur-carte: min(calc(100cqw - 2 * var(--fondu)), 18rem);
}

/* Largeur du fondu de gauche, déclarée comme longueur pour pouvoir passer en douceur de 0 à --fondu. */
@property --fondu-gauche {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.avec-js .bandeau .carrousel {
  --fondu-gauche: 0px;
  position: relative;
  padding-inline-end: var(--fondu);
  scroll-padding-inline-start: var(--fondu);
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fondu-gauche), #000 calc(100% - var(--fondu)), transparent 100%);
  transition: --fondu-gauche 0.4s ease;
}

.avec-js .bandeau.defile .carrousel { --fondu-gauche: var(--fondu); }

.avec-js .bandeau .carrousel::-webkit-scrollbar { display: none; }

/* Chevrons simples, centrés sur la hauteur des cartes (le bas du carrousel garde 1 rem de marge). */
.fleche {
  position: absolute;
  top: calc(50% - 0.5rem);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--petrol);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s, color 0.3s, opacity 0.4s, visibility 0.4s;
}

.fleche[hidden] { display: none; }
.fleche-gauche { left: -0.75rem; }

/* La flèche de gauche apparaît et s'efface en fondu, avec la transparence du bord gauche. */
.bandeau:not(.defile) .fleche-gauche {
  opacity: 0;
  visibility: hidden;
}
.fleche-droite { right: -0.75rem; }

.fleche:hover {
  background: var(--petrol);
  color: var(--white);
}

.fleche:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

/* Vidéos : carte blanche, miniature en haut, texte en dessous. */
.reportages {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.video {
  overflow: hidden;
  padding-bottom: 1.25rem;
  border-radius: var(--rayon);
  background: var(--white);
}

.video > :not(.lecteur, .lecteur-actif) { margin-inline: 1.25rem; }

.video h3 { font-size: 1.25rem; }

.lecteur,
.lecteur-actif {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.lecteur {
  position: relative;
  display: block;
  background: var(--petrol);
}

.lecteur img,
.lecteur-actif iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.lire {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.5rem;
  transform: translate(-50%, -50%);
}

.lecteur:hover .lire { transform: translate(-50%, -50%) scale(1.1); }

/* Vidéo de présentation en haut de l'accueil, entière, au coin arrondi comme les photos (Valentin, 15/11/2026). */
.video-une {
  overflow: hidden;
  border-bottom-left-radius: var(--coin);
}

.video-une .lire { width: 4.5rem; }

.theme {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.375rem;
  color: var(--green-fonce);
  font-family: var(--police-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.statut {
  margin: 0.25rem 0 0;
  color: var(--discret);
  font-size: 0.8125rem;
}

.carrousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--largeur-carte, min(80%, 18rem));
  grid-template-rows: repeat(5, auto);
  column-gap: 1.25rem;
  margin-top: 1.25rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

/* Chaque carte suit les 5 lignes de la grille : les mentions restent alignées, quelle que soit la longueur du titre. */
.carrousel .video {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  scroll-snap-align: start;
}

/* Offres */
.cartes,
.equipe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.carte {
  padding: var(--marge-carte);
  border-radius: var(--rayon);
  background: var(--white);
  color: var(--ink);
  --titre: var(--petrol);
  --discret: var(--grey-text);
  --accent: var(--petrol);
  --bouton-fond: var(--petrol);
  --bouton-texte: var(--white);
}

/* Titre de carte en capitales, suivi du trait de la charte. */
.carte-titre {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.carte-titre::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--green-bright);
}

/* Formats de Nos services : informations en lignes, bouton toujours en bas. */
.carte-format {
  display: flex;
  flex-direction: column;
}

/* Durée, Objectif, Exemple : étiquettes en chasse fixe. */
.carte-corps p + p > strong:first-child {
  color: var(--green-fonce);
  font-family: var(--police-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  /* En chasse fixe, l'espace avant « : » paraît trop large : on le resserre. */
  word-spacing: -0.5em;
  text-transform: uppercase;
}

.carte .carte-corps > p + p {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--clair-fonce);
}

.carte .carte-action {
  margin-top: auto;
  padding-top: 1.25rem;
  text-align: center;
}

/* Un bouton bleu, puis un vert charte (Valentin, 08/11/2026). Blanc sur vert : 19 px en gras au moins (SPEC, § 5.5). */
.carte-action .bouton { font-size: 1.1875rem; }
.carte-format:nth-child(even) { --bouton-fond: var(--green); }

.carte-photo {
  width: calc(100% + 2 * var(--marge-carte));
  max-width: none;
  margin: calc(-1 * var(--marge-carte)) calc(-1 * var(--marge-carte)) 1.25rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--rayon) var(--rayon) 0 0;
}

.carte p { margin: 0.75rem 0 0; }

/* Bande : un texte et un bouton sur une ligne. */
.bande {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.bande .surtitre { margin-bottom: 0.75rem; }
.bande .texte { margin: 0; }
.bande .suite { margin: 0; }

/* Appel vers Nos services sur l'accueil : la phrase en grand, comme un titre. */
/* Texte à gauche sur deux lignes, bouton juste à droite ; l'un sous l'autre sur téléphone. */
.bande.appel {
  justify-content: center;
  gap: 1.25rem 2rem;
}

/* Largeur en em, qui suit la taille du texte : la boîte colle à la ligne la plus longue,
   sans vide entre le texte et le bouton (Valentin, 11/11/2026). */
/* Le texte en capitales n'a pas de jambage : sa boîte a un vide en bas. On descend un peu le bouton
   pour qu'il soit centré sur l'encre du texte, mesuré sur capture (11/11/2026). */
@media (min-width: 48rem) {
  .bande.appel .suite {
    position: relative;
    top: 0.3125rem;
  }
}

.appel-texte {
  max-width: 16.5em;
  margin: 0;
  color: var(--titre);
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Accueil, sur ordinateur : la phrase sur une seule ligne, dans un bandeau moins haut (Vincent, 15/11/2026). */
@media (min-width: 64rem) {
  #services { padding-block: calc(var(--espace) * 0.6); }
  #services .appel-texte {
    max-width: none;
    white-space: nowrap;
  }
}

/* Nos services */
.inclus,
.etapes,
.atouts { margin-top: 1rem; }

.inclus {
  display: grid;
  gap: 0.75rem;
}

/* Cartes blanches cochées, pour ne pas enchaîner deux blocs petrol sous l'appel (Valentin, 11/11/2026).
   La coche est dessinée en CSS : un rond green-bright et un trait petrol. */
.inclus li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border-bottom-right-radius: var(--rayon);
  background: var(--white);
  color: var(--petrol);
  font-weight: 600;
  line-height: 1.3;
}

.inclus li::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--green-bright);
}

.inclus li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(1.25rem + 0.875rem);
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--petrol);
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -62%) rotate(45deg);
}

.etapes {
  display: grid;
  gap: 1.25rem;
  counter-reset: etape;
}

.etapes li {
  position: relative;
  counter-increment: etape;
  text-align: center;
}

.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--petrol);
  font-weight: 700;
}

.etapes strong,
.atouts strong {
  display: block;
  color: var(--titre);
}

.benefices {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

#formats .cartes { margin-top: 1.5rem; }

#details h2 + h3 { margin-top: 1.5rem; }
#deroule h3 + * + h3 { margin-top: 3rem; }
#deroule h3:first-child { margin-top: 0; }

/* Startups et grands groupes : le même en-tête sur les deux cartes (Valentin, 08/11/2026). */
.benefices .sous-titre {
  margin: calc(-1 * var(--marge-carte)) calc(-1 * var(--marge-carte)) 0;
  padding: 1rem var(--marge-carte);
  border-top: 4px solid var(--green-bright);
  border-radius: var(--rayon) var(--rayon) 0 0;
  background: var(--clair-fonce);
  text-align: center;
}

/* Sur fond petrol, les pavés petrol passent en blanc pour rester visibles. */
.fond-petrol .inclus li {
  background: var(--white);
  color: var(--petrol);
}

.atouts li {
  padding-block: 0.875rem;
  text-align: center;
  text-wrap: balance;
}

.atouts li + li { border-top: 1px solid var(--clair-fonce); }
.atouts li:last-child { padding-bottom: 0; }

.liste {
  margin-top: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

ol.liste { list-style: decimal; }

.liste li + li { margin-top: 0.375rem; }

/* Références */
/* Références : logo, collaboration et format, sur une carte blanche.
   Sur téléphone, elles défilent sur une ligne comme les entretiens. */
.references {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(75%, 16rem);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.reference {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: var(--marge-carte);
  border-radius: var(--rayon);
  background: var(--white);
  text-align: center;
}

.reference-logo {
  display: grid;
  place-items: center;
  height: 5rem;
}

.reference-logo img {
  width: auto;
  max-width: 75%;
  max-height: 4.5rem;
}

.reference p { margin: 1rem 0 0; font-size: 1rem; }

/* Format dans une case, toujours en bas de la carte. */
.reference .reference-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.reference-format {
  padding: 0.25rem 0.625rem;
  border: 1.5px solid var(--petrol);
  border-radius: 0.375rem;
  color: var(--petrol);
  font-family: var(--police-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* Équipe */
.equipe { gap: 2rem; }

/* À propos : nom en grand, rôle en étiquette, puis la biographie en texte. */
.personne .sous-titre {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.personne .statut {
  margin-top: 0.625rem;
  color: var(--green-fonce);
  font-family: var(--police-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.personne p {
  margin: 1rem 0 0;
  font-size: 1.25rem;
}

/* Communauté : une accroche en grand, les avantages en lignes fléchées, le questionnaire en note. */
#communaute .texte > p:first-child {
  font-family: var(--police-titre);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

#communaute .texte > p:first-child strong {
  color: var(--green-bright);
  font-weight: inherit;
}

#communaute .texte .liste {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

#communaute .texte .liste li {
  position: relative;
  margin: 0;
  padding: 0.875rem 0 0.875rem 2rem;
  border-top: 1px solid var(--grey-text);
}

#communaute .texte .liste li:last-child { border-bottom: 1px solid var(--grey-text); }

#communaute .texte .liste li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-weight: 700;
}

#communaute .texte > p:last-child {
  color: var(--discret);
  font-size: 1rem;
}

/* Bouton centré sous la colonne de texte (Valentin, 11/11/2026). */
#communaute .suite { text-align: center; }

/* Contact : sur fond clair (Valentin, 08/11/2026). Après une autre section claire, un filet le sépare. */
.section:not(.fond-petrol) + #contact { border-top: 1px solid var(--grey-250); }

/* La question sur une ligne, « Une seule adresse : » sur la suivante (deux lignes dans contact.intro). */
.contact-intro {
  max-width: none;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.contact-intro p { margin: 0; }

/* L'adresse est en grand avec une flèche, sans soulignement ; les réseaux sont des pastilles cliquables. */
.courriel {
  margin: 0;
  font-family: var(--police-titre);
  font-size: clamp(1.375rem, 4vw, 2.25rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.courriel a {
  text-decoration: none;
  transition: color 0.3s;
}

.courriel a:hover { color: var(--nom-vert); }

.courriel svg {
  margin-left: 0.5rem;
  vertical-align: -0.05em;
  color: var(--nom-vert);
  transition: transform 0.35s ease;
}

.courriel a:hover svg { transform: translateX(4px) rotate(-45deg); }

.reseaux,
.reseaux ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.reseaux { margin-top: 1.5rem; }

.reseaux p {
  margin: 0;
  color: var(--discret);
}

/* Cartouche entièrement blanc, logo posé directement dessus (Valentin, 08/11/2026). */
.reseaux a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1.125rem 0.375rem 0.625rem;
  border: 1.5px solid var(--white);
  border-radius: var(--pilule);
  background: var(--white);
  color: var(--petrol);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s;
}

.reseaux a:hover { border-color: var(--nom-vert); }

.reseaux .pastille {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0;
}

.reseaux .pastille img { width: 1.375rem; }

/* Pied de page */
/* Pied de page sur petrol, séparé du contact par un filet. */
.pied {
  padding-block: 1.5rem;
  border-top: 1px solid var(--grey-text);
  background: var(--petrol);
  color: var(--grey-250);
  font-size: 1rem;
}

.pied p { margin: 0; }

/* La marque à gauche (nom, signature dessous), les mentions à droite, en petit, alignées sur la dernière ligne (Valentin, 15/11/2026). */
.pied-ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: last baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.pied-nom + p { margin-top: 0.375rem; }

/* Nom du média dans le pied de page : blanc, « Green » en vert comme dans l'en-tête (Valentin, 08/11/2026). */
.pied-nom {
  color: var(--white);
  font-family: var(--police-marque);
  font-size: 1.125rem;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pied-nom span { color: var(--green-bright); }

.pied-credits {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8125rem;
}

.pied-credits a:hover { color: var(--green-bright); }

@media (min-width: 48rem) {
  .pied-credits { text-align: right; }
}

/* Mentions légales : page courte, centrée, aérée (Valentin, 15/11/2026). */
.legal-titre {
  padding-block: 2rem;
  text-align: center;
}

.legal-titre h1 {
  max-width: none;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}

.legal {
  padding-block: 3rem 3.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.legal .conteneur { width: min(100%, 60rem); }

.legal h2 {
  margin-top: 3rem;
  font-size: 1.125rem;
}

.legal-colonnes {
  display: grid;
  gap: 0 2.5rem;
}

.legal-colonnes h2 { margin-top: 0; }
.legal-colonnes > div + div { margin-top: 2.5rem; }

.legal p { margin: 1rem 0 0; }

.mentions { margin: 1rem 0 0; }
.mentions dt { margin-top: 0.75rem; font-weight: 700; }
.mentions dd { margin: 0; overflow-wrap: anywhere; }

/* Téléphone (Valentin, 11/11/2026) : appel vers Nos services centré,
   chiffres en lignes de tableau : pictogramme et texte à gauche, nombre à droite, filet entre les lignes. */
@media (max-width: 47.99rem) {
  .bande.appel,
  .appel-texte { text-align: center; }

  .chiffres { gap: 0; }

  /* Colonne des nombres de largeur fixe : le compteur animé ne décale pas les textes. */
  .chiffres li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 7.25rem;
    align-items: center;
    column-gap: 1rem;
    padding: 1rem 0;
    border-left: 0;
    font-size: 0.9375rem;
    line-height: 1.35;
    text-wrap: balance;
  }

  .chiffres li + li { border-top: 1px solid var(--grey-250); }

  /* Les trois pictogrammes dans le même carré, le logo YouTube réduit pour y tenir. */
  .chiffres .picto {
    grid-column: 1;
    grid-row: 1;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0;
    object-fit: contain;
  }

  /* Nombres alignés à gauche dans leur colonne : ils commencent tous au même endroit. */
  .chiffres strong {
    grid-column: 3;
    grid-row: 1;
    font-size: 1.875rem;
  }
}

@media (min-width: 48rem) {
  :root { --gouttiere: 32px; }


  .inclus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Flèche vers l'étape suivante, à hauteur des numéros, sauf en fin de ligne. */
  .etapes li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    left: calc(50% + 1.375rem);
    right: calc(-50% + 0.125rem);
    height: 0.75rem;
    background: var(--green);
    clip-path: polygon(0 40%, calc(100% - 0.625rem) 40%, calc(100% - 0.625rem) 0, 100% 50%, calc(100% - 0.625rem) 100%, calc(100% - 0.625rem) 60%, 0 60%);
  }

  .etapes li:nth-child(3)::after { display: none; }

  /* Les avantages des deux cartes partagent les lignes de la grille. */
  .benefices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    row-gap: 0;
  }

  .benefices .carte {
    display: grid;
    grid-row: span 9;
    grid-template-rows: subgrid;
  }

  .benefices .atouts {
    display: grid;
    grid-row: span 8;
    grid-template-rows: subgrid;
  }

  .references {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    padding-bottom: 0;
    overflow-x: visible;
  }


  .reportages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    row-gap: 0;
  }

  .reportages .video {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
  }

  /* La photo à gauche, le parcours à droite. */
  .personne:has(.portrait) {
    display: grid;
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .personne:has(.portrait) .sous-titre { margin-top: 0; }

  .legal-colonnes {
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    gap: 0 5rem;
  }

  .legal > .conteneur > h2,
  .legal > .conteneur > p { text-align: center; }
  .legal-colonnes > div + div { margin-top: 0; }

  .mentions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.625rem 1.5rem;
  }

  .mentions dt { margin-top: 0; }

  /* La photo occupe la moitié de la section, jusqu'au bord de la fenêtre. */
  .section:has(.duo .photo) {
    padding-block: 0;
    overflow: hidden;
  }

  .duo:has(.photo) {
    width: 100%;
    padding-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(28rem, auto);
    gap: 0;
  }

  .duo:has(.photo) > div {
    align-self: center;
    padding-block: var(--espace);
    padding-left: max(var(--gouttiere), calc(50vw - 40rem + var(--gouttiere)));
    padding-right: 3rem;
  }

  .photo {
    height: 0;
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  /* En tête de page, la photo garde de l'air autour d'elle. */
  .section.une:has(.duo .photo) { padding-block: calc(var(--espace) * 0.5) var(--espace); }
  .une .duo:has(.photo) { grid-template-rows: minmax(24rem, auto); }
  .une .duo:has(.photo) > div { align-self: start; padding-block: 0; }
  .une .photo { border-bottom-left-radius: var(--coin); }

  /* Avec la vidéo : texte et vidéo côte à côte, dans la largeur du conteneur. Colonne de texte plus large,
     pour qu'il tienne en moins de lignes (titre sur deux), et vidéo plus petite (Valentin, 15/11/2026). */
  .une .duo:has(.video-une) {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
  }

  /* Manifeste et communauté : photo plus étroite que le texte, qui reste en vue pendant la lecture.
     Elle est à gauche pour le manifeste, à droite pour la communauté. */
  .section:is(#manifeste, #communaute) {
    padding-block: var(--espace);
    overflow: visible;
  }

  :is(#manifeste, #communaute) .duo:has(.photo) {
    width: min(100%, 80rem);
    padding-inline: var(--gouttiere);
    grid-template-rows: auto;
    gap: 4rem;
    align-items: start;
  }

  #manifeste .duo:has(.photo) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  #communaute .duo:has(.photo) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }

  :is(#manifeste, #communaute) .duo:has(.photo) > div { padding: 0; }

  :is(#manifeste, #communaute) .photo {
    position: sticky;
    top: 7rem;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  #manifeste .photo { order: -1; border-bottom-right-radius: var(--coin); }

  /* Communauté : photo en largeur, pour que la section ne soit pas plus haute que son texte (Valentin, 08/11/2026). */
  #communaute .photo {
    position: static;
    aspect-ratio: 3 / 2;
    border-bottom-left-radius: var(--coin);
  }
}

@media (min-width: 72rem) {
  html { scroll-padding-top: 6rem; }

  .inclus { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .etapes li:nth-child(3)::after { display: block; }

  .entete-ligne { flex-wrap: nowrap; }
  .avec-js .burger { display: none; }

  /* Le menu se répartit sur la largeur de la photo d'accueil, qui commence au milieu du conteneur
     (Valentin, 11/11/2026). S'il ne tient pas, il déborde vers la gauche. */
  .entete nav { flex: 0 0 auto; min-width: 50%; }
  .menu { justify-content: space-between; gap: 1rem; padding-bottom: 0.25rem; }

  /* Nom et rubriques plus grands, en proportion du titre du haut (Valentin, 15/11/2026). */
  .marque { gap: 0.75rem; font-size: 1.375rem; }
  .egaliseur { width: 1.75rem; height: 1.375rem; }
  .menu a:not(.bouton) { font-size: 1.0625rem; }
}
