/* =========================================================
   JEF DIGITAL — Jeunesse Fondonera
   Feuille de style principale (version institutionnelle)
   ========================================================= */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --vert: #1b7a3a;
  --vert-fonce: #0e4a24;
  --vert-nuit: #0b2e19;
  --vert-pale: #eaf3ec;
  --vert-pale-2: #d6e9da;
  --rouge: #c8322a;
  --rouge-pale: #fbecea;
  --indigo: #22325c;
  --indigo-pale: #eceff6;
  --ciel: #9ed3ea;
  --encre: #13201a;
  --encre-2: #4a5650;
  --encre-3: #6c7670;
  --fond: #ffffff;
  --gris: #f5f6f3;
  --trait: #e3e7e1;

  --f-titre: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-texte: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.1875rem;
  --t-xl: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  --t-2xl: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --t-3xl: clamp(2.4rem, 1.6rem + 3vw, 4.1rem);

  --gouttiere: clamp(1.1rem, .6rem + 2vw, 2.5rem);
  --max: 1200px;
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --header-h: 76px;
  --r: 12px;
  --r-s: 8px;
  --ombre: 0 1px 2px rgba(19, 32, 26, .05), 0 8px 24px -12px rgba(19, 32, 26, .14);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: var(--f-texte); font-size: var(--t-m); line-height: 1.65; color: var(--encre);
  background: var(--fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.media picture, .cadre picture, .duo__img picture, .ph__visuel picture, .tuile picture, .galerie figure picture { height: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .55em; text-wrap: balance; }
h1, h2 { font-family: var(--f-titre); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3, h4 { font-family: var(--f-texte); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-l); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--vert); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--vert); color: #fff; padding: .7rem 1rem; border-radius: var(--r-s); text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gouttiere), var(--max)); margin-inline: auto; }
.wrap--etroit { width: min(100% - 2 * var(--gouttiere), 780px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--blanc { background: var(--fond); }
.section--gris, .section--foret { background: var(--gris); }
.section--indigo { background: var(--indigo); color: #e9edf6; }
.section--indigo h2, .section--indigo h3 { color: #fff; }

.lead { font-size: var(--t-l); line-height: 1.6; color: var(--encre-2); max-width: 60ch; }
.section--indigo .lead { color: #c9d1e6; }
.muted { color: var(--encre-2); }

.kicker { display: block; font-weight: 600; font-size: var(--t-s); color: var(--vert); margin-bottom: .8rem; }
.section--indigo .kicker { color: var(--ciel); }

.entete { display: grid; gap: .25rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); max-width: 760px; }
.entete h2 { margin-bottom: .35em; }
.entete .lead { margin-bottom: 0; }
@media (min-width: 900px) {
  .entete--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
  .entete--split h2 { margin-bottom: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.35rem; border: 1.5px solid var(--vert); border-radius: var(--r-s);
  background: var(--vert); color: #fff; font-weight: 650; font-size: var(--t-m); line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .2s;
}
.btn:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); box-shadow: 0 8px 20px -10px rgba(14, 74, 36, .6); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--vert { }
.btn--contour, .btn--secondaire { background: #fff; color: var(--encre); border-color: var(--trait); }
.btn--contour:hover, .btn--secondaire:hover { background: var(--gris); border-color: #cfd5cd; box-shadow: none; }
.btn--clair { background: #fff; color: var(--vert-fonce); border-color: #fff; }
.btn--clair:hover { background: var(--vert-pale); border-color: var(--vert-pale); }
.btn--sur-sombre { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--sur-sombre:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.lien { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--vert); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color .25s; }
.lien:hover { text-decoration-color: currentColor; }
.lien svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.lien:hover svg { transform: translateX(3px); }
.section--indigo .lien { color: var(--ciel); }

/* ---------- En-tête ---------- */
:root { --topbar-h: 40px; --barre-h: 80px; --header-h: 80px; }
@media (max-width: 1119px) { :root { --topbar-h: 0px; --barre-h: 68px; --header-h: 68px; } }
html { scroll-padding-top: calc(var(--barre-h) + 1rem); }
body { padding-top: calc(var(--topbar-h) + var(--barre-h)); }
body.accueil { padding-top: 0; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .4s var(--ease); }
.header.is-defile { transform: translateY(calc(-1 * var(--topbar-h))); }

.topbar { height: var(--topbar-h); background: var(--vert-nuit); color: #b9cdbf; font-size: .84rem; overflow: hidden; transition: background .3s; }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 1.4rem; white-space: nowrap; }
.topbar__devise img { width: 20px; height: 20px; border-radius: 50%; background: #fff; margin-right: -.8rem; }
.topbar__devise span { color: #fff; font-weight: 500; padding-left: 1.4rem; border-left: 1px solid rgba(255,255,255,.2); }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--ciel); }
@media (max-width: 1119px) { .topbar { display: none; } }

.header__barre { position: relative; height: var(--barre-h); background: #fff; border-bottom: 1px solid var(--trait); transition: background .35s, border-color .35s, box-shadow .35s, color .35s; }
.header.is-defile .header__barre { box-shadow: 0 10px 30px -20px rgba(19,32,26,.45); }
.header__in { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.marque { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--encre); flex: none; }
.marque img { width: 50px; height: 50px; border-radius: 50%; background: #fff; transition: transform .5s var(--ease); }
.marque:hover img { transform: rotate(-8deg); }
.marque__txt { display: grid; line-height: 1.12; }
.marque__txt b { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }
.marque__txt span { font-size: .8rem; color: var(--encre-3); font-weight: 500; transition: color .35s; }
@media (max-width: 1119px) { .marque img { width: 44px; height: 44px; } .marque__txt b { font-size: 1.05rem; } }

.nav { display: none; margin: 0 auto; height: 100%; }
.nav__liste { list-style: none; display: flex; align-items: stretch; height: 100%; gap: .1rem; }
.nav__liste > li { display: flex; align-items: center; position: static; }
.nav__lien { position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 100%; padding: 0 .95rem; border: 0; background: none; font-weight: 500; font-size: 1rem; color: var(--encre-2); text-decoration: none; cursor: pointer; transition: color .2s; }
.nav__lien::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--vert); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__lien:hover, .nav__deroule[aria-expanded="true"] { color: var(--encre); }
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after, .nav__lien.is-courant::after, .nav__deroule[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__lien[aria-current="page"], .nav__lien.is-courant { color: var(--vert); font-weight: 600; }
.nav__deroule svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__deroule[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__cta { flex: none; min-height: 46px !important; padding: .6rem 1.2rem !important; font-size: .96rem !important; margin-left: auto; }
@media (min-width: 1120px) { .nav { display: block; } .header__cta { margin-left: 0; } .burger { display: none !important; } }
@media (max-width: 559px) { .header__cta { display: none !important; } .burger { margin-left: auto; } }

/* En-tête transparent sur la photo de l'accueil */
.accueil .header:not(.is-defile):not(.menu-ouvert) .topbar { background: rgba(6,26,14,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.accueil .header:not(.is-defile):not(.menu-ouvert) .header__barre { background: transparent; border-color: rgba(255,255,255,.16); color: #fff; }
.accueil .header:not(.is-defile):not(.menu-ouvert) .marque { color: #fff; }
.accueil .header:not(.is-defile):not(.menu-ouvert) .marque__txt span { color: #c9dccd; }
.accueil .header:not(.is-defile):not(.menu-ouvert) .nav__lien { color: rgba(255,255,255,.86); }
.accueil .header:not(.is-defile):not(.menu-ouvert) .nav__lien:hover, .accueil .header:not(.is-defile):not(.menu-ouvert) .nav__lien[aria-current="page"] { color: #fff; }
.accueil .header:not(.is-defile):not(.menu-ouvert) .nav__lien::after { background: #fff; }
.accueil .header:not(.is-defile):not(.menu-ouvert) .header__cta { background: #fff; border-color: #fff; color: var(--vert-fonce); }
.accueil .header:not(.is-defile):not(.menu-ouvert) .header__cta:hover { background: var(--vert-pale); }
.accueil .header:not(.is-defile):not(.menu-ouvert) .burger { background: transparent; border-color: rgba(255,255,255,.4); }
.accueil .header:not(.is-defile):not(.menu-ouvert) .burger span { background: #fff; }
.accueil .header.mega-ouvert:not(.is-defile) .header__barre { background: #fff !important; border-color: var(--trait) !important; }
.accueil .header.mega-ouvert:not(.is-defile) .marque, .accueil .header.mega-ouvert:not(.is-defile) .nav__lien { color: var(--encre) !important; }
.accueil .header.mega-ouvert:not(.is-defile) .marque__txt span { color: var(--encre-3) !important; }
.accueil .header.mega-ouvert:not(.is-defile) .nav__lien::after { background: var(--vert) !important; }
.accueil .header.mega-ouvert:not(.is-defile) .header__cta { background: var(--vert) !important; border-color: var(--vert) !important; color: #fff !important; }

/* Panneau « La plateforme » */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 40px 60px -40px rgba(19,32,26,.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; color: var(--encre); }
.mega.is-ouvert { opacity: 1; visibility: visible; transform: none; }
.mega__in { width: min(100% - 2 * var(--gouttiere), var(--max)); margin-inline: auto; padding: 2rem 0 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr) 280px; gap: 1.5rem; }
.mega__col ul { list-style: none; display: grid; gap: .15rem; }
.mega__titre { margin: 0 0 .6rem .75rem; font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); }
.mega__lien { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; padding: .7rem .75rem; border-radius: 10px; text-decoration: none; transition: background .2s; }
.mega__lien:hover, .mega__lien[aria-current="page"] { background: var(--gris); }
.mega__lien b, .menu__espaces b { display: block; font-weight: 600; font-size: .98rem; color: var(--encre); }
.mega__lien small, .menu__espaces small { display: block; font-size: .83rem; color: var(--encre-3); line-height: 1.35; }
.mega__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--vert-pale); color: var(--vert); display: grid; place-items: center; transition: background .2s, color .2s; flex: none; }
.mega__ico svg { width: 20px; height: 20px; }
.mega__lien:hover .mega__ico { background: var(--vert); color: #fff; }
.mega__une { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; min-height: 240px; isolation: isolate; }
.mega__une picture, .mega__une img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.mega__une:hover img { transform: scale(1.05); }
.mega__une::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,46,25,.05), rgba(11,46,25,.88)); }
.mega__une-txt { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; display: grid; gap: .15rem; }
.mega__une-txt b { font-size: 1.15rem; }
.mega__une-txt small { font-size: .85rem; color: #d7e7db; }
.mega__une-txt .rubrique__suite { color: #fff; padding-top: .5rem; }
.mega-voile { position: fixed; inset: 0; z-index: 95; background: rgba(8,24,14,.35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mega-voile.is-visible { opacity: 1; visibility: visible; }

/* Bouton menu */
.burger { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--trait); background: #fff; display: grid; place-items: center; cursor: pointer; position: relative; flex: none; transition: background .2s, border-color .3s; }
.burger:hover { background: var(--gris); }
.burger span { position: absolute; left: 14px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, width .3s var(--ease); }
.burger span:nth-child(1) { width: 20px; transform: translateY(-6px); }
.burger span:nth-child(2) { width: 14px; }
.burger span:nth-child(3) { width: 20px; transform: translateY(6px); }
.burger:hover span:nth-child(2) { width: 20px; }
.menu-ouvert .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.menu { position: fixed; left: 0; right: 0; bottom: 0; top: var(--barre-h); z-index: 90; background: #fff; visibility: hidden; opacity: 0; transform: translateY(-10px); overflow-y: auto; transition: opacity .25s, visibility .25s, transform .35s var(--ease); -webkit-overflow-scrolling: touch; }
.menu.is-ouvert { visibility: visible; opacity: 1; transform: none; }
.menu__in { width: min(100% - 2 * var(--gouttiere), 720px); margin-inline: auto; padding: 1rem 0 2.5rem; }
.menu__principal { list-style: none; margin-bottom: 1.6rem; }
.menu__principal a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--trait); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.menu__principal a svg { width: 20px; height: 20px; color: var(--encre-3); }
.menu__principal a[aria-current="page"] { color: var(--vert); }
.menu__titre { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); margin: 0 0 .4rem; }
.menu__espaces { list-style: none; display: grid; gap: .1rem; margin-bottom: 1.4rem; }
.menu__espaces a { display: grid; grid-template-columns: 40px 1fr; gap: .85rem; align-items: center; padding: .6rem; margin: 0 -.6rem; border-radius: 10px; text-decoration: none; }
.menu__espaces a:hover, .menu__espaces a[aria-current="page"] { background: var(--gris); }
.menu__bas { display: grid; gap: .7rem; padding-top: .6rem; }
.menu__bas .btn { width: 100%; }
.menu__mail { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .4rem; color: var(--encre-2); text-decoration: none; font-size: var(--t-s); }
.menu__mail svg { width: 18px; height: 18px; }
.menu__devise { text-align: center; font-size: var(--t-xs); color: var(--encre-3); margin: 0; }

/* Devise : trois mots, trois couleurs du logo */
.devise { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-weight: 650; font-size: var(--t-s); color: var(--encre-2); }
.devise i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.devise i:nth-of-type(1) { background: var(--vert); }
.devise i:nth-of-type(2) { background: var(--rouge); }
.devise i:nth-of-type(3) { background: var(--indigo); }

/* ---------- Héros d'accueil ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(92vh, 880px); display: flex; align-items: center; padding: calc(var(--topbar-h) + var(--barre-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(6rem, 11vw, 9rem); overflow: hidden; background: var(--vert-nuit); }
.hero__fond { position: absolute; inset: 0; z-index: -2; }
.hero__fond picture, .hero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,32,18,.94) 0%, rgba(8,32,18,.82) 38%, rgba(8,32,18,.35) 70%, rgba(8,32,18,.15) 100%), linear-gradient(0deg, rgba(8,32,18,.55), transparent 40%); }
@media (max-width: 800px) { .hero::before { background: linear-gradient(180deg, rgba(8,32,18,.7) 0%, rgba(8,32,18,.88) 55%, rgba(8,32,18,.95) 100%); } }
.hero__grid { width: min(100% - 2 * var(--gouttiere), var(--max)); }
.hero__contenu { max-width: 640px; }
.hero__sur { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .85rem .35rem .4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: var(--t-s); font-weight: 500; color: #e3eee6; margin-bottom: 1.6rem; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.hero__sur img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); max-width: 14ch; margin-bottom: .3em; }
.hero h1 .ligne { display: block; overflow: hidden; padding-bottom: .05em; }
.hero h1 .ligne > span { display: inline-block; }
.hero__texte { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #d3e3d7; max-width: 48ch; margin: 0 0 2.2rem; }
.hero .chercher { max-width: 600px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 0; color: var(--encre); }
.hero__populaires { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.3rem 0 0; font-size: var(--t-s); color: #b9cdbf; }
.hero__populaires a { padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.hero__populaires a:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero__bande { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -6vw, -3rem); }
.hero__bande .infos { margin: 0; background: #fff; border: 1px solid var(--trait); border-radius: var(--r); box-shadow: 0 24px 50px -30px rgba(19,32,26,.4); padding: .4rem 1.6rem; }
@media (min-width: 760px) { .hero__bande .infos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hero__bande .infos { grid-template-columns: repeat(4, 1fr); padding: 1.6rem; } .hero__bande .infos > div { padding: 0 1.4rem; border: 0; } .hero__bande .infos > div + div { border-left: 1px solid var(--trait); } .hero__bande .infos > div:first-child { padding-left: 0; } }

/* Barre de recherche */
.chercher { display: flex; flex-wrap: wrap; gap: .5rem; padding: .5rem; background: #fff; border: 1px solid var(--trait); border-radius: var(--r); box-shadow: var(--ombre); }
.chercher__champ { position: relative; flex: 1 1 220px; }
.chercher__champ svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--encre-3); pointer-events: none; }
.chercher select { width: 100%; height: 52px; border: 0; background: transparent; padding: 0 1rem 0 2.75rem; font-size: var(--t-m); appearance: none; cursor: pointer; border-radius: var(--r-s); }
.chercher select:focus { outline: 2px solid var(--vert); }
.chercher .btn { flex: 1 0 auto; }
@media (min-width: 560px) { .chercher .btn { flex: 0 0 auto; } }

/* Bandeau d'informations */
.infos { display: grid; gap: 0; }
.infos > div { padding: 1.1rem 0; border-bottom: 1px solid var(--trait); }
.infos > div:last-child { border-bottom: 0; }
@media (min-width: 760px) and (max-width: 1099px) { .infos > div:nth-last-child(2) { border-bottom: 0; } }
.infos dt { font-size: var(--t-xs); color: var(--encre-3); font-weight: 500; margin-bottom: .25rem; }
.infos dd { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }

/* Domaines */
.section--domaines { padding-top: clamp(4rem, 7vw, 6rem); }
.domaines { list-style: none; display: grid; gap: .8rem; }
@media (min-width: 640px) { .domaines { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .domaines { grid-template-columns: repeat(4, 1fr); } }
.domaine { display: grid; grid-template-columns: 42px 1fr 18px; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--trait); border-radius: var(--r); background: #fff; text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); height: 100%; }
.domaine:hover { border-color: var(--vert-pale-2); box-shadow: var(--ombre); transform: translateY(-2px); }
.domaine b { display: block; font-weight: 600; font-size: 1rem; }
.domaine small { display: block; font-size: .84rem; color: var(--encre-3); line-height: 1.35; }
.domaine > svg { width: 18px; height: 18px; color: var(--encre-3); transition: transform .3s var(--ease), color .2s; }
.domaine:hover > svg { color: var(--vert); transform: translateX(3px); }
.domaine:hover .mega__ico { background: var(--vert); color: #fff; }

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

/* ---------- Mission ---------- */
.mission { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .mission { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.mission__img { position: relative; padding-bottom: 12%; }
.mission__img .cadre { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.6; width: 82%; }
.mission__img .cadre img { width: 100%; height: 100%; object-fit: cover; }
.mission__img .cadre--petit { position: absolute; width: 48%; right: 0; bottom: 0; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--ombre); }
.section--gris .mission__img .cadre--petit, .section--foret .mission__img .cadre--petit { border-color: var(--gris); }
.grande-citation { font-family: var(--f-titre); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.4; font-weight: 450; color: var(--encre); margin: 0 0 1.4rem; padding-left: 1.2rem; border-left: 3px solid var(--vert); }
.liste-coche { list-style: none; display: grid; gap: .75rem; margin: 1.4rem 0 1.8rem; }
.liste-coche li { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.liste-coche li::before {
  content: ""; width: 22px; height: 22px; margin-top: .18rem; border-radius: 50%; background: var(--vert-pale)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Rubriques ---------- */
.rubriques { display: grid; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; }
@media (min-width: 640px) { .rubriques { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rubriques { grid-template-columns: repeat(4, 1fr); } }
.rubrique { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem 1.6rem 1.6rem; background: #fff; text-decoration: none; transition: background .3s; min-height: 230px; }
.rubrique:hover { background: var(--vert-pale); }
.rubrique__ico { width: 44px; height: 44px; border-radius: 10px; background: var(--vert-pale); color: var(--vert); display: grid; place-items: center; margin-bottom: .8rem; transition: background .3s, color .3s; }
.rubrique:hover .rubrique__ico { background: var(--vert); color: #fff; }
.rubrique__ico svg { width: 22px; height: 22px; }
.rubrique h3 { font-size: 1.15rem; margin: 0; }
.rubrique p { margin: 0; color: var(--encre-2); font-size: var(--t-s); }
.rubrique__suite { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; font-size: var(--t-s); color: var(--vert); }
.rubrique__suite svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.rubrique:hover .rubrique__suite svg { transform: translateX(4px); }

/* Profils */
.profils { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .profils { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.profil { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--trait); transition: box-shadow .35s, transform .45s var(--ease); }
.profil:hover { box-shadow: 0 24px 50px -30px rgba(19,32,26,.35); transform: translateY(-4px); }
.profil__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.profil__media picture { height: 100%; }
.profil__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.1s var(--ease); }
.profil:hover .profil__media img { transform: scale(1.04); }
.profil__badge { position: absolute; left: 1.2rem; top: 1.2rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--vert-fonce); font-size: var(--t-s); font-weight: 600; }
.profil__corps { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.6rem, 3vw, 2.4rem); }
.profil__corps h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; margin: 0 0 .5rem; }
.profil__corps > p { color: var(--encre-2); font-size: var(--t-l); line-height: 1.55; margin: 0 0 1.4rem; max-width: 42ch; }
.profil__corps .liste-coche { width: 100%; grid-template-columns: 1fr; gap: .7rem 1.5rem; margin: 0 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--trait); }
@media (min-width: 560px) { .profil__corps .liste-coche { grid-template-columns: 1fr 1fr; } }
.profil__corps .btn { margin-top: auto; }

/* ---------- Étapes ---------- */
.chaine ol { list-style: none; display: grid; gap: 0; counter-reset: etape; }
.chaine__rail { display: none; }
.chaine li { counter-increment: etape; position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding-bottom: 1.6rem; }
.chaine li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--vert-pale-2); }
.chaine li::before { content: counter(etape); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--vert); color: var(--vert); font-weight: 750; font-size: 1rem; }
.chaine__mot { display: block; padding-top: .45rem; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.chaine__mot small { display: block; font-weight: 400; font-size: var(--t-s); color: var(--encre-2); margin-top: .25rem; line-height: 1.5; }
.section--indigo .chaine li::before { background: transparent; border-color: var(--ciel); color: var(--ciel); }
.section--indigo .chaine li:not(:last-child)::after { background: rgba(255,255,255,.18); }
.section--indigo .chaine__mot small { color: #c9d1e6; }
.split-chaine { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split-chaine { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } .split-chaine__colle { position: sticky; top: calc(var(--header-h) + 2.5rem); } }

/* Étapes horizontales (accueil) */
.etapes { list-style: none; display: grid; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; counter-reset: e; }
@media (min-width: 700px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(6, 1fr); } }
.etapes li { counter-increment: e; background: #fff; padding: 1.5rem 1.3rem 1.6rem; }
.etapes li::before { content: counter(e, decimal-leading-zero); display: block; font-family: var(--f-titre); font-size: 1rem; color: var(--vert); font-weight: 600; margin-bottom: 1.4rem; }
.etapes b { display: block; font-size: 1.08rem; margin-bottom: .3rem; }
.etapes span { font-size: var(--t-s); color: var(--encre-2); line-height: 1.5; display: block; }

.chaine-h { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; }
.chaine-h li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--t-s); }
.chaine-h li span { padding: .45rem .85rem; border-radius: 999px; background: var(--vert-pale); color: var(--vert-fonce); }
.chaine-h li:not(:last-child)::after { content: ""; width: 14px; height: 1.5px; background: var(--encre-3); }
.chaine-h--clair li span { background: var(--vert-pale); }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } }
.galerie figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
@media (min-width: 900px) {
  .galerie figure { aspect-ratio: auto; }
  .galerie figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .galerie figure:nth-child(6) { grid-column: span 2; }
}
.galerie button { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.galerie button:focus-visible { outline: 3px solid var(--vert); outline-offset: -3px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; font-size: var(--t-xs); color: #fff; background: linear-gradient(transparent, rgba(11,46,25,.82)); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.galerie figure:hover figcaption, .galerie figure:focus-within figcaption { opacity: 1; transform: none; }

.mosaique { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .mosaique { columns: 2; } }
@media (min-width: 1000px) { .mosaique { columns: 3; } }
.mosaique figure { margin: 0 0 1.2rem; break-inside: avoid; }
.mosaique button { all: unset; cursor: zoom-in; display: block; border-radius: var(--r); overflow: hidden; width: 100%; }
.mosaique button:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }
.mosaique img { width: 100%; transition: transform .9s var(--ease); }
.mosaique button:hover img { transform: scale(1.03); }
.mosaique figcaption { font-size: var(--t-s); color: var(--encre-2); padding: .6rem .1rem 0; }

.visio { position: fixed; inset: 0; z-index: 300; background: rgba(8,22,14,.94); display: none; place-items: center; padding: 4rem 1rem 5rem; }
.visio.is-ouvert { display: grid; }
.visio img { max-height: 80vh; width: auto; max-width: min(100%, 1200px); border-radius: var(--r-s); }
.visio__leg { position: absolute; bottom: 1.5rem; left: 1rem; right: 1rem; text-align: center; color: #d6e5da; font-size: var(--t-s); }
.visio button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.visio button:hover { background: rgba(255,255,255,.22); }
.visio button svg { width: 22px; height: 22px; }
.visio__fermer { top: 1rem; right: 1rem; }
.visio__prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.visio__suiv { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Impacts ---------- */
.impacts { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .impacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .impacts { grid-template-columns: repeat(4, 1fr); } }
.impact { padding: 1.8rem 1.6rem; border-radius: var(--r); background: #fff; border: 1px solid var(--trait); }
.impact h3 { margin: 0 0 .6rem; font-size: 1.15rem; display: flex; align-items: center; gap: .75rem; }
.impact h3 svg { width: 26px; height: 26px; color: var(--vert); flex: none; }
.impact p { margin: 0; color: var(--encre-2); font-size: var(--t-s); }

/* ---------- Frise ---------- */
.frise { list-style: none; display: grid; gap: 1px; counter-reset: phase; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; }
@media (min-width: 760px) { .frise { grid-template-columns: repeat(5, 1fr); } }
.frise li { counter-increment: phase; padding: 1.5rem 1.3rem 1.7rem; background: #fff; position: relative; }
.frise li::before { content: "Phase " counter(phase); display: block; font-size: var(--t-xs); font-weight: 700; color: var(--vert); margin-bottom: .9rem; }
.frise li::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--vert); transform-origin: left; }
.frise li:nth-child(n+2)::after { background: var(--vert-pale-2); }
.frise h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.frise p { margin: 0; font-size: var(--t-s); color: var(--encre-2); line-height: 1.5; }

/* ---------- Porteurs ---------- */
.porteurs { display: grid; gap: 1px; margin: 0; background: rgba(255,255,255,.14); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 800px) { .porteurs { grid-template-columns: repeat(3, 1fr); } }
.porteur { padding: 1.8rem; background: var(--indigo); }
.porteur dt { font-size: var(--t-s); color: var(--ciel); font-weight: 600; margin-bottom: .45rem; }
.porteur dd { margin: 0; font-family: var(--f-titre); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); font-weight: 600; line-height: 1.25; color: #fff; }

/* ---------- Appel final ---------- */
.appel { position: relative; overflow: hidden; background: var(--vert-fonce); color: #fff; border-radius: var(--r); padding: clamp(2.2rem, 5vw, 4rem); isolation: isolate; display: grid; gap: 2rem; }
@media (min-width: 900px) { .appel { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4rem; } }
.appel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: url("../img/brand/ndop.svg") 0 0 / 30px 30px repeat-x; opacity: .9; z-index: -1; }
.appel h2 { color: #fff; margin-bottom: .4em; }
.appel p { color: #cfe2d4; max-width: 50ch; font-size: var(--t-l); margin: 0; }
.appel__choix { display: grid; gap: .8rem; }
.choix { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: 1.3rem 1.4rem; border-radius: var(--r-s); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: background .3s, border-color .3s; }
.choix:hover { background: #fff; color: var(--encre); border-color: #fff; }
.choix:hover p { color: var(--encre-2); }
.choix b { font-size: 1.12rem; }
.choix p { margin: 0; font-size: var(--t-s); color: #cfe2d4; grid-column: 1; }
.choix svg { width: 20px; height: 20px; grid-row: 1 / 3; grid-column: 2; transition: transform .3s var(--ease); }
.choix:hover svg { transform: translateX(4px); color: var(--vert); }

/* ---------- Héros des pages internes ---------- */
.ph { padding: clamp(2.2rem, 5vw, 4rem) 0 0; background: #fff; }
.ph .wrap > * { max-width: 820px; }
.ph h1 { margin-bottom: .35em; }
.ph .lead { margin-bottom: 0; }
.ph .btns { margin-top: 1.8rem; }
.ph__visuel { margin-top: clamp(2.2rem, 5vw, 3.5rem); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; max-width: none !important; }
.ph__visuel img { width: 100%; height: 120%; object-fit: cover; }
@media (max-width: 700px) { .ph__visuel { aspect-ratio: 4 / 3; } }
.ph + .section { padding-top: var(--section); }
.ariane { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; font-size: var(--t-s); color: var(--encre-3); margin-bottom: 1.6rem; }
.ariane li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #b6bdb7; }
.ariane a { text-decoration: none; color: var(--encre-2); }
.ariane a:hover { color: var(--vert); text-decoration: underline; }
.ndop { display: none; }

/* ---------- Grilles génériques ---------- */
.grille { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .grille--2, .grille--3, .grille--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille--3 { grid-template-columns: repeat(3, 1fr); } .grille--4 { grid-template-columns: repeat(4, 1fr); } }
.carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--r); padding: 1.7rem 1.6rem; position: relative; transition: border-color .3s, box-shadow .3s; }
.carte:hover { border-color: #cdd5cc; box-shadow: var(--ombre); }
.carte h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.carte p { color: var(--encre-2); font-size: var(--t-s); }
.carte p:last-child { margin-bottom: 0; }
.carte__ico { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--vert-pale); color: var(--vert); margin-bottom: 1.2rem; }
.section--indigo .carte { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--indigo .carte p { color: #c9d1e6; }

.duo { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 5rem; } .duo--inverse > :first-child { order: 2; } }
.duo__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; display: block; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }

/* Métiers + recherche */
.filtre { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.recherche { position: relative; flex: 1 1 280px; max-width: 460px; }
.recherche input { width: 100%; min-height: 52px; border-radius: var(--r-s); border: 1px solid var(--trait); background: #fff; padding: .8rem 1.1rem .8rem 2.9rem; font-size: var(--t-m); transition: border-color .2s, box-shadow .2s; }
.recherche input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 4px rgba(27,122,58,.12); }
.recherche svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--encre-3); }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.puces li { padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--trait); font-weight: 550; font-size: var(--t-s); color: var(--encre-2); transition: background .2s, color .2s, border-color .2s; }
.puces li.is-cache { display: none; }
.puces li.is-trouve { background: var(--vert-pale); border-color: var(--vert-pale-2); color: var(--vert-fonce); }
.vide { display: none; padding: 1rem 1.2rem; border-radius: var(--r-s); background: #fff8e8; border: 1px solid #f0dcaa; color: #6a4b0f; margin-top: 1rem; }
.vide.is-visible { display: block; }

.encart { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1.2rem 1.3rem; border-radius: var(--r-s); background: var(--vert-pale); color: var(--vert-fonce); font-size: var(--t-s); }
.encart svg { width: 22px; height: 22px; color: var(--vert); margin-top: .1rem; }
.encart p { margin: 0; }

/* ---------- Formulaires ---------- */
.form-zone { background: #fff; border: 1px solid var(--trait); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--ombre); }
.form { display: grid; gap: 1.1rem; }
.form__ligne { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__ligne { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: .4rem; align-content: start; }
.champ label { font-weight: 600; font-size: var(--t-s); }
.champ .aide { font-size: var(--t-xs); color: var(--encre-3); font-weight: 400; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1px solid #d5dad3; border-radius: var(--r-s); background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: #b8c0b7; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 4px rgba(27,122,58,.12); }
.champ input:user-invalid, .champ textarea:user-invalid, .champ select:user-invalid { border-color: var(--rouge); }
.champ--hp { position: absolute; left: -9999px; }
.case { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: var(--t-s); color: var(--encre-2); }
.case input { width: 19px; height: 19px; margin-top: .2rem; accent-color: var(--vert); }
.form__statut { display: none; padding: 1rem 1.2rem; border-radius: var(--r-s); font-weight: 600; margin: 0; }
.form__statut.is-ok { display: block; background: var(--vert-pale); color: var(--vert-fonce); }
.form__statut.is-err { display: block; background: var(--rouge-pale); color: #8d1f17; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.onglets { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 10px; background: var(--gris); border: 1px solid var(--trait); margin-bottom: 1.5rem; }
.onglets button { border: 0; background: transparent; padding: .65rem 1.1rem; border-radius: 7px; font-weight: 650; cursor: pointer; color: var(--encre-2); transition: background .2s, color .2s, box-shadow .2s; }
.onglets button[aria-selected="true"] { background: #fff; color: var(--vert-fonce); box-shadow: 0 1px 3px rgba(19,32,26,.12); }
@media (max-width: 559px) { .onglets { display: flex; } .onglets button { flex: 1; padding-inline: .6rem; } }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Coordonnées ---------- */
.coord { list-style: none; display: grid; gap: 1.1rem; }
.coord li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; }
.coord__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--vert-pale); color: var(--vert); display: grid; place-items: center; }
.coord__ico svg { width: 21px; height: 21px; }
.coord small { display: block; color: var(--encre-3); font-size: var(--t-xs); }
.coord a { font-weight: 650; text-decoration: none; }
.coord a:hover { color: var(--vert); }

/* ---------- Article ---------- */
.article { font-size: 1.1rem; line-height: 1.75; }
.article h2 { font-size: clamp(1.55rem, 1.25rem + 1vw, 2rem); margin-top: 2em; }
.article figure { margin: 2.2rem 0; }
.article figure img { border-radius: var(--r); }
.article figcaption { font-size: var(--t-s); color: var(--encre-3); margin-top: .6rem; }
.meta-article { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--encre-3); font-size: var(--t-s); margin-top: 1rem; }
.article .appel { grid-template-columns: 1fr; gap: 1rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--vert-nuit); color: #b7c9bc; font-size: var(--t-s); position: relative; margin-top: 0; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: url("../img/brand/ndop.svg") 0 0 / 30px 30px repeat-x; }
.footer__appel { display: grid; gap: 1.8rem; padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .footer__appel { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 4rem; } .footer__appel .btns { justify-content: flex-end; } }
.footer .footer__appel h2 { font-family: var(--f-titre); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; } 
.footer .footer__appel h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); margin-bottom: .45em; max-width: 20ch; }
.footer__appel p { margin: 0; color: #b7c9bc; font-size: var(--t-l); max-width: 50ch; }
.footer__haut { display: grid; gap: 2.5rem 2rem; padding: 3rem 0; grid-template-columns: 1fr 1fr; }
.footer__marque { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer__haut { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__marque { grid-column: auto; } }
.footer h2 { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 1.1rem; }
.footer__haut > div:last-child h2, .footer nav h2 { font-family: var(--f-texte); }
.footer ul { list-style: none; display: grid; gap: .65rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .marque { color: #fff; margin-bottom: 1.2rem; }
.footer .marque img { width: 56px; height: 56px; background: #fff; }
.footer .marque__txt b { font-size: 1.2rem; }
.footer .marque__txt span { color: #9db3a3; }
.footer__marque p { max-width: 40ch; margin-bottom: 1.2rem; }
.footer .devise { color: #fff; }
.footer__coord { display: inline-flex; align-items: center; gap: .6rem; word-break: break-all; }
.footer__coord svg { width: 18px; height: 18px; flex: none; color: var(--ciel); }
.footer__lien { margin-top: 1.4rem; color: var(--ciel) !important; }
.footer__haut > div:last-child { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer__haut > div:last-child { grid-column: auto; } }
.footer__bas { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--t-xs); color: #93a99a; }

/* ---------- Retour en haut ---------- */
.haut { position: fixed; right: clamp(1rem, 2vw, 1.6rem); bottom: clamp(1rem, 2vw, 1.6rem); z-index: 80; width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 0; background: var(--vert-fonce); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 3px #fff, 0 14px 30px -10px rgba(11,46,25,.55); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background .25s; }
.haut.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.haut:hover { background: var(--vert); }
.haut > svg:not(.haut__anneau) { width: 20px; height: 20px; position: relative; z-index: 1; transition: transform .3s var(--ease); }
.haut:hover > svg:not(.haut__anneau) { transform: translateY(-2px); }
.haut__anneau { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transform: rotate(-90deg); pointer-events: none; }
.haut__anneau circle { fill: none; stroke-width: 2.5; }
.haut__piste { stroke: rgba(255,255,255,.18); }
.haut__progres { stroke: #fff; stroke-linecap: round; stroke-dasharray: 157.08; stroke-dashoffset: 157.08; }

/* ---------- Transition entre pages ---------- */
.rideau { position: fixed; inset: 0; z-index: 400; pointer-events: none; background: #fff; opacity: 0; }

/* ---------- Animations d'apparition ---------- */
.js .hero__grid, .js .ph > .wrap { visibility: hidden; }
.js [data-anim="monte"] { opacity: 0; transform: translateY(24px); }
.js [data-anim="voile"] { clip-path: inset(0 0 100% 0); }
.js [data-anim="voile"] img { transform: scale(1.1); }

/* ---------- Divers ---------- */
.centre { text-align: center; }
.centre .lead { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.chip { display: inline-block; font-size: var(--t-xs); font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--vert-pale); color: var(--vert-fonce); }
.chip--rouge { background: var(--rouge-pale); color: #9b261f; }
.chip--indigo { background: var(--indigo-pale); color: var(--indigo); }
.une { display: grid; gap: 2rem; align-items: center; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--trait); border-radius: var(--r); background: #fff; }
@media (min-width: 900px) { .une { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.une .duo__img { aspect-ratio: 16 / 11; }
.une h3 { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-2xl); letter-spacing: -.015em; line-height: 1.15; }
.une h3 a { text-decoration: none; }
.une h3 a:hover { color: var(--vert); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-anim] img { transform: none !important; }
  .js .hero__grid, .js .ph > .wrap { visibility: visible; }
}
@media print { .header, .menu, .haut, .rideau, .defile { display: none !important; } }

.ph__visuel img { object-position: 50% 28%; }
img[src*="rencontre-jef-digital"] { object-position: 50% 14% !important; }

.footer .devise i:nth-of-type(3) { background: var(--ciel); }

/* ---------- Mentorat (accueil) ---------- */
.mentorat { background: var(--vert-nuit); color: #d3e3d7; overflow: hidden; position: relative; isolation: isolate; }
.mentorat::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,166,76,.22), transparent); z-index: -1; }
.mentorat h2 { color: #fff; }
.mentorat .kicker { color: var(--ciel); }
.mentorat .lead { color: #c3d6c8; }
.mentorat__haut { display: grid; gap: 2.5rem; align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 960px) { .mentorat__haut { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.mentorat__photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.mentorat__photo picture { height: 100%; }
.mentorat__photo img { width: 100%; height: 100%; object-fit: cover; }
.mentorat__photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: rgba(255,255,255,.95); color: var(--encre); font-size: var(--t-m); font-weight: 500; line-height: 1.45; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
@media (min-width: 960px) { .mentorat__photo figcaption { left: 1.5rem; right: auto; max-width: 78%; bottom: 1.5rem; } }

.parcours { position: relative; }
.parcours ol { list-style: none; display: grid; gap: 1.6rem; position: relative; }
.parcours li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; align-items: center; }
.parcours li b { grid-column: 2; color: #fff; font-size: 1.1rem; font-weight: 600; transition: color .4s; }
.parcours li > span:last-child { grid-column: 2; font-size: var(--t-s); color: #a9c2b0; line-height: 1.45; }
.parcours__point { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #123d23; border: 1px solid rgba(255,255,255,.16); color: #8fb79b; position: relative; z-index: 1; transition: background .45s, color .45s, border-color .45s, transform .45s var(--ease), box-shadow .45s; }
.parcours__point svg { width: 24px; height: 24px; }
.parcours li.is-actif .parcours__point { background: var(--vert); border-color: var(--vert); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 6px rgba(47,166,76,.18); }
.parcours__ligne { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255,255,255,.14); border-radius: 2px; }
.parcours__ligne i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--vert-pale-2), #2fa64c); border-radius: 2px; }
@media (min-width: 900px) {
  .parcours ol { grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
  .parcours li { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: .35rem; }
  .parcours__point { grid-row: auto; width: 64px; height: 64px; margin-bottom: .8rem; }
  .parcours li b, .parcours li > span:last-child { grid-column: 1; max-width: 18ch; }
  .parcours__ligne { left: calc(100% / 12); right: calc(100% / 12); top: 31px; bottom: auto; width: auto; height: 2px; }
  .parcours__ligne i { height: 100%; width: 0; background: linear-gradient(90deg, var(--vert-pale-2), #2fa64c); }
}
.no-js .parcours li .parcours__point, .parcours.is-statique li .parcours__point { background: var(--vert); color: #fff; }
@media (min-width: 900px) { .parcours li { align-content: start; } }
@media (max-width: 959px) {
  .mentorat__photo { aspect-ratio: auto; background: #fff; }
  .mentorat__photo picture { aspect-ratio: 4 / 3; height: auto; }
  .mentorat__photo figcaption { position: static; border-radius: 0; box-shadow: none; }
}
