/* =====================================================================
   INK BROTHERS RDC — site multipage
   Mise en page inspirée de Stripe (typo légère, filets, aucune ombre,
   rayon de 4 px) et couleurs de la charte INK BROTHERS RDC :
   orange = marque et éléments clés, vert sarcelle = titres et contrepartie,
   gris anthracite = texte, crème = filets et bandes.
   ===================================================================== */

:root {
  color-scheme: light;

  /* Charte graphique */
  --orange: #fd7e01;
  --cream: #ffe494;
  --teal: #00746d;
  --anthracite: #575859;
  --gray: #8a8b8d;
  --cream-light: #fff6da;
  --green-light: #e3f1ef;
  --line: #e6e6e6;
  --white: #ffffff;

  /* Nuances dérivées pour la lisibilité (contraste AA sur blanc) */
  --orange-hover: #ff8d1f;
  --orange-deep: #e86f00;     /* grands chiffres orange */
  --orange-ink: #b85900;      /* petits textes orange */
  --teal-deep: #005c56;       /* survol des liens */
  --teal-night: #004f4a;      /* fonds du panneau technologie */
  --ink: #2e2f30;             /* texte sur orange, fonds sombres */
  --gray-text: #6e6f71;       /* texte secondaire */

  /* Typographie */
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Mise en page */
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --band-h: 3px;
  --nav-h: 68px;
  --top: calc(env(safe-area-inset-top, 0px) + var(--band-h) + var(--nav-h));
  --r: 4px;

  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--anthracite);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.55;
  letter-spacing: -.01em;
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--cream); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.page { overflow-x: hidden; overflow-x: clip; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r);
  background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }

.mono {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0;
  font-feature-settings: "tnum" on, "zero" on;
}

/* ---------------------------------------------------------------------
   Mise en page
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section); }

/* Filet crème avec amorce orange, comme les en-têtes de la charte */
.section--rule::before,
.section--rule::after {
  content: "";
  position: absolute; top: 0;
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.section--rule::before { right: max(var(--gutter), calc((100% - var(--max)) / 2)); height: 1px; background: var(--cream); }
.section--rule::after { width: 56px; height: 2px; background: var(--orange); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split__text { display: grid; gap: 40px; align-content: start; }

/* ---------------------------------------------------------------------
   Typographie
   --------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; line-height: 1.45;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); }
.eyebrow--light { color: var(--cream); }
.eyebrow--light::before { background: var(--orange); }

.h1, .h2 { font-weight: 340; color: var(--anthracite); text-wrap: balance; }
.h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.034em;
}
.h2 {
  font-size: clamp(32px, 1.6rem + 2.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.028em;
}
.h1 .muted, .h2 .muted { color: var(--teal); }

.h3 {
  font-size: clamp(20px, 1.05rem + .45vw, 26px);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--anthracite);
}

.lead {
  max-width: 34em;
  font-size: clamp(18px, 1rem + .3vw, 21px);
  line-height: 1.5;
  color: var(--anthracite);
  text-wrap: pretty;
}

.section-head { display: grid; gap: 20px; max-width: 780px; justify-items: start; }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }

.split-w { display: inline-block; }

/* ---------------------------------------------------------------------
   Boutons, liens, étiquettes
   --------------------------------------------------------------------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .3s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 52px; padding: 0 24px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--primary:active { background: var(--orange-deep); }

.btn--ghost { background: transparent; color: var(--teal); border-color: rgba(0, 116, 109, .35); }
.btn--ghost:hover { border-color: var(--teal); background: var(--green-light); }

.btn--tertiary { background: transparent; color: var(--teal); border-color: var(--line); }
.btn--tertiary:hover { border-color: rgba(0, 116, 109, .35); background: var(--cream-light); }

.btn--light { background: var(--white); color: var(--teal); }
.btn--light:hover { background: var(--cream-light); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.cta-pair { display: flex; flex-wrap: wrap; gap: 8px; }

/* Flèche : chevron qui devient flèche au survol */
.harrow {
  width: 10px; height: 10px; margin-left: 0; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; overflow: visible;
}
.harrow__line { opacity: 0; transition: opacity .18s var(--ease); }
.harrow__tip { transition: transform .18s var(--ease); }
a:hover .harrow__line, button:hover .harrow__line, a:focus-visible .harrow__line { opacity: 1; }
a:hover .harrow__tip, button:hover .harrow__tip, a:focus-visible .harrow__tip { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 15px; font-weight: 500;
  transition: color .2s var(--ease);
}
.link:hover { color: var(--teal-deep); }

.tag {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  border-radius: 9999px;
  background: var(--green-light); color: var(--teal);
  font-size: 12px; font-weight: 500; letter-spacing: 0;
}
.tag--orange { background: var(--cream-light); color: var(--orange-ink); }

.icon-box {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--cream); border-radius: var(--r);
  background: var(--cream-light); color: var(--orange-deep);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.icon-box .ico { width: 20px; height: 20px; }

/* Halo au pointeur (teinte, jamais d'ombre) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(253, 126, 1, .08), transparent 62%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

/* Bande tricolore de la charte : orange 55 %, crème 12 %, vert 33 % */
.band {
  height: var(--band-h);
  background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%);
}

/* ---------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav__bar {
  position: relative;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled .nav__bar,
.nav.is-open .nav__bar,
.nav.is-dd .nav__bar { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); }

.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo { flex: none; display: block; padding: 4px 0; }
.nav__logo img { height: 36px; width: auto; }

.nav__menu ul { display: flex; gap: 2px; }
.nav__trigger, .nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px;
  border-radius: var(--r);
  font-size: 14.5px; font-weight: 450; color: var(--anthracite);
  transition: color .2s var(--ease);
}
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { color: var(--teal); }
.nav__trigger.is-current, .nav__link[aria-current="page"] { color: var(--teal); }
.nav__trigger.is-current::after, .nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px;
  height: 2px; background: var(--orange);
}
.nav__chev {
  width: 10px; height: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav__burger { display: none; position: relative; width: 40px; height: 40px; margin-right: -8px; border-radius: var(--r); }
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--anthracite); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* Menu déroulant « morphing » */
.dropdown {
  position: absolute; left: 0;
  top: calc(env(safe-area-inset-top, 0px) + var(--band-h) + var(--nav-h) - 4px);
  perspective: 1400px;
  pointer-events: none;
}
.dropdown__pos { transform: translateX(var(--dd-x, 0px)); transition: transform .34s var(--ease); }
.dropdown__box {
  position: relative;
  width: var(--dd-w, 640px);
  height: var(--dd-h, 280px);
  opacity: 0;
  transform-origin: 50% -40px;
  transform: rotateX(-14deg) scale(.985);
  transition: opacity .22s var(--ease), transform .34s var(--ease), width .34s var(--ease), height .34s var(--ease);
}
.dropdown.is-open { pointer-events: auto; }
.dropdown.is-open .dropdown__box { opacity: 1; transform: none; }
.dropdown.is-instant .dropdown__box { transition-property: opacity, transform; }
.dropdown.is-instant .dropdown__pos,
.dropdown.is-instant .dropdown__arrow,
.dropdown.is-instant .dd { transition: none; }

.dropdown__bg { position: absolute; inset: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.dropdown__bg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%); }
.dropdown__arrow {
  position: absolute; top: -6px; left: var(--dd-arrow, 50%); z-index: 1;
  width: 12px; height: 12px;
  background: var(--orange);
  border-top-left-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
  transition: left .34s var(--ease);
}
.dropdown__content { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; }

.dd {
  position: absolute; top: 0; left: 0;
  display: flex; width: max-content;
  opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease), transform .34s var(--ease), visibility 0s linear .34s;
}
.dd[data-pos="left"] { transform: translateX(-72px); }
.dd[data-pos="right"] { transform: translateX(72px); }
.dd.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.dd__main { padding: 26px 24px 22px; }
.dd__label { margin-bottom: 12px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.dd__list { display: grid; grid-template-columns: repeat(2, 250px); gap: 2px 8px; }
.dd__list--one { grid-template-columns: 300px; }
.dd__list--rank { grid-auto-flow: column; grid-template-rows: repeat(5, auto); grid-template-columns: repeat(2, 262px); }
.dd__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 10px; margin-inline: -10px;
  border-radius: var(--r);
  transition: background-color .2s var(--ease);
}
.dd__item:hover { background: var(--cream-light); }
.dd__icon {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--cream); border-radius: var(--r);
  color: var(--orange-deep); background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.dd__item:hover .dd__icon { border-color: var(--orange); background: var(--white); }
.dd__icon .ico { width: 18px; height: 18px; }
.dd__title { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--anthracite); }
.dd__desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--gray-text); }
.dd__aside {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  width: 240px; padding: 26px 24px 22px;
  background: var(--green-light);
  border-left: 1px solid var(--line);
}
.dd__aside .dd__label { margin-bottom: 2px; color: var(--teal); }
.dd__aside-title { font-size: 17px; font-weight: 400; line-height: 1.3; letter-spacing: -.012em; color: var(--teal); margin-bottom: auto; padding-bottom: 12px; }
.dd__mini { display: grid; gap: 6px; margin-bottom: 8px; }
.dd__mini a { font-size: 14px; font-weight: 450; color: var(--anthracite); transition: color .2s var(--ease); }
.dd__mini a:hover { color: var(--teal); }

/* Choix de la langue */
html.i18n-wait .page { visibility: hidden; }
.nav__lang { gap: 6px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.nav__lang .ico { width: 16px; height: 16px; }
.dd__langs { display: grid; gap: 2px; width: 220px; }
.dd__langs a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-inline: -10px; border-radius: var(--r); font-size: 14px; color: var(--anthracite); transition: background-color .2s var(--ease); }
.dd__langs a:hover { background: var(--cream-light); }
.dd__langs b { display: grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border: 1px solid var(--cream); border-radius: var(--r); font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--orange-deep); }
.dd__langs a[aria-current] { font-weight: 500; }
.dd__langs a[aria-current] b { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mnav__langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.mnav__langs a { display: grid; place-items: center; height: 42px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; color: var(--anthracite); }
.mnav__langs a[aria-current] { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 500; }
:lang(zh) body { font-family: "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .h1, :lang(zh) .h2, :lang(zh) .h3, :lang(zh) .hero__title, :lang(zh) .lead { letter-spacing: 0; }

/* Menu mobile */
.mnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 49;
  top: var(--top);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s var(--ease-io), visibility 0s linear .55s;
}
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mnav__inner { display: grid; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); }
.mnav__group, .mnav__link { border-bottom: 1px solid var(--line); }
.mnav__group summary, .mnav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-size: 22px; font-weight: 350; letter-spacing: -.015em; color: var(--anthracite);
  cursor: pointer; list-style: none;
}
.mnav__link[aria-current="page"], .mnav__group.is-current summary { color: var(--teal); }
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group summary .ico { width: 20px; height: 20px; color: var(--orange); transition: transform .3s var(--ease); }
.mnav__group[open] summary .ico { transform: rotate(180deg); }
.mnav__group ul { display: grid; gap: 12px; padding: 0 0 20px; animation: fade-down .35s var(--ease); }
.mnav__group a { font-size: 16px; color: var(--gray-text); }
.mnav__ctas { display: grid; gap: 8px; margin-top: 28px; }
.mnav__contact { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--gray-text); }
.mnav.is-open .mnav__inner > * { animation: fade-down .6s var(--ease) backwards; }
.mnav.is-open .mnav__inner > *:nth-child(2) { animation-delay: .04s; }
.mnav.is-open .mnav__inner > *:nth-child(3) { animation-delay: .08s; }
.mnav.is-open .mnav__inner > *:nth-child(4) { animation-delay: .12s; }
.mnav.is-open .mnav__inner > *:nth-child(5) { animation-delay: .16s; }
.mnav.is-open .mnav__inner > *:nth-child(6) { animation-delay: .2s; }
.mnav.is-open .mnav__inner > *:nth-child(7) { animation-delay: .24s; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------------
   En-tête des pages intérieures
   --------------------------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--top) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__copy { display: grid; gap: 24px; justify-items: start; }
.page-hero__visual { position: relative; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-text); }
.crumbs a { color: var(--teal); font-weight: 450; }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs span[aria-hidden] { color: var(--orange); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.toc a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 9999px;
  font-size: 13.5px; font-weight: 450; color: var(--anthracite);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.toc a::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--orange); transform: rotate(45deg); }
.toc a:hover { border-color: var(--orange); background: var(--cream-light); color: var(--ink); }

/* Motif de triangles de la charte (pages intérieures) */
.tri-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tri-art svg { position: absolute; right: -6%; bottom: -12%; width: min(62vw, 760px); height: auto; overflow: visible; }
.tri-art .t-cream { fill: var(--cream); opacity: .35; }
.tri-art .t-orange { fill: var(--orange); }
.tri-art .t-teal { fill: var(--teal); }
.tri-art .t-line-o { fill: none; stroke: var(--orange); stroke-opacity: .55; stroke-width: 1.5; }
.tri-art .t-line-t { fill: none; stroke: var(--teal); stroke-opacity: .35; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .tri-art .float-a { animation: tri-float 14s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .tri-art .float-b { animation: tri-float 11s ease-in-out -4s infinite alternate-reverse; transform-box: fill-box; transform-origin: center; }
  .tri-art .float-c { animation: tri-float 17s ease-in-out -8s infinite alternate; transform-box: fill-box; transform-origin: center; }
  .tri-art .draw-in { stroke-dasharray: 1; animation: tri-draw 2.2s var(--ease-io) .3s backwards; }
}
@keyframes tri-float { to { transform: translate(-14px, -18px) rotate(-4deg); } }
@keyframes tri-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.page-hero--compact .contact__grid { align-items: start; }
.page-hero--compact .contact__text { gap: 32px; }

/* Bandeau d'appel à l'action (bas de page) */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
}
.cta-band .h2 { color: #fff; }
.cta-band .h2 .muted { color: var(--cream); }
.cta-band p { max-width: 36em; margin-top: 16px; color: rgba(255, 255, 255, .86); }
.cta-band .cta-pair { justify-content: flex-end; }
.cta-band > svg { position: absolute; z-index: -1; right: -40px; top: -60px; width: 380px; height: auto; opacity: .9; }
.cta-band .t-line-c { fill: none; stroke: var(--cream); stroke-opacity: .5; stroke-width: 1.5; }
.cta-band .t-fill-o { fill: var(--orange); opacity: .9; }
.cta-band .t-fill-c { fill: var(--cream); opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .cta-band .spin { animation: tri-float 12s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
}

/* ---------------------------------------------------------------------
   Accueil : hero
   --------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--top) + clamp(32px, 5vw, 72px));
  padding-bottom: clamp(64px, 8vw, 112px);
}

/* Grand triangle au dégradé animé (WebGL), comme le triangle du logo */
.hero__stage {
  position: absolute; z-index: -2;
  top: 0; right: 0; bottom: 0; width: 60%;
  clip-path: polygon(58% 3%, 118% 100%, 0 100%);
  background:
    radial-gradient(60% 50% at 60% 55%, rgba(253, 126, 1, .9), transparent 70%),
    linear-gradient(160deg, var(--cream), var(--orange));
}
.hero__canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__canvas.is-ready { opacity: 1; }

.hero__tri {
  position: absolute; z-index: -1; pointer-events: none;
  top: 0; right: 0; bottom: 0; width: 60%; height: 100%;
  overflow: visible;
}
.hero__tri .t-teal { fill: var(--teal); }
.hero__tri .t-cream { fill: var(--cream); opacity: .35; }
.hero__tri .t-line-o { fill: none; stroke: var(--orange); stroke-opacity: .55; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero__tri .t-line-t { fill: none; stroke: var(--teal); stroke-opacity: .4; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero__tri g { transition: transform 1.2s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .hero__tri .float-a { animation: tri-float 13s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .hero__tri .float-b { animation: tri-float 16s ease-in-out -5s infinite alternate-reverse; transform-box: fill-box; transform-origin: center; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__copy { display: grid; gap: 28px; justify-items: start; }

.announce {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--cream); border-radius: 9999px;
  background: rgba(255, 255, 255, .8);
  font-size: 14px; font-weight: 450; color: var(--anthracite);
  transition: border-color .2s var(--ease);
}
.announce:hover { border-color: var(--orange); }
.announce__tag { padding: 3px 10px; border-radius: 9999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 600; }
.announce .harrow { color: var(--teal); }
.announce::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 228, 148, .9), transparent);
  transform: skewX(-18deg);
  animation: shimmer 5.5s var(--ease-io) 2s infinite;
  pointer-events: none;
}
@keyframes shimmer { 0% { left: -40%; } 22%, 100% { left: 130%; } }

.hero__title {
  font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.75rem);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--anthracite);
}
.hero__title-visual, .hero__line { display: block; }
.hero__line .w { display: inline-block; }

.rotator { position: relative; display: grid; justify-content: start; color: var(--teal); padding-bottom: .12em; }
.rotator__item { grid-area: 1 / 1; justify-self: start; white-space: nowrap; }
.rotator__item:not(.is-active) { visibility: hidden; }
.js .rotator__item:not(.is-active) { visibility: visible; }
.rotator .ch { display: inline-block; transition: transform .8s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--i, 0) * 18ms); }
.js .rotator__item:not(.is-active) .ch { opacity: 0; transform: translateY(.55em); }
.js .rotator__item.is-leaving .ch { opacity: 0; transform: translateY(-.45em); transition-duration: .5s, .35s; }
.js .rotator__item.no-t .ch { transition: none; }
.rotator__line {
  position: absolute; left: 0; bottom: 0;
  width: var(--rw, 100%); height: max(3px, .055em);
  background: var(--orange); border-radius: 2px;
  transition: width .9s var(--ease);
}

.hero__lead { max-width: 33em; font-size: clamp(18px, 1rem + .3vw, 20px); line-height: 1.5; color: var(--anthracite); text-wrap: pretty; }

.ptabs { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 8px; }
.ptab { display: grid; gap: 10px; min-width: 112px; font-size: 14px; font-weight: 450; color: var(--gray-text); transition: color .3s var(--ease); }
.ptab:hover, .ptab.is-active { color: var(--teal); }
.ptab__bar { position: relative; display: block; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.ptab__bar i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.ptab.is-active .ptab__bar i { animation: ptab-fill var(--rot-ms, 5200ms) linear forwards; }
.ptabs.is-paused .ptab.is-active .ptab__bar i { animation: none; transform: scaleX(1); }
@keyframes ptab-fill { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  [data-intro] { animation: intro-up .9s var(--ease) backwards; }
  [data-intro="1"] { animation-delay: .05s; }
  [data-intro="3"] { animation-delay: .5s; }
  [data-intro="4"] { animation-delay: .62s; }
  [data-intro="5"] { animation-delay: .74s; }
  [data-intro="6"] { animation-delay: .35s; animation-duration: 1.3s; }
  .hero__line .w { animation: word-up 1s var(--ease) backwards; }
  .hero__line .w:nth-child(1) { animation-delay: .12s; }
  .hero__line .w:nth-child(2) { animation-delay: .2s; }
  .hero__line .w:nth-child(3) { animation-delay: .28s; }
  .nav__bar { animation: nav-in .8s var(--ease) backwards; }
}
@keyframes intro-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes word-up { from { opacity: 0; transform: translateY(.5em); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-100%); } }

/* ---------------------------------------------------------------------
   Carrousel
   --------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__frame {
  position: absolute; inset: 20px -20px -20px 20px;
  border: 1.5px solid rgba(253, 126, 1, .55); border-radius: 6px;
  pointer-events: none;
}
.carousel__viewport {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 17;
  border-radius: 6px;
  background: var(--ink);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
  outline-offset: 4px;
}
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track { position: absolute; inset: 0; transform-origin: 50% 50%; }
.slide { position: absolute; inset: 0; margin: 0; overflow: hidden; }
html:not(.js) .slide + .slide { display: none; }
.slide__media { position: absolute; top: -2%; bottom: -2%; left: -14%; right: -14%; }
.slide__img {
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none; pointer-events: none;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide__img { animation: kenburns 9s var(--ease) both; }
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 47, 48, .28) 0%, transparent 26%, transparent 52%, rgba(46, 47, 48, .62) 100%);
}
.slide__cap {
  position: absolute; z-index: 1; left: 16px; bottom: 16px;
  display: grid; gap: 6px; justify-items: start;
  width: min(80%, 340px);
  padding: 14px 16px 14px;
  background: var(--white); border-radius: var(--r);
  border-top: 3px solid var(--orange);
}
.slide__label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.slide__title { font-size: 17px; font-weight: 400; line-height: 1.3; letter-spacing: -.015em; color: var(--anthracite); }
.slide__link { font-size: 13.5px; }

.carousel__bar {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 5px 5px 5px 12px;
  background: rgba(255, 255, 255, .95); border-radius: var(--r);
}
.carousel__count { font-size: 12px; color: var(--anthracite); }
.carousel__count b { font-weight: 500; color: var(--orange-deep); }
.carousel__progress { position: relative; width: 52px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.carousel__progress i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.carousel.is-playing .carousel__progress i { animation: ptab-fill var(--rot-ms, 5200ms) linear forwards; }
.carousel__btn {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line); border-radius: 3px;
  color: var(--teal);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.carousel__btn:hover { border-color: var(--orange); background: var(--cream-light); }
.carousel__btn .ico { width: 16px; height: 16px; }

.carousel__drag {
  position: absolute; z-index: 3; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 9999px;
  background: var(--orange); color: var(--ink);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
  will-change: transform;
}
.carousel__viewport.is-hover .carousel__drag { opacity: 1; }
.carousel__drag .ico { width: 14px; height: 14px; stroke-width: 2; }


/* ---------------------------------------------------------------------
   Hero plein écran (accueil) : carrousel en fond, textes superposés
   --------------------------------------------------------------------- */
.hero--full {
  display: grid;
  min-height: 100vh; min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero--full .hero__grid {
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--top) + 40px);
  padding-bottom: 140px;
  pointer-events: none;
}
.hero--full .hero__copy { position: relative; z-index: 2; max-width: 660px; gap: 26px; will-change: transform; }
.hero--full .hero__copy a, .hero--full .hero__copy button { pointer-events: auto; }
.hero--full .hero__visual { position: absolute; inset: 0; width: auto; max-width: none; justify-self: stretch; align-self: stretch; pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero--full .hero__visual { animation: hero-fade 1.4s var(--ease) backwards; }
}
@keyframes hero-fade { from { opacity: 0; } }

.hero--full .hero__title { color: #fff; }
.hero--full .rotator { color: var(--cream); }
.hero--full .announce {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 228, 148, .4); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero--full .announce:hover { border-color: var(--orange); }
.hero--full .announce .harrow { color: var(--cream); }
.hero--full .ptab { color: rgba(255, 255, 255, .72); }
.hero--full .ptab:hover, .hero--full .ptab.is-active { color: #fff; }
.hero--full .ptab__bar { background: rgba(255, 255, 255, .22); }
.hero--full :focus-visible { outline-color: var(--cream); }

.carousel--full { position: absolute; inset: 0; }
.carousel--full .carousel__viewport { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.carousel--full .slide::after { display: none; }
.slide__zoom { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.slide__zoom picture { position: absolute; inset: 0; display: block; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 56, 52, .92) 0%, rgba(0, 56, 52, .76) 32%, rgba(0, 56, 52, .3) 55%, rgba(0, 56, 52, 0) 70%);
}
.carousel--full .carousel__bar { z-index: 3; top: auto; bottom: 32px; right: var(--gutter); }
.carousel--full .slide__cap { left: auto; right: var(--gutter); bottom: 92px; }
.carousel--full .carousel__drag { z-index: 4; }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 26px;
  display: grid; justify-items: center; gap: 10px;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i { position: relative; width: 1.5px; height: 40px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll i::after { animation: scroll-cue 1.8s var(--ease-io) infinite; }
}
@keyframes scroll-cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Hero plein écran des pages intérieures (L'agence) : fil d'Ariane et titre sur la photo */
.hero--full .crumbs { color: rgba(255, 255, 255, .72); }
.hero--full .crumbs a { color: var(--cream); }
.hero--full .crumbs a:hover { color: #fff; }
.hero__accent { display: block; }
.hero--full .hero__accent { color: var(--cream); }
.hero--full .hero__lead { color: rgba(255, 255, 255, .9); }
.hero--page .hero__copy { max-width: 720px; }
.hero--page .hero__title { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.25rem); }
@media (max-width: 640px) {
  /* Sur téléphone, la photo garde environ 80 % de l'écran */
  .hero--page .hero__lead { display: none; }
}

@media (max-width: 1100px) {
  .carousel--full .slide__cap { display: none; }
}
@media (max-width: 760px) {
  .hero--full .hero__grid { align-items: flex-end; padding-top: calc(var(--top) + 24px); padding-bottom: 92px; }
  .hero__shade { background: linear-gradient(0deg, rgba(0, 56, 52, .94) 0%, rgba(0, 56, 52, .8) 42%, rgba(0, 56, 52, .34) 72%, rgba(0, 56, 52, .14) 100%); }
  .carousel--full .carousel__bar { bottom: 20px; right: 16px; }
  .hero__scroll { display: none; }
}

/* ---------------------------------------------------------------------
   Domaines d'expertise + choix du public
   --------------------------------------------------------------------- */
.domains .container { display: grid; gap: clamp(40px, 5vw, 64px); }
.domains__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }

.aud {
  position: relative;
  display: inline-flex; flex-wrap: wrap; gap: 2px;
  padding: 4px;
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--white);
}
.aud__pill {
  position: absolute; top: 0; left: 0;
  width: var(--pill-w, 0px); height: var(--pill-h, 0px);
  transform: translate(var(--pill-x, 0px), var(--pill-y, 0px));
  border-radius: 9999px;
  background: var(--orange);
  opacity: 0;
  transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .3s;
}
.aud.has-pill .aud__pill { opacity: 1; }
.aud__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: 9999px;
  font-size: 14px; font-weight: 500; color: var(--anthracite);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.aud__btn .ico { width: 18px; height: 18px; }
.aud__btn:hover { color: var(--teal); }
.aud__btn.is-active { color: var(--ink); background: var(--orange); }
.aud.has-pill .aud__btn.is-active { background: transparent; }

.aud-text { display: grid; }
.aud-text > [data-aud-text] {
  grid-area: 1 / 1;
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
[data-aud-text="institutions"] { opacity: 0; visibility: hidden; transform: translateY(12px); }
html[data-aud="institutions"] [data-aud-text="institutions"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html[data-aud="institutions"] [data-aud-text="mines"] { opacity: 0; visibility: hidden; transform: translateY(-12px); }

.domains__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.domains__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .domains__grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1240px) { .nav__ghost { display: none; } }
.domain {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white);
  transition: border-color .3s var(--ease);
}
.domain:hover { border-color: var(--cream); }
.domain:hover .icon-box { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.domain__top { display: flex; align-items: center; justify-content: space-between; }
.domain__num { font-size: 13px; color: var(--orange-deep); }
.domain__title { font-size: clamp(21px, 1.1rem + .5vw, 27px); font-weight: 350; line-height: 1.15; letter-spacing: -.015em; color: var(--teal); }
.domain__text { font-size: 16px; line-height: 1.55; color: var(--anthracite); max-width: 38em; }
.domain__aud { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-text); }
.domain__aud::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--teal); transform: rotate(45deg); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--orange); }
.stat:nth-child(even) { border-top-color: var(--teal); }
.stat__num { font-size: clamp(44px, 2rem + 2.2vw, 64px); font-weight: 350; line-height: 1; letter-spacing: -.035em; color: var(--orange-deep); }
.stat:nth-child(even) .stat__num { color: var(--teal); }
.stat__label { font-size: 15px; color: var(--anthracite); max-width: 17em; }

/* ---------------------------------------------------------------------
   Listes de services
   --------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.service { display: flex; gap: 16px; align-items: flex-start; }
.service:hover .icon-box { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.service__title { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--anthracite); }
.service__desc { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--gray-text); }

.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--orange); transform: rotate(45deg);
}

/* ---------------------------------------------------------------------
   Pages intérieures : blocs par domaine, publics côte à côte
   --------------------------------------------------------------------- */
.aud-bar {
  position: sticky; z-index: 20; top: var(--top);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.aud-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 10px; }
.aud-bar__label { font-size: 14px; color: var(--gray-text); }
.aud-bar .aud { border-color: var(--line); }
.aud-bar .aud__btn { height: 34px; font-size: 13.5px; }

.detail .container { display: grid; gap: clamp(32px, 4vw, 56px); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail__grid--flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.detail__grid--flip > :first-child { order: 2; }
.aud-cols { display: grid; gap: 12px; }
.aud-col {
  display: grid; gap: 14px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: var(--r);
  background: var(--white);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease);
}
.aud-col__label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-text); }
.aud-col__label .ico { width: 20px; height: 20px; color: var(--teal); }
html:not([data-aud="institutions"]) .aud-col[data-aud-col="mines"],
html[data-aud="institutions"] .aud-col[data-aud-col="institutions"] { background: var(--cream-light); border-color: var(--cream); border-top-color: var(--orange); }
html:not([data-aud="institutions"]) .aud-col[data-aud-col="mines"] .aud-col__label,
html[data-aud="institutions"] .aud-col[data-aud-col="institutions"] .aud-col__label { color: var(--orange-ink); }
html:not([data-aud="institutions"]) .aud-col[data-aud-col="institutions"],
html[data-aud="institutions"] .aud-col[data-aud-col="mines"] { opacity: .62; }

.deliverables { display: flex; flex-wrap: wrap; gap: 8px; }
.deliverables li {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 9999px;
  font-size: 13.5px; font-weight: 450; color: var(--anthracite);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.deliverables li:hover { border-color: var(--orange); background: var(--cream-light); }
.deliverables .ico { width: 16px; height: 16px; color: var(--orange-deep); }

.photo {
  position: relative; overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: 3px;
  background: var(--white); color: var(--anthracite);
  font-size: 12.5px; font-weight: 450;
  border-left: 3px solid var(--orange);
}
.photo-pair { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.photo-pair .photo { aspect-ratio: 4 / 5; }
.photo-pair .photo:last-child { margin-top: 48px; }

/* ---------------------------------------------------------------------
   Planche de création (communication)
   --------------------------------------------------------------------- */
.board { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 12px; }
.tile {
  display: grid; gap: 12px; align-content: start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 6px;
}
.tile__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: var(--gray-text); }
.tile__bar b { font-weight: 600; color: var(--anthracite); }
.tile__bar .mono, .tile__bar .chip-up { flex: none; white-space: nowrap; }
.tile--print { grid-row: span 2; background: var(--cream-light); border-color: var(--cream); }

.printer { position: relative; display: grid; place-items: center; padding: 14px 0 6px; }
.paper {
  position: relative; width: 74%; aspect-ratio: 1 / 1.414;
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  container-type: inline-size; overflow: hidden;
}
.paper__content { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: start; gap: 3cqw; padding: 7cqw; }
.paper__band { height: 1.8cqw; background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%); }
.paper__art { position: relative; height: 56cqw; overflow: hidden; background: var(--cream-light); }
.paper__art i { position: absolute; width: 0; height: 0; border-left: 26cqw solid transparent; border-right: 26cqw solid transparent; }
.paper__art i:nth-child(1) { left: 6cqw; bottom: 0; border-bottom: 44cqw solid var(--orange); }
.paper__art i:nth-child(2) { left: 34cqw; bottom: 0; border-left-width: 18cqw; border-right-width: 18cqw; border-bottom: 30cqw solid var(--teal); }
.paper__art i:nth-child(3) { left: 44cqw; top: 6cqw; border-left-width: 9cqw; border-right-width: 9cqw; border-bottom: 15cqw solid var(--cream); }
.paper__kicker { font-size: 4.2cqw; letter-spacing: .12em; color: var(--orange-ink); }
.paper__title { font-size: 11.5cqw; font-weight: 600; line-height: .95; letter-spacing: -.045em; color: var(--teal); }
.paper__text { font-size: 5cqw; color: var(--anthracite); }
.paper__foot { display: flex; align-items: flex-end; justify-content: space-between; font-size: 4cqw; font-weight: 600; letter-spacing: .1em; color: var(--anthracite); }
.paper__qr { width: 13cqw; height: 13cqw; background: repeating-conic-gradient(var(--anthracite) 0 25%, transparent 0 50%) 0 0 / 3.25cqw 3.25cqw; outline: 1.2cqw solid var(--anthracite); outline-offset: -1.2cqw; }
.printhead { position: absolute; left: 10%; right: 10%; top: 14px; height: 10px; background: var(--anthracite); border-radius: 2px; opacity: 0; }
.printhead::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -2px; height: 2px; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .paper__content { animation: print-reveal 7s var(--ease-io) infinite; }
  .printhead { animation: print-head 7s var(--ease-io) infinite; }
  .paper { animation: print-eject 7s var(--ease-io) infinite; }
}
@keyframes print-reveal { 0%, 6% { clip-path: inset(0 0 100% 0); } 62%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes print-head {
  0% { opacity: 0; transform: translateY(0); }
  6% { opacity: 1; transform: translateY(0); }
  62% { opacity: 1; transform: translateY(var(--travel, 300px)); }
  70%, 100% { opacity: 0; transform: translateY(var(--travel, 300px)); }
}
@keyframes print-eject { 0%, 86% { transform: none; opacity: 1; } 96% { transform: translateY(-14px); opacity: 0; } 100% { transform: none; opacity: 0; } }

.inks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 10.5px; color: var(--gray-text); }
.inks span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; }
.inks em { font-style: normal; }
.inks b { position: relative; height: 4px; border-radius: 2px; background: var(--white); overflow: hidden; }
.inks i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--l, 1)); transition: transform 1s var(--ease); }

.palette { display: flex; align-items: flex-end; gap: 5px; height: 104px; }
.palette span {
  flex: 1; display: flex; align-items: flex-end;
  height: calc(var(--h) * 100%);
  padding: 5px 3px;
  border: 1px solid rgba(46, 47, 48, .06); border-radius: 2px;
  background: var(--c); transform-origin: 50% 100%;
}
.palette em { font-style: normal; font-family: var(--mono); font-size: 7.5px; color: var(--t, var(--ink)); writing-mode: vertical-rl; transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .palette span { animation: breathe 5.2s var(--ease-io) infinite; }
  .palette span:nth-child(2) { animation-delay: .15s; } .palette span:nth-child(3) { animation-delay: .3s; }
  .palette span:nth-child(4) { animation-delay: .45s; } .palette span:nth-child(5) { animation-delay: .6s; }
  .palette span:nth-child(6) { animation-delay: .75s; } .palette span:nth-child(7) { animation-delay: .9s; }
}
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }

.tile--type { align-content: space-between; }
.type-aa { font-family: "Poppins", var(--font); font-size: 60px; line-height: .9; letter-spacing: -.03em; font-weight: 600; color: var(--teal); }
.type-name { font-size: 11px; color: var(--gray-text); }
.type-weights { display: flex; gap: 10px; font-size: 13px; color: var(--anthracite); }
.type-weights span:nth-child(2) { font-weight: 500; } .type-weights span:nth-child(3) { font-weight: 600; }

.post__head { display: flex; align-items: center; gap: 10px; }
.post__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r); background: var(--teal); color: #fff; font-size: 11px; font-weight: 600; }
.post__name { font-size: 13px; font-weight: 500; color: var(--anthracite); }
.post__meta { font-size: 11px; color: var(--gray-text); }
.post__media { position: relative; height: 112px; border-radius: 3px; overflow: hidden; background: var(--ink); }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__caption { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 2px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 600; }
.post__actions { display: flex; gap: 16px; font-size: 12px; color: var(--anthracite); }
.post__actions span { display: inline-flex; align-items: center; gap: 6px; }
.post__actions .ico { width: 16px; height: 16px; }
.post__actions b { font-weight: 450; }
.post__like .ico { transition: fill .3s var(--ease), color .3s var(--ease); }
.post__like.is-pop .ico { fill: var(--orange); color: var(--orange); animation: pop .45s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.chip-up { padding: 2px 8px; border-radius: 9999px; background: var(--green-light); color: var(--teal); font-size: 11px; font-weight: 600; }
.bars { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 104px; padding-bottom: 18px; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--line); }
.bars span { position: relative; height: 100%; display: grid; align-items: end; }
.bars i { display: block; height: 100%; background: var(--cream); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; transform: scaleY(var(--v, .5)); transition: transform 1.1s var(--ease), background-color .5s var(--ease); }
.bars span.is-max i { background: var(--orange); }
.bars em { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--gray-text); }

/* ---------------------------------------------------------------------
   Panneau Technologie (vert sarcelle) et console de supervision
   --------------------------------------------------------------------- */
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 6px;
  background-color: var(--teal);
  background-image: radial-gradient(rgba(255, 228, 148, .14) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
}
.panel__glow {
  position: absolute; z-index: -1; width: 70%; height: 90%; right: -18%; top: -30%;
  background: radial-gradient(closest-side, rgba(253, 126, 1, .38), rgba(253, 126, 1, 0));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .panel__glow { animation: drift 14s ease-in-out infinite alternate; } }
@keyframes drift { to { transform: translate(-30%, 25%) scale(1.15); } }
.panel__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.panel .h2 { color: #fff; }
.panel .h2 .muted { color: var(--cream); }
.panel .lead { color: rgba(255, 255, 255, .88); }
.panel .service__title { color: #fff; }
.panel .service__desc { color: rgba(255, 255, 255, .78); }
.panel .icon-box { background: rgba(255, 255, 255, .08); border-color: rgba(255, 228, 148, .35); color: var(--cream); }
.panel .service:hover .icon-box { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.panel .link { color: var(--cream); }
.panel .link:hover { color: #fff; }

.console { display: grid; overflow: hidden; border-radius: 6px; background: var(--ink); }
.console__bar {
  display: flex; align-items: center; gap: 12px;
  height: 38px; padding: 0 12px;
  color: #c9ccce;
  font-size: 11.5px;
}
.console__bar .dots { display: inline-flex; gap: 5px; }
.console__bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--cream); }
.console__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: blink 1.4s var(--ease-io) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.console__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; padding: 10px; background: #232425; }

.feed { position: relative; overflow: hidden; aspect-ratio: 4 / 4.2; border-radius: 3px; background: #111; }
.feed__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.feed::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
}
.feed__scan {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 228, 148, .16), transparent);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .feed__scan { animation: scan 3.6s linear infinite; } }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(560%); } }
.feed__hud { position: absolute; inset: 8px; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; font-size: 10px; color: #fff; }
.feed__hud-row { display: flex; justify-content: space-between; gap: 8px; }
.feed__hud-row span { padding: 2px 6px; border-radius: 2px; background: rgba(46, 47, 48, .72); }
.feed__rec { display: inline-flex; align-items: center; gap: 5px; }
.feed__rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 1.2s var(--ease-io) infinite; }

.det {
  position: absolute; z-index: 4;
  border: 1.5px solid var(--cream);
  border-radius: 2px;
  transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.det--key { border-color: var(--orange); }
.det span {
  position: absolute; left: -1.5px; bottom: 100%;
  padding: 2px 6px; margin-bottom: 3px;
  border-radius: 2px;
  background: var(--cream); color: var(--ink);
  font-family: var(--mono); font-size: 9.5px; white-space: nowrap;
}
.det--key span { background: var(--orange); }
.det--below span { bottom: auto; top: 100%; margin: 3px 0 0; }
.det--in span { bottom: auto; top: 3px; left: 3px; margin: 0; }
.det--right span { left: calc(100% + 4px); bottom: auto; top: 50%; margin: 0; transform: translateY(-50%); }
.det--tr span { left: auto; right: 3px; bottom: auto; top: 3px; margin: 0; }
.js .det:not(.is-on) { opacity: 0; transform: scale(1.18); }

.feed__verdict {
  position: absolute; z-index: 5; left: 50%; bottom: 34px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 3px;
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.feed__verdict .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.js .feed__verdict:not(.is-on) { opacity: 0; transform: translate(-50%, 10px); }

.events { display: grid; align-content: start; gap: 6px; min-width: 0; overflow: hidden; }
.events__title { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #9fa3a6; padding: 2px 2px 4px; }
.event {
  display: grid; gap: 3px;
  padding: 8px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .05);
  border-left: 2px solid var(--cream);
  font-size: 11.5px; line-height: 1.35; color: #e8e9ea;
  animation: event-in .6s var(--ease) backwards;
}
.event--alert { border-left-color: var(--orange); }
.event--ok { border-left-color: #6fc7bf; }
.event time { font-family: var(--mono); font-size: 10px; color: #9fa3a6; }
.event b { font-weight: 600; color: #fff; }
@keyframes event-in { from { opacity: 0; transform: translateY(-10px); } }

.console__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
.cstat { padding: 10px 12px; border-radius: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 228, 148, .18); }
.cstat p { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cstat strong { display: block; margin-top: 4px; font-family: var(--mono); font-size: 18px; font-weight: 400; color: #fff; }

/* Réseau multisite (SVG) */
.netmap { width: 100%; height: auto; overflow: visible; }
.netmap .link-line { fill: none; stroke: var(--teal); stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 4 5; }
@media (prefers-reduced-motion: no-preference) { .netmap .link-line { animation: dash 1.6s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
.netmap .node rect { fill: var(--white); stroke: var(--teal); stroke-width: 1.5; }
.netmap .node--hq rect { fill: var(--orange); stroke: var(--orange); }
.netmap .node text { font-family: var(--mono); font-size: 11px; fill: var(--anthracite); text-anchor: middle; }
.netmap .node .sub { font-size: 9.5px; fill: var(--gray-text); }
.netmap .packet { fill: var(--orange); }
.netmap .zone { fill: var(--green-light); stroke: none; }

/* Maintenance prédictive (graphique en direct) */
.pm { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.pm__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 500; color: var(--anthracite); }
.pm__svg { width: 100%; height: 160px; overflow: visible; }
.pm__grid line { stroke: var(--line); stroke-width: 1; }
.pm__threshold { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 5 5; }
.pm__line { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pm__area { fill: rgba(0, 116, 109, .08); }
.pm__alert { fill: var(--orange); }
.pm__label { font-family: var(--mono); font-size: 10px; fill: var(--gray-text); }
.pm__status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 9999px; background: var(--green-light); color: var(--teal); font-size: 12px; font-weight: 600; transition: background-color .4s var(--ease), color .4s var(--ease); }
.pm__status.is-alert { background: var(--cream-light); color: var(--orange-ink); }
.pm__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------------------------------------------------------------------
   Formation
   --------------------------------------------------------------------- */

.cert-wrap { display: grid; place-items: center; container-type: inline-size; }
.cert {
  --cw: min(100cqw, 540px);
  position: relative;
  width: var(--cw); aspect-ratio: 1.414 / 1;
  display: grid; grid-template-rows: auto auto auto auto 1fr; gap: calc(var(--cw) * .024);
  padding: calc(var(--cw) * .075) calc(var(--cw) * .08) calc(var(--cw) * .065);
  container-type: inline-size;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  transform: rotate(-1.5deg);
  transition: transform .8s var(--ease);
}
.cert:hover { transform: rotate(0deg) translateY(-6px); }
.cert::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.2cqw; background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%); }
@property --cfx { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --cfy { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.cert__frame {
  position: absolute; inset: 3.4cqw; pointer-events: none;
  background:
    linear-gradient(var(--cream), var(--cream)) left top / var(--cfx) 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) right top / 1px var(--cfy) no-repeat,
    linear-gradient(var(--cream), var(--cream)) right bottom / var(--cfx) 1px no-repeat,
    linear-gradient(var(--cream), var(--cream)) left bottom / 1px var(--cfy) no-repeat;
}
.cert__head { display: flex; align-items: center; gap: 2cqw; }
.cert__icon { width: 5.4cqw; }
.cert__org { font-size: 2.3cqw; font-weight: 600; letter-spacing: .14em; color: var(--anthracite); }
.cert__ref { margin-left: auto; font-size: 1.9cqw; color: var(--gray-text); }
.cert__kicker { margin-top: 3cqw; font-size: 2.3cqw; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-ink); }
.cert__name { justify-self: start; padding-bottom: 1cqw; padding-right: 4cqw; border-bottom: 1px solid var(--cream); font-size: 7.4cqw; font-weight: 340; letter-spacing: -.035em; line-height: 1.05; color: var(--teal); }
.cert__text { font-size: 2.5cqw; line-height: 1.5; color: var(--anthracite); }
.cert__text strong { font-weight: 600; }
.cert__foot { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 5cqw; }
.cert__label { display: block; font-size: 1.9cqw; color: var(--gray-text); }
.cert__date .mono { font-size: 2.3cqw; }
.cert__sign { display: grid; justify-items: center; gap: .6cqw; }
.cert__sign svg { width: 24cqw; height: auto; overflow: visible; }
.cert__sig { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.cert__seal { display: grid; place-items: center; width: 12cqw; height: 12cqw; border: 1.5px dashed var(--orange); border-radius: 50%; transform: rotate(-10deg); }
.cert__seal img { width: 6.4cqw; }
@media (prefers-reduced-motion: no-preference) {
  .cert.is-play .cert__frame { animation: frame-draw 1.1s var(--ease-io) backwards; }
  .cert.is-play .cert__head { animation: intro-up .7s var(--ease) .15s backwards; }
  .cert.is-play .cert__kicker { animation: intro-up .7s var(--ease) .3s backwards; }
  .cert.is-play .cert__name { animation: name-in 1s var(--ease-io) .45s backwards; }
  .cert.is-play .cert__text { animation: intro-up .7s var(--ease) .8s backwards; }
  .cert.is-play .cert__date { animation: intro-up .7s var(--ease) 1s backwards; }
  .cert.is-play .cert__sig { animation: sig-draw 1.3s var(--ease-io) 1.15s backwards; }
  .cert.is-play .cert__seal { animation: stamp .7s var(--spring) 2.3s backwards; }
}
@keyframes frame-draw { from { --cfx: 0%; --cfy: 0%; } }
@keyframes name-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sig-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(1.7); } }

.catalog { display: grid; gap: 20px; }
.catalog__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.catalog__count { font-size: 12px; color: var(--gray-text); }
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.filters__pill {
  position: absolute; top: 0; left: 0;
  width: var(--pill-w, 0px); height: var(--pill-h, 0px);
  transform: translate(var(--pill-x, 0px), var(--pill-y, 0px));
  border-radius: 9999px; background: var(--orange);
  opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s;
}
.filters.has-pill .filters__pill { opacity: 1; }
.filter { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 9999px; font-size: 14px; font-weight: 500; color: var(--anthracite); transition: color .3s var(--ease), background-color .3s var(--ease); }
.filter:hover { color: var(--teal); }
.filter.is-active { color: var(--ink); background: var(--orange); }
.filters.has-pill .filter.is-active { background: transparent; }

.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.course__link {
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.course__link:hover { border-color: var(--orange); }
.course__title { font-size: 19px; font-weight: 400; line-height: 1.25; letter-spacing: -.015em; color: var(--anthracite); text-wrap: balance; }
.course__meta { font-size: 12px; color: var(--gray-text); }
.course__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--teal); }

/* Catalogue par domaines de compétences : en-tête numéroté et cartes illustrées */
.catalog__head { align-items: flex-end; }
.cgroups { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: 8px; }
.cgroup { display: grid; gap: 20px; }
.cgroup__head {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 6px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cream);
}
.cgroup__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--orange); }
.cgroup__num { font-size: clamp(52px, 2rem + 3vw, 84px); font-weight: 300; line-height: .82; letter-spacing: -.05em; color: var(--orange-deep); }
.cgroup:nth-child(even) .cgroup__num { color: var(--teal); }
.cgroup__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.cgroup__title { margin-top: 6px; font-size: clamp(22px, 1.1rem + .8vw, 30px); font-weight: 350; line-height: 1.15; letter-spacing: -.02em; color: var(--teal); text-wrap: balance; }
.cgroup__count { padding-bottom: 4px; font-size: 12px; color: var(--gray-text); white-space: nowrap; }

.cgroup .course__link { padding: 0; gap: 0; }
.course__media {
  position: relative; display: block; flex: none;
  width: 100%; height: clamp(180px, 15vw, 230px);
  overflow: hidden; background: var(--ink);
}
.course__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease); -webkit-user-drag: none; }
.course__link:hover .course__media img { transform: scale(1.1); }
.course__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 40, 37, .3), rgba(0, 40, 37, 0) 45%); }
.course__num {
  position: absolute; z-index: 1; left: 12px; top: 12px;
  padding: 3px 8px; border-radius: 3px;
  background: rgba(255, 255, 255, .94); color: var(--orange-ink);
  font-size: 11.5px;
}
.course__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; width: 100%; padding: 18px 20px 20px; }

/* La dernière carte d'une rangée incomplète s'élargit (image à gauche, texte à droite) */
@media (min-width: 981px) {
  .cgroup .course:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .cgroup .course:last-child:nth-child(3n+2) { grid-column: span 2; }
  .cgroup .course:last-child:nth-child(3n+1) .course__link,
  .cgroup .course:last-child:nth-child(3n+2) .course__link { flex-direction: row; align-items: stretch; }
  .cgroup .course:last-child:nth-child(3n+1) .course__media { width: 64%; height: auto; min-height: 260px; }
  .cgroup .course:last-child:nth-child(3n+2) .course__media { width: 52%; height: auto; min-height: 240px; }
  .cgroup .course:last-child:nth-child(3n+1) .course__body,
  .cgroup .course:last-child:nth-child(3n+2) .course__body { justify-content: center; padding: 28px; }
  .cgroup .course:last-child:nth-child(3n+1) .course__cta,
  .cgroup .course:last-child:nth-child(3n+2) .course__cta { margin-top: 0; }
  .cgroup .course:last-child:nth-child(3n+1) .course__title { font-size: 24px; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .cgroup .course:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cgroup .course:last-child:nth-child(odd) .course__link { flex-direction: row; align-items: stretch; }
  .cgroup .course:last-child:nth-child(odd) .course__media { width: 52%; height: auto; min-height: 220px; }
  .cgroup .course:last-child:nth-child(odd) .course__body { justify-content: center; padding: 24px; }
  .cgroup .course:last-child:nth-child(odd) .course__cta { margin-top: 0; }
}
@media (max-width: 640px) {
  .cgroup__head { grid-template-columns: auto minmax(0, 1fr); }
  .cgroup__count { grid-column: 2; padding-bottom: 0; }
}

/* ---------------------------------------------------------------------
   L'agence : valeurs, méthode, présence, identité légale
   --------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.value { display: grid; gap: 12px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.value__num { font-family: var(--mono); font-size: 13px; color: var(--orange-deep); }
.value__title { font-size: 21px; font-weight: 400; letter-spacing: -.015em; color: var(--teal); }
.value p { color: var(--anthracite); font-size: 15.5px; }

.method__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(24px, 4vw, 56px); }
.steps { position: relative; padding-left: 32px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 4px; top: 12px; width: 2px; }
.steps::before { bottom: 12px; background: var(--line); }
.steps::after { height: calc((100% - 24px) * var(--sp, 0)); background: var(--orange); }
.step { position: relative; min-height: 46vh; display: grid; align-content: center; gap: 12px; padding-block: 24px; color: var(--gray); transition: color .5s var(--ease); }
.step::before {
  content: ""; position: absolute; left: -32px; top: 50%;
  width: 10px; height: 10px;
  background: var(--white); border: 2px solid var(--cream); border-radius: 2px;
  transform: translate(0, -50%) rotate(45deg);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--spring);
}
.step.is-active { color: var(--anthracite); }
.step.is-active::before { background: var(--orange); border-color: var(--orange); transform: translate(0, -50%) rotate(45deg) scale(1.25); }
.step__num { font-size: 12px; color: var(--orange-ink); }
.step .h3 { color: inherit; }
.step.is-active .h3 { color: var(--teal); }
.step__text { max-width: 30em; font-size: 17px; line-height: 1.55; }

.method__visual { position: sticky; top: calc(var(--top) + 48px); align-self: start; }
.doc { display: grid; gap: 18px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.doc__band { height: 3px; margin: -22px -22px 0; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%); }
.doc__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--cream); }
.doc__head img { width: 24px; }
.doc__org { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--anthracite); }
.doc__kind { font-size: 13px; color: var(--gray-text); }
.doc__ref { margin-left: auto; font-size: 11px; color: var(--orange-ink); }
.doc__stage { position: relative; min-height: 318px; }
.doc__state { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; }
.doc__state.is-active, html:not(.js) .doc__state[data-state="0"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.doc__title { margin-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--teal); }
.checks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; background: var(--teal); color: #fff; }
.box .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.notes { display: grid; gap: 8px; margin-top: 18px; }
.notes i { height: 6px; border-radius: 3px; background: var(--line); }
.notes i:nth-child(1) { width: 92%; } .notes i:nth-child(2) { width: 78%; } .notes i:nth-child(3) { width: 54%; }
.quote { width: 100%; font-size: 12.5px; }
.quote th { padding: 0 0 8px; text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-text); border-bottom: 1px solid var(--cream); }
.quote th:last-child, .quote td:last-child { text-align: right; }
.quote td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.quote__terms { margin-top: 14px; font-size: 13px; color: var(--anthracite); }
.stamp { position: absolute; right: 8px; bottom: 6px; padding: 5px 12px; border: 1.5px solid var(--teal); border-radius: 3px; color: var(--teal); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-8deg); }
.gantt { position: relative; }
.gantt__weeks { display: grid; grid-template-columns: repeat(6, 1fr); margin-left: 84px; padding-bottom: 8px; font-size: 10px; color: var(--gray-text); border-bottom: 1px solid var(--line); }
.gantt__row { position: relative; display: flex; align-items: center; height: 40px; border-bottom: 1px solid var(--line); font-size: 13px; }
.gantt__row span { width: 84px; }
.gantt__row b {
  position: absolute; top: 50%; height: 10px; margin-top: -5px;
  left: calc(84px + (100% - 84px) * var(--s) / 6);
  width: calc((100% - 84px) * (var(--e) - var(--s)) / 6 - 4px);
  border-radius: 2px; background: var(--orange); transform-origin: 0 50%;
}
.gantt__row:nth-child(3) b { background: var(--teal); }
.gantt__row:nth-child(4) b { background: var(--cream); }
.gantt__row:nth-child(5) b { background: var(--anthracite); }
.gantt__today { position: absolute; top: 0; bottom: 0; left: calc(84px + (100% - 84px) * .45); width: 1px; background: var(--orange); }
.gantt__today::before { content: ""; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; background: var(--orange); border-radius: 1px; transform: rotate(45deg); }
.milestones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; font-size: 11px; }
.milestones span { padding: 4px 10px; border-radius: 9999px; background: var(--white); border: 1px solid var(--line); color: var(--anthracite); }
.milestones .is-done { background: var(--green-light); border-color: var(--green-light); color: var(--teal); }
.trainees { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 20px; }
.trainees i { aspect-ratio: 1; border-radius: var(--r); background: var(--orange); }
.trainees i:nth-child(3n+2) { background: var(--teal); }
.trainees i:nth-child(4n) { background: var(--cream); }
.handover { display: grid; gap: 10px; font-size: 14.5px; }
.handover p { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.handover .mono { color: var(--orange-deep); }
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 9999px; background: var(--green-light); color: var(--teal); font-size: 12px; font-weight: 600; white-space: nowrap; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s var(--ease-io) infinite; }
@media (prefers-reduced-motion: no-preference) {
  .doc__state.is-active .box { animation: box-on .5s var(--spring) backwards; }
  .doc__state.is-active .checks li:nth-child(1) .box { animation-delay: .25s; }
  .doc__state.is-active .checks li:nth-child(2) .box { animation-delay: .55s; }
  .doc__state.is-active .checks li:nth-child(3) .box { animation-delay: .85s; }
  .doc__state.is-active .checks li:nth-child(4) .box { animation-delay: 1.15s; }
  .doc__state.is-active .notes i { animation: grow-x 1s var(--ease) 1.2s backwards; transform-origin: 0 50%; }
  .doc__state.is-active .quote tbody tr { animation: intro-up .5s var(--ease) backwards; }
  .doc__state.is-active .quote tbody tr:nth-child(2) { animation-delay: .12s; }
  .doc__state.is-active .quote tbody tr:nth-child(3) { animation-delay: .24s; }
  .doc__state.is-active .quote tbody tr:nth-child(4) { animation-delay: .36s; }
  .doc__state.is-active .stamp { animation: stamp .6s var(--spring) .9s backwards; }
  .doc__state.is-active .gantt__row b { animation: grow-x .9s var(--ease) backwards; }
  .doc__state.is-active .gantt__row:nth-child(3) b { animation-delay: .15s; }
  .doc__state.is-active .gantt__row:nth-child(4) b { animation-delay: .3s; }
  .doc__state.is-active .gantt__row:nth-child(5) b { animation-delay: .45s; }
  .doc__state.is-active .gantt__today { animation: today 1.4s var(--ease) .3s backwards; }
  .doc__state.is-active .trainees i { animation: box-on .45s var(--spring) backwards; animation-delay: calc(var(--n, 0) * 60ms); }
}
@keyframes box-on { from { opacity: 0; transform: scale(.4); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes today { from { left: 84px; opacity: 0; } }
.doc__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.doc__progress i { height: 3px; border-radius: 2px; background: var(--line); transition: background-color .5s var(--ease); }
.doc__progress i.is-on { background: var(--orange); }

.facts { display: grid; border-top: 1px solid var(--cream); }
.facts > div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-ink); }
.facts dd { font-size: 15px; color: var(--anthracite); }
.facts__dim { color: var(--gray-text); }

.map { position: relative; width: 100%; aspect-ratio: 40 / 38; }
.map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__labels { position: absolute; inset: 0; pointer-events: none; }
.map-label {
  position: absolute; padding: 2px 5px; border-radius: 2px;
  background: rgba(255, 255, 255, .9);
  font-family: var(--mono); font-size: 11px; color: var(--anthracite); white-space: nowrap;
  transform: translate(9px, -50%); opacity: 0; transition: opacity .6s var(--ease);
}
.map-label.is-left { transform: translate(calc(-100% - 9px), -50%); }
.map-label.is-on { opacity: 1; }
.map-hq { position: absolute; width: 0; height: 0; }
.map-hq i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; background: var(--orange); border: 2px solid #fff; border-radius: 2px; transform: rotate(45deg); }
.map-hq b { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border: 1.5px solid var(--orange); border-radius: 50%; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .map-hq b { animation: ring 2.6s var(--ease) infinite; }
  .map-hq b + b { animation-delay: 1.3s; }
}
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.map-hq__card { position: absolute; right: 18px; top: 0; display: grid; gap: 1px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--r); transform: translateY(-50%); white-space: nowrap; }
.map-hq__card strong { font-size: 13px; font-weight: 600; color: var(--anthracite); }
.map-hq__card span { font-family: var(--mono); font-size: 10.5px; color: var(--gray-text); }
.map__legend { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--gray-text); }
.map__legend i { width: 8px; height: 8px; border-radius: 1px; background: var(--teal); }
.map__legend .lg-hq { margin-left: 10px; background: var(--orange); transform: rotate(45deg); }

.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--cream); }
.legal > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.legal dd { font-family: var(--mono); font-size: 13.5px; color: var(--anthracite); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__text { display: grid; gap: 40px; }
.contact__list { display: grid; border-top: 1px solid var(--cream); }
.contact__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: 12px; font-weight: 500; color: var(--gray-text); }
.contact__value { font-size: 15px; color: var(--anthracite); overflow-wrap: anywhere; }
a.contact__value { transition: color .2s var(--ease); }
a.contact__value:hover { color: var(--teal); }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; font-weight: 500; color: var(--teal); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.copy .ico { width: 14px; height: 14px; }
.copy:hover { background: var(--green-light); border-color: rgba(0, 116, 109, .35); }
.copy.is-done { background: var(--green-light); border-color: var(--teal); }

.form { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange) 0 55%, var(--cream) 55% 67%, var(--teal) 67% 100%); }
.form__fields { display: grid; gap: 20px; }
.form.is-done .form__fields { display: none; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { padding: 0; font-size: 13.5px; font-weight: 500; color: var(--anthracite); }
.field legend { margin-bottom: 8px; }
.field__opt { margin-left: 4px; font-weight: 350; color: var(--gray-text); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: 15px; font-weight: 350; color: var(--anthracite);
  outline: 3px solid transparent; outline-offset: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), outline-color .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--cream); }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline-color: var(--green-light); }
.field__error { display: none; font-size: 13px; color: #b3261e; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.field.is-invalid .field__error { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9999px; font-size: 14px; font-weight: 450; color: var(--anthracite); cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.choice span .ico { width: 0; height: 14px; margin-right: 0; stroke-width: 2.2; opacity: 0; transition: width .3s var(--ease), margin .3s var(--ease), opacity .3s var(--ease); }
.choice:hover span { border-color: var(--cream); }
.choice input:checked + span { background: var(--cream-light); border-color: var(--orange); color: var(--ink); }
.choice input:checked + span .ico { width: 14px; margin-right: 8px; opacity: 1; color: var(--orange-deep); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form__note { font-size: 13px; line-height: 1.5; color: var(--gray-text); }
.form__done { display: grid; gap: 16px; justify-items: start; animation: intro-up .6s var(--ease); }
.form__done-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--teal); color: #fff; }
.form__done-icon .ico { stroke-width: 2; }
.form__done-text { color: var(--anthracite); }
.form__preview { width: 100%; max-height: 240px; overflow: auto; margin: 0; padding: 14px; background: var(--cream-light); border: 1px solid var(--cream); border-radius: var(--r); font-size: 12px; line-height: 1.6; color: var(--anthracite); white-space: pre-wrap; }

/* ---------------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------------- */
.footer { position: relative; background: var(--cream-light); border-top: 1px solid var(--cream); overflow: hidden; }
.marquee { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--cream); }
.marquee__track {
  display: flex; align-items: center; gap: .32em; width: max-content;
  font-size: clamp(56px, 10vw, 160px); font-weight: 350; line-height: 1.02; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange);
  will-change: transform;
}
.marquee__track span { transition: color .5s var(--ease); }
.marquee__track span:hover { color: var(--orange); }
.marquee__track span:nth-of-type(3n+2) { -webkit-text-stroke-color: var(--teal); }
.marquee__track span:nth-of-type(3n+2):hover { color: var(--teal); }
.marquee__track i { flex: none; width: 0; height: 0; border-left: .09em solid transparent; border-right: .09em solid transparent; border-bottom: .16em solid var(--orange); }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding-block: 56px 44px; }
.footer__brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer__brand img { height: 42px; width: auto; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: var(--anthracite); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__title { margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--teal); }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a { font-size: 14px; color: var(--anthracite); transition: color .2s var(--ease); }
.footer__cols a:hover { color: var(--orange-ink); }
.footer__legal {
  display: grid; gap: 20px;
  padding-block: 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(var(--cream), var(--cream)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: 11.5px; color: var(--gray-text);
}
.footer__legal .mono p { line-height: 1.8; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--anthracite); }
.totop { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 500; }
.totop .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.totop:hover .ico { transform: translateY(-3px); }
.footer .band { height: 4px; }

/* ---------------------------------------------------------------------
   Studio : viseur de caméra, timeline de montage, lecteur de podcast
   --------------------------------------------------------------------- */
.nav__dot { width: 6px; height: 6px; margin-left: -1px; border-radius: 50%; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .nav__dot { animation: dot-pulse 2.4s var(--ease-io) infinite; } }
@keyframes dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .55; } }

.services--one { grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* Planche contact (photographie) : zoom de 10 % au survol */
.sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sheet .photo { aspect-ratio: 4 / 3; }
.sheet .photo:nth-child(even) { transform: translateY(28px); }
.sheet .photo img { transition: transform .9s var(--ease); }
.sheet .photo:hover img { transform: scale(1.1); }
.values.values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .values.values--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .values.values--4 { grid-template-columns: minmax(0, 1fr); } }

/* Viseur : mise au point qui suit la souris (profondeur de champ) */
.vf {
  --fx: 58%; --fy: 40%;
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--ink);
  cursor: crosshair;
  -webkit-user-select: none; user-select: none;
}
.vf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vf__img--soft { filter: blur(5px) saturate(.9) brightness(.92); transform: scale(1.04); }
.vf__img--sharp {
  -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0 15%, transparent 32%);
  mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0 15%, transparent 32%);
}
.vf::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .5));
}
.vf__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, transparent 33.2%, rgba(255, 255, 255, .22) 33.2% 33.4%, transparent 33.4% 66.6%, rgba(255, 255, 255, .22) 66.6% 66.8%, transparent 66.8%),
    linear-gradient(to bottom, transparent 33.1%, rgba(255, 255, 255, .22) 33.1% 33.4%, transparent 33.4% 66.6%, rgba(255, 255, 255, .22) 66.6% 66.9%, transparent 66.9%);
}
.vf__corners i { position: absolute; z-index: 2; width: 26px; height: 26px; border: 0 solid var(--cream); pointer-events: none; }
.vf__corners i:nth-child(1) { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.vf__corners i:nth-child(2) { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.vf__corners i:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.vf__corners i:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.vf__focus {
  position: absolute; z-index: 3; left: var(--fx); top: var(--fy);
  width: 70px; height: 70px;
  border: 1.5px solid var(--cream); border-radius: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: border-color .3s var(--ease);
}
.vf__focus::before, .vf__focus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--cream); transform: translate(-50%, -50%); }
.vf__focus::before { width: 10px; height: 1.5px; }
.vf__focus::after { width: 1.5px; height: 10px; }
.vf__focus.is-lock { border-color: var(--orange); animation: focus-lock .5s var(--spring); }
@keyframes focus-lock { from { transform: translate(-50%, -50%) scale(1.35); } }
.vf__hud { position: absolute; z-index: 3; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; font-size: 11px; color: #fff; }
.vf__hud--top { top: 22px; }
.vf__hud--bottom { bottom: 22px; }
.vf__hud span { padding: 3px 7px; border-radius: 2px; background: rgba(46, 47, 48, .66); }
.vf__rec { display: inline-flex; align-items: center; gap: 6px; }
.vf__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.2s var(--ease-io) infinite; }
.vf__meters { position: absolute; z-index: 3; right: 24px; top: 50%; display: flex; gap: 4px; height: 84px; transform: translateY(-50%); pointer-events: none; }
.vf__meters i { position: relative; width: 5px; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.vf__meters i::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: linear-gradient(0deg, #6fc7bf 0%, var(--cream) 60%, var(--orange) 100%);
  transform-origin: 50% 100%; transform: scaleY(.55);
}
@media (prefers-reduced-motion: no-preference) {
  .vf__meters i:nth-child(1)::after { animation: meter .42s ease-in-out infinite alternate; }
  .vf__meters i:nth-child(2)::after { animation: meter .37s ease-in-out -.2s infinite alternate; }
}
@keyframes meter { 0% { transform: scaleY(.28); } 45% { transform: scaleY(.72); } 70% { transform: scaleY(.5); } 100% { transform: scaleY(.9); } }

/* Timeline de montage */
.tl { display: grid; overflow: hidden; border-radius: 6px; background: var(--ink); border: 1px solid rgba(255, 228, 148, .14); color: #c9ccce; }
.tl__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; font-size: 11.5px; }
.tl__bar .dots { display: inline-flex; gap: 5px; }
.tl__bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.tl__tc { margin-left: auto; color: var(--cream); }
.tl__preview { position: relative; overflow: hidden; aspect-ratio: 16 / 8; background: #111; }
.tl__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.tl__preview img.is-on { opacity: 1; }
.tl__lower {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 12px; border-left: 3px solid var(--orange); border-radius: 2px;
  background: rgba(46, 47, 48, .86); color: #fff;
  font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.tl__lower small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--cream); }
.tl__lower.is-on { opacity: 1; transform: none; }
.tl__tracks { position: relative; display: grid; gap: 6px; padding: 12px 12px 14px 44px; background: #232425; }
.tl__ruler { display: flex; justify-content: space-between; padding-bottom: 2px; font-size: 9.5px; color: #8b8f93; }
.tl__track { position: relative; height: 26px; border-radius: 3px; background: rgba(255, 255, 255, .04); }
.tl__track::before { content: attr(data-label); position: absolute; left: -32px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 10px; color: #8b8f93; }
.tl__track b {
  position: absolute; top: 3px; bottom: 3px;
  left: calc(var(--s) * 100%); width: calc(var(--w) * 100% - 3px);
  display: flex; align-items: center; overflow: hidden;
  padding: 0 6px; border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 116, 109, .7); color: #fff;
  font-size: 10px; font-weight: 500; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.tl__track--v2 b { background: rgba(253, 126, 1, .75); color: var(--ink); }
.tl__track b.is-live { background: var(--teal); border-color: var(--cream); }
.tl__track--v2 b.is-live { background: var(--orange); }
.tl__wave { position: absolute; inset: 3px 0; display: flex; align-items: center; gap: 1px; overflow: hidden; }
.tl__wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 2px; border-radius: 1px; background: rgba(255, 228, 148, .55); }
.tl__track--music .tl__wave i { background: rgba(111, 199, 191, .55); }
.tl__playhead { position: absolute; z-index: 2; top: 6px; bottom: 6px; left: calc(44px + (100% - 56px) * var(--ph, 0)); width: 1.5px; background: var(--orange); pointer-events: none; }
.tl__playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 5.5px solid transparent; border-top: 7px solid var(--orange); }
.tl__foot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 11px; }
.tl__progress { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tl__progress i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, .62)); }

/* Lecteur de podcast */
.pod { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--anthracite); }
.pod__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--gray-text); }
.pod__air { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; transition: opacity .3s var(--ease); }
.pod__air i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.pod:not(.is-playing) .pod__air { opacity: .55; }
.pod.is-playing .pod__air i { animation: blink 1.2s var(--ease-io) infinite; }
.pod__main { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.pod__cover { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 4px; background: var(--teal); }
.pod__cover i { position: absolute; width: 0; height: 0; border-style: solid; border-color: transparent; }
.pod__cover i:nth-child(1) { left: 10%; bottom: 0; border-width: 0 30px 50px; border-bottom-color: var(--orange); }
.pod__cover i:nth-child(2) { right: 8%; bottom: 0; border-width: 0 18px 30px; border-bottom-color: var(--cream); }
.pod__cover span { position: absolute; left: 8px; top: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: #fff; }
.pod__kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.pod__title { margin-top: 2px; font-size: 22px; font-weight: 350; line-height: 1.15; letter-spacing: -.02em; color: var(--anthracite); }
.pod__meta { margin-top: 4px; font-size: 11.5px; color: var(--gray-text); }
.pod__wave { display: flex; align-items: center; gap: 3px; height: 64px; cursor: pointer; }
.pod__wave span { flex: 1; height: calc(var(--h) * 100%); min-height: 4px; border-radius: 2px; background: var(--line); transform-origin: 50% 50%; transition: background-color .25s var(--ease); }
.pod__wave span.is-played { background: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .pod.is-playing .pod__wave span { animation: pod-bar .8s ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
}
@keyframes pod-bar { from { transform: scaleY(.55); } to { transform: scaleY(1.08); } }
.pod__controls { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; }
.pod__play { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--ink); transition: background-color .2s var(--ease), transform .3s var(--spring); }
.pod__play:hover { background: var(--orange-hover); transform: scale(1.06); }
.pod__play svg { width: 18px; height: 18px; fill: currentColor; }
.pod__play .i-pause { display: none; }
.pod.is-playing .pod__play .i-play { display: none; }
.pod.is-playing .pod__play .i-pause { display: block; }
.pod__time { font-size: 12px; color: var(--anthracite); }
.pod__progress { position: relative; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pod__progress i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, .28)); }
.pod__eps { display: grid; border-top: 1px solid var(--line); }
.pod__eps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pod__eps b { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--orange-deep); }
.pod__eps .mono { margin-left: auto; font-size: 11.5px; color: var(--gray-text); }

/* ---------------------------------------------------------------------
   Sections sur fond vert sombre (environ 40 % des sections de chaque page)
   --------------------------------------------------------------------- */
.section--dark {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--teal-night);
  background-image: radial-gradient(rgba(255, 228, 148, .1) 1px, transparent 1px);
  background-size: 24px 24px;
  color: rgba(255, 255, 255, .86);
}
.section--dark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 60%; height: 80%; right: -16%; top: -26%;
  background: radial-gradient(closest-side, rgba(253, 126, 1, .24), rgba(253, 126, 1, 0));
}
@media (prefers-reduced-motion: no-preference) { .section--dark::before { animation: drift 16s ease-in-out infinite alternate; } }
.section--dark :focus-visible { outline-color: var(--cream); }

.section--dark .eyebrow, .section--dark .crumbs a { color: var(--cream); }
.section--dark .crumbs { color: rgba(255, 255, 255, .7); }
.section--dark .h1, .section--dark .h2, .section--dark .h3 { color: #fff; }
.section--dark .h1 .muted, .section--dark .h2 .muted { color: var(--cream); }
.section--dark .lead { color: rgba(255, 255, 255, .86); }
.section--dark .link { color: var(--cream); }
.section--dark .link:hover { color: #fff; }
.section--dark .checklist li { color: rgba(255, 255, 255, .9); }
.section--dark .btn--ghost, .section--dark .btn--tertiary { color: var(--cream); border-color: rgba(255, 228, 148, .4); }
.section--dark .btn--ghost:hover, .section--dark .btn--tertiary:hover { border-color: var(--cream); background: rgba(255, 255, 255, .06); }
.section--dark .toc a { border-color: rgba(255, 228, 148, .28); color: #fff; }
.section--dark .toc a:hover { border-color: var(--orange); background: rgba(255, 255, 255, .06); color: #fff; }
.section--dark .spot::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(253, 126, 1, .14), transparent 62%); }

.section--dark .icon-box { background: rgba(255, 255, 255, .07); border-color: rgba(255, 228, 148, .3); color: var(--cream); }
.section--dark .service:hover .icon-box,
.section--dark .domain:hover .icon-box { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.section--dark .service__title { color: #fff; }
.section--dark .service__desc { color: rgba(255, 255, 255, .78); }

.section--dark .domain, .section--dark .value, .section--dark .aud-col {
  background: rgba(255, 255, 255, .04); border-color: rgba(255, 228, 148, .16);
}
.section--dark .domain:hover, .section--dark .value:hover { border-color: rgba(255, 228, 148, .45); }
.section--dark .domain__num, .section--dark .value__num { color: var(--orange); }
.section--dark .domain__title, .section--dark .value__title { color: #fff; }
.section--dark .domain__text, .section--dark .value p { color: rgba(255, 255, 255, .82); }

/* Catalogue des formations sur fond sombre */
.section--dark .filters { background: rgba(255, 255, 255, .06); border-color: rgba(255, 228, 148, .28); }
.section--dark .filter { color: rgba(255, 255, 255, .88); }
.section--dark .filter:hover { color: #fff; }
.section--dark .filter.is-active { color: var(--ink); }
.section--dark .catalog__count, .section--dark .cgroup__count { color: rgba(255, 255, 255, .7); }
.section--dark .cgroup__head { border-bottom-color: rgba(255, 228, 148, .3); }
.section--dark .cgroup__num { color: var(--orange); }
.section--dark .cgroup:nth-child(even) .cgroup__num { color: var(--cream); }
.section--dark .cgroup__label { color: var(--cream); }
.section--dark .cgroup__title { color: #fff; }
.section--dark .course__link { background: rgba(255, 255, 255, .05); border-color: rgba(255, 228, 148, .16); }
.section--dark .course__link:hover { border-color: var(--orange); }
.section--dark .course__title { color: #fff; }
.section--dark .course__cta { color: var(--cream); }

.section--dark .aud { background: rgba(255, 255, 255, .06); border-color: rgba(255, 228, 148, .28); }
.section--dark .aud__btn { color: rgba(255, 255, 255, .88); }
.section--dark .aud__btn:hover { color: #fff; }
.section--dark .aud__btn.is-active { color: var(--ink); }
.section--dark .aud-col__label, .section--dark .aud-col__label .ico { color: rgba(255, 255, 255, .72); }
html:not([data-aud="institutions"]) .section--dark .aud-col[data-aud-col="mines"],
html[data-aud="institutions"] .section--dark .aud-col[data-aud-col="institutions"] { background: rgba(253, 126, 1, .1); border-color: rgba(253, 126, 1, .4); border-top-color: var(--orange); }
html:not([data-aud="institutions"]) .section--dark .aud-col[data-aud-col="mines"] .aud-col__label,
html[data-aud="institutions"] .section--dark .aud-col[data-aud-col="institutions"] .aud-col__label { color: var(--cream); }

.section--dark .deliverables li { border-color: rgba(255, 228, 148, .25); color: #fff; }
.section--dark .deliverables li:hover { border-color: var(--orange); background: rgba(253, 126, 1, .12); }
.section--dark .deliverables .ico { color: var(--orange); }

.section--dark .stat { border-top-color: var(--orange); }
.section--dark .stat:nth-child(even) { border-top-color: var(--cream); }
.section--dark .stat__num { color: var(--orange); }
.section--dark .stat:nth-child(even) .stat__num { color: var(--cream); }
.section--dark .stat__label { color: rgba(255, 255, 255, .84); }

.section--dark .legal, .section--dark .facts, .section--dark .contact__list { border-top-color: rgba(255, 228, 148, .35); }
.section--dark .legal > div, .section--dark .facts > div, .section--dark .contact__list li { border-bottom-color: rgba(255, 255, 255, .12); }
.section--dark .legal dt, .section--dark .facts dt { color: var(--cream); }
.section--dark .legal dd, .section--dark .facts dd, .section--dark .contact__value { color: #fff; }
.section--dark a.contact__value:hover { color: var(--cream); }
.section--dark .contact__label, .section--dark .facts__dim { color: rgba(255, 255, 255, .68); }
.section--dark .copy { color: var(--cream); border-color: rgba(255, 228, 148, .3); }
.section--dark .copy:hover, .section--dark .copy.is-done { background: rgba(255, 255, 255, .08); border-color: var(--cream); }

/* Cartes blanches posées sur une section sombre : elles gardent leurs couleurs claires */
.section--dark .form { color: var(--anthracite); }
.section--dark .form .h3 { color: var(--anthracite); }
.section--dark .form .link { color: var(--teal); }
.section--dark .form .btn--ghost { color: var(--teal); border-color: rgba(0, 116, 109, .35); }
.section--dark .form .btn--ghost:hover { border-color: var(--teal); background: var(--green-light); }
.section--dark .form .btn--tertiary { color: var(--teal); border-color: var(--line); }
.section--dark .form .btn--tertiary:hover { border-color: rgba(0, 116, 109, .35); background: var(--cream-light); }
.section--dark .form :focus-visible { outline-color: var(--teal); }

.section--dark .panel { padding: 0; border-radius: 0; background: none; overflow: visible; }
.section--dark .panel__glow { display: none; }
.section--dark .cta-band { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 228, 148, .2); }
.section--dark .tri-art .t-cream { opacity: .12; }
.section--dark .tri-art .t-teal { fill: #0a8f86; }

/* ---------------------------------------------------------------------
   Accueil visuel : environ 70 % d'images et 30 % de texte
   --------------------------------------------------------------------- */
.section--tight { padding-block: clamp(64px, 7vw, 104px); }

/* En-tête compact : titre à gauche, action à droite */
.show-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.show-head > * { min-width: 0; max-width: 100%; }
.show-head .section-head { gap: 14px; max-width: 780px; }

/* Tuile photo étiquetée : zoom au survol, dérive au pointeur, parallaxe au défilement */
.mtile {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; min-width: 0; min-height: 180px; margin: 0;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}
.mtile > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(1.08);
  transition: transform 1.2s var(--ease);
  -webkit-user-drag: none;
}
.mtile:hover > img { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(1.16); }
.mtile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 40, 37, .14) 0%, rgba(0, 40, 37, 0) 36%, rgba(0, 40, 37, .84) 100%);
}
.mtile__tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em;
  color: #fff;
}
.mtile__tag .icon-box, .section--dark .mtile__tag .icon-box { width: 36px; height: 36px; background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mtile__tag .icon-box .ico { width: 18px; height: 18px; }
.mtile__tag .harrow { margin-left: auto; color: var(--cream); }
.mtile__chip {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 12px; border-radius: 9999px;
  background: rgba(255, 255, 255, .94); color: var(--anthracite);
  font-size: 13px; font-weight: 450;
}
.mtile__chip b { font-size: 15px; font-weight: 500; color: var(--orange-ink); }

/* Bande photo des secteurs : défilement continu, accéléré par le défilement, glissable */
.reel-band { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 64px) clamp(44px, 5vw, 72px); }
.reel-band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: clamp(20px, 2.4vw, 28px); }
.reel-band__intro { font-size: clamp(17px, 1rem + .3vw, 20px); line-height: 1.4; color: var(--anthracite); text-wrap: balance; }
.reel { overflow-x: auto; scrollbar-width: none; -webkit-user-select: none; user-select: none; }
.reel::-webkit-scrollbar { display: none; }
.reel.is-live { overflow: hidden; cursor: grab; touch-action: pan-y; }
.reel.is-dragging { cursor: grabbing; }
.reel__track { display: flex; align-items: flex-start; gap: 12px; width: max-content; padding: 0 var(--gutter) 28px; will-change: transform; }
.reel__item {
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  width: clamp(200px, 21vw, 300px); aspect-ratio: 4 / 5;
  border-radius: 6px; background: var(--ink);
}
.reel__item:nth-child(even) { margin-top: 28px; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.reel__item:hover img { transform: scale(1.12); }
.reel__item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 40, 37, 0) 55%, rgba(0, 40, 37, .6) 100%); }
.reel__tag {
  position: absolute; z-index: 1; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px; border-radius: 9999px;
  background: rgba(255, 255, 255, .95); color: var(--anthracite);
  font-size: 13.5px; font-weight: 500; line-height: 1.2;
}
.reel__tag .ico { width: 18px; height: 18px; color: var(--orange-deep); }

/* Studio : viseur en grand et deux tuiles */
.bento { display: grid; gap: 12px; }
.bento--studio {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(440px, 46vw, 640px);
}
.bento__main { position: relative; grid-row: 1 / -1; min-height: 0; overflow: hidden; border-radius: 6px; }
.bento__main .vf { height: 100%; aspect-ratio: auto; }
.bento__label {
  left: 20px; right: auto; bottom: 60px; z-index: 4;
  padding: 6px 16px 6px 6px; border-radius: 9999px;
  background: rgba(0, 40, 37, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s var(--ease);
}
.bento__label:hover { background: rgba(0, 40, 37, .92); }
.bento__label .harrow { margin-left: 4px; }

/* Domaines : cartes photo inclinables, photo propre à chaque public */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; aspect-ratio: 3 / 4.2;
  border-radius: 6px;
  background: var(--ink); color: #fff;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.pcard__media {
  position: absolute; inset: 0; z-index: -2;
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(1.08);
  transition: transform 1.2s var(--ease);
}
.pcard:hover .pcard__media { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(1.15); }
.pcard__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .8s var(--ease), transform 1.4s var(--ease), filter .8s var(--ease);
  -webkit-user-drag: none;
}
.pcard__media img[data-aud-img="institutions"],
html[data-aud="institutions"] .pcard__media img[data-aud-img="mines"] { opacity: 0; transform: scale(1.12); filter: blur(6px); }
html[data-aud="institutions"] .pcard__media img[data-aud-img="institutions"] { opacity: 1; transform: none; filter: none; }
.pcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 40, 37, .5) 0%, rgba(0, 40, 37, 0) 24%, rgba(0, 40, 37, 0) 36%, rgba(0, 40, 37, .94) 100%);
}
.pcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 228, 148, .16), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.pcard:hover::after { opacity: 1; }
.pcard:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.pcard__top { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; justify-content: space-between; }
.pcard__num {
  padding: 3px 8px; border-radius: 3px;
  background: rgba(0, 40, 37, .6); color: var(--cream); font-size: 12.5px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pcard .icon-box, .section--dark .pcard .icon-box { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pcard__body { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.pcard__title { font-size: clamp(20px, 1rem + .45vw, 24px); font-weight: 400; line-height: 1.15; letter-spacing: -.018em; color: #fff; }
.pcard__text { display: block; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.pcard__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cream); }

/* Vitrines : grand visuel animé et deux photos */
.showcase { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.showcase__side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 0; }
.showcase__side > .mtile { min-height: 200px; }
@media (min-width: 981px) {
  .showcase--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .showcase--flip > .showcase__side { order: -1; }
}
.showcase--train { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.showcase--train > .mtile { min-height: 440px; }
.showcase__side--cert { grid-template-rows: auto minmax(0, 1fr); }
.showcase__side--cert .cert-wrap { padding: 16px 8px 8px; }

/* Appel à l'action sur photo */
.cta-band.cta-band--photo {
  min-height: clamp(380px, 38vw, 500px);
  align-items: end;
  background: var(--teal-night);
  border: 0;
}
.cta-band__img {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  -webkit-user-drag: none;
}
.cta-band--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 56, 52, .95) 0%, rgba(0, 56, 52, .8) 42%, rgba(0, 56, 52, .3) 100%),
    linear-gradient(0deg, rgba(0, 40, 37, .55), rgba(0, 40, 37, 0) 60%);
}
.cta-band__copy { display: grid; gap: 16px; justify-items: start; }
.cta-band__copy p { margin-top: 0; }

@media (max-width: 980px) {
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase, .showcase--train { grid-template-columns: minmax(0, 1fr); }
  .showcase__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .showcase__side > .mtile { min-height: 0; aspect-ratio: 4 / 3.6; }
  .showcase__side--cert { grid-template-columns: minmax(0, 1fr); }
  .showcase__side--cert > .mtile { aspect-ratio: 16 / 9; }
  .showcase--train > .mtile { min-height: 0; aspect-ratio: 4 / 3.3; }
  .bento--studio { height: clamp(380px, 60vw, 560px); }
}
@media (max-width: 760px) {
  .bento--studio { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; height: auto; }
  .bento__main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.6; }
  .bento--studio > .mtile { aspect-ratio: 4 / 5; min-height: 0; }
  .bento__label { left: 14px; bottom: 52px; }
}
@media (max-width: 640px) {
  .show-head { gap: 16px; }
  .pcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .pcards::-webkit-scrollbar { display: none; }
  .pcard { scroll-snap-align: start; }
  .showcase__side > .mtile { aspect-ratio: 4 / 5; }
  .mtile__tag { left: 12px; right: 12px; bottom: 12px; gap: 10px; font-size: 14.5px; }
  .mtile__tag .icon-box, .section--dark .mtile__tag .icon-box { width: 32px; height: 32px; }
  .reel__item:nth-child(even) { margin-top: 20px; }
  .reel__track { padding-bottom: 20px; }
  .cta-band.cta-band--photo { min-height: 420px; }
  .cta-band--photo::before { background: linear-gradient(0deg, rgba(0, 56, 52, .96) 0%, rgba(0, 56, 52, .82) 52%, rgba(0, 56, 52, .3) 100%); }
}

/* Sections en deux colonnes : texte (environ 40 %) et visuel animé (environ 60 %) */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.duo__text { display: grid; gap: 32px; align-content: start; justify-items: start; }
.duo__text > .services { width: 100%; }
.duo .bento--studio { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; height: auto; }
.duo .bento__main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10.5; }
.duo .bento--studio > .mtile { min-height: 0; aspect-ratio: 4 / 3; }
.showcase--stack { grid-template-columns: minmax(0, 1fr); }
.showcase--stack > .showcase__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
.showcase--stack > .showcase__side > .mtile { min-height: 0; aspect-ratio: 4 / 3; }
.showcase--train.showcase--stack > .mtile { min-height: 0; aspect-ratio: 16 / 10; }
.showcase--stack > .showcase__side--cert { align-items: center; }
.showcase--stack > .showcase__side--cert > .mtile { aspect-ratio: auto; align-self: stretch; min-height: 220px; }
.pcards + .stats { margin-top: clamp(44px, 5vw, 72px); }
.cta-band__text { max-width: 36em; }
@media (min-width: 981px) {
  /* Sur grand écran, le texte garde environ 40 % de la surface */
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo--flip > .duo__text { order: 2; }
  .duo .lead { font-size: clamp(19px, 1rem + .4vw, 22px); }
  .duo .service__title { font-size: 17px; }
  .duo .service__desc { font-size: 15.5px; }
  .duo .bento__main { aspect-ratio: 16 / 9.5; }
  .duo .bento--studio > .mtile, .showcase--stack > .showcase__side > .mtile { aspect-ratio: 16 / 10; }
  .showcase--train.showcase--stack > .mtile { aspect-ratio: 16 / 9; }
  .showcase--stack > .showcase__side--cert > .mtile { aspect-ratio: auto; }
  .duo .feed { aspect-ratio: 4 / 3.6; }
  .reel__item { width: clamp(190px, 16vw, 236px); }
  .reel-band { padding-block: clamp(36px, 4vw, 52px) clamp(36px, 4vw, 56px); }
  .cta-band.cta-band--photo { min-height: clamp(300px, 26vw, 380px); }
}
@media (max-width: 980px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .duo .bento--studio > .mtile, .showcase--stack > .showcase__side > .mtile { aspect-ratio: 4 / 5; }
  .showcase--stack > .showcase__side--cert { grid-template-columns: minmax(0, 1fr); }
  .showcase--stack > .showcase__side--cert > .mtile { aspect-ratio: 16 / 10; min-height: 0; align-self: auto; }
  .duo .bento__main { aspect-ratio: 4 / 3.6; }
}

/* ---------------------------------------------------------------------
   Expertises : grilles de cartes, clientèle ciblée, fiche mission animée
   --------------------------------------------------------------------- */
@media (min-width: 981px) {
  .pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcards--3 > .pcard { aspect-ratio: 4 / 4.1; }
  .pcards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pcards--5 > .pcard { grid-column: span 2; aspect-ratio: 4 / 4.4; }
  .pcards--5 > .pcard:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 9.4; }
}
.showcase--stack > figure.mtile { min-height: 0; aspect-ratio: 16 / 9.5; }
@media (min-width: 641px) and (max-width: 980px) {
  .pcards--3 > .pcard:last-child:nth-child(odd),
  .pcards--5 > .pcard:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 8.5; }
}

.clients__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin: clamp(52px, 6vw, 84px) 0 clamp(22px, 2.6vw, 30px); }
.clients__title { font-size: clamp(22px, 1rem + .8vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: var(--anthracite); }
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.client { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--orange); }
.client:nth-child(even) { border-top-color: var(--teal); }
.client__title { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--anthracite); }
.client__text { font-size: 14.5px; line-height: 1.5; color: var(--gray-text); }
.section--dark .clients__title, .section--dark .client__title { color: #fff; }
.section--dark .client:nth-child(even) { border-top-color: var(--cream); }
.section--dark .client__text { color: rgba(255, 255, 255, .8); }
.client--photo { padding-top: 0; border-top: 0; }
.client__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; margin-bottom: 6px; border-radius: 6px; background: var(--ink); }
.client__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.client--photo:hover .client__media img { transform: scale(1.1); }
.client__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); }
.client--photo:nth-child(even) .client__media::after { background: var(--teal); }

/* Fiche mission animée (pages de services, données de démonstration) */
.ops { display: grid; overflow: hidden; border-radius: 6px; background: var(--ink); }
.ops__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; padding: 10px; background: #232425; }
.ops__screen { position: relative; overflow: hidden; min-height: 214px; border-radius: 3px; background: #161819; transition: opacity .4s var(--ease); }
.ops.is-reset .ops__screen { opacity: .15; }
.ops__screen > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ops__side { display: grid; align-content: start; gap: 10px; min-width: 0; }
.ops__steps { display: grid; gap: 4px; }
.ops__step {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 9px; border-radius: 3px;
  background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .6);
  font-size: 12.5px; line-height: 1.3;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.ops__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid rgba(255, 228, 148, .35); border-radius: 3px; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.ops__box .ico { width: 12px; height: 12px; stroke-width: 2.6; color: var(--ink); opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .45s var(--spring); }
.ops__step.is-now { background: rgba(253, 126, 1, .12); color: #fff; }
.ops__step.is-now .ops__box { border-color: var(--orange); }
.ops__step.is-done { color: #fff; }
.ops__step.is-done .ops__box { background: var(--orange); border-color: var(--orange); }
.ops__step.is-done .ops__box .ico { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { .ops__step.is-now .ops__box { animation: blink 1.2s var(--ease-io) infinite; } }
.ops__meter { height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.ops__meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--cream)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 1.1s var(--ease); }
.ops .cstat small { margin-left: 3px; font-size: 12px; color: rgba(255, 255, 255, .6); }

.ops-svg text { font-family: var(--mono); font-size: 9px; fill: rgba(255, 255, 255, .62); }
.ops-svg .ops-strong { fill: #fff; }
.ops-grid { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.ops-contour { fill: none; stroke: rgba(255, 228, 148, .24); stroke-width: 1; }
.ops-plan { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; stroke-dasharray: 3 4; }
.ops-path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ops-line { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; }
.ops-accent { fill: none; stroke: var(--cream); stroke-width: 1.2; }
.ops-area { fill: rgba(253, 126, 1, .1); }
.ops-dot circle { fill: var(--cream); }
.ops-dot .ops-halo { fill: none; stroke: var(--cream); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .ops-dot .ops-halo { animation: ring 1.8s var(--ease) infinite; } }
.ops-zone { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 228, 148, .3); stroke-width: 1; transition: fill .6s var(--ease), stroke .6s var(--ease); }
.ops-zone.is-on { fill: rgba(0, 116, 109, .55); stroke: #6fc7bf; }
.ops-mark { opacity: 0; transition: opacity .4s var(--ease); }
.ops-mark.is-on { opacity: 1; }
.ops-floor { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 228, 148, .35); stroke-width: 1; opacity: .3; transition: opacity .5s var(--ease), fill .5s var(--ease); }
.ops-floor.is-on { opacity: 1; fill: rgba(253, 126, 1, .24); }
.ops-node { fill: #161819; stroke: rgba(255, 228, 148, .45); stroke-width: 1.5; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.ops-node.is-on { fill: var(--orange); stroke: var(--orange); }
.ops-fill { fill: var(--orange); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 1.1s var(--ease); }

/* Équipe de direction */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.person { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: border-color .3s var(--ease), transform .5s var(--ease); }
.person:hover { border-color: rgba(253, 126, 1, .5); transform: translateY(-3px); }
.person__avatar { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 25px; font-weight: 500; letter-spacing: .02em; }
.person:nth-child(even) .person__avatar { background: var(--anthracite); }
.person__avatar::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--orange); border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .person__avatar::after { animation: person-spin 7s linear infinite; } .person:nth-child(even) .person__avatar::after { animation-direction: reverse; } }
@keyframes person-spin { to { transform: rotate(360deg); } }
.person__name { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; color: var(--anthracite); }
.person__role { margin-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-ink); }
.person__text { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--gray-text); }
.person--lead { grid-column: 1 / -1; padding: 30px; background: var(--cream-light); border-color: rgba(253, 126, 1, .35); }
.person--lead .person__avatar { width: 104px; height: 104px; font-size: 30px; }
.person--lead .person__name { font-size: clamp(24px, 1rem + .9vw, 30px); }

@media (max-width: 980px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .clients, .people { grid-template-columns: minmax(0, 1fr); }
  .ops__body { grid-template-columns: minmax(0, 1fr); }
  .ops__screen { min-height: 0; aspect-ratio: 16 / 10; }
  .person { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav__inner { gap: 16px; }
  .nav__trigger, .nav__link { padding: 0 9px; }
  .nav__trigger.is-current::after, .nav__link[aria-current="page"]::after { left: 9px; right: 9px; }
  .dd__list { grid-template-columns: repeat(2, 226px); }
}

@media (max-width: 1080px) {
  .nav__menu, .nav__ghost, .nav__lang, .dropdown { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 980px) {
  .hero__grid, .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__stage, .hero__tri { width: 100%; top: auto; height: 62%; }
  .hero__stage { clip-path: polygon(62% 0, 130% 100%, -10% 100%); }
  .hero__visual { width: min(100%, 560px); justify-self: center; }
  .carousel__frame { inset: 14px -10px -14px 10px; }

  .split, .panel__grid, .contact__grid, .method__grid, .detail__grid, .detail__grid--flip { grid-template-columns: minmax(0, 1fr); }
  .detail__grid--flip > :first-child { order: 0; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .cta-pair { justify-content: flex-start; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }

  .method__visual { position: relative; top: auto; order: -1; max-width: 560px; }
  .step { min-height: 0; padding-block: 20px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .domains__grid { grid-template-columns: minmax(0, 1fr); }
  .console__body { grid-template-columns: minmax(0, 1fr); }
  .feed { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 640px) {
  .hero__copy, .page-hero__copy { gap: 22px; }
  .announce { font-size: 13px; }
  .ptabs { gap: 14px; width: 100%; }
  .ptab { flex: 1; min-width: 0; font-size: 13px; }

  .services { grid-template-columns: minmax(0, 1fr); }

  .courses { grid-template-columns: minmax(0, 1fr); }
  .filter, .aud__btn { height: 34px; padding: 0 12px; font-size: 13px; }

  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--print, .tile--post { grid-column: 1 / -1; grid-row: auto; }
  .tile--chart { display: none; }
  .paper { width: 62%; }

  .photo-pair .photo:last-child { margin-top: 24px; }
  .console__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cstat { padding: 8px; }
  .cstat strong { font-size: 15px; }

  .slide__cap { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 12px 14px; }
  .slide__title { font-size: 15px; }
  .carousel__bar { top: 10px; right: 10px; }
  .carousel__progress { display: none; }

  .form__row { grid-template-columns: minmax(0, 1fr); }
  .facts > div, .legal > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact__list li { grid-template-columns: 40px minmax(0, 1fr); }
  .contact__list .copy { grid-column: 2; justify-self: start; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .nav__cta { display: none; }
  .aud-bar { position: static; }
  .aud-bar__label { display: none; }
}

/* ---------------------------------------------------------------------
   Mouvement réduit
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
