/* ═══════════════════════════════════════════════════════════════
   EVOLYTICS — feuille de style (v3, harmonieuse)
   Charte : émeraude #059669 · noir #0A0A0A · fonds clairs
   Playfair Display / Satoshi / JetBrains Mono (auto-hébergées)
   ═══════════════════════════════════════════════════════════════ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-italic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green: #059669;
  --green-deep: #047857;
  --green-pale: #D1FAE5;

  --ink: #0A0A0A;
  --ink-2: #383B3E;
  --ink-3: #55595D;

  --paper: #FFFFFF;
  --tint: #F2F5F3;

  --hairline: rgba(10, 10, 10, 0.14);
  --hairline-onGreen: rgba(255, 255, 255, 0.22);

  --f-display: 'Playfair Display', 'Georgia', serif;
  --f-sans: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --r-btn: 999px;
  --r-card: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 0.3s;

  --gutter: clamp(1.25rem, 2.5vw, 2.5rem);
  --max-w: none;
  --pad-section: clamp(3rem, 5.5vw, 5rem);
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
sup { font-size: 0.6em; }
::selection { background: var(--green); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Conteneurs & thèmes ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 1400px; }
.container--tight { max-width: 1320px; }

.s-light { background: var(--paper); color: var(--ink); }
.s-tint  { background: var(--tint); color: var(--ink); }
.s-green { background: var(--green-deep); color: rgba(255,255,255,0.95); }
.s-green ::selection { background: #fff; color: var(--green-deep); }

/* ---------- Petits labels — élégants, sans esprit "code" ---------- */
.mono-label {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-3);
}
.s-green .mono-label { color: rgba(255, 255, 255, 0.7); }
.mono-label--accent { color: var(--green); }


/* ---------- Titres — échelle mesurée ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.4rem + 2.7vw, 3.6rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 3.2vw, 2.8rem);
}
.section-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--green);
  border-top: 2px solid var(--green);
  padding-top: 0.65rem;
  min-width: 3.4rem;
}
.section-sub {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.6;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) ease;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-1) var(--ease-out);
  border-radius: inherit;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { transition: transform var(--dur-1) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(5,150,105,0.55); }
.btn--primary:hover::after { transform: scaleY(1); }

.btn--onGreen { background: #fff; color: var(--green-deep); }
.btn--onGreen::after { background: var(--ink); }
.btn--onGreen:hover { color: #fff; }
.btn--onGreen:hover::after { transform: scaleY(1); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(10,10,10,0.2);
  padding: 0.58rem 1.2rem;
  font-size: 0.86rem;
}
.btn--outline::after { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--outline:hover::after { transform: scaleY(1); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  padding-bottom: 0.15rem;
  position: relative;
}
.link-arrow::before {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--dur-1) var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(0.35); }
.link-arrow::after {
  content: '→';
  font-family: var(--f-sans);
  transition: transform var(--dur-1) var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--light { color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
.s-green :focus-visible { outline-color: #fff; }

/* ═══════════════ HEADER — navbar flottante ═══════════════
   Capsule détachée du haut de page : logo, liens au halo
   liquide, bouton d'action. Sobre et nette. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  padding: 0.9rem var(--gutter) 0;
  pointer-events: none;
}
.site-header__inner {
  pointer-events: auto;
  max-width: none;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0.55rem 0.5rem 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.11);
}
.btn--nav { padding: 0.62rem 1.3rem; font-size: 0.88rem; box-shadow: none; }

/* Logo : mot-symbole Playfair au dégradé émeraude-noir,
   défilement droite → gauche (identique à l'ancien site) */
.brand {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-bottom: 0.06em;
  background: linear-gradient(90deg,
    var(--green) 0%,
    var(--ink) 50%,
    var(--green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-flow 4s linear infinite;
}
@keyframes brand-flow {
  to { background-position: 200% center; }
}
.brand__dot { color: inherit; }


/* ═══════════════ NAV — liens au halo liquide ═══════════════
   Les liens vivent dans la barre ; un halo émeraude glisse et
   s'étire vers le lien survolé, puis revient sur la page active. */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current] {
  color: var(--green-deep);
  font-weight: 600;
}
.nav a[aria-current]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  transform: translateX(-50%);
  width: 1.1em;
  height: 2px;
  border-radius: 1px;
  background: var(--green);
}
/* Lien Portfolio : mis en valeur sans concurrencer le CTA */
.nav a.nav--folio { color: var(--green-deep); font-weight: 600; }
.nav a.nav--folio::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.5rem;
  vertical-align: 0.12em;
}

.nav__blob {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.2);
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.4, 1), width 0.45s cubic-bezier(0.3, 1.3, 0.4, 1), opacity 0.3s ease;
  will-change: transform, width;
  opacity: 0;
}
.nav.has-blob .nav__blob { opacity: 1; }

@media (max-width: 980px) {
  .site-header { padding-top: 0.7rem; }
  .site-header__inner { flex-wrap: wrap; row-gap: 0; padding: 0.5rem 0.55rem 0.4rem 1.2rem; border-radius: 24px; }
  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  /* centré quand ça tient, défilable sinon */
  .nav a:first-child { margin-left: auto; }
  .nav a:last-child { margin-right: auto; }
  .nav a { padding: 0.42rem 0.52rem; font-size: 0.76rem; }
}

.page-head__silk {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.22), #000 58%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.22), #000 58%);
}

/* ═══════════════ HERO — immersif, réseau de données en fond ═══════════════ */
.hero {
  position: relative;
  min-height: min(94vh, 960px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(6.5rem, 13vh, 9rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  overflow: hidden;
  /* lueur émeraude douce + trame de points très discrète */
  background-image:
    radial-gradient(ellipse 60% 55% at 76% 30%, rgba(5, 150, 105, 0.09), transparent 70%),
    radial-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px;
}
.hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* voile : garde le texte lisible à gauche, laisse vivre le réseau à droite */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.86) 38%,
    rgba(255, 255, 255, 0.45) 62%,
    rgba(255, 255, 255, 0.05) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.hero__content { max-width: 880px; flex: 0 1 880px; min-width: 0; }
.hero__title {
  margin-top: 1.2rem;
  font-size: clamp(2.8rem, 1.5rem + 5.2vw, 6.2rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.hero__title em { color: var(--green); }
.accent-dot { color: var(--green); }
.hero__lede {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  color: var(--ink-2);
}
.hero__ctas {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* Cartes data flottantes, à droite au-dessus du réseau */
.hero__cards {
  position: relative;
  min-height: clamp(300px, 34vw, 420px);
}
.spark { display: block; }

/* ═══════════════ CLIENTS — ligne discrète en pied de hero ═══════════════
   Les huit références en petit, gris clair, alignées à droite de
   la mention. Fichiers recadrés au pixel ; --ls équilibre le poids
   visuel entre logos compacts et mots-symboles allongés. */
.hero__clients {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-items: center;
  justify-content: end;
  gap: clamp(1rem, 1.6vw, 1.6rem) clamp(1.6rem, 2.4vw, 3rem);
  margin-left: auto;
  flex-shrink: 0;
  padding-bottom: 0.65rem;
}
/* Silhouettes gris clair uniformes (brightness 0 = aplat, l'opacité
   donne la teinte), légères nuances d'un logo à l'autre ; la 2e
   ligne est décalée vers la gauche pour casser l'alignement.
   Le survol est un fondu enchaîné entre deux calques (silhouette
   grise / logo couleur en ::after) — fluide, sans étape sombre. */
.hero__clients span {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.hero__clients img {
  --lh: clamp(19px, 1.6vw, 28px);
  height: calc(var(--lh) * var(--ls, 1));
  width: auto;
  filter: grayscale(1) brightness(0);
  opacity: 0.42;
}
.hero__clients span:nth-child(odd) img { opacity: 0.48; }
.hero__clients span:nth-child(3n) img { opacity: 0.36; }
.hero__clients span:nth-child(n+5) { transform: translateX(-2.8rem); }
.hero__clients span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--logo) center / contain no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero__clients span:hover::after { opacity: 1; }
.hero__clients img[src*="cma-cgm"]        { --ls: 1.12; }
.hero__clients img[src*="pernod-ricard"]  { --ls: 1.05; }
.hero__clients img[src*="la-french-tech"] { --ls: 1.00; }
.hero__clients img[src*="ecosys-group"]   { --ls: 0.97; }
.hero__clients img[src*="mantu"]          { --ls: 0.76; }
.hero__clients img[src*="platypus-craft"] { --ls: 0.76; }
.hero__clients img[src*="la-provence"]    { --ls: 0.68; }
.hero__clients img[src*="everdian"]       { --ls: 0.62; }

/* ═══════════════ CONSTAT — verbatims de dirigeants + réponses ═══════════════
   Fond teinté, citations géantes ouvertes par un guillemet émeraude
   surdimensionné, réponses en cartes blanches qui ressortent. */
.constat { padding: clamp(2.8rem, 4.5vw, 4rem) 0; }
.constat .section-head { margin-bottom: clamp(1.6rem, 2.8vw, 2.4rem); }
.constat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}
.constat__panel {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(1.4rem, 2vw, 2rem);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.constat__panel:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, 0.4);
}
.constat__viz {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
.constat__pain {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.35;
  color: var(--ink);
}
.constat__ans {
  margin-top: 0.55rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.constat__panel .link-arrow {
  margin-top: auto;
  padding-top: 1.1rem;
  align-self: flex-start;
  font-size: 0.92rem;
}

/* ═══════════════ EXPERTISES — deck de panneaux empilés au scroll ═══════════════
   Chaque panneau est sticky avec un décalage croissant : le suivant
   glisse par-dessus le précédent, qui recule en profondeur (échelle
   + voile pilotés par --cover, calculé en JS). Scroll 100 % natif. */
.expertises { padding: var(--pad-section) 0 clamp(3rem, 6vw, 5rem); }
.deck { --deck-top: clamp(80px, 11vh, 110px); }
.deck__panel {
  position: sticky;
  top: calc(var(--deck-top) + var(--i, 0) * 16px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(430px, 52vh);
  padding: clamp(1.6rem, 2.4vw, 2.4rem) clamp(1.8rem, 3.2vw, 3.2rem);
  margin-bottom: clamp(1.2rem, 2.4vh, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: 0 30px 60px -45px rgba(10, 10, 10, 0.4);
  color: var(--ink);
  overflow: hidden;
  transform-origin: top center;
  transform: scale(calc(1 - 0.05 * var(--cover, 0)));
  will-change: transform;
}
.deck__panel:nth-child(even) { background: var(--tint); }
.deck__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  opacity: calc(var(--cover, 0) * 0.55);
  pointer-events: none;
}
.deck__num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green-deep);
}
.deck__title {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  transition: color 0.3s ease;
}
.deck__panel:hover .deck__title { color: var(--green-deep); }
.deck__desc {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 48ch;
}
.deck__link { margin-top: 1.5rem; }
.deck__panel:hover .deck__link::before { transform: scaleX(0.35); }
.deck__panel:hover .deck__link::after { transform: translateX(5px); }
.deck__viz {
  width: 100%;
  max-width: 430px;
  height: auto;
  justify-self: end;
}
.expertises__cta { margin-top: clamp(2rem, 3.5vw, 3rem); }

/* ── Démos animées des panneaux (CSS pur, boucles de 6 s) ──
   L'état de base des éléments = scène complète : reduced-motion
   et ?static=1 coupent les animations et montrent la démo aboutie. */
.deck__viz [class^="dm-"] {
  transform-box: fill-box;
  transform-origin: center;
  animation-duration: 7s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-iteration-count: infinite;
  animation-delay: var(--d, 0s);
}
.dm-bar { transform-origin: center bottom; animation-name: dm-grow-y; }
.dm-bar-late { transform-origin: center bottom; animation-name: dm-grow-y-late; }
.dm-grow-x, .dm-type { transform-origin: left center; animation-name: dm-grow-x; }
.dm-mag { animation-name: dm-mag; }
.dm-line { stroke-dasharray: 270 400; animation-name: dm-draw-270; }
.dm-line2 { stroke-dasharray: 110 200; animation-name: dm-draw-110; }
.dm-alert, .dm-pop { animation-name: dm-pop; }
.dm-halo { animation-name: dm-halo; }
.dm-toast { animation-name: dm-toast; }
.dm-blink { animation-name: dm-blink; animation-duration: 1.6s; }
.dm-caret { animation-name: dm-blink; animation-duration: 1s; animation-timing-function: steps(1); }
.dm-ring { animation-name: dm-spin; animation-duration: 10s; animation-timing-function: linear; }
.dm-run { animation-name: dm-run; }
.dm-endfill { animation-name: dm-endfill; }
.dm-ans { animation-name: dm-ans; }
.dm-flow { animation-name: dm-flow; }
.dm-cell { animation-name: dm-cell; }
.dm-cursor { animation-name: dm-cursor; animation-timing-function: ease-in-out; }

@keyframes dm-grow-y { 0%, 6% { transform: scaleY(0); } 20%, 100% { transform: scaleY(1); } }
@keyframes dm-grow-y-late { 0%, 46% { transform: scaleY(0); } 64%, 100% { transform: scaleY(1); } }
@keyframes dm-grow-x { 0%, 10% { transform: scaleX(0); } 32%, 100% { transform: scaleX(1); } }
@keyframes dm-mag {
  0%, 12% { transform: translateX(-96px); opacity: 0; }
  22% { transform: translateX(-96px); opacity: 1; }
  48%, 88% { transform: translateX(0); opacity: 1; }
  97%, 100% { transform: translateX(0); opacity: 0; }
}
@keyframes dm-draw-270 { 0%, 8% { stroke-dashoffset: 270; } 52%, 100% { stroke-dashoffset: 0; } }
@keyframes dm-draw-110 { 0%, 28% { stroke-dashoffset: 110; } 62%, 100% { stroke-dashoffset: 0; } }
@keyframes dm-pop { 0%, 50% { transform: scale(0); } 60%, 100% { transform: scale(1); } }
@keyframes dm-halo {
  0%, 55% { transform: scale(0.3); opacity: 0; }
  63% { opacity: 0.55; }
  82%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes dm-toast {
  0%, 60% { transform: translateY(-9px); opacity: 0; }
  68%, 92% { transform: none; opacity: 1; }
  99%, 100% { opacity: 0; }
}
@keyframes dm-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes dm-spin { to { transform: rotate(360deg); } }
@keyframes dm-run {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  42% { transform: translateX(230px); opacity: 1; }
  48%, 100% { transform: translateX(230px); opacity: 0; }
}
@keyframes dm-endfill { 0%, 42% { opacity: 0; } 50%, 84% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes dm-ans { 0%, 40% { transform: translateY(7px); opacity: 0; } 54%, 100% { transform: none; opacity: 1; } }
@keyframes dm-flow {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: translateX(44px); opacity: 1; }
  38%, 100% { transform: translateX(48px); opacity: 0; }
}
@keyframes dm-cell { 0%, 8% { transform: scale(0); } 20%, 100% { transform: scale(1); } }
@keyframes dm-cursor {
  0%, 22% { transform: translate(0, 0); }
  34%, 54% { transform: translate(120px, 0); }
  66%, 86% { transform: translate(0, 28px); }
  98%, 100% { transform: translate(0, 0); }
}

/* ═══════════════ MÉTHODE — trois étapes reliées ═══════════════ */
.methode { padding: clamp(1.5rem, 2.5vw, 2.5rem) 0 var(--pad-section); }
.section-head--split {
  grid-template-columns: auto 1fr minmax(0, 46ch);
  align-items: end;
}
.section-head--split .section-sub { margin-top: 0; padding-bottom: 0.4rem; }
.methode__steps {
  --gap: clamp(1.5rem, 3vw, 3.5rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.methode__line {
  position: absolute;
  top: 8px;
  left: 9px;
  right: calc((100% - 2 * var(--gap)) / 3 - 9px);
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}
.methode__step { position: relative; padding-top: 2.2rem; }
.methode__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green);
  box-shadow: 0 0 0 5px var(--paper);
}
.methode__dot--full { background: var(--green); }
.methode__dot--semi { background: #D2ECE4; }
/* La ligne se dessine à l'apparition, les points s'allument à son passage */
.js .methode__line[data-reveal] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.15s;
}
.js .methode__line[data-reveal].in-view { transform: scaleX(1); }
.js .methode__step[data-reveal] .methode__dot {
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.45, 1) calc(var(--d, 0s) * 3.5 + 0.25s);
}
.js .methode__step[data-reveal].in-view .methode__dot { transform: scale(1); }
.methode__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green-deep);
}
.methode__name {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.methode__desc {
  margin-top: 0.7rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 38ch;
}
.methode__chips {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.methode__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
}
.methode__chips li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ═══════════════ MANIFESTE — six cartes nettes + citation ═══════════════ */
.manifesto { padding: var(--pad-section) 0; }
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
}
.manifesto__item {
  padding: 1.65rem clamp(1.3rem, 2vw, 2rem) 1.9rem;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease;
}
/* La 1re colonne se cale sur l'axe du titre (numéro + gap de .section-head) */
.manifesto__item:nth-child(3n+1) { padding-left: calc(3.4rem + clamp(1.25rem, 3vw, 3rem)); }
.manifesto__item:nth-child(3n+2),
.manifesto__item:nth-child(3n) { border-left: 1px solid var(--hairline); }
.manifesto__item:hover { background: #fff; }
.manifesto__item dt {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.manifesto__item dt::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.manifesto__item dd {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 0 1.1rem;
}

.quote {
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-left: calc(3.4rem + clamp(1.25rem, 3vw, 3rem));
}
.quote p {
  font-family: var(--f-sans);
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 46ch;
}
.quote em { font-family: var(--f-display); font-style: italic; color: var(--green); }
.js .quote .word { opacity: 0.1; transition: opacity 0.5s ease; }
.js .quote .word.is-lit { opacity: 1; }

/* ═══════════════ CAS D'USAGE — registre pleine largeur ═══════════════ */
.cases { padding: var(--pad-section) 0; }
.cases__grid { border-top: 1px solid var(--hairline); }
.case {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr) auto;
  column-gap: clamp(3rem, 5vw, 6.5rem);
  align-items: center;
  min-height: 8.25rem;
  padding: clamp(1.5rem, 2.4vw, 2.1rem) clamp(1.3rem, 2vw, 2rem);
  padding-left: calc(3.4rem + clamp(1.25rem, 3vw, 3rem));
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease;
}
.case:hover { background: var(--tint); }
.case__lead {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.case__lead .mono-label { color: var(--ink-3); }
.case__side {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  justify-self: end;
  text-align: right;
}
.case__delay-label {
  font-size: 0.9rem;
  color: var(--ink-3);
}
.case__delay-num {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  white-space: nowrap;
}
.case h3 {
  font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.case__results {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 1rem;
  color: var(--ink-2);
}
.case__results li {
  padding-left: 1.15rem;
  position: relative;
}
.case__results li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.case__results b { color: var(--ink); font-weight: 700; }
.cases__cta { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* ═══════════════ DIAG DATA IA — trois questions, un dispositif d'État ═══════════════ */
.diag { padding: var(--pad-section) 0; }
.diag__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
}
.diag__questions {
  padding: clamp(1.6rem, 2.6vw, 2.4rem) clamp(2rem, 3.4vw, 3.2rem);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.diag__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}
.diag__q + .diag__q { border-top: 1px solid var(--hairline); }
.diag__q p {
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.diag__choices { display: flex; gap: 0.45rem; }
.diag__choices button {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 1.15rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.diag__choices button:hover { border-color: rgba(5, 150, 105, 0.5); color: var(--green-deep); }
.diag__choices button.is-on {
  background: rgba(5, 150, 105, 0.1);
  border-color: var(--green);
  color: var(--green-deep);
}
.diag__result {
  padding: clamp(2rem, 3.4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}
.diag__status { font-size: 1.02rem; color: var(--ink-3); }
.diag__verdict {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.3s ease;
  max-width: 22ch;
}
.diag__panel--ok .diag__verdict { color: var(--green-deep); }
.diag__facts {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.diag__facts li {
  padding-left: 1.15rem;
  position: relative;
}
.diag__facts li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.diag__facts b { color: var(--ink); font-weight: 700; }
.diag__result .btn { margin-top: 1.5rem; align-self: flex-start; }
.diag__source { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-3); }
.diag__source a { color: var(--green-deep); text-underline-offset: 3px; }

/* ═══════════════ FAQ ═══════════════ */
.faq { padding: var(--pad-section) 0; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur-1) ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-deep); }
.faq__icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--green);
  position: relative;
  transition: background-color var(--dur-1) ease;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.8px;
  margin: -0.9px 0 0 -6px;
  background: var(--green);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item summary:hover .faq__icon { background: var(--green); }
.faq__item summary:hover .faq__icon::before,
.faq__item summary:hover .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item[open] .faq__answer { grid-template-rows: 1fr; }
.faq__answer > div { overflow: hidden; }
.faq__answer p {
  padding: 0.2rem 0 1.6rem;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.65;
}
/* Avec JS : l'état animé est piloté par .is-open (permet d'animer AUSSI la fermeture) */
.js .faq__item[open]:not(.is-open) .faq__answer { grid-template-rows: 0fr; }
.js .faq__item[open]:not(.is-open) .faq__icon::after { transform: rotate(90deg); }
.js .faq__answer p {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}
.js .faq__item.is-open .faq__answer p {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

/* ═══════════════ CTA FINAL — la nappe en blanc sur émeraude ═══════════════ */
.cta-final {
  position: relative;
  padding: var(--pad-section) 0;
  overflow: hidden;
}
.cta-final__silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final__title {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  color: #fff;
  max-width: 20ch;
}
.cta-final__title em { color: var(--green-pale); }
.cta-final__sub {
  margin-top: 1.4rem;
  max-width: 48ch;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}
.cta-final__actions {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
/* ═══════════════ PAGES INTÉRIEURES — en-tête de page ═══════════════ */
.page-head { padding: clamp(7.5rem, 15vh, 10.5rem) 0 clamp(2rem, 3.5vw, 3rem); }
.page-head--silk { position: relative; overflow: hidden; }
.page-head__silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.page-head--silk .container { position: relative; z-index: 1; }
.page-head__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 52ch);
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 4rem;
  padding-inline: clamp(1.3rem, 2vw, 2rem);
}
.page-head h1 {
  font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.page-head__meta {
  margin-top: 0.9rem;
  color: var(--ink-3);
  font-size: 0.98rem;
}
.page-head__intro {
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 40ch;
  padding-bottom: 0.35rem;
}

/* ═══════════════ PAGE OFFRES — registre des 7 offres ═══════════════ */
.offres { padding: 0 0 clamp(2.2rem, 4vw, 3.2rem); }
.offres--last { padding-bottom: var(--pad-section); }
.offres.s-tint { padding-top: clamp(0.5rem, 1.2vw, 1rem); }
.offres.s-tint .offre:hover { background: #fff; }
.offres__list { border-top: 1px solid var(--hairline); }
.offres.s-tint .offres__list { border-top: 0; }
.offres__group {
  padding: 1.7rem clamp(1.3rem, 2vw, 2rem) 1.2rem;
  border-bottom: 1px solid var(--hairline);
}
.offres__group h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.offre {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.9fr);
  column-gap: clamp(2.5rem, 4.5vw, 6rem);
  padding: clamp(2rem, 3vw, 2.8rem) clamp(1.3rem, 2vw, 2rem);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease;
}
.offre:hover { background: var(--tint); }
.offre__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--green);
}
.offre__name {
  margin-top: 0.4rem;
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
}
.offre__pitch {
  margin-top: 0.7rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 46ch;
}
.offre__lead .link-arrow { margin-top: 1.2rem; }
.offre__livrables h4 {
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.offre__livrables ul {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.offre__livrables li {
  padding-left: 1.15rem;
  position: relative;
}
.offre__livrables li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.offre__pour {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.offre__pour strong { color: var(--ink); font-weight: 700; }
.offre__chips {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.offre__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
}
.offre__chips li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ═══════════════ SOUS-PAGES OFFRES — hero + démo DataTalk ═══════════════ */
.section-head--plain { grid-template-columns: 1fr; }
.offer-hero { padding: clamp(7.5rem, 15vh, 10.5rem) 0 clamp(3rem, 5vw, 4.5rem); }
.offer-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
}
.offer-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-3);
  transition: color var(--dur-1) ease;
}
.offer-hero__back:hover { color: var(--green-deep); }
.offer-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
.offer-hero__lede {
  margin-top: 1.2rem;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 50ch;
}
.offer-hero__chips { margin-top: 1.4rem; flex-direction: row; flex-wrap: wrap; }
.offer-hero__ctas { margin-top: 1.8rem; }

.dtdemo {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: 0 30px 70px -45px rgba(5, 150, 105, 0.35);
  overflow: hidden;
}
.dtdemo__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-3);
}
.dtdemo__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.dtdemo__q {
  padding: 1.5rem 1.6rem 0.4rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  min-height: 4.2rem;
}
.dtdemo__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--green);
  animation: dtCaret 1.05s steps(1) infinite;
}
@keyframes dtCaret { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.dtdemo__a {
  padding: 0.4rem 1.6rem 1.8rem;
  border-top: 1px dashed rgba(10, 10, 10, 0.1);
  margin-top: 0.7rem;
  padding-top: 1.2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.55s var(--ease-out);
  min-height: 7.2rem;
}
.dtdemo__a.is-in { opacity: 1; transform: none; }
.dtdemo__num {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--green-deep);
}
.dtdemo__txt {
  margin-top: 0.6rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 44ch;
}
.dt-change .manifesto__item:hover { background: var(--tint); }
.dt-change .manifesto__item dd b { color: var(--ink); font-weight: 700; }
/* Pages sans numéro de section : pas de retrait d'axe hérité de la homepage */
.dt-change .manifesto__item:nth-child(3n+1) { padding-left: clamp(1.3rem, 2vw, 2rem); }
.dt-proof .case { padding-left: clamp(1.3rem, 2vw, 2rem); }

/* ═══════════════ PAGE CAS D'USAGE ═══════════════ */
.cas .offre__pitch { max-width: 52ch; }
.cas__chute {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  max-width: 40ch;
}
.cas__side {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  justify-self: end;
}
.cas__delay { display: flex; flex-direction: column; gap: 0.1rem; }

/* ═══════════════ PAGES LÉGALES ═══════════════ */
.legal { padding: 0 0 var(--pad-section); }
.legal__intro {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.7;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--tint);
}
.legal h2 {
  margin: 2.6rem 0 0.8rem;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.legal p, .legal li {
  color: var(--ink-2);
  line-height: 1.7;
}
.legal p + p { margin-top: 0.9rem; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(5, 150, 105, 0.35); }
.legal a:hover { text-decoration-color: var(--green-deep); }
.legal a.btn--primary { color: #fff; text-decoration: none; }

/* Pages courtes (404) : le pied de page reste collé en bas de l'écran */
.page-court { min-height: 100vh; display: flex; flex-direction: column; }
.page-court main { flex: 1; }
.legal ul {
  display: grid;
  gap: 0.55rem;
}
.legal ul li {
  padding-left: 1.15rem;
  position: relative;
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.legal__date { margin-top: 2.4rem; font-size: 0.9rem; color: var(--ink-3); }
.legal p, .legal li { max-width: 75ch; }
.legal .container--tight { padding-inline: calc(var(--gutter) + clamp(1.3rem, 2vw, 2rem)); }
.page-head .container--tight, .legal .container--tight { max-width: 1000px; }

/* ═══════════════ PAGE CONTACT ═══════════════ */
.contact { padding: 0 0 var(--pad-section); }
.contact__list { border-top: 1px solid var(--hairline); }
.contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
  padding: clamp(1.7rem, 2.6vw, 2.4rem) clamp(1.3rem, 2vw, 2rem);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease;
}
.contact__row:hover { background: var(--tint); }
.contact__lead h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.contact__lead p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 52ch;
}
.contact__action { justify-self: end; }
.contact__big {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(5, 150, 105, 0.4);
  transition: text-decoration-color 0.25s ease;
}
.contact__big:hover { text-decoration-color: var(--green-deep); }
.contact__where {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-inline: clamp(1.3rem, 2vw, 2rem);
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* ═══════════════ SCÈNES DES SOUS-PAGES D'OFFRES ═══════════════ */
.scene__canvas { display: block; width: 100%; height: 300px; }

/* Reporting : tuiles + alerte */
.rm__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1.3rem 1.4rem 0.6rem;
}
.rm__tile {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.rm__tile.is-live {
  border-color: rgba(5, 150, 105, 0.55);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}
.rm__label { display: block; font-size: 0.8rem; color: var(--ink-3); }
.rm__val {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rm__alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.6rem 1.4rem 1.3rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.rm__alert.is-in { opacity: 1; transform: none; }
.rm__alert b { color: var(--ink); }
.rm__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: rmPulse 1.4s ease infinite;
}
@keyframes rmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  55% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
}

/* Outil métier : demandes qualifiées */
.om__list {
  padding: 1rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 14.5rem;
}
.om__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.om__list li.is-in { opacity: 1; transform: none; }
.om__t { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.om__tag {
  flex: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.3, 1.4, 0.45, 1);
}
.om__list li.is-tagged .om__tag { opacity: 1; transform: none; }

/* Automatisation : documents triés */
.ai__flow {
  padding: 1.2rem 1.4rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
  min-height: 13.5rem;
}
.ai__doc {
  justify-self: start;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--tint);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.4s ease, transform 0.55s var(--ease-out);
}
.ai__doc.is-in { opacity: 1; transform: none; }
.ai__doc.is-sorted { opacity: 0; transform: translateX(60px); }
.ai__cats { display: flex; flex-direction: column; gap: 0.6rem; }
.ai__cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.ai__cats li b {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.ai__cats li.is-live {
  border-color: rgba(5, 150, 105, 0.55);
  background: rgba(5, 150, 105, 0.05);
}

/* Hub Offres v5 : mini-scènes vivantes dans les titres de familles */
.offres--hub .offres__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}
.mini {
  flex: none;
  width: clamp(280px, 29vw, 400px);
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 50px -38px rgba(5, 150, 105, 0.4);
  padding: 0.95rem 1.1rem;
}
.mini__tag {
  position: absolute;
  top: -0.65rem;
  right: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
}
.mini__log {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 5.6rem;
}
.mini__log li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out);
}
.mini__log li.is-in { opacity: 1; transform: none; }
.mini__log .ag__status { width: 15px; height: 15px; margin-top: 0.05em; }
.mini__canvas { display: block; width: 100%; height: 74px; }
.mini__kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.45rem;
}
.mini__label { font-size: 0.78rem; color: var(--ink-3); }
.mini__kpi b {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mini__ui {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: 22px 1fr;
  gap: 6px;
  height: 118px;
}
.mini__uibar {
  grid-column: 1 / -1;
  border-radius: 6px;
  background: var(--tint);
  border: 1px solid var(--hairline);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mini__uiside {
  border-radius: 6px;
  background: var(--tint);
  border: 1px solid var(--hairline);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.mini__uimain { display: flex; flex-direction: column; gap: 6px; }
.mini__uimain i {
  flex: 1;
  border-radius: 6px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.28);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.mini.is-on .mini__uibar,
.mini.is-on .mini__uiside,
.mini.is-on .mini__uimain i { opacity: 1; transform: none; }
.mini.is-on .mini__uiside { transition-delay: 0.16s; }
.mini.is-on .mini__uimain i:nth-child(1) { transition-delay: 0.32s; }
.mini.is-on .mini__uimain i:nth-child(2) { transition-delay: 0.48s; }
.mini.is-on .mini__uimain i:nth-child(3) { transition-delay: 0.64s; }

/* ═══════════════ SOUS-PAGE AGENTS IA : expérientiel (pilote) ═══════════════ */
.offer-hero--xp { position: relative; overflow: hidden; padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.offer-hero--xp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%,
    rgba(255, 255, 255, 0.35) 68%, rgba(255, 255, 255, 0) 100%);
}
.offer-hero__silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.offer-hero--xp .container { position: relative; z-index: 1; }
.offer-hero--xp h1 { font-size: clamp(3rem, 2rem + 4.2vw, 5.4rem); max-width: 24ch; }
.offer-hero--xp .offer-hero__lede { font-size: 1.1rem; max-width: 54ch; }
.xwords .xw { display: inline-block; }
.xwords.is-split .xw { opacity: 0; transform: translateY(0.45em); }
.xwords .xw.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
}

.xscrub { padding: clamp(2.2rem, 4vw, 3.5rem) 0 clamp(2rem, 3.5vw, 3rem); }
.xscrub p {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 30ch;
}
.xscrub p em { color: var(--green); font-family: var(--f-display); font-style: italic; }
.xscrub__sub {
  margin-top: 1.3rem;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem) !important;
  color: var(--ink-2);
}
.js .xscrub .word { opacity: 0.12; transition: opacity 0.45s ease; }
.js .xscrub .word.is-lit { opacity: 1; }
html.static .xscrub .word { opacity: 1; }

.lvl { padding-top: clamp(2.6rem, 4.5vw, 4rem); }
.jour__track { height: 420vh; }
.jour__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jour__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.5fr);
  align-items: center;
  column-gap: clamp(2rem, 4vw, 5rem);
  width: 100%;
}
.jour__wrap { width: 100%; }
.jour__timeline {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 4.5vh, 3.4rem);
  font-size: 0.85rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.jour__timeline b { font-weight: 600; }
.jour__tl-line { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--hairline); }
#jourTlFill { position: absolute; top: 0; bottom: 0; left: 0; width: 0%; border-radius: 2px; background: var(--green); }
.jour__tl-clock {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--green-deep);
  box-shadow: 0 10px 24px -14px rgba(10, 10, 10, 0.4);
  white-space: nowrap;
}
.jour .app {
  opacity: 0;
  transform: translateY(18px) scale(0.965);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out);
}
.jour.is-live .app { opacity: 1; transform: none; }
.app__main { position: relative; }
.app__cursor {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(5, 150, 105, 0.16);
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.4);
  opacity: 0;
  transition: top 0.6s cubic-bezier(0.3, 1, 0.4, 1), left 0.6s cubic-bezier(0.3, 1, 0.4, 1), opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.app__cursor.is-on { opacity: 1; }
.jour__kicker { font-size: 0.95rem; color: var(--ink-3); }
.jour__chaps { position: relative; min-height: 17rem; margin-top: 1.6rem; }
.jour__chap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-out);
  pointer-events: none;
}
.jour__chap.is-on { opacity: 1; transform: none; pointer-events: auto; }
.jour__time {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  color: var(--green-deep);
}
.jour__chap h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 16ch;
}
.jour__chap p { margin-top: 0.9rem; color: var(--ink-2); line-height: 1.65; max-width: 44ch; }
.jour__dots { display: flex; gap: 0.5rem; margin-top: 1.6rem; }
.jour__dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--hairline); transition: background 0.3s ease; }
.jour__dots i.is-on { background: var(--green); }
/* La fenêtre d'application : la seule zone du site où d'autres couleurs
   que l'émeraude sont permises (pastilles de statut, feux de fenêtre) */
.app {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 48px 100px -48px rgba(10, 10, 10, 0.38);
  overflow: hidden;
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  background: #FAFBFA;
}
.app__lights { display: inline-flex; gap: 6px; }
.app__lights i { width: 11px; height: 11px; border-radius: 50%; }
.app__lights i:nth-child(1) { background: #FF5F57; }
.app__lights i:nth-child(2) { background: #FEBC2E; }
.app__lights i:nth-child(3) { background: #28C840; }
.app__title { flex: 1; min-width: 0; text-align: center; font-size: 0.85rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__agent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
}
.app__agent i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: appPulse 2.2s ease-in-out infinite; }
@keyframes appPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
}
.app__body { display: grid; grid-template-columns: 185px minmax(0, 1fr); min-height: clamp(420px, 46vh, 540px); }
.app__side {
  border-right: 1px solid var(--hairline);
  background: #FCFCFC;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.app__nav { padding: 0.5rem 0.8rem; border-radius: 8px; font-size: 0.88rem; color: var(--ink-2); }
.app__nav.is-active { background: rgba(5, 150, 105, 0.1); color: var(--green-deep); font-weight: 600; }
.app__main { padding: 1.15rem 1.35rem 1.1rem; display: flex; flex-direction: column; gap: 0.9rem; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.04rem; }
.app__rows { display: flex; flex-direction: column; }
.app__row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.62rem 0.6rem;
  border-top: 1px solid var(--hairline);
  border-radius: 6px;
  transition: background 0.35s ease;
}
.app__row--mail { grid-template-columns: auto minmax(0, 1.5fr) auto; }
.app__row.is-scan { background: rgba(37, 99, 235, 0.07); }
.app__who { font-weight: 600; font-size: 0.92rem; min-width: 0; }
.app__who em { display: block; font-style: normal; font-weight: 400; font-size: 0.84rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__amt { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.app__hour { font-size: 0.8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.app__st {
  justify-self: end;
  width: 214px;
  display: flex;
  justify-content: flex-end;
  transition: opacity 0.22s ease;
}
.app__st.is-swap { opacity: 0; }
.app__main { transition: opacity 0.3s ease, transform 0.32s ease; }
.app__main.is-swapping { opacity: 0; transform: translateY(6px); }
.pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--amber { color: #92400E; background: #FEF3C7; }
.pill--red { color: #991B1B; background: #FEE2E2; }
.pill--blue { color: #1E40AF; background: #DBEAFE; }
.pill--violet { color: #5B21B6; background: #EDE9FE; }
.pill--green { color: #065F46; background: #D1FAE5; }
.pill--grey { color: var(--ink-3); background: #EEEFEF; }
.app__compose {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  background: #FCFDFC;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.app__compose.is-on { opacity: 1; transform: none; }
.app__compose-to { display: block; font-size: 0.78rem; color: var(--ink-3); margin-bottom: 0.35rem; }
.app__compose-txt { font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; min-height: 2.9em; }
.app__compose-txt.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--green); vertical-align: -0.15em; margin-left: 2px; animation: appCaret 0.85s steps(1) infinite; }
@keyframes appCaret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.app__foot { margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--hairline); font-size: 0.82rem; color: var(--ink-3); min-height: 1.6em; }
.app__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.app__tile { border: 1px solid var(--hairline); border-radius: 12px; padding: 0.95rem 1rem; }
.app__tile b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 2.1rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.app__tile span { font-size: 0.82rem; color: var(--ink-3); }
.app__tile--amber b { color: var(--green-deep); }
.app__listhead { font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }
.app__list { display: flex; flex-direction: column; }
.app__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0.1rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out);
}
.app__list li.is-in { opacity: 1; transform: none; }
.app__list .ag__status { width: 16px; height: 16px; margin-top: 0.1em; }
.app__list li.is-done .ag__status { background: var(--green); border-color: var(--green); }
.app__list li.is-done .ag__status svg { opacity: 1; }

/* Modes figés : capture et reduced-motion — la journée se déroule en page classique */
html.static .jour__track { height: auto; }
html.static .jour__stage { position: static; height: auto; overflow: visible; padding: clamp(3rem, 5vw, 4rem) 0; }
html.static .jour__chaps { min-height: 0; }
html.static .jour__chap { position: static; opacity: 1; transform: none; }
html.static .jour__chap + .jour__chap { margin-top: 2.6rem; }
html.static .jour__grid { grid-template-columns: minmax(0, 1fr); }
html.static .jour__chap .app { margin-top: 1.3rem; }
html.static .app__body { min-height: 0; }
html.static .jour__timeline { display: none; }
html.static .jour .app { opacity: 1; transform: none; }
html.static .jour__dots { display: none; }
@media (prefers-reduced-motion: reduce) {
  .jour__track { height: auto; }
  .jour__stage { position: static; height: auto; overflow: visible; padding: clamp(3rem, 5vw, 4rem) 0; }
  .jour__chaps { min-height: 0; }
  .jour__chap { position: static; opacity: 1; transform: none; }
  .jour__chap + .jour__chap { margin-top: 2.6rem; }
  .jour__grid { grid-template-columns: minmax(0, 1fr); }
  .jour__chap .app { margin-top: 1.3rem; }
  .app__body { min-height: 0; }
  .jour__dots { display: none; }
  .jour__timeline { display: none; }
  .jour .app { opacity: 1; transform: none; }
  .js .xscrub .word { opacity: 1; }
  .xwords.is-split .xw { opacity: 1; transform: none; }
  .js .dt-change .manifesto__item dt::before { transform: none; }
}
@media (max-width: 960px) {
  .jour__grid { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; align-content: center; }
  .jour__chaps { min-height: 15rem; }
  .jour .app { justify-self: start; }
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
}
@media (max-width: 560px) {
  .jour__chaps { min-height: 17rem; }
  /* Fenêtre d'application sur petit écran : la pastille passe sous son libellé */
  .app__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.35rem; padding: 0.7rem 0.5rem; }
  .app__row--mail { grid-template-columns: auto minmax(0, 1fr); }
  .app__row .app__st { grid-column: 1 / -1; width: auto; justify-content: flex-start; justify-self: start; }
  .app__row .pill { white-space: normal; text-align: left; }
  .app__tiles { grid-template-columns: 1fr 1fr; }
  .app__tiles .app__tile:nth-child(3) { grid-column: 1 / -1; }
  .app__main { padding: 1rem 0.9rem; }
  .app__head { flex-wrap: wrap; row-gap: 0.35rem; font-size: 0.98rem; }
  .app__side { display: none; }
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__agent { display: none; }
}

/* Scène des 3 niveaux : épinglée, chapitres en fondu croisé, entrées orchestrées */
.xlvl__track { height: 380vh; }
.xlvl__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.xlvl__stage .container { position: relative; width: 100%; }
.xlvl__chaps { position: relative; min-height: min(34rem, 76vh); }
.xlvl__chap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.xlvl__chap.is-on { opacity: 1; pointer-events: auto; }
.xlvl__chap > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.75s var(--ease-out);
}
.xlvl__chap.is-on > * { opacity: 1; transform: none; }
.xlvl__chap.is-on > *:nth-child(1) { transition-delay: 0.08s; }
.xlvl__chap.is-on > *:nth-child(2) { transition-delay: 0.18s; }
.xlvl__chap.is-on > *:nth-child(3) { transition-delay: 0.32s; }
.xlvl__chap.is-on > *:nth-child(4) { transition-delay: 0.48s; }
.xlvl__chap.is-on > *:nth-child(5) { transition-delay: 0.64s; }
.xlvl__chap h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 22ch;
}
.xlvl__rail {
  position: absolute;
  left: clamp(1.3rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-3);
  z-index: 2;
}
.xlvl__rail span { transition: color 0.35s ease; }
.xlvl__rail span.is-on { color: var(--green-deep); }
.xlvl__rail i { width: 1px; height: 42px; background: var(--hairline); }
html.static .xlvl__track { height: auto; }
html.static .xlvl__stage { position: static; height: auto; overflow: visible; padding: 3rem 0 1rem; }
html.static .xlvl__chaps { min-height: 0; }
html.static .xlvl__chap { position: static; opacity: 1; }
html.static .xlvl__chap > * { opacity: 1; transform: none; }
html.static .xlvl__chap + .xlvl__chap { margin-top: 3.2rem; }
html.static .xlvl__rail { display: none; }
@media (prefers-reduced-motion: reduce) {
  .xlvl__track { height: auto; }
  .xlvl__stage { position: static; height: auto; overflow: visible; padding: 3rem 0 1rem; }
  .xlvl__chaps { min-height: 0; }
  .xlvl__chap { position: static; opacity: 1; }
  .xlvl__chap > * { opacity: 1; transform: none; }
  .xlvl__chap + .xlvl__chap { margin-top: 3.2rem; }
  .xlvl__rail { display: none; }
}
@media (max-width: 960px) {
  .xlvl__rail { display: none; }
}

/* Les chapitres de la journée s'orchestrent aussi en cascade */
.jour__chap > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.65s var(--ease-out);
}
.jour__chap.is-on > * { opacity: 1; transform: none; }
.jour__chap.is-on > *:nth-child(1) { transition-delay: 0.05s; }
.jour__chap.is-on > *:nth-child(2) { transition-delay: 0.14s; }
.jour__chap.is-on > *:nth-child(3) { transition-delay: 0.26s; }
html.static .jour__chap > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .jour__chap > * { opacity: 1; transform: none; }
}

/* Reveals premium de la page : le flou se dissipe (façon Apple) */
.js .xp [data-reveal]:not(.methode__line) {
  filter: blur(11px);
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out) var(--d, 0s),
              transform 0.85s var(--ease-out) var(--d, 0s),
              filter 0.8s ease var(--d, 0s);
}
.js .xp [data-reveal]:not(.methode__line).in-view { filter: blur(0); transform: none; }
html.static .xp [data-reveal] { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .xp [data-reveal] { filter: none; }
}

/* Cas d'usage v3 : récit clair + fenêtre posée (pas d'épinglage) */
.casbloc {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(1.5rem, 2.6vh, 2rem) 0;
}
.casbloc__step { padding: 1.05rem 0; }
.casbloc__step + .casbloc__step { border-top: 1px solid var(--hairline); }
.casbloc__when {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--green-deep);
}
.casbloc__step h3 { margin-top: 0.2rem; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.casbloc__step p { margin-top: 0.35rem; color: var(--ink-2); line-height: 1.6; font-size: 0.97rem; }
.casbloc .app__body { min-height: 0; }
.casbloc .app { max-width: 640px; justify-self: end; }
.casbloc__results {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.8rem;
  padding: clamp(1.5rem, 2.6vh, 2rem) 0;
  border-top: 1px solid var(--hairline);
}
.casbloc__results b {
  font-family: var(--f-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.9rem;
  color: var(--green-deep);
  margin-right: 0.4rem;
}
.casbloc__results span { color: var(--ink-2); font-size: 0.97rem; }
.casbloc__results .link-arrow { margin-left: auto; }
.xcasehead--first { padding-top: clamp(2rem, 3.5vh, 2.8rem); }
@media (max-width: 960px) {
  .casbloc { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .casbloc .app { justify-self: start; }
  .casbloc__results .link-arrow { margin-left: 0; }
}

/* Page À propos : les deux fondateurs */
.team { padding: clamp(2.8rem, 5.5vh, 4.5rem) 0; }
.team__head { margin-bottom: clamp(1.8rem, 3.5vh, 2.6rem); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); }
.team__member { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.team__photo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  margin-bottom: 1.1rem;
  display: block;
}
.team__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.team__role {
  margin-top: 0.35rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green-deep);
}
.team__bio { margin-top: 0.8rem; color: var(--ink-2); line-height: 1.65; max-width: 44ch; }
@media (max-width: 820px) {
  .team__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Page portfolio : interface de démonstration (menu latéral + panneaux) */
.folio-app { padding: clamp(1.8rem, 3.5vh, 2.8rem) 0 clamp(2.8rem, 5vh, 4.2rem); }
.folio-app__frame {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 24px 50px -38px rgba(10, 10, 10, 0.3);
}
.folio-app__side {
  border-right: 1px solid var(--hairline);
  background: var(--tint);
  padding: 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.folio-app__side h3 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.35rem 0.9rem 0.5rem;
}
.folio-app__item {
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 10px;
  padding: 0.52rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.folio-app__item:hover { background: rgba(5, 150, 105, 0.08); color: var(--ink); }
.folio-app__item[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.folio-app__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 10, 10, 0.2); flex: none; }
.folio-app__item--live .folio-app__dot { background: var(--green); }
.folio-app__side hr { height: 1px; background: var(--hairline); margin: 0.7rem 0.9rem; border: 0; }

.folio-app__panel { padding: clamp(1.7rem, 3vw, 2.8rem); display: none; min-height: 33rem; }
.folio-app__panel.actif { display: block; }
.folio-app__panel h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem);
  line-height: 1.12;
}
.folio-app__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.folio-app__badge i { width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 10, 10, 0.2); }
.folio-app__badge--live { color: var(--green-deep); border-color: rgba(5, 150, 105, 0.35); }
.folio-app__badge--live i { background: var(--green); }
.folio-app__pitch { margin-top: 0.9rem; color: var(--ink-2); line-height: 1.65; max-width: 58ch; }
.folio-app__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2.4rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
}
.folio-app__cols h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.folio-app__cols ul { list-style: none; margin-top: 0.7rem; }
.folio-app__cols li {
  padding: 0.28rem 0 0.28rem 1.1rem;
  position: relative;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.folio-app__cols li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.folio-app__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.9rem;
}
.folio-app__soon { font-size: 0.9rem; color: var(--ink-3); }

/* vue d'ensemble : rangées de services, filets fins */
.folio-app__rows { margin-top: 1.6rem; border-bottom: 1px solid var(--hairline); }
.folio-app__row {
  font: inherit;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  padding: 0.95rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  transition: background var(--dur-1) var(--ease-out);
}
.folio-app__row:hover { background: var(--tint); }
.folio-app__row--live { background: var(--tint); }
.folio-app__row--live:hover { background: rgba(5, 150, 105, 0.08); }
.folio-app__row b { flex: 0 0 220px; font-size: 1.02rem; }
.folio-app__row span:not(.folio-app__badge) { flex: 1; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.folio-app__row .folio-app__badge { margin: 0 0 0 auto; white-space: nowrap; align-self: center; }
.folio-app__row::after {
  content: '→';
  margin-left: auto;
  color: var(--green);
  font-size: 0.95rem;
  align-self: center;
  transition: transform var(--dur-1) var(--ease-out);
}
.folio-app__row:hover::after { transform: translateX(4px); }

.folio-app__side-foot {
  margin-top: auto;
  padding: 0.9rem 0.9rem 0.2rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* réalisations compactes */
.folio-app__real { border-top: 1px solid var(--hairline); padding: 1.1rem 0; }
.folio-app__real:first-of-type { margin-top: 1.4rem; }
.folio-app__real b { font-size: 1.05rem; }
.folio-app__real p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.25rem; max-width: 62ch; }
.folio-app__real .offre__chips { margin-top: 0.7rem; }

@media (max-width: 880px) {
  .folio-app__frame { grid-template-columns: 1fr; }
  .folio-app__side {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 0.7rem;
  }
  .folio-app__side h3, .folio-app__side hr, .folio-app__side-foot { display: none; }
  .folio-app__side {
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
    mask-image: linear-gradient(90deg, #000 86%, transparent);
  }
  .folio-app__item { white-space: nowrap; }
  .folio-app__cols { grid-template-columns: 1fr; }
  .folio-app__panel { min-height: 0; }
  .folio-app__row { flex-wrap: wrap; gap: 0.3rem 1rem; }
  .folio-app__row b { flex: 1 1 100%; }
  .folio-app__row .folio-app__badge { margin-left: 0; }
}

/* Page portfolio : bande de logos clients */
.folio-logos { padding: clamp(2.6rem, 5vh, 4rem) 0; }
.folio-logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 2rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}
.folio-logos__row img {
  height: 26px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
}
/* masse optique équilibrée : logos compacts plus hauts, wordmarks longs plus bas */
.folio-logos__row img[alt="CMA CGM"],
.folio-logos__row img[alt="Pernod Ricard"],
.folio-logos__row img[alt="La French Tech"] { height: 44px; }
.folio-logos__row img[alt="Ecosys Group"],
.folio-logos__row img[alt="Platypus Craft"] { height: 38px; }
.folio-logos__row--second {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.7rem;
  justify-content: center;
  gap: 1.6rem clamp(3rem, 6vw, 6rem);
}

/* Page cas d'usage : en-têtes de cas + scènes épinglées plus courtes */
.casbloc { max-width: 1520px; margin-inline: auto; }
.jour--short .jour__track { height: 300vh; }
.xcasehead { padding: clamp(1.5rem, 2.6vh, 2rem) 0; text-align: center; }
.xcasehead--sep { border-top: 1px solid var(--hairline); }
.xcasehead__title {
  margin: 0.7rem auto 0;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.8rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  max-width: 24ch;
}
.xcasehead__ctx { margin: 1.2rem auto 0; color: var(--ink-2); line-height: 1.65; max-width: 62ch; }
html.static .xcasehead,
html.static .casbloc,
html.static .casbloc__results { padding-top: 1.75rem; padding-bottom: 1.75rem; }

/* Scènes plein écran du bas de page (pilote agents-ia) : une idée par écran */
.xchap {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 4vh, 3rem) 0;
}
.xchap__eyebrow { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--green); }
.xchap h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 22ch;
}
.xchap__sub { margin-top: 1.2rem; color: var(--ink-2); font-size: 1.12rem; line-height: 1.65; max-width: 58ch; }
.xchap__flows { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: center; }
.lvl__flow--big { justify-content: center; gap: 0.55rem; }
.lvl__flow--big span { font-size: 1rem; padding: 0.55rem 1.05rem; border-radius: 12px; }
.lvl__flow--big .lvl__pair { padding: 0; }
.lvl__flow--big i { width: 26px; }
.xchap__terms { margin-top: 2.2rem; font-size: 0.95rem; color: var(--ink-3); line-height: 1.7; }
.xchap__terms b { display: inline-block; margin-top: 0.4rem; color: var(--ink); font-weight: 600; }
.xchap__terms a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

.xguard { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.xguard__title {
  text-align: center;
  font-size: clamp(2.4rem, 1.7rem + 3vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.xguard__items { margin-top: clamp(2.6rem, 5vh, 4rem); display: flex; flex-direction: column; }
.xguard__item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.6rem 3rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.xguard__item b { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); font-weight: 700; letter-spacing: -0.01em; }
.xguard__item p { color: var(--ink-2); line-height: 1.65; }

.xcase { padding: clamp(4rem, 9vh, 6.5rem) 0; text-align: center; }
.xcase__num {
  margin-top: 0.8rem;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6rem, 3.5rem + 13vw, 15rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.xcase__num--long { font-size: clamp(3.4rem, 2rem + 7.5vw, 8.5rem); letter-spacing: -0.02em; }
.xcase__title {
  margin-top: 1.2rem;
  margin-inline: auto;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1.2;
  max-width: 26ch;
}
.xcase__sub { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; }
.xcase__cta { margin-top: 1.7rem; }
@media (max-width: 820px) {
  .xchap { min-height: 0; padding: 3rem 0; }
  .xguard__item { grid-template-columns: 1fr; }
}
/* Mode capture : les hauteurs en vh n'ont pas de sens dans une fenêtre-page */
html.static .xchap { min-height: 0; padding: 3.2rem 0; }
html.static .xguard,
html.static .xcase { padding: 4rem 0; }

/* Les pipelines des niveaux : l'impulsion traverse les étapes */
.lvl__flow span { transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
.lvl__flow span.is-hot {
  border-color: rgba(5, 150, 105, 0.55);
  background: rgba(5, 150, 105, 0.09);
  color: var(--green-deep);
}

/* Garde-fous : le point émeraude claque à l'apparition (pages offres seulement) */
.js .dt-change .manifesto__item dt::before { transform: scale(0); }
.js .dt-change .manifesto__item.in-view dt::before {
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
html.static .dt-change .manifesto__item dt::before { transform: none; }

/* Flèche + étiquette suivante restent soudées (pas de flèche orpheline en bout de ligne) */
.lvl__flow .lvl__pair { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; border: 0; background: transparent; }

/* Les flèches des mini-flux se dessinent à l'apparition de la rangée */
.js .lvl .lvl__flow i { transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out) 0.35s; }
.js .lvl .offre.in-view .lvl__flow i { transform: scaleX(1); }
html.static .lvl .lvl__flow i { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .lvl .lvl__flow i { transform: none; }
}

/* Hub Offres v8 : registre par familles — les familles dominent, les services sont des titres courts */
.offres--fam .offres__group { padding-top: 2.4rem; padding-bottom: 1.3rem; }
.offres--fam .offres__group:first-child { padding-top: 1.2rem; }
.offres--fam .offres__group h2 { font-size: clamp(2rem, 1.55rem + 1.7vw, 2.9rem); color: var(--green-deep); }
.offres--fam .offre__name { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); }
.offres--fam .offre__pitch strong { color: var(--ink); font-weight: 700; }

/* Hub Offres v6 : page aiguillage radicale — 3 portes */
.portes { padding: clamp(0.6rem, 1.5vw, 1.2rem) 0 clamp(2.2rem, 4vw, 3.2rem); }
.portes .container { max-width: 1560px; margin-inline: auto; }
.porte {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(2.5rem, 6vw, 8rem);
  padding: clamp(2.6rem, 4.5vw, 3.8rem) clamp(1.3rem, 2vw, 2rem);
  border-top: 1px solid var(--hairline);
}
.porte:last-child { border-bottom: 1px solid var(--hairline); }
.porte__pain {
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 24ch;
  text-wrap: balance;
}
.porte__pain em { color: var(--green); }
.porte__pitch {
  margin-top: 1.15rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 54ch;
}
.porte__pitch strong { color: var(--ink); font-weight: 700; }
.porte__terms {
  margin-top: 1.35rem;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.porte .btn--ghost { margin-top: 1.05rem; }
.porte__liste {
  margin-top: 1.5rem;
  max-width: 36rem;
  border-top: 1px solid var(--hairline);
}
.porte__liste a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s ease;
}
.porte__liste a:hover { background: var(--tint); }
.porte__liste-name { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.porte__liste-terms {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-3);
  white-space: nowrap;
}
.porte__liste-terms svg { color: var(--green-deep); transition: transform 0.3s var(--ease-out); }
.porte__liste a:hover .porte__liste-terms svg { transform: translateX(4px); }
.porte .mini { width: clamp(320px, 31vw, 600px); padding: 1.15rem 1.35rem; }
.porte .mini__log li { font-size: 0.95rem; }
.porte .mini__canvas { height: 92px; }
.porte .mini__ui { height: 170px; }
.mini__uimain i {
  display: flex;
  align-items: center;
  padding-inline: 0.75rem;
}
.mini__uimain i::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.55rem;
}
.mini__uimain i span {
  font-size: 0.8rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 960px) {
  .porte { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .porte .mini { width: 100%; max-width: 440px; }
}

/* Hub Offres v4 : aiguillage théâtral, grammaire unique, preuves, boutons fantômes */
.triage { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.triage__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.1rem, 1.8vw, 1.6rem) clamp(1.3rem, 2vw, 2rem);
  border-top: 1px solid var(--hairline);
  transition: background 0.3s ease;
}
.triage__item:last-child { border-bottom: 1px solid var(--hairline); }
.triage__item:hover { background: var(--tint); }
.triage__pain {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.triage__pain em { color: var(--green); }
.triage__dest {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-deep);
}
.triage__dest svg { transition: transform 0.3s var(--ease-out); }
.triage__item:hover .triage__dest svg { transform: translateX(5px); }
.btn--ghost {
  border: 1px solid rgba(10, 10, 10, 0.35);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.offre__preuve {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.offre__preuve a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.lvl-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--hairline);
  background: var(--tint);
}
.lvl-band a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem clamp(1.3rem, 2vw, 2rem);
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
  border-left: 1px solid var(--hairline);
  transition: background 0.3s ease;
}
.lvl-band a:first-child { border-left: 0; }
.lvl-band a:hover { background: #fff; }
.lvl-band strong { color: var(--ink); }
/* Baseline commune : compenser la hauteur du folio dans les colonnes 2 et 3 */
.offres--hub .offre:has(.offre__num) .offre__mid,
.offres--hub .offre:has(.offre__num) .offre__side { padding-top: 2.35rem; }
/* Un seul filet entre les sections du hub */
.offres--hub .offres__list { border-top: 0; }

/* Hub Offres v3 : hiérarchie famille > rangée, aiguillage, colonnes réordonnées */
.page-head__routes {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.15rem;
  padding-bottom: 0.35rem;
}
.page-head__routes a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 1.02rem;
  transition: color var(--dur-1) ease, background 0.3s ease;
}
.page-head__routes a:last-child { border-bottom: 0; }
.page-head__routes a:hover { color: var(--ink); background: rgba(5, 150, 105, 0.05); }
.page-head__routes strong {
  flex: none;
  color: var(--green-deep);
  font-weight: 700;
}
.page-head__routes strong::after { content: ' →'; }
.offres--hub .offres__group h2 { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.75rem); }
.offres--hub .offre__name { font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.6rem); }
.offres--hub .offre {
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr) minmax(0, 30%);
  align-items: start;
}
.offre__mid { display: flex; flex-direction: column; }
.offre__pour--main {
  font-size: 1.06rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.offre__pour--main strong { color: var(--ink); font-weight: 700; }
.offre__syn {
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.offre__syn strong { color: var(--ink-2); font-weight: 600; }
.offres--hub .offre__side .offre__chips { margin-top: 0.9rem; }
.offres--hub .fam-agents__level { padding: 0.65rem 0.4rem; font-size: 0.98rem; }
.offres--hub .fam-agents__level:first-child { padding-top: 0.1rem; }

/* Hub Offres v2 : bloc famille Agents IA + bande accompagnement */
.fam-agents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(2rem, 3vw, 2.8rem) clamp(1.3rem, 2vw, 2rem);
  border-bottom: 1px solid var(--hairline);
}
.fam-agents__lead .offre__chips { margin-top: 1.1rem; flex-direction: row; flex-wrap: wrap; }
.fam-agents__lead .link-arrow { margin-top: 1.3rem; }
.fam-agents__levels { display: flex; flex-direction: column; }
.fam-agents__level {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 0.95rem 0.6rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
  line-height: 1.55;
  transition: background 0.3s ease;
}
.fam-agents__level:first-child { border-top: 0; padding-top: 0.2rem; }
.fam-agents__level:hover { background: var(--tint); }
.fam-agents__num {
  flex: none;
  min-width: 5.2rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--green);
}
.fam-agents__level strong { color: var(--ink); font-weight: 700; }
.fam-agents__level em { font-style: normal; color: var(--green-deep); font-weight: 600; }
.engage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 3vw, 2.8rem) clamp(1.3rem, 2vw, 2rem);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--tint);
  border-radius: var(--r-card);
}
.engage h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.engage .offre__pitch { margin-top: 0.8rem; max-width: 56ch; }
.engage__side { justify-self: end; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.engage__side .offre__chips { margin-top: 0; flex-direction: row; flex-wrap: wrap; }

/* Agents IA : journal d'agent + mini-flux de l'échelle */
.ag__log {
  padding: 1.15rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 15.5rem;
}
.ag__log li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}
.ag__log li.is-in { opacity: 1; transform: none; }
.ag__status {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 0.1em;
  border-radius: 50%;
  border: 2px solid rgba(5, 150, 105, 0.5);
  background: var(--paper);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.ag__status svg { opacity: 0; transition: opacity 0.25s ease; }
.ag__log li.is-done .ag__status,
.mini__log li.is-done .ag__status { background: var(--green); border-color: var(--green); }
.ag__log li.is-done .ag__status svg,
.mini__log li.is-done .ag__status svg { opacity: 1; }
.lvl__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.offre__livrables .lvl__flow:first-of-type { margin-top: 0.85rem; }
.lvl__flow span {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--tint);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.lvl__flow i {
  width: 14px;
  height: 2px;
  background: rgba(5, 150, 105, 0.55);
  position: relative;
}
.lvl__flow i::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -2.5px;
  border-left: 5px solid rgba(5, 150, 105, 0.55);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}
.lvl__note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.lvl__note a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.lvl .offre__num { font-style: italic; }

/* Forfait : journal d'activité */
.fm__feed {
  padding: 1.1rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 14.5rem;
}
.fm__feed li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  border-bottom: 1px solid var(--hairline);
  padding: 0.65rem 0.2rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-out);
}
.fm__feed li.is-in { opacity: 1; transform: none; }
.fm__month {
  flex: none;
  min-width: 3.4rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--green);
}
.fm__what { font-size: 0.95rem; color: var(--ink-2); }

/* ═══════════════ PAGE DIAGNOSTIC — questionnaire en 6 parties ═══════════════ */
.diagq { padding: clamp(2.2rem, 4vh, 3.5rem) 0 var(--pad-section); }
.diagq__noscript { margin-bottom: 2rem; color: var(--ink-2); }
.diagq__noscript a { color: var(--green-deep); text-underline-offset: 3px; }

.diagq__bar {
  height: 2px;
  background: rgba(10, 10, 10, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
.diagq__bar span {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.diagq__wrap {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(2.4rem, 5vw, 5.5rem);
  align-items: start;
}
.diagq__wrap[hidden], .diagq__bar[hidden] { display: none; }

.diagq__rail {
  list-style: none;
  position: sticky;
  top: 108px;
}
.diagq__rail li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.82rem 0;
  font-size: 0.98rem;
  color: var(--ink-3);
  border-top: 1px solid var(--hairline);
  transition: color 0.25s ease;
}
.diagq__rail li:first-child { border-top: 0; }
.diagq__railnum {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  min-width: 1.5rem;
  color: inherit;
}
.diagq__rail li.is-cur { color: var(--ink); font-weight: 600; }
.diagq__rail li.is-cur .diagq__railnum { color: var(--green-deep); font-weight: 400; }
.diagq__rail li.is-done { color: var(--ink-2); }
.diagq__rail li.is-done::after {
  content: '✓';
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

.diagq__panel { transition: opacity 0.24s ease, transform 0.24s ease; }
.diagq__panel.is-swap { opacity: 0; transform: translateY(10px); }
.diagq__label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.diagq__title {
  margin-top: 0.55rem;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}
.diagq__sub { margin-top: 0.5rem; color: var(--ink-3); }

.diagq__q { margin-top: clamp(1.8rem, 3vh, 2.6rem); }
.diagq__q > p { font-weight: 700; font-size: 1.08rem; }
.diagq__opts { margin-top: 0.85rem; display: flex; flex-direction: column; }
.diagq__opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-top: 1px solid var(--hairline);
  padding: 0.66rem 0.2rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.diagq__opt::before {
  content: '';
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.diagq__opt:hover { color: var(--ink); }
.diagq__opt:hover::before { border-color: var(--green); }
.diagq__opt.is-on { color: var(--ink); font-weight: 600; }
.diagq__opt.is-on::before {
  background: var(--green);
  border-color: var(--green);
  box-shadow: inset 0 0 0 3.5px #fff;
}

.diagq__nav {
  margin-top: clamp(2rem, 3.5vh, 2.8rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.diagq__nav button[disabled] { opacity: 0.35; pointer-events: none; }
.diagq__count { font-size: 0.9rem; color: var(--ink-3); }

/* ─────────── Résultat ─────────── */
.diagr { max-width: 920px; margin-inline: auto; }
.diagr__score { text-align: center; }
.diagr__eyebrow {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green-deep);
}
.diagr__num {
  margin-top: 0.6rem;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(5rem, 3rem + 9vw, 10rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.diagr__den { font-size: 0.32em; color: var(--ink-3); font-weight: 400; margin-left: 0.3rem; }
.diagr__profile { margin-top: 1rem; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.diagr__desc { margin-top: 0.7rem; color: var(--ink-2); max-width: 54ch; margin-inline: auto; line-height: 1.65; }

.diagr__dims {
  margin-top: clamp(2.4rem, 4.5vh, 3.6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
}
.diagr__dim { border-top: 1px solid var(--hairline); padding: 0.95rem 0 1.15rem; }
.diagr__dimhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.98rem; }
.diagr__dimhead b { font-variant-numeric: tabular-nums; }
.diagr__track {
  margin-top: 0.65rem;
  height: 3px;
  background: rgba(10, 10, 10, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.diagr__fill {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) 0.25s;
}

.diagr__block { margin-top: clamp(2.6rem, 5vh, 4rem); }
.diagr__block h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.diagr__prios { list-style: none; margin-top: 1.2rem; }
.diagr__prios li {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
}
.diagr__prionum {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--green-deep);
  min-width: 1.7rem;
}
.diagr__prios b { font-size: 1.05rem; }
.diagr__prios p { margin-top: 0.25rem; color: var(--ink-2); }

.diagr__offers { margin-top: 1.2rem; display: flex; flex-direction: column; }
.diagr__offer {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0.2rem;
  border-top: 1px solid var(--hairline);
  transition: background 0.2s ease;
}
.diagr__offer:hover { background: rgba(5, 150, 105, 0.05); }
.diagr__offer b { font-size: 1.05rem; white-space: nowrap; }
.diagr__offer > span { color: var(--ink-2); font-size: 0.98rem; }
.diagr__offerarrow {
  margin-left: auto;
  color: var(--green-deep);
  transition: transform var(--dur-1) var(--ease-out);
}
.diagr__offer:hover .diagr__offerarrow { transform: translateX(5px); }
.diagr__bpi { margin-top: 1.3rem; font-size: 0.92rem; color: var(--ink-2); }
.diagr__bpi a { color: var(--green-deep); text-underline-offset: 3px; }

.diagr__actions {
  margin-top: clamp(2.4rem, 4.5vh, 3.4rem);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.diagr__note { margin-top: 1.3rem; text-align: center; font-size: 0.86rem; color: var(--ink-3); }

@media (max-width: 860px) {
  .diagq__wrap { grid-template-columns: 1fr; gap: 0; }
  .diagq__rail { display: none; }
  .diagr__dims { grid-template-columns: 1fr; column-gap: 0; }
  .diagr__offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.15rem; align-items: baseline; }
  .diagr__offer b { white-space: normal; }
  .diagr__offer > span:not(.diagr__offerarrow) { grid-column: 1 / -1; }
  .diagr__offerarrow { grid-column: 2; grid-row: 1; margin-left: 0; }
  .diagq__nav { flex-wrap: wrap; }
  .diagq__count { order: -1; width: 100%; }
}
html.static .diagq__panel, html.static .diagq__bar span, html.static .diagr__fill { transition: none; }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(2.8rem, 5vw, 4rem) 0 1.8rem;
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
}
.site-footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-footer__nav a, .site-footer__bottom a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur-1) ease;
}
.site-footer__nav a:hover, .site-footer__bottom a:hover { color: var(--green-deep); }
.site-footer__social { color: var(--ink-2); transition: color var(--dur-1) ease; }
.site-footer__social:hover { color: var(--green-deep); }
.site-footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.site-footer__bottom div { display: flex; gap: 1.5rem; }

/* ═══════════════ REVEALS (IntersectionObserver) ═══════════════ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out) var(--d, 0s),
              transform 0.7s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__inner { flex-wrap: wrap; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.75) 55%,
      rgba(255, 255, 255, 0.3) 100%);
  }
  .manifesto__grid { grid-template-columns: 1fr 1fr; }
  .manifesto__item:nth-child(3n+1) { padding-left: clamp(1.3rem, 2vw, 2rem); }
  .manifesto__item:nth-child(3n+2),
  .manifesto__item:nth-child(3n) { border-left: 0; }
  .manifesto__item:nth-child(even) { border-left: 1px solid var(--hairline); }
  .case {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: clamp(1.3rem, 2vw, 2rem);
    align-items: start;
  }
  .page-head__inner { grid-template-columns: 1fr; align-items: start; }
  .page-head__intro { padding-bottom: 0; }
  .offre { grid-template-columns: 1fr; gap: 1.4rem; }
  .offer-hero__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .fam-agents { grid-template-columns: 1fr; gap: 1.6rem; }
  .engage { grid-template-columns: 1fr; gap: 1.4rem; }
  .engage__side { justify-self: start; }
  .offres--hub .offre { grid-template-columns: 1fr; }
  .offres--hub .offre:has(.offre__num) .offre__mid,
  .offres--hub .offre:has(.offre__num) .offre__side { padding-top: 0; }
  .page-head__routes { padding-top: 0.5rem; }
  .triage__item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .offres--hub .offres__group { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .mini { width: 100%; }
  .lvl-band { grid-template-columns: 1fr; }
  .lvl-band a { border-left: 0; border-top: 1px solid var(--hairline); }
  .lvl-band a:first-child { border-top: 0; }
  .case__side { flex-direction: row; align-items: baseline; gap: 0.45rem; justify-self: start; text-align: left; }
}

@media (max-width: 820px) {
  .btn--nav { display: none; }
  .contact__row { grid-template-columns: 1fr; gap: 1.1rem; }
  .contact__action { justify-self: start; }

  .constat__grid { grid-template-columns: 1fr; max-width: 520px; }

  .deck__panel { grid-template-columns: 1fr; min-height: 0; gap: 1.6rem; }
  .deck__viz { order: -1; max-width: 300px; justify-self: start; }

  .methode__steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .methode__line { display: none; }

  .diag__panel { grid-template-columns: 1fr; }
  .diag__questions { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .diag__q { flex-direction: column; align-items: flex-start; gap: 0.7rem; }


  .section-head { grid-template-columns: 1fr; gap: 0.9rem; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .section-sub { padding-bottom: 0; }
  .section-num { min-width: 0; display: inline-block; }
}

@media (max-width: 560px) {
  /* Logos du hero : pas de décalage de rangée, 3 par ligne, calés à gauche */
  .hero__clients {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    justify-items: start;
    margin-left: 0;
    gap: 0.9rem 1.6rem;
  }
  .hero__clients span:nth-child(n+5) { transform: none; }
  .hero__clients img { --lh: 15px; }

  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__item:nth-child(even) { border-left: 0; }
}

/* Mode capture (?static=1) : tout figé aux états finaux */
html.static *, html.static *::before, html.static *::after {
  transition: none !important;
  animation: none !important;
}
html.static .quote .word { opacity: 1; }

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .brand { animation: none; background-position: 0 center; }
  .viz-card { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .quote .word { opacity: 1; }
}

/* ═══════════════ TRÈS GRANDS ÉCRANS (ultrawide, > 2200 px) ═══════════════
   Le site est pleine largeur jusqu'à 2200 px (design validé en 1920).
   Au-delà, le contenu se plafonne à ~1980 px et se centre : les fonds et
   décors (soie, bandes) continuent de remplir tout l'écran. */
@media (min-width: 2200px) {
  :root { --max-w: 1980px; }
  .site-header__inner { max-width: 1980px; }
}
