/* ============================================================
   INFRADESK · vitrine publique (accueil.html) · 2026-09
   Alignee sur DESIGN.md : tokens OKLCH, accent orange OHM, marine.
   Registre brand (impeccable) : strategie de couleur « committed »
   (orange porte le hero et la bande CTA), imagerie reelle (pylone 3D,
   captures du viewer, photos secteurs), une seule famille (IBM Plex
   Sans, identite existante) avec fort contraste de graisse/taille.
   Bans respectes : pas de #fff/#000, pas de side-stripe, pas de gradient
   text, pas de glass decoratif (le header seul, au-dessus de l'imagerie),
   pas de tiret cadratin dans le DOM.
   Toutes les ressources sont same-origin (CSP prod : self + nonce).
   ============================================================ */

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400 700;           /* fonte variable, axe wght */
    font-display: swap;
    src: url('/lib/fonts/ibm-plex-sans.woff2') format('woff2');
}

:root {
    --bg:          oklch(0.18 0.025 264);
    --bg-deep:     oklch(0.15 0.022 264);
    --bg-soft:     oklch(0.22 0.030 262);
    --surface:     oklch(0.27 0.035 260);
    --surface-2:   oklch(0.32 0.030 258);
    --border:      oklch(0.32 0.025 260);
    --border-soft: oklch(0.28 0.020 260);
    --fg-strong:   oklch(0.97 0.005 260);
    --fg-medium:   oklch(0.86 0.010 258);
    --fg-soft:     oklch(0.64 0.012 256);
    --fg-faint:    oklch(0.46 0.014 252);
    --accent:      #F08C00;
    --accent-hi:   #ffa54a;
    --accent-ink:  oklch(0.18 0.02 264);           /* texte sur bouton orange */
    --accent-dim:  rgba(240, 140, 0, 0.12);
    --tld:         oklch(0.80 0.105 200);
    --ok:          oklch(0.72 0.14 150);

    --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);    /* ease-out-expo */
    --maxw: 1240px;
    --header-h: 72px;
    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--fg-strong);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.tabular { font-variant-numeric: tabular-nums; }

/* ── Typographie ────────────────────────────────────────────── */
h1 { font-size: clamp(36px, 3.5vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
br.desk { display: inline; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--fg-medium); max-width: 56ch; }
.muted { color: var(--fg-soft); }
.accent { color: var(--accent-hi); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 1px; }

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.005em;
    padding: 16px 24px; border-radius: var(--r-sm);
    border: 1.5px solid var(--border); color: var(--fg-strong); background: transparent;
    transition: transform .18s var(--ease-out), border-color .18s, background .18s, color .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(240, 140, 0, 0.22); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); box-shadow: 0 14px 36px rgba(240, 140, 0, 0.30); }
.btn-ghost { border-color: var(--border); color: var(--fg-medium); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-sm { padding: 11px 16px; font-size: 13.5px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: oklch(0.18 0.025 264 / 0.55);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: oklch(0.18 0.025 264 / 0.86); border-bottom-color: var(--border-soft); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand-logo { font-weight: 700; font-size: 32px; letter-spacing: -0.025em; line-height: 1; display: inline-flex; align-items: baseline; }
.brand-logo .dot { color: var(--accent); }
.brand-logo .tld { color: var(--tld); font-weight: 600; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--fg-medium); transition: color .15s; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent); transition: right .25s var(--ease-out); }
.nav-links a:hover { color: var(--fg-strong); }
.nav-links a:hover::after { right: 0; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: calc(100vh - var(--header-h));
    display: flex; align-items: center;
    padding: clamp(32px, 5vh, 72px) 0 clamp(40px, 6vh, 80px);
}
/* couche topographique : le meme visuel que l'ecran de connexion et le hub */
.hero::before {
    content: ""; position: absolute; inset: -10% -5% 0 -5%; z-index: -2;
    background: url('/assets/login-bg.jpg') center 30% / cover no-repeat;
    opacity: 0.20;
    -webkit-mask-image: linear-gradient(to bottom, oklch(0 0 0) 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, oklch(0 0 0) 55%, transparent 100%);
}
/* halo orange derriere le pylone + voile marine cote texte + vignette.
   Le voile a gauche (2e couche) attenue les courbes de niveau derriere le
   titre : la topographie reste lisible autour du pylone, sans concurrencer
   le texte. Un simple degrade peint par-dessus, donc sans dependance a
   mask-composite (support inegal). */
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(52% 70% at 74% 48%, rgba(240, 140, 0, 0.20) 0%, rgba(240, 140, 0, 0.06) 40%, transparent 70%),
        linear-gradient(to right, oklch(0.18 0.025 264 / 0.82) 0%, oklch(0.18 0.025 264 / 0.66) 34%, oklch(0.18 0.025 264 / 0.22) 55%, transparent 72%),
        radial-gradient(120% 90% at 50% 50%, transparent 40%, oklch(0.18 0.025 264 / 0.75) 100%);
}
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding-top: 12px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof {
    margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: 13px; color: var(--fg-soft);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .9; }

/* scene 3D */
.stage-wrap { position: relative; }
.stage {
    position: relative;
    height: min(84vh, 880px); min-height: 520px;
    touch-action: pan-y;             /* le glisser horizontal tourne, le vertical scrolle */
    user-select: none; -webkit-user-select: none;
    cursor: grab;
}
.stage.dragging { cursor: grabbing; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage-poster {
    position: absolute; inset: 0; margin: auto;
    height: 100%; width: auto; max-width: 100%; object-fit: contain;
    transition: opacity .9s var(--ease-out);
    pointer-events: none;
    filter: drop-shadow(0 30px 60px rgba(6, 8, 20, 0.6));
}
.stage.ready .stage-poster { opacity: 0; }
/* ombre / socle orange sous le pied (CSS, positionnee par JS sur la base projetee) */
.stage-ground {
    position: absolute; left: 50%; bottom: 3%;
    width: 46%; aspect-ratio: 3 / 1; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(240, 140, 0, 0.28) 0%, rgba(240, 140, 0, 0.10) 38%, transparent 72%);
    pointer-events: none; z-index: -1;
}
/* etiquettes de mesure, facon viewer Potree */
.stage-label {
    position: absolute; left: 0; top: 0;
    display: flex; align-items: center; gap: 10px;
    transform: translate(-9999px, -9999px);
    opacity: 0; transition: opacity .5s var(--ease-out);
    pointer-events: none; will-change: transform;
}
.stage.ready .stage-label { opacity: 1; }
.stage-label.behind { opacity: .38; }
.stage-label .dot {
    width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(240, 140, 0, 0.18), 0 0 14px rgba(240, 140, 0, 0.5);
}
.stage-label .leader { width: 26px; height: 1px; background: rgba(240, 140, 0, 0.7); flex: 0 0 auto; }
.stage-label .pill {
    background: oklch(0.16 0.024 264 / 0.86); border: 1px solid oklch(0.97 0.005 260 / 0.12);
    border-radius: 8px; padding: 7px 11px 8px; line-height: 1.15; white-space: nowrap;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stage-label .val { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-strong); }
.stage-label .sub { display: block; font-size: 11px; color: var(--fg-soft); margin-top: 2px; letter-spacing: 0.02em; }
.stage-label.right { flex-direction: row-reverse; }
/* barre d'outils verticale du viewer (repere produit, inerte) */
.stage-tools {
    position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 14px; padding: 12px 8px;
    color: var(--fg-soft); opacity: .55; pointer-events: none;
}
.stage-tools svg { width: 20px; height: 20px; display: block; }
.stage-tools .tool { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; }
.stage-tools .tool.active { border: 1.5px solid var(--accent); color: var(--accent-hi); background: rgba(240, 140, 0, 0.10); }
.stage-compass {
    position: absolute; right: 10px; bottom: 10px; width: 54px; height: 54px;
    opacity: .8; pointer-events: none;
}
.stage-compass .needle { transform-origin: 27px 27px; transition: transform .08s linear; }
.stage-hint {
    position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
    font-size: 12px; color: var(--fg-soft); white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
    opacity: 0; transition: opacity .6s var(--ease-out);
}
.stage.ready .stage-hint { opacity: 1; }
.stage-hint svg { width: 14px; height: 14px; }
.stage-caption {
    margin-top: 14px; font-size: 12.5px; color: var(--fg-soft); text-align: center; line-height: 1.5;
}
.stage-3d-btn { display: none; }
.stage-error .stage-poster { opacity: 1 !important; }

/* ── Bande partenaires : logos en defilement continu ───────── */
.partners {
    border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
    background: var(--bg-soft);
    padding: 44px 0 50px;
    overflow: hidden;
}
.partners-label {
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-faint); text-align: center; margin-bottom: 32px;
}
.partners-track {
    display: flex; width: max-content;
    -webkit-mask-image: linear-gradient(to right, transparent 0, oklch(0 0 0) 6%, oklch(0 0 0) 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, oklch(0 0 0) 6%, oklch(0 0 0) 94%, transparent 100%);
    animation: partners-scroll 48s linear infinite;
}
.partners:hover .partners-track { animation-play-state: paused; }
.partners-row { display: flex; align-items: center; flex: 0 0 auto; }
.partners-row img {
    height: 56px; width: auto; flex: 0 0 auto;
    margin: 0 clamp(36px, 4.5vw, 64px);
    filter: grayscale(1) brightness(0) invert(1) opacity(0.55);
    transition: filter .25s;
}
.partners-row img:hover { filter: grayscale(0) brightness(1) invert(0) opacity(1); }
@keyframes partners-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; } }

/* ── Sections ──────────────────────────────────────────────── */
section.block { padding: clamp(80px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .lead { justify-self: end; }
.section-head.single { grid-template-columns: 1fr; }
.section-head h2 { max-width: 20ch; }

/* ── Methode : frise verticale asymetrique ─────────────────── */
.method-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.method-side { position: sticky; top: calc(var(--header-h) + 40px); }
.method-side h2 { margin-bottom: 22px; }
.method-side .lead { margin-bottom: 30px; }
.steps { list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; top: 20px; bottom: 20px; width: 1px; background: var(--border); }
.step { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 34px 0 38px; }
.step + .step { border-top: 1px solid var(--border-soft); }
.step .num {
    font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent-hi);
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--border); position: relative; z-index: 1;
    font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step .kicker { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 12px; display: block; }
.step p { color: var(--fg-medium); font-size: 16px; max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
    font-size: 12.5px; font-weight: 500; color: var(--fg-medium);
    padding: 6px 11px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
    font-variant-numeric: tabular-nums;
}

/* ── Plateforme : fenetre navigateur + onglets ─────────────── */
.platform { background: var(--bg-deep); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); position: relative; overflow: hidden; }
.platform::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, oklch(0.70 0.012 256 / 0.16) 1px, transparent 1.6px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(90% 70% at 50% 20%, oklch(0 0 0) 0%, transparent 75%);
    mask-image: radial-gradient(90% 70% at 50% 20%, oklch(0 0 0) 0%, transparent 75%);
}
.platform .container { position: relative; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-self: end; }
.tab {
    font-size: 14px; font-weight: 500; color: var(--fg-medium);
    padding: 11px 16px; border-radius: 10px; border: 1px solid var(--border); background: transparent;
    transition: border-color .18s, color .18s, background .18s;
    display: inline-flex; align-items: center; gap: 9px;
}
.tab .i { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-faint); transition: background .18s, box-shadow .18s; }
.tab:hover { color: var(--fg-strong); border-color: var(--surface-2); }
.tab[aria-selected="true"] { color: var(--fg-strong); border-color: rgba(240, 140, 0, 0.55); background: var(--accent-dim); }
.tab[aria-selected="true"] .i { background: var(--accent); box-shadow: 0 0 0 3px rgba(240, 140, 0, 0.18); }
.window {
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border); background: var(--surface);
    box-shadow: 0 40px 100px oklch(0.08 0.02 264 / 0.7), 0 0 0 1px oklch(0.97 0.005 260 / 0.03) inset;
}
.window-bar {
    display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; gap: 16px;
    height: 46px; padding: 0 16px; background: var(--bg-soft); border-bottom: 1px solid var(--border-soft);
}
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); }
.window-bar .url {
    justify-self: center; font-size: 12.5px; color: var(--fg-soft); font-weight: 500;
    padding: 6px 14px; border-radius: 7px; background: var(--bg); border: 1px solid var(--border-soft);
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; overflow: hidden; white-space: nowrap;
}
.window-bar .url svg { width: 12px; height: 12px; color: var(--ok); flex: 0 0 auto; }
.window-bar .url b { color: var(--fg-medium); font-weight: 500; }
.window-view { position: relative; aspect-ratio: 16 / 10; background: var(--bg-deep); }
.window-view img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .6s var(--ease-out);
}
.window-view img.active { opacity: 1; }
.captions { position: relative; margin-top: 26px; min-height: 52px; }
.caption {
    position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
    opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
    pointer-events: none;
}
.caption.active { opacity: 1; transform: none; pointer-events: auto; }
.caption .n { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; padding-top: 3px; font-variant-numeric: tabular-nums; }
.caption h3 { font-size: 18px; margin-bottom: 4px; }
.caption p { font-size: 15px; color: var(--fg-medium); max-width: 70ch; }

/* ── Modules : mosaique photo ──────────────────────────────── */
.mosaic {
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 250px;
}
.tile {
    position: relative; overflow: hidden; border-radius: var(--r-md);
    border: 1px solid var(--border); background: var(--bg-soft);
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.tile.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, oklch(0.14 0.024 264 / 0.92) 0%, oklch(0.14 0.024 264 / 0.45) 42%, oklch(0.14 0.024 264 / 0.05) 70%, transparent 100%);
}
.tile:hover, .tile:focus-visible { transform: translateY(-4px); border-color: rgba(240, 140, 0, 0.65); box-shadow: 0 20px 50px oklch(0.08 0.02 264 / 0.6); outline: none; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 1; padding: 20px 22px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile h3 { font-size: 21px; margin-bottom: 6px; }
.tile-lg h3 { font-size: 30px; }
.tile .kw { font-size: 13px; color: var(--fg-medium); line-height: 1.5; }
.tile-lg .kw { font-size: 14.5px; max-width: 42ch; }
.tile .go {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid oklch(0.97 0.005 260 / 0.22); color: var(--fg-strong);
    display: grid; place-items: center; background: oklch(0.18 0.025 264 / 0.5);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease-out);
}
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translate(2px, -2px); }
.tile .badge {
    position: absolute; top: 16px; left: 16px; z-index: 1;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-medium); padding: 6px 10px; border-radius: 6px;
    background: oklch(0.18 0.025 264 / 0.6); border: 1px solid oklch(0.97 0.005 260 / 0.14);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ── Standard : fiche technique ────────────────────────────── */
.standard-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.standard-side h2 { margin-bottom: 22px; }
.standard-side .lead { margin-bottom: 28px; }
.standard-note { font-size: 14px; color: var(--fg-soft); line-height: 1.6; padding-top: 22px; border-top: 1px solid var(--border-soft); max-width: 44ch; }
.standard-note b { color: var(--fg-medium); }
.spec { border-top: 1px solid var(--border); }
.spec-row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline;
    padding: 26px 0 28px; border-bottom: 1px solid var(--border);
}
.spec-row dt { font-size: 17px; font-weight: 500; color: var(--fg-strong); }
.spec-row .why { grid-column: 1; font-size: 14.5px; color: var(--fg-soft); margin: 0; max-width: 46ch; }
.spec-row .val {
    grid-column: 2; grid-row: 1 / span 2; align-self: center;
    font-size: clamp(34px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
    color: var(--accent-hi); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.spec-row .val small { font-size: 0.5em; font-weight: 500; color: var(--fg-medium); letter-spacing: 0; margin-left: 4px; }

/* ── CTA : le moment orange ────────────────────────────────── */
.cta-band {
    position: relative; overflow: hidden; text-align: center;
    border-radius: var(--r-lg); padding: clamp(56px, 7vw, 92px) clamp(24px, 5vw, 64px);
    background:
        radial-gradient(120% 120% at 50% -20%, rgba(240, 140, 0, 0.30) 0%, rgba(240, 140, 0, 0.08) 45%, transparent 70%),
        linear-gradient(165deg, oklch(0.31 0.05 68) 0%, oklch(0.22 0.03 262) 68%);
    border: 1px solid rgba(240, 140, 0, 0.40);
    box-shadow: 0 30px 90px oklch(0.10 0.02 264 / 0.6), 0 0 0 1px rgba(240, 140, 0, 0.08) inset;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(240, 140, 0, 0.22) 1px, transparent 1.7px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(110% 120% at 50% 0%, oklch(0 0 0) 0%, transparent 70%);
    mask-image: radial-gradient(110% 120% at 50% 0%, oklch(0 0 0) 0%, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 18px; font-size: clamp(30px, 3.6vw, 48px); }
.cta-band .lead { margin: 0 auto 34px; }
.cta-band .hero-cta { justify-content: center; }
.scarcity { margin-top: 22px; font-size: 13.5px; color: var(--accent-hi); font-weight: 500; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 56px 0 36px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-logo { font-size: 28px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--fg-soft); max-width: 40ch; line-height: 1.6; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: var(--fg-medium); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent-hi); }
.legal { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 12px; color: var(--fg-faint); padding-top: 22px; border-top: 1px solid var(--border-soft); }

/* ── Apparitions au scroll ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-copy > * { animation: none; }
    .tile img, .tile, .btn { transition: none; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
    .tile.tile-lg { grid-column: span 2; grid-row: span 1; }
    .tile-lg h3 { font-size: 24px; }
}
@media (max-width: 960px) {
    .hero { min-height: 0; padding-top: 24px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy { text-align: left; }
    .stage { height: min(70vh, 640px); min-height: 440px; }
    .stage-tools { display: none; }
    .method-grid, .standard-grid { grid-template-columns: 1fr; gap: 40px; }
    .method-side { position: static; }
    .section-head { grid-template-columns: 1fr; align-items: start; }
    .section-head .lead { justify-self: start; }
    .tabs { justify-self: start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 640px) {
    .step { grid-template-columns: 56px 1fr; gap: 14px; }
    .steps::before { left: 20px; }
    .step .num { width: 40px; height: 40px; font-size: 13px; }
    .spec-row { grid-template-columns: 1fr; }
    .spec-row .val { grid-column: 1; grid-row: auto; margin-top: 4px; }
    .spec-row .why { grid-column: 1; }
    .window-bar { grid-template-columns: 52px 1fr 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .caption { grid-template-columns: 1fr; gap: 6px; }
    /* mobile : poster fixe, 3D a la demande */
    .stage { pointer-events: none; }
    .stage-hint { display: none; }
    .stage-3d-btn {
        display: inline-flex; margin: 10px auto 0; pointer-events: auto;
        position: relative; left: 50%; transform: translateX(-50%);
    }
    .stage-3d-btn.hidden { display: none; }
}
