/* ==========================================================
   STATINFO — Design system
   Style : Trust & Authority · accessible (contraste AA)
   Titres : Newsreader · Texte : Public Sans · Données : JetBrains Mono
   Le cyan du logo (#1ea7e1) est réservé aux éléments graphiques
   et aux fonds sombres ; sur fond clair, texte et CTA en --accent.
   ========================================================== */
:root {
  /* Couleurs */
  --navy-950: #061029;
  --navy-900: #0b1b3f;
  --navy-800: #13285a;
  --navy-700: #1c3673;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #0369a1;
  --accent-hover: #075985;
  --accent-soft: #e0f2fe;
  --brand: #1ea7e1;
  --brand-light: #7dd3fc;
  --ok: #047857;
  --err: #b91c1c;

  /* Typo */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Espacements (base 8) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-2: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .18);

  /* Mouvement */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --dur-press: 140ms;
  --dur-ui: 200ms;
  --dur-reveal: 600ms;

  /* Z-index */
  --z-header: 40;
  --z-skip: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; }
em.i { font-style: italic; color: var(--accent); }
.mono { font-family: var(--mono); font-feature-settings: "tnum", "zero" 0; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

.skip { position: absolute; left: -9999px; top: 12px; z-index: var(--z-skip); background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--brand-light); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-ui) var(--ease-out); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn--light { background: var(--brand); color: var(--navy-950); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-hover); }
  .btn--secondary:hover { border-color: var(--ink); }
  .btn--light:hover { background: var(--brand-light); }
  .btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
  .btn:hover svg.arrow { transform: translateX(3px); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s4);
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration: underline; }
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(248, 250, 252, .86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur-ui) ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 76px; display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-weight: 800; font-size: 1.28rem; letter-spacing: .01em; line-height: 1; }
.brand__name span { font-weight: 400; }
.brand__tag { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2); text-decoration: none;
  transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease;
}
.nav a[aria-current="page"], .nav a.is-active { color: var(--ink); background: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ink); background: rgba(15,23,42,.05); } }
.nav__mobile-cta { display: none; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 999px; place-items: center; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.header.nav-open .menu-btn .i-open { display: none; }
.header.nav-open .menu-btn .i-close { display: block; }

@media (max-width: 1080px) {
  .header__cta { display: none; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15,23,42,.3);
    padding: var(--s3) 16px var(--s5);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
  }
  .header.nav-open .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { min-height: 52px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav__mobile-cta { display: block; margin-top: var(--s3); }
  .nav__mobile-cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--white { background: var(--card); }
.section--navy { background: var(--navy-900); color: #cbd5e1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--brand-light); }
.section--navy .lead { color: #cbd5e1; }
.section__head { max-width: 780px; margin-bottom: var(--s7); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s7); align-items: end; }
.section__head--split .lead { margin: 0; }
@media (max-width: 900px) { .section__head--split { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.2rem; margin-bottom: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Graphique des missions */
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-2); }
.chart-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s5); }
.chart-card__title { font-weight: 700; font-size: 1rem; margin: 0; }
.chart-card__sub { font-size: .85rem; color: var(--muted); margin: 2px 0 0; }
.chart-card__total { text-align: right; }
.chart-card__total strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--navy-900); }
.chart-card__total span { font-size: .8rem; color: var(--muted); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: 100%; align-items: stretch; gap: 8px; height: 220px; padding-top: 22px; border-bottom: 1px solid var(--line-strong); position: relative; }
.bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.bar__fill {
  height: var(--h); background: var(--navy-700); border-radius: 6px 6px 0 0;
  transform-origin: bottom; transform: scaleY(var(--grow, 1));
  transition: transform 900ms var(--ease-out), background-color var(--dur-ui) ease;
  transition-delay: var(--delay, 0ms);
}
.bar__fill { display: flex; flex-direction: column; overflow: hidden; }
.bar__live { display: block; flex: none; background: repeating-linear-gradient(-45deg, var(--brand), var(--brand) 5px, #5cc3ee 5px, #5cc3ee 10px); }
.bar__val { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 6px); text-align: center; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--ink); transition: opacity 400ms ease; transition-delay: calc(var(--delay, 0ms) + 500ms); }
.bars.is-pending .bar__fill { --grow: 0; }
.bars.is-pending .bar__val { opacity: 0; }
.bar-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 8px; }
.bar-labels span { text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.y-short { display: none; }
@media (max-width: 560px) { .y-full { display: none; } .y-short { display: inline; } .bars, .bar-labels { gap: 5px; } .bars { height: 180px; } }
.chart-legend { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s4); font-size: .82rem; color: var(--muted); }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--navy-700); }
.chart-legend i.live { background: repeating-linear-gradient(-45deg, var(--brand), var(--brand) 3px, #5cc3ee 3px, #5cc3ee 6px); }

/* Bande de preuves */
.proof { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); position: relative; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: var(--s6) var(--s5); border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--navy-900); margin-bottom: 8px; font-variant-numeric: tabular-nums lining-nums; }
.proof__item span { font-size: .95rem; color: var(--muted); display: block; max-width: 22ch; }
@media (max-width: 860px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item { padding: var(--s5) 0 var(--s5) var(--s4); }
  .proof__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Partenaires : bandeau défilant ---------- */
.partners { padding: var(--s8) 0; background: var(--card); overflow: hidden; }
.partners__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s5); }
.partners__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin: 0; }
.marquee-toggle { white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); font-size: .85rem; font-weight: 600; color: var(--ink-2);
  transition: border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.marquee-toggle:active { transform: scale(.97); }
.marquee-toggle svg { width: 14px; height: 14px; }
.marquee-toggle .i-play { display: none; }
.marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
@media (hover: hover) and (pointer: fine) { .marquee-toggle:hover { border-color: var(--ink); } }

.marquee {
  display: grid; gap: var(--s3);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Mouvement constant : linéaire. Pause au survol, au focus et via le bouton. */
.marquee__row { display: flex; width: max-content; animation: marquee var(--duration, 45s) linear infinite; }
.marquee__row[data-dir="right"] { animation-direction: reverse; }
.marquee:hover .marquee__row, .marquee:focus-within .marquee__row, .marquee.is-paused .marquee__row { animation-play-state: paused; }
.marquee__set { list-style: none; margin: 0; padding: 0 var(--s3) 0 0; display: flex; gap: var(--s3); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-tile {
  flex: none; width: 184px; height: 88px; display: grid; place-items: center; padding: 14px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur-ui) ease;
}
.logo-tile img {
  /* cadre fixe : une image sans taille (0 px) n'est jamais chargée par le navigateur */
  width: 100%; height: 56px; object-fit: contain;
  mix-blend-mode: multiply; filter: grayscale(1); opacity: .72;
  transition: filter var(--dur-ui) ease, opacity var(--dur-ui) ease;
}
.logo-tile--word span { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; line-height: 1.2; text-align: center; color: var(--ink-2); text-wrap: balance; }
@media (hover: hover) and (pointer: fine) {
  .logo-tile:hover { border-color: var(--line-strong); }
  .logo-tile:hover img { filter: none; opacity: 1; }
}
.marquee.is-static { mask-image: none; -webkit-mask-image: none; }
.marquee.is-static .marquee__row { width: auto; animation: none; }
.marquee.is-static .marquee__set { flex-wrap: wrap; justify-content: center; padding: 0 16px; width: 100%; }
@media (max-width: 560px) {
  .partners__head { flex-direction: column; align-items: flex-start; }
  .logo-tile { width: 150px; height: 76px; padding: 12px 14px; }
  .logo-tile img { max-height: 46px; }
  .logo-tile--word span { font-size: .96rem; }
}

/* ---------- Diaporama du hero ---------- */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-2); isolation: isolate; }
.slider:focus-visible { outline-offset: 4px; }
.slider__viewport { position: relative; aspect-ratio: 4 / 3.35; touch-action: pan-y; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 800ms ease, visibility 0s linear 800ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 800ms ease, visibility 0s; z-index: 1; }
/* Léger zoom arrière pendant l'affichage (transform uniquement) */
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,16,41,0) 38%, rgba(6,16,41,.55) 62%, rgba(6,16,41,.92) 100%); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--s5) var(--s5) 76px; color: #fff; display: grid; gap: 6px; }
.slide figcaption > * { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.slide.is-active figcaption > * { opacity: 1; transform: none; }
.slide.is-active figcaption > :nth-child(1) { transition-delay: 250ms; }
.slide.is-active figcaption > :nth-child(2) { transition-delay: 320ms; }
.slide.is-active figcaption > :nth-child(3) { transition-delay: 390ms; }
.slide__kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-light); }
.slide figcaption strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; }
.slide figcaption span:last-child { font-size: .98rem; color: #e2e8f0; max-width: 46ch; }

.slider__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 0 var(--s4) var(--s3) var(--s5); }
.slider__dots { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.slider__dot { flex: 1; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.slider__dot i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.slider__dot i b { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.slider__btns { display: flex; gap: 6px; }
.slider__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3);
  background: rgba(6,16,41,.35); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.slider__btn:active { transform: scale(.94); }
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn .i-play { display: none; }
.slider.is-paused .slider__btn .i-pause { display: none; }
.slider.is-paused .slider__btn .i-play { display: block; }
@media (hover: hover) and (pointer: fine) { .slider__btn:hover { background: rgba(255,255,255,.16); border-color: #fff; } }
@media (max-width: 480px) {
  .slider__viewport { aspect-ratio: 4 / 4.4; }
  .slide figcaption { padding: var(--s4) var(--s4) 68px; }
  .slider__bar { padding: 0 var(--s3) var(--s2) var(--s4); }
  .slider__dots { max-width: 140px; }
}

/* ---------- Activité ---------- */
.activity__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.activity .lead b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .activity__grid { grid-template-columns: 1fr; } }

/* ---------- Entrée du hero ---------- */
.js .hero__intro > * { opacity: 0; transform: translateY(14px); animation: rise 800ms var(--ease-out) forwards; }
.js .hero__intro > :nth-child(1) { animation-delay: 60ms; }
.js .hero__intro > :nth-child(2) { animation-delay: 140ms; }
.js .hero__intro > :nth-child(3) { animation-delay: 220ms; }
.js .hero__intro > :nth-child(4) { animation-delay: 300ms; }
.js .hero .slider { opacity: 0; transform: translateY(16px) scale(.985); animation: rise 900ms var(--ease-out) 200ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Expertises ---------- */
.expertises { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.xp {
  position: relative; display: flex; flex-direction: column; gap: var(--s3);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6);
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.xp__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.icon-tile svg { width: 26px; height: 26px; }
.xp__count { font-family: var(--mono); font-size: .8rem; color: var(--muted); text-align: right; }
.xp__count b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--navy-900); line-height: 1; }
.xp h3 { font-size: 1.35rem; margin: var(--s2) 0 0; }
.xp p { color: var(--muted); margin: 0; }
.xp ul { list-style: none; padding: 0; margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xp li { font-size: .84rem; padding: 4px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.xp .link-arrow { margin-top: auto; padding-top: var(--s3); }
.xp .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) { .xp:hover { border-color: var(--accent); box-shadow: var(--shadow-2); } }
@media (max-width: 820px) { .expertises { grid-template-columns: 1fr; } .xp { padding: var(--s5); } }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.sector {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); min-height: 180px;
  background: var(--navy-900); color: #fff; text-decoration: none;
  transition: background-color var(--dur-ui) ease;
}
.sector svg { width: 28px; height: 28px; color: var(--brand); }
.sector strong { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.sector span { margin-top: auto; font-family: var(--mono); font-size: .8rem; color: #94a3b8; display: flex; justify-content: space-between; align-items: center; }
.sector span svg { width: 16px; height: 16px; color: #94a3b8; transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) {
  .sector:hover { background: var(--navy-800); }
  .sector:hover span svg { transform: translateX(3px); color: var(--brand); }
}
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sector { min-height: 150px; padding: var(--s4); } .sector strong { font-size: .98rem; } }

/* ---------- Cartes références ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.case {
  position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s5); transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.case__meta { display: flex; justify-content: space-between; gap: var(--s3); font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: var(--s5); }
.case__num { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums lining-nums; }
.case__numlabel { font-size: .88rem; color: var(--muted); margin: 4px 0 var(--s5); }
.case h3 { font-size: 1.06rem; margin-bottom: var(--s3); }
.case__partner { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.case__partner svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-hover); }
.tag--live { background: #dcfce7; color: #166534; }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
@media (hover: hover) and (pointer: fine) { .case:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); } }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }
.center-cta { display: flex; justify-content: center; margin-top: var(--s6); }

/* Cartes cliquables avec photo */
.case__img { width: calc(100% + 48px); margin: -24px -24px 20px; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.case__link { color: inherit; text-decoration: none; }
.case__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.case__link:focus-visible { outline: none; }
.case:has(.case__link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .case:has(.case__link):hover h3 { color: var(--accent); } }
.live-list h3 a { color: inherit; text-decoration: none; }
.live-list h3 a:hover { color: var(--accent); text-decoration: underline; }

/* Aperçu de la galerie */
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.teaser__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--line); }
.teaser__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .teaser__item:hover img { transform: scale(1.04); } }
@media (max-width: 640px) { .teaser { grid-template-columns: 1fr 1fr; } }

/* ---------- Dispositifs de collecte ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.mode { border-top: 2px solid var(--navy-900); padding-top: var(--s5); }
.mode__n { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.mode h3 { font-size: 1.3rem; margin: var(--s2) 0 var(--s3); }
.mode p { color: var(--muted); }
.mode__tools { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.network {
  margin-top: var(--s7); display: grid; grid-template-columns: auto 1fr auto; gap: var(--s6); align-items: center;
  background: var(--navy-900); color: #cbd5e1; border-radius: var(--radius-lg); padding: var(--s6);
}
.network strong { font-family: var(--serif); font-weight: 500; font-size: 3.4rem; line-height: 1; color: #fff; }
.network p { margin: 0; max-width: 60ch; }
.network p b { color: #fff; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; gap: var(--s6); } .network { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s5); } }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s5); position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px; background: var(--line-strong); }
.step { position: relative; }
.step__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .85rem; color: var(--navy-900); margin-bottom: var(--s4); position: relative; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s4); padding-bottom: var(--s5); }
  .step__n { grid-row: span 2; margin: 0; }
}

/* ---------- En cours ---------- */
.live-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.live-list li { display: grid; grid-template-columns: 180px 1fr auto; gap: var(--s5); align-items: baseline; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.live-list h3 { font-size: 1.1rem; margin: 0 0 4px; }
.live-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.live-list .mono { font-size: .82rem; color: var(--muted); }
.live-list .tag { justify-self: start; }
@media (max-width: 760px) { .live-list li { grid-template-columns: 1fr; gap: var(--s2); } }

/* ---------- Formations ---------- */
.trainings { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.track-list { display: grid; gap: var(--s4); }
.track { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.track h3 { font-size: 1.05rem; margin-bottom: var(--s3); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.formats { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s6); }
.formats div { display: flex; gap: var(--s3); }
.formats svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.formats b { display: block; }
.formats span { color: var(--muted); font-size: .95rem; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s6); }
.photo-stack img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-stack img:first-child { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 900px) { .trainings { grid-template-columns: 1fr; } }

/* ---------- Cabinet ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.about__copy p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: var(--s5) 0; }
.values div { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); background: var(--card); }
.values b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; display: block; color: var(--navy-900); }
.values span { font-size: .88rem; color: var(--muted); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); }
.team li { display: flex; gap: var(--s3); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.team .mono { min-width: 36px; color: var(--accent); font-weight: 500; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .team { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info { list-style: none; margin: var(--s6) 0; padding: 0; display: grid; gap: var(--s4); }
.contact__info li { display: flex; gap: var(--s3); align-items: center; color: #e2e8f0; }
.contact__info svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.contact__info a { color: #fff; text-decoration: none; font-weight: 600; }
.contact__info a:hover { text-decoration: underline; }
.socials { display: flex; gap: var(--s2); }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease; }
.socials svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: rgba(255,255,255,.08); border-color: #fff; } }

.form { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s6); display: grid; gap: var(--s4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--err); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--card); font-size: 1rem; transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(3,105,161,.2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: .86rem; color: var(--err); display: none; align-items: center; gap: 6px; }
.field__err svg { width: 16px; height: 16px; flex: none; }
.field [aria-invalid="true"] ~ .field__err { display: flex; }
.field__hint { font-size: .84rem; color: var(--muted); }
.form__note { font-size: .84rem; color: var(--muted); margin: 0; }
.form__status { margin: 0; font-weight: 600; font-size: .95rem; display: flex; gap: 8px; align-items: center; }
.form__status:empty { display: none; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--err); }
.form__status svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: var(--s5); } .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #94a3b8; padding: var(--s8) 0 var(--s5); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s6); }
.footer .brand { color: #fff; margin-bottom: var(--s4); }
.footer .brand__tag { color: #94a3b8; }
.footer h4 { color: #fff; font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: .86rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: span 2; } }

/* ---------- Page Références ---------- */
.page-hero { padding: clamp(48px, 6vw, 80px) 0 var(--s6); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: var(--s4); }
.crumbs a { color: var(--muted); }
.filters {
  position: sticky; top: 76px; z-index: 30; background: rgba(248,250,252,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s4) 0;
}
.filters__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: var(--s3); align-items: end; }
.filters .field label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.filters .field input, .filters .field select { min-height: 44px; padding: 8px 12px; }
.search { position: relative; }
.search svg { position: absolute; left: 12px; bottom: 13px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 38px !important; }
.filters__reset { min-height: 44px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0 var(--s3); }
.results-bar p { margin: 0; color: var(--muted); }
.results-bar b { color: var(--ink); }
@media (max-width: 960px) {
  .filters { position: static; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .filters__row .search { grid-column: span 2; }
}
@media (max-width: 520px) { .filters__row { grid-template-columns: 1fr; } .filters__row .search { grid-column: auto; } }

.ref-list { list-style: none; margin: 0 0 var(--s8); padding: 0; border-top: 1px solid var(--line); }
.ref { border-bottom: 1px solid var(--line); }
.ref details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 150px 1fr 220px 32px; gap: var(--s5); align-items: start; padding: var(--s5) var(--s3); border-radius: var(--radius-sm); transition: background-color var(--dur-ui) ease; }
.ref details > summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .ref details > summary:hover { background: var(--card); } }
.ref__period { font-family: var(--mono); font-size: .82rem; color: var(--muted); padding-top: 3px; }
.ref__period .tag { margin-top: 6px; }
.ref__title { font-weight: 700; font-size: 1.06rem; line-height: 1.4; margin: 0 0 6px; color: var(--ink); }
.ref__partner { font-size: .95rem; color: var(--ink-2); margin: 0; }
.ref__where { font-size: .9rem; color: var(--muted); }
.ref__where b { display: block; font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.ref__toggle { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-2); transition: transform var(--dur-ui) var(--ease-out); }
.ref__toggle svg { width: 16px; height: 16px; }
.ref details[open] .ref__toggle { transform: rotate(45deg); }
.ref__body { display: grid; grid-template-columns: 150px 1fr 220px 32px; gap: var(--s5); padding: 0 var(--s3) var(--s5); }
.ref__body > div { grid-column: 2 / 4; }
.ref__body p { color: var(--ink-2); max-width: 75ch; }
.ref__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: 0; }
.ref__facts dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ref__facts dd { margin: 4px 0 0; font-size: .95rem; }
.ref__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ref__links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s4) 0 0; }
.ref__cover { width: 220px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); float: right; margin: 0 0 var(--s3) var(--s5); }
@media (max-width: 640px) { .ref__cover { float: none; width: 100%; margin: 0 0 var(--s3); } }
.empty { text-align: center; padding: var(--s8) var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); margin-bottom: var(--s8); }
.empty h2 { font-size: 1.6rem; }
@media (max-width: 860px) {
  .ref details > summary { grid-template-columns: 1fr 32px; gap: var(--s2) var(--s3); padding: var(--s4) 0; }
  .ref__period { grid-column: 1; grid-row: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .ref__period .tag { margin: 0; }
  .ref__main { grid-column: 1; }
  .ref__where { grid-column: 1; }
  .ref__toggle { grid-column: 2; grid-row: 1; }
  .ref__body { grid-template-columns: 1fr; padding: 0 0 var(--s5); }
  .ref__body > div { grid-column: auto; }
  .ref__facts { grid-template-columns: 1fr; }
}

/* ---------- CTA bande ---------- */
.cta-band { background: var(--navy-900); color: #cbd5e1; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: var(--s6); flex-wrap: wrap; margin-bottom: var(--s8); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 8px; }
.cta-band p { margin: 0; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__intro > *, .js .hero .slider { animation: none; opacity: 1; transform: none; }
  .slide img, .slide.is-active img { transform: none; transition: none; }
  .slide figcaption > * { transform: none; }
  .js .reveal { transform: none; transition: opacity 200ms ease; }
  .bar__fill { transition: none; }
  .bars.is-pending .bar__fill { --grow: 1; }
  .bars.is-pending .bar__val { opacity: 1; }
  .btn:active { transform: none; }
}

/* ==========================================================
   Visionneuse (galerie, fiches projet)
   ========================================================== */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 16, 41, .96); color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lb-in 220ms var(--ease-out); }
.lightbox::backdrop { background: transparent; }
html:has(dialog.lightbox[open]) { overflow: hidden; } /* bloque le défilement tant que la visionneuse est ouverte */
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lightbox__stage { display: grid; place-items: center; padding: 64px 72px 8px; min-height: 0; overflow: hidden; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 6px; transition: opacity 200ms ease; }
.lightbox__img.is-loading { opacity: .35; }
.lightbox__bar { display: flex; justify-content: space-between; gap: var(--s4); align-items: baseline; padding: var(--s4) var(--s6) var(--s5); }
.lightbox__caption { margin: 0; color: #e2e8f0; max-width: 80ch; }
.lightbox__caption a { color: var(--brand-light); }
.lightbox__count { color: #94a3b8; font-size: .85rem; flex: none; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.lightbox__btn:active { transform: scale(.94); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(255,255,255,.16); } }
@media (max-width: 640px) {
  .lightbox__stage { padding: 64px 8px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; translate: none; }
  .lightbox__bar { padding: var(--s3) var(--s4) var(--s5); }
}

/* ==========================================================
   Fiche projet
   ========================================================== */
.project-hero { padding: clamp(40px, 6vw, 72px) 0 var(--s6); }
.project-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 24ch; }
.project-hero .partner { font-size: 1.15rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; margin: 0; }
.project-hero .partner svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.project-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.project-body > p { font-size: 1.08rem; color: var(--ink-2); }
.project-body h2 { font-size: 1.6rem; margin-top: var(--s6); }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); margin: 0; display: grid; gap: var(--s4); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts .big { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--navy-900); }
.project-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.project-photos button { padding: 0; border: 0; background: var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.project-photos button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.project-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .project-photos button:hover img { transform: scale(1.04); } }
.photo-empty { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: var(--s6); text-align: center; color: var(--muted); }
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr; } .project-photos { grid-template-columns: 1fr 1fr; } }
.skeleton { background: linear-gradient(90deg, var(--line) 0%, #eef2f7 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ==========================================================
   Galerie
   ========================================================== */
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.chip-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.chip-btn:active { transform: scale(.97); }
.chip-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-btn span { font-family: var(--mono); font-size: .78rem; opacity: .75; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .chip-btn:not([aria-pressed="true"]):hover { border-color: var(--ink); } }
.masonry { columns: 3 280px; column-gap: 12px; margin-bottom: var(--s8); }
.masonry figure { break-inside: avoid; margin: 0 0 12px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform 600ms var(--ease-out); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(6,16,41,.85)); opacity: 0; transform: translateY(6px); transition: opacity var(--dur-ui) ease, transform var(--dur-ui) var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .masonry figure:hover img { transform: scale(1.03); }
  .masonry figure:hover figcaption { opacity: 1; transform: none; }
}
.masonry figure:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry figcaption { opacity: 1; transform: none; } }

/* ==========================================================
   Formations
   ========================================================== */
.catalogue { display: grid; gap: var(--s7); }
.catalogue h2 { font-size: 1.6rem; }
.fcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { .fcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); } }
.fcard h3 { font-size: 1.2rem; margin: 0; }
.fcard p { color: var(--muted); margin: 0; font-size: .96rem; }
.fcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.fcard .btn { margin-top: auto; align-self: flex-start; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.form legend { font-size: .9rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.radios { display: grid; gap: 8px; }
.radio { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; font-size: .95rem; transition: border-color var(--dur-ui) ease, background-color var(--dur-ui) ease; }
.radio input { width: 18px; height: 18px; accent-color: var(--accent); }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
@media (prefers-reduced-motion: reduce) {
  .lightbox[open] { animation: none; }
  .skeleton { animation: none; }
}

/* ==========================================================
   COUCHE « INSTITUT DE RECHERCHE » (inspiration RTI International)
   Sans empattement légère + gras, angles droits, bleu institutionnel,
   boutons rectangulaires en capitales, grands visuels plein cadre.
   Cette couche redéfinit les jetons : tout le site en hérite.
   ========================================================== */
:root {
  --navy-950: #0d1c3a;
  --navy-900: #152c55;
  --navy-800: #1c3868;
  --navy-700: #24457e;
  --royal: #1f4fa3;            /* barre utilitaire */
  --accent: #1f4fa3;
  --accent-hover: #173d80;
  --accent-soft: #e8eff9;
  --cta: #8fd3e8;              /* bouton principal (texte marine : contraste 9:1) */
  --cta-hover: #b1e1ef;
  --ink: #1f2937;
  --ink-2: #374151;
  --muted: #4b5563;
  --heading: #2b2f36;
  --bg: #ffffff;
  --tint: #f3f6fa;
  --serif: "Figtree", system-ui, "Segoe UI", sans-serif;
  --sans: "Figtree", system-ui, "Segoe UI", sans-serif;
  --mono: "Figtree", system-ui, sans-serif;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-lg: 2px;
  --header-h: 92px;
}
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-size: 1.0625rem; color: var(--ink); background: var(--bg); }
h1, h2 { font-weight: 300; letter-spacing: -.012em; color: var(--heading); line-height: 1.15; }
h1 strong, h2 strong { font-weight: 700; }
h3 { font-weight: 700; }
.mono { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.section--white { background: #fff; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy-900); }
.section--navy h2 { color: #fff; }

/* Surtitres : capitales espacées */
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .16em; color: var(--accent); }
.eyebrow::before { width: 28px; height: 3px; background: var(--cta); }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--cta); }

/* Boutons rectangulaires */
.btn { border-radius: 0; min-height: 52px; padding: 0 30px; font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-width: 2px; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .8rem; }
.btn--primary, .btn--light { background: var(--cta); color: var(--navy-950); }
.btn--secondary { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline-light { border-color: rgba(255,255,255,.8); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--light:hover { background: var(--cta-hover); }
  .btn--secondary:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
  .btn--outline-light:hover { background: #fff; color: var(--navy-900); }
}
/* Lien « EN SAVOIR PLUS ⟶ » */
.link-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: inherit; }
.link-cta svg { width: 56px; height: 16px; flex: none; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-cta:hover svg { transform: translateX(6px); } }
.link-arrow { font-weight: 700; }

/* ---------- Barre utilitaire ---------- */
.utility { background: var(--royal); color: #fff; font-size: .92rem; position: relative; z-index: 45; }
.utility__inner { display: flex; justify-content: flex-end; align-items: center; gap: 4px; min-height: 44px; }
.utility a { color: #fff; text-decoration: none; padding: 10px 12px; font-weight: 500; }
.utility a:hover { text-decoration: underline; text-underline-offset: 4px; }
.utility__sep { width: 1px; height: 22px; background: rgba(255,255,255,.35); margin: 0 8px; }
.utility__icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; }
.utility__icon svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .utility { display: none; } }

/* ---------- En-tête bleu marine ---------- */
.header { background: var(--navy-900); color: #fff; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 250ms ease, box-shadow 250ms ease; }
.header.is-scrolled { background: var(--navy-900); border-bottom: 0; box-shadow: 0 8px 24px -12px rgba(0,0,0,.45); }
.header__inner { height: var(--header-h); }
.brand, .header.is-scrolled .brand { color: #fff; }
.brand__tag { color: rgba(255,255,255,.7); }
.brand__name { font-size: 1.4rem; }
.nav a:not(.btn), .header.is-scrolled .nav a:not(.btn) {
  color: #fff; font-weight: 600; font-size: 1.02rem; border-radius: 0; padding: 0 10px; gap: 6px; background: none !important;
  box-shadow: inset 0 -3px 0 transparent; transition: box-shadow var(--dur-ui) ease, color var(--dur-ui) ease;
}
.nav__chev { width: 14px; height: 14px; opacity: .85; }
.nav a:not(.btn) { white-space: nowrap; }
.header__cta { white-space: nowrap; flex: none; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { box-shadow: inset 0 -3px 0 var(--cta); } }
.nav a[aria-current="page"], .nav a.is-active { box-shadow: inset 0 -3px 0 var(--cta) !important; color: #fff !important; }
.menu-btn { color: #fff; }
.header__cta { margin-left: 8px; }
/* Accueil : l'en-tête se superpose au visuel, puis devient opaque au défilement */
.header--overlay { background: linear-gradient(180deg, rgba(8,18,40,.55), rgba(8,18,40,0)); margin-bottom: calc(-1 * var(--header-h)); }
.header--overlay.is-scrolled { background: var(--navy-900); }
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 16px 24px;
    background: var(--navy-900); border-bottom: 0; box-shadow: 0 24px 40px -24px rgba(0,0,0,.5);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
  }
  .header.nav-open .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .header.nav-open, .header--overlay.nav-open { background: var(--navy-900); }
  .header.nav-open .brand { color: #fff; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { color: #fff !important; min-height: 52px; font-size: 1.08rem; justify-content: space-between; }
  .nav__mobile-cta { display: block; }
  .nav__mobile-cta .btn { width: 100%; }
}
@media (min-width: 1181px) {
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0; }
  .menu-btn { display: none; }
  .nav__mobile-cta { display: none; }
}

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border: 70px solid rgba(143,211,232,.08); border-radius: 50%; pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 22ch; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,.75); }
.page-hero .eyebrow { color: var(--cta); }
.filters { top: var(--header-h); background: rgba(255,255,255,.96); }

/* ---------- Hero plein écran de l'accueil ---------- */
.hero-rti { position: relative; min-height: min(92vh, 900px); min-height: min(92dvh, 900px); color: #fff; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 clamp(170px, 18vw, 230px); overflow: hidden; background: var(--navy-950); }
.hero-rti .slider { position: absolute; inset: 0; border-radius: 0; box-shadow: none; background: var(--navy-950); }
.js .hero-rti .slider { opacity: 1; transform: none; animation: none; }
.hero-rti .slider__viewport { aspect-ratio: auto; height: 100%; }
.hero-rti .slide::after { background: linear-gradient(90deg, rgba(10,22,48,.88) 0%, rgba(10,22,48,.62) 42%, rgba(10,22,48,.2) 100%), linear-gradient(0deg, rgba(10,22,48,.6), rgba(10,22,48,0) 40%); }
.hero-rti .slide figcaption { left: auto; right: 0; bottom: clamp(236px, 24vw, 300px); padding: 0 clamp(16px, 4vw, 48px); text-align: right; max-width: 420px; gap: 2px; }
.hero-rti .slide figcaption strong { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.hero-rti .slide figcaption span:last-child { display: none; }
.hero-rti .slide__kicker { font-family: var(--sans); letter-spacing: .14em; font-weight: 700; color: var(--cta); }
.hero-rti__content { position: relative; z-index: 3; }
.hero-rti .eyebrow { color: var(--cta); }
@media (max-width: 560px) { .link-cta { gap: 12px; letter-spacing: .1em; } .link-cta svg { width: 36px; } }
.hero-rti h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.22; max-width: 19ch; margin-bottom: 28px; }
.hero-rti h1 strong { display: block; }
.hero-rti .lead { color: rgba(255,255,255,.88); max-width: 56ch; font-size: 1.15rem; margin-bottom: 28px; }
.hero-rti__actions { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; }
.hero-rti .slider__bar { top: auto; bottom: clamp(180px, 19vw, 240px); left: auto; right: clamp(16px, 4vw, 48px); padding: 0; gap: 12px; }
.hero-rti .slider__dots { width: 180px; flex: none; }
.hero-rti .slider__btn { border-radius: 0; background: transparent; border: 1px solid rgba(255,255,255,.8); backdrop-filter: none; }
.hero-rti .slider__btn[data-action="toggle"] { display: inline-flex; align-items: center; width: auto; padding: 0 12px 0 18px; gap: 12px; font-weight: 700; font-size: 1rem; }
.hero-rti .slider__btn[data-action="toggle"]::before { content: attr(data-label-pause); }
.hero-rti .slider.is-paused .slider__btn[data-action="toggle"]::before { content: attr(data-label-play); }
.hero-rti .slider__btn[data-action="toggle"] svg { width: 26px; height: 26px; padding: 6px; background: #fff; color: var(--navy-900); border-radius: 50%; }
@media (max-width: 760px) {
  .hero-rti { min-height: 0; padding-top: calc(var(--header-h) + 40px); padding-bottom: 150px; }
  .hero-rti .slide figcaption { display: none; }
  .hero-rti .slider__bar { bottom: 104px; right: 16px; }
  .hero-rti .slider__dots { width: 90px; }
}

/* Cartes superposées au bas du visuel */
.hero-cards { position: relative; z-index: 4; margin-top: clamp(-150px, -12vw, -110px); }
.hero-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.hcard { position: relative; background: #fff; box-shadow: 0 18px 40px -18px rgba(13,28,58,.35); display: flex; flex-direction: column; }
.hcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.hcard__body { padding: 22px 24px 26px; display: grid; gap: 8px; flex: 1; }
.hcard__label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hcard h3 { font-size: 1.3rem; line-height: 1.3; margin: 0; font-weight: 600; }
.hcard h3 a { color: var(--heading); text-decoration: none; }
.hcard h3 a::after { content: ""; position: absolute; inset: 0; }
.hcard p { margin: 0; color: var(--muted); font-size: .98rem; }
.hcard:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.hcard h3 a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover .hcard__img img { transform: scale(1.05); }
  .hcard:hover h3 a { color: var(--accent); }
}
@media (max-width: 900px) { .hero-cards__grid { grid-template-columns: 1fr; } .hcard { display: grid; grid-template-columns: 38% 1fr; } .hcard__img { aspect-ratio: auto; height: 100%; min-height: 130px; } }
@media (max-width: 480px) { .hcard { grid-template-columns: 1fr; } .hcard__img { aspect-ratio: 16/9; } }

/* Chiffres clés */
.stats-rti { padding: clamp(56px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.stats-rti__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-rti__item { border-top: 3px solid var(--cta); padding-top: 18px; }
.stats-rti__item strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.stats-rti__item span { color: var(--muted); }
@media (max-width: 860px) { .stats-rti__grid { grid-template-columns: 1fr 1fr; } }

/* Titres de section façon « Meet Our Experts » */
.section-title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 300; color: var(--heading); margin-bottom: clamp(24px, 3vw, 40px); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head-row .section-title { margin: 0; }

/* ---------- Panneau bleu marine + carrousel d'images ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--navy-900); }
.feature__panel { position: relative; color: #fff; padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.feature__slide { display: none; }
.feature__slide.is-active { display: block; animation: feature-in 500ms var(--ease-out); }
@keyframes feature-in { from { opacity: 0; transform: translateY(10px); } }
.feature__count { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--cta); text-transform: uppercase; }
.feature h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15; margin: 14px 0 18px; }
.feature p { color: rgba(255,255,255,.9); font-size: 1.1rem; line-height: 1.8; max-width: 48ch; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.feature__tags li { font-size: .85rem; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.feature__media { position: relative; overflow: hidden; background: var(--navy-800); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms ease, transform 1200ms var(--ease-out); transform: scale(1.04); }
.feature__media img.is-active { opacity: 1; transform: none; }
.feature__media img[src$=".svg"] { object-fit: contain; background: linear-gradient(135deg, #eef4fb, #dbe8f6); }
.feature__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 72px; height: 72px; display: grid; place-items: center; border: 0; background: #eef1f5; color: var(--accent); z-index: 2; transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.feature__arrow:active { transform: scale(.95); }
.feature__arrow svg { width: 34px; height: 34px; stroke-width: 3; }
.feature__arrow--prev { left: 0; }
.feature__arrow--next { right: 0; }
@media (hover: hover) and (pointer: fine) { .feature__arrow:hover { background: #fff; } }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 4 / 3; order: -1; }
  .feature__arrow { width: 56px; height: 56px; }
}

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.ncard { position: relative; display: flex; flex-direction: column; gap: 10px; }
.ncard__img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); display: grid; place-items: center; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ncard__img svg { width: 56px; height: 56px; color: rgba(255,255,255,.35); }
.ncard__meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.ncard__meta time { color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.ncard h3 { font-size: 1.28rem; line-height: 1.35; font-weight: 600; margin: 0; }
.ncard h3 a { color: var(--heading); text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.ncard p { color: var(--muted); margin: 0; font-size: .98rem; }
.ncard__ext { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); }
.ncard__ext svg { width: 14px; height: 14px; }
.ncard:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.ncard h3 a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .ncard:hover .ncard__img img { transform: scale(1.05); } .ncard:hover h3 a { color: var(--accent); } }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-filter a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, border-color var(--dur-ui) ease; }
.cat-filter a span { font-weight: 500; color: var(--muted); font-size: .82rem; }
.cat-filter a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.cat-filter a[aria-current="page"] span { color: rgba(255,255,255,.75); }
@media (hover: hover) and (pointer: fine) { .cat-filter a:not([aria-current]):hover { border-color: var(--navy-900); } }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 48px 0 0; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination [aria-current="page"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Article */
.article-head { background: var(--navy-900); color: #fff; padding: clamp(48px, 6vw, 80px) 0 clamp(140px, 14vw, 200px); }
.article-head h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 26ch; font-weight: 400; }
.article-head .crumbs, .article-head .crumbs a { color: rgba(255,255,255,.75); }
.article-head__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 18px; }
.article-cover { margin: clamp(-170px, -12vw, -110px) auto 0; max-width: 1040px; aspect-ratio: 16 / 8; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(13,28,58,.45); background: var(--navy-800); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 72ch; margin: clamp(40px, 5vw, 64px) auto; font-size: 1.14rem; line-height: 1.8; color: var(--ink); }
.prose > p:first-child { font-size: 1.3rem; line-height: 1.65; color: var(--heading); }
.prose h2 { font-size: 1.9rem; font-weight: 400; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--cta); font-size: 1.3rem; font-weight: 300; color: var(--heading); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; }
.prose figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.prose code { background: var(--tint); padding: 2px 6px; font-size: .9em; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 72ch; margin: 0 auto 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.share a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.share a:hover { border-color: var(--navy-900); }
.draft-banner { background: #fef3c7; color: #92400e; text-align: center; padding: 10px 16px; font-weight: 600; }

/* ---------- Événements ---------- */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ev { position: relative; display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 20px 28px 20px 20px; transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
.ev__date { background: var(--navy-900); color: #fff; text-align: center; padding: 14px 8px; line-height: 1; }
.ev__date b { display: block; font-size: 2.6rem; font-weight: 300; }
.ev__date span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; color: var(--cta); }
.ev__type { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ev h3 { font-size: 1.3rem; font-weight: 600; margin: 4px 0 6px; }
.ev h3 a { color: var(--heading); text-decoration: none; }
.ev h3 a::after { content: ""; position: absolute; inset: 0; }
.ev__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .95rem; }
.ev__meta span { display: inline-flex; gap: 6px; align-items: center; }
.ev__meta svg { width: 16px; height: 16px; }
.ev__cta { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.ev--past { opacity: .82; }
.ev--past .ev__date { background: var(--muted); }
.ev:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ev:hover { border-color: var(--navy-900); box-shadow: 0 12px 28px -18px rgba(13,28,58,.4); } }
@media (max-width: 700px) { .ev { grid-template-columns: 80px 1fr; gap: 16px; padding: 16px; } .ev__date b { font-size: 2rem; } .ev__cta { display: none; } }
.event-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 80px; }
.event-layout .prose { margin: 0; max-width: none; }
.event-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.event-box { border: 1px solid var(--line); padding: 28px; background: #fff; }
.event-box dl { margin: 0 0 20px; display: grid; gap: 14px; }
.event-box dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event-box dd { margin: 2px 0 0; font-weight: 600; }
.places { font-size: .92rem; color: var(--muted); margin: 0 0 16px; }
.places b { color: var(--ink); }
@media (max-width: 900px) { .event-layout { grid-template-columns: 1fr; } .event-side { position: static; } }

/* ---------- Prise de rendez-vous ---------- */
.booking { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 88px; }
.bk-step { border: 1px solid var(--line); background: #fff; padding: clamp(20px, 3vw, 32px); }
.bk-step + .bk-step { margin-top: 20px; }
.bk-step h2 { font-size: 1.35rem; font-weight: 600; display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.bk-step h2 .n { width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-size: 1rem; flex: none; }
.bk-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-mode { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 2px solid var(--line-strong); cursor: pointer; font-weight: 600; transition: border-color var(--dur-ui) ease, background-color var(--dur-ui) ease; }
.bk-mode input { position: absolute; opacity: 0; }
.bk-mode svg { width: 26px; height: 26px; color: var(--accent); }
.bk-mode:has(input:checked) { border-color: var(--navy-900); background: var(--accent-soft); }
.bk-mode:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .bk-modes { grid-template-columns: 1fr; } .bk-mode { flex-direction: row; align-items: center; } }
.cal { user-select: none; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal__head b { font-size: 1.1rem; text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: #fff; }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal__day { aspect-ratio: 1; min-height: 44px; border: 1px solid transparent; background: none; font-weight: 600; font-size: .98rem; display: grid; place-items: center; position: relative; color: var(--ink); transition: background-color 150ms ease, border-color 150ms ease; }
.cal__day[disabled] { color: #b8bfca; cursor: default; }
.cal__day:not([disabled]) { background: var(--accent-soft); color: var(--navy-900); }
.cal__day:not([disabled])::after { content: ""; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal__day[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.cal__day[aria-pressed="true"]::after { background: var(--cta); }
@media (hover: hover) and (pointer: fine) { .cal__day:not([disabled]):not([aria-pressed="true"]):hover { border-color: var(--navy-900); } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border: 2px solid var(--line-strong); background: #fff; font-weight: 700; font-size: 1rem; color: var(--navy-900); transition: border-color 150ms ease, background-color 150ms ease; }
.slot[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
@media (hover: hover) and (pointer: fine) { .slot:not([aria-pressed="true"]):hover { border-color: var(--navy-900); } }
.slots-empty { color: var(--muted); margin: 0; }
.bk-summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy-900); color: #fff; padding: clamp(24px, 3vw, 36px); }
.bk-summary h2 { color: #fff; font-size: 1.5rem; font-weight: 400; }
.bk-summary dl { display: grid; gap: 14px; margin: 20px 0 24px; }
.bk-summary dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); }
.bk-summary dd { margin: 2px 0 0; font-size: 1.05rem; }
.bk-summary .form__note { color: rgba(255,255,255,.75); }
.bk-done { text-align: center; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); background: #fff; }
.bk-done svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 16px; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .bk-summary { position: static; } }

/* Ajustements des composants existants au nouveau langage */
.chart-card, .case, .xp, .track, .fcard, .form, .mode, .network, .cta-band, .logo-tile, .kpi, .facts, .event-box { border-radius: 0; }
.case__img { border-radius: 0; }
.form { border: 1px solid var(--line); }
.section--navy .form, .on-dark .form { border: 0; }
.cta-band { background: var(--navy-900); }
.tag { border-radius: 0; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.xp h3, .case h3 { font-weight: 600; }
.proof__item strong, .xp__count b, .case__num, .chart-card__total strong, .network strong { font-family: var(--sans); font-weight: 300; }
.sector { background: var(--navy-900); }
.footer { background: var(--navy-950); }

/* ==========================================================
   Équipe et experts
   ========================================================== */
.feature__role { font-size: 1.05rem !important; font-weight: 600; color: var(--cta) !important; margin: -8px 0 16px; }
.feature__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(4rem, 10vw, 8rem); font-weight: 300; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); opacity: 0; transition: opacity 700ms ease; }
.feature__initials.is-active { opacity: 1; }
.feature--experts .feature__media img { object-position: center 25%; }
.team-compo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-compo div { border-top: 3px solid var(--cta); padding-top: 14px; }
.team-compo strong { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1; color: var(--navy-900); margin-bottom: 8px; }
.team-compo span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .team-compo { grid-template-columns: 1fr 1fr; } }
.team-group + .team-group { margin-top: clamp(48px, 6vw, 72px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.tcard { position: relative; display: flex; flex-direction: column; }
.tcard__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--navy-900); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(.25); transition: transform 700ms var(--ease-out), filter 400ms ease; }
.tcard__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; font-weight: 300; color: rgba(255,255,255,.85); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.tcard__body { padding: 16px 0 0; border-top: 3px solid var(--cta); margin-top: -3px; position: relative; }
.tcard h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 4px; }
.tcard h3 a { color: var(--heading); text-decoration: none; }
.tcard h3 a::after { content: ""; position: absolute; inset: 0; }
.tcard__poste { color: var(--muted); margin: 0 0 10px; font-size: .98rem; }
.tcard__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tcard__tags li { font-size: .8rem; font-weight: 600; padding: 3px 10px; background: var(--accent-soft); color: var(--accent-hover); }
.tcard:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.tcard h3 a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .tcard:hover .tcard__photo img { transform: scale(1.04); filter: none; }
  .tcard:hover h3 a { color: var(--accent); }
}
.expert-hero { background: var(--navy-900); color: #fff; padding: clamp(40px, 6vw, 80px) 0; margin-bottom: clamp(40px, 5vw, 64px); }
.expert-hero__grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.expert-hero__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--navy-800); box-shadow: 0 24px 48px -24px rgba(0,0,0,.5); }
.expert-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.expert-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 400; margin-bottom: 6px; }
.expert-hero__poste { font-size: 1.2rem; color: var(--cta); font-weight: 600; margin: 0 0 18px; }
.expert-hero .lead { color: rgba(255,255,255,.88); }
.expert-hero .crumbs, .expert-hero .crumbs a { color: rgba(255,255,255,.75); }
.expert-hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.expert-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 7vw, 88px); }
@media (max-width: 820px) { .expert-hero__grid, .expert-body { grid-template-columns: 1fr; } .expert-hero__photo { max-width: 280px; } }

.article-head .eyebrow, .expert-hero .eyebrow { color: var(--cta); }

/* ==========================================================
   Coordonnées, WhatsApp, langues
   ========================================================== */
.utility__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600 !important; }
.utility__tel svg { width: 15px; height: 15px; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch a { padding: 6px 8px !important; font-weight: 700 !important; font-size: .82rem; letter-spacing: .06em; opacity: .7; text-decoration: none; }
.lang-switch a[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--cta); }
.lang-switch--footer a { color: #cbd5e1; font-size: .85rem; letter-spacing: 0; font-weight: 600 !important; }
.nav__mobile-only { display: none; }
.nav__lang { gap: 8px; padding: 12px 0 4px; }
.nav__lang a { flex: 1; justify-content: center !important; border: 1px solid rgba(255,255,255,.3); min-height: 44px !important; font-size: .95rem !important; }
.nav__lang a[aria-current="true"] { background: rgba(255,255,255,.12) !important; border-color: var(--cta); }
@media (max-width: 1180px) { .nav__mobile-only { display: block; } .nav__lang { display: flex; } }
.footer__contact a { line-height: 1.5; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease; }
.wa__btn:active { transform: scale(.94); }
.wa__btn svg { width: 32px; height: 32px; grid-area: 1 / 1; transition: opacity 150ms ease, transform 200ms var(--ease-out); }
.wa__close { width: 26px !important; height: 26px !important; opacity: 0; transform: rotate(-45deg); }
.wa.is-open .wa__icon { opacity: 0; transform: rotate(45deg); }
.wa.is-open .wa__close { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .wa__btn:hover { background: #1ebe5b; } }
.wa__panel { width: min(300px, calc(100vw - 40px)); background: #fff; color: var(--ink); padding: 18px; box-shadow: 0 24px 48px -16px rgba(13,28,58,.4);
  transform-origin: bottom right; animation: wa-in 200ms var(--ease-out); }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.wa__title { font-weight: 700; margin: 0 0 4px; }
.wa__hint { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.wa__link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color var(--dur-ui) ease, background-color var(--dur-ui) ease; }
.wa__link + .wa__link { margin-top: 8px; }
.wa__link svg { width: 28px; height: 28px; color: #25d366; flex: none; }
.wa__link b { display: block; font-size: 1.02rem; }
.wa__link small { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .wa__link:hover { border-color: #25d366; background: #f0fdf4; } }
@media (prefers-reduced-motion: reduce) { .wa__panel { animation: none; } }
@media print { .wa { display: none; } }

/* ==========================================================
   Témoignages et lettres de référence
   ========================================================== */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.quote { background: #fff; border-top: 4px solid var(--cta); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 12px 32px -20px rgba(13,28,58,.3); }
.quote > svg { width: 36px; height: 36px; color: var(--accent); }
.quote blockquote { margin: 0; font-size: 1.14rem; line-height: 1.7; color: var(--heading); font-weight: 400; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote__who b { display: block; }
.quote__who span { color: var(--muted); font-size: .92rem; }
.quote__logo { width: 64px; height: 40px; object-fit: contain; flex: none; }
.quote__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__mission { font-size: .85rem; font-weight: 600; }
.section--navy .quote { box-shadow: none; }

.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.letter { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
.letter__preview { aspect-ratio: 3 / 4; background: var(--tint); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.letter__preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.letter__preview svg { width: 64px; height: 64px; color: var(--accent); opacity: .5; }
.letter__body { padding: 18px 20px 22px; display: grid; gap: 6px; flex: 1; }
.letter__org { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.letter h3 { font-size: 1.12rem; font-weight: 600; margin: 0; line-height: 1.35; }
.letter p { margin: 0; color: var(--muted); font-size: .94rem; }
.letter__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .letter:hover { border-color: var(--navy-900); box-shadow: 0 12px 28px -18px rgba(13,28,58,.4); } }

/* ============ À propos : Notre histoire (frise) ============ */
.team-compo--4 { grid-template-columns: repeat(4, 1fr); }
.timeline { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--line, #e2e8f0); }
.timeline::after { background: linear-gradient(var(--accent), var(--cta)); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; padding-bottom: clamp(28px, 3.5vw, 44px); }
.timeline__item::before { content: ""; position: absolute; left: 50%; top: 22px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); z-index: 1; transition: background-color 400ms var(--ease-out), transform 400ms var(--ease-out); }
.timeline__item.is-in::before { background: var(--cta); transform: scale(1.15); }
.timeline__year { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; margin-top: 12px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; color: var(--navy-900, #152c55); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.timeline__card { grid-column: 2; grid-row: 1; background: #fff; border-top: 3px solid var(--cta); box-shadow: 0 10px 30px rgba(21, 44, 85, .08); padding: 20px 24px; }
.timeline__item:nth-child(even) .timeline__year { grid-column: 2; justify-self: start; }
.timeline__item:nth-child(even) .timeline__card { grid-column: 1; }
.timeline__card h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.35; color: var(--navy-900, #152c55); }
.timeline__card p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.timeline__fig { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line, #e2e8f0); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.timeline__fig strong { font-size: 1.6rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline__fig span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .team-compo--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .timeline::before, .timeline::after { left: 9px; }
  .timeline__item, .timeline__item:nth-child(even) { grid-template-columns: 1fr; padding-left: 40px; }
  .timeline__item::before { left: 9px; top: 6px; }
  .timeline__year, .timeline__item:nth-child(even) .timeline__year { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 10px; }
  .timeline__card, .timeline__item:nth-child(even) .timeline__card { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .timeline::after { transform: none; } .timeline__item::before { transition: none; } }
.fcard__session { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.fcard__session b { display: inline-block; min-width: 72px; font-weight: 600; color: var(--navy-900, #152c55); }
.field:has([aria-invalid="true"]) > .field__err, fieldset.field:has([aria-invalid="true"]) > .field__err { display: flex; }
.contact__map { margin: 24px 0 0; }
.contact__map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; background: #dfe7f1; }
.contact__map figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.contact__gps { font-size: .88rem; opacity: .8; font-variant-numeric: tabular-nums; }

/* ============ Recrutement ============ */
.jobs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cta); padding: 22px 24px; }
.job__main { min-width: 0; }
.job__tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.job h3 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.3; }
.job h3 a { color: var(--navy-900, #152c55); text-decoration: none; }
.job h3 a:hover { text-decoration: underline; }
.job p { margin: 0 0 10px; color: var(--muted); }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--ink-2); }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 16px; height: 16px; color: var(--accent); }
.jobs--closed .job { border-left-color: var(--line); opacity: .8; padding: 14px 20px; }
.jobs--closed h3 { font-size: 1.05rem; }
@media (max-width: 640px) { .job { flex-direction: column; align-items: flex-start; } }
.form__group { border-top: 1px solid var(--line) !important; padding-top: 20px !important; margin-top: 8px !important; }
.form__group > legend { font-weight: 700; font-size: 1.1rem; color: var(--navy-900, #152c55); padding: 0 0 4px; }

/* ============ À la une : bandeau ============ */
.alaune { background: var(--cta); color: var(--navy-900, #152c55); font-size: .95rem; }
.alaune--important { background: #fbbf24; }
.alaune__inner { display: flex; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.alaune__text { flex: 1; min-width: 200px; margin: 0; }
.alaune__text b { font-weight: 700; margin-right: 6px; }
.alaune__link { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.alaune__close { background: none; border: 0; color: inherit; width: 44px; height: 44px; margin: -10px -12px -10px 0; display: inline-grid; place-items: center; cursor: pointer; }
.alaune__close svg { width: 18px; height: 18px; }
.alaune[hidden] { display: none; }
.hcard--featured .hcard__label { background: var(--cta); color: var(--navy-900, #152c55); padding: 2px 8px; }
.values--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .values--4 { grid-template-columns: 1fr; } }
.team .team__network { grid-column: 1 / -1; }
.team__network .mono svg { width: 16px; height: 16px; vertical-align: -2px; }

/* ============ Logo animé ============
   Au chargement, les barres montent une à une ; ensuite l anneau tourne lentement
   et les barres respirent en vague toutes les 6 s (plus vite au survol). */
.logo-anim { overflow: visible; }
.logo-anim circle { transform-box: fill-box; transform-origin: center; animation: logo-spin 24s linear infinite; }
.logo-anim rect { transform-box: fill-box; transform-origin: 50% 100%;
  animation: logo-rise 700ms cubic-bezier(.23, 1, .32, 1) both, logo-wave 6s ease-in-out 1.4s infinite; }
.logo-anim rect:nth-of-type(2) { animation-delay: 90ms, 1.52s; }
.logo-anim rect:nth-of-type(3) { animation-delay: 180ms, 1.64s; }
.logo-anim rect:nth-of-type(4) { animation-delay: 270ms, 1.76s; }
a:hover > .logo-anim rect, a:focus-visible > .logo-anim rect { animation-duration: 700ms, 1.6s; }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes logo-rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes logo-wave { 0%, 70%, 100% { transform: scaleY(1); } 80% { transform: scaleY(.55); } 90% { transform: scaleY(1.08); } }
@media (prefers-reduced-motion: reduce) { .logo-anim circle, .logo-anim rect { animation: none; } }

/* Candidature : modification avec code, affichage du code */
.edit-box { border: 1px solid var(--line); background: var(--tint, #f3f6fa); margin: 0 0 24px; }
.edit-box > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--accent); list-style: none; min-height: 44px; }
.edit-box > summary::-webkit-details-marker { display: none; }
.edit-box > summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; }
.edit-box[open] > summary::before { content: "–"; }
.edit-box > form { padding: 0 18px 18px; }
.edit-banner { border-left: 4px solid var(--cta); background: #eef8fc; padding: 12px 16px; }
.code-box { border: 2px solid var(--accent); background: #fff; padding: 18px 20px; margin: 0 0 24px; }
.code-box p { margin: 0 0 8px; }
.code-box__code { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; letter-spacing: .12em; color: var(--navy-900, #152c55); user-select: all; }
