/* ==========================================================================
   easy3D Lab — design system
   Sobre, carré (rayons 2 px), dense en données, contraste élevé.
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a1120;
  --ink-2: #2b3445;
  --mute: #646e80;
  --mute-2: #8d96a6;
  --line: #e3e7ee;
  --line-2: #d3d9e3;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eef1f6;

  --dark: #060b15;
  --dark-2: #0b1322;
  --dark-3: #121c2f;
  --dark-line: rgba(148, 178, 230, .14);
  --dark-mute: #8794ad;

  --accent: #1160f0;
  --accent-ink: #0a46b8;
  --accent-soft: #eaf1ff;
  --cyan: #5cc8ff;
  --mint: #2fd4b4;

  --ok: #0c8a5f;   --ok-soft: #e4f6ee;
  --warn: #a15c00; --warn-soft: #fff4e0;
  --err: #c4321f;  --err-soft: #fdecea;

  --r: 2px;
  --r-lg: 4px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(10, 17, 32, .04), 0 4px 16px rgba(10, 17, 32, .05);
  --shadow-lg: 0 2px 4px rgba(10, 17, 32, .04), 0 24px 48px -12px rgba(10, 17, 32, .18);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 14px; height: 14px; flex: none; }
.icon-lg { width: 24px; height: 24px; flex: none; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; color: #fff; }
[hidden] { display: none !important; }

/* Étiquette technique (mono, capitales) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.on-dark { color: var(--cyan); }

/* ── Boutons ──────────────────────────────────────────────────────────── */
.btn {
  --b: var(--accent); --c: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border: 1px solid var(--b); border-radius: var(--r);
  background: var(--b); color: var(--c); font-weight: 500; font-size: 14.5px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { color: var(--c); background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon-move { transform: translateX(4px); }
.btn-dark { --b: var(--ink); }
.btn-dark:hover { background: #1d2738; border-color: #1d2738; }
.btn-ghost { --b: transparent; --c: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-2); color: var(--ink); }
.btn-light { --b: #fff; --c: var(--ink); }
.btn-light:hover { background: #e9eef7; border-color: #e9eef7; color: var(--ink); }
.btn-outline-light { --b: transparent; --c: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-danger { --b: var(--err); }
.btn-danger:hover { background: #a02716; border-color: #a02716; }
.btn-ok { --b: var(--ok); }
.btn-ok:hover { background: #096d4b; border-color: #096d4b; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; gap: 8px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-weight: 500; }
.link-btn:hover { color: var(--accent-ink); text-decoration: underline; }

/* ── Formulaires ──────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; align-items: end; }
.field-row > .field { align-content: end; }
.field-row > .field > .label { align-items: flex-end; }
.label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.label small { font-weight: 400; color: var(--mute); }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646e80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--mute-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17, 96, 240, .14); }
.input[readonly] { background: var(--bg-2); color: var(--ink-2); cursor: default; }
.input.mono { font-size: 14px; letter-spacing: .02em; }
.input-lg { height: 54px; font-size: 18px; }
.hint { font-size: 12.5px; color: var(--mute); }
.field-error { font-size: 12.5px; color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--mute-2);
  border-radius: var(--r); background: #fff; display: grid; place-items: center; cursor: pointer; transition: .15s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.input-group { position: relative; }
.input-group .input { padding-right: 44px; }
.input-group .addon { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.pw-toggle { background: none; border: 0; color: var(--mute); padding: 8px; cursor: pointer; font-size: 12px; font-family: var(--mono); }
.meter { height: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--err); transition: width .3s var(--ease), background .3s; }

/* Segmented control */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); padding: 3px; background: var(--bg-2); gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--mute); border-radius: 1px; transition: .2s var(--ease); white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10,17,32,.12), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }

/* ── Alertes / flash ─────────────────────────────────────────────────── */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid; border-radius: var(--r); font-size: 14px; line-height: 1.5; }
.alert .icon { margin-top: 1px; }
.alert-err { background: var(--err-soft); border-color: #f4c7c0; color: #8e2415; }
.alert-ok { background: var(--ok-soft); border-color: #bfe6d4; color: #075c3f; }
.alert-warn { background: var(--warn-soft); border-color: #f1d9a8; color: #6e4000; }
.alert-info { background: var(--accent-soft); border-color: #c9dafc; color: #0a3a96; }
.alert strong { font-weight: 600; }
.alert + .alert { margin-top: 10px; }
.alert .btn { margin-left: auto; }

/* ── Badges de statut ────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #fff;
  font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-brouillon, .badge-annule { color: var(--mute); }
.badge-recu, .badge-en_attente { color: #a15c00; border-color: #f1d9a8; background: var(--warn-soft); }
.badge-valide { color: var(--accent); border-color: #c9dafc; background: var(--accent-soft); }
.badge-en_impression { color: #6d3ad8; border-color: #ddd0fb; background: #f4effe; }
.badge-en_impression::before { animation: pulse 1.4s ease-in-out infinite; }
.badge-disponible, .badge-livre { color: var(--ok); border-color: #bfe6d4; background: var(--ok-soft); }
.badge-expedie { color: #0b7d93; border-color: #bce6ee; background: #e8f8fb; }
.badge-refuse, .badge-suspendu { color: var(--err); border-color: #f4c7c0; background: var(--err-soft); }
.badge-plain::before { display: none; }
@keyframes pulse { 50% { opacity: .25; } }

/* ── Prix : TTC en avant, HT/TVA en secondaire (SPEC §4.5) ──────────── */
.price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.price-ttc { font-weight: 600; font-size: 16px; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.price-ttc small { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--accent); opacity: .75; margin-right: 6px; vertical-align: 2px; }
.price-ht { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-lg .price-ttc { font-size: 30px; letter-spacing: -.03em; }
.price-lg .price-ht { font-size: 13px; }
.price-left { justify-items: start; text-align: left; }

/* ── Cartes, tableaux ────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-size: 15px; letter-spacing: -.01em; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-2); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 16px; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #fafbfd; }
.table .r { text-align: right; }
.table .nowrap { white-space: nowrap; }
.table a.row-link { color: var(--ink); font-weight: 500; }
.table a.row-link:hover { color: var(--accent); }
.table-dense td { padding: 8px 14px; }
.empty { padding: 48px 24px; text-align: center; color: var(--mute); }
.empty .icon-lg { margin: 0 auto 12px; color: var(--mute-2); }
.empty h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }

/* Liste clé / valeur */
.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; font-size: 14px; }
.kv dt { color: var(--mute); padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); word-break: break-word; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }

/* ==========================================================================
   SITE PUBLIC
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease), color .35s;
  border-bottom: 1px solid transparent; color: #fff;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-header.is-solid, .site-header.is-light { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); color: var(--ink); }
.site-header.is-solid { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand-logo { height: 22px; width: auto; }
.site-header:not(.is-solid):not(.is-light) .brand-logo { filter: invert(1); }
.brand-tag {
  font: 600 10.5px/1 var(--mono); letter-spacing: .14em; padding: 5px 7px 4px; border: 1px solid currentColor; border-radius: var(--r);
  color: var(--cyan);
}
.site-header.is-solid .brand-tag, .site-header.is-light .brand-tag, .app .brand-tag, .auth .brand-tag { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: inherit; opacity: .78; font-size: 14px; padding: 8px 12px; border-radius: var(--r); transition: opacity .2s, background .2s; }
.nav a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.header-cta .btn-ghost { color: inherit; border-color: rgba(127,127,127,.35); }
.site-header:not(.is-solid):not(.is-light) .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-right: -8px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; padding: 120px 0 0; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% 40%, rgba(17,96,240,.22), transparent 60%),
              radial-gradient(800px 500px at 10% 100%, rgba(47,212,180,.08), transparent 60%), var(--dark);
  color: #fff; display: flex; flex-direction: column;
}
.hero::before { /* trame millimétrée */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 85%);
}
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero-copy { padding-bottom: 40px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.2vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: .98; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--cyan), #9fe6ff 50%, var(--mint)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #b3bfd4; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--dark-mute); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .icon-sm { color: var(--mint); }
.hero-visual { position: relative; height: min(72vh, 640px); min-height: 380px; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-hud { position: absolute; inset: 0; pointer-events: none; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; color: var(--dark-mute); text-transform: uppercase; }
.hud { position: absolute; display: grid; gap: 4px; }
.hud b { color: #e8f0ff; font-weight: 500; letter-spacing: .02em; font-size: 13px; }
.hud-tl { top: 6%; left: 2%; }
.hud-tr { top: 6%; right: 0; text-align: right; }
.hud-br { bottom: 9%; right: 0; text-align: right; }
.hud-bl { bottom: 9%; left: 2%; }
.hud-bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); margin-top: 6px; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0; background: var(--cyan); }
.hud-corner { position: absolute; width: 14px; height: 14px; border-color: rgba(92,200,255,.5); border-style: solid; }
.hud-corner.c1 { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hud-corner.c2 { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hud-corner.c3 { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hud-corner.c4 { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-strip { position: relative; z-index: 2; border-top: 1px solid var(--dark-line); background: rgba(6,11,21,.6); backdrop-filter: blur(6px); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 26px 0; display: grid; gap: 6px; align-content: start; grid-template-rows: auto 1fr; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--dark-line); }
.stat b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--dark-mute); }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1.02; }
.section-head p { font-size: 17px; color: var(--mute); max-width: 620px; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #a8b3c7; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: none; }
.split-head > div { display: grid; gap: 18px; max-width: 720px; }

/* Processus (section épinglée) */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.process-steps { position: relative; display: grid; }
.process-rail { position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.process-rail i { position: absolute; inset: 0 0 auto; height: 0; background: var(--accent); }
.step { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 22px; padding: 26px 0; opacity: .35; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { width: 32px; height: 32px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 12px/1 var(--mono); color: var(--mute); position: relative; z-index: 1; transition: .4s var(--ease); }
.step.is-active .step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.step h3 { font-size: 22px; letter-spacing: -.025em; margin: 4px 0 10px; }
.step p { color: var(--mute); font-size: 15.5px; max-width: 460px; }
.step-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tag { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink-2); background: #fff; }
.process-stage { position: sticky; top: 110px; height: min(560px, calc(100vh - 160px)); align-self: start; }
.screen {
  position: absolute; inset: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
}
.screen-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font: 500 11px/1 var(--mono); color: var(--mute); letter-spacing: .04em; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.screen-bar span { margin-left: 10px; }
.screen-body { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mock-drop { flex: 1; border: 1.5px dashed var(--line-2); border-radius: var(--r); display: grid; place-items: center; text-align: center; gap: 10px; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(17,96,240,.025) 10px 20px); }
.mock-drop .icon-lg { margin: 0 auto 6px; color: var(--accent); }
.mock-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 13.5px; }
.mock-file .icon { color: var(--mute); }
.mock-file .grow { flex: 1; min-width: 0; }
.mock-file .grow b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-file .grow small { color: var(--mute); font-size: 12px; }
.mock-progress { height: 2px; background: var(--line); margin-top: 7px; overflow: hidden; }
.mock-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; }
.mock-total { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.mock-timeline { display: grid; gap: 0; }
.mock-tl-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: start; padding-bottom: 18px; position: relative; font-size: 14px; }
.mock-tl-item::before { content: ""; position: absolute; left: 9.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.mock-tl-item:last-child::before { display: none; }
.mock-tl-dot { width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; z-index: 1; }
.mock-tl-item.done .mock-tl-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-tl-item.now .mock-tl-dot { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(17,96,240,.12); }
.mock-tl-item.now .mock-tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
.mock-tl-item small { color: var(--mute); font: 500 11.5px/1 var(--mono); }
.mock-invoice { display: grid; gap: 0; font-size: 13.5px; }
.mock-invoice div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock-invoice .disc { color: var(--ok); }

/* Résolutions */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.res-grid { grid-template-rows: repeat(5, auto); }
.res-card { position: relative; padding: 32px 28px 30px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; align-content: start; overflow: hidden; }
.res-card + .res-card { border-left: 1px solid var(--line); }
.res-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.res-card:hover::after { transform: scaleX(1); }
.res-visual { height: 150px; margin: -4px 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); position: relative; overflow: hidden; }
.res-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.res-card h3 { font-size: 24px; letter-spacing: -.03em; }
.res-card p { color: var(--mute); font-size: 15px; }
.res-spec { display: grid; gap: 0; margin-top: 8px; font-size: 13.5px; }
.res-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.res-spec span { color: var(--mute); }
.res-spec b { font-weight: 500; font-family: var(--mono); font-size: 12.5px; }

/* Tarification */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pricing-points { display: grid; gap: 0; margin-top: 32px; }
.ppoint { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.ppoint:last-child { border-bottom: 1px solid var(--line); }
.ppoint .ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--accent); background: #fff; }
.ppoint h4 { font-size: 16px; letter-spacing: -.015em; margin-bottom: 4px; }
.ppoint p { color: var(--mute); font-size: 14.5px; }
.tier-card { padding: 32px; background: var(--dark); color: #fff; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.tier-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 32px 32px; opacity: .6; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.tier-card > * { position: relative; }
.tier-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.tier-amount { font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 10px; }
.tier-discount { text-align: right; }
.tier-discount b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--mint); line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.tier-track { position: relative; height: 6px; background: rgba(255,255,255,.08); margin: 44px 0 14px; }
.tier-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.tier-mark { position: absolute; top: -8px; width: 1px; height: 22px; background: rgba(255,255,255,.3); }
.tier-mark span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--mono); color: var(--dark-mute); white-space: nowrap; transition: color .3s; }
.tier-mark.on span { color: var(--mint); }
.tier-labels { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--dark-mute); letter-spacing: .04em; }
.tier-range { width: 100%; margin-top: 30px; accent-color: var(--cyan); }
.tier-foot { margin-top: 18px; font-size: 13px; color: var(--dark-mute); }

/* Suivi */
.track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto auto auto; column-gap: 0; row-gap: 0; }
.track-line { position: absolute; top: 19px; left: 8%; right: 8%; height: 1px; background: var(--dark-line); }
.track-line i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 12px rgba(92,200,255,.6); }
.track-step { position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; justify-items: center; align-items: start; text-align: center; row-gap: 14px; padding: 0 8px; }
.track-step .track-dot { grid-row: 1; }
.track-step b { grid-row: 2; }
.track-step small { grid-row: 3; }
.track-step .mail { grid-row: 4; }
.track-dot { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--dark-line); border-radius: 50%; background: var(--dark-2); color: var(--dark-mute); transition: .4s var(--ease); }
.track-step.on .track-dot { border-color: var(--cyan); color: #fff; background: var(--accent); box-shadow: 0 0 0 6px rgba(17,96,240,.18); }
.track-step b { font-size: 15px; font-weight: 500; color: #fff; }
.track-step small { font-size: 13px; color: var(--dark-mute); max-width: 160px; }
.track-step .mail { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; color: var(--mint); text-transform: uppercase; display: inline-flex; gap: 5px; align-items: center; }

/* Sécurité */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sec-grid { grid-auto-rows: auto auto auto; }
.sec-item { background: #fff; padding: 30px 28px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; align-content: start; transition: background .3s; }
.sec-item:hover { background: #fbfcfe; }
.sec-item .icon-lg { color: var(--accent); }
.sec-item h4 { font-size: 17px; letter-spacing: -.02em; }
.sec-item p { font-size: 14.5px; color: var(--mute); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 40px 24px 0; color: var(--mute); font-size: 15.5px; }

/* CTA final */
.cta { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent); }
.cta::after { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(17,96,240,.35), transparent 60%); pointer-events: none; }
.cta .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; }
.cta h2 { color: #fff; font-size: clamp(36px, 5.5vw, 72px); letter-spacing: -.045em; line-height: 1; max-width: 900px; }
.cta p { color: #a8b3c7; font-size: 17px; max-width: 560px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-mute); border-top: 1px solid var(--dark-line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 64px 0 48px; }
.footer-grid h5 { margin: 0 0 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-grid a { display: block; color: var(--dark-mute); padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer-brand .brand-logo { filter: invert(1); }
.footer-grid .footer-brand .brand { display: inline-flex; align-items: center; gap: 10px; padding: 0; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--dark-line); font: 500 12px/1.4 var(--mono); }

/* Pages légales / contenu */
.prose-page { padding: 140px 0 100px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; margin-bottom: 12px; }
.prose h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .draft { margin: 20px 0 32px; }

/* ==========================================================================
   AUTH (connexion / inscription) — écran scindé
   ========================================================================== */
.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(24px, 6vw, 80px) 40px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; }
.auth-box { width: 100%; max-width: 460px; margin: auto; padding: 48px 0; }
.auth-box.wide { max-width: 620px; }
.auth-box h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; margin: 14px 0 10px; }
.auth-box .lead { color: var(--mute); font-size: 15.5px; margin-bottom: 32px; }
.auth-foot { margin-top: 24px; font-size: 14px; color: var(--mute); text-align: center; }
.auth-side {
  position: relative; overflow: hidden; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 64px);
}
.auth-side canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .6; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--dark) 15%, transparent 60%); }
.auth-quote { position: relative; z-index: 2; max-width: 440px; display: grid; gap: 16px; }
.auth-quote h2 { color: #fff; font-size: 28px; letter-spacing: -.03em; }
.auth-quote ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; color: #a8b3c7; font-size: 14.5px; }
.auth-quote li { display: flex; gap: 10px; align-items: center; }
.auth-quote li .icon { color: var(--mint); }

/* Stepper d'inscription */
.stepper { display: flex; gap: 0; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r); }
.stepper li { list-style: none; flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 13px; color: var(--mute); }
.stepper li + li { border-left: 1px solid var(--line); }
.stepper li b { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 11px/1 var(--mono); }
.stepper li.on { color: var(--ink); font-weight: 500; }
.stepper li.on b { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper li.done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper { padding: 0; margin-top: 0; }

.company-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 20px 0 8px; }
.company-card .head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 18px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.company-card .head h3 { font-size: 17px; }
.company-card .head p { font-size: 13px; color: var(--mute); margin-top: 4px; }
.company-card .kv { padding: 4px 20px; }
.lock-note { display: flex; gap: 8px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* ==========================================================================
   APPLICATION (espace client / back-office)
   ========================================================================== */
.app { min-height: 100svh; display: grid; grid-template-columns: 248px minmax(0, 1fr); background: var(--bg-2); }
.sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; }
.sidebar .brand { padding: 4px 8px 22px; color: var(--ink); }
.side-nav { display: grid; gap: 2px; }
.side-nav .sec { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); padding: 18px 10px 8px; }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 10px; border-radius: var(--r); color: var(--ink-2); font-size: 14px; font-weight: 450; transition: background .15s, color .15s; }
.side-nav a .icon { color: var(--mute); transition: color .15s; }
.side-nav a:hover { background: var(--bg-2); color: var(--ink); }
.side-nav a.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.side-nav a.on .icon { color: var(--accent); }
.side-nav .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--r); background: var(--accent); color: #fff; font: 600 11px/1 var(--mono); }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.who { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: 13px; min-width: 0; }
.who .av { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--r); background: var(--ink); color: #fff; font: 600 12px/1 var(--mono); }
.who div { min-width: 0; }
.who b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { color: var(--mute); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot form .btn { width: 100%; justify-content: flex-start; }
.app-top, .scrim { display: none; }
.main { min-width: 0; padding: 32px clamp(20px, 3.5vw, 48px) 64px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; }
.page-head p { color: var(--mute); margin-top: 6px; font-size: 14.5px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumb { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--mute); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 12px; text-transform: uppercase; }
.crumb a { color: var(--mute); }
.crumb a:hover { color: var(--accent); }
.stack { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.flash-zone { display: grid; gap: 10px; margin-bottom: 24px; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kpi { background: #fff; padding: 20px 22px; display: grid; gap: 8px; }
.kpi span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.kpi b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--mute); font-size: 12.5px; }
.kpi.hl b { color: var(--accent); }

/* Suivi du palier (espace client) */
.tier-progress { padding: 24px; }
.tp-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.tp-bar { position: relative; height: 8px; background: var(--bg-3); margin: 34px 0 10px; }
.tp-bar > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.tp-mark { position: absolute; top: -6px; width: 1px; height: 20px; background: var(--line-2); }
.tp-mark span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--mono); color: var(--mute); white-space: nowrap; }
.tp-mark.on { background: var(--accent); }
.tp-mark.on span { color: var(--accent); }
.tp-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); flex-wrap: wrap; }

/* Frise de suivi de commande */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding: 8px 0 4px; }
.timeline::before { content: ""; position: absolute; top: 19px; left: 8.33%; right: 8.33%; height: 2px; background: var(--line); }
.timeline .bar { position: absolute; top: 19px; left: 8.33%; height: 2px; background: var(--accent); }
.tl-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--mute); }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; z-index: 1; }
.tl-step.done .tl-dot { background: var(--accent); border-color: var(--accent); }
.tl-step.now .tl-dot { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(17,96,240,.14); }
.tl-step.now .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tl-step.done, .tl-step.now { color: var(--ink); font-weight: 500; }
.tl-step small { font: 400 11.5px/1.2 var(--mono); color: var(--mute); }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li:last-child { border-bottom: 0; }
.history time { color: var(--mute); font: 400 12.5px/1.6 var(--mono); }

/* Nouvelle commande : dépôt de fichiers */
.dropzone {
  position: relative; display: grid; place-items: center; text-align: center; gap: 10px;
  padding: 44px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: #fff; cursor: pointer;
  transition: border-color .25s, background .25s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #f7faff; }
.dropzone.is-over { box-shadow: inset 0 0 0 4px rgba(17,96,240,.06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--accent); background: var(--accent-soft); margin-bottom: 6px; }
.dropzone h3 { font-size: 17px; letter-spacing: -.02em; }
.dropzone p { color: var(--mute); font-size: 14px; }
.dz-formats { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.toolbar .left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.toolbar .lbl { font-size: 13px; color: var(--mute); }
.files { display: grid; }
.frow { display: grid; grid-template-columns: 36px minmax(0, 1fr) 170px 140px 36px; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow .ficon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: var(--mute); }
.frow .fname { min-width: 0; }
.frow .fname b { display: block; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; line-height: 1.35; }
.frow .fname small { display: flex; gap: 10px; flex-wrap: wrap; color: var(--mute); font-size: 12.5px; margin-top: 2px; }
.frow .fname small .ok { color: var(--ok); }
.frow .fname small .warn { color: var(--warn); }
.frow .select { height: 36px; font-size: 14px; }
.frow .rm { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: var(--r); color: var(--mute); cursor: pointer; }
.frow .rm:hover { color: var(--err); border-color: #f4c7c0; background: var(--err-soft); }
.frow.is-pending .fname small { color: var(--accent); }
.frow.is-error { background: #fffafa; }
.frow.is-error .fname small { color: var(--err); }
.fprog { height: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.fprog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.frow .price.loading { opacity: .4; }
.mode-lot .frow .select { display: none; }
.mode-lot .frow .res-label { display: block; }
.res-label { display: none; font: 500 12px/1 var(--mono); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.summary { position: sticky; top: 24px; }
.summary .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 14px; }
.summary .row span { color: var(--mute); }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.summary .fineprint { font-size: 12.5px; color: var(--mute); line-height: 1.5; }

/* Back-office */
.app.is-admin .sidebar { background: var(--dark); border-color: var(--dark-3); color: #fff; }
.app.is-admin .sidebar .brand-logo { filter: invert(1); }
.app.is-admin .sidebar .brand-tag { color: var(--cyan); }
.app.is-admin .side-nav a { color: #b6c0d3; }
.app.is-admin .side-nav a .icon { color: #7d89a2; }
.app.is-admin .side-nav a:hover { background: var(--dark-3); color: #fff; }
.app.is-admin .side-nav a.on { background: rgba(17,96,240,.22); color: #fff; }
.app.is-admin .side-nav a.on .icon { color: var(--cyan); }
.app.is-admin .side-nav .sec { color: #5d6a83; }
.app.is-admin .side-foot { border-color: var(--dark-3); }
.app.is-admin .who .av { background: var(--accent); }
.app.is-admin .who small { color: #7d89a2; }
.app.is-admin .side-foot .btn-ghost { color: #b6c0d3; border-color: var(--dark-3); }
.app.is-admin .side-foot .btn-ghost:hover { background: var(--dark-3); color: #fff; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink-2); font-size: 13px; }
.filters a:hover { border-color: var(--ink-2); color: var(--ink); }
.filters a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters a .n { font: 500 11px/1 var(--mono); opacity: .7; }
.pieces { display: flex; flex-wrap: wrap; gap: 4px; }
.piece { font: 500 11.5px/1 var(--mono); padding: 5px 7px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.piece.off { color: var(--mute-2); text-decoration: line-through; background: var(--bg-2); }
.inline-form { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.danger-zone { border-color: #f4c7c0; }
.code { font: 500 12.5px/1.5 var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 6px; }
pre.code { padding: 14px; overflow: auto; max-height: 360px; font-size: 12px; }

/* Erreurs */
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.error-page::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.error-page > div { position: relative; display: grid; gap: 16px; justify-items: center; }
.error-page .code-big { font: 600 clamp(80px, 16vw, 180px)/1 var(--font); letter-spacing: -.06em; background: linear-gradient(180deg, #fff, rgba(255,255,255,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { color: #fff; font-size: 24px; }
.error-page p { color: var(--dark-mute); max-width: 440px; }

/* Révélations au scroll : état initial seulement si JS actif */
.anim [data-reveal], .anim [data-hero-fade] { opacity: 0; }
.anim .split-line { overflow: hidden; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-main { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { background: #fff; color: var(--ink); height: auto; }
  .site-header.menu-open .brand-logo { filter: none; }
  .site-header.menu-open .wrap { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.menu-open .nav { display: grid; order: 3; width: 100%; margin: 0; }
  .site-header.menu-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-cta .btn-ghost { display: none; }
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 52vh; min-height: 320px; order: -1; margin: 0 calc(var(--gutter) * -1); }
  .hero-copy { padding-bottom: 32px; }
  .hero-strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .process, .pricing, .faq { grid-template-columns: 1fr; }
  .process-stage { position: relative; top: 0; height: 440px; order: -1; }
  .res-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-rows: none; }
  .res-card { grid-row: auto; grid-template-rows: none; }
  .res-card + .res-card { border-left: 0; border-top: 1px solid var(--line); }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: 1fr; gap: 24px; }
  .track-line { left: 19px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; }
  .track-line i { width: 100%; height: 0; }
  .track { grid-template-rows: none; }
  .track-step { grid-row: auto; grid-template-rows: none; grid-template-columns: 40px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 4px; padding: 0; }
  .track-step .track-dot { grid-row: 1 / span 3; grid-column: 1; }
  .track-step b, .track-step small, .track-step .mail { grid-row: auto; grid-column: 2; }
  .split-head { flex-direction: column; align-items: start; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: 280px; transform: translateX(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
  .app.nav-open .sidebar { transform: none; }
  .app-top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
  .app.is-admin .app-top { background: var(--dark); color: #fff; border-color: var(--dark-3); }
  .app.is-admin .app-top .brand-logo { filter: invert(1); }
  .app-top button { background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(6,11,21,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .app.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .main { padding: 24px 16px 56px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .timeline::before, .timeline .bar { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-actions .btn { flex: 1; }
  .hud-tl, .hud-bl { display: none; }
  .hud-tr, .hud-br { right: var(--gutter); }
  .hud-corner.c2, .hud-corner.c4 { right: var(--gutter); }
  .hud-corner.c1, .hud-corner.c3 { left: var(--gutter); }
  .sec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .frow { grid-template-columns: 36px minmax(0, 1fr) 36px; row-gap: 10px; }
  .frow .fsel { grid-column: 2 / 3; }
  .frow .price { grid-column: 2 / 3; justify-items: start; text-align: left; }
  .frow .rm { grid-row: 1; grid-column: 3; }
  .mode-lot .frow .fsel { display: none; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 0; border-bottom: 0; font-size: 12.5px; }
  .history li { grid-template-columns: 1fr; gap: 2px; }
  .stepper li span { display: none; }
  .table th, .table td { padding: 10px 12px; }
  .table-cards thead { display: none; }
  .table-cards tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table-cards td { padding: 0; border: 0; }
  .table-cards td.r { text-align: right; }
  .table-cards td[data-hide-sm] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .anim [data-reveal], .anim [data-hero-fade] { opacity: 1; }
}

/* ==========================================================================
   Nouvelle commande v2 : lot → groupes (ZIP) → lignes (retours A1 à A3 ter)
   ========================================================================== */
.select-sm { height: 34px; font-size: 13.5px; padding: 0 32px 0 10px; background-position: right 8px center; width: auto; min-width: 118px; }
.check-urgent { align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.check-urgent input { margin: 0; }
.check-urgent input:checked { background: #b5420f; border-color: #b5420f; }
.lot-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.lot-title b { display: block; font-size: 14px; }
.lot-title small { color: var(--mute); font-size: 12.5px; }
.lot-ctrls, .group-ctrls, .line-ctrls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.group + .group { border-top: 6px solid var(--bg-2); }
.group-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px 36px; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.group-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.group-title .icon { color: var(--accent); }
.group-title b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.group-title small { color: var(--mute); font-size: 12.5px; }
.group-total .price-ttc { font-size: 15px; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 36px; gap: 10px 16px; align-items: start; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.line .thumb { grid-row: 1 / span 2; }
.line .line-name { grid-column: 2; grid-row: 1; }
.line .line-ctrls { grid-column: 2 / 4; grid-row: 2; }
.line .line-price { grid-column: 3; grid-row: 1; }
.line .rm, .line > span:last-child { grid-column: 4; grid-row: 1; }
.group .line:last-child { border-bottom: 0; }
.line.is-urgent { box-shadow: inset 3px 0 0 #b5420f; }
.line-name { min-width: 0; }
.line-name b { display: block; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; line-height: 1.35; }
.line-name small { display: flex; gap: 4px 10px; flex-wrap: wrap; color: var(--mute); font-size: 12.5px; margin-top: 3px; }
.line-name small .ok { color: var(--ok); }
.line-name small .warn { color: var(--warn); }
.pills { display: flex; gap: 6px; margin-top: 6px; }
.pills:empty { display: none; }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r); font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pill-mod { color: #6d3ad8; background: #f4effe; border: 1px solid #ddd0fb; }
.pill-urgent { color: #fff; background: #b5420f; }
.line-price { display: grid; justify-items: end; gap: 2px; }
.line-price .unit { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.line .rm, .group-head .rm { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: var(--r); color: var(--mute); cursor: pointer; }
.line .rm:hover, .group-head .rm:hover { color: var(--err); border-color: #f4c7c0; background: var(--err-soft); }
/* Quantité − / + */
.qty { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); height: 34px; background: #fff; }
.qty button { width: 30px; border: 0; background: none; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 42px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 500 14px var(--font); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
/* Vignette / bouton 3D */
.thumb { position: relative; width: 56px; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: var(--mute); cursor: zoom-in; display: grid; place-items: center; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.thumb:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,96,240,.12); }
.thumb .icon { width: 20px; height: 20px; }
.thumb em { position: absolute; right: 3px; bottom: 3px; font: 600 9px/1 var(--mono); font-style: normal; color: var(--accent); background: #fff; padding: 2px 3px; border-radius: 1px; }
.thumb-img { position: absolute; inset: 0; background: center / cover no-repeat; }
.thumb-img.has-thumb + .icon { opacity: 0; }
.urgent-note { margin-top: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #7a2e0a; background: #fff3ec; border-left: 3px solid #b5420f; }

/* Visionneuse 3D */
.viewer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(6,11,21,.62); backdrop-filter: blur(3px); }
.viewer[hidden] { display: none; }
.viewer-box { width: min(1100px, 100%); height: min(760px, 100%); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.viewer-title { min-width: 0; }
.viewer-title b { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.viewer-title small { font: 500 12px/1.4 var(--mono); color: var(--mute); }
.viewer-tools { display: flex; gap: 8px; align-items: center; flex: none; }
.viewer-tools [aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.viewer-close { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.viewer-close:hover { background: var(--bg-2); }
.viewer-stage { position: relative; flex: 1; background: #f3f5f8; touch-action: none; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; font-size: 13.5px; color: var(--mute); background: #f3f5f8; }
.viewer-loading i { display: block; width: 220px; height: 3px; background: var(--line); overflow: hidden; }
.viewer-loading b { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
.viewer-loading.is-error { color: var(--err); }
.viewer-loading.is-error i { display: none; }
.viewer-loading[hidden] { display: none; }
.viewer-hint { position: absolute; left: 12px; bottom: 10px; margin: 0; font: 500 11px/1.3 var(--mono); color: var(--mute-2); pointer-events: none; }
html.viewer-open { overflow: hidden; }

@media (max-width: 680px) {
  .group-head { grid-template-columns: minmax(0, 1fr) auto 36px; }
  .group-ctrls { grid-column: 1 / -1; grid-row: 2; }
  .group-head .rm { grid-column: 3; grid-row: 1; }
  .line, .line-admin { grid-template-columns: 48px minmax(0, 1fr) 36px; gap: 10px 12px; padding: 12px 16px; }
  .thumb { width: 48px; height: 48px; }
  .line .thumb { grid-row: 1; }
  .line .line-name { grid-column: 2; }
  .line .rm, .line > span:last-child { grid-column: 3; grid-row: 1; }
  .line .line-ctrls, .line-admin .line-ctrls { grid-column: 1 / -1; grid-row: 2; }
  .line .line-price, .line-admin .line-price { grid-column: 1 / -1; grid-row: 3; justify-items: start; }
  .line-admin .line-acts { grid-column: 1 / -1; grid-row: 4; justify-content: flex-start; }
  .lot-bar, .group-head { padding: 12px 16px; }
  .order-tools { padding: 10px 16px; }
  .viewer { padding: 0; }
  .viewer-box { height: 100%; border-radius: 0; }
  .viewer-hint { display: none; }
  .select-sm, .qty { height: 40px; }
  .qty button { width: 38px; }
}

/* Gestion : détail de commande */
.dl-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.vol-note { padding: 10px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.line-admin { grid-template-columns: 56px minmax(0, 1fr) 160px auto; }
.line-admin .line-ctrls { grid-column: 2; grid-row: 2; }
.line-admin .line-acts { grid-column: 3 / 5; grid-row: 2; }
.line-admin .line-price { grid-column: 3; }
.line-admin .line-acts:first-child, .line-admin > .line-acts { justify-content: flex-end; }
.line-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vols { margin-top: 8px; display: grid; gap: 6px; }
.line-ro .line-ctrls { justify-content: flex-start; }
.kpi-urgent { color: #b5420f; font-weight: 600; }
.filters a.filter-urgent.on { background: #b5420f; border-color: #b5420f; }

/* Livraison (récapitulatif) */
.ship { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.ship legend { margin-bottom: 8px; padding: 0; }
.ship-options { display: grid; gap: 6px; }
.ship-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.ship-opt:hover { border-color: var(--mute-2); }
.ship-opt.on { border-color: var(--accent); background: #f7faff; box-shadow: inset 0 0 0 1px var(--accent); }
.ship-opt input { margin: 0; accent-color: var(--accent); }
.ship-txt b { display: block; font-size: 13.5px; font-weight: 500; }
.ship-txt small { display: block; font-size: 12px; color: var(--mute); }
.ship-price { text-align: right; }
.ship-price b { display: block; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ship-price small { font-size: 11.5px; color: var(--mute); }
.free { color: var(--ok); font-weight: 600; }
.summary .row .price-ttc { font-size: 14px; }
.summary .row-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.summary .row-total .price-ttc { font-size: 30px; }
.label-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Message temporaire */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; max-width: min(520px, calc(100% - 32px)); padding: 12px 16px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.45; border-radius: var(--r); box-shadow: var(--shadow-lg); transition: opacity .4s, transform .4s; }
.toast.out { opacity: 0; transform: translate(-50%, 8px); pointer-events: none; }
/* A5 : suppression annulable, commande vide, session expirée */
.toast-undo { display: flex; align-items: center; gap: 16px; }
.toast-undo span { flex: 1; }
.toast-undo button { flex: none; padding: 6px 12px; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r); color: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.toast-undo button:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.toast-undo i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; animation: toast-timer var(--undo-ms, 8000ms) linear forwards; }
@keyframes toast-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.order-tools { display: flex; justify-content: flex-end; padding: 10px 20px; border-top: 1px solid var(--line); background: #fbfcfd; }
.btn-link-danger { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: none; border: 1px solid transparent; border-radius: var(--r); color: var(--mute); font-size: 13px; font-weight: 500; cursor: pointer; }
.btn-link-danger:hover { color: var(--err); border-color: #f4c7c0; background: var(--err-soft); }
.line.is-removing, .group.is-removing { pointer-events: none; opacity: .35; }
.submit-hint { margin: 10px 0 0; font-size: 13px; color: var(--mute); text-align: center; }
.session-alert { position: sticky; top: 12px; z-index: 40; grid-column: 1 / -1; }
.session-alert .btn { margin-left: auto; flex: none; }
/* A5 : dimensions discrètes */
.line-name small .mono { font-size: 11.5px; color: var(--mute-2); letter-spacing: 0; }
