/* ORQANTIA — maquette v3. Deux directions : A « Nuit » (data-theme="night") et B « Jour » (data-theme="day"). */

@font-face { font-family: "Plex Sans"; src: url(../fonts/ibm-plex-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(../fonts/ibm-plex-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(../fonts/ibm-plex-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Couleurs (charte Navy Sand) ---------- */
:root[data-theme="night"] {
  --bg: #060E1C;            /* encre : Navy assombri */
  --bg-2: #0A1628;
  --surface: #0F2340;       /* Navy */
  --surface-2: #13294A;
  --line: rgba(246, 242, 234, .09);
  --line-2: rgba(246, 242, 234, .18);
  --text: #F6F2EA;          /* Paper */
  --text-2: rgba(246, 242, 234, .68);
  --text-3: rgba(246, 242, 234, .44);
  --kicker: #E3C79A;        /* Sand */
  --accent: #E3C79A;
  --btn-bg: #F6F2EA;
  --btn-text: #0F2340;
  --nav-bg: rgba(6, 14, 28, .72);
  --sk: rgba(246, 242, 234, .075);
  --band: #0A1628;
  --band-text: #F6F2EA;
  --band-text-2: rgba(246, 242, 234, .68);
  color-scheme: dark;
}
/* Blanc façon Apple : fond blanc, gris clair neutre pour les cartes et les sections alternées, texte presque noir.
   La marque reste dans le logo (anneau Navy, trait Copper) et dans les accents cuivre. */
:root, :root[data-theme="day"] {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --surface: #F5F5F7;
  --surface-2: #EDEDF0;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .16);
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --text-3: #86868B;
  --kicker: #9A5A24;        /* Copper assombri : lisible en petit texte (5,4:1 sur blanc) */
  --accent: #B8743A;        /* Copper : grands éléments seulement */
  --btn-bg: #1D1D1F;
  --btn-text: #FFFFFF;
  --nav-bg: rgba(255, 255, 255, .8);
  --sk: rgba(0, 0, 0, .06);
  --band: #F5F5F7;
  --band-text: #1D1D1F;
  --band-text-2: #6E6E73;
  --band-kicker: #9A5A24;
  --band-btn-bg: #1D1D1F;
  --band-btn-text: #FFFFFF;
  --logo-ring: #0F2340;
  --foot-bg: #F5F5F7;
  --stage: #F5F5F7;
  --stage-fill: #FFFFFF;
  --stage-bar: rgba(0, 0, 0, .09);
  --stage-line: rgba(0, 0, 0, .14);
  --stage-text: #86868B;
  --stage-accent: #B8743A;
  --stage-ring: #0F2340;
  --ov-bg: #FFFFFF;
  --ov-line: rgba(0, 0, 0, .14);
  --ov-text: #6E6E73;
  --ov-strong: #1D1D1F;
  --ov-chip: #F5F5F7;
  --ov-dot: #B8743A;
  color-scheme: light;
}
:root { --ok: #34A37E; --warn: #D99A3E; --ease: cubic-bezier(.2, .7, .2, 1); }
:root[data-theme="night"] {
  --band-kicker: #E3C79A; --band-btn-bg: #F6F2EA; --band-btn-text: #0F2340; --logo-ring: #F6F2EA; --foot-bg: transparent;
  --stage: #0B1A31; --stage-fill: rgba(246, 242, 234, .05); --stage-bar: rgba(246, 242, 234, .16); --stage-line: rgba(246, 242, 234, .16);
  --stage-text: rgba(246, 242, 234, .58); --stage-accent: #E3C79A; --stage-ring: #F6F2EA;
  --ov-bg: rgba(246, 242, 234, .03); --ov-line: rgba(246, 242, 234, .18); --ov-text: rgba(246, 242, 234, .62); --ov-strong: #F6F2EA;
  --ov-chip: rgba(246, 242, 234, .06); --ov-dot: #E3C79A;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .4s ease, color .4s ease;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - 40px); margin-inline: auto; }
.mono { font-family: "Plex Mono", ui-monospace, monospace; }
.kicker { font: 500 12px/1 "Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin: 0 0 22px; }
.display { font-weight: 600; font-size: clamp(46px, 7.6vw, 112px); line-height: .98; letter-spacing: -.045em; margin: 0; }
.title { font-weight: 600; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.038em; margin: 0; }
.title-s { font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 58ch; margin: 24px 0 0; }
.muted { color: var(--text-2); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
section { position: relative; }
.sec { padding: clamp(96px, 12vw, 168px) 0; }
.sec--tight { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head.center { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px;
       background: var(--btn-bg); color: var(--btn-text); font-weight: 500; font-size: 16px; border: 0;
       transition: transform .25s var(--ease), opacity .25s; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text); }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link:hover::after { transform: translate(3px, -1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 40px; }
.center .btn-row { justify-content: center; }

/* ---------- Barre de maquette (hors site) ---------- */
.mockbar { position: fixed; inset: 0 0 auto; z-index: 100; height: calc(36px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px) !important; display: flex; align-items: center; gap: 18px;
           padding: 0 16px; background: #000; color: #CFCBC2; font: 500 11px/1 "Plex Mono", monospace; letter-spacing: .08em;
           overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.mockbar::-webkit-scrollbar { display: none; }
.mockbar b { color: #E3C79A; font-weight: 500; }
.mockbar .sep { opacity: .35; }
.mockbar button, .mockbar a { background: none; border: 1px solid rgba(255,255,255,.18); color: #CFCBC2; border-radius: 999px;
           padding: 5px 10px; font: inherit; letter-spacing: inherit; }
.mockbar button[aria-pressed="true"] { background: #E3C79A; color: #0F2340; border-color: #E3C79A; }
.mockbar a[aria-current="page"] { color: #fff; border-color: rgba(255,255,255,.5); }
html[data-mock="1"] body { padding-top: 36px; }
.mock-note { display: none; }
html[data-mock="1"] .mock-note { display: block; margin: 28px 0 0; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px;
           font: 400 13px/1.55 "Plex Mono", monospace; color: var(--text-2); max-width: 72ch; }
html[data-mock="1"] .mock-note b { color: var(--text); font-weight: 500; }
.center .mock-note { margin-inline: auto !important; text-align: left; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid transparent;
       -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transition: border-color .3s; }
html[data-mock="1"] .nav { top: calc(36px + env(safe-area-inset-top, 0px)); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav__in { height: 60px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; letter-spacing: .22em; }
.logo svg { width: 26px; height: 26px; }
.logo .ring { stroke: var(--logo-ring); }
.logo .slash { stroke: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--text-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__lang { font: 500 12px/1 "Plex Mono", monospace; letter-spacing: .1em; color: var(--text-2); padding: 6px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__menu { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; padding: 0; }
.nav__menu span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px auto; transition: transform .3s; }
.nav.open .nav__menu span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav__menu span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero { padding: clamp(80px, 11vw, 150px) 0 0; text-align: center; overflow: hidden; }
.hero .lede { margin-inline: auto; max-width: 54ch; }
.hero .btn-row { justify-content: center; }
.stage { margin: clamp(56px, 7vw, 88px) auto 0; width: min(1280px, 100% - 40px); border-radius: clamp(20px, 2.4vw, 32px);
         background: var(--stage); box-shadow: 0 0 0 1px var(--line); overflow: hidden; position: relative; }
.stage svg { width: 100%; height: auto; }
.stage .s-line { stroke: var(--stage-line); fill: none; }
.stage .s-fill { fill: var(--stage-fill); stroke: var(--stage-line); }
.stage .s-bar { fill: var(--stage-bar); }
.stage .s-text { fill: var(--stage-text); font: 500 13px "Plex Mono", monospace; letter-spacing: .14em; }
.stage .s-accent { stroke: var(--stage-accent); }
.stage .s-dot { fill: var(--stage-accent); }
.stage .s-ring { stroke: var(--stage-ring); }
.stage .s-orbit { transform-origin: 600px 290px; animation: orbit 60s linear infinite; }
.stage .s-orbit--rev { animation-duration: 90s; animation-direction: reverse; }
.stage .s-check { stroke: var(--ok); }
.stage .s-row { animation: row 6s var(--ease) infinite; opacity: .35; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes row { 0%, 10% { opacity: .35; } 25%, 85% { opacity: 1; } 100% { opacity: .35; } }

/* ---------- Bandeau d'engagements (façon fiche technique Apple) ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.spec { padding: 40px 32px 8px 0; }
.spec + .spec { padding-left: 32px; border-left: 1px solid var(--line); }
.spec__big { font-weight: 600; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.04em; }
.spec__big small { font-size: .42em; letter-spacing: -.01em; font-weight: 500; color: var(--text-2); margin-left: 6px; }
.spec p { color: var(--text-2); margin: 16px 0 0; max-width: 32ch; }

/* ---------- Statuts ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border-radius: 999px;
        font: 500 11px/1 "Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase;
        color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.pill { white-space: nowrap; flex: none; }
.pill--in_use i { background: var(--ok); box-shadow: 0 0 0 3px rgba(91, 195, 160, .18); }
.pill--pilot i { background: var(--warn); box-shadow: 0 0 0 3px rgba(224, 172, 92, .18); }
.pill--prototype i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-2); }

/* ---------- Emplacements vides (visuels à venir) ---------- */
.slot { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden;
        background-color: var(--bg-2);
        background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
        background-size: 32px 32px; background-position: center; }
.slot::before { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--line-2); border-radius: 14px; }
.slot__label { position: relative; text-align: center; font: 500 11px/1.7 "Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.slot__label b { display: block; color: var(--text-2); font-weight: 500; }
.slot__play { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; box-shadow: inset 0 0 0 1px var(--line-2);
              display: grid; place-items: center; background: var(--bg); }
.slot__play::after { content: ""; border-left: 12px solid var(--text-2); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.slot-media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-2); }
.slot-media--film { aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #f6f2ea; }
.gal-media { position: relative; }
.gal-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(15, 35, 64, .88); color: #fff; font: 500 15px "Plex Sans", sans-serif;
  white-space: nowrap; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s ease, background .2s ease; }
.gal-play:hover, .gal-play:focus-visible { background: rgba(15, 35, 64, .97); transform: translate(-50%, -50%) scale(1.05); }
.gal-play i { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--accent, #B8743A); flex: none; }
.gal-play i::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(8, 12, 20, .82); }
.film-modal[hidden] { display: none; }
.film-modal__box { position: relative; width: min(1100px, 100%); }
.film-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; background: #000; border-radius: 16px; }
.film-modal__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #111;
  font: 400 26px/40px "Plex Sans", sans-serif; cursor: pointer; }
.slot--plain { background: linear-gradient(140deg, var(--surface), var(--bg-2)); }
.slot--plain::before { display: none; }
.slot__plain { position: relative; display: grid; justify-items: center; gap: 18px; padding: 0 24px; }
.slot__plain svg { width: 64px; height: 64px; }
.slot__plain span { font: 500 11px/1.7 "Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); text-align: center; max-width: 34ch; }
.sk { display: block; height: 12px; border-radius: 6px; background: var(--sk); width: 100%; margin: 9px 0; }
.sk--title { height: 26px; width: 46%; border-radius: 8px; margin: 4px 0 14px; }
.sk--short { width: 62%; }
.sk--xs { width: 34%; display: inline-block; height: 10px; margin: 0; vertical-align: middle; }

/* ---------- Grille des systèmes (accueil) ---------- */
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sys-card { display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); overflow: hidden;
            box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.sys-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .45); }
.sys-card .slot { border-bottom: 1px solid var(--line); }
.sys-card--large { grid-column: 1 / -1; flex-direction: row; }
.sys-card--large .slot { flex: 1.75; aspect-ratio: 16 / 9; border-bottom: 0; border-right: 1px solid var(--line); }
.sys-card--large .sys-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.sys-card--large h3 { font-size: 34px; letter-spacing: -.03em; }
.sys-card--large .sk--title { height: 34px; width: 70%; }
.sys-card__body { padding: 24px 26px 28px; }
.sys-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sys-card__meta .mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sys-card h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 6px; }
.sys-card p { margin: 0; color: var(--text-2); }
.sys-card--next { grid-column: span var(--s3, 1); justify-content: space-between; padding: 30px 28px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.sys-card--next:hover { box-shadow: inset 0 0 0 1px var(--text-3); }
.plus { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-text); font-size: 28px; font-weight: 400; }
.sys-card--next h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.03em; margin: 40px 0 10px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 34px 30px 38px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.step__n { font: 500 13px/1 "Plex Mono", monospace; letter-spacing: .14em; color: var(--kicker); }
.step h3 { font-size: 30px; letter-spacing: -.03em; font-weight: 600; margin: 56px 0 12px; }
.step p { margin: 0; color: var(--text-2); }
.step__time { margin-top: 26px !important; font: 500 12px/1 "Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3) !important; }

/* ---------- Bande « un humain + des agents » ---------- */
.band { background: var(--band); color: var(--band-text); }
.band .lede, .band .muted { color: var(--band-text-2); }
.band .kicker { color: var(--band-kicker); }
.band .btn { background: var(--band-btn-bg); color: var(--band-btn-text); }
.band .link { color: var(--band-text); }
.band .mock-note { border-color: var(--line-2); color: var(--band-text-2); }
.band .mock-note b { color: var(--band-text); }
:root[data-theme="night"] .band { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.duo { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.duo .title { font-size: clamp(34px, 3.9vw, 54px); }
.sec--tight + .sec { padding-top: clamp(56px, 7vw, 96px); }
.duo__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.duo__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--band-text-2); }
.duo__list li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent); }
.duo__list b { color: var(--band-text); font-weight: 500; }
.orbitview { border-radius: 28px; background: var(--ov-bg); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.orbitview .s-line { stroke: var(--ov-line); fill: none; }
.orbitview .s-text { fill: var(--ov-text); font: 500 12px "Plex Mono", monospace; letter-spacing: .12em; }
.orbitview .s-strong { fill: var(--ov-strong); font: 600 17px "Plex Sans", sans-serif; letter-spacing: -.01em; }
.orbitview .s-chip { fill: var(--ov-chip); stroke: var(--ov-line); }
.orbitview .s-dot { fill: var(--ov-dot); }
.orbitview .s-photo { fill: var(--ov-chip); stroke: var(--ov-dot); stroke-dasharray: 4 6; }

/* ---------- Principes ---------- */
.prin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.prin__ico { width: 44px; height: 44px; margin-bottom: 26px; }
.prin__ico * { stroke: var(--text); fill: none; stroke-width: 1.5; }
.prin__ico .a { stroke: var(--accent); }
.prin h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 10px; }
.prin p { margin: 0; color: var(--text-2); }

/* ---------- Avis des partenaires ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { position: relative; padding: 34px 30px 30px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; min-height: 320px; }
.quote__mark { font-weight: 600; font-size: 72px; line-height: .6; height: 34px; color: var(--accent); }
.quote blockquote { margin: 18px 0 0; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.quote footer b { display: block; color: var(--text); font-weight: 500; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; background: var(--sk); flex: none; }
.quote--slot blockquote { flex: 1; }
.quote--slot .badge { position: absolute; top: 26px; right: 24px; }
.badge { font: 500 10.5px/1 "Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
         padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Appel final ---------- */
.final { text-align: center; }
.final .display { font-size: clamp(44px, 7vw, 100px); }
.contact-alt { margin-top: 28px; color: var(--text-3); font-size: 15px; }
.contact-alt a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }

/* ---------- Pied de page ---------- */
.foot { background: var(--foot-bg); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--text-2); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font: 500 11px/1 "Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot__sig { font: 500 11px/1 "Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin-top: 18px; }
.foot__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--text-3); font-size: 13px; flex-wrap: wrap; }

/* ---------- Page Systèmes ---------- */
.page-hero { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2);
        font-size: 14px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.chip span { font: 500 11px/1 "Plex Mono", monospace; color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); box-shadow: none; }
.chip[aria-pressed="true"] span { color: inherit; opacity: .6; }
.features { display: grid; gap: clamp(88px, 10vw, 140px); padding-bottom: clamp(96px, 12vw, 160px); }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media { border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.feature__media .slot { aspect-ratio: 4 / 3; }
.feature__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.feature__meta .mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.feature h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.feature .lede { font-size: 18px; }
.does { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.does li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; }
.does li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.feature[hidden] { display: none; }

/* ---------- Page lien partenaire ---------- */
.fb { min-height: calc(100vh - 36px); padding: clamp(56px, 8vw, 110px) 0; }
.fb__head { text-align: center; margin-bottom: 48px; }
.fb__head .logo { justify-content: center; margin-bottom: 56px; }
.fb__head .title-s { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.fb__head .lede { margin-inline: auto; font-size: 18px; }
.invite { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.invite i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(91, 195, 160, .18); }
.form { border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 44px); }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .legend { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--text-3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input, select.input, textarea.input { width: 100%; border: 0; border-radius: 14px; background: var(--bg); color: var(--text);
        box-shadow: inset 0 0 0 1px var(--line-2); font: 400 16px/1.4 "Plex Sans", sans-serif; padding: 14px 16px; transition: box-shadow .2s; }
textarea.input { min-height: 150px; resize: vertical; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--text); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #E58C89; }
.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--text-2); cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--btn-bg); color: var(--btn-text); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .2s; }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--text); }
.choice input { margin: 3px 0 0; accent-color: #1D1D1F; width: 18px; height: 18px; }
:root[data-theme="night"] .choice input { accent-color: #E3C79A; }
.choice b { display: block; font-weight: 500; }
.choice small { color: var(--text-2); font-size: 14px; }
.counter { font: 400 12px/1 "Plex Mono", monospace; color: var(--text-3); text-align: right; }
.privacy { font-size: 13px; color: var(--text-3); line-height: 1.6; margin: 26px 0 0; }
.form .btn { width: 100%; justify-content: center; margin-top: 28px; height: 54px; font-size: 17px; }
.err { color: #E58C89; font-size: 14px; margin-top: 14px; min-height: 1em; }
.done { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; }
.done__ok { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ok); }
.done__ok svg { width: 30px; height: 30px; stroke: var(--ok); fill: none; stroke-width: 2; }

/* Ce que le client reçoit après l'appel */
.box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box__item { padding: 30px 28px 32px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.box__item h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 10px; }
.box__item p { margin: 0; color: var(--text-2); }
.costs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line-2); }
.cost { padding: 30px 30px 32px; min-width: 0; }
.cost + .cost { box-shadow: inset 1px 0 0 var(--line); }
.cost p { margin: 0; color: var(--text-2); }
.cost .cost__label { font: 500 11px/1 "Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); }
.cost .cost__value { font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.035em; color: var(--text); margin: 16px 0 12px; }

/* « Vous êtes pressé ? » : la description du projet dès le haut de page */
.quick { width: min(680px, 100%); margin: 34px auto 0; text-align: left; }
.quick__label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin: 0 0 10px 6px; }
.quick__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 163, 126, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 163, 126, .06); } }
.quick__box { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 22px; background: var(--bg);
              box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -26px rgba(0, 0, 0, .3); transition: box-shadow .2s; }
.quick__box:focus-within { box-shadow: 0 0 0 2px var(--text), 0 18px 40px -26px rgba(0, 0, 0, .3); }
.quick textarea { flex: 1; min-width: 0; border: 0; outline: none; resize: none; background: transparent; color: var(--text); font: 400 16px/1.5 "Plex Sans", sans-serif; padding: 7px 0; }
.quick textarea::placeholder { color: var(--text-3); }
.quick .btn { flex: none; height: 46px; }
.quick__hint { font-size: 14px; color: var(--text-3); margin: 10px 0 0 6px; }
.quick__hint a { border-bottom: 1px solid var(--line-2); }
/* Site vitrine : adresse e-mail demandée en second temps, puis message de confirmation */
.quick__step { margin-top: 10px; }
.quick__step .quick__box { align-items: center; padding: 8px 8px 8px 18px; }
.quick__step input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font: 400 16px/1.5 "Plex Sans", sans-serif; padding: 8px 0; }
.quick__step input::placeholder { color: var(--text-3); }
.quick.is-step2 > .quick__box .btn { display: none; }
.quick.is-sent .quick__box { opacity: .55; pointer-events: none; }
.quick__msg { font-size: 15px; color: var(--text); margin: 12px 0 0 6px; }
.quick__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Pages simples (mentions légales, confidentialité, page introuvable) */
.doc { padding-block: calc(var(--top, 60px) + 64px) 96px; }
.doc .wrap--narrow { max-width: 72ch; }
.doc h1 { margin: 0 0 12px; }
.doc .doc__meta { color: var(--text-3); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; line-height: 1.65; }
.doc ul { padding-left: 1.2em; }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.doc .table-wrap { overflow-x: auto; margin: 12px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.doc th { font: 500 11px "Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.hero-links { margin-top: 20px; gap: 10px 26px; }
.hero-links .link { font-size: 15px; }

/* Accueil, premier écran : ce que nous faisons (titre), comment (film), ce que vous faites (trois étapes, deux boutons).
   La hauteur du film suit la hauteur de l'écran pour que tout tienne sans défiler. */
.scene--hero .hero-copy { padding-top: clamp(16px, 4.2svh, 52px); }
.scene--hero .hero-copy .kicker { margin-bottom: clamp(10px, 1.7svh, 18px); }
.hero-title { font-size: clamp(34px, min(5.6vw, 7.4svh), 80px); line-height: 1.02; text-wrap: balance; }
.scene--hero .hero-copy .lede { margin-top: clamp(8px, 1.6svh, 16px); font-size: clamp(16px, min(1.4vw, 2.3svh), 20px); max-width: 56ch; text-wrap: balance; }
.scene--hero .hero-copy { --hf: min(100%, 780px, calc((100svh - var(--top) - 430px) * 16 / 9)); }
.hero-film { position: relative; display: block; width: var(--hf); min-width: min(100%, 280px);
  aspect-ratio: 16 / 9; margin: clamp(12px, 2.3svh, 26px) auto 0; padding: 0; border: 0; border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden;
  background: #f6f2ea; cursor: pointer; box-shadow: 0 0 0 1px var(--line), 0 26px 60px -34px rgba(15, 35, 64, .5); }
.hero-film img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-film:hover img, .hero-film:focus-visible img { transform: scale(1.025); }
.hero-film:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hero-film__play { position: absolute; left: 50%; bottom: clamp(10px, 4%, 18px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(15, 35, 64, .9); color: #fff; font: 500 15px "Plex Sans", sans-serif; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: background .2s ease, transform .2s ease; }
.hero-film:hover .hero-film__play { background: rgba(15, 35, 64, 1); transform: translateX(-50%) scale(1.04); }
.hero-film__play i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--accent, #B8743A); flex: none; }
.hero-film__play i::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hero-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: max(min(100%, 660px), var(--hf));
  margin: clamp(10px, 2svh, 20px) auto 0; padding: 0; text-align: left; }
.hero-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2);
  font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--text); }
.hero-steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center;
  font: 500 12px/1 "Plex Mono", monospace; margin-top: -1px; }
.hero-steps small { display: block; font-weight: 400; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.scene--hero .hero-cta { margin-top: clamp(12px, 2.3svh, 24px); gap: 12px; }
.final .quick { margin: 30px auto 0; }
.final .quick + .btn-row { margin-top: 30px; }

/* =====================================================================
   Scènes pilotées par le défilement (principe des pages produits d'Apple)
   ===================================================================== */
:root { --top: 60px; }
html[data-mock="1"] { --top: calc(96px + env(safe-area-inset-top, 0px)); }
.scene { position: relative; }
.scene__sticky { position: sticky; top: var(--top); height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); overflow: hidden; }

/* Ouverture */
.scene--hero { height: 300vh; height: 300svh; }  /* 2026-11-12 : parcours raccourci (470 -> 300) */
.hero-copy { position: absolute; inset: 0 0 auto; padding-top: clamp(36px, 8svh, 104px); text-align: center; transform-origin: 50% 0; will-change: transform, opacity; z-index: 2; }
.hero-copy .lede { margin-inline: auto; max-width: 52ch; }
.hero-copy .btn-row { justify-content: center; }
.stage-wrap { position: absolute; left: 50%; top: 27%; width: min(1280px, 100% - 40px); height: 68%; transform: translate(-50%, 56%) scale(.86);
              transform-origin: 50% 0; will-change: transform; z-index: 1; }
.stage-wrap .stage { width: 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); }
.stage__svg { position: absolute; inset: clamp(12px, 2vw, 28px); }
.stage__svg svg { width: 100%; height: 100%; }
.stage-wrap video[data-scrub] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.captions { position: absolute; left: 0; right: 0; top: 1.5%; height: 24%; opacity: 0; z-index: 2; pointer-events: none; }
.caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; opacity: 0; will-change: opacity, transform; }
.caption .kicker { margin-bottom: 12px; }
.caption h2 { font-weight: 600; font-size: clamp(28px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.caption p:not(.kicker) { margin: 10px 0 0; color: var(--text-2); font-size: clamp(15px, 1.25vw, 18px); max-width: 56ch; }
.chapter-bar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.chapter-bar span { width: 44px; height: 3px; border-radius: 2px; background: var(--stage-line); overflow: hidden; }
.chapter-bar i { display: block; height: 100%; background: var(--stage-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Le processus dessiné (construit par app.js) */
.proc .p-path { fill: none; stroke: var(--stage-line); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.proc .q-ring { fill: none; stroke: var(--stage-ring); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.proc .q-slash { stroke: var(--stage-accent); stroke-width: 5; opacity: 0; }
.proc .check-ring { fill: none; stroke: var(--ok); stroke-width: 1.5; }
.proc .check-path { fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; }
.proc .doc, .proc .row, .proc .panel, .proc .orbits, .proc .dots-in, .proc .dots-out { opacity: 0; }
/* Exemple concret dans la scène d'ouverture (2026-11-12) */
.proc .t-txt { fill: var(--text); font: 500 15.5px "Plex Sans", sans-serif; }
.proc .t-tag { fill: var(--stage-accent); font: 500 12px "Plex Mono", monospace; letter-spacing: .14em; }
.proc .t-goal { fill: var(--text); font: 600 18px "Plex Sans", sans-serif; }
.proc .t-title { fill: var(--text); font: 600 22px "Plex Sans", sans-serif; letter-spacing: -.01em; }
.proc .t-foot { fill: var(--stage-accent); font: 600 16px "Plex Sans", sans-serif; }
.proc .t-chip { fill: var(--text-2); font: 500 11.5px "Plex Mono", monospace; letter-spacing: .02em; }
.proc .chip-bg { fill: var(--bg-2, #eef0f3); stroke: var(--stage-line); stroke-width: 1; }
.proc .chip-ic { fill: none; stroke: var(--stage-accent); stroke-width: 1.4; stroke-linejoin: round; }
.proc .goal-box { fill: var(--stage-fill); stroke: var(--stage-accent); stroke-width: 1.6; }
.proc--p .t-txt { font-size: 23px; }
.proc--p .t-tag { font-size: 15px; }
.proc--p .t-goal { font-size: 24px; }
.proc--p .t-title { font-size: 28px; }
.proc--p .t-foot { font-size: 22px; }
.proc--p .t-chip { font-size: 15px; }

/* L'objet « Q » en 3D et ses légendes */
.scene--object { height: 320vh; height: 320svh; }
.q3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.q3d-fallback { position: absolute; left: 50%; top: 50%; width: min(46svh, 60vw); transform: translate(-50%, -50%); }
.q3d-fallback .ring { stroke: var(--logo-ring); } .q3d-fallback .slash { stroke: var(--accent); }
.callouts { position: absolute; inset: 0; pointer-events: none; width: min(1200px, 100% - 40px); margin: 0 auto; }
.callout { position: absolute; width: min(300px, 28vw); opacity: 0; will-change: opacity, transform; }
.callout:nth-child(1) { left: 0; top: 14%; }
.callout:nth-child(2) { right: 0; top: 40%; text-align: right; }
.callout:nth-child(2) p { margin-left: auto; }
.callout:nth-child(3) { left: 0; bottom: 12%; }
.callout p { color: var(--text-2); margin: 14px 0 0; max-width: 30ch; }
.rm .scene--object .scene__sticky { height: 92vh; display: block; }
.rm .callout { opacity: 1 !important; transform: none !important; }

/* Films d'ambiance (Higgsfield) : lecture muette en boucle, cadre qui grandit à l'entrée */
.film { position: relative; margin: clamp(56px, 7vw, 96px) 0 0; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%;
        background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film__empty { display: none; position: absolute; inset: 0; place-items: center; font: 500 11px/1.6 "Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.film--empty video { display: none; }
.film--final { margin: 0 0 clamp(56px, 7vw, 96px); aspect-ratio: 21 / 9; }
.film--empty .film__empty { display: grid; }

/* Phrase qui s'allume mot à mot */
.statement { padding: clamp(120px, 16vw, 220px) 0 clamp(72px, 9vw, 120px); }
.words { font-weight: 600; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.035em; margin: 0; }
.words .w { opacity: clamp(.13, calc(var(--pw, 1) * (var(--n, 1) + 6) - var(--i, 0)), 1); }
.words .acc { color: var(--accent); }

/* Entrées liées au défilement : --v (0 → 1) est posé par app.js sur le bloc [data-view] */
.vin { --t: clamp(0, calc((var(--v, 1) - var(--k, 0) * .12) * 2.4), 1); opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 44px)); }
.vzoom { transform: scale(calc(.86 + .14 * clamp(0, var(--v, 1) * 1.25, 1))); transform-origin: 50% 60%; }
.grow { transform: scale(calc(.9 + .1 * clamp(0, var(--v, 1) * 1.3, 1))); opacity: clamp(0, calc(var(--v, 1) * 2.2), 1); }
.timeline { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 0 0 24px; }
.timeline i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--v, 1) - .25) * 1.6), 1)); }
.orbitview .draw { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--v, 1) - .35) * 2.6, 1)); }
.orbitview .node { opacity: clamp(0, calc((var(--v, 1) - .15 - var(--k, 0) * .08) * 4), 1); }
.orbitview .flow { opacity: clamp(0, calc((var(--v, 1) - .75) * 4), 1); }
.prin__ico * { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--v, 1) - .3) * 2, 1)); }

/* Galerie horizontale */
.scene--gallery { --gh: clamp(200px, calc(100svh - var(--top) - 420px), 480px); }
.scene--gallery .scene__sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4svh, 44px); }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.gallery__head .kicker { margin-bottom: 14px; }
.gallery__head .lede { margin: 0; max-width: 40ch; font-size: 18px; }
.gallery__track { display: flex; gap: 20px; padding: 0 max(20px, calc((100% - 1200px) / 2)); will-change: transform; }
.gal-card { flex: none; width: calc(var(--gh) * 1.6); display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); overflow: hidden;
            box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s; scroll-snap-align: start; }
.gal-card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -30px rgba(0, 0, 0, .3); }
.gal-card--large { width: calc(var(--gh) * 2); }
.gal-card .slot { height: var(--gh); aspect-ratio: auto; border-bottom: 1px solid var(--line); }
.gal-card__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 24px 24px; }
.gal-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gal-card__meta .mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.gal-card h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 4px; }
.gal-card p { margin: 0; color: var(--text-2); }
.gal-card__go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-text); font-size: 20px; line-height: 1; }
.gal-card--next { width: clamp(280px, 30vw, 400px); justify-content: center; padding: 36px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.gal-card--next h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.03em; margin: 36px 0 10px; }
.gallery__progress { height: 2px; width: min(1200px, 100% - 40px); margin: 0 auto; background: var(--line); border-radius: 2px; overflow: hidden; }
.gallery__progress i { display: block; height: 100%; background: var(--text); transform-origin: 0 50%; transform: scaleX(0); }
/* 2026-11-12 : galerie à défilement libre (plus pilotée par le défilement vertical) */
.scene--gallery { height: auto !important; }
.scene--gallery .scene__sticky { position: relative; top: auto; height: auto; overflow: visible; padding: clamp(64px, 10svh, 120px) 0; }
.scene--gallery .gallery__track { overflow-x: auto; overflow-y: hidden; transform: none !important; will-change: auto; scroll-snap-type: x proximity;
  scroll-padding-inline: max(20px, calc((100% - 1200px) / 2)); overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; padding-bottom: 6px; outline: none; }
.scene--gallery .gallery__track::-webkit-scrollbar { display: none; }
.scene--gallery .gallery__track:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 12px; }
.scene--gallery .gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.scene--gallery .gal-card { scroll-snap-align: start; -webkit-user-drag: none; }
/* 2026-11-12 : le secteur au-dessus de chaque carte (Administration, Industry, Education…), la dernière attend « Your sector » */
.gallery__sub { margin: 14px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.gal-item { flex: none; display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.gal-item > .gal-card { flex: 1; }
.gal-sector { display: flex; align-items: center; gap: 10px; min-height: 18px; margin: 0 0 0 6px; font: 500 13px/1 "Plex Mono", monospace; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text); }
.gal-sector::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--accent); flex: none; }
.gal-sector--next { color: var(--text-3); }
.gal-sector--next::before { background: var(--line-2); }
.feature__sector { margin-bottom: 14px; }
.gallery__foot { display: flex; align-items: center; gap: 20px; width: min(1200px, 100% - 40px); margin: 0 auto; }
.gallery__foot .gallery__progress { flex: 1; width: auto; margin: 0; }
.gallery__nav { display: flex; gap: 10px; flex: none; }
.gal-nav { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 400 24px/46px "Plex Sans", sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.gal-nav:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.gal-nav:disabled { opacity: .35; cursor: default; }

/* Mouvement réduit ou capture : tout est posé, sans scène collée */
.rm .scene { height: auto !important; }
.rm .scene__sticky { position: relative; top: auto; height: auto; overflow: visible; display: flex; flex-direction: column; }
.rm .hero-copy { position: relative; padding-bottom: 56px; }
.rm .stage-wrap { position: relative; left: auto; top: auto; order: 2; transform: none !important; margin: 0 auto; height: auto; }
.rm .stage-wrap .stage { height: auto; }
.rm .stage__svg { position: relative; inset: auto; width: 100%; }
.rm .stage__svg svg { height: auto; }
.rm .captions { position: relative; order: 3; opacity: 1 !important; height: auto; top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 28px;
                width: min(1200px, 100% - 40px); margin: 40px auto 0; }
.rm .caption { position: relative; inset: auto; opacity: 1 !important; transform: none !important; align-items: flex-start; text-align: left; padding: 0; }
.rm .caption h2 { font-size: 26px; }
.rm .chapter-bar { display: none; }
.rm .scene--gallery .scene__sticky { padding: 96px 0 24px; gap: 40px; }
.rm .gallery__track { overflow-x: auto; transform: none !important; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rm .gallery__progress { display: none; }

/* ---------- Apparition au défilement ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .stage .s-orbit, .stage .s-row { animation: none; opacity: 1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .sys-grid, .steps, .quotes, .prin, .box { grid-template-columns: 1fr 1fr; }
  .quick { margin-top: 26px; }
  .sys-card--large { flex-direction: column; }
  .sys-card--large .slot { flex: none; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .sys-card--large .sys-card__body { padding: 24px 26px 28px; }
  .sys-card--next { grid-column: span var(--s2, 1); }
  .duo, .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__in > .btn, .nav__lang { display: none; }
  .nav__menu { display: block; }
  .nav.open .nav__links { display: grid; position: absolute; top: 60px; left: 0; right: 0; gap: 0; padding: 8px 20px 24px;
       background: var(--bg); border-bottom: 1px solid var(--line); font-size: 22px; color: var(--text); }
  .nav.open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sys-grid, .steps, .quotes, .prin, .row2, .box, .costs { grid-template-columns: 1fr; }
  .cost + .cost { box-shadow: inset 0 1px 0 var(--line); }
  .sys-card--next { grid-column: auto; }
  .specs { grid-template-columns: 1fr; }
  .spec, .spec + .spec { padding: 28px 0; border-left: 0; }
  .spec + .spec { border-top: 1px solid var(--line); }
  .stage { width: calc(100% - 24px); }
  .stage .s-text { display: none; }
  .quick__box { padding: 12px; flex-wrap: wrap; }
  .quick__step input { flex-basis: 100%; padding: 4px 4px 8px; }
  .quick textarea { flex-basis: 100%; padding: 2px 4px 6px; }
  .quick .btn { width: 100%; justify-content: center; }
  .quick .btn { padding: 0 16px; font-size: 15px; }
  .quick__hint { font-size: 13px; }
  .hero-links .link:last-child { display: none; }
  .scene--hero .hero-copy .kicker { font-size: 11px; }
  .hero-steps { grid-template-columns: 1fr; gap: 6px; }
  .hero-steps li { align-items: center; padding: 7px 12px; font-size: 14px; }
  .hero-steps span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
  .hero-steps small { margin: 0; font-size: 13px; }
  .hero-steps small::before { content: "· "; }
  .scene--hero .hero-cta { gap: 8px; flex-wrap: nowrap; }
  .scene--hero .hero-cta .btn { height: 46px; padding: 0 16px; font-size: 15px; }
  .stage-wrap { top: 30%; height: 66%; width: calc(100% - 24px); }
  .captions { height: 28%; }
  .scene--gallery { --gh: calc(78vw / 1.6); }
  .gal-card, .gal-card--large { width: 78vw; }
  .gal-card--next { width: 70vw; }
  .gallery__head { display: block; }
  .gallery__head .lede { margin-top: 14px; }
  .rm .captions { grid-template-columns: 1fr; }
  .callout, .callout:nth-child(n) { left: 0; right: 0; top: auto; bottom: 7%; width: auto; text-align: center; }
  .callout p, .callout:nth-child(2) p { margin-inline: auto; }
  .rm .callouts { position: relative; display: grid; gap: 28px; padding-top: 56svh; }
  .rm .callout { position: relative; bottom: auto; }
  .step h3 { margin-top: 36px; }
  .foot__grid { grid-template-columns: 1fr; }
}

.rm .dots-in, .rm .dots-out { display: none; }

/* Petits téléphones (hauteur réduite) : le premier écran doit tenir jusqu'aux deux boutons */
@media (max-width: 760px) and (max-height: 740px) {
  .scene--hero .hero-copy .kicker { display: none; }
  .hero-title { font-size: 30px; }
  .scene--hero .hero-copy .lede { font-size: 15px; line-height: 1.45; }
  .hero-steps li { padding: 5px 12px; }
}

/* 2026-11-12 : l'objet « Q » et ses trois engagements sous les deux titres de la scène d'ouverture */
.q-stage .callouts { z-index: 2; }
.rm .q-stage { height: min(80vh, 720px) !important; }
.rm .q-stage .callouts { position: absolute; }

/* 2026-11-12 : bloc provisoire « réserver un appel / décrire puis réserver » (fin de l'accueil) */
.start .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.start-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
/* 2026-11-16 : les deux options aussi en bas de la page Systems (bande grise : cartes sur fond de page) */
.final .start-grid { margin-top: clamp(28px, 4vw, 48px); text-align: left; }
.band .start-card { background: var(--bg); }
.start-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 40px); border-radius: 26px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.start-card .kicker { margin: 0; }
.start-card h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.02em; font-weight: 600; margin: 0; line-height: 1.15; }
.start-card > p:not(.kicker) { margin: 0; color: var(--text-2); }
.start-card > .btn { margin-top: auto; }
.start-card .quick { width: 100%; margin: 8px 0 0; }
.start .contact-alt { margin-top: 28px; }
.start .contact-alt .link { margin-left: 14px; }
@media (max-width: 760px) { .start-grid { grid-template-columns: 1fr; } }

/* 2026-11-16 : sur ordinateur, « 24 h » et « 1 point of contact » empilés dans la colonne de gauche avec un écart garanti
   (placés à 14 % du haut et 12 % du bas, ils se chevauchaient dans une fenêtre peu haute) ; « Any sector » centré à droite */
@media (min-width: 761px) {
  .callouts { display: grid; grid-template-columns: min(300px, 28vw) 1fr min(300px, 28vw);
              grid-template-rows: 1fr auto auto 1fr; row-gap: clamp(28px, 6vh, 64px); }
  .callout, .callout:nth-child(n) { position: static; width: auto; }
  .callout:nth-child(1) { grid-column: 1; grid-row: 2; }
  .callout:nth-child(3) { grid-column: 1; grid-row: 3; }
  .callout:nth-child(2) { grid-column: 3; grid-row: 2 / 4; align-self: center; }
}

/* 2026-11-16 : cartes de la galerie de même dimension (même largeur, libellé sur une ligne, titres alignés sur deux lignes) */
.gal-card__body { flex: 1; align-items: flex-start; }
.gal-card__body > div { min-width: 0; }
.gal-card__go { align-self: flex-end; }
.gal-card__meta { min-width: 0; }
.gal-card__meta .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gal-card h3 { min-height: 2.3em; line-height: 1.15; display: flex; align-items: flex-end; margin-bottom: 8px; }

/* 2026-11-17 : version française. Sur téléphone, le lien « EN / FR » de l'en-tête est masqué : l'autre langue apparaît dans le menu. */
.nav__links .nav__alt-lang { display: none; }
@media (max-width: 760px) {
  .nav.open .nav__links .nav__alt-lang { display: block; }
}
