/* plus-jakarta-sans-latin-ext-400-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-400-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* plus-jakarta-sans-latin-ext-500-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-500-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* plus-jakarta-sans-latin-ext-600-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-600-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* plus-jakarta-sans-latin-ext-700-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-700-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* plus-jakarta-sans-latin-ext-800-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-800-normal */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* jetbrains-mono-latin-ext-400-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* jetbrains-mono-latin-400-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * AgentSpot — site vitrine
 * Registre « Web » de la charte graphique v2.1 (§ 10) : l'ivoire domine, le cobalt porte
 * l'action et une ou deux sections par page, le citron reste ponctuel (un aplat par écran).
 */

/* ===== Jetons ===== */
:root {
  --cobalt: #3e5cf5;
  --cobalt-dark: #2946d5;
  --cobalt-50: #f0f3ff;
  --cobalt-100: #d9dffc;
  --citron: #d5eb59;
  --citron-hover: #e0f37e;
  --citron-50: #f3f7df;
  --ink: #171b27;
  --ivory: #f8f7f3;
  --sand: #f0f0e9;
  --white: #ffffff;
  --body: #555964;
  --muted: #666a76;
  --line: #dedfdc;
  --line-card: #e0e2db;
  --line-strong: #b9bccc;
  --field: #868a96;
  --olive: #4c5726;
  --positive: #526322;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  --tile: #f9fafc;
  --tile-line: #e4e6ef;
  --acc-line: #cfd2cd;
  --orbit: #e2e3da;

  /* Rôles : redéfinis localement par .theme-cobalt */
  --c-bg: var(--ivory);
  --c-ink: var(--ink);
  --c-body: var(--body);
  --c-muted: var(--muted);
  --c-accent: var(--cobalt);
  --c-link: var(--cobalt);
  --c-eyebrow: var(--cobalt);
  --c-line: var(--line);
  --c-focus: var(--cobalt);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --fs-hero: clamp(40px, 5.1vw, 76px);
  --fs-page: clamp(36px, 4.3vw, 62px);
  --fs-close: clamp(34px, 4.1vw, 58px);
  --fs-h2: clamp(30px, 3.2vw, 46px);
  --fs-h2-sm: clamp(26px, 2.5vw, 34px);
  --fs-h3: 18px;
  --fs-lede: 16px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-eyebrow: 11px;
  --fs-btn: 13px;

  --r-pill: 999px;
  --r-panel: 16px;
  --r-tile: 12px;
  --r-card: 9px;
  --r-block: 8px;
  --r-badge: 5px;

  --shadow: 0 12px 40px -24px rgb(23 27 39 / 20%);
  --shadow-active: 0 5px 12px -7px var(--cobalt);

  --gutter: 56px;
  --section-y: 100px;
  --header-h: 96px;
  --t: 0.2s;
}
@media (min-width: 1600px) { :root { --fs-hero: 80px; } }
@media (max-width: 1199px) { :root { --gutter: 36px; --section-y: 72px; } }
@media (max-width: 899px)  { :root { --gutter: 24px; --section-y: 56px; --header-h: 72px; } }
@media (max-width: 639px)  { :root { --gutter: 20px; } }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--c-ink); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
a { color: var(--c-link); text-underline-offset: 3px; }
strong { color: var(--c-ink); font-weight: 600; }
::selection { background: var(--citron); color: var(--ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 5px;
  border-radius: 4px;
}
main:focus { outline: none; }
.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: absolute; left: 16px; top: -120px; z-index: 200;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Sections et thèmes ===== */
.section { position: relative; padding-block: var(--section-y); background: var(--c-bg); color: var(--c-body); }
.section--flush-top { padding-top: 0; }
.s-ivory { --c-bg: var(--ivory); }
.s-sand  { --c-bg: var(--sand); }
.s-white { --c-bg: var(--white); }
.theme-cobalt, .s-cobalt {
  --c-bg: var(--cobalt);
  --c-ink: #ffffff;
  --c-body: #ffffff;
  --c-muted: #ffffff;
  --c-accent: var(--citron);   /* grand texte et formes uniquement */
  --c-link: #ffffff;
  --c-eyebrow: #ffffff;
  --c-line: rgb(255 255 255 / 23%);
  --c-focus: #ffffff;
  background: var(--cobalt);
  color: #fff;
}
.clip { overflow: hidden; }

/* ===== Typographie ===== */
/* L'interlettrage serré de la charte réduit aussi l'espace entre les mots : on le compense. */
.h-hero  { font-size: var(--fs-hero); font-weight: 800; line-height: 1.06; letter-spacing: -0.064em; word-spacing: 0.12em; }
.h-page  { font-size: var(--fs-page); font-weight: 800; line-height: 1.07; letter-spacing: -0.058em; word-spacing: 0.11em; }
.h-close { font-size: var(--fs-close); font-weight: 700; line-height: 1.1; letter-spacing: -0.05em; word-spacing: 0.09em; }
.h2      { font-size: var(--fs-h2); line-height: 1.13; letter-spacing: -0.049em; word-spacing: 0.08em; }
.h2--sm  { font-size: var(--fs-h2-sm); line-height: 1.18; letter-spacing: -0.042em; word-spacing: 0.07em; }
.h3      { font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.03em; }
.lede    { font-size: var(--fs-lede); line-height: 1.85; color: var(--c-body); }
.small   { font-size: var(--fs-small); line-height: 1.7; }
.muted   { color: var(--c-muted); }
.accent  { color: var(--c-accent); }
.mono    { font-family: var(--mono); }
.hl {
  background-image: linear-gradient(var(--citron), var(--citron));
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 86%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.6;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--c-eyebrow);
}
.duo { display: inline-flex; gap: 5px; flex: none; }
.duo::before, .duo::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.duo::after { background: var(--citron); }
.theme-cobalt .duo::before, .s-cobalt .duo::before { background: var(--ivory); }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.3; margin: 40px 0 12px; }
.prose ul { padding-left: 20px; margin-top: 10px; }

/* ===== En-tête de section ===== */
.section-head { margin-bottom: 56px; }
.section-head--compact { margin-bottom: 32px; }
.section-head__grid {
  display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: 24px 72px; align-items: end;
}
.section-head__grid .lede { max-width: 34em; }
.section-head--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-top: 18px; }
@media (max-width: 899px) {
  .section-head { margin-bottom: 36px; }
  .section-head__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Boutons et liens ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: 600 var(--fs-btn)/1.2 var(--font); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
}
.btn .icon { width: 16px; height: 16px; transition: transform var(--t); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 14px; }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-dark); box-shadow: var(--shadow-active); }
.btn--citron { background: var(--citron); color: var(--ink); }
.btn--citron:hover { background: var(--citron-hover); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--field); }
.btn--ghost:hover { border-color: var(--c-ink); }
.theme-cobalt .btn--ghost, .s-cobalt .btn--ghost { border-color: rgb(255 255 255 / 65%); }
.theme-cobalt .btn--ghost:hover, .s-cobalt .btn--ghost:hover { border-color: #fff; }
.btn--back { background: transparent; color: var(--ink); border-color: var(--field); }
.btn--back:hover .icon { transform: translateX(-3px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--c-link); text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover { text-decoration: underline; }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }
.closers {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 20px; padding: 0; list-style: none;
  font-size: var(--fs-small); color: var(--c-muted);
}
.closers li { display: inline-flex; align-items: center; gap: 8px; }
.closers .icon { width: 16px; height: 16px; color: var(--c-accent); stroke-width: 2; }

/* Bandeau de la version de validation (build.py --validation uniquement) */
.review-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
  padding: 9px var(--gutter); background: var(--ink); color: #fff;
  font-size: 12px; line-height: 1.5; text-align: center;
}
.review-banner strong { color: #fff; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.review-banner .duo::before { background: var(--ivory); }

/* ===== En-tête du site ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(248 247 243 / 95%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-sig { width: 37px; height: 37px; }
.logo-word {
  font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.061em;
  text-transform: lowercase; color: var(--ink);
}
.logo-word--inverse { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; padding: 0; list-style: none; }
.nav-list > li > a {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-block);
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: color var(--t), background-color var(--t);
}
.nav-list > li > a, .nav-sub-toggle { white-space: nowrap; }
.nav-list > li > a:hover { color: var(--cobalt); }
.nav-list > li > a[aria-current] { color: var(--cobalt); font-weight: 600; }
.nav-list > li > a[aria-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--cobalt);
}

/* Sous-menu « Plateforme » : panneau ouvert au clic (ordinateur) */
.nav-item--sub { position: relative; }
.nav-sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px 0 14px; border: 0; border-radius: var(--r-block);
  background: transparent; color: var(--ink); font: 500 14px var(--font); cursor: pointer;
  transition: color var(--t);
}
.nav-sub-toggle:hover, .nav-item--sub.is-open .nav-sub-toggle { color: var(--cobalt); }
.nav-sub-toggle .icon { width: 16px; height: 16px; transition: transform var(--t); }
.nav-item--sub.is-open .nav-sub-toggle .icon { transform: rotate(180deg); }
.nav-item--sub.is-current .nav-sub-toggle { color: var(--cobalt); font-weight: 600; }
.nav-item--sub.is-current .nav-sub-toggle::after {
  content: ""; position: absolute; left: 14px; right: 32px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--cobalt);
}
.nav-sub-heading { display: none; }
.nav-sub {
  display: none; position: absolute; z-index: 60; top: calc(100% + 10px); left: -8px;
  width: 360px; padding: 8px;
  background: #fff; border: 1px solid var(--tile-line); border-radius: var(--r-tile);
  box-shadow: 0 24px 48px -24px rgb(23 27 39 / 35%);
}
.nav-item--sub.is-open .nav-sub,
.no-js .nav-item--sub:hover .nav-sub,
.no-js .nav-item--sub:focus-within .nav-sub { display: block; }
.nav-sub ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-sub__link {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-block);
  color: var(--ink); text-decoration: none; transition: background-color var(--t);
}
.nav-sub__link:hover, .nav-sub__link[aria-current] { background: var(--cobalt-50); }
.nav-sub__link[aria-current] .nav-sub__title { color: var(--cobalt); }
.nav-sub__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cobalt-50); color: var(--cobalt); }
.nav-sub__link:hover .nav-sub__icon, .nav-sub__link[aria-current] .nav-sub__icon { background: #fff; }
.nav-sub__icon .icon { width: 20px; height: 20px; }
.nav-sub__title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.nav-sub__desc { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--field); border-radius: var(--r-pill);
  background: transparent; color: var(--ink);
  font: 600 13px var(--font); cursor: pointer;
}
.nav-toggle .icon { width: 18px; height: 18px; }
/* Mobile : l'appel à l'action reste visible sans ouvrir le menu */
.header-cta { display: none; }
/* Entre 1024 et 1199 px : 5 rubriques et le bouton tiennent sur une ligne en resserrant les espaces. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-inner { gap: 16px; }
  .site-nav { gap: 14px; }
  .nav-list { gap: 0; }
  .nav-list > li > a { padding: 0 9px; }
  .nav-list > li > a[aria-current]::after { left: 9px; right: 9px; }
  .nav-sub-toggle { padding: 0 6px 0 9px; }
  .nav-item--sub.is-current .nav-sub-toggle::after { left: 9px; right: 28px; }
  .nav-cta { padding: 0 18px; }
}
.header-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.header-note .icon { color: var(--cobalt); width: 16px; height: 16px; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 10px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 18px; margin-left: auto; }
  .no-js .header-cta { margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.is-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { width: 100%; min-height: 52px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-list > li > a[aria-current]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  /* Mobile : pas de panneau, l'intitulé « Plateforme » et ses 4 liens restent visibles */
  .nav-sub-toggle { display: none; }
  .nav-sub-heading {
    display: flex; align-items: center; min-height: 52px; margin: 0; padding: 0 4px;
    font-size: 16px; font-weight: 500; color: var(--ink);
  }
  .nav-item--sub.is-current .nav-sub-heading { color: var(--cobalt); font-weight: 600; }
  .nav-sub, .no-js .nav-item--sub:hover .nav-sub {
    display: block; position: static; width: auto; padding: 0 0 10px 12px;
    background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none;
  }
  .nav-sub__link { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; min-height: 48px; padding: 6px 8px; }
  .nav-sub__icon { width: 28px; height: 28px; border-radius: 8px; }
  .nav-sub__icon .icon { width: 16px; height: 16px; }
  .nav-sub__title { font-size: 15px; font-weight: 500; }
  .nav-sub__link[aria-current] .nav-sub__title { font-weight: 600; }
  .nav-sub__desc { display: none; }
  .nav-cta { width: 100%; min-height: 52px; font-size: 14px; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 639px) {
  .header-note span { display: none; }
}
@media (max-width: 419px) {
  /* Très petits écrans : le bouton Menu garde son nom accessible mais n'affiche que l'icône */
  .nav-toggle { padding: 0 13px; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta { padding: 0 16px; }
}

/* ===== Fil d'Ariane ===== */
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 4px 8px;
  margin-bottom: 32px; padding: 0; list-style: none;
  font-size: var(--fs-small); color: var(--muted);
}
.breadcrumb li + li::before { content: "/" / ""; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cobalt); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ===== Héros d'accueil ===== */
/* Sans fil d'Ariane, le haut est augmenté pour que le sur-titre tombe au même endroit que sur les autres pages. */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 7.5vw, 110px) clamp(56px, 6vw, 88px); }
.hero__copy { position: relative; z-index: 2; }
.hero__copy .h-hero { margin-bottom: 26px; }
.hero__copy .lede { max-width: 33em; margin-bottom: 34px; }
.proof {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
}
.proof__label { font-size: var(--fs-small); color: var(--muted); }
.proof__list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.proof__list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--line-card); border-radius: var(--r-pill); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.proof__list .icon { width: 16px; height: 16px; color: var(--cobalt); }
/* Dernière pastille : le lien vers Sécurité & conformité, sans cadre */
.proof__list .proof__more { padding: 0 4px; border: 0; background: none; }
.proof__more .link-arrow { font-size: 13px; }


/* ===== Héros des pages intérieures ===== */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 96px); }
/* Héros : même grille et même cadre visuel sur toutes les pages.
   Pages du menu (et accueil) : le « a » animé ; sous-pages : le duo en quinconce ; pages de service : aucun visuel. */
.hero__grid, .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.page-hero .h-page { margin-bottom: 24px; max-width: 15em; }
.page-hero .lede { max-width: 38em; }
.page-hero .cta-row { margin-top: 32px; }
/* Cadre carré commun : rien n'en déborde vers le contenu situé dessous. */
.page-hero__art { position: relative; justify-self: end; align-self: center; width: 100%; max-width: 440px; aspect-ratio: 1; }
.page-hero__orbit {
  position: absolute; inset: 20% -4% 16% -4%;
  border: 1px solid var(--orbit); border-radius: 50%; transform: rotate(-28deg);
}
.duo-art { position: absolute; width: 62%; aspect-ratio: 1; left: 19%; top: 19%; }
.duo-art::before, .duo-art::after { content: ""; position: absolute; width: 66.6%; height: 66.6%; border-radius: 50%; }
.duo-art::before { left: 0; top: 0; background: var(--citron); }
.duo-art::after { right: 0; bottom: 0; background: var(--cobalt); }
.page-hero__sig { position: absolute; width: 76%; left: 12%; top: 11%; transform: rotate(-9deg); }
/* Mobile et petite tablette : le texte d'abord, sans visuel (même règle pour toutes les pages). */
@media (max-width: 899px) {
  .hero__grid, .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__art { display: none; }
}
/* Pastille d'état dans un sur-titre (pages « Bientôt ») */
.eyebrow .status-pill { margin: -4px 0 -4px 4px; padding: 2px 10px 2px 9px; font-size: 11px; text-transform: none; letter-spacing: 0; }

/* ===== Grilles et cartes ===== */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gap-lg { gap: 20px; }
@media (max-width: 1099px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px)  { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line-card); border-radius: var(--r-card);
  background: #fff; color: var(--body);
}
.card > .h3 { margin-bottom: 10px; }
/* :where() garde une spécificité faible : les classes dédiées (.figure, .small…) l'emportent. */
:where(.card) p { font-size: 14px; line-height: 1.75; }
:where(.card) p + p { margin-top: 10px; }
.card .link-arrow { margin-top: auto; padding-top: 22px; }
.card--link { text-decoration: none; transition: border-color var(--t), transform var(--t), box-shadow var(--t); }
.card--link:hover { border-color: var(--cobalt); transform: translateY(-3px); box-shadow: var(--shadow); }
.card--top { border-top: 2px solid var(--cobalt); }
.card--featured { background: var(--cobalt-50); border-color: var(--cobalt-100); }
.card--featured .icon-tile { background: #fff; }
.card--figure { background: var(--citron); border-color: var(--citron); color: var(--olive); }
.card--figure .figure { color: var(--ink); }
.card--ink { background: var(--ink); border-color: var(--ink); color: #c3c5d0; }
.card--ink .h3 { color: #fff; }
.card--ink .icon-tile { background: rgb(255 255 255 / 9%); color: var(--citron); }
.card.theme-cobalt { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.card.theme-cobalt .h3, .card.theme-cobalt .chips-label { color: #fff; }
/* 6 % max : le texte blanc garde un contraste ≥ 4,6:1 sur ce fond. */
.card--glass { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 23%); color: #fff; }
/* Carte blanche dans une section Cobalt : rétablit les couleurs du thème clair (icônes, liens, filets) */
.card--light { --c-ink: var(--ink); --c-body: var(--body); --c-muted: var(--muted); --c-accent: var(--cobalt); --c-link: var(--cobalt); --c-eyebrow: var(--cobalt); --c-line: var(--line); --c-focus: var(--cobalt); }
.card--glass .h3 { color: #fff; }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.card--glass .card__num { color: #fff; }
.figure {
  font-size: clamp(44px, 5vw, 76px); font-weight: 600; line-height: 1;
  letter-spacing: -0.065em; color: var(--c-ink); margin-bottom: 14px;
}
.figure--md { font-size: clamp(36px, 3.6vw, 52px); }
.figure.accent { color: var(--c-accent); }
.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 60px; height: 60px; margin-bottom: 22px;
  border-radius: var(--r-tile); background: var(--cobalt-50); color: var(--cobalt);
}
.icon-tile .icon { width: 30px; height: 30px; stroke-width: 1.3; }
.icon-tile--sm { width: 48px; height: 48px; margin-bottom: 18px; }
.icon-tile--sm .icon { width: 24px; height: 24px; }
.theme-cobalt .icon-tile, .s-cobalt .icon-tile { background: rgb(255 255 255 / 12%); color: var(--citron); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-badge);
  background: var(--citron-50); color: var(--positive);
  font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em;
}
.badge--cobalt { background: var(--cobalt-50); color: var(--cobalt-dark); }
.badge--warn { background: #fdf2e6; color: var(--warning); }
.tagline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }

/* ===== Listes ===== */
.checklist { display: grid; gap: 12px; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.7; }
.checklist .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-accent); stroke-width: 2; }
.checklist--lg li { font-size: 15px; }
.checklist--alert .icon { color: var(--citron); }
/* Pastilles rondes : la coche et l'alerte gardent le même poids visuel côte à côte (section du dilemme) */
.checklist--badge li { grid-template-columns: 24px minmax(0, 1fr); }
.checklist--badge .icon { width: 12px; height: 12px; margin-top: 1px; padding: 6px; border-radius: 50%; background: rgb(255 255 255 / 14%); stroke-width: 2.5; box-sizing: content-box; }
.feature-list { display: grid; gap: 22px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
.feature-list .icon-tile { margin: 0; }
.feature-list--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 699px) { .feature-list--row { grid-template-columns: minmax(0, 1fr); } }
.feature-list :is(h2, h3) { font-size: 16px; line-height: 1.45; letter-spacing: -0.02em; margin-bottom: 4px; }
.feature-list p { font-size: 14px; line-height: 1.75; }

/* ===== Mise en page en deux colonnes ===== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
.split__copy .h2, .split__copy .h2--sm { margin-bottom: 20px; }
.split__copy .lede + .checklist, .split__copy .lede + .feature-list { margin-top: 28px; }
.split__copy .link-arrow { margin-top: 28px; }
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
}
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 899px) { .sticky-col { position: static; } }

/* ===== Étapes (Cobalt → Encre → Citron) ===== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; list-style: none; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: 78px; right: -24px;
  height: 1px; background: var(--line-strong);
}
.step__dot {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin-bottom: 26px; border-radius: 50%;
  font-size: 20px; font-weight: 700; letter-spacing: -0.03em;
}
.steps li:nth-child(1) .step__dot { background: var(--cobalt); color: #fff; }
.steps li:nth-child(2) .step__dot { background: var(--ink); color: #fff; }
.steps li:nth-child(3) .step__dot { background: var(--citron); color: var(--ink); }
.steps :is(h2, h3) { margin-bottom: 8px; }
.steps p { font-size: 14px; line-height: 1.75; max-width: 30em; }
@media (max-width: 799px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { padding-left: 86px; min-height: 62px; }
  .step__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::after { left: 31px; right: auto; top: 70px; bottom: -22px; width: 1px; height: auto; }
}

/* ===== Accordéon (FAQ) ===== */
.accordion { border-top: 1px solid var(--acc-line); }
.accordion details { border-bottom: 1px solid var(--acc-line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--cobalt); }
.acc-ind {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--acc-line); color: var(--ink);
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.acc-ind .icon { width: 16px; height: 16px; transition: transform var(--t); }
details[open] .acc-ind { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
details[open] .acc-ind .icon { transform: rotate(45deg); }
.acc-body { padding: 0 56px 26px 0; font-size: 15px; line-height: 1.85; }
.acc-body p + p { margin-top: 10px; }
@media (max-width: 639px) { .acc-body { padding-right: 0; } }

/* ===== Matrice de décision ===== */
/* La colonne AgentSpot se détache comme une carte posée sur le tableau : en-tête et pied Cobalt,
 * marques pleines. Les autres colonnes restent sobres. Sous 740 px, chaque marque se réduit à sa
 * pastille (le texte reste lu par les lecteurs d'écran) : le tableau tient sans défilement. */
.table-wrap { overflow-x: auto; border-radius: var(--r-panel); }
/* La matrice tient sans défilement : son conteneur laisse dépasser l'en-tête AgentSpot et l'ombre */
.table-wrap:has(> .compare) { overflow: visible; padding-top: 8px; border-radius: 0; }
.compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; filter: drop-shadow(0 24px 40px rgb(23 27 39 / 7%)); }
.compare thead th:first-child { width: 40%; }
.compare th, .compare td { padding: 18px 22px; text-align: center; vertical-align: middle; }
.compare thead th { padding-bottom: 16px; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); vertical-align: bottom; }
.compare thead th small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.compare tbody th, .compare tbody td { background: #fff; border-bottom: 1px solid var(--line-card); transition: background-color var(--t); }
.compare tbody tr:first-child > * { border-top: 1px solid var(--line-card); }
.compare tbody th { border-left: 1px solid var(--line-card); text-align: left; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.compare tbody tr:first-child th { border-top-left-radius: var(--r-panel); }
.compare tbody tr:last-child th { border-bottom-left-radius: var(--r-panel); }
.compare tbody th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.compare tbody tr:hover > th, .compare tbody tr:hover > td:not(.is-us) { background: var(--ivory); }
.compare__crit { display: flex; align-items: center; gap: 14px; }
.compare__icon { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cobalt-50); color: var(--cobalt); }
.compare__icon .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.compare .is-us { border-right: 2px solid var(--cobalt); border-left: 2px solid var(--cobalt); }
.compare thead .is-us { padding-top: 24px; border-radius: var(--r-panel) var(--r-panel) 0 0; background: var(--cobalt); color: #fff; }
.compare tbody .is-us, .compare tbody tr:first-child .is-us { border-top: 0; background: #f6f8ff; }
.compare__sig { display: block; width: 26px; height: 26px; margin: 0 auto 8px; }
.compare tfoot th, .compare tfoot td { padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--muted); }
.compare tfoot th { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-align: left; text-transform: uppercase; }
.compare tfoot strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.compare tfoot .is-us { border-radius: 0 0 var(--r-panel) var(--r-panel); background: var(--cobalt); color: rgb(255 255 255 / 82%); }
.compare tfoot .is-us strong { color: #fff; }
.mark { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1.3; }
.mark .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; stroke-width: 2.6; }
.mark--yes { background: var(--citron-50); color: var(--positive); }
.mark--yes .icon { background: var(--citron); color: var(--ink); }
.mark--no { background: rgb(185 28 28 / 6%); color: var(--danger); }
.mark--no .icon { background: rgb(185 28 28 / 12%); }
.mark--partial { background: rgb(180 83 9 / 7%); color: var(--warning); }
.mark--partial .icon { background: rgb(180 83 9 / 14%); }
.compare .is-us .mark--yes { background: var(--cobalt); color: #fff; }
.compare .is-us .mark--yes .icon { background: #fff; color: var(--cobalt); }
.table-note { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 739px) {
  .compare { font-size: 13px; filter: none; }
  .compare th, .compare td { padding: 14px 4px; }
  .compare thead th { padding: 14px 4px 12px; font-size: 11px; hyphens: auto; overflow-wrap: anywhere; }
  .compare thead th:first-child { width: 37%; }
  .compare thead .is-us { padding-right: 2px; padding-left: 2px; hyphens: none; overflow-wrap: normal; }
  .compare tbody th { padding-left: 14px; font-size: 13px; }
  .compare thead th small, .compare__icon { display: none; }
  .compare__sig { width: 20px; height: 20px; margin-bottom: 6px; }
  .compare tfoot th { padding-left: 14px; font-size: 10px; letter-spacing: 0.1em; }
  .compare tfoot strong { font-size: 15px; }
  .compare .mark { padding: 0; background: none; }
  .compare .mark .icon { width: 30px; height: 30px; padding: 7px; }
  .compare .is-us .mark--yes .icon { background: var(--cobalt); color: #fff; }
  .compare .mark__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  .compare thead th:first-child { width: 33%; }
  .compare thead .is-us { font-size: 10px; }
}

/* ===== Blocs techniques ===== */
.code {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  background: #fff; border: 1px solid var(--line-card); border-left: 2px solid var(--cobalt); border-radius: var(--r-block);
  font: 13px/1.65 var(--mono); color: var(--ink); white-space: pre;
}
.code .k { color: var(--cobalt); }
.code .s { color: var(--positive); }
.code .c { color: var(--muted); }
.mock {
  border: 1px solid var(--tile-line); border-radius: var(--r-tile); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--tile-line);
  font: 12px/1.4 var(--mono); color: var(--muted);
}
.mock__bar .icon { width: 15px; height: 15px; color: var(--cobalt); }
.mock__bar-title { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.mock__body { padding: 22px; }
.mock__body--flush { padding: 0; }
.mock__caption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.prompt-box {
  padding: 16px 18px; border: 1px solid var(--field); border-radius: 10px; background: #fff;
  font: 13px/1.6 var(--mono); color: var(--ink);
}
.arrow-down { display: grid; place-items: center; padding: 12px 0; color: var(--cobalt); }
.arrow-down .icon { width: 22px; height: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--tile-line); border-radius: var(--r-block); background: #fff;
  font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.chip .icon { width: 15px; height: 15px; color: var(--cobalt); }
.chip--cobalt { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.chip--cobalt .icon { color: var(--citron); }
.chip--soft { background: var(--cobalt-50); border-color: var(--cobalt-100); }
.chip--citron { background: var(--citron); border-color: var(--citron); color: var(--ink); }
.chip--citron .icon { color: var(--ink); }
.chip--muted { background: var(--tile); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h3--icon { display: flex; align-items: center; gap: 10px; }
.h3--icon .icon { width: 22px; height: 22px; color: var(--cobalt); }
.chips-label { margin: 22px 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); }
.chips-label:first-child { margin-top: 0; }

/* ===== Noms de marques ===== */
/* Modèles et outils tiers cités en texte, sans logo (pas d'autorisation des éditeurs) :
 * pastilles sur l'accueil, listes à coches sur la page Intégrations. */
.brand-names { display: grid; gap: 28px; }
.name-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.name-pills li {
  padding: 8px 16px; border: 1px solid var(--line-card); border-radius: var(--r-pill); background: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.name-pills span { font-weight: 400; color: var(--muted); }
.name-pills .name-pills__gateway { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.name-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 0; list-style: none; }
.name-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.name-list li {
  display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.name-list .icon { flex: none; align-self: center; width: 16px; height: 16px; color: var(--c-accent); stroke-width: 2; }
.name-list__meta { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--muted); text-align: right; }
.name-list .name-list__gateway { grid-column: 1 / -1; }
.brand-names__cta { margin-top: 28px; }
.brand-names__note { margin-top: 20px; font-size: 12px; color: var(--muted); }
@media (max-width: 899px) { .name-list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .name-list, .name-list--3 { grid-template-columns: minmax(0, 1fr); } }

/* Flux horizontal : chips reliés par des flèches */
.flow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; list-style: none; }
.flow-row .sep { color: var(--cobalt); display: inline-grid; }
.flow-row .sep .icon { width: 18px; height: 18px; }
.flow-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.flow-label--accent { color: var(--cobalt); }
.loop {
  display: grid; grid-template-columns: repeat(2, auto); gap: 6px; position: relative;
  padding: 10px; border: 1px solid var(--cobalt-100); border-radius: var(--r-block); background: var(--cobalt-50);
}
.loop__icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--cobalt-100); color: var(--cobalt);
}
.loop__icon .icon { width: 14px; height: 14px; }
.divider { height: 1px; background: var(--line-card); margin: 26px 0; border: 0; }

/* Mesure budgétaire */
.meter { height: 10px; border-radius: var(--r-pill); background: var(--cobalt-50); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--cobalt); }
.meter-legend { display: flex; justify-content: space-between; margin-top: 10px; font: 12px/1.4 var(--mono); color: var(--muted); }
.killswitch {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid #f1c7c7; border-radius: 10px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5;
}
.killswitch .icon { width: 22px; height: 22px; color: var(--danger); }

/* Registre d'exécution */
.log { width: 100%; border-collapse: collapse; font: 12px/1.5 var(--mono); color: var(--ink); }
.log th { padding: 10px 14px; text-align: left; font-weight: 400; color: var(--muted); border-bottom: 1px solid var(--tile-line); white-space: nowrap; }
.log td { padding: 11px 14px; border-bottom: 1px solid var(--tile-line); white-space: nowrap; }
.log tr:last-child td { border-bottom: 0; }
.log .badge { font-family: var(--mono); font-weight: 500; font-size: 11px; }
.log-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--tile-line); }
.log-fields div { padding: 16px; border-right: 1px solid var(--tile-line); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.log-fields div:last-child { border-right: 0; }
.log-fields .icon { width: 18px; height: 18px; color: var(--cobalt); margin-bottom: 10px; }
@media (max-width: 899px) {
  .log-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .log-fields div:nth-child(3n) { border-right: 0; }
  .log-fields div:nth-child(-n+3) { border-bottom: 1px solid var(--tile-line); }
}
.otel {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600;
}
.otel .icon { width: 18px; height: 18px; color: var(--citron); }

/* Sas de sécurité */
.gate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.gate::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 1px; background: var(--cobalt); }
.gate .card { z-index: 1; }
.gate-ends { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.gate-ends span { display: inline-flex; align-items: center; gap: 8px; }
.gate-ends .icon { width: 16px; height: 16px; color: var(--cobalt); }
.gate-track { position: relative; flex: 1; align-self: center; margin: 0 16px; border-top: 1px dashed var(--line-strong); }
@media (max-width: 899px) { .gate { grid-template-columns: minmax(0, 1fr); } .gate::before { left: 50%; right: auto; top: 4%; bottom: 4%; width: 1px; height: auto; } }

/* Architecture */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.15fr) 40px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.arch__arrow { display: grid; place-items: center; color: var(--cobalt); }
.arch__arrow .icon { width: 26px; height: 26px; }
.arch__core { justify-content: center; }
.arch .chips-label { margin-top: 0; }
@media (max-width: 999px) {
  .arch { grid-template-columns: minmax(0, 1fr); }
  .arch__arrow .icon { transform: rotate(90deg); }
}

/* Hub omnicanal */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hub__core {
  display: grid; place-items: center; align-content: center; gap: 8px;
  width: 210px; aspect-ratio: 1; border-radius: 50%;
  background: var(--cobalt); color: #fff; text-align: center;
  outline: 14px solid var(--citron); outline-offset: 8px; margin: 22px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.hub__core .icon { width: 30px; height: 30px; color: #fff; }
.hub .chips { flex-direction: column; align-items: stretch; }
.hub .chip { justify-content: flex-start; }
.hub__side--grid .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) {
  .hub { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hub > div { width: 100%; }
  .hub__core { width: 180px; }
}

/* Schémas d'orchestration (carte complexité × autonomie) */
.plot {
  position: relative; aspect-ratio: 1.55; margin: 0 0 34px 34px;
  border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat;
}
.plot__zone { position: absolute; right: 0; top: 0; width: 50%; height: 50%; background: #fff; }
.plot__pill {
  position: absolute; transform: translate(-50%, -50%);
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; line-height: 1.4;
}
.plot__pill--cobalt { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.plot__pill--citron { background: var(--citron); border-color: var(--citron); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; white-space: normal; padding: 10px; }
.plot__axis-x, .plot__axis-y { position: absolute; font-size: 12px; font-weight: 600; color: var(--ink); }
.plot__axis-x { bottom: -32px; left: 50%; transform: translateX(-50%); }
.plot__axis-y { left: -30px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }
@media (max-width: 639px) { .plot { display: none; } }
.plot-list { display: none; }
@media (max-width: 639px) { .plot-list { display: flex; } }

/* Chaîne d'agents */
.chain { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr); gap: 8px; align-items: center; }
.chain .sep { display: grid; place-items: center; color: var(--cobalt); }
.chain .sep .icon { width: 20px; height: 20px; }
.chain-back {
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.chain-back .icon { width: 16px; height: 16px; color: var(--cobalt); }
@media (max-width: 799px) {
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain .sep .icon { transform: rotate(90deg); }
  .chain-back { justify-content: flex-start; }
}

/* Médias : vidéo décorative (accueil) et photo d'atelier (Déployer) */
.media-band { margin: 0 0 48px; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 21 / 9; }
.media-band__video { width: 100%; height: 100%; object-fit: cover; }
.media-figure { max-width: 880px; margin: 48px auto 0; border-radius: var(--r-tile); overflow: hidden; }
.media-figure img { width: 100%; height: auto; }
@media (max-width: 639px) { .media-band { aspect-ratio: 16 / 9; } }

/* Workflow multi-agents (cas d'usage) */
.timeline { position: relative; display: grid; gap: 14px; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line-strong); }
.timeline > li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
.timeline__num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.timeline__num--cobalt { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.timeline__num--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.timeline .card { padding: 20px 22px; }
.timeline .card .h3 { font-size: 16px; margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.timeline__parallel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 639px) { .timeline__parallel { grid-template-columns: minmax(0, 1fr); } }

/* Iceberg du coût réel */
.iceberg { display: grid; gap: 10px; }
.iceberg__tip { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.iceberg__line {
  position: relative; margin: 16px 0; height: 1px; background: rgb(255 255 255 / 40%);
}
.iceberg__line span {
  position: absolute; right: 0; top: -10px; padding-left: 12px; background: var(--cobalt);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.layer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 20px; border: 1px solid rgb(255 255 255 / 23%); border-radius: var(--r-block);
  background: rgb(255 255 255 / 6%);
}
.layer strong { color: #fff; display: block; font-size: 15px; }
.layer p { font-size: 14px; line-height: 1.6; }
.layer .icon { width: 20px; height: 20px; color: var(--citron); stroke-width: 2; }

/* Équation de valeur */
.equation { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px 36px; align-items: center; }
.fraction { text-align: center; }
.fraction > div { padding: 14px 10px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.35; }
.fraction hr { margin: 0; border: 0; height: 2px; background: var(--ink); }
.equation__eq { font-size: 48px; font-weight: 300; color: var(--cobalt); line-height: 1; }
.equation__res { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -0.05em; color: var(--cobalt); }
@media (max-width: 799px) { .equation { grid-template-columns: minmax(0, 1fr); text-align: center; } }

/* Équilibre innovation / contrôle */
.balance { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; }
.balance__core { display: grid; place-items: center; gap: 12px; text-align: center; padding: 0 12px; }
.balance__core .duo-mini { position: relative; width: 84px; height: 84px; }
.balance__core .duo-mini::before, .balance__core .duo-mini::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; }
.balance__core .duo-mini::before { left: 0; top: 0; background: var(--citron); }
.balance__core .duo-mini::after { right: 0; bottom: 0; background: var(--cobalt); }
.balance__core strong { font-size: 18px; letter-spacing: -0.03em; }
@media (max-width: 799px) { .balance { grid-template-columns: minmax(0, 1fr); } }

/* Ancres internes (sommaire de page) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.toc a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-card); border-radius: var(--r-pill); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: border-color var(--t), color var(--t), background-color var(--t);
}
.toc a:hover { border-color: var(--cobalt); color: var(--cobalt); background: var(--cobalt-50); }
.toc .num { font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 12px; }

/* Rangées d'avantages */
.adv { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.adv:first-child { border-top: 0; padding-top: 0; }
.adv:last-child { padding-bottom: 0; }
.adv__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--cobalt); }
.adv__kicker .num { font-family: var(--mono); font-weight: 400; color: var(--muted); }

/* Section Cobalt : éléments décoratifs ton sur ton */
.deco-circle { position: absolute; border-radius: 50%; background: var(--cobalt-dark); pointer-events: none; }
.deco-ring { position: absolute; border-radius: 50%; border: 46px solid var(--citron); pointer-events: none; }
.s-cobalt > .container { position: relative; z-index: 1; }
.statement { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.28; letter-spacing: -0.04em; color: #fff; max-width: 26em; }

/* Capture produit */
.shot { border: 1px solid var(--tile-line); border-radius: var(--r-tile); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgb(23 27 39 / 45%); }
.shot--on-cobalt { border-color: rgb(255 255 255 / 30%); box-shadow: 0 40px 80px -40px rgb(10 20 80 / 60%); }
.shot figcaption, .figure-caption { padding: 12px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--tile-line); background: #fff; }
.phone { max-width: 300px; margin-inline: auto; border-radius: 28px; overflow: hidden; border: 8px solid var(--ink); box-shadow: var(--shadow); background: #fff; }

/* Panneau de clôture */
.closing { padding-bottom: var(--section-y); background: var(--c-bg); }
.s-sand + .closing, .s-cobalt + .closing { padding-top: var(--section-y); }
.closing__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 88px); border-radius: var(--r-panel);
}
.closing__sig { position: absolute; z-index: -1; right: -4%; bottom: -26%; width: min(46%, 520px); transform: rotate(-10deg); }
.closing__content { max-width: 620px; }
.closing__content .h-close { margin-bottom: 20px; }
.closing__content .lede { margin-bottom: 32px; max-width: 32em; }
@media (max-width: 799px) {
  .closing__panel { padding-bottom: 240px; }
  .closing__sig { width: 260px; right: -40px; bottom: -70px; }
}

/* ===== Pied de page ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--ivory); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; padding-bottom: 56px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-promise { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 8px; }
.footer-text { font-size: 14px; line-height: 1.75; max-width: 26em; margin-bottom: 18px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-title { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 2px; padding: 0; list-style: none; }
.footer-col a, .footer-col .link-button { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--body); text-decoration: none; word-break: break-word; }
.footer-col a:hover, .footer-col .link-button:hover { color: var(--cobalt); text-decoration: underline; }
.footer-soon {
  margin-left: 8px; padding: 1px 7px; border-radius: var(--r-badge);
  background: var(--cobalt-50); color: var(--cobalt-dark);
  font-size: 10.5px; font-weight: 600; line-height: 1.6; text-decoration: none;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--line);
  font-size: var(--fs-small); color: var(--muted);
}
.footer-bottom a, .footer-bottom .link-button { color: var(--muted); }
.footer-bottom .link-button { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.devise { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: var(--ink); }
.site-footer--landing { padding-top: 0; }
@media (max-width: 899px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 1099px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Bandeau de consentement (mesure d'audience) ===== */
/* Carte posée en bas de l'écran, sans voile : la page reste lisible et utilisable avant tout choix.
   « Refuser » et « Accepter » ont exactement le même poids : même taille, même style. */
.link-button {
  padding: 0; border: 0; background: none;
  font: inherit; color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cookie-banner {
  position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-inline: auto; padding: 22px 24px 24px;
  border: 1px solid var(--line-card); border-radius: var(--r-panel);
  background: var(--white); box-shadow: 0 18px 48px -18px rgb(23 27 39 / 35%);
}
.cookie-banner__title { margin-bottom: 6px; font-size: var(--fs-body); font-weight: 700; color: var(--ink); }
.cookie-banner__text { margin-bottom: 18px; font-size: 14px; line-height: 1.7; }
.cookie-banner__actions { display: flex; gap: 12px; }
.cookie-banner__actions .btn { flex: 1 1 0; }
.cookie-manage { margin-top: 20px; }
/* dev et staging : le serveur ajoute en fin de page un bandeau d'environnement fixe, haut d'une trentaine de pixels. */
body:has(> div[role="note"]:last-child) .cookie-banner { bottom: 46px; }
@media (max-width: 639px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 18px 20px; }
}

/* ===== Page de démonstration (landing) ===== */
.landing { padding-block: clamp(36px, 5vw, 72px) var(--section-y); }
/* Mobile : le formulaire suit directement le titre ; les détails passent dessous. */
.landing__grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  grid-template-areas: "intro form" "details form"; grid-template-rows: auto 1fr;
  gap: 0 clamp(40px, 6vw, 96px); align-items: start;
}
.landing__intro { grid-area: intro; }
.landing__details { grid-area: details; }
.landing__grid .form-card { grid-area: form; }
.landing__intro .h-page { font-size: clamp(34px, 3.8vw, 54px); margin-bottom: 22px; }
.landing__intro .lede { margin-bottom: 30px; }
.landing__aside { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 999px) {
  .landing__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "details"; grid-template-rows: auto; }
  .landing__details { margin-top: 40px; }
}

.form-card { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line-card); border-radius: var(--r-panel); background: #fff; box-shadow: var(--shadow); }
.progress { margin-bottom: 28px; }
.progress__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.progress__meta span:last-child { color: var(--muted); font-weight: 500; }
.progress__bar { height: 6px; border-radius: var(--r-pill); background: var(--cobalt-50); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 33.333%; background: var(--cobalt); border-radius: inherit; transition: width 0.3s ease; }
.no-js .progress { display: none; }

fieldset.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.js fieldset.step:not(.is-active) { display: none; }
.no-js fieldset.step + fieldset.step { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.step legend { padding: 0; margin-bottom: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); line-height: 1.3; }
.step legend:focus { outline: none; }
.step__hint { margin-bottom: 24px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 539px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.label { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--field); border-radius: 10px; background: #fff;
  font: 15px/1.4 var(--font); color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.textarea { min-height: 104px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23171B27' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--danger); line-height: 1.4; }
.field-error .icon { width: 16px; height: 16px; }
.field-error.is-visible { display: flex; }
.group-label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 539px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--tile-line); border-radius: var(--r-block); background: var(--tile);
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile .icon { width: 20px; height: 20px; color: var(--cobalt); stroke-width: 1.5; }
.tile:hover { background: var(--cobalt-50); border-color: var(--cobalt); }
.tile:has(input:checked) { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.tile:has(input:checked) .icon { color: var(--citron); }
.tile:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.tiles--4 .tile { justify-content: center; text-align: center; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 1.6; color: var(--body); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cobalt); }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.form-nav .btn--primary { margin-left: auto; }
.no-js .form-nav [data-next], .no-js .form-nav [data-prev] { display: none; }
.form-reassure { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-reassure .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--cobalt); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-pending { color: var(--muted); font-weight: 500; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--danger); }

/* ===== Pages d'attente (« Bientôt ») ===== */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 5px 14px 5px 12px; border-radius: var(--r-pill);
  background: var(--cobalt-50); border: 1px solid var(--cobalt-100); color: var(--cobalt-dark);
  font-size: 12px; font-weight: 600; line-height: 1.5;
}
.status-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt);
  box-shadow: 0 0 0 0 rgb(62 92 245 / 45%); animation: pulse 2s 0.6s ease-out 2; /* 0,6 + 2 × 2 = 4,6 s : sous les 5 s (WCAG 2.2.2) */
}
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(62 92 245 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(62 92 245 / 0%); } }
.badge--soon { background: var(--cobalt-50); color: var(--cobalt-dark); }
.badge--soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.badge--live { background: var(--citron-50); color: var(--positive); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__head .icon-tile { margin-bottom: 18px; }
.upcoming { display: grid; gap: 0; margin-top: 18px; padding: 0; list-style: none; border-top: 1px solid var(--line-card); }
.upcoming li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-card); font-size: 14px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.upcoming li span { font: 11px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.upcoming a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cobalt-100); text-underline-offset: 4px; }
.upcoming a:hover { text-decoration-color: var(--cobalt); }

/* ===== Articles (Ressources) ===== */
/* Une page par article : en-tête de sous-page, sections alternées, mêmes composants que le reste du site. */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--muted); }
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--cobalt); }
.article-meta strong { color: var(--ink); font-weight: 600; }
.article-prose p { font-size: 16px; line-height: 1.85; color: var(--c-body); }
.article-prose p + p { margin-top: 14px; }
.article-prose strong { color: var(--c-ink); font-weight: 600; }
.article-lead { font-size: clamp(17px, 1.5vw, 19px) !important; line-height: 1.75 !important; color: var(--c-ink) !important; }
.article-kicker { margin-bottom: 12px; font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.03em; color: var(--c-ink); }
.article-split { margin-top: 48px; }
.article-figure { margin: 40px 0 0; }
.article-figure__frame { overflow-x: auto; padding: 14px; border: 1px solid var(--line-card); border-radius: var(--r-panel); background: #fff; }
.article-figure__frame img { display: block; width: 100%; height: auto; min-width: 720px; border-radius: var(--r-block); }
.article-figure figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.7; color: var(--muted); }
.article-figure figcaption strong { color: var(--ink); }
.article-figure__hint { display: none; }
.article-note p + p { margin-top: 8px; }
.article-quote { margin: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--citron); }
.article-quote p { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; color: var(--ink); }
.article-vault { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 24px; padding: 20px; border: 1px solid var(--line-card); border-radius: var(--r-card); background: #fff; }
.article-vault .icon-tile { margin: 0; }
.article-vault p { font-size: 15px; }
.technique .h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.technique--best { border: 2px solid var(--cobalt); box-shadow: var(--shadow); }
.technique__list { display: grid; margin: 0; }
.technique__list > div { padding: 12px 0; border-top: 1px solid var(--line-card); }
.technique__list dt { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.technique__list dd { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink); }
.technique__list dd small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.technique__ex { font: 13px/1.6 var(--mono); color: var(--ink); }
.article-callout { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; margin-top: 32px; padding: 26px 28px; border: 1px solid var(--line-card); border-left: 3px solid var(--warning); border-radius: 0 var(--r-card) var(--r-card) 0; background: #fff; }
.article-callout .icon-tile { margin: 0; background: #fdf2e6; color: var(--warning); }
.article-callout .h3 { margin-bottom: 6px; }
.article-callout p { font-size: 15px; line-height: 1.75; }
.mail-sample { margin: 0; font: 13px/1.75 var(--mono); color: var(--ink); white-space: pre-line; }
.mail-sample mark { padding: 1px 4px; border-radius: 4px; background: var(--cobalt-50); color: var(--cobalt-dark); }
.article-steps { margin: 0; padding: 0; list-style: none; }
.article-steps__num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--citron); color: var(--ink); font-weight: 800; }
.article-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); }
.article-cta .lede { margin-top: 14px; }
.article-sources { display: grid; margin-top: 8px; padding: 0; list-style: none; }
.article-sources li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-card); }
.article-sources a { font-weight: 600; color: var(--cobalt); text-decoration: none; }
.article-sources a:hover { text-decoration: underline; }
.article-sources span { font-size: var(--fs-small); color: var(--muted); }
/* Tableau de synthèse : l'objectif RGPD en Cobalt, lignes empilées sur mobile (libellé repris par data-label) */
.article-table-wrap { border: 1px solid var(--line-card); background: #fff; }
.article-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.article-table th, .article-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-card); }
.article-table thead th { padding-block: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--ivory); }
.article-table tbody tr:last-child > * { border-bottom: 0; }
.article-table tbody th { width: 28%; font-weight: 700; color: var(--ink); }
.article-table td { color: var(--body); }
.article-table td:last-child { width: 32%; font-weight: 600; color: var(--cobalt); }
.article-table__num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%; background: var(--citron); color: var(--ink); font-size: 13px; font-weight: 800; vertical-align: 1px; }
/* Réflexes : en-tête à gauche, consignes à droite ; la figure occupe toute la largeur */
.article-reflexes { display: grid; gap: 20px; margin-top: 56px; }
.article-reflex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 56px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line-card); border-radius: var(--r-panel); background: #fff; }
.article-reflex__tag { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); }
.article-reflex__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--citron); color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0; }
.card > .article-reflex__num { margin-bottom: 18px; }
.article-reflex__head .h3 { margin-bottom: 12px; }
.article-reflex__lead { font-size: 16px; line-height: 1.75; color: var(--ink); }
.article-reflex .article-figure { grid-column: 1 / -1; margin-top: 8px; }
.article-reflex__more { margin-top: 20px; }
.article-tip { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; margin-top: 24px; padding: 20px 22px; border-left: 3px solid var(--citron); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--citron-50); }
.article-tip .icon-tile { margin: 0; background: var(--citron); color: var(--ink); }
.article-tip .chips-label { margin: 0 0 6px; color: var(--olive); }
.article-tip p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.card--figure .chips-label { color: var(--olive); }
@media (max-width: 899px) {
  .article-cta { grid-template-columns: minmax(0, 1fr); }
  .article-figure__hint { display: inline; }
  .article-reflex { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 739px) {
  .article-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .article-table, .article-table tbody, .article-table tr, .article-table th, .article-table td { display: block; width: auto; }
  .article-table tr { padding: 18px 20px; border-bottom: 1px solid var(--line-card); }
  .article-table tbody tr:last-child { border-bottom: 0; }
  .article-table th, .article-table td { padding: 0; border: 0; }
  .article-table tbody th, .article-table td:last-child { width: auto; }
  .article-table td { margin-top: 10px; }
  .article-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
}
.pending-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.pending-note .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--cobalt); }

/* Formulaire « Me prévenir » */
.notify {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--cobalt-100); border-radius: var(--r-panel);
  background: var(--cobalt-50);
}
.notify__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.04em; word-spacing: 0.06em; margin-bottom: 10px; }
.notify__copy p { font-size: 15px; line-height: 1.75; }
.notify__form .label { display: block; margin-bottom: 8px; }
.notify__row { display: flex; gap: 10px; }
.notify__row .input { flex: 1; min-width: 0; }
.notify__row .btn { min-height: 48px; }
.notify__form .field-error { margin-top: 8px; }
.notify__form .consent { margin-top: 14px; }
.notify__form .form-status:not(:empty) { margin-top: 14px; }
.notify__form .form-status.is-done {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 0;
  padding: 16px 18px; border-radius: var(--r-block); background: #fff; border: 1px solid var(--cobalt-100);
  color: var(--ink); font-weight: 600; line-height: 1.6;
}
.notify__form .form-status.is-done .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--success); stroke-width: 2; }
@media (max-width: 899px) { .notify { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 539px) { .notify__row { flex-direction: column; } .notify__row .btn { width: 100%; } }

/* Glossaire */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.term { padding: 28px; border: 1px solid var(--line-card); border-radius: var(--r-card); background: #fff; scroll-margin-top: calc(var(--header-h) + 24px); }
.term h2 { font-size: 20px; line-height: 1.35; letter-spacing: -0.03em; margin-bottom: 12px; }
.term .term__alt { margin: -8px 0 12px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.term p { font-size: 14.5px; line-height: 1.8; }
.term p + p { margin-top: 10px; }
.term .link-arrow { margin-top: 16px; font-size: 13px; }
.term:target { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-50); }
@media (max-width: 899px) { .terms { grid-template-columns: minmax(0, 1fr); } }

/* Termes reliés au glossaire : soulignement pointillé discret, la couleur du texte est conservée. */
.term-link {
  color: inherit; text-decoration: underline dotted 1.5px; text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
  transition: color var(--t);
}
.term-link:hover { color: var(--c-link); text-decoration-style: solid; text-decoration-color: currentColor; }

/* ===== Mouvement =====
 * Les ronds de la marque (duo, orbite, pastille, anneau) accompagnent la lecture : chaque
 * animation souligne un contenu, se joue une fois et s'arrête en moins de 5 s (WCAG 2.2.2).
 * Seuls transform, opacity et background-size sont animés (pas de décalage de mise en page).
 * La classe .motion est posée dans <head> seulement si le visiteur n'a pas demandé moins
 * d'animations ; main.js marque [data-reveal] les blocs situés sous la ligne de flottaison.
 * La lettre et le point du logo ne sont jamais animés séparément (charte § 2).
 */
:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-pop: cubic-bezier(0.34, 1.45, 0.64, 1); }

@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes pop { from { opacity: 0; scale: 0.4; } }
@keyframes hl-draw { from { background-size: 0% 0.28em; } }
@keyframes duo-split { from { translate: -13px 0; scale: 0.5; } }
@keyframes duo-in-a { from { opacity: 0; translate: -28% -28%; } }
@keyframes duo-in-b { from { opacity: 0; translate: 28% 28%; } }
@keyframes duo-meet-a { from { translate: -20px 14px; } }
@keyframes duo-meet-b { from { translate: 20px -14px; } }
@keyframes orbit-in { from { opacity: 0; rotate: -10deg; scale: 0.92; } }
@keyframes orbit-travel { from { offset-distance: 38%; opacity: 0; } 12% { opacity: 1; } }
@keyframes sig-in { from { opacity: 0; rotate: -6deg; translate: 28px 28px; } }
@keyframes from-left { from { opacity: 0; translate: -24px 0; } }
@keyframes from-right { from { opacity: 0; translate: 24px 0; } }
@keyframes draw-x { from { scale: 0 1; } }
@keyframes draw-y { from { scale: 1 0; } }
@keyframes ripple { from { opacity: 0.9; scale: 1; } to { opacity: 0; scale: 1.6; } }
@keyframes travel { from { left: 0; opacity: 0; } 8% { opacity: 1; } to { left: 100%; opacity: 1; } }
@keyframes pass { 40% { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-50), var(--shadow); translate: 0 -4px; } }
@keyframes alarm { 35% { border-color: var(--danger); box-shadow: 0 0 0 6px rgb(185 28 28 / 14%); } }
@keyframes drift { from { translate: 0 60px; } to { translate: 0 -60px; } }

/* Ouverture de page : textes du héros, puis le surligneur citron qui souligne le mot clé */
.motion :is(.hero__copy > *, .proof, .page-hero .breadcrumb, .page-hero .eyebrow,
  .page-hero .h-page, .page-hero .lede, .page-hero .cta-row, .page-hero .container > nav:not(.breadcrumb)) {
  animation: rise 0.7s var(--ease-out) both;
}
.motion :is(.hero__copy > :nth-child(2), .page-hero .eyebrow) { animation-delay: 0.06s; }
.motion :is(.hero__copy > :nth-child(3), .page-hero .h-page) { animation-delay: 0.12s; }
.motion :is(.hero__copy > :nth-child(4), .page-hero .lede) { animation-delay: 0.2s; }
.motion :is(.hero__copy > :nth-child(5), .page-hero .cta-row, .page-hero .container > nav:not(.breadcrumb)) { animation-delay: 0.28s; }
.motion .proof { animation-delay: 0.45s; }
.motion :is(.hero, .page-hero) .hl { animation: hl-draw 0.8s 0.55s var(--ease-out) both; }
.motion :is(.hero, .page-hero) .duo::after { animation: duo-split 0.6s 0.3s var(--ease-pop) both; }

/* Visuel du héros : l'orbite se pose, la signature entre d'un seul bloc */
.motion .page-hero__orbit { animation: orbit-in 1.6s var(--ease-out) both; }
.motion .page-hero__sig { animation: sig-in 1.3s 0.15s var(--ease-out) both; }

/* Pages intérieures : les deux disques du duo se rejoignent en quinconce (le Cobalt devant) */
.motion .duo-art::before { animation: duo-in-a 1.2s 0.15s var(--ease-pop) both; }
.motion .duo-art::after { animation: duo-in-b 1.2s 0.3s var(--ease-pop) both; }

/* Pastille d'état citron qui parcourt l'orbite puis s'arrête (charte § 7.3) */
@supports (offset-path: ellipse(50% 50% at 50% 50%)) {
  .motion .page-hero__orbit::after {
    content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: var(--citron); box-shadow: 0 0 0 5px rgb(213 235 89 / 30%);
    offset-path: ellipse(50% 50% at 50% 50%); offset-rotate: 0deg; offset-distance: 66%;
    animation: orbit-travel 3.2s 0.8s cubic-bezier(0.45, 0, 0.2, 1) both;
  }
}

/* Blocs révélés au défilement (main.js) */
.motion [data-reveal]:not(.is-in) { opacity: 0; }
.motion [data-reveal].is-in { animation: rise 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.motion .is-in .hl { animation: hl-draw 0.8s 0.35s var(--ease-out) both; }
.motion .is-in .duo::after { animation: duo-split 0.6s 0.2s var(--ease-pop) both; }

/* Étapes : chaque pastille s'allume à son tour, le trait relie la suivante */
.motion :is(.steps.is-in, .is-in .steps) .step__dot { animation: pop 0.55s var(--ease-pop) both; }
.motion :is(.steps.is-in, .is-in .steps) li:not(:last-child)::after { transform-origin: left; animation: draw-x 0.5s var(--ease-out) both; }
.motion :is(.steps.is-in, .is-in .steps) li:nth-child(1)::after { animation-delay: 0.35s; }
.motion :is(.steps.is-in, .is-in .steps) li:nth-child(2) .step__dot { animation-delay: 0.6s; }
.motion :is(.steps.is-in, .is-in .steps) li:nth-child(2)::after { animation-delay: 0.95s; }
.motion :is(.steps.is-in, .is-in .steps) li:nth-child(3) .step__dot { animation-delay: 1.2s; }
@media (max-width: 799px) {
  .motion :is(.steps.is-in, .is-in .steps) li:not(:last-child)::after { transform-origin: top; animation-name: draw-y; }
}

/* Parcours numérotés (cycle d'approbation, exemple de workflow) : les étapes s'allument en séquence */
.motion .timeline > li.is-in .timeline__num { animation: pop 0.55s 0.1s var(--ease-pop) both; }
.motion .is-in .timeline > li .timeline__num { animation: pop 0.55s var(--ease-pop) both; animation-delay: calc(0.25s + var(--k, 0) * 160ms); }
/* Le fil se remplit en Cobalt au rythme de la lecture (défilement, sans minuterie) */
@supports (animation-timeline: view()) {
  .motion .timeline { view-timeline: --parcours block; }
  .motion .timeline::after {
    content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px;
    background: var(--cobalt); transform-origin: top;
    animation: draw-y linear both; animation-timeline: --parcours; animation-range: cover 20% cover 70%;
  }
}

/* Équilibre (Plateforme) : les cartes convergent, le duo passe de côte à côte à la quinconce */
.motion .balance.is-in { animation: none; }
.motion :is(.balance.is-in, .is-in .balance) > .card:first-child { animation: from-left 0.8s var(--ease-out) both; }
.motion :is(.balance.is-in, .is-in .balance) > .card:last-child { animation: from-right 0.8s var(--ease-out) both; }
@media (max-width: 799px) {
  /* Cartes empilées : elles montent au lieu de glisser sur les côtés (aucun débordement) */
  .motion :is(.balance.is-in, .is-in .balance) > .card { animation-name: rise; }
}
.motion :is(.balance.is-in, .is-in .balance) .balance__core { animation: pop 0.6s 0.2s var(--ease-pop) both; }
.motion :is(.balance.is-in, .is-in .balance) .duo-mini::before { animation: duo-meet-a 1s 0.45s var(--ease-pop) both; }
.motion :is(.balance.is-in, .is-in .balance) .duo-mini::after { animation: duo-meet-b 1s 0.45s var(--ease-pop) both; }

/* Sas de sécurité (Gouverner) : la requête, pastille citron, traverse les trois filtres */
.motion .gate-track::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 12px; height: 12px; margin: -6.5px 0 0 -6px; border-radius: 50%;
  background: var(--citron); box-shadow: 0 0 0 5px rgb(213 235 89 / 35%); opacity: 0;
}
.motion .gate-ends:has(+ .gate.is-in) .gate-track::after { animation: travel 2.6s 0.3s linear both; }
.motion :is(.gate.is-in, .is-in .gate) > .card { animation: pass 1s var(--ease-out) both; }
.motion :is(.gate.is-in, .is-in .gate) > .card:nth-child(1) { animation-delay: 0.25s; }
.motion :is(.gate.is-in, .is-in .gate) > .card:nth-child(2) { animation-delay: 1.15s; }
.motion :is(.gate.is-in, .is-in .gate) > .card:nth-child(3) { animation-delay: 2.05s; }

/* Plafond budgétaire : la jauge se remplit jusqu'au plafond, puis l'arrêt automatique se signale */
.motion .is-in .meter span { transform-origin: left; animation: draw-x 1.6s 0.2s var(--ease-out) both; }
.motion .is-in .killswitch { animation: alarm 1.2s 1.7s ease-out both; }

/* Hub omnicanal (Orchestrer) : deux ondes citron partent de l'agent central vers les canaux */
.hub__core { position: relative; }
.motion :is(.hub.is-in, .is-in .hub) .hub__core::before, .motion :is(.hub.is-in, .is-in .hub) .hub__core::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 3px solid var(--citron);
  opacity: 0; animation: ripple 1.6s 0.3s ease-out 2 backwards;
}
/* Les ondes ne doivent jamais élargir la page (mobile) */
.motion .hub { overflow-x: clip; }
.motion :is(.hub.is-in, .is-in .hub) .hub__core::after { animation-delay: 1.1s; }
.motion :is(.hub.is-in, .is-in .hub) .chip { animation: rise 0.45s var(--ease-out) both; animation-delay: calc(0.4s + var(--k, 0) * 50ms); }

/* Schémas d'orchestration : les pastilles apparaissent du plus supervisé au plus autonome */
.motion :is(.plot.is-in, .is-in .plot) .plot__pill { animation: pop 0.5s var(--ease-pop) both; animation-delay: calc(0.3s + var(--k, 0) * 150ms); }

/* Matrice de décision : les marques AgentSpot s'allument une à une, du premier critère au dernier */
.motion .is-in .compare .is-us .mark { animation: pop 0.5s var(--ease-pop) both; animation-delay: 0.35s; }
.motion .is-in .compare tbody tr:nth-child(2) .is-us .mark { animation-delay: 0.47s; }
.motion .is-in .compare tbody tr:nth-child(3) .is-us .mark { animation-delay: 0.59s; }
.motion .is-in .compare tbody tr:nth-child(4) .is-us .mark { animation-delay: 0.71s; }
.motion .is-in .compare tbody tr:nth-child(5) .is-us .mark { animation-delay: 0.83s; }

/* Panneau de clôture : la signature entre d'un seul bloc */
.motion .closing__panel.is-in .closing__sig { animation: sig-in 1.3s 0.2s var(--ease-out) both; }

/* Cercles en débord des sections Cobalt : léger décalage au défilement (piloté par le visiteur) */
@supports (animation-timeline: view()) {
  .motion :is(.deco-circle, .deco-ring) { animation: drift linear both; animation-timeline: view(); }
}

/* Chiffres clés : comptage court (main.js), chiffres à chasse fixe pour éviter les sauts */
.figure .count { font-variant-numeric: tabular-nums; }

/* Navigation entre les pages : fondu enchaîné, l'en-tête reste en place */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: entete; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion [data-reveal] { opacity: 1 !important; }
}

/* ===== Impression ===== */
@media print {
  .site-header, .closing, .nav-toggle, .skip-link, .cookie-banner { display: none !important; }
  body { background: #fff; }
  .motion [data-reveal] { opacity: 1 !important; animation: none !important; }
}
