/* DataFlow Solutions — Flux. Cobalt, midnight blue and mint. */
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #142744;
  --paper: #ffffff;
  --mist: #edf5fb;
  --muted: #465a76;
  --accent: #174be8;
  --glow: #8edbd1;
  --line: color-mix(in srgb, var(--ink) 20%, var(--paper));
  --inverse: var(--mist);
  --font: "Instrument Sans", Arial, sans-serif;
  --gutter: clamp(1.375rem, 4.45vw, 4rem);
  --space: clamp(2.5rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block: 2rem 7rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, summary { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.045em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.5rem); line-height: 1.03; letter-spacing: -0.055em; max-width: 18ch; }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); max-width: 21ch; }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); }
p { text-wrap: pretty; }
strong { font-weight: 600; }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.ink :focus-visible, .closing :focus-visible { outline-color: var(--paper); }
::selection { color: var(--paper); background: var(--ink); }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 80rem; margin-inline: auto; }
.wrap > *, .split > *, .hero-grid > *, .card > * { min-width: 0; }
.skip { position: absolute; left: var(--gutter); top: 1rem; z-index: 20; padding: .75rem 1.25rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
main:focus { outline: none; }
/* The existing mark keeps its silhouette; navigation is a quiet line of type. */
.masthead { background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 2.75rem; }
.wordmark .logo { width: 14rem; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-size: .875rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .5em; }
.nav .nav-cta { border: 1px solid var(--accent); background: var(--accent); color: var(--paper); padding: .65rem 1.2rem; }
.nav .nav-cta:hover { color: var(--paper); background: var(--ink); text-decoration: none; }
/* Plain descriptions instead of decorative uppercase labels. */
.kicker { color: var(--muted); font-size: .9rem; font-weight: 400; margin-bottom: 1.25rem; }
.lead { color: var(--muted); font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.65; max-width: 47ch; margin-top: 1.5rem; }
.sub { color: var(--muted); font-size: 1.0625rem; max-width: 46ch; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.3rem; padding: .85rem 1.6rem; border: 1px solid var(--accent); background: var(--accent); color: var(--paper); font-size: .875rem; font-weight: 500; text-decoration: none; }
.btn:hover { background: var(--ink); border-color: var(--ink); text-decoration: none; }
.link-strong { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 400; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: 1.5rem; }
.note, .cta-note { color: var(--muted); font-size: .8125rem; margin-top: 1rem; }
.more { margin-top: 1.25rem; font-size: .875rem; }
.more a, .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.text-link { font-size: .9rem; margin-top: 1.5rem; }
.cta { margin-top: 2rem; }
.section { padding-block: var(--space); }
.section.mist { background: var(--mist); }
.section.ink { background: var(--ink); color: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 1.5rem 4vw; margin-bottom: 1.75rem; }
.section-head h2 { max-width: 20ch; }
.section-head p { color: var(--muted); font-size: 1rem; max-width: 41ch; padding-bottom: .2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 2rem 4vw; align-items: start; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose { display: grid; gap: 1.3rem; color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }
.prose h2, .prose strong { color: var(--ink); }
/* The data comparison is large enough to explain the work beside the headline. */
.hero { background: var(--mist); padding-block: clamp(2rem, 3.5vw, 3.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 4vw; align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.1vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; max-width: none; }
.hero-label { font-size: .8125rem; color: var(--muted); margin-bottom: 1.1rem; }
.hero h1 span { display: block; }
.hero .lead { max-width: 47ch; }
.hero-art { margin-top: .2rem; }
.hero-art img { width: 100%; }
.hero-art figcaption, .foundations figcaption { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .875rem; line-height: 1.5; }
.image-note { margin-top: .75rem; color: var(--muted); font-size: .75rem; }
.foundations { margin-top: 3.5rem; }
.foundations img { width: 100%; }
/* Foundation before AI: a stepped section, widest at the base, the AI plugged on top. */
.foundation .split { align-items: center; }
.strata-stage { display: flex; flex-direction: column-reverse; --taper: 4%; }
.strata-layers { list-style: none; display: flex; flex-direction: column-reverse; gap: .4rem; }
.strata-layers li, .strata-ai { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding: .9rem 1.1rem; border-radius: .6rem; font-size: .875rem; line-height: 1.45; }
.strata-layers li { background: var(--ink); color: var(--mist); }
.strata-layers li:nth-child(2) { margin-inline: var(--taper); background: color-mix(in srgb, var(--ink) 82%, var(--accent)); }
.strata-layers li:nth-child(3) { margin-inline: calc(var(--taper) * 2); background: color-mix(in srgb, var(--ink) 64%, var(--accent)); }
.strata-name { grid-column: 1; color: var(--paper); font-size: 1rem; font-weight: 600; }
.strata-layers li > p:nth-child(2), .strata-ai > p:nth-child(2) { grid-column: 1 / -1; max-width: 46ch; }
.strata-tag { grid-column: 1; color: var(--glow); font-size: .75rem; }
.strata-plug { position: relative; height: 1.5rem; margin-inline: auto; width: 2px; background: var(--line); }
.strata-plug::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: bottom; }
.strata-ai { margin-inline: calc(var(--taper) * 3); background: var(--paper); color: var(--ink); border: 2px solid var(--accent); }
.strata-ai .strata-name { color: var(--ink); }
.strata-ai .strata-tag { color: var(--accent); }
.strata-answer { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: .5rem 1rem; margin-top: .5rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.strata-answer dt { color: var(--muted); font-size: .75rem; }
.strata-answer dd { font-variant-numeric: tabular-nums; }
.strata-mark { display: inline-block; font-weight: 600; border-bottom: 1px solid var(--ink); }
.strata figcaption { margin-top: 1rem; color: var(--muted); font-size: .8125rem; }
#activites { border-top: 1px solid var(--line); }
/* Activities read across a common axis; there are no card containers. */
.cards { display: grid; }
.card { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 3vw; align-items: center; border-top: 1px solid var(--line); padding-block: 1.75rem; }
.activity-copy { max-width: 30rem; }
.activity-copy > p { margin-top: 1rem; }
.activity-copy > ul { margin-top: 1rem; }
@media (min-width: 48.01rem) {
  .card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
  .card:nth-child(even) > figure { order: 2; }
}
.card:last-child { border-bottom: 1px solid var(--line); }
.card h3 { font-size: clamp(1.6rem, 2.25vw, 2rem); max-width: 17ch; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.card p { color: var(--muted); font-size: 1rem; }
.card ul { list-style: none; display: grid; gap: .65rem; font-size: .875rem; }
.card li { border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.card li:last-child { border-bottom: 0; }
.section-art { margin-top: 2rem; }
/* The four stages are the only numbered sequence. */
.ink .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem 4vw; }
.ink .section-head { display: block; margin: 0; }
.ink .section-head h2 { max-width: 14ch; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.ink .section-head p { color: var(--inverse); margin-top: 1.25rem; max-width: 32ch; }
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps-grid li { counter-increment: step; border-top: 1px solid var(--muted); padding-top: 1.1rem; }
.steps-grid li::before { content: counter(step) "."; display: block; color: var(--glow); font-size: .875rem; margin-bottom: .85rem; }
.steps-grid h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.025em; }
.steps-grid p { color: var(--inverse); margin-top: 1rem; font-size: .9375rem; line-height: 1.65; }
.principles { display: grid; }
.principles > div { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.principles > div:last-child { padding-bottom: 0; }
.principles > div:first-child { padding-top: 0; border-top: 0; }
.principles h3 { font-size: 1.5rem; }
.principles p { color: var(--muted); margin-top: .85rem; font-size: 1rem; }
.principles strong { color: var(--ink); }
/* Concrete AI tasks: an even three-column grid, read row by row. */
.uses { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 3vw; }
.uses li { border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.uses h3 { font-size: 1.3rem; line-height: 1.2; }
.uses p { color: var(--muted); margin-top: .75rem; font-size: .9375rem; }
.uses-limit { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3vw; }
.skills h3 { font-size: 1.2rem; padding-bottom: .8rem; border-bottom: 2px solid var(--accent); }
.skills ul { list-style: none; }
.skills li { padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
#societe h2 { font-size: clamp(2.2rem, 3.7vw, 3.25rem); }
#societe .prose { margin-top: 1.5rem; max-width: 56ch; }
#societe .prose .more { margin-top: .5rem; }
.facts { padding: 0; }
.facts-title { font-size: .875rem; margin-bottom: 1.25rem; }
.facts dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; padding-block: .85rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.facts dt { color: var(--muted); }
/* A full-width colour field closes the page. */
.closing { background: var(--accent); color: var(--paper); }
.closing .cta-band p { color: var(--paper); }
.closing .btn { background: var(--paper); color: var(--accent); border-color: var(--paper); }
.closing .btn:hover { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 2rem 4vw; align-items: center; }
.cta-band h2 { font-size: clamp(2.8rem, 5.3vw, 5rem); max-width: 14ch; }
.cta-band p { color: var(--muted); font-size: 1rem; margin-top: 1.75rem; max-width: 50ch; }
.cta-band-actions { display: grid; gap: 1.4rem; justify-items: start; padding-bottom: .3rem; }
.cta-band .mail { font-size: .875rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
/* Inner pages share the same grid, but reading columns remain restrained. */
.intro { padding-block: var(--space) 3rem; background: var(--mist); }
.intro h1 { max-width: 17ch; }
.intro .lead { max-width: 51ch; }
.toc { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-top: 3.5rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.toc a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.brief > div { padding-block: 1.65rem; border-top: 1px solid var(--line); }
.brief > div:first-child { padding-top: 0; border-top: 0; }
.brief dt { font-weight: 500; font-size: .875rem; }
.brief dd { color: var(--muted); font-size: 1.0625rem; margin-top: .75rem; }
.refusals { list-style: none; }
.refusals li { padding-block: 1.2rem; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.refusals li:first-child { padding-top: 0; border-top: 0; }
.rail { counter-reset: stage; list-style: none; }
.rail li { position: relative; padding: 0 0 1.5rem 3.5rem; counter-increment: stage; }
.rail li::before { content: counter(stage) "."; position: absolute; left: 0; top: 0; font-size: .875rem; color: var(--muted); }
.rail li + li { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.rail li + li::before { top: 1.35rem; }
.rail li:last-child { padding-bottom: 0; }
.rail h3 { font-size: 1.6rem; }
.rail p { margin-top: 1rem; color: var(--muted); }
@media (min-width: 75rem) {
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .rail li, .rail li + li { padding: 1rem 0 0; border-top: 1px solid var(--line); }
  .rail li::before { position: static; display: block; margin-bottom: .75rem; }
  .rail h3 { font-size: 1.3rem; }
}
.marks { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.marks > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.2rem; align-items: baseline; }
.marks dt { font-size: .8125rem; border-bottom: 1px solid var(--ink); padding-bottom: .3rem; justify-self: start; }
.marks dt.review { border-bottom: 3px double var(--ink); }
.marks dd { font-size: .9375rem; color: var(--muted); }
.record { background: var(--mist); padding: 2rem; border-top: 2px solid var(--ink); }
.record dl > div { display: grid; grid-template-columns: 5.7rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.record dl > div:first-child { border-top: 0; padding-top: 0; }
.record dt { font-size: .8125rem; color: var(--muted); }
.record .mark dd, .record .decision dd { font-weight: 600; }
.record figcaption { margin-top: 1.5rem; font-size: .75rem; color: var(--muted); }
.glossary > div { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.glossary > div:first-child { padding-top: 0; border-top: 0; }
.glossary dt { font-size: 1.2rem; font-weight: 500; letter-spacing: -.025em; }
.glossary dd { color: var(--muted); margin-top: .75rem; }
.dl { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 1.1rem 2rem; margin-top: 2rem; }
.dl dt { color: var(--muted); font-size: .875rem; }
.steps { padding-left: 1.25rem; display: grid; gap: 1.25rem; color: var(--muted); }
.legal { padding-block: var(--space); max-width: 58rem; }
.legal h1 { font-size: clamp(2rem, 5.1vw, 4.5rem); max-width: none; }
.legal h2 { font-size: 1.5rem; margin-block: 3rem 1rem; max-width: none; }
.legal p { color: var(--muted); margin-top: 1rem; max-width: 72ch; }
.legal .updated { font-size: .8125rem; margin-top: 2rem; }
.afournir { color: var(--ink); border-bottom: 1px dashed var(--ink); padding-bottom: .15rem; }
/* Common footer; full readability takes precedence over a decorative signature. */
.foot { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: 3rem 8vw; }
.foot .logo { width: 13rem; margin-bottom: 1rem; }
.foot p { color: var(--muted); font-size: .8125rem; margin-top: .7rem; max-width: 57ch; }
.foot ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 2rem; list-style: none; align-content: start; }
.foot a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .8125rem; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
/* A compact chapter dock keeps every part of the home page one click away. */
.home .foot { padding-bottom: 7rem; }
.journey { position: fixed; z-index: 40; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; gap: .35rem; width: min(29rem, calc(100% - 2rem)); padding: .4rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 .5rem 2.5rem color-mix(in srgb, var(--ink) 16%, transparent); }
.journey-menu { position: relative; flex: 1; min-width: 0; }
.journey summary { position: relative; display: grid; align-content: center; min-height: 3.2rem; padding: .25rem 2rem .25rem .9rem; cursor: pointer; list-style: none; border-radius: .6rem; }
.journey summary::-webkit-details-marker { display: none; }
.journey-hint { color: var(--muted); font-size: .6875rem; line-height: 1.4; }
.journey-current { font-size: .875rem; line-height: 1.4; }
.journey-chevron { position: absolute; right: .8rem; top: .85rem; }
.journey-menu ol { position: absolute; bottom: calc(100% + 1rem); left: -.4rem; width: min(21rem, calc(100vw - 2rem)); max-height: min(32rem, calc(100svh - 8rem)); overflow-y: auto; list-style: none; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; box-shadow: 0 .5rem 2rem color-mix(in srgb, var(--ink) 12%, transparent); }
.journey-menu a { display: flex; align-items: center; min-height: 2.75rem; padding: .45rem .85rem; border-radius: .4rem; font-size: .875rem; text-decoration: none; }
.journey-menu a[aria-current="location"] { background: var(--mist); color: var(--accent); font-weight: 600; }
.journey-menu a:hover, .journey summary:hover { background: var(--mist); }
.journey-prev, .journey-next { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; min-height: 3.2rem; padding: .7rem; border-radius: .6rem; font-size: 1rem; text-decoration: none; }
.journey-next { gap: .65rem; color: var(--paper); background: var(--accent); }
.journey-next span { font-size: .8125rem; }
.journey-prev:hover { background: var(--mist); }
.journey-next:hover { background: var(--ink); }
.journey a[aria-disabled="true"] { color: var(--muted); background: var(--mist); cursor: default; }
.journey :focus-visible { outline-offset: 2px; }
/* Layered artwork: six transparent objects travel into the organized picture. */
.flow-demo { width: 100%; min-width: 0; }
.motion-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 1rem; background: var(--ink); contain: layout paint; }
.flow-art { width: 100%; height: 100%; object-fit: cover; }
.motion-pieces { position: absolute; inset: 0; pointer-events: none; }
.motion-piece { position: absolute; display: block; width: 20%; aspect-ratio: 1; opacity: 0; background-image: url("img/scenarios/documents-calques.webp"); background-size: 300% 200%; background-repeat: no-repeat; transform-origin: center; --to-x: 72%; --to-y: 48%; --delay: 0s; }
.symbol-sheet { background-position: 0% 0%; }
.symbol-grid { background-position: 50% 0%; }
.symbol-envelope { background-position: 100% 0%; }
.symbol-message { background-position: 0% 100%; }
.symbol-calendar { background-position: 50% 100%; }
.symbol-folder { background-position: 100% 100%; }
.piece-1 { --from-x: 3%; --from-y: 2%; --mid-x: 34%; --mid-y: 16%; --angle: -18deg; }
.piece-2 { --from-x: 25%; --from-y: 21%; --mid-x: 40%; --mid-y: 23%; --angle: 24deg; --delay: .12s; }
.piece-3 { --from-x: 0%; --from-y: 43%; --mid-x: 35%; --mid-y: 34%; --angle: -8deg; --delay: .24s; }
.piece-4 { --from-x: 14%; --from-y: 32%; --mid-x: 43%; --mid-y: 41%; --angle: 14deg; --delay: .36s; }
.piece-5 { --from-x: 19%; --from-y: 60%; --mid-x: 36%; --mid-y: 53%; --angle: -21deg; --delay: .48s; }
.piece-6 { --from-x: 29%; --from-y: 1%; --mid-x: 44%; --mid-y: 58%; --angle: 9deg; --delay: .6s; }
.motion-decisionnel .motion-piece { --to-y: 58%; }
.motion-decisionnel .piece-1 { --to-x: 46%; }
.motion-decisionnel .piece-2 { --to-x: 55%; }
.motion-decisionnel .piece-3 { --to-x: 63%; }
.motion-decisionnel .piece-4 { --to-x: 72%; }
.motion-decisionnel .piece-5 { --to-x: 81%; }
.motion-decisionnel .piece-6 { --to-x: 63%; }
.motion-automatisation .motion-piece { --to-y: 53%; }
.motion-automatisation .piece-1, .motion-automatisation .piece-4 { --to-x: 44%; }
.motion-automatisation .piece-2, .motion-automatisation .piece-5 { --to-x: 60%; }
.motion-automatisation .piece-3, .motion-automatisation .piece-6 { --to-x: 77%; }
.motion-automatisation .piece-1 { --mid-x: 36%; --mid-y: 28%; }
.motion-automatisation .piece-2 { --mid-x: 49%; --mid-y: 16%; }
.motion-automatisation .piece-3 { --mid-x: 65%; --mid-y: 24%; }
.motion-automatisation .piece-4 { --mid-x: 37%; --mid-y: 48%; }
.motion-automatisation .piece-5 { --mid-x: 49%; --mid-y: 44%; }
.motion-automatisation .piece-6 { --mid-x: 65%; --mid-y: 40%; }
.motion-logiciels .piece-1, .motion-logiciels .piece-4 { --to-y: 34%; }
.motion-logiciels .piece-2, .motion-logiciels .piece-5 { --to-y: 48%; }
.motion-logiciels .piece-3, .motion-logiciels .piece-6 { --to-y: 62%; }
/* Consulting: an inventory where each source receives its mark, then the written roadmap. */
.diag-stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-content: center; aspect-ratio: 16 / 9; padding: 6%; border-radius: 1rem; background: var(--ink); color: var(--mist); font-size: .8125rem; }
.diag-panel { padding: 1rem 1.1rem; border-radius: .6rem; background: color-mix(in srgb, var(--ink) 82%, var(--accent)); }
.diag-road { border: 1px solid var(--glow); background: none; }
.diag .diag-title { margin-bottom: .6rem; color: var(--glow); font-size: .75rem; }
.diag ul, .diag ol { list-style: none; display: grid; gap: .5rem; }
.diag ul li { display: flex; justify-content: space-between; gap: .75rem; }
.diag-mark { color: var(--paper); font-weight: 600; border-bottom: 1px solid; }
.diag-mark.review { border-bottom: 3px double; }
.diag ol { counter-reset: road; }
.diag ol li { counter-increment: road; }
.diag ol li::before { content: counter(road) ". "; color: var(--glow); }
.flow-footer { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.flow-demo figcaption { font-size: .875rem; }
.flow-demo figcaption > span { display: block; margin-top: .3rem; color: var(--muted); font-size: .8125rem; }
.flow-demo figcaption > .image-note { font-size: .75rem; }
.flow-demo.is-paused * { animation-play-state: paused !important; }
/* Let the content set the hero height so the next section stays within reach. */
/* One coordinated entrance, once. No scrolling animation. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; scroll-padding-bottom: 7rem; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: page-out .18s ease both; }
  ::view-transition-new(root) { animation: page-in .28s ease both; }
  @keyframes page-out { to { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; transform: translateY(.4rem); } }
  .flow-demo.is-running .motion-piece { animation: sort-piece 8.4s cubic-bezier(.4,0,.2,1) var(--delay) infinite both; }
  .flow-demo.is-running .flow-art { animation: resolve-artwork 8.4s ease infinite both; }
  @keyframes sort-piece {
    0% { left: var(--from-x); top: var(--from-y); transform: rotate(var(--angle)) scale(1); opacity: 0; }
    3%, 12% { left: var(--from-x); top: var(--from-y); transform: rotate(var(--angle)) scale(1); opacity: 1; }
    34% { left: var(--mid-x); top: var(--mid-y); transform: rotate(0deg) scale(.8); opacity: 1; }
    54% { left: var(--to-x); top: var(--to-y); transform: rotate(0deg) scale(.5); opacity: 1; }
    66%, 100% { left: var(--to-x); top: var(--to-y); transform: rotate(0deg) scale(.5); opacity: 0; }
  }
  @keyframes resolve-artwork { 0%, 17%, 100% { opacity: .28; } 55%, 92% { opacity: 1; } }
  .diag.is-running .diag-mark { animation: 8.4s ease infinite both; }
  .diag.is-running li:nth-child(1) .diag-mark { animation-name: diag-1; }
  .diag.is-running li:nth-child(2) .diag-mark { animation-name: diag-2; }
  .diag.is-running li:nth-child(3) .diag-mark { animation-name: diag-3; }
  .diag.is-running li:nth-child(4) .diag-mark { animation-name: diag-4; }
  .diag.is-running .diag-road { animation: diag-road 8.4s ease infinite both; }
  @keyframes diag-1 { 0%, 8% { opacity: 0; } 12%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
  @keyframes diag-2 { 0%, 16% { opacity: 0; } 20%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
  @keyframes diag-3 { 0%, 24% { opacity: 0; } 28%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
  @keyframes diag-4 { 0%, 32% { opacity: 0; } 36%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
  @keyframes diag-road { 0%, 42% { opacity: 0; transform: translateX(-.75rem); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
  /* The foundation builds layer by layer, then the AI plugs in and answers with its source. */
  .strata.is-running .strata-layers li { animation: 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }
  .strata.is-running .strata-layers li:nth-child(1) { animation-name: strata-1; }
  .strata.is-running .strata-layers li:nth-child(2) { animation-name: strata-2; }
  .strata.is-running .strata-layers li:nth-child(3) { animation-name: strata-3; }
  .strata.is-running .strata-plug::after { animation: strata-plug 8.4s ease infinite both; }
  .strata.is-running .strata-ai { animation: strata-ai 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }
  .strata.is-running .strata-answer { animation: strata-answer 8.4s ease infinite both; }
  @keyframes strata-1 { 0% { opacity: 0; transform: translateY(1rem); } 7%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
  @keyframes strata-2 { 0%, 8% { opacity: 0; transform: translateY(1rem); } 15%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
  @keyframes strata-3 { 0%, 16% { opacity: 0; transform: translateY(1rem); } 23%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
  @keyframes strata-plug { 0%, 30% { transform: scaleY(0); } 40%, 92% { transform: scaleY(1); opacity: 1; } 98%, 100% { opacity: 0; } }
  @keyframes strata-ai { 0%, 28% { opacity: .3; transform: translateY(-1rem); } 42%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: .3; transform: translateY(-1rem); } }
  @keyframes strata-answer { 0%, 46% { opacity: 0; } 56%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
  .hero.enter .hero-text, .hero.enter .hero-art { animation: settle 1.15s cubic-bezier(.2,.7,.2,1) both; }
  .hero.enter .hero-art { animation-delay: .12s; }
  @keyframes settle { from { opacity: 0; transform: translateY(.6rem); } }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 68rem) {
  .nav { gap: 1.4rem; }
  .wordmark .logo { width: 11.5rem; }
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: 5.1vw; }
  .hero .lead { font-size: 1rem; }
  .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem 3rem; }
  .split { gap: 2rem 4vw; }
  .facts dl > div { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .ink .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; }
  .steps-grid { gap: 2rem; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 48rem) {
  body { font-size: 1rem; }
  .uses { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .masthead .wrap { flex-wrap: wrap; gap: .5rem; padding-block: .9rem .6rem; min-height: 0; }
  .wordmark .logo { width: 12rem; }
  .nav { flex-basis: 100%; justify-content: space-between; gap: 1rem; }
  .nav a { font-size: .8125rem; }
  .nav .nav-cta { padding: .4rem .8rem; }
  .hero-grid, .split, .section-head, .ink .wrap, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 0; }
  .hero-text { display: contents; }
  .hero-label { order: 0; }
  .hero h1 { font-size: clamp(2.75rem, 9.6vw, 4.5rem); }
  .hero h1 { order: 1; }
  .hero .lead { order: 3; max-width: 49ch; }
  .hero .actions { order: 4; }
  .hero .note { order: 5; }
  .hero-art { order: 2; width: 100%; margin-top: 1.5rem; }
  .hero-art figcaption { margin-top: .75rem; }
  .section-head { gap: 1rem; margin-bottom: 1.75rem; }
  .section-head h2 { max-width: 20ch; }
  .split { gap: 2rem; }
  .card { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 1.5rem; }
  .diag-stage { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; padding: 1rem; }
  .activity-copy { max-width: none; }
  .ink .section-head h2 { max-width: 20ch; }
  .steps-grid { margin-top: .5rem; }
  #societe .facts { margin-top: .5rem; }
  .facts dl > div { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; }
  .cta-band { gap: 1.5rem; }
  .cta-band h2 { max-width: 15ch; }
  .cta-band-actions { gap: .6rem; }
  .intro { padding-bottom: 2rem; }
  .intro h1 { max-width: 18ch; }
  .section-art { width: 100%; }
  .strata-stage { --taper: 2.5%; }
  .strata-layers li, .strata-ai { padding: .9rem 1rem; }
  .strata-answer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { margin-top: 2.5rem; gap: .5rem 1.5rem; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
  .journey { bottom: .75rem; }
  .journey-current { font-size: .8125rem; }
  .flow-footer { flex-wrap: wrap; gap: .75rem; }
  .nav .nav-cta { display: none; }
  .nav { justify-content: flex-start; gap: 1.8rem; }
  .hero { padding-block: 2rem 2.5rem; }
  .hero h1 { font-size: 12vw; }
  .hero .lead { margin-top: 1.5rem; }
  .actions { gap: .7rem 1.5rem; margin-top: 1.5rem; }
  .hero-art { max-width: 100%; }
  .hero-art img { height: auto; max-height: none; object-fit: contain; }
  .card { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .activity-copy { max-width: none; }
  .card-art { width: 100%; }
  .card ul { grid-column: auto; font-size: .8125rem; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .steps-grid li::before { margin-bottom: .65rem; }
  .steps-grid h3 { font-size: 1.5rem; }
  .facts dl > div { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .toc { display: grid; gap: .25rem; }
  .marks > div { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .record { padding: 1.5rem; }
  .record dl > div { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .dl dt:not(:first-child) { margin-top: 1rem; }
  .rail li { padding-left: 2rem; }
  .legal h1 { font-size: 2.35rem; }
  .foot ul { gap: .1rem 1.5rem; }
}
