/* Fichier css/svc-automatisations-ia.css · chargé par : service-automatisations-ia */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');
/* =========================================================
   IAI — page métier « Automatisations IA » : LA MACHINE
   Salle des machines élégante : graphite, noir industriel, jaune signal, ambre.
   Langage motion (voir svc-automatisations-ia.js) :
     --ax-press  cubic-bezier(.7, 0, .2, 1)    mécanique, piston : départ sec, arrêt net
     --ax-snap   cubic-bezier(.3, 1.5, .5, 1)  enclenchement (tampon, voyant, cran du sélecteur)
     --ax-glide  cubic-bezier(.16, 1, .3, 1)   textes qui arrivent sur le tapis
     linear                                  tout ce qui est convoyé (tapis, paquets) : une machine ne ralentit pas
   ========================================================= */
html[data-svc="automatisations-ia"] {
  --bg-rgb: 14 14 13;       --surface-rgb: 26 26 24;   --text-rgb: 241 237 227;
  --acc-rgb: 255 196 20;    --acc-hi-rgb: 255 216 92;  --on-acc-rgb: 22 17 2;
  --acc2-rgb: 255 142 36;   --space-rgb: 30 28 22;     --space-glow: 150 112 18;
  --mint-rgb: 255 234 170;  --muted-rgb: 152 148 138;  --mutesp-rgb: 208 202 188;
  --deep-rgb: 8 8 7;        --alert-rgb: 255 74 52;    --warn-rgb: 255 150 30;
  --ink-rgb: 26 25 22;      --ink2-rgb: 196 140 0;     --ink-mid-rgb: 112 106 92;
  --ok-rgb: 150 232 120;
  --paper-rgb: 236 232 220;
  --ax-press: cubic-bezier(.7, 0, .2, 1);
  --ax-snap: cubic-bezier(.3, 1.5, .5, 1);
  --ax-glide: cubic-bezier(.16, 1, .3, 1);
  --ax-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ax-disp: "Big Shoulders Display", "Manrope", system-ui, sans-serif;
  --line: rgb(var(--text-rgb) / .12);
}
html[data-svc="automatisations-ia"] body { background: rgb(var(--bg-rgb)); }
/* section claire (fiche technique) : papier chaud, encre graphite, le jaune reste le signal */
html[data-svc="automatisations-ia"] [data-tone="light"] {
  --bg-rgb: 236 232 220; --surface-rgb: 226 221 207; --text-rgb: 26 25 22; --muted-rgb: 96 92 82; --mutesp-rgb: 70 66 58;
  --acc-rgb: 255 196 20; --acc-hi-rgb: 255 216 92; --on-acc-rgb: 22 17 2; --acc2-rgb: 255 142 36;
  --space-rgb: 226 221 207; --space-glow: 196 140 0; --mint-rgb: 120 90 0;
}
.svx--automatisations-ia { overflow-x: clip; }
.svx--automatisations-ia .mono { font-family: var(--ax-mono); font-weight: 500; letter-spacing: .04em; }
.svx--automatisations-ia em { font-style: normal; color: rgb(var(--acc-rgb)); }

/* ---------- briques communes ---------- */
.ax-led { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--ok-rgb)); box-shadow: 0 0 0 3px rgb(var(--ok-rgb) / .18); animation: ax-blink 2.4s steps(2, jump-none) infinite; }
@keyframes ax-blink { 50% { opacity: .35; } }
.ax-head { position: relative; display: grid; gap: 20px; margin-bottom: clamp(40px, 7svh, 84px); }
.ax-h2 { font-family: var(--ax-disp); font-weight: 800; font-size: clamp(2.6rem, 1rem + 5.4vw, 6.6rem); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; max-width: 16ch; }
.ax-lead { max-width: 52ch; font-size: var(--fs-body-l); line-height: 1.3; color: rgb(var(--text-rgb) / .68); }
/* mots des titres : ils arrivent comme des pièces sur un tapis (glissement court depuis la gauche, cadence irrégulière) */
.ax-w { display: inline-block; }
html.ax-js .ax-w { opacity: 0; transform: translate3d(-.35em, 0, 0); transition: opacity .5s var(--ax-glide), transform .9s var(--ax-glide); transition-delay: calc(var(--i, 0) * 55ms); }
html.ax-js .is-in .ax-w, html.ax-js .ax-w.is-in { opacity: 1; transform: none; }

/* grille technique de fond (une seule couche, fixe) */
.ax-grid { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgb(var(--text-rgb) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--text-rgb) / .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 85%); }

/* =========================================================
   OUVERTURE
   ========================================================= */
.ax-hero { position: relative; min-height: var(--fh, 100svh); display: flex; flex-direction: column; padding-top: calc(clamp(88px, 12svh, 104px) + var(--sat, 0px)); overflow: hidden; }
.ax-hero__in { position: relative; }
.ax-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgb(var(--text-rgb) / .55); font-size: .6875rem; }
.ax-h1 { margin-top: clamp(10px, 2svh, 22px); font-family: var(--ax-disp); font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.005em;
  font-size: min(clamp(3.4rem, 1rem + 10.4vw, 13.5rem), 19.5svh); white-space: nowrap; }
.ax-h1__l { display: inline-block; }
.ax-h1__l--ia { color: rgb(var(--acc-rgb)); }

/* chaîne : la presse + le tapis */
.ax-line { --st: 66%; --pr: 34px; position: relative; margin-top: auto; padding-top: clamp(18px, 3svh, 36px); }
.ax-press { position: relative; height: calc(var(--pr) * 2 + 22px); }
.ax-press__rail { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgb(var(--text-rgb) / .22) 0 6px, transparent 6px 12px); }
.ax-press__socket { position: absolute; left: var(--st); top: 50%; width: calc(var(--pr) * 2); height: calc(var(--pr) * 2); transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgb(var(--acc-rgb) / .35); background: rgb(var(--bg-rgb)); }
.ax-press__arm { position: absolute; left: var(--st); top: calc(50% + var(--pr)); bottom: -14px; width: 10px; transform: translateX(-50%); }
.ax-press__arm i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, rgb(var(--acc-rgb) / .9), rgb(var(--acc2-rgb) / .8)); transform-origin: 50% 0; }
.ax-press__arm::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 46px; height: 6px; border-radius: 2px; background: rgb(var(--acc-rgb)); transform: translateX(-50%); }
.ax-belt { position: relative; height: 112px; overflow: hidden; background: rgb(var(--surface-rgb)); border-block: 1px solid var(--line); }
.ax-belt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, rgb(var(--acc-rgb) / .85) 0 8px, rgb(var(--bg-rgb)) 8px 16px); opacity: .75; }
.ax-belt__tread { position: absolute; inset: 0 0 6px -64px; background: repeating-linear-gradient(90deg, rgb(var(--text-rgb) / .055) 0 2px, transparent 2px 32px); will-change: transform; }
.ax-belt__items { position: absolute; inset: 0; }
.ax-task b { padding-right: 18px; }
.ax-belt__gate { position: absolute; top: 10px; font-size: .5625rem; color: rgb(var(--text-rgb) / .4); z-index: 2; }
.ax-belt__gate--in { left: var(--gutter); } .ax-belt__gate--out { right: var(--gutter); color: rgb(var(--acc-rgb) / .8); }
.ax-task { position: absolute; left: 0; top: 50%; width: var(--tw, 216px); height: 62px; margin-top: -34px; padding: 10px 14px; border-radius: 8px; display: grid; align-content: center; gap: 2px;
  background: rgb(var(--text-rgb) / .06); border: 1px dashed rgb(var(--text-rgb) / .28); color: rgb(var(--text-rgb) / .72); will-change: transform; }
.ax-task b { font-size: .9375rem; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-task span { font-family: var(--ax-mono); font-size: .625rem; letter-spacing: .04em; color: rgb(var(--text-rgb) / .45); }
.ax-task.is-done { background: rgb(var(--bg-rgb)); border: 1px solid rgb(var(--acc-rgb) / .45); color: rgb(var(--text-rgb)); }
.ax-task.is-done span { color: rgb(var(--acc-rgb) / .85); }
.ax-task__stamp { position: absolute; right: -6px; top: -4px; padding: 2px 7px 0; border: 2px solid rgb(var(--acc-rgb)); border-radius: 4px; color: rgb(var(--on-acc-rgb)); background: rgb(var(--acc-rgb)); text-transform: uppercase;
  font-family: var(--ax-disp); font-weight: 900; font-size: 1.05rem; line-height: 1; letter-spacing: .06em; opacity: 0; transform: rotate(-9deg) scale(1.7); }
.ax-task.is-done .ax-task__stamp { opacity: 1; transform: rotate(-9deg); }
.ax-odo { display: inline-flex; padding: 4px 6px; gap: 1px; border-radius: 6px; background: rgb(var(--surface-rgb)); border: 1px solid var(--line); font-family: var(--ax-mono); font-weight: 700; font-size: 1.25rem; color: rgb(var(--acc-rgb)); }
.ax-odo i { position: relative; display: block; width: .72em; height: 1.2em; overflow: hidden; font-style: normal; }
.ax-odo i b { position: absolute; left: 0; top: 0; display: grid; text-align: center; width: 100%; line-height: 1.2em; font-weight: 700; transition: transform .42s var(--ax-press); }

/* arrivée de l'ouverture : chorégraphie (statut → titre → promesse → texte → boutons → la ligne démarre) */
html.ax-js .ax-status, html.ax-js .ax-promise, html.ax-js .ax-sous, html.ax-js .ax-hero__btns, html.ax-js .ax-line, html.ax-js .ax-meter { opacity: 0; }
html.ax-js .ax-h1__l { opacity: 0; transform: translate3d(0, 18%, 0); }
html.ax-js.ax-go .ax-status { opacity: 1; transition: opacity .4s steps(4); }
html.ax-js.ax-go .ax-h1__l { opacity: 1; transform: none; transition: opacity .5s .1s, transform 1.1s .1s var(--ax-glide); }
html.ax-js.ax-go .ax-h1__l--ia { transition-delay: .28s; transition-duration: .5s, .9s; transition-timing-function: linear, var(--ax-snap); }
html.ax-js.ax-go .ax-promise { opacity: 1; transition: opacity .9s .42s var(--ax-glide); }
html.ax-js.ax-go .ax-sous { opacity: 1; transition: opacity .7s .6s; }
html.ax-js.ax-go .ax-hero__btns { opacity: 1; transition: opacity .6s .72s; }
html.ax-js.ax-go .ax-line { opacity: 1; transition: opacity .6s .55s; }
html.ax-js.ax-go .ax-meter { opacity: 1; transition: opacity .6s 1.1s; }

/* =========================================================
   DOULEURS → RÉPONSES
   ========================================================= */
.ax-pain { position: relative; padding-block: clamp(110px, 18svh, 220px) clamp(80px, 12svh, 150px); }
.ax-pain__cols { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); padding-bottom: 14px; color: rgb(var(--text-rgb) / .45); }
.ax-pain__cols span:last-child { grid-column: 3; color: rgb(var(--acc-rgb) / .85); }
html.f-phone:not(.f-short) .ax-pain__cols { display: none; }
html.f-stack:not(.f-phone) .ax-pain__cols { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); }
.ax-pain__l { list-style: none; border-top: 1px solid var(--line); }
.ax-pain__row { --hub: 120px; display: grid; grid-template-columns: minmax(0, 1fr) var(--hub) minmax(0, 1fr); align-items: center; gap: clamp(16px, 2vw, 32px); padding-block: clamp(26px, 4.4svh, 46px); border-bottom: 1px solid var(--line); }
.ax-pain__a, .ax-pain__b { font-size: clamp(1.15rem, .9rem + .9vw, 1.75rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 600; }
.ax-pain__a s { text-decoration: none; color: rgb(var(--text-rgb) / .88);
  background: linear-gradient(rgb(var(--alert-rgb)), rgb(var(--alert-rgb))) no-repeat 0 58% / 0% 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s var(--ax-press), color .6s; }
.ax-pain__b { color: rgb(var(--text-rgb)); opacity: .18; transform: translate3d(-14px, 0, 0); transition: opacity .7s .25s, transform .9s .25s var(--ax-glide); }
.ax-pain__hub { position: relative; height: 72px; }
.ax-pain__hub::before { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgb(var(--text-rgb) / .25); }
.ax-pain__wire { position: absolute; left: -8px; right: -8px; top: 50%; height: 2px; background: rgb(var(--acc-rgb)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ax-press); }
.ax-pain__row.is-on .ax-pain__a s { background-size: 100% 2px; color: rgb(var(--text-rgb) / .42); }
.ax-pain__row.is-on .ax-pain__b { opacity: 1; transform: none; }
.ax-pain__row.is-on .ax-pain__wire { transform: scaleX(1); }
.ax-pain__row.is-on .ax-pain__hub::before { border-style: solid; border-color: rgb(var(--acc-rgb) / .5); }

/* =========================================================
   LE CIRCUIT (signature)
   ========================================================= */
.ax-flow { position: relative; padding-top: clamp(80px, 13svh, 160px); }
.ax-flow__intro { margin-bottom: 0; }
.ax-flow__pin { position: relative; height: calc(var(--fh, 100svh) * 4.6); }
.ax-flow__in { position: sticky; top: 0; height: var(--fh, 100svh); display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 56px);
  padding-top: calc(92px + var(--sat, 0px)); padding-bottom: clamp(20px, 4svh, 44px); }
.ax-flow__side { display: flex; flex-direction: column; gap: clamp(16px, 3svh, 30px); min-height: 0; justify-content: center; }
.ax-steps { list-style: none; display: grid; }
.ax-step { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .35s, transform .6s var(--ax-glide); }
.ax-step.is-on { opacity: 1; transform: none; transition: opacity .5s .12s, transform .8s .12s var(--ax-glide); }
.ax-step b { font-family: var(--ax-disp); font-weight: 800; font-size: clamp(1.8rem, 1rem + 2.2vw, 3.2rem); line-height: .9; text-transform: uppercase; }
.ax-step span { color: rgb(var(--text-rgb) / .7); max-width: 40ch; line-height: 1.4; }
.ax-step--fail b { color: rgb(var(--alert-rgb)); }
.ax-dash { border-radius: 12px; background: rgb(var(--surface-rgb)); border: 1px solid var(--line); padding: 14px 16px 12px; min-width: 0; transition: border-color .4s, box-shadow .4s; }
.ax-dash__h { display: flex; align-items: center; gap: 10px; font-size: .6875rem; color: rgb(var(--text-rgb) / .8); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ax-dash__st { margin-left: auto; color: rgb(var(--ok-rgb)); }
.ax-dash[data-state="alert"] { border-color: rgb(var(--alert-rgb) / .7); box-shadow: 0 0 0 4px rgb(var(--alert-rgb) / .1); }
.ax-dash[data-state="alert"] .ax-led { background: rgb(var(--alert-rgb)); box-shadow: 0 0 0 3px rgb(var(--alert-rgb) / .25); animation-duration: .6s; }
.ax-dash[data-state="alert"] .ax-dash__st { color: rgb(var(--alert-rgb)); }
.ax-dash[data-state="retry"] .ax-led { background: rgb(var(--warn-rgb)); } .ax-dash[data-state="retry"] .ax-dash__st { color: rgb(var(--warn-rgb)); }
.ax-dash__log { --lh: 1.75em; --n: 7; position: relative; height: calc(var(--lh) * var(--n)); overflow: hidden; margin-top: 8px; font-size: .71875rem; letter-spacing: 0; }
.ax-dash__log > ul { list-style: none; transition: transform .45s var(--ax-press); }
.ax-dash__log li { height: var(--lh); line-height: var(--lh); display: flex; gap: 10px; white-space: nowrap; overflow: hidden; opacity: 0; transform: translate3d(-8px, 0, 0); transition: opacity .3s, transform .45s var(--ax-glide); }
.ax-dash__log li.is-on { opacity: 1; transform: none; }
.ax-dash__log li b { flex: none; width: 9.5ch; font-weight: 700; color: rgb(var(--text-rgb) / .5); }
.ax-dash__log li span { overflow: hidden; text-overflow: ellipsis; color: rgb(var(--text-rgb) / .86); }
.ax-dash__log li.ok span { color: rgb(var(--ok-rgb)); } .ax-dash__log li.err b, .ax-dash__log li.err span { color: rgb(var(--alert-rgb)); } .ax-dash__log li.warn span { color: rgb(var(--warn-rgb)); }
.ax-dash__demo { margin-top: 6px; font-size: .5625rem; color: rgb(var(--text-rgb) / .35); text-align: right; }

.ax-stage { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; }
.ax-stage__box { position: relative; width: var(--bw, 100%); height: var(--bh, 100%); }
.ax-stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ax-pipe { fill: none; stroke: rgb(var(--text-rgb) / .16); stroke-width: calc(var(--u, 1) * 2); }
.ax-pipe--lit { stroke: rgb(var(--acc-rgb)); stroke-width: calc(var(--u, 1) * 2.5); }
.ax-pipe--lit.is-err { stroke: rgb(var(--alert-rgb)); }
.ax-pkt { fill: rgb(var(--acc-hi-rgb)); }
.ax-pkt--halo { fill: rgb(var(--acc-rgb) / .22); }
.ax-pkt.is-err { fill: rgb(var(--alert-rgb)); }
.ax-node { position: absolute; left: 0; top: 0; width: var(--nd); height: var(--nd); transform: translate(-50%, -50%); }
.ax-node__r { position: absolute; inset: 0; border-radius: 50%; background: rgb(var(--bg-rgb)); border: 1.5px solid rgb(var(--text-rgb) / .22); display: grid; place-items: center;
  font-family: var(--ax-mono); font-size: .625rem; color: rgb(var(--text-rgb) / .45); transition: border-color .35s, background .35s, color .35s, transform .5s var(--ax-snap); }
.ax-node__r::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed transparent; transition: border-color .3s; }
.ax-node__l { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); display: grid; justify-items: center; gap: 1px; padding: 2px 6px 3px; border-radius: 4px; background: rgb(var(--bg-rgb)); text-align: center; white-space: nowrap; }
.ax-node__l b { font-size: .8125rem; font-weight: 700; letter-spacing: -.01em; }
.ax-node__l span { font-family: var(--ax-mono); font-size: .5625rem; letter-spacing: .03em; color: rgb(var(--text-rgb) / .45); transition: color .3s; }
.ax-node[data-st="run"] .ax-node__r { border-color: rgb(var(--acc-rgb)); color: rgb(var(--acc-rgb)); transform: scale(1.08); }
.ax-node[data-st="run"] .ax-node__r::after { border-color: rgb(var(--acc-rgb) / .6); animation: ax-spin 3s linear infinite; }
.ax-node[data-st="ok"] .ax-node__r { border-color: rgb(var(--acc-rgb) / .7); background: rgb(var(--acc-rgb) / .1); color: rgb(var(--acc-rgb)); }
.ax-node[data-st="ok"] .ax-node__l span { color: rgb(var(--acc-rgb) / .9); }
.ax-node[data-st="fail"] .ax-node__r { border-color: rgb(var(--alert-rgb)); background: rgb(var(--alert-rgb) / .14); color: rgb(var(--alert-rgb)); animation: ax-shake .5s var(--ax-press) 2; }
.ax-node[data-st="fail"] .ax-node__l span { color: rgb(var(--alert-rgb)); }
.ax-node[data-st="retry"] .ax-node__r { border-color: rgb(var(--warn-rgb)); color: rgb(var(--warn-rgb)); }
.ax-node[data-st="retry"] .ax-node__r::after { border-color: rgb(var(--warn-rgb)); animation: ax-spin 1.2s linear infinite; }
.ax-node[data-st="retry"] .ax-node__l span, .ax-node[data-st="wait"] .ax-node__l span { color: rgb(var(--warn-rgb)); }
.ax-node[data-st="wait"] .ax-node__r { border-style: dashed; border-color: rgb(var(--warn-rgb) / .8); }
@keyframes ax-spin { to { transform: rotate(1turn); } }
@keyframes ax-shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* =========================================================
   NO-CODE OU VRAI CODE
   ========================================================= */
.ax-vs { position: relative; padding-block: clamp(100px, 16svh, 200px) clamp(80px, 12svh, 150px); }
.ax-vs__gauge { display: grid; grid-template-columns: auto minmax(0, 1fr) 8ch; align-items: center; gap: 14px; margin-bottom: 26px; color: rgb(var(--text-rgb) / .6); }
.ax-vs__bar { position: relative; height: 10px; border-radius: 2px; overflow: hidden; background: repeating-linear-gradient(90deg, rgb(var(--text-rgb) / .12) 0 3px, transparent 3px 7px); }
.ax-vs__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--c, 0)); background: linear-gradient(90deg, rgb(var(--acc-rgb)), rgb(var(--acc2-rgb)) 70%, rgb(var(--alert-rgb))); }
.ax-vs__lvl { text-align: right; }
.ax-vs__m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.ax-mach { margin: 0; border-radius: 16px; padding: clamp(16px, 2vw, 28px); background: rgb(var(--surface-rgb)); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.ax-mach--code { background: linear-gradient(180deg, rgb(var(--acc-rgb) / .07), transparent 50%), rgb(var(--surface-rgb)); border-color: rgb(var(--acc-rgb) / .3); }
.ax-mach__vis { position: relative; }
.ax-mach__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ax-mach__socket { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
.ax-mach__h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ax-mach__h b { font-family: var(--ax-disp); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.2rem); text-transform: uppercase; line-height: .95; }
.ax-mach__st { padding: 3px 8px; border-radius: 4px; font-size: .625rem; border: 1px solid currentColor; transition: color .3s; }
.ax-mach__st--nc { color: rgb(var(--warn-rgb)); } .ax-mach.is-broken .ax-mach__st--nc { color: rgb(var(--alert-rgb)); }
.ax-mach__st--cd { color: rgb(var(--ok-rgb)); }
.ax-mach__l { list-style: none; display: grid; gap: 0; }
.ax-mach__l li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--line); color: rgb(var(--text-rgb) / .82); line-height: 1.35; }
.ax-mach__l li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; }
.ax-mach--nc .ax-mach__l li::before { background: rgb(var(--alert-rgb)); transform: rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.ax-mach--nc .ax-mach__l li::after { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; background: rgb(var(--alert-rgb)); transform: rotate(-45deg); }
.ax-mach--code .ax-mach__l li::before { width: 10px; height: 10px; top: .95em; border-radius: 50%; background: rgb(var(--acc-rgb)); }
/* le montage no-code */
.ax-nc__b rect { fill: rgb(var(--text-rgb) / .07); stroke: rgb(var(--text-rgb) / .35); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ax-nc__tape { stroke: rgb(var(--warn-rgb) / .7); stroke-width: 7; stroke-linecap: round; fill: none; }
.ax-nc__b { transform-box: fill-box; transform-origin: 50% 50%; }
.ax-nc__w { fill: none; stroke: rgb(var(--text-rgb) / .5); stroke-width: 2.5; stroke-linecap: round; }
.ax-nc__w--2a, .ax-nc__w--2b { transform-box: view-box; transition: transform .9s var(--ax-snap), stroke .3s; }
.ax-nc__w--2a { transform-origin: 260px 110px; } .ax-nc__w--2b { transform-origin: 346px 110px; }
.ax-nc__q { fill: rgb(var(--alert-rgb)); font-family: var(--ax-disp); font-weight: 900; font-size: 64px; text-anchor: middle; opacity: 0; transition: opacity .3s; }
.ax-mach.is-broken .ax-nc__w--2a { transform: rotate(38deg); stroke: rgb(var(--alert-rgb)); }
.ax-mach.is-broken .ax-nc__w--2b { transform: rotate(-34deg); stroke: rgb(var(--alert-rgb)); }
.ax-mach.is-broken .ax-nc__q { opacity: 1; animation: ax-blink .9s steps(2, jump-none) infinite; }
/* le circuit codé */
.ax-cd__p { fill: none; stroke: rgb(var(--acc-rgb) / .55); stroke-width: 3; }
.ax-cd__p--back { stroke: rgb(var(--text-rgb) / .18); stroke-width: 2; stroke-dasharray: 4 5; }
.ax-cd__b { fill: rgb(var(--bg-rgb)); stroke: rgb(var(--acc-rgb) / .7); stroke-width: 2; }
.ax-cd__ring { fill: rgb(var(--bg-rgb)); stroke: rgb(var(--acc-rgb) / .5); stroke-width: 1.5; stroke-dasharray: 3 5; }
.ax-cd__pk { fill: rgb(var(--acc-hi-rgb)); }

/* =========================================================
   CE QUE VOUS OBTENEZ : la fiche technique (section claire)
   ========================================================= */
.ax-get { position: relative; z-index: 1; background: rgb(var(--paper-rgb)); color: rgb(var(--ink-rgb)); padding-block: clamp(90px, 14svh, 170px); }
.ax-get::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(rgb(var(--ink-rgb) / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--ink-rgb) / .06) 1px, transparent 1px); background-size: 28px 28px; }
.ax-get .wrap { position: relative; }
.ax-get em { color: rgb(var(--ink-rgb)); background: rgb(var(--acc-rgb)); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ax-get__l { list-style: none; border-top: 2px solid rgb(var(--ink-rgb)); }
.ax-mod { --sk: 84px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) var(--sk); align-items: center; gap: clamp(14px, 2vw, 34px);
  padding-block: clamp(20px, 3.4svh, 34px); border-bottom: 1px solid rgb(var(--ink-rgb) / .22); }
.ax-mod::before { content: ""; position: absolute; inset: 0; background: rgb(var(--acc-rgb)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ax-press); z-index: -1; opacity: .9; }
.ax-mod h3 { font-family: var(--ax-disp); font-weight: 800; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.9rem); line-height: .92; text-transform: uppercase; }
.ax-mod p { color: rgb(var(--ink-rgb) / .78); line-height: 1.4; max-width: 44ch; }
.ax-mod__led { position: relative; height: 64px; }
.ax-mod__led i { position: absolute; right: 50%; top: 50%; width: 12px; height: 12px; margin: -6px -6px 0 0; border-radius: 50%; background: rgb(var(--ink-rgb) / .18); border: 1px solid rgb(var(--ink-rgb) / .3); transition: background .2s steps(2), box-shadow .3s; }
.ax-mod.is-on .ax-mod__led i { background: rgb(var(--acc-rgb)); border-color: rgb(var(--ink-rgb)); box-shadow: 0 0 0 4px rgb(var(--acc-rgb) / .35); }
@media (hover: hover) and (pointer: fine) { .ax-mod:hover::before { transform: scaleX(1); } }

/* =========================================================
   CAS D'USAGE : le sélecteur
   ========================================================= */
@keyframes ax-swap { from { opacity: 0; transform: translate3d(-22px, 0, 0); } }

/* =========================================================
   PREUVE
   ========================================================= */
.ax-proof { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding-block: clamp(80px, 13svh, 160px); }
.ax-proof__st { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: rgb(var(--text-rgb) / .6); }
.ax-proof__p { margin-top: 24px; font-size: var(--fs-body-l); line-height: 1.32; max-width: 40ch; color: rgb(var(--text-rgb) / .82); }
.ax-proof__chain { --ag: 76px; position: relative; isolation: isolate; display: grid; grid-template-columns: auto var(--ag) auto; grid-template-rows: repeat(3, auto); grid-auto-flow: column; align-items: center; justify-content: start; column-gap: 34px; row-gap: 6px; margin-top: 34px; }
.ax-proof__chain::before { content: ""; position: absolute; left: 30px; right: 40px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgb(var(--acc-rgb) / .6) 0 6px, transparent 6px 11px); z-index: -1; }
.ax-proof__in, .ax-proof__out { position: relative; padding: 5px 10px; border-radius: 6px; font-size: .6875rem; background: rgb(var(--surface-rgb)); border: 1px solid var(--line); white-space: nowrap; }
.ax-proof__in { grid-column: 1; } .ax-proof__in:first-child { grid-row: 1 / span 2; align-self: end; } .ax-proof__in:nth-child(2) { grid-row: 2 / span 2; align-self: start; }
.ax-proof__out { grid-column: 3; color: rgb(var(--acc-rgb)); border-color: rgb(var(--acc-rgb) / .35); }
.ax-proof__agent { grid-column: 2; grid-row: 1 / span 3; width: var(--ag); height: var(--ag); border-radius: 50%; border: 1px solid rgb(var(--acc-rgb) / .5); background: rgb(var(--bg-rgb)); display: grid; place-items: end center; }
.ax-proof__agent b { transform: translateY(calc(100% + 8px)); font-size: .6875rem; color: rgb(var(--acc-rgb)); }
.ax-link { display: inline-flex; gap: 10px; margin-top: 46px; font-weight: 700; border-bottom: 2px solid rgb(var(--acc-rgb)); padding-bottom: 4px; transition: gap .4s var(--ax-snap), color .3s; }
.ax-link:hover { gap: 16px; color: rgb(var(--acc-rgb)); }
.ax-proof__screen { position: relative; display: block; border-radius: 14px; overflow: hidden; background: rgb(var(--surface-rgb)); border: 1px solid var(--line); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .9s var(--ax-glide); }
.ax-proof__screen:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg); }
.ax-proof__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; font-size: .625rem; color: rgb(var(--text-rgb) / .55); border-bottom: 1px solid var(--line); }
.ax-proof__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--text-rgb) / .2); } .ax-proof__bar i:last-of-type { margin-right: 10px; }
.ax-proof__screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ax-proof__scan { position: absolute; left: 0; right: 0; top: 34px; height: 30%; background: linear-gradient(180deg, transparent, rgb(var(--acc-rgb) / .12) 85%, rgb(var(--acc-rgb) / .5) 100%); transform: translate3d(0, -100%, 0); pointer-events: none; }
.ax-proof.is-in .ax-proof__scan { animation: ax-scan 4.5s linear infinite; }
@keyframes ax-scan { to { transform: translate3d(0, 380%, 0); } }

/* =========================================================
   TECHNOLOGIES : le bus
   ========================================================= */

/* =========================================================
   FAQ
   ========================================================= */
.ax-faq { position: relative; padding-block: clamp(80px, 13svh, 160px) clamp(60px, 10svh, 120px); }
.ax-faq__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.ax-faq__socket { width: 90px; height: 90px; }
.ax-faq__l { border-top: 1px solid var(--line); }
.ax-q { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.ax-q summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: clamp(20px, 3svh, 30px) 0; cursor: pointer; }
.ax-q summary::-webkit-details-marker { display: none; }
.ax-q summary .mono { color: rgb(var(--text-rgb) / .4); }
.ax-q summary b { font-size: clamp(1.15rem, .95rem + .7vw, 1.6rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.15; transition: color .3s; }
.ax-q summary:hover b { color: rgb(var(--acc-rgb)); }
.ax-q summary i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgb(var(--acc-rgb) / .7); transition: transform .6s var(--ax-snap), background .3s; }
.ax-q summary i::before, .ax-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: rgb(var(--acc-rgb)); }
.ax-q summary i::after { transform: rotate(90deg); transition: transform .5s var(--ax-press); }
.ax-q[open] summary i { transform: rotate(180deg); background: rgb(var(--acc-rgb) / .12); }
.ax-q[open] summary i::after { transform: rotate(0deg); }
.ax-q__a p { padding: 0 44px clamp(22px, 3.4svh, 34px) 0; max-width: 76ch; color: rgb(var(--text-rgb) / .76); line-height: 1.5; }
.ax-q::details-content { height: 0; overflow: clip; transition: height .5s var(--ax-press), content-visibility .5s allow-discrete; }
.ax-q[open]::details-content { height: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
html.f-stack .ax-h1 { font-size: clamp(3rem, 12.8vw, 9rem); white-space: normal; }
html.f-stack .ax-h1__l { display: block; }
html.f-stack .ax-line { --st: 72%; }
html.f-phone .ax-hero { padding-top: calc(92px + var(--sat, 0px)); }
html.f-phone .ax-h1 { font-size: clamp(2.6rem, 13vw, 5rem); line-height: .82; }
html.f-phone:not(.f-short) .ax-hero__btns .btn { width: 100%; }
html.f-phone .ax-line { --st: 78%; --pr: 22px; padding-top: 14px; }
html.f-phone .ax-belt { height: 88px; }
html.f-phone .ax-task { --tw: 170px; height: 54px; margin-top: -30px; padding: 8px 12px; }
html.f-phone .ax-task b { font-size: .8125rem; }

html.f-phone .ax-pain__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
html.f-phone .ax-pain__hub { height: 52px; }
html.f-phone .ax-pain__hub::before { left: auto; right: 0; transform: translate(0, -50%); width: 44px; height: 44px; }
html.f-phone .ax-pain__wire { left: 0; right: 44px; }
html.f-stack:not(.f-phone) .ax-pain__row { --hub: 90px; }

/* circuit : sur écran étroit, on empile (étapes → schéma → tableau de bord) */
html.f-stack .ax-flow__in, html.f-phone:not(.f-short) .ax-flow__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; padding-top: calc(80px + var(--sat, 0px)); gap: 14px; }
html.f-stack .ax-flow__side, html.f-phone:not(.f-short) .ax-flow__side { display: contents; }
html.f-stack .ax-steps, html.f-phone:not(.f-short) .ax-steps { grid-row: 1; }
html.f-stack .ax-stage, html.f-phone:not(.f-short) .ax-stage { grid-row: 2; }
html.f-stack .ax-dash, html.f-phone:not(.f-short) .ax-dash { grid-row: 3; }
html.f-stack .ax-dash__log, html.f-phone:not(.f-short) .ax-dash__log { --n: 3; }
html.f-phone .ax-dash__log { --n: 2; font-size: .6875rem; }
html.f-phone:not(.f-short) .ax-dash { padding: 10px 12px 8px; margin-right: 62px; }
html.f-phone:not(.f-short) .ax-flow__in { padding-bottom: max(16px, calc(var(--sab, 0px) + 14px)); }
html.f-phone .ax-dash__demo { display: none; }
html.f-phone .ax-dash__h { padding-bottom: 6px; }
html.f-phone .ax-step b { font-size: 1.6rem; }
html.f-phone .ax-step span { font-size: .875rem; line-height: 1.35; }
html.f-phone .ax-node__l b { font-size: .6875rem; }
html.f-phone .ax-node__l span { font-size: .5rem; }
html.f-phone .ax-node__l { top: calc(100% + 5px); }

html.f-stack .ax-vs__m, html.f-phone .ax-vs__m { grid-template-columns: 1fr; }

html.f-phone .ax-mod { --sk: 44px; grid-template-columns: minmax(0, 1fr) var(--sk); grid-template-areas: "h led" "p led"; gap: 8px 12px; }
html.f-phone .ax-mod h3 { grid-area: h; font-size: 1.75rem; } html.f-phone .ax-mod p { grid-area: p; font-size: .9375rem; } html.f-phone .ax-mod__led { grid-area: led; height: 100%; }
html.f-stack:not(.f-phone) .ax-mod { grid-template-columns: minmax(0, 1fr) var(--sk); grid-template-areas: "h led" "p led"; row-gap: 8px; }
html.f-stack:not(.f-phone) .ax-mod h3 { grid-area: h; } html.f-stack:not(.f-phone) .ax-mod p { grid-area: p; } html.f-stack:not(.f-phone) .ax-mod__led { grid-area: led; }


html.f-stack .ax-proof, html.f-phone .ax-proof { grid-template-columns: 1fr; }
html.f-phone .ax-proof__chain { --ag: 60px; column-gap: 18px; }
html.f-phone .ax-proof__screen { transform: none; }
html.f-phone .ax-q summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; }
html.f-phone .ax-q__a p { padding: 0 34px 22px 0; }
html.f-phone .ax-faq__socket { width: 50px; height: 50px; }

/* paysage bas (téléphone à l'horizontale) */
html.f-short .ax-hero { padding-top: calc(76px + var(--sat, 0px)); }
html.f-short .ax-h1 { font-size: clamp(2.4rem, 7.2vw, 4.4rem); }
html.f-short .ax-status { display: none; }
html.f-short .ax-belt { height: 80px; }
html.f-short .ax-task { --tw: 170px; height: 50px; margin-top: -28px; }
html.f-short .ax-flow__in { padding-top: 66px; padding-bottom: 12px; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: 18px; }
html.f-short .ax-flow__side { gap: 10px; }
html.f-short .ax-step b { font-size: 1.35rem; }
html.f-short .ax-step span { font-size: .8125rem; line-height: 1.3; }
html.f-short .ax-dash { padding: 8px 10px 6px; }
html.f-short .ax-dash__log { --n: 2; font-size: .625rem; }
html.f-short .ax-dash__demo { display: none; }
html.f-short .ax-dash__h { padding-bottom: 5px; font-size: .5625rem; }
html.f-short .ax-node__l b { font-size: .625rem; } html.f-short .ax-node__l span { display: none; }

/* =========================================================
   MOUVEMENT RÉDUIT : mêmes contenus, aucune animation de défilement
   ========================================================= */
html.ax-rm .ax-flow__pin { height: auto; }
html.ax-rm .ax-flow__in { position: relative; height: auto; min-height: 0; padding-top: 30px; }
html.ax-rm .ax-steps { gap: 18px; }
html.ax-rm .ax-step { grid-area: auto; opacity: 1; transform: none; }
html.ax-rm .ax-stage { min-height: 360px; }
html.ax-rm.f-stack .ax-stage, html.ax-rm.f-phone .ax-stage { height: min(560px, 120vw); }
html.ax-rm .ax-dash__log { height: auto; }
html.ax-rm .ax-belt__tread { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.ax-js .ax-h1__l, html.ax-js .ax-w, .ax-pain__b, .ax-step { transform: none !important; }
  .svx--automatisations-ia *, .svx--automatisations-ia *::before, .svx--automatisations-ia *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ax-pain__b { opacity: 1; transform: none; }
  .ax-pain__wire { transform: none; }
}
/* téléphone en portrait : les sous-états des outils se lisent sur le tableau de bord ; seul le maillon qui tombe garde le sien */
html.f-phone:not(.f-short) :is(.ax-node--crm, .ax-node--support, .ax-node--mail) .ax-node__l span { display: none; }
html.f-phone .ax-dash__h { white-space: nowrap; font-size: .625rem; gap: 8px; }
.ax-node__r::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
html.f-short .ax-line { --st: 30%; }

/* =========================================================
   PASSE 3 — OUVERTURE RECOMPOSÉE : une seule colonne, un seul bord gauche
   statut → titre → promesse → phrase → boutons, puis la ligne de production pleine largeur
   ========================================================= */
.ax-hero__in { display: grid; justify-items: start; }
.ax-status { margin-bottom: clamp(12px, 2svh, 20px); }
.ax-h1 { margin-top: 0; }
.ax-promise { margin-top: clamp(18px, 3svh, 30px); font-size: min(clamp(1.5rem, .85rem + 2.4vw, 3.4rem), 5.4svh); font-weight: 650; line-height: 1.04; letter-spacing: -.04em; }
.ax-sous { margin-top: 14px; max-width: 62ch; color: rgb(var(--text-rgb) / .66); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.45; }
.ax-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.4svh, 34px); }
.ax-line { padding-top: clamp(26px, 4.5svh, 52px); }
.ax-meter { padding-block: 14px max(16px, calc(var(--sab, 0px) + 12px)); }
.ax-meter__p { display: flex; align-items: center; gap: 14px; color: rgb(var(--text-rgb) / .66); font-size: .875rem; line-height: 1.3; }
.ax-meter__demo { margin-left: 4px; padding: 3px 8px; border-radius: 4px; border: 1px solid rgb(var(--text-rgb) / .2); font-family: var(--ax-mono); font-size: .625rem; letter-spacing: .04em; color: rgb(var(--text-rgb) / .5); white-space: nowrap; }
html.f-stack .ax-promise { max-width: 16ch; }
html.f-phone:not(.f-short) .ax-hero__btns { width: 100%; }
html.f-phone:not(.f-short) .ax-promise { font-size: clamp(1.45rem, 6.6vw, 1.9rem); }
html.f-phone:not(.f-short) .ax-sous { font-size: .9375rem; }
html.f-phone .ax-meter { padding-right: calc(var(--gutter) + 62px); }
html.f-phone .ax-meter__p { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: .8125rem; }
html.f-phone .ax-meter__demo { grid-column: 2; justify-self: start; margin-left: 0; }
html.f-phone .ax-odo { grid-row: span 2; font-size: 1rem; }
html.f-short .ax-promise { margin-top: 10px; font-size: 1.35rem; }
html.f-short .ax-sous { margin-top: 6px; font-size: .875rem; }
html.f-short .ax-hero__btns { margin-top: 12px; } html.f-short .ax-hero__btns .btn--lg { height: 44px; }
html.f-short .ax-line { --pr: 18px; padding-top: 14px; }

/* =========================================================
   PASSE 3 — L'USINE : plan d'architecte, six ateliers le long d'un couloir.
   L'engrenage parcourt le couloir ; chaque atelier s'allume quand il passe devant sa porte.
   ========================================================= */
.ax-uses { position: relative; padding-block: clamp(110px, 16svh, 200px) clamp(80px, 12svh, 150px); }
.ax-plan { --cw: 84px; --wall: rgb(var(--text-rgb) / .3); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto var(--cw) auto;
  border: 2px solid var(--wall); border-radius: 3px;
  background-image: linear-gradient(rgb(var(--text-rgb) / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--text-rgb) / .035) 1px, transparent 1px); background-size: 24px 24px; }
.ax-plan__corr { grid-area: 2 / 1 / 3 / 4; position: relative; overflow: hidden; }
.ax-plan__belt { position: absolute; left: -24px; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgb(var(--acc-rgb) / .55) 0 10px, transparent 10px 24px); animation: ax-belt 1.4s linear infinite; }
.ax-plan__lit { display: none; }
@keyframes ax-belt { to { transform: translate3d(24px, 0, 0); } }
.ax-room { position: relative; display: grid; align-content: start; gap: 10px; min-height: clamp(170px, 22svh, 230px); padding: clamp(22px, 2.6vw, 38px); transition: background .6s; }
.ax-room:nth-child(2) { grid-area: 1 / 1; } .ax-room:nth-child(3) { grid-area: 1 / 2; } .ax-room:nth-child(4) { grid-area: 1 / 3; }
.ax-room:nth-child(5) { grid-area: 3 / 3; } .ax-room:nth-child(6) { grid-area: 3 / 2; } .ax-room:nth-child(7) { grid-area: 3 / 1; }
.ax-room:nth-child(-n+4) { border-bottom: 2px solid var(--wall); } .ax-room:nth-child(n+5) { border-top: 2px solid var(--wall); }
.ax-room:nth-child(2), .ax-room:nth-child(3), .ax-room:nth-child(7), .ax-room:nth-child(6) { border-right: 1px solid var(--wall); }
.ax-room h3 { font-family: var(--ax-disp); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.3vw, 2.4rem); line-height: .92; text-transform: uppercase; color: rgb(var(--text-rgb) / .55); transition: color .5s; }
.ax-room p { max-width: 32ch; color: rgb(var(--text-rgb) / .5); line-height: 1.4; transition: color .5s; }
.ax-room__lamp { position: absolute; right: 20px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--text-rgb) / .16); transition: background .2s steps(2), box-shadow .4s; }
/* la porte : une ouverture dans le mur du couloir, avec son arc de battant (dessin d'architecte) */
.ax-room__door { position: absolute; left: 50%; width: 60px; height: 2px; margin-left: -30px; background: rgb(var(--bg-rgb)); }
.ax-room__door::before { content: ""; position: absolute; left: 0; width: 60px; height: 60px; border: 1px dashed rgb(var(--text-rgb) / .22); border-width: 1px 1px 0 0; }
.ax-room:nth-child(-n+4) .ax-room__door { bottom: -2px; } .ax-room:nth-child(-n+4) .ax-room__door::before { bottom: 2px; border-radius: 0 60px 0 0; }
.ax-room:nth-child(n+5) .ax-room__door { top: -2px; } .ax-room:nth-child(n+5) .ax-room__door::before { top: 2px; border-width: 0 1px 1px 0; border-radius: 0 0 60px 0; }
.ax-room.is-on { background: rgb(var(--acc-rgb) / .05); }
.ax-room.is-on h3 { color: rgb(var(--acc-rgb)); } .ax-room.is-on p { color: rgb(var(--text-rgb) / .85); }
.ax-room.is-on .ax-room__lamp { background: rgb(var(--acc-rgb)); box-shadow: 0 0 0 4px rgb(var(--acc-rgb) / .2); }
.ax-room.is-on .ax-room__door::before { border-color: rgb(var(--acc-rgb) / .6); }
/* téléphone : couloir vertical à gauche, ateliers empilés */
html.f-phone:not(.f-short) .ax-plan { --cw: 48px; grid-template-columns: var(--cw) minmax(0, 1fr); grid-template-rows: none; }
html.f-phone:not(.f-short) .ax-plan__corr { grid-area: 1 / 1 / 7 / 2; }
html.f-phone:not(.f-short) .ax-plan__belt { left: 50%; right: auto; top: -24px; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; background: repeating-linear-gradient(180deg, rgb(var(--acc-rgb) / .55) 0 10px, transparent 10px 24px); animation-name: ax-belt-v; }
@keyframes ax-belt-v { to { transform: translate3d(0, 24px, 0); } }
html.f-phone:not(.f-short) .ax-room { grid-column: 2; min-height: 0; padding: 22px 20px 24px; border: 0; border-left: 2px solid var(--wall); }
html.f-phone:not(.f-short) .ax-room + .ax-room { border-top: 1px solid var(--wall); }
html.f-phone:not(.f-short) .ax-room:nth-child(2) { grid-row: 1; } html.f-phone:not(.f-short) .ax-room:nth-child(3) { grid-row: 2; } html.f-phone:not(.f-short) .ax-room:nth-child(4) { grid-row: 3; }
html.f-phone:not(.f-short) .ax-room:nth-child(5) { grid-row: 4; } html.f-phone:not(.f-short) .ax-room:nth-child(6) { grid-row: 5; } html.f-phone:not(.f-short) .ax-room:nth-child(7) { grid-row: 6; }
html.f-phone:not(.f-short) .ax-room__door { left: -2px; top: 50%; width: 2px; height: 44px; margin: -22px 0 0; }
html.f-phone:not(.f-short) .ax-room__door::before { display: none; }
html.f-phone:not(.f-short) .ax-room h3 { font-size: 1.6rem; }
html.f-phone:not(.f-short) .ax-room p { font-size: .9375rem; }
html.f-short .ax-plan { --cw: 60px; } html.f-short .ax-room { min-height: 0; padding: 18px 20px; }
html.f-short .ax-room h3 { font-size: 1.3rem; } html.f-short .ax-room p { font-size: .8125rem; }

/* =========================================================
   PASSE 3 — BRANCHÉ SUR VOS OUTILS : IAI au centre, vos outils autour
   ========================================================= */
.ax-tech { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding-block: clamp(100px, 15svh, 180px); }
.ax-tech__copy { margin-bottom: 0; }
.ax-hub { position: relative; height: clamp(380px, 52svh, 540px); }
.ax-hub__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ax-hub__line { fill: none; stroke: rgb(var(--text-rgb) / .16); stroke-width: 1.5; stroke-dasharray: 3 5; }
.ax-hub__lit { fill: none; stroke: rgb(var(--acc-rgb)); stroke-width: 2; transition: stroke-dashoffset .9s var(--ax-press); }
.ax-hub__dot { fill: rgb(var(--acc-hi-rgb)); }
.ax-hub__core { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgb(var(--acc-rgb) / .55); background: rgb(var(--bg-rgb)); box-shadow: 0 0 0 10px rgb(var(--acc-rgb) / .05); }
.ax-hub__socket { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
.ax-hub__core b { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); font-size: .8125rem; font-weight: 700; color: rgb(var(--acc-rgb)); letter-spacing: .14em; }
.ax-hub__l { list-style: none; }
.ax-hub__l li { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 11px 18px; border-radius: 999px; white-space: nowrap; font-weight: 650; font-size: .9375rem; letter-spacing: -.01em;
  background: rgb(var(--surface-rgb)); border: 1px solid var(--line); color: rgb(var(--text-rgb) / .6); transition: border-color .4s, color .4s; }
.ax-hub__l li.is-on { border-color: rgb(var(--acc-rgb) / .7); color: rgb(var(--text-rgb)); }
html.f-stack .ax-tech, html.f-phone .ax-tech { grid-template-columns: 1fr; }
html.f-phone:not(.f-short) .ax-hub { height: 360px; }
html.f-phone .ax-hub__core { width: 76px; height: 76px; }
html.f-phone .ax-hub__l li { padding: 8px 12px; font-size: .8125rem; }
html.f-short .ax-hub { height: 300px; } html.f-short .ax-hub__core { width: 70px; height: 70px; }
@media (prefers-reduced-motion: reduce) { .ax-plan__belt { animation: none; } }

/* proof : entrées sur les rangées 1 et 3, sorties sur 1-2-3 (plus de chevauchement) */
.ax-proof__in:first-child { grid-row: 1; align-self: center; } .ax-proof__in:nth-child(2) { grid-row: 3; align-self: center; }
/* tablette en portrait : la ligne de production suit le texte (pas de vide de 100 svh) */
html.f-stack:not(.f-phone) .ax-hero { min-height: 0; }
html.f-stack:not(.f-phone) .ax-line { margin-top: clamp(48px, 7svh, 90px); }
