/* =========================================================
   FHU IMPEC — feuille de style V2
   Couleurs et typo : modifier les variables ci-dessous.
   ========================================================= */
:root {
  --teal: #30B49F;          /* teal du logo — décor, fonds */
  --teal-chart: #1E9582;    /* barres des graphiques (contraste ≥ 3:1) */
  --teal-ink: #0E6F60;      /* textes et liens teal (contraste AA) */
  --teal-deep: #0B5A4E;
  --teal-soft: #E6F5F2;
  --ink: #0B1211;           /* noir du logo */
  --ink-2: #111C1A;
  --line-dark: #24322F;
  --text: #0B1211;
  --text-2: #26302E;
  --muted: #4A5553;
  --muted-on-dark: #C9D6D3;
  --faint-on-dark: #8FA19D;
  --bg: #F6F8F7;
  --surface: #FFFFFF;
  --line: #DDE4E2;
  --line-2: #C3CECB;
  --warm-soft: #FDF1E4;
  --warm-ink: #8A4B08;
  --danger: #B42318;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1312px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 80px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 88%; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------- Typo ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); display: flex; align-items: center; gap: 12px; }
.on-dark .eyebrow { color: #9FE3D6; }
.dots { display: inline-flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.dots::before, .dots::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.h1 { font-weight: 850; font-size: clamp(46px, 7vw, 104px); line-height: .95; letter-spacing: -0.025em; }
.h2 { font-weight: 800; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.h3 { font-weight: 750; font-size: clamp(22px, 2vw, 28px); line-height: 1.14; font-stretch: 92%; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.on-dark .lead { color: var(--muted-on-dark); }
.muted { color: var(--muted); }
.accent { color: var(--teal); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Boutons, liens, puces ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { color: var(--ink); background: #4CC6B2; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { color: #fff; background: #22302E; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-dark { border-color: #3A4A47; color: #fff; }
.btn--line-dark:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { color: var(--ink); background: var(--teal-soft); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; min-height: 44px; text-decoration: none; color: var(--text); border-bottom: 1.5px solid var(--teal); padding-top: 4px; }
.more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover { color: var(--teal-ink); }
.more:hover svg { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.chip--teal { background: var(--teal-soft); color: var(--teal-ink); }
.chip--warm { background: var(--warm-soft); color: var(--warm-ink); }
.chip--ink { background: var(--ink); color: #fff; }
.chip--grey { background: #E7ECEA; color: #3A4543; }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(48,180,159,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48,180,159,.55); } 70% { box-shadow: 0 0 0 7px rgba(48,180,159,0); } 100% { box-shadow: 0 0 0 0 rgba(48,180,159,0); } }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.seg button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.seg button:hover { background: var(--bg); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,18,17,.05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
.site-header.scrolled .wrap { min-height: 64px; }
.brand img { height: 44px; width: auto; transition: height .25s var(--ease); }
.site-header.scrolled .brand img { height: 36px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { font-weight: 650; }
.nav .lang { margin-left: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 12px; min-height: 36px; }
.nav .lang::after { display: none; }
.nav > a.btn { color: #fff; }
.nav > a.btn:hover { color: #fff; }
.nav > a.btn::after, .nav > a.lang::after { display: none; }
.nav .btn { margin-left: 10px; min-height: 44px; font-size: 15px; padding: 0 18px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 120; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), background .2s; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger { background: var(--teal); color: var(--ink); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(104px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--ink); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s linear .3s; overflow-y: auto; }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .nav > a { color: #fff; font-family: var(--f-display); font-stretch: 88%; font-weight: 800; font-size: clamp(32px, 8vw, 52px); line-height: 1.1; padding: 10px 0; border-bottom: 1px solid var(--line-dark); transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), color .2s; }
  .nav > a::after { display: none; }
  .nav > a:hover, .nav > a[aria-current="page"] { color: var(--teal); }
  .menu-open .nav > a { transform: none; opacity: 1; }
  .menu-open .nav > a:nth-child(2) { transition-delay: .03s; } .menu-open .nav > a:nth-child(3) { transition-delay: .06s; }
  .menu-open .nav > a:nth-child(4) { transition-delay: .09s; } .menu-open .nav > a:nth-child(5) { transition-delay: .12s; }
  .menu-open .nav > a:nth-child(6) { transition-delay: .15s; } .menu-open .nav > a:nth-child(7) { transition-delay: .18s; }
  .nav .lang, .nav .btn { font-family: var(--f-body); font-size: 16px; border: 0; margin: 24px 0 0; align-self: flex-start; }
  .nav .lang { color: var(--muted-on-dark); padding: 0; min-height: 44px; border-bottom: 0; font-weight: 700; }
  .nav .btn { background: var(--teal); color: var(--ink); border-bottom: 0; min-height: 52px; padding: 0 26px; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-bottom-color: transparent; }
  .menu-open .brand img { content: url("../img/logo-impec-white.png"); }
  .brand { position: relative; z-index: 120; }
  .brand img { height: 38px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 4vw, 56px); }
.head__title { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.split { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 16px; }
.prose { display: flex; flex-direction: column; gap: 18px; color: var(--muted); max-width: 66ch; font-size: 18px; }
.prose strong { color: var(--text); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Page intérieure */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.on-dark .crumbs { color: var(--faint-on-dark); }
.on-dark .crumbs a { color: var(--muted-on-dark); }
.page-head { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); background: var(--surface); }
.page-head .wrap { position: relative; display: flex; flex-direction: column; gap: 22px; }
.page-head--dark { background: var(--ink); color: #fff; }
.page-head--teal { background: var(--teal-ink); color: #fff; }
.page-head--teal .lead { color: #E1F5F1; }
.page-head--teal .crumbs, .page-head--teal .crumbs a { color: #D5F3EC; }
.page-head .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.orb { position: absolute; border-radius: 50%; background: var(--teal); pointer-events: none; }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 112px) 0; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.hero .h1 .accent { color: var(--teal); }
.pulse-line { position: relative; display: block; width: 100%; height: 120px; margin-top: clamp(40px, 5vw, 72px); color: var(--teal); }
.pulse-line path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 2.4s var(--ease) .3s forwards; }
.pulse-line circle { fill: var(--teal); opacity: 0; animation: blip .4s ease 2.5s forwards, beat 2.4s ease-in-out 3s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blip { to { opacity: 1; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.6); } 30% { transform: scale(1); } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.stat { padding: 26px 0 22px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-dark); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line-dark); }
.stat:nth-child(even) { padding-left: 24px; }
.stat b { white-space: nowrap; font-family: var(--f-display); font-stretch: 85%; font-weight: 850; font-size: clamp(40px, 4.2vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat b .accent { color: var(--teal); }
.stat > span { font-size: 15px; line-height: 1.4; color: var(--muted-on-dark); }
.supporters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 26px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--faint-on-dark); }
.supporters b { color: #fff; font-weight: 600; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .pulse-line { height: 80px; } }

/* ---------- Actus (accueil) ---------- */
.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; color: var(--text); text-decoration: none; }
.news-feature:hover { color: var(--text); }
.frame { overflow: hidden; border-radius: var(--r-lg); background: var(--teal-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
a:hover .frame img { transform: scale(1.035); }
.news-feature .frame { aspect-ratio: 4 / 3; }
.news-feature__body { display: flex; flex-direction: column; gap: 16px; }
.news-feature h3 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -0.015em; }
.news-feature p { color: var(--muted); font-size: 18px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.news-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .news-feature, .news-mini { grid-template-columns: 1fr; } }
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; color: var(--text); text-decoration: none; }
.news-item:hover { color: var(--text); }
.news-item .frame { aspect-ratio: 1; border-radius: var(--r-md); }
.news-item h3 { font-weight: 750; font-size: 22px; line-height: 1.15; margin-top: 8px; transition: color .2s; }
.news-item:hover h3, .news-feature:hover h3 { color: var(--teal-ink); }
@media (max-width: 440px) { .news-item { grid-template-columns: 96px 1fr; gap: 16px; } }

/* Liste actus (page) */
.news-list { display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 280px 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: 36px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row:hover { color: var(--text); }
.news-row .frame { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.news-row h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.06; margin: 10px 0 12px; transition: color .2s; }
.news-row:hover h2 { color: var(--teal-ink); }
.news-row p { color: var(--muted); max-width: 64ch; }
.news-row .go { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease), border-color .25s, color .25s; }
.news-row .go svg { width: 20px; height: 20px; }
.news-row:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 800px) { .news-row { grid-template-columns: 1fr; } .news-row .go { display: none; } }

/* Article */
.article-head { max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.article-hero { margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 16 / 8; }
.article { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.article__body { display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; color: var(--text-2); max-width: 66ch; }
.article__side { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 96px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article__side { position: static; } }
.attach { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s; }
.attach:hover { border-color: var(--teal); color: var(--text); }
.attach svg { width: 22px; height: 22px; color: var(--teal-ink); flex-shrink: 0; }

/* ---------- Workpackages ---------- */
.wp-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1150px) { .wp-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 720px) { .wp-cols { grid-template-columns: 1fr; row-gap: 0; } }
.wp-col { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; border-top: 2px solid var(--ink); color: var(--text); text-decoration: none; }
.wp-col:hover { color: var(--text); }
.wp-col .n { font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-size: 22px; color: var(--teal-ink); }
.wp-col h3 { font-stretch: 94%; font-weight: 750; font-size: 22px; line-height: 1.18; transition: color .2s; }
.wp-col:hover h3 { color: var(--teal-ink); }
.wp-col .who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 14px; color: var(--muted); line-height: 1.3; }
@media (max-width: 720px) { .wp-col { padding-block: 22px; border-top: 1px solid var(--line); } .wp-col:first-child { border-top: 2px solid var(--ink); } }

/* Portraits harmonisés : vert FHU, couleur au survol */
.portrait { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--teal-deep); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.portrait img + img { opacity: 0; }
a:hover .portrait img + img, .portrait:hover img + img, .person:hover .portrait img + img { opacity: 1; }
.portrait--lg { width: 64px; height: 64px; }
.portrait--xl { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-lg); }

.wp-row { display: grid; grid-template-columns: 90px 1fr 1.35fr; gap: clamp(20px, 3vw, 48px); padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.wp-row:last-child { border-bottom: 1px solid var(--line); }
.wp-row .n { font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-size: clamp(48px, 5vw, 72px); line-height: .9; color: var(--teal); }
.wp-row__side { display: flex; flex-direction: column; gap: 22px; }
.wp-row__body { display: flex; flex-direction: column; gap: 16px; }
.wp-row .intro { font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--text); }
.wp-row__body p:not(.intro) { color: var(--muted); }
@media (max-width: 900px) { .wp-row { grid-template-columns: 1fr; gap: 18px; } }
.person { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.person strong { display: block; color: var(--text); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; font-weight: 500; }

/* ---------- Projets ---------- */
.index-list { border-top: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: 170px 1fr 28px; gap: 24px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.index-row:hover { color: var(--text); }
.index-row b { font-family: var(--f-display); font-stretch: 88%; font-weight: 850; font-size: 21px; transition: color .2s; }
.index-row span { color: var(--muted); font-size: 16px; line-height: 1.45; }
.index-row svg { width: 20px; height: 20px; align-self: center; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.index-row:hover b, .index-row:hover svg { color: var(--teal-ink); }
.index-row:hover svg { transform: translateX(4px); }
@media (max-width: 560px) { .index-row { grid-template-columns: 1fr 24px; gap: 4px 12px; } .index-row span { grid-column: 1; } .index-row svg { grid-row: 1 / span 2; grid-column: 2; } }

.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }
.proj { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); min-height: 240px; }
.proj:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.proj { min-width: 0; }
.proj__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.proj h3 { overflow-wrap: anywhere; min-width: 0; font-stretch: 88%; font-weight: 850; font-size: 28px; letter-spacing: -0.01em; }
.proj p { font-size: 15px; line-height: 1.55; color: var(--text-2); flex-grow: 1; transition: color .25s; }
.proj:hover p { color: var(--muted-on-dark); }
.proj__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s; }
.proj:hover .proj__foot { color: #9FE3D6; }
.proj__foot svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.proj:hover .proj__foot svg { transform: translateX(4px); }
.proj:hover .chip--grey { background: #24322F; color: #DCE5E3; }
.proj:hover .chip--teal { background: var(--teal); color: var(--ink); }

/* Page étude */
.study-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.study-acr { overflow-wrap: anywhere; font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-size: clamp(48px, 11vw, 168px); line-height: .88; letter-spacing: -0.03em; }
.study-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 960px) { .study-layout { grid-template-columns: 1fr; } .study-head { grid-template-columns: 1fr; } }
.facts { display: flex; flex-direction: column; border-top: 2px solid var(--ink); align-self: start; position: sticky; top: 96px; }
@media (max-width: 960px) { .facts { position: static; } }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact dt { color: var(--muted); font-weight: 500; }
.fact dd { margin: 0; font-weight: 600; color: var(--text); }
.fact dd a { font-weight: 600; }
.progress { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.progress__nums { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.progress__nums b { font-family: var(--f-display); font-stretch: 85%; font-weight: 850; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.progress__nums span { color: var(--muted-on-dark); }
.bar { height: 10px; border-radius: 999px; background: #24322F; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--teal); transition: width 1.4s var(--ease); }
.progress small { color: var(--faint-on-dark); font-size: 13px; }
.study-section { display: flex; flex-direction: column; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line); }
.study-section:first-child { border-top: 0; padding-top: 0; }
.study-section h2 { font-family: var(--f-body); font-stretch: 100%; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.study-section p { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s; }
.pager a:hover { border-color: var(--ink); color: var(--text); }
.pager a:last-child { text-align: right; }
.pager small { color: var(--muted); font-size: 13px; font-weight: 600; }
.pager b { overflow-wrap: anywhere; font-family: var(--f-display); font-stretch: 88%; font-weight: 850; font-size: 26px; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } .fact { grid-template-columns: 110px 1fr; } }
.notfound { padding: 48px; border-radius: var(--r-lg); background: #fff; border: 1px dashed var(--line-2); }

/* ---------- Publications ---------- */
.pub-card { display: flex; flex-direction: column; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.pub-card:last-child { border-bottom: 1px solid var(--line); }
.pub-card:hover { color: var(--text); }
.pub-card h3 { font-stretch: 96%; font-weight: 650; font-size: 19px; line-height: 1.32; letter-spacing: 0; transition: color .2s; }
.pub-card:hover h3 { color: var(--teal-ink); }
.pub-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pub-layout { grid-template-columns: 1fr; gap: 28px; } }
.pub-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 900px) { .pub-side { position: static; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > legend, .field > .label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--teal-ink); box-shadow: 0 0 0 4px var(--teal-soft); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; min-height: 48px; }
.years { display: flex; flex-wrap: wrap; gap: 6px; }
.years button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--text-2); font-size: 15px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.years button span:last-child { color: var(--muted); font-weight: 500; }
.years button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.years button[aria-pressed="true"] span:last-child { color: #9FE3D6; }
.journals { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
.journals div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.journals b { font-variant-numeric: tabular-nums; }
.pub-row { display: grid; grid-template-columns: 64px 1fr 24px; gap: 20px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.pub-row:first-child { border-top: 1px solid var(--line); }
.pub-row:hover { color: var(--text); }
.pub-row .y { font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--teal-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.pub-row h3 { font-stretch: 96%; font-weight: 650; font-size: 19px; line-height: 1.32; letter-spacing: 0; transition: color .2s; }
.pub-row:hover h3 { color: var(--teal-ink); }
.pub-row svg { width: 20px; height: 20px; color: var(--muted); margin-top: 4px; transition: transform .25s var(--ease); }
.pub-row:hover svg { transform: translate(2px, -2px); color: var(--teal-ink); }
.pub-row .meta { margin-top: 10px; font-weight: 500; }
@media (max-width: 560px) { .pub-row { grid-template-columns: 1fr; gap: 6px; } .pub-row svg { display: none; } }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-md); }

/* ---------- Graphiques ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-size: 13px; font-family: var(--f-body); font-variant-numeric: tabular-nums; }
.chart .val { fill: var(--text); font-size: 13px; font-weight: 700; font-family: var(--f-body); font-variant-numeric: tabular-nums; }
.chart .todo-lbl { fill: var(--danger); font-size: 12px; font-weight: 600; font-family: var(--f-body); }
.chart .barmark { fill: var(--teal-chart); transition: fill .15s; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .barmark, .chart g.on .barmark { fill: var(--teal-ink); }
.chart .barmark--sel { fill: var(--ink); }
.tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.35; white-space: nowrap; box-shadow: 0 8px 24px rgba(11,18,17,.18); opacity: 0; transition: opacity .12s; z-index: 5; }
.tip.show { opacity: 1; }
.tip b { font-variant-numeric: tabular-nums; }
.chart-card { display: flex; flex-direction: column; gap: 16px; }
.chart-card figcaption { font-size: 14px; color: var(--muted); }
.sr-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Financements ---------- */
.big-number { white-space: nowrap; font-family: var(--f-display); font-stretch: 82%; font-weight: 900; font-size: clamp(80px, 11vw, 150px); line-height: .88; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fund-list { border-top: 2px solid var(--ink); }
.fund { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.fund .y { font-family: var(--f-display); font-weight: 800; font-size: 17px; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.fund b { display: block; font-size: 16px; }
.fund b a { color: inherit; text-decoration-color: var(--teal); }
.fund small { font-size: 14px; color: var(--muted); }
.fund .amt { font-family: var(--f-display); font-weight: 750; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fund .amt.missing { color: var(--danger); font-family: var(--f-body); font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .fund { grid-template-columns: 1fr; gap: 2px; } }
.prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .prizes { grid-template-columns: 1fr; } }
.prize { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.prize svg { width: 30px; height: 30px; color: var(--teal-ink); }
.prize b { font-family: var(--f-display); font-stretch: 94%; font-size: 21px; line-height: 1.2; }
.prize span { color: var(--muted); font-size: 16px; }

/* ---------- La FHU ---------- */
.video-card { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 32px; text-decoration: none; }
.video-card:hover { color: #fff; }
.video-card .play { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.video-card .play::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(48,180,159,.5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-card .play svg { width: 34px; height: 34px; fill: var(--ink); margin-left: 5px; }
.video-card strong { position: relative; font-family: var(--f-display); font-stretch: 90%; font-size: 28px; }
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 860px) { .goals { grid-template-columns: 1fr; } }
.goal { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--ink); }
.goal b { font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--teal-ink); }
.goal h3 { font-stretch: 94%; font-weight: 750; font-size: 24px; line-height: 1.18; }
.goal p { color: var(--muted); }
.callout { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.callout b { font-family: var(--f-display); font-stretch: 82%; font-weight: 900; font-size: clamp(72px, 9vw, 120px); line-height: .85; color: var(--teal); }
.callout p { font-size: 19px; color: var(--text-2); max-width: 60ch; }
@media (max-width: 560px) { .callout { flex-direction: column; align-items: flex-start; } }

.org { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
@media (max-width: 900px) { .org { grid-template-columns: 1fr; } }
.org-lead { display: flex; align-items: center; gap: 20px; }
.org-lead .portrait { width: 96px; height: 96px; }
.org-role { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.org-role span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.org-role strong { font-family: var(--f-display); font-stretch: 92%; font-size: 26px; font-weight: 800; line-height: 1.1; }
.org-wps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1100px) { .org-wps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 520px) { .org-wps { grid-template-columns: 1fr; } }
.org-wp { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--teal); color: var(--text); text-decoration: none; }
.org-wp:hover { color: var(--text); }
.org-wp small { font-weight: 800; color: var(--teal-ink); font-size: 14px; letter-spacing: .04em; }
.org-wp h3 { font-stretch: 94%; font-weight: 750; font-size: 19px; line-height: 1.22; transition: color .2s; }
.org-wp:hover h3 { color: var(--teal-ink); }
.org-wp .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; font-size: 14px; color: var(--muted); }
.org-extra { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 56px; }
@media (max-width: 760px) { .org-extra { grid-template-columns: 1fr; } }
.org-extra h3 { font-family: var(--f-body); font-stretch: 100%; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 17px; }
@media (max-width: 520px) { .twocol { grid-template-columns: 1fr; } }
.centres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 2px solid var(--ink); }
@media (max-width: 520px) { .centres { grid-template-columns: 1fr; } }
.centres li { display: flex; align-items: center; gap: 12px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.centres li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.countries { display: flex; flex-wrap: wrap; gap: 10px; }
.countries span { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 16px; font-weight: 600; }

/* ---------- Réseau : carte ---------- */
.map-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } }
.fr-map { width: 100%; height: auto; display: block; }
.fr-map path { fill: #DCE6E3; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; transition: fill .2s var(--ease); }
.fr-map path.has { fill: #9FDCCF; cursor: pointer; }
.fr-map path.has:hover { fill: var(--teal); }
.fr-map path.sel { fill: var(--teal-ink) !important; }
.fr-map path:focus { outline: none; }
.fr-map path.has:focus-visible { fill: var(--teal); stroke: var(--ink); stroke-width: 2.5; }
.fr-map .city { fill: var(--ink); pointer-events: none; }
.fr-map .city-lbl { font-family: var(--f-body); font-size: 12px; font-weight: 600; fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.region-panel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.region-panel h3 { font-weight: 850; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
.region-panel ul { border-top: 2px solid var(--ink); }
.region-panel li { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
.region-panel li strong { font-weight: 650; }
.region-panel li span { color: var(--muted); }
.region-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.region-picker button { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.region-picker button[aria-pressed="true"] { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.join { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.join p { color: var(--muted-on-dark); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillars div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.pillars strong { font-family: var(--f-display); font-stretch: 94%; font-size: 21px; }
.pillars span { color: var(--muted); }
.cover { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cover .frame { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(11,18,17,.12); }
@media (max-width: 900px) { .cover { grid-template-columns: 1fr; } .cover .frame { max-width: 420px; } }

/* Bandeau réseau (accueil) */
.band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); background: var(--teal-ink); color: #fff; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.band .eyebrow { color: #BDEFE5; }
.band p { color: #E1F5F1; font-size: 18px; }
.band .mini-map path { fill: #0B5A4E; stroke: var(--teal-ink); stroke-width: 1.5; }
.band .mini-map path.has { fill: var(--teal); }
.band .mini-map { max-width: 460px; width: 100%; justify-self: center; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .mini-map { max-width: 320px; } }

/* ---------- Formations ---------- */
.du-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .du-duo { grid-template-columns: 1fr; } }
.photo-card { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.photo-card:hover { color: #fff; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,18,17,0) 30%, rgba(11,18,17,.92) 100%); }
.photo-card > div { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.photo-card h3 { font-weight: 850; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.04; }
.photo-card p { font-size: 15px; color: #DCE5E3; }
.du { display: grid; grid-template-columns: 1fr 440px; gap: clamp(32px, 5vw, 72px); padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.du__body { display: flex; flex-direction: column; gap: 24px; }
.du .frame { aspect-ratio: 4 / 5; align-self: start; }
.du dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; border-top: 2px solid var(--ink); }
.du dt, .du dd { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 16px; }
.du dt { font-weight: 700; color: var(--text-2); }
.du dd { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .du { grid-template-columns: 1fr; } .du .frame { aspect-ratio: 16 / 9; order: -1; } }
@media (max-width: 520px) { .du dl { grid-template-columns: 1fr; } .du dt { border-bottom: 0; padding-bottom: 0; } }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: var(--warm-soft); color: #6B3A06; font-size: 15px; line-height: 1.5; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; }
.todo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; border-top: 1px solid var(--line); }

/* ---------- Congrès ---------- */
.agenda { display: grid; grid-template-columns: 360px 1fr; gap: 48px; }
@media (max-width: 860px) { .agenda { grid-template-columns: 1fr; gap: 24px; } }
.agenda-list { border-top: 2px solid #fff; }
.agenda-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line-dark); }
.agenda-row .d { font-family: var(--f-display); font-weight: 750; font-size: 18px; color: var(--teal); }
.agenda-row .n { font-family: var(--f-display); font-stretch: 92%; font-weight: 800; font-size: 26px; }
.agenda-row .l { font-size: 15px; color: var(--muted-on-dark); }
@media (max-width: 640px) { .agenda-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact ---------- */
.contact-list { border-top: 2px solid var(--ink); }
.contact-row { display: flex; align-items: center; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.contact-row .portrait, .contact-row .initials { width: 72px; height: 72px; }
.initials { border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 24px; flex-shrink: 0; }
.contact-row strong { display: block; font-family: var(--f-display); font-stretch: 92%; font-weight: 800; font-size: 24px; margin: 2px 0 4px; }
.contact-row a { font-weight: 600; font-size: 15px; word-break: break-all; }
.form { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 4vw, 48px); background: #fff; border-radius: var(--r-lg); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; font: inherit; font-size: 17px; background: transparent; color: var(--text); transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--teal-ink); }
.form textarea { resize: vertical; min-height: 140px; }
.req { color: var(--danger); }
fieldset { border: 0; margin: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; }
.radios span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.radios input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radios input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-ok { padding: 16px 20px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 600; }

/* ---------- Partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners img:hover { filter: none; opacity: 1; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-block: clamp(56px, 7vw, 88px) 32px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: #5FD3BE; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line-dark); }
.foot-cta h2 { color: #fff; font-weight: 850; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; max-width: 16ch; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h3 { font-family: var(--f-body); font-stretch: 100%; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col img { height: 60px; width: auto; align-self: flex-start; margin-bottom: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--faint-on-dark); }
.foot-bottom div { display: flex; gap: 24px; }

/* ---------- Animations d'apparition ----------
   Le contenu est visible par défaut ; le script n'anime que ce qui
   est sous la ligne de flottaison au chargement. */
.js-motion .reveal-armed { opacity: 0; transform: translateY(28px); }
.js-motion .reveal-armed.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse-line path { stroke-dashoffset: 0; }
  .pulse-line circle { opacity: 1; }
  .js-motion .reveal-armed { opacity: 1; transform: none; }
}
