/* RGAM 2027-2030 · site de campagne, version 5
   Direction : le dépliant de la liste, porté à l'écran. Blanc, vert de la campagne (celui des polos),
   titres en serif à initiale calligraphiée, filets fins, grandes photographies, mouvement mesuré.
   Mise en page pensée pour l'ordinateur (à partir de 860 px) autant que pour le téléphone. */

:root {
  --vert: #1C7D4A;
  --vert-fonce: #166339;
  --vert-profond: #0F4A2B;
  --menthe: #F2F7F3;
  --menthe-2: #E3EDE6;
  --blanc: #FFFFFF;
  --encre: #121915;
  --gris: #58625C;
  --filet: #E0E6E1;

  --f-titre: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --courbe: cubic-bezier(.22, 1, .36, 1);

  --g: max(22px, env(safe-area-inset-left, 0px));
  --gd: max(22px, env(safe-area-inset-right, 0px));
  --section: clamp(84px, 11vw, 176px);
  --entete: 60px;
  --barre: 0px;
  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 20px); }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: var(--f-texte); font-size: 17px; line-height: 1.65;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
  padding-bottom: var(--barre); overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
b { font-weight: 600; }
i { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--vert); color: var(--blanc); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 4px; }
.final :focus-visible, .bande :focus-visible { outline-color: var(--blanc); }
[hidden] { display: none !important; }

.evitement { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--vert); color: var(--blanc); padding: 12px 18px; }
.evitement:focus { top: 16px; }
.annonce { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.conteneur { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: var(--g); padding-right: var(--gd); }

/* ---------- Typographie ---------- */
.libelle {
  font-family: var(--f-texte); font-size: 12px; font-weight: 600; line-height: 1.5;
  letter-spacing: .2em; text-transform: uppercase; color: var(--vert); font-feature-settings: "case", "tnum";
}
.libelle--clair { color: #CFE8D8; }
.h2 { font-family: var(--f-titre); font-size: clamp(40px, 5.6vw, 92px); line-height: 1; letter-spacing: -.012em; margin-top: 14px; }
.h2--moyen { font-size: clamp(34px, 4.2vw, 64px); }
.h3 { font-family: var(--f-titre); font-size: clamp(25px, 2.3vw, 32px); line-height: 1.12; }
.h3--grand { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; }
.ini { font-family: var(--f-script); color: var(--vert); font-size: 1.3em; line-height: 0; margin-right: -.02em; font-style: normal; }
.chapo { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--gris); max-width: 46ch; }
.note { margin-top: 28px; font-size: 15px; color: var(--gris); max-width: 56ch; }

.reglee li { padding: 14px 0; border-top: 1px solid var(--filet); color: var(--gris); font-size: 16px; }
.reglee b { color: var(--encre); }
.reglee--num { counter-reset: n; }
.reglee--num li { counter-increment: n; padding-left: 44px; position: relative; }
.reglee--num li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--f-titre); font-size: 24px; color: var(--vert); }

/* ---------- Boutons et liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--f-texte); font-size: 12.5px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background-color .35s var(--courbe), color .35s var(--courbe), border-color .35s var(--courbe);
}
.bouton svg { width: 18px; height: 18px; flex: none; }
.bouton--vert { background: var(--vert); color: var(--blanc); }
.bouton--vert:hover { background: var(--vert-fonce); }
.bouton--trait { border-color: var(--vert); color: var(--vert-fonce); }
.bouton--trait:hover { background: var(--vert); color: var(--blanc); }
.bouton--blanc { background: var(--blanc); color: var(--vert-fonce); }
.bouton--blanc:hover { background: var(--menthe-2); }
.bouton--trait-clair { border-color: rgba(255, 255, 255, .55); color: var(--blanc); }
.bouton--trait-clair:hover { background: var(--blanc); color: var(--vert-fonce); }
summary.bouton { list-style: none; }
summary.bouton::-webkit-details-marker { display: none; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--encre);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
}
.lien-fleche svg { width: 20px; height: 20px; transition: transform .45s var(--courbe); }
.lien-fleche:hover svg { transform: translateX(6px); }
.lien-fleche--clair { color: var(--blanc); }
.lien-clair { background: none; border: 0; padding: 12px 4px; min-height: 44px; cursor: pointer; color: var(--blanc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; font-size: 15px; }

.rond {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: none; border: 1px solid var(--filet); color: var(--encre);
  transition: background-color .35s var(--courbe), color .35s var(--courbe), border-color .35s var(--courbe), opacity .3s;
}
.rond svg { width: 20px; height: 20px; }
.rond--retour svg { transform: scaleX(-1); }
.rond:hover { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
.rond[aria-disabled="true"] { opacity: .35; cursor: default; background: none; border-color: var(--filet); color: var(--encre); }

/* Choix d'agenda */
.agenda { position: relative; }
.agenda__choix {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 8px);
  min-width: 270px; background: var(--blanc); border: 1px solid var(--filet); text-align: left;
  box-shadow: 0 30px 60px -30px rgba(18, 25, 21, .35);
}
.agenda__choix a { display: flex; align-items: center; min-height: 54px; padding: 0 20px; text-decoration: none; font-size: 15.5px; color: var(--encre); transition: background-color .3s; }
.agenda__choix a + a { border-top: 1px solid var(--filet); }
.agenda__choix a:hover { background: var(--menthe); }

/* ---------- Rideau d'ouverture ---------- */
.rideau { display: none; }
.anim .rideau {
  position: fixed; inset: 0; z-index: 300; background: var(--blanc); pointer-events: none;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  animation: rideau .85s var(--courbe) .7s forwards;
}
.rideau img { width: 46px; height: auto; animation: monte .7s var(--courbe) both; }
.rideau__trait { width: 132px; height: 1px; background: var(--vert); transform-origin: left; animation: trait .9s var(--courbe) .1s both; }
@keyframes rideau { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes trait { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 60; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--courbe), box-shadow .4s, background-color .5s var(--courbe), color .5s var(--courbe);
}
.entete--ombre { box-shadow: 0 1px 0 var(--filet); }
.entete--cache { transform: translateY(-101%); }
.entete__progres { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--vert); transform-origin: left; transform: scaleX(var(--p, 0)); }
.entete__barre { display: flex; align-items: center; gap: 14px; max-width: 1360px; margin-inline: auto; height: var(--entete); padding-left: var(--g); padding-right: var(--gd); }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marque img { height: 34px; width: auto; }
.marque__texte { display: grid; line-height: 1.25; }
.marque__texte b { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marque__texte span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
@media (max-width: 479px) { .marque__texte span { display: none; } .entete__ago { padding: 0 12px; letter-spacing: .1em; } }
@media (max-width: 399px) { .menu__libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .marque { gap: 9px; } }
.entete__ago {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; background: var(--vert); color: var(--blanc);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--courbe);
}
.entete__ago:hover { background: var(--vert-fonce); }
.menu { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 2px 0 6px; background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.menu__traits, .menu__traits::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--courbe), width .4s var(--courbe); }
.menu__traits::before { content: ""; position: absolute; top: 6px; left: 0; width: 14px; }
.menu[aria-expanded="true"] .menu__traits { transform: translateY(3px) rotate(45deg); }
.menu[aria-expanded="true"] .menu__traits::before { top: 0; width: 22px; transform: rotate(-90deg); }

/* Menu plein écran (téléphone) */
.nav {
  position: fixed; inset: 0; z-index: -1; background: var(--blanc);
  padding: calc(var(--entete) + 36px + env(safe-area-inset-top, 0px)) var(--gd) 40px var(--g);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--courbe), visibility 0s linear .4s; overflow-y: auto;
}
.menu-ouvert { overflow: hidden; }
.menu-ouvert .nav { opacity: 1; visibility: visible; transition: opacity .4s var(--courbe), visibility 0s; }
.menu-ouvert .entete { transform: none; }
.nav ul { display: grid; counter-reset: lien; }
.nav li { border-bottom: 1px solid var(--filet); }
.nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 15px 0; text-decoration: none;
  font-family: var(--f-titre); font-size: 34px; line-height: 1.1;
}
.nav li:not(.nav__mobile) a::before { counter-increment: lien; content: counter(lien, decimal-leading-zero); font-size: 17px; color: var(--vert); min-width: 1.6em; }
.nav__mobile a { font-family: var(--f-texte); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--vert); padding: 22px 0; }
.anim .nav li { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--courbe), transform .6s var(--courbe); }
.anim .menu-ouvert .nav li { opacity: 1; transform: none; transition-delay: calc(.08s + var(--n, 0) * .05s); }
.nav li:nth-child(2) { --n: 1; } .nav li:nth-child(3) { --n: 2; } .nav li:nth-child(4) { --n: 3; }
.nav li:nth-child(5) { --n: 4; } .nav li:nth-child(6) { --n: 5; } .nav li:nth-child(7) { --n: 6; }

/* En haut de page, l'en-tête se pose sur la photographie (classe « haut » sur <html>, posée par le script) */
.marque__clair { display: none; }
.haut .entete { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--blanc); box-shadow: none; }
.haut .marque__clair { display: block; }
.haut .marque__sombre { display: none; }
.haut .marque__texte span { color: rgba(255, 255, 255, .86); }
.haut body:not(.menu-ouvert) .entete .marque__texte, .haut .nav a { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.haut .entete__progres { opacity: 0; }
.haut .menu-ouvert .entete { background: var(--blanc); color: var(--encre); }
.haut .menu-ouvert .marque__clair { display: none; }
.haut .menu-ouvert .marque__sombre { display: block; }
.haut .menu-ouvert .marque__texte span { color: var(--gris); }

/* ---------- Accroche : photographie plein écran, diaporama lent, titre posé dessus ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  min-height: 100svh; background: #0D1410; color: var(--blanc);
}
.hero__fond { position: absolute; inset: 0; z-index: -2; }
.hero__para { position: absolute; inset: -5% 0; will-change: transform; }
.diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--courbe); }
.diapo.actif { opacity: 1; }
.diapo--pano { --large: 200%; --pan: 19%; }
.diapo.diapo--pano img { width: var(--large); max-width: none; margin-left: calc((100% - var(--large)) / 2); }
/* Par photo, dans la page : --x, --xm (téléphone) et --y cadrent l'image, --lum l'éclaircit */
.diapo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--xm, var(--x, 56%)) var(--y, 56%); filter: brightness(var(--lum, 1.04)) saturate(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 13, 11, .44) 0%, rgba(8, 13, 11, 0) 20%),
    linear-gradient(0deg, rgba(8, 13, 11, .82) 0%, rgba(8, 13, 11, .64) 30%, rgba(8, 13, 11, .42) 52%, rgba(8, 13, 11, .16) 70%, rgba(8, 13, 11, 0) 84%);
}
.hero__cadre {
  display: grid; grid-template-rows: 1fr auto; width: 100%; max-width: 1360px; margin-inline: auto;
  padding: calc(var(--entete) + env(safe-area-inset-top, 0px) + 16px) var(--gd) 0 var(--g);
}
.hero__contenu { align-self: end; display: grid; gap: 20px; padding-bottom: 22px; container-type: inline-size; }
.hero__titrage { display: grid; gap: 14px; }
.hero__libelle { color: var(--blanc); text-shadow: 0 0 2px rgba(0, 0, 0, .5), 0 1px 14px rgba(0, 0, 0, .75); }
.hero__titre { font-family: var(--f-titre); font-size: clamp(46px, 13.6vw, 76px); font-size: clamp(42px, min(17.2cqi, 13vh), 96px); line-height: .94; letter-spacing: -.016em; }
.hero__titre { text-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 4px 40px rgba(0, 0, 0, .42); }
.hero__titre .ini { color: #BFE6CC; }
/* chaque ligne est un masque : le texte y monte ; les marges laissent passer la boucle du « D » */
.hero__titre .l { display: block; overflow: hidden; padding: .16em .1em .13em .36em; margin: -.16em -.1em -.13em -.36em; }
.hero__titre .l > span { display: block; }
.hero__cote { display: grid; gap: 18px; justify-items: start; }
.hero__chapo { font-size: 16px; line-height: 1.55; color: var(--blanc); max-width: 40ch; text-shadow: 0 0 2px rgba(0, 0, 0, .5), 0 1px 18px rgba(0, 0, 0, .75); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero__actions .lien-fleche { display: none; }
.hero__pied { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; border-top: 1px solid rgba(255, 255, 255, .28); }
.mandataire { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: inherit; }
.mandataire img { width: 44px; height: 44px; object-fit: cover; background: var(--menthe-2); }
.mandataire > span { display: grid; line-height: 1.3; }
.mandataire .libelle { font-size: 10px; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.mandataire b { font-family: var(--f-titre); font-weight: 400; font-size: 21px; white-space: nowrap; }
.hero__diapos { display: flex; align-items: center; gap: 16px; }
.hero__compteur { display: none; font-family: var(--f-titre); font-size: 21px; line-height: 1; white-space: nowrap; }
.hero__legende { display: none; font-size: 13.5px; color: rgba(255, 255, 255, .84); white-space: nowrap; min-width: 20ch; }
.hero__barres { display: flex; gap: 6px; }
.barre-diapo { position: relative; width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.barre-diapo::before, .barre-diapo span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .36); }
.barre-diapo span { background: var(--blanc); transform: scaleX(0); transform-origin: left; }
.barre-diapo.actif span { transform: scaleX(1); }
.hero__bande {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0 calc(-1 * var(--gd)) 0 calc(-1 * var(--g)); padding: 12px var(--gd) calc(12px + env(safe-area-inset-bottom, 0px)) var(--g);
  background: var(--vert); color: var(--blanc);
}
.hero__bande-libelle { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.6; }
.hero__bande-annees { font-family: var(--f-titre); font-size: clamp(38px, 11vw, 56px); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 599px) and (max-height: 739px) { .hero__chapo { display: none; } }
@media (max-width: 419px) { .barre-diapo { width: 15px; } .hero__barres { gap: 5px; } .mandataire .libelle { letter-spacing: .14em; } }

/* Entrée en scène, puis vie de l'accroche */
@keyframes ligne { from { transform: translateY(112%); } to { transform: none; } }
@keyframes lent { from { transform: scale(1.03); } to { transform: scale(1.13) translate3d(-1.2%, -1%, 0); } }
@keyframes balayage { from { transform: translate3d(var(--pan), 0, 0); } to { transform: translate3d(calc(-1 * var(--pan)), 0, 0); } }
@keyframes ouverture { from { transform: scale(1.14); } to { transform: none; } }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glisse { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
.anim .hero__fond { animation: ouverture 2.6s var(--courbe) .7s both; }
.anim .diapo.actif img, .anim .diapo.sort img { animation: lent 12s linear both; }
.anim .diapo--pano.actif img, .anim .diapo--pano.sort img { animation: balayage 15s linear both; }
.anim .hero__titre .l > span { animation: ligne 1.3s var(--courbe) both; animation-delay: calc(1s + var(--i, 0) * .13s); }
.anim .hero__libelle, .anim .hero__chapo, .anim .hero__actions, .anim .hero__pied > * {
  animation: monte 1.1s var(--courbe) both; animation-delay: calc(.95s + var(--d, 0) * .1s);
}
.hero__chapo { --d: 5; } .hero__actions { --d: 6; } .hero__pied > * { --d: 8; }
.anim .hero__pied > .hero__bande { animation-name: glisse; --d: 9; }
.anim .barre-diapo.actif span { animation: remplir var(--duree-diapo, 6.5s) linear both; }
/* au défilement : la photographie recule, le texte s'efface */
.anim .hero__para { transform: translate3d(0, calc(var(--s, 0) * 12%), 0); }
.anim .hero__cadre { transform: translate3d(0, calc(var(--s, 0) * -56px), 0); opacity: calc(1 - var(--s, 0) * 1.45); }

/* ---------- Rendez-vous ---------- */
.rdv { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.rdv__grille { display: grid; }
.rdv__cellule { padding: 22px 0; border-top: 1px solid var(--filet); display: grid; align-content: start; gap: 4px; }
.rdv__cellule:first-child { border-top: 0; padding-top: 30px; }
.rdv__titre { font-family: var(--f-titre); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.rdv__valeur { font-family: var(--f-titre); font-size: clamp(25px, 2.2vw, 30px); line-height: 1.15; }
.rdv__note { font-size: 14.5px; color: var(--gris); }
.rdv__note[data-compte] { color: var(--vert-fonce); font-weight: 600; letter-spacing: .04em; }
.rdv__actions { display: grid; gap: 10px; padding-bottom: 34px; }
.rdv__actions .bouton { width: 100%; }

/* ---------- Le projet ---------- */
.projet { position: relative; padding-block: var(--section); overflow: hidden; }
.projet__plan { width: 100%; margin-top: 12px; opacity: .85; pointer-events: none; }
.projet__grille { position: relative; display: grid; gap: 22px; }
.projet__titre { font-family: var(--f-titre); font-size: clamp(36px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.012em; max-width: 18ch; }
.projet__titre i { color: var(--vert); }
.projet__texte { display: grid; gap: 36px; color: var(--gris); max-width: 54ch; margin-top: 10px; }
.profils { display: grid; gap: 14px; }
.profils__liste { display: flex; flex-wrap: wrap; gap: 10px; }
.profils__liste button {
  min-height: 46px; padding: 0 18px; background: var(--blanc); border: 1px solid var(--filet); cursor: pointer;
  font-size: 14.5px; color: var(--encre); transition: border-color .35s var(--courbe), background-color .35s var(--courbe), color .35s var(--courbe);
}
.profils__liste button:hover { border-color: var(--vert); background: var(--vert); color: var(--blanc); }

/* ---------- Priorités ---------- */
.priorites { padding-bottom: var(--section); }
.priorites__tete { display: grid; gap: 18px; }
.volets { display: none; }
.priorites__liste { margin-top: 40px; border-bottom: 1px solid var(--filet); }
.priorite { border-top: 1px solid var(--filet); }
.priorite summary { display: grid; grid-template-columns: 46px 1fr 30px; gap: 12px; align-items: start; padding: 24px 0; cursor: pointer; list-style: none; }
.priorite summary::-webkit-details-marker { display: none; }
.priorite__num { font-family: var(--f-titre); font-size: 34px; line-height: .95; color: var(--vert); }
.priorite__tete { display: grid; gap: 4px; }
.priorite__titre { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; line-height: 1.3; transition: color .35s var(--courbe); }
.priorite__resume { font-size: 15.5px; color: var(--gris); }
.priorite summary:hover .priorite__titre, .priorite[open] .priorite__titre { color: var(--vert-fonce); }
.priorite__signe { position: relative; width: 30px; height: 30px; border: 1px solid var(--filet); border-radius: 50%; margin-top: 2px; transition: background-color .35s var(--courbe), border-color .35s var(--courbe); }
.priorite__signe::before, .priorite__signe::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--vert-fonce); transform: translate(-50%, -50%); transition: transform .45s var(--courbe), background-color .35s; }
.priorite__signe::after { transform: translate(-50%, -50%) rotate(90deg); }
.priorite[open] .priorite__signe { background: var(--vert); border-color: var(--vert); }
.priorite[open] .priorite__signe::before, .priorite[open] .priorite__signe::after { background: var(--blanc); }
.priorite[open] .priorite__signe::after { transform: translate(-50%, -50%) rotate(0deg); }
.priorite__detail { display: grid; gap: 26px; padding: 2px 0 30px 58px; }
.priorite__detail .libelle { margin-bottom: 6px; }

details::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--courbe), content-visibility .55s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* ---------- Cibles ---------- */
.cibles { padding-top: 0; }
.cibles__grille { display: grid; gap: 36px; padding-bottom: clamp(56px, 7vw, 104px); }
.cibles__intro { display: grid; gap: 16px; }
.cibles__liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.cibles__liste li { display: grid; align-content: start; gap: 8px; padding: 22px 0 26px; border-top: 1px solid var(--filet); container-type: inline-size; }
.cibles__valeur { font-family: var(--f-titre); font-size: clamp(44px, 6vw, 96px); font-size: clamp(40px, 34cqi, 128px); line-height: .95; color: var(--vert); white-space: nowrap; font-feature-settings: "lnum"; letter-spacing: -.01em; }
.cibles__libelle { font-size: 15px; line-height: 1.45; color: var(--gris); max-width: 22ch; }
.bande { background: var(--vert); color: var(--blanc); }
.bande__grille { display: grid; gap: 18px; padding-block: clamp(36px, 4.4vw, 64px); }
.bande__texte { font-family: var(--f-titre); font-size: clamp(26px, 3.1vw, 46px); line-height: 1.12; max-width: 26ch; }

/* ---------- L'équipe ---------- */
.equipe { padding-block: var(--section); }
.equipe__tete { display: grid; gap: 20px; }
.equipe__grille { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
.membre { display: grid; align-content: start; }
.membre__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(160deg, #F3F7F3, #DDE8E0); }
.membre__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--courbe); }
.membre:hover .membre__photo img { transform: scale(1.045); }
.membre--tete .membre__photo { outline: 1px solid var(--vert); outline-offset: 5px; }
.membre__initiales { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-titre); font-size: clamp(44px, 9vw, 72px); color: var(--vert); opacity: .55; }
.membre__num { margin-top: 14px; font-family: var(--f-titre); font-size: 22px; line-height: 1; color: var(--vert); }
.membre__nom { margin-top: 6px; font-family: var(--f-texte); font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.membre__role { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--vert); }

/* ---------- Engagements ---------- */
.engagements { background: var(--menthe); padding-block: var(--section); }
.engagements__grille { display: grid; gap: 44px; }
.pourquoi { margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--vert); display: grid; gap: 12px; max-width: 46ch; }
.pourquoi__texte { font-family: var(--f-titre); font-size: clamp(23px, 2vw, 28px); line-height: 1.3; }
.pourquoi__regle { font-size: 15px; font-weight: 600; color: var(--vert-fonce); }
.trois li { padding: 26px 0; border-top: 1px solid #D5DED7; display: grid; gap: 8px; }
.trois li p:last-child { color: var(--gris); font-size: 16px; }
.rigueur { margin-top: clamp(48px, 6vw, 80px); }
.rigueur__titre { margin: 8px 0 22px; }
.numerotee li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid #D5DED7; }
.numerotee li:last-child { border-bottom: 1px solid #D5DED7; }
.numerotee__num { font-family: var(--f-titre); font-size: 28px; line-height: 1.05; color: var(--vert); }
.numerotee div { display: grid; gap: 2px; }
.numerotee div span { font-size: 15.5px; color: var(--gris); }

.etapes { margin-top: clamp(72px, 9vw, 136px); }
.etapes__tete { display: grid; gap: 14px; }
/* ---------- Frise du déploiement : un rail, cinq étapes numérotées, trois jalons marqués d'un drapeau ----------
   Sur téléphone, le rail descend ; sur ordinateur (à partir de 1000 px), il traverse le panneau.
   Sans script ni animation, tout est affiché « atteint ». */
.frise {
  --n: 40px; --pg: 18px; --ph: 28px;
  position: relative; margin-top: 36px; padding: var(--ph) 20px var(--ph) var(--pg);
  background: var(--blanc); border: 1px solid var(--filet);
}
.frise__rail { position: absolute; left: calc(var(--pg) + var(--n) / 2 - 1px); top: calc(var(--ph) + var(--n) / 2); bottom: calc(var(--ph) + 18px); width: 2px; background: var(--menthe-2); }
.frise__plein { position: absolute; inset: 0; background: var(--vert); transform-origin: 0 0; }
.frise__liste { position: relative; display: grid; gap: 26px; }
.pas { display: grid; grid-template-columns: var(--n) minmax(0, 1fr); gap: 18px 16px; align-items: start; }
.pas__noeud {
  width: var(--n); height: var(--n); border-radius: 50%; display: grid; place-items: center;
  background: var(--vert); border: 1.5px solid var(--vert); color: var(--blanc);
  font-family: var(--f-titre); font-size: 21px; line-height: 1; padding-bottom: 1px;
  transition: background-color .5s, border-color .5s, color .5s, box-shadow .7s var(--courbe);
}
.pas__corps { display: grid; padding-top: 9px; transition: opacity .8s var(--courbe); }
.pas__quand { font-size: 13.5px; line-height: 1.5; color: var(--gris); margin-top: 2px; }
.pas__quand--vide { display: none; }
.pas h4 { font-family: var(--f-titre); font-size: 28px; font-weight: 400; line-height: 1.08; margin-top: 10px; }
.pas__texte { font-size: 15.5px; line-height: 1.55; color: var(--gris); max-width: 44ch; margin-top: 8px; }
.jalon { grid-column: 1 / -1; display: grid; grid-template-columns: var(--n) minmax(0, 1fr); column-gap: 16px; align-items: center; transition: opacity .8s var(--courbe); }
.jalon__marque { order: -1; justify-self: center; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 1.5px solid var(--vert); transition: border-color .5s; }
.jalon__marque svg { width: 11px; height: 19px; margin-left: 3px; overflow: visible; }
.jalon .mat { fill: none; stroke: var(--vert); stroke-width: 1.6; stroke-linecap: round; transition: stroke .5s; }
.jalon .fanion { fill: var(--vert); stroke: var(--vert); stroke-width: 1.4; stroke-linejoin: round; transform-box: fill-box; transform-origin: left center; transition: fill .5s, stroke .5s, transform .7s var(--courbe); }
.jalon__texte { justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 14px; background: var(--menthe); }
.jalon__texte b { font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--vert); white-space: nowrap; }
.jalon__texte i { font-family: var(--f-titre); font-style: italic; font-size: 18px; line-height: 1.2; white-space: nowrap; }
/* Frise animée (classe posée par main.js) : ce qui n'est pas encore atteint attend, en clair */
.frise.vivante .frise__plein { transform: scaleY(var(--p, 0)); transition: transform .3s linear; }
.frise.vivante .pas__noeud:not(.atteint) { background: var(--blanc); border-color: #C6D3CA; color: var(--gris); }
.frise.vivante .pas.courant .pas__noeud { box-shadow: 0 0 0 7px rgba(28, 125, 74, .14); }
.frise.vivante .pas:not(.ouvert) .pas__corps, .frise.vivante .jalon:not(.atteint) { opacity: .55; }
.frise.vivante .jalon:not(.atteint) .jalon__marque { border-color: #C6D3CA; }
.frise.vivante .jalon:not(.atteint) .mat { stroke: #9DB2A5; }
.frise.vivante .jalon:not(.atteint) .fanion { fill: var(--blanc); stroke: #9DB2A5; transform: scaleX(.35); }

/* ---------- Le club ---------- */
.club { padding-top: var(--section); }
.club__tete { display: grid; gap: 20px; }
.fierte { margin-top: 44px; display: grid; }
.fierte li { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--filet); }
.fierte__valeur { font-family: var(--f-titre); font-size: clamp(60px, 8vw, 128px); line-height: .92; color: var(--vert); font-feature-settings: "lnum"; letter-spacing: -.01em; }
.fierte__texte { font-size: 15.5px; color: var(--gris); max-width: 34ch; }
.sites { margin-top: clamp(64px, 9vw, 136px); display: grid; gap: 40px; }
.site { display: grid; gap: 22px; align-content: start; }
.site__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--menthe-2); }
.site__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--courbe); }
.site:hover .site__photo img { transform: scale(1.04); }
.site__texte { display: grid; gap: 10px; }
.site__texte p:last-child { color: var(--gris); font-size: 16px; max-width: 48ch; }
.sites__distance { display: flex; align-items: center; gap: 16px; color: var(--vert); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.sites__distance::before, .sites__distance::after { content: ""; flex: 1; height: 1px; background: var(--filet); }

.interlude { position: relative; margin-top: var(--section); height: clamp(440px, 82vh, 780px); overflow: hidden; background: var(--vert-profond); color: var(--blanc); display: flex; align-items: flex-end; }
.interlude__photo { position: absolute; inset: -12% 0; will-change: transform; }
.interlude__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 46, 27, 0) 38%, rgba(10, 46, 27, .5) 72%, rgba(10, 46, 27, .82) 100%); }
.interlude__texte { position: relative; z-index: 2; display: grid; gap: 14px; padding-bottom: clamp(36px, 6vw, 88px); }
.interlude__phrase { font-family: var(--f-titre); font-size: clamp(30px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.01em; max-width: 22ch; }

.releve { margin-block: var(--section); display: grid; gap: 16px; max-width: 980px; }
.releve p:last-child { font-family: var(--f-titre); font-size: clamp(26px, 3vw, 44px); line-height: 1.18; }

.galerie { padding-bottom: var(--section); }
.galerie__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.galerie__boutons { display: none; gap: 10px; }
.galerie__piste {
  --h: clamp(250px, 46vw, 560px);
  margin-top: 36px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  padding-left: var(--g); padding-right: var(--gd); padding-bottom: 14px; scroll-padding-inline: var(--g);
  scrollbar-width: none;
}
.galerie__piste::-webkit-scrollbar { display: none; }
.galerie__piste figure { flex: none; scroll-snap-align: start; display: grid; gap: 12px; }
.galerie__piste img { height: var(--h); width: auto; max-width: none; }
.galerie__piste figcaption { font-size: 13.5px; color: var(--gris); letter-spacing: .01em; }
.galerie__piste.saisie { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

/* ---------- Méthode et questions ---------- */
.plus { background: var(--menthe); padding-block: var(--section); }
.plus__grille { display: grid; gap: clamp(64px, 8vw, 120px); }
.plus .chapo { margin-top: 14px; }
.replis { margin-top: 30px; border-bottom: 1px solid #D5DED7; }
.repli { border-top: 1px solid #D5DED7; }
.repli summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--f-titre); font-size: clamp(22px, 2vw, 27px); line-height: 1.2; transition: color .35s var(--courbe);
}
.repli summary::-webkit-details-marker { display: none; }
.repli summary:hover, .repli[open] summary { color: var(--vert-fonce); }
.repli summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--vert), var(--vert)) center / 14px 1.5px no-repeat, linear-gradient(var(--vert), var(--vert)) center / 1.5px 14px no-repeat; transition: transform .45s var(--courbe); }
.repli[open] summary::after { transform: rotate(45deg); }
.repli__contenu { padding: 0 0 28px; font-size: 16px; color: var(--gris); display: grid; gap: 14px; max-width: 60ch; }
.repli__contenu .reglee li { border-top-color: #D5DED7; }

/* ---------- Appel final ---------- */
.final { position: relative; overflow: hidden; background: var(--vert); color: var(--blanc); padding-block: clamp(96px, 13vw, 200px); }
.final__plan { position: absolute; right: -18%; top: 50%; width: 110%; max-width: 1100px; transform: translateY(-50%); opacity: .13; filter: brightness(0) invert(1); pointer-events: none; }
.final__grille { position: relative; display: grid; justify-items: start; gap: 22px; }
.final__ecusson { width: 50px; margin-bottom: 10px; }
.final__titre { font-family: var(--f-titre); font-size: clamp(44px, 7vw, 116px); line-height: .98; letter-spacing: -.014em; max-width: 13ch; }
.final__titre .ini { color: #CFE8D8; }
.final__rdv { font-size: clamp(17px, 1.4vw, 20px); max-width: 44ch; color: #E6F2EA; }
.final__actions { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- Pied de page ---------- */
.pied { padding-block: 56px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; color: var(--gris); }
.pied__grille { display: grid; gap: 22px; }
.pied__marque { display: flex; align-items: center; gap: 16px; }
.pied__marque img { width: 34px; height: auto; }
.pied__slogan { font-family: var(--f-titre); font-size: 26px; line-height: 1.1; color: var(--encre); }
.pied__mention { max-width: 60ch; }

/* ---------- Barre fixe (téléphone) ---------- */
.barre {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2px;
  padding: 6px max(10px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--filet);
  transform: translateY(110%); transition: transform .55s var(--courbe);
}
.barre--visible { transform: none; }
.barre__date { display: grid; line-height: 1.2; }
.barre__date b { font-family: var(--f-titre); font-weight: 400; font-size: 21px; }
.barre__date span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--vert); }
.barre__bouton {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 13px; cursor: pointer; list-style: none;
  text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vert-fonce);
}
.barre__bouton::-webkit-details-marker { display: none; }
.barre__bouton svg { width: 20px; height: 20px; }
.agenda--barre .agenda__choix { top: auto; bottom: calc(100% + 14px); left: auto; right: -70px; }

/* ---------- Apparitions au défilement (posées par main.js) ---------- */
.anim [data-anim="monte"] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--courbe), transform 1.2s var(--courbe); transition-delay: calc(var(--i, 0) * 80ms); }
.anim [data-anim="monte"].vu { opacity: 1; transform: none; }
/* le masque porte sur l'image, jamais sur le bloc observé : un bloc entièrement masqué n'est pas vu par le navigateur, et ne se révélerait jamais */
.anim [data-anim="image"] img { clip-path: inset(0 0 100% 0); transform: scale(1.14); transition: clip-path 1.5s var(--courbe), transform 2s var(--courbe); }
.anim [data-anim="image"].vu img { clip-path: inset(0 0 0 0); transform: none; }
.anim .site:hover [data-anim="image"].vu img { transform: scale(1.04); }
.anim [data-anim="trait"] { transform: scaleX(0); transition: transform 1.4s var(--courbe) calc(var(--i, 0) * 80ms); }
.anim [data-anim="trait"].vu { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .15s !important; animation: none !important; }
  details::details-content { transition: none; }
}

/* ---------- Tablette en hauteur : une colonne, mais plus d'air ---------- */
@media (min-width: 600px) and (max-width: 859px) {
  :root { --g: 40px; --gd: 40px; }
  .hero__titre { font-size: clamp(56px, min(13.5cqi, 13vh), 104px); }
  .hero__contenu { gap: 26px; padding-bottom: 32px; }
  .hero__chapo { font-size: 17px; }
  .hero__actions .lien-fleche { display: inline-flex; }
  .barre-diapo { width: 34px; }
  .projet__plan { max-width: 560px; margin-inline: auto; }
  .projet__titre { font-size: 52px; }
  .sites { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .sites__distance { display: none; }
  .site--decale { margin-top: 72px; }
  .trois li { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .trois li .libelle { grid-column: 1 / -1; }
}

/* ---------- À partir de 600 px ---------- */
@media (min-width: 600px) {
  .equipe__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
  .cibles__liste { grid-template-columns: repeat(3, 1fr); }
  .rdv__grille { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .rdv__cellule:nth-child(2) { border-top: 0; padding-top: 30px; }
  .rdv__actions { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
  .fierte { grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
}

/* ---------- Ordinateur : à partir de 860 px ---------- */
@media (min-width: 860px) {
  :root { --entete: 76px; --g: clamp(32px, 4.6vw, 72px); --gd: clamp(32px, 4.6vw, 72px); }
  body { font-size: 17px; }
  .barre, .menu, .nav__mobile { display: none; }

  /* En-tête : navigation en ligne */
  .nav { position: static; z-index: auto; opacity: 1; visibility: visible; background: none; padding: 0; overflow: visible; transition: none; }
  .nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
  .nav li, .anim .nav li { border: 0; opacity: 1; transform: none; }
  .nav a { position: relative; display: block; padding: 10px 0; font-family: var(--f-texte); font-size: 13.5px; letter-spacing: .01em; transition: color .3s; }
  .nav li:not(.nav__mobile) a::before { content: none; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--vert); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--courbe); }
  .nav a:hover::after, .nav a.actif::after { transform: scaleX(1); transform-origin: left; }
  .nav a:hover, .nav a.actif { color: var(--vert-fonce); }
  .marque__texte span { display: none; }
  .entete__ago { height: 42px; padding: 0 18px; margin-left: clamp(6px, 1.4vw, 20px); }

  .haut .nav a:hover, .haut .nav a.actif { color: var(--blanc); }
  .haut .nav a::after { background: var(--blanc); }

  /* Accroche : la composition tient en bas d'écran, titre à gauche, texte et boutons à droite */
  .hero { min-height: clamp(620px, 100svh, 1120px); }
  .hero::before {
    background:
      radial-gradient(ellipse 44% 40% at 80% 73%, rgba(8, 13, 11, .44) 0%, rgba(8, 13, 11, 0) 72%),
      radial-gradient(ellipse 60% 64% at 20% 66%, rgba(8, 13, 11, .42) 0%, rgba(8, 13, 11, 0) 74%),
      linear-gradient(180deg, rgba(8, 13, 11, .44) 0%, rgba(8, 13, 11, 0) 20%),
      linear-gradient(0deg, rgba(8, 13, 11, .7) 0%, rgba(8, 13, 11, .44) 22%, rgba(8, 13, 11, .2) 44%, rgba(8, 13, 11, .05) 62%, rgba(8, 13, 11, 0) 76%);
  }
  .diapo--pano { --large: 114%; --pan: 5%; }
  .diapo img { object-position: var(--x, 56%) var(--y, 56%); }
  .hero__cadre { padding-top: calc(var(--entete) + 32px); }
  .hero__contenu { grid-template-columns: max-content minmax(240px, 400px); justify-content: space-between; align-items: end; column-gap: clamp(32px, 5vw, 88px); padding-bottom: clamp(28px, 5vh, 56px); }
  .hero__titrage { gap: clamp(14px, 2.4vh, 26px); }
  .hero__titre { font-size: clamp(58px, min(8.2vw, 15.5vh), 172px); }
  .hero__cote { gap: 24px; padding-bottom: .5vw; }
  .hero__chapo { font-size: clamp(16px, 1.25vw, 18.5px); }
  .hero__actions .lien-fleche { display: inline-flex; }
  .hero__pied { grid-template-columns: auto 1fr auto; gap: 0 clamp(20px, 3vw, 48px); align-items: stretch; }
  .mandataire { padding: 18px 0; }
  .mandataire img { width: 52px; height: 52px; }
  .mandataire b { font-size: 23px; }
  .hero__diapos { justify-content: center; gap: 22px; }
  .hero__barres { gap: 8px; }
  .barre-diapo { width: 28px; }
  .hero__bande { grid-column: auto; margin: 0; padding: 0 clamp(20px, 2.4vw, 34px); gap: 16px; justify-content: flex-start; }
  .hero__bande-libelle { font-size: 11px; }
  .hero__bande-annees { font-size: clamp(34px, 3.6vw, 60px); }

  /* Rendez-vous : une ligne */
  .rdv__grille { grid-template-columns: 1.25fr 1fr 1.15fr auto; column-gap: 0; }
  .rdv__cellule, .rdv__cellule:first-child, .rdv__cellule:nth-child(2) { border-top: 0; padding: 34px clamp(18px, 2.6vw, 40px); border-left: 1px solid var(--filet); align-content: center; }
  .rdv__cellule:first-child { padding-left: 0; border-left: 0; }
  .rdv__actions { grid-column: auto; grid-template-columns: 1fr; padding-right: 0; min-width: 250px; }

  /* Le projet */
  .projet__grille { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 26px; }
  .projet__grille > .libelle { grid-column: 1 / -1; }
  .projet__titre { grid-column: 1 / span 10; }
  .projet__texte { grid-column: 1 / span 5; margin-top: clamp(24px, 4vw, 64px); align-self: end; }
  .projet__plan { grid-column: 7 / span 6; align-self: end; margin-top: 0; }

  /* Priorités : cinq volets illustrés ; celui qu'on choisit s'ouvre, et son détail s'affiche dessous */
  .priorites__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
  .priorite summary { grid-template-columns: 64px 1fr 34px; padding: 28px 0; }
  .priorite__num { font-size: 42px; }
  .priorite__detail { grid-template-columns: 1fr 1fr; gap: 36px; padding-left: 76px; }
  .priorite__detail--une { grid-template-columns: 1fr; }
  .js .volets { display: flex; gap: 10px; height: clamp(400px, 60vh, 620px); margin-top: clamp(40px, 5vw, 72px); }
  .volet {
    position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; overflow: hidden; cursor: pointer;
    background: var(--vert-profond); color: var(--blanc); text-align: left; font: inherit;
    transition: flex-grow 1s var(--courbe);
  }
  .volet.actif { flex-grow: 4.4; cursor: default; }
  .volet__photo { position: absolute; inset: 0; }
  .volet__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.72); transform: scale(1.08); transition: filter 1s var(--courbe), transform 1.6s var(--courbe); }
  .volet:hover .volet__photo img { filter: saturate(.9) brightness(.86); }
  .volet.actif .volet__photo img { filter: none; transform: none; }
  .volet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 13, 11, .4) 0%, rgba(8, 13, 11, 0) 28%, rgba(8, 13, 11, 0) 40%, rgba(8, 13, 11, .7) 72%, rgba(8, 13, 11, .9) 100%); }
  .volet__num { position: absolute; z-index: 1; left: 22px; top: 18px; font-family: var(--f-titre); font-size: 34px; line-height: 1; }
  .volet__court { position: absolute; z-index: 1; left: 20px; bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-titre); font-size: 25px; line-height: 1.1; white-space: nowrap; transition: opacity .4s var(--courbe); }
  .volet.actif .volet__court { opacity: 0; }
  .volet__texte { position: absolute; z-index: 1; left: 28px; bottom: 28px; width: min(440px, 36vw); display: grid; gap: 8px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--courbe), transform .8s var(--courbe); }
  .volet.actif .volet__texte { opacity: 1; transform: none; transition-delay: .3s; }
  .volet__titre { font-family: var(--f-titre); font-size: clamp(28px, 2.7vw, 40px); line-height: 1.05; }
  .volet__resume { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
  .volet:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }
  .js .priorites__liste { margin-top: 0; border-bottom: 0; min-height: var(--h-detail, 0px); }
  .js .priorite { border-top: 0; }
  .js .priorite summary { display: none; }
  .js .priorite::details-content { transition: none; }
  .js .priorite__detail { padding: clamp(36px, 4vw, 56px) 0 0; gap: clamp(36px, 6vw, 96px); }
  .js .priorite__detail--une .reglee { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
  .anim .priorite[open] .priorite__detail { animation: monte .8s var(--courbe) both; }
  .anim .volets .volet { clip-path: inset(100% 0 0 0); transition: flex-grow 1s var(--courbe), clip-path 1.3s var(--courbe) calc(var(--n, 0) * 90ms); }
  .anim .volets.vu .volet { clip-path: inset(0 0 0 0); }

  /* Cibles */
  .cibles__grille { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
  .cibles__intro { position: sticky; top: calc(var(--entete) + 40px); display: grid; gap: 16px; }
  .cibles__liste { column-gap: clamp(22px, 3vw, 48px); }
  .cibles__liste li { padding: 28px 0 40px; }
  .bande__grille { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }

  /* Équipe */
  .equipe__tete, .club__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
  .equipe__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 26px; margin-top: 64px; }
  .membre__nom { font-size: 12.5px; }

  /* Engagements */
  .engagements__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
  .engagements__intro { position: sticky; top: calc(var(--entete) + 40px); }
  .trois li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 32px 0; }
  .trois li .libelle { grid-column: 1 / -1; }
  .numerotee li { grid-template-columns: 64px 1fr; padding: 18px 0; }
  .etapes__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; }
  .etapes__tete .libelle { grid-column: 1 / -1; }

  /* Le club */
  .fierte { column-gap: clamp(28px, 4vw, 64px); margin-top: 64px; }
  .sites { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 9vw, 150px); position: relative; }
  .site--decale { margin-top: clamp(80px, 11vw, 180px); }
  .sites__distance { position: absolute; left: 50%; top: clamp(40px, 6vw, 96px); transform: translateX(-50%); flex-direction: column; gap: 14px; height: clamp(160px, 20vw, 300px); }
  .sites__distance::before, .sites__distance::after { width: 1px; height: auto; }
  .sites__distance span { writing-mode: vertical-rl; }
  .galerie__boutons { display: flex; }
  .galerie__piste { gap: 22px; padding-left: max(var(--g), calc((100vw - 1360px) / 2 + var(--g))); scroll-padding-left: max(var(--g), calc((100vw - 1360px) / 2 + var(--g))); cursor: grab; }
  .galerie__piste img { -webkit-user-drag: none; user-select: none; }

  /* Méthode et questions : côte à côte */
  .plus__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto); gap: 0 clamp(64px, 8vw, 120px); }
  .plus__grille > div { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .plus__grille .replis { align-self: start; }

  /* Appel final et pied */
  .final__plan { right: -8%; width: 70%; }
  .pied__grille { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
  .pied__lieux { text-align: right; max-width: 30ch; }
}

/* ---------- Grand écran ---------- */
@media (min-width: 1180px) {
  .hero__compteur { display: block; }
  .barre-diapo { width: 44px; }
  .hero__bande { gap: 22px; }
  .marque__texte span { display: block; }
  .equipe__grille { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 24px; }
  .rdv__actions { min-width: 280px; }
}
@media (min-width: 1400px) { .hero__legende { display: block; } }

/* ---------- Frise en ligne (ordinateur) ---------- */
@media (min-width: 600px) { .frise { --pg: 28px; --ph: 34px; padding-right: 32px; } .frise__liste { gap: 30px; } }
@media (min-width: 1000px) {
  .frise { --n: 46px; --haut: 66px; --pg: clamp(28px, 3.2vw, 52px); --ph: clamp(30px, 3vw, 44px); margin-top: 56px; padding: var(--ph) var(--pg) calc(var(--ph) + 8px); }
  .frise__rail { left: var(--pg); right: var(--pg); top: calc(var(--ph) + var(--haut) + var(--n) / 2 - 1px); bottom: auto; width: auto; height: 2px; }
  .frise__liste { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .pas { position: relative; display: block; padding: var(--haut) 22px 0 0; }
  .pas__noeud { font-size: 23px; }
  .pas__corps { padding-top: 24px; }
  .pas__quand--vide { display: block; min-height: 1.5em; }
  .pas h4 { font-size: clamp(25px, 2.15vw, 31px); }
  .pas__texte { max-width: 26ch; }
  .jalon { position: absolute; top: 0; right: 13%; height: calc(var(--haut) + var(--n) / 2); display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 6px; text-align: right; }
  .pas:last-child .jalon { right: 0; }
  .jalon__texte { display: grid; gap: 0; justify-items: end; padding: 0; background: none; }
  .jalon__marque { order: 0; display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none; }
  .jalon__marque svg { display: block; width: 20px; height: 34px; margin: 0; }
  .pas:hover .pas__noeud { box-shadow: 0 0 0 7px rgba(28, 125, 74, .14); }
  .frise.vivante .frise__plein { transform: scaleX(var(--p, 0)); }
}
