/*
 * Styles du site. Toutes les valeurs visuelles viennent de tokens.css.
 * 1. Base · 2. En-tête · 3. Pied · 4. Composants · 5. Accueil : hero et sélecteur · 6. Accueil : approche · 7. Contact final
 */

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-sans); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--c-ink); line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 300; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); font-weight: 300; letter-spacing: -.01em; }
h3 { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
h1 b, h2 b { font-family: var(--f-display); font-weight: 800; color: var(--c-accent-ink); letter-spacing: -.025em; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--c-ink); }
a { color: var(--c-accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--wrap-text); }
.skip-link { position: absolute; left: var(--s-4); top: -10rem; background: var(--c-surface); color: var(--c-ink); padding: var(--s-2) var(--s-4); z-index: 100; }
.skip-link:focus { top: var(--s-4); }

/* ---------- 2. En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.25rem; }
.logo img { width: 10.5rem; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font: 600 var(--t-small) var(--f-sans); color: var(--c-ink);
  background: none; border: var(--border) solid var(--c-line); border-radius: var(--r);
  padding: var(--s-2) var(--s-3); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1rem; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: var(--c-ink); text-decoration: none; padding: var(--s-3) 0; }
.site-nav a.btn { display: inline-flex; color: var(--c-surface); padding: .55rem 1rem; }
.site-nav a[aria-current="page"] { color: var(--c-accent-ink); font-weight: 650; }

@media (max-width: 59.99rem) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); border-bottom: 1px solid var(--c-line); padding: var(--s-2) var(--gutter) var(--s-5); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav li + li { border-top: 1px solid var(--c-line); }
  .site-nav .site-nav__cta { margin-top: var(--s-3); }
}
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: var(--s-6); }
  .site-nav a { padding: var(--s-2) 0; }
  .site-nav a:not(.btn):hover { color: var(--c-accent-ink); }
}

/* ---------- 3. Pied de page ---------- */
.site-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); padding-block: var(--s-7); font-size: var(--t-small); color: var(--c-muted); }
.site-footer__in { display: grid; gap: var(--s-5); }
.site-footer__brand img { width: 9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-footer a { color: var(--c-text); }
.site-footer__legal a { color: var(--c-muted); }
@media (min-width: 60rem) {
  .site-footer__in { grid-template-columns: auto 1fr auto; align-items: center; }
  .site-footer__legal { grid-column: 1 / -1; margin: 0; }
}

/* ---------- 4. Composants ---------- */
.section { padding-block: var(--s-8); }
.section--alt { background: var(--c-bg-alt); }

.kicker {
  display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4);
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny);
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-ink);
}
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); flex: none; }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--c-text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  background: var(--c-accent-ink); color: var(--c-surface);
  border: var(--border) solid var(--c-ink); border-radius: var(--r);
  padding: .8rem 1.25rem; box-shadow: 3px 3px 0 var(--c-ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--c-ink); text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--c-ink); }
.btn--small { font-size: .92rem; padding: .55rem 1rem; box-shadow: 2px 2px 0 var(--c-ink); }

.link-more { font-family: var(--f-display); font-weight: 600; font-size: .98rem; text-decoration: none; }
.link-more::after { content: " →"; }
.link-more:hover { text-decoration: underline; }

/* ---------- 5. Accueil : hero et sélecteur de situation ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line); padding-block: var(--s-6) var(--s-7);
}
.hero::before {            /* filet vertical turquoise → bleu : signature reprise des ressources */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 8px;
  background: linear-gradient(var(--c-accent), var(--c-accent-ink));
}
.hero::after {             /* cercle pointillé, le « repère » de la marque */
  content: ""; position: absolute; right: -10rem; top: -12rem; width: 30rem; height: 30rem;
  border: 2px dashed var(--c-accent); border-radius: 50%; opacity: .4; pointer-events: none;
}
@media (max-width: 47.99rem) { .hero::after { display: none; } }   /* sur mobile, le cercle gênerait la lecture du titre */
.hero__head { position: relative; z-index: 1; max-width: 48rem; }
.hero .kicker { margin-bottom: var(--s-1); }
.hero__for { margin: 0 0 var(--s-5) calc(9px + var(--s-3)); font-size: var(--t-small); color: var(--c-muted); }   /* les cibles, alignées sous l'identifiant */
.hero h1 { font-size: var(--t-hero); line-height: 1.04; letter-spacing: -.015em; margin-bottom: var(--s-4); }
.hero h1 b { display: block; }
.hero__sub { font-size: var(--t-lead); line-height: 1.5; color: var(--c-text); max-width: 40rem; margin-bottom: var(--s-4); }
.hero__cred { font-size: var(--t-small); color: var(--c-muted); margin: 0; }
.hero__cred a { font-weight: 600; }

/* Le sélecteur : une carte de chemins. Un point de départ, un rail, trois embranchements. */
.paths { position: relative; z-index: 1; margin-top: var(--s-6); }
.paths__origin {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny);
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink);
  padding-bottom: var(--s-4); position: relative;
}
.paths__origin::after {    /* le rail part du point de départ */
  content: ""; position: absolute; left: 8px; top: calc(50% - var(--s-2) + 9px); bottom: 0;
  border-left: 2px dashed var(--c-accent);
}
.paths__origin::before {   /* le point de départ */
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--c-surface); border: 4px solid var(--c-accent-ink); box-shadow: 0 0 0 4px var(--c-accent-soft);
}

.route { --elbow-y: calc(var(--s-4) + 1.2rem + var(--border)); position: relative; padding-left: 2.75rem; padding-bottom: var(--s-4); }
.route::before {           /* le rail vertical */
  content: ""; position: absolute; left: 8px; top: calc(var(--elbow-y) - 18px); bottom: 0;   /* reprend sous l'embranchement, sans le doubler */
  border-left: 2px dashed var(--c-accent);
}
.route--last::before { display: none; }
.route__elbow {            /* l'embranchement courbe vers le choix */
  position: absolute; left: 8px; top: 0; width: 2.75rem; height: var(--elbow-y);
  border-left: 2px dashed var(--c-accent); border-bottom: 2px dashed var(--c-accent);
  border-bottom-left-radius: 18px; pointer-events: none;
}

.choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-2) var(--s-4); align-items: start;
  position: relative; text-decoration: none; color: var(--c-text);
  background: var(--c-surface); border: var(--border) solid var(--c-line); border-radius: var(--r-card);
  padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s var(--ease);
  cursor: pointer;
}
.choice:hover { border-color: var(--c-accent); text-decoration: none; }
.choice { scroll-margin-top: 5.5rem; }   /* sous l'en-tête collant */
.choice__n {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
  font-family: var(--f-display); font-weight: 800; font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.choice__txt { display: grid; gap: .15rem; padding-top: .3rem; }
.choice__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.25; color: var(--c-ink); }
.choice__hint { font-size: var(--t-small); line-height: 1.4; color: var(--c-muted); }
.choice__go { font-family: var(--f-display); font-weight: 700; color: var(--c-accent-ink); line-height: 2.4rem; transition: transform .15s var(--ease); }
.choice:hover .choice__go { transform: translateX(3px); }

/* Choix actif : le chemin se trace en bleu profond, la carte prend l'ombre décalée */
.route.is-active .route__elbow { border-left-style: solid; border-bottom-style: solid; border-color: var(--c-accent-ink); border-width: 0 0 3px 3px; }
.route.is-active .choice { border-color: var(--c-ink); box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); transform: translate(-2px, -2px); }
.route.is-active .choice__n { background: var(--c-accent-ink); color: var(--c-surface); }
.route.is-active .choice__go { transform: rotate(90deg); }
.paths.has-choice .route:not(.is-active) .choice { background: transparent; }

/* Le panneau de réponse */
.answer {
  position: relative; background: var(--c-surface);
  border: var(--border) solid var(--c-ink); border-radius: var(--r-card);
  box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink);
  padding: var(--s-5);
}
.answer__close {
  position: absolute; top: var(--s-3); right: var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-1);
  font: 600 var(--t-tiny) var(--f-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); background: var(--c-surface); border: var(--border) solid var(--c-line); border-radius: 999px;
  padding: .3rem .7rem .3rem .55rem; cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.answer__close span[aria-hidden] { font-size: 1.1rem; line-height: 1; }
.answer__close:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }
.answer__kicker { padding-right: 6.5rem; }   /* place pour le bouton Fermer */
.answer__kicker { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-ink); }
.answer h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; margin-bottom: var(--s-4); }
.answer > p { color: var(--c-text); }
.answer__example {
  margin: var(--s-5) 0; padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5);
  background: var(--c-bg-alt); border-left: var(--rule) solid var(--c-accent); border-radius: 0 var(--r) var(--r) 0;
  font-size: var(--t-small); line-height: 1.5;
}
.answer__example b { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); margin-bottom: var(--s-1); }
.answer__proof { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-small); line-height: 1.5; color: var(--c-muted); margin: 0 0 var(--s-5); }
.answer__proof::before { content: ""; flex: none; width: 1.4rem; height: 2px; margin-top: .7em; background: var(--c-accent); }
.answer__proof strong { color: var(--c-ink); }
.answer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }

/* Panneau par défaut (aucun choix) : découvrir, sans forcer */
.answer--default { border-style: dashed; border-color: var(--c-accent); box-shadow: none; display: grid; gap: var(--s-4); align-content: start; }
.answer--default .who { display: flex; gap: var(--s-4); align-items: center; }
.answer--default .who img { width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 3px solid var(--c-accent); padding: 2px; background: var(--c-surface); flex: none; }
.answer--default .who p { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--c-muted); }
.answer--default .who strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--c-ink); }
.answer--default h2 { margin: 0; }

/* Avec JavaScript : un seul panneau visible, apparition courte */
.js .answer[hidden] { display: none; }
.js .answer.is-entering { animation: answer-in .22s var(--ease); }
@keyframes answer-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Mobile et tablette : le panneau s'ouvre sous son choix, sur le même rail */
.answer:not(.answer--default) { margin: var(--s-3) 0 var(--s-2) 0; }
.answer--default { margin-top: var(--s-4); }

@media (max-width: 63.99rem) {
  /* Le panneau reste sur le rail : décalé, et relié au choix par un trait plein */
  .answer:not(.answer--default) { margin-left: 1.6rem; }
  .answer:not(.answer--default)::before {
    content: ""; position: absolute; left: calc(-1.6rem + 8px - var(--border)); top: calc(-1 * var(--s-3) - var(--s-4)); bottom: calc(-1 * var(--s-2));
    border-left: 3px solid var(--c-accent-ink);
  }
}

/* Ordinateur : les choix à gauche sur le rail, la réponse à droite, reliée par un trait */
@media (min-width: 64rem) {
  .js .paths {
    display: grid; grid-template-columns: minmax(0, 31rem) minmax(0, 1fr); column-gap: var(--s-7);
    grid-template-rows: auto auto auto auto 1fr; align-items: start;
  }
  .js .paths__origin { grid-column: 1; grid-row: 1; }
  .js .route { grid-column: 1; }
  .js .route--1 { grid-row: 2; }
  .js .route--2 { grid-row: 3; }
  .js .route--3 { grid-row: 4; }
  .js .answer { grid-column: 2; grid-row: 1 / span 5; margin: 0; }
  .js .route.is-active .choice::after {   /* le trait qui relie le choix à sa réponse */
    content: ""; position: absolute; top: 50%; left: 100%; width: calc(var(--s-7) + 2px);
    border-top: 3px solid var(--c-accent-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 6. Accueil : l'approche (bandeau sombre, section manifeste) ---------- */
.approach { background: var(--c-ink); color: var(--c-on-dark-mut); position: relative; overflow: hidden; }
.approach::after {
  content: ""; position: absolute; left: -12rem; bottom: -16rem; width: 32rem; height: 32rem;
  border: 2px dashed var(--c-accent); border-radius: 50%; opacity: .25; pointer-events: none;
}
.approach .kicker { color: var(--c-accent); }
.approach h2 { color: var(--c-on-dark); font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.05; }
.approach h2 b { color: var(--c-accent); display: block; }
.approach__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
.approach__intro p:not(.kicker) { font-size: var(--t-lead); line-height: 1.55; color: var(--c-on-dark); margin-top: var(--s-5); max-width: 34rem; }
.approach__intro p:not(.kicker) + p { font-size: var(--t-body); color: var(--c-on-dark-mut); margin-top: var(--s-4); }

.questions { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.questions__label { font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .14em; text-transform: uppercase; color: var(--c-on-dark-mut); margin: 0 0 var(--s-3); }
.questions li {
  counter-increment: q; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-3); align-items: baseline;
  padding: var(--s-4) 0; border-top: 1px solid var(--c-dark-line);
  font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.4; color: var(--c-on-dark);
}
.questions li:last-child { border-bottom: 1px solid var(--c-dark-line); }
.questions li::before { content: "0" counter(q); font-family: var(--f-display); font-weight: 800; font-size: .95rem; color: var(--c-accent); }
.questions small { display: block; font-size: var(--t-small); color: var(--c-on-dark-mut); margin-top: var(--s-1); }

.principles { position: relative; z-index: 1; display: grid; gap: var(--s-4); margin-top: var(--s-7); }
.principle { background: var(--c-ink); border: var(--border) solid var(--c-dark-line); border-radius: var(--r-card); padding: var(--s-5); }
.principle__quote { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; color: var(--c-on-dark); margin: 0 0 var(--s-3); }
.principle__quote span { color: var(--c-accent); }
.principle p:last-child { font-size: var(--t-small); line-height: 1.5; }

@media (min-width: 64rem) {
  .approach__grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .principles { grid-template-columns: 1fr 1fr; }
}

/* ---------- 7. Contact final ---------- */
.closing { display: grid; gap: var(--s-5); align-items: center; }
.closing h2 b { display: inline; }
.closing p { color: var(--c-text); max-width: 36rem; margin-top: var(--s-4); }
@media (min-width: 64rem) { .closing { grid-template-columns: 1fr auto; } }

/* 404 et pages simples */
.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-ink); margin: 0 0 var(--s-4); }

/* ---------- 8. Pages intérieures : hero et blocs éditoriaux ---------- */
.hero--page { padding-block: var(--s-7); }
.hero--page::after { top: auto; bottom: -22rem; right: -14rem; }   /* le cercle reste en bas, loin du schéma */
.hero--page h1 { font-size: var(--t-h1); line-height: 1.08; }
.hero--page h1 b { display: inline; }
.hero__prompt { font-family: var(--f-display); font-weight: 600; color: var(--c-ink); margin: var(--s-5) 0 var(--s-3); }
.hero-split { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .hero-split { grid-template-columns: 1.35fr 1fr; align-items: center; } }
.section-intro { margin-top: var(--s-5); }

/* Schéma « qui fait quoi » : trois rôles reliés par le rail de la marque */
.roles { margin: 0; position: relative; padding-left: 2.75rem; }
.roles::before { content: ""; position: absolute; left: 8px; top: 2.6rem; bottom: 2.4rem; border-left: 2px dashed var(--c-accent); }
.roles__title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 var(--s-4) -2.75rem; display: flex; align-items: center; gap: var(--s-3); }
.roles__title::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c-surface); border: 4px solid var(--c-accent-ink); box-shadow: 0 0 0 4px var(--c-accent-soft); flex: none; }
.roles__node { position: relative; display: grid; gap: .15rem; background: var(--c-surface); border: var(--border) solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-3); }
.roles__node::before { content: ""; position: absolute; left: calc(-2.75rem + 8px); top: 50%; width: calc(2.75rem - 8px); border-top: 2px dashed var(--c-accent); }
.roles__who { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.roles__who em { font-style: normal; font-weight: 600; font-size: var(--t-tiny); letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-ink); margin-left: var(--s-2); }
.roles__what { font-size: var(--t-small); color: var(--c-muted); line-height: 1.45; }
.roles__node--agency { border-color: var(--c-ink); box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); }
.roles__node--agency::before { border-top: 3px solid var(--c-accent-ink); }
.roles__node--niry { border-style: dashed; border-color: var(--c-accent); background: transparent; }

/* Liste de situations : texte éditorial en deux colonnes, mots-clés en gras */
.cases { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: 0 var(--s-7); border-top: 1px solid var(--c-line); }
@media (min-width: 48rem) { .cases { grid-template-columns: 1fr 1fr; } }
.cases li { position: relative; padding: var(--s-4) 0 var(--s-4) var(--s-6); border-bottom: 1px solid var(--c-line); line-height: 1.5; }
.cases li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c-accent); }
.cases b { font-family: var(--f-display); font-weight: 600; color: var(--c-ink); }
.cases__note { margin-top: var(--s-4); font-size: var(--t-small); color: var(--c-muted); }

/* Étapes sur le rail : le parcours de collaboration */
.steps-rail { list-style: none; margin: var(--s-6) 0 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-5); }
.steps-rail li { counter-increment: step; position: relative; padding-left: 3.75rem; }
.steps-rail li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent);
  font-family: var(--f-display); font-weight: 800; font-size: .95rem; z-index: 1;
}
.steps-rail li::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.4rem; bottom: calc(-1 * var(--s-5)); border-left: 2px dashed var(--c-accent); }
.steps-rail li:last-child::after { display: none; }
.steps-rail h3 { margin: .35rem 0 var(--s-2); }
.steps-rail p { color: var(--c-text); max-width: 42rem; }
@media (min-width: 64rem) {
  .steps-rail { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); }
  .steps-rail li { padding-left: 0; padding-top: 3.5rem; }
  .steps-rail li::after { left: 2.4rem; right: calc(-1 * var(--s-5)); top: calc(1.2rem - 1px); bottom: auto; border-left: 0; border-top: 2px dashed var(--c-accent); }
  .steps-rail p { font-size: var(--t-small); }
}

/* Bandeau sombre : ce que l'agence garde, et les limites */
.keeps { list-style: none; margin: 0; padding: 0; }
.keeps li { position: relative; padding: var(--s-4) 0 var(--s-4) var(--s-6); border-top: 1px solid var(--c-dark-line); color: var(--c-on-dark); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.45; }
.keeps li:last-child { border-bottom: 1px solid var(--c-dark-line); }
.keeps li::before { content: "✓"; position: absolute; left: 0; top: var(--s-4); font-family: var(--f-display); font-weight: 800; color: var(--c-accent); }
.limits { position: relative; z-index: 1; margin-top: var(--s-7); padding: var(--s-5); border: var(--border) dashed var(--c-dark-line); border-radius: var(--r-card); background: var(--c-ink); }
.limits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2) var(--s-6); }
@media (min-width: 48rem) { .limits ul { grid-template-columns: 1fr 1fr; } }
.limits li { position: relative; padding-left: var(--s-5); font-size: var(--t-small); line-height: 1.5; }
.limits li::before { content: "—"; position: absolute; left: 0; color: var(--c-accent); }

/* Confiance : portrait, faits, preuves cliquables */
.trust { display: grid; gap: var(--s-6); }
@media (min-width: 64rem) { .trust { grid-template-columns: 14rem 1fr; gap: var(--s-7); align-items: start; } }
.trust__who img { width: 9rem; height: 9rem; border-radius: 50%; border: 4px solid var(--c-accent); padding: 3px; background: var(--c-surface); }
@media (min-width: 64rem) { .trust__who img { width: 13rem; height: 13rem; } }
.trust__who p { margin-top: var(--s-3); font-size: var(--t-small); color: var(--c-muted); }
.trust__who strong { display: block; font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.facts { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.facts li { position: relative; padding-left: var(--s-6); }
.facts li::before { content: "→"; position: absolute; left: 0; font-family: var(--f-display); font-weight: 700; color: var(--c-accent-ink); }
.proofs { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 48rem) { .proofs { grid-template-columns: repeat(3, 1fr); } }
.proof-card { display: grid; gap: var(--s-2); align-content: start; text-decoration: none; color: var(--c-text); background: var(--c-surface); border: var(--border) solid var(--c-line); border-radius: var(--r-card); padding: var(--s-5); transition: border-color .15s ease, box-shadow .15s ease, transform .15s var(--ease); }
.proof-card:hover { border-color: var(--c-ink); box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); transform: translate(-2px, -2px); text-decoration: none; }
.proof-card__tag { font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.proof-card__title { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.proof-card__text { font-size: var(--t-small); color: var(--c-muted); line-height: 1.5; }

/* Relance au milieu d'une page longue */
.mid-cta { margin: var(--s-6) 0 0; }

/* Témoignages : traduction visible, original en accordéon */
.quotes { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 48rem) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: var(--s-5); background: var(--c-bg-alt); border-left: var(--rule) solid var(--c-accent); border-radius: 0 var(--r-card) var(--r-card) 0; }
.quote__lang { margin: 0 0 var(--s-2); font-size: var(--t-tiny); color: var(--c-muted); }
.quote__text { margin: 0; color: var(--c-ink); line-height: 1.55; }
.quote__by { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); font-size: var(--t-small); line-height: 1.35; color: var(--c-muted); }
.quote__by img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; flex: none; }
.quote__by strong { display: block; font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.quote details { margin-top: var(--s-3); font-size: var(--t-small); color: var(--c-muted); }
.quote summary { cursor: pointer; color: var(--c-accent-ink); font-weight: 600; }
.quote blockquote { margin: var(--s-2) 0 0; font-style: italic; line-height: 1.5; }

/* ---------- 9. Contact ---------- */
.contact-page { background: var(--c-bg-alt); position: relative; overflow: hidden; }
.contact-page::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(var(--c-accent), var(--c-accent-ink)); }
.contact { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .contact { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.contact__intro h1 { margin-bottom: var(--s-5); }
.contact__intro h1 b { display: block; }
.contact__intro .lead { margin-bottom: var(--s-4); }
.contact__elsewhere { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
.contact__label { font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 var(--s-3); }
.contact__elsewhere ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.contact__elsewhere a { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--f-display); font-weight: 600; text-decoration: none; }
.contact__elsewhere a:hover { text-decoration: underline; }
.contact__elsewhere .contact__what { font-family: var(--f-sans); font-weight: 400; color: var(--c-muted); margin-left: calc(-1 * var(--s-3) + .25em); }
.contact__elsewhere ul { gap: var(--s-3); }
.social-icon { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: var(--c-accent-ink); flex: none; transition: background .15s ease; }
.social-icon svg { width: 1.2rem; height: 1.2rem; fill: var(--c-surface); }
.social-icon .social-icon__cut { fill: var(--c-accent-ink); transition: fill .15s ease; }
.contact__elsewhere a:hover .social-icon { background: var(--c-ink); }
.contact__elsewhere a:hover .social-icon__cut { fill: var(--c-ink); }

.contact__form > * { background: var(--c-surface); border: var(--border) solid var(--c-ink); border-radius: var(--r-card); box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); padding: var(--s-6) var(--s-5); }
@media (min-width: 48rem) { .contact__form > * { padding: var(--s-6); } }
.form { display: grid; gap: var(--s-5); }
.form__alert { margin: 0; padding: var(--s-3) var(--s-4); background: var(--c-alert-bg); border-left: var(--rule) solid var(--c-alert-line); border-radius: 0 var(--r) var(--r) 0; color: var(--c-ink); font-size: var(--t-small); }
.field { display: grid; gap: var(--s-2); margin: 0; }
.field label, .field legend { font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--c-ink); }
.req, .opt { font-family: var(--f-sans); font-weight: 400; font-size: var(--t-tiny); letter-spacing: .04em; color: var(--c-muted); margin-left: var(--s-2); }
.field__hint { margin: 0; font-size: var(--t-small); color: var(--c-muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; color: var(--c-text); background: var(--c-surface);
  border: var(--border) solid var(--c-line); border-radius: var(--r); padding: .7rem .85rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-accent-ink); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.field [aria-invalid="true"] { border-color: var(--c-alert-line); }
.field__error { margin: 0; font-size: var(--t-small); color: var(--c-alert); }
.field--choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.field--choices legend { margin-bottom: var(--s-2); padding: 0; width: 100%; }
.choice-pill { position: relative; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-pill span { display: inline-block; font-size: var(--t-small); padding: .4rem .85rem; border: var(--border) solid var(--c-line); border-radius: 999px; color: var(--c-text); background: var(--c-surface); transition: border-color .15s ease, background .15s ease, color .15s ease; }
.choice-pill:hover span { border-color: var(--c-accent); }
.choice-pill input:checked + span { background: var(--c-accent-ink); border-color: var(--c-ink); color: var(--c-surface); }
.choice-pill input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; font-size: 1.02rem; padding: .85rem 1.4rem; cursor: pointer; }
.form__privacy { margin: 0; font-size: var(--t-tiny); line-height: 1.5; color: var(--c-muted); }
.form-done h2 { font-size: var(--t-h2); margin-bottom: var(--s-4); }
.form-done h2 b { display: block; }

/* ---------- 10. Page Entreprises ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.measure-wide { max-width: calc(52rem + 2 * var(--gutter)); }

/* Schéma « avant / après » : trois saisies deviennent une */
.flow { margin: 0; }
.flow .roles__title { margin-left: 0; }
.flow__lanes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.flow__label { margin: 0 0 var(--s-2); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.flow__lane { display: grid; gap: var(--s-3); align-content: start; position: relative; }
.flow__step { position: relative; display: grid; gap: .1rem; font-size: var(--t-small); line-height: 1.35; color: var(--c-ink); background: var(--c-surface); border: var(--border) solid var(--c-line); border-radius: var(--r); padding: var(--s-3); }
.flow__step em { font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--c-alert); }
.flow__lane--before .flow__step { border-style: dashed; color: var(--c-muted); }
.flow__lane--after .flow__step em { color: var(--c-accent-ink); }
.flow__lane--after .flow__step:first-of-type { border-color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-accent-ink); }
.flow__step--auto { border-color: var(--c-accent) !important; background: var(--c-accent-soft); }
.flow__lane .flow__step + .flow__step::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--s-3) - var(--border)); height: var(--s-3); border-left: 2px dashed var(--c-accent); }
.flow__lane--after .flow__step + .flow__step::before { border-left: 3px solid var(--c-accent-ink); }
.flow__note { margin: var(--s-4) 0 0; font-size: var(--t-small); color: var(--c-muted); }

/* Deux situations côte à côte */
.duo { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
@media (min-width: 56rem) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__item { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border: var(--border) solid var(--c-ink); border-radius: var(--r-card); background: var(--c-surface); scroll-margin-top: 5.5rem; }
.duo__item:target { box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); }
.duo__n { position: absolute; top: calc(-1.2rem - 1px); left: var(--s-5); margin: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-accent-ink); color: var(--c-surface); font-family: var(--f-display); font-weight: 800; }
.duo__item h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: var(--s-4); }
.duo__signs { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-2); }
.duo__signs li { position: relative; padding-left: var(--s-5); line-height: 1.45; }
.duo__signs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c-accent); }
.duo__how { margin: 0; padding-top: var(--s-4); border-top: 1px dashed var(--c-line); color: var(--c-text); }

/* Exemples → bénéfices */
.benefits { margin: var(--s-6) 0 0; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.benefits > div { display: grid; gap: var(--s-1) var(--s-6); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 56rem) { .benefits > div { grid-template-columns: 1.1fr 1fr; align-items: baseline; } }
.benefits dt { font-family: var(--f-display); font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.benefits dd { margin: 0; color: var(--c-text); position: relative; padding-left: var(--s-6); }
.benefits dd::before { content: "→"; position: absolute; left: 0; font-family: var(--f-display); font-weight: 700; color: var(--c-accent-ink); }

/* Section manifeste claire, grande typographie */
.statement__in { display: grid; gap: var(--s-5); }
.statement__big { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.06; max-width: 22ch; }
.statement__big b { display: inline; }
.statement__text { display: grid; gap: var(--s-4); max-width: 60rem; }
@media (min-width: 64rem) { .statement__text { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
.statement__text p { margin: 0; }

/* Étapes « à tiroirs » : indépendantes, chacune son statut */
.drawers { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 48rem) { .drawers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .drawers { grid-template-columns: repeat(4, 1fr); } }
.drawers li { position: relative; background: var(--c-surface); border: var(--border) solid var(--c-line); border-top: var(--rule) solid var(--c-accent); border-radius: var(--r) var(--r) var(--r-card) var(--r-card); padding: var(--s-5); }
.drawers__tag { display: inline-block; margin-bottom: var(--s-3); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-ink); background: var(--c-accent-soft); border-radius: 999px; padding: .2rem .7rem; }
.drawers h3 { margin-bottom: var(--s-2); }
.drawers p { margin: 0; font-size: var(--t-small); line-height: 1.55; }

/* Témoignage mis en avant */
.quote--large { margin-top: var(--s-3); padding: var(--s-6); }
.quote--large .quote__text { font-size: var(--t-lead); line-height: 1.5; }
.proof-line { margin-top: var(--s-5); color: var(--c-muted); }

/* ---------- 11. À propos ---------- */
@media (min-width: 64rem) { .hero-split--portrait { grid-template-columns: 1.5fr 1fr; } }
.portrait { margin: 0; justify-self: center; text-align: center; }
.portrait img { width: 14rem; height: 14rem; border-radius: 50%; border: 4px solid var(--c-accent); padding: 4px; background: var(--c-surface); box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); }
@media (min-width: 64rem) { .portrait img { width: 19rem; height: 19rem; } }
.portrait figcaption { margin-top: var(--s-4); font-size: var(--t-small); color: var(--c-muted); }
.hero__facts { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.hero__facts li { color: var(--c-muted); font-size: var(--t-small); }
.hero__facts b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: var(--c-accent-ink); }

/* Frise sur le rail */
.timeline { list-style: none; margin: var(--s-6) 0 0; padding: 0; max-width: 52rem; }
.timeline li { position: relative; padding: 0 0 var(--s-6) 3rem; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--c-accent); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 1.2rem; bottom: 0; border-left: 2px dashed var(--c-accent); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .timeline__now::before { background: var(--c-accent-ink); border-color: var(--c-accent-ink); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.timeline__when { margin: 0 0 var(--s-1); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.timeline h3 { margin-bottom: var(--s-2); }
.timeline p:last-child { color: var(--c-text); }
@media (min-width: 56rem) {
  .timeline li { display: grid; grid-template-columns: 9rem 1fr; column-gap: var(--s-5); padding-left: 3rem; }
  .timeline__when { grid-row: 1 / span 2; padding-top: .3rem; }
}

/* Défis : trois récits courts */
.challenges { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 56rem) { .challenges { grid-template-columns: repeat(3, 1fr); } }
.challenges article { padding: var(--s-5); background: var(--c-surface); border-radius: var(--r-card); border: var(--border) solid var(--c-line); }
.challenges__tag { margin: 0 0 var(--s-2); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.challenges h3 { margin-bottom: var(--s-3); }
.challenges p:last-child { font-size: var(--t-small); line-height: 1.55; }

/* Triade typographique sur bandeau sombre */
.triad { color: var(--c-on-dark); font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem); line-height: 1.05; position: relative; z-index: 1; }
.triad b { color: var(--c-accent); }
.triad span { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; color: var(--c-on-dark); }
.triad__lines { position: relative; z-index: 1; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 56rem) { .triad__lines { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.triad__lines p { margin: 0; padding-top: var(--s-4); border-top: 2px solid var(--c-dark-line); line-height: 1.55; }
.triad__lines strong { color: var(--c-on-dark); }

@media (min-width: 64rem) { .quotes--three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 12. Produits ---------- */
.hero--short { padding-block: var(--s-7) var(--s-6); }
.products { display: grid; gap: var(--s-7); }
.product { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 60rem) { .product { grid-template-columns: 1.1fr 1fr; gap: var(--s-7); } .product--demo .product__media { order: 2; } }
.product__media { display: block; border: var(--border) solid var(--c-ink); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); background: var(--c-surface); }
.product__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform .3s var(--ease); }
.product__media:hover img { transform: scale(1.02); }
.product--demo .product__media { border-style: dashed; border-color: var(--c-accent); box-shadow: none; }
.product__tag { display: inline-block; margin: 0 0 var(--s-3); font-family: var(--f-display); font-weight: 600; font-size: var(--t-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); border: 2px dashed var(--c-accent); border-radius: 999px; padding: .2rem .75rem; }
.product__tag--live { border-style: solid; border-color: var(--c-accent-ink); background: var(--c-accent-ink); color: var(--c-surface); }
.product h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); letter-spacing: -.02em; color: var(--c-ink); }
.product__by { margin: var(--s-1) 0 var(--s-4); font-size: var(--t-small); color: var(--c-muted); }
.product__for { color: var(--c-muted); font-size: var(--t-small); margin-bottom: var(--s-3); }
.product__for + .btn, .product__for:last-of-type { margin-top: var(--s-2); }
.product--demo .product__media img { object-position: center; }
.product__body .link-more { display: inline-block; margin-top: var(--s-2); }

/* ---------- 13. Consentement et pages légales ---------- */
.btn--ghost { background: var(--c-surface); color: var(--c-ink); }
.linklike { font: inherit; color: var(--c-muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent {
  position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: 30rem;
  background: var(--c-surface); border: var(--border) solid var(--c-ink); border-radius: var(--r-card);
  box-shadow: var(--offset) var(--offset) 0 var(--c-accent-ink); padding: var(--s-5);
}
@media (min-width: 48rem) { .consent { left: auto; } }
.consent__title { margin: 0 0 var(--s-2); font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.consent__text { margin: 0 0 var(--s-4); font-size: var(--t-small); line-height: 1.5; }
.consent__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.consent__actions .btn { flex: 1 1 8rem; }

.legal { max-width: 46rem; }
.legal h1 { margin-bottom: var(--s-3); }
.legal__updated { color: var(--c-muted); font-size: var(--t-small); margin-bottom: var(--s-7); }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); letter-spacing: -.01em; margin: var(--s-7) 0 var(--s-3); scroll-margin-top: 6rem; }
.legal h3 { margin: var(--s-5) 0 var(--s-2); font-size: 1.05rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: var(--s-1); }
.legal address { font-style: normal; padding: var(--s-4) var(--s-5); background: var(--c-bg-alt); border-left: var(--rule) solid var(--c-accent); border-radius: 0 var(--r) var(--r) 0; margin: var(--s-3) 0 var(--s-4); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-small); margin: var(--s-3) 0 var(--s-4); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--c-line); }
.legal th { font-family: var(--f-display); font-weight: 600; color: var(--c-ink); background: var(--c-bg-alt); }
.legal .table-wrap { overflow-x: auto; }

.contact__call { margin-top: var(--s-6); padding: var(--s-5); background: var(--c-surface); border: var(--border) dashed var(--c-accent); border-radius: var(--r-card); }
.contact__call p:not(.contact__label) { font-size: var(--t-small); margin-bottom: var(--s-4); }

/* Schéma d'architecture de la démo (même principe que la vidéo : l'IA interprète, le système métier décide) */
.product__media--arch { display: grid; place-items: center; padding: var(--s-5) var(--s-4); background: var(--c-bg-alt); text-decoration: none; }
.arch { display: grid; justify-items: center; gap: var(--s-3); width: 100%; max-width: 18rem; }
.arch > .arch__node { margin-left: 2.5rem; width: calc(100% - 2.5rem); }   /* même axe que les blocs encadrés */
.arch__group { position: relative; display: grid; justify-items: center; gap: var(--s-3); width: 100%; padding: var(--s-1) 0 var(--s-1) 2.5rem; }
.arch__group::before { content: ""; position: absolute; left: 1.75rem; top: 0; bottom: 0; border-left: 3px solid currentColor; border-radius: 2px; }
.arch__label { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; width: 1.5rem; white-space: nowrap; display: flex; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.arch__group--ia { color: var(--c-accent-ink); }
.arch__group--biz { color: var(--c-ink); }
.arch__node { position: relative; display: block; width: 100%; text-align: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--c-ink);
  background: var(--c-surface); border: var(--border) solid var(--c-ink); border-radius: var(--r); padding: .5rem .75rem; }
.arch > .arch__node + .arch__group::after, .arch__node + .arch__node::before, .arch__group + .arch__group::after, .arch__group + .arch__node::before {
  content: ""; position: absolute; left: 50%; height: var(--s-3); border-left: 2px solid var(--c-ink); }
.arch__node + .arch__node::before { top: calc(-1 * var(--s-3) - var(--border)); }
.arch__group + .arch__node::before { top: calc(-1 * var(--s-3) - var(--s-1) - var(--border)); height: calc(var(--s-3) + var(--s-1)); }   /* traverse la marge de l'encadré */
.arch > .arch__node + .arch__group::after { top: calc(-1 * var(--s-3)); height: calc(var(--s-3) + var(--s-1)); margin-left: 1.25rem; }
.arch__group + .arch__group::after { top: calc(-1 * var(--s-3) - var(--s-1)); height: calc(var(--s-3) + 2 * var(--s-1)); margin-left: 1.25rem; }
.arch__group--ia .arch__node { background: var(--c-accent-soft); border-color: var(--c-accent-ink); }
.arch__group--biz .arch__node { background: var(--c-accent-ink); border-color: var(--c-ink); color: var(--c-surface); }
