/* =============================================================
   ARGOS — landing
   Jetons repris du produit : Argos X/web/src/styles.css (:root)
   et Argos X/site/assets/style.css. Or sur fond presque noir,
   verre dépoli, Geist + Geist Mono, rayons 8/12/16/22.
   ============================================================= */
:root {
  --bg: #0a0a0c;
  --bg-elev: #111114;
  --surface: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --surface-hi: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.08);
  --border-hi: rgba(255,255,255,0.16);
  --fg: #f5f5f7;
  --fg-muted: #86868b;
  --fg-dim: #5c5c63;
  --accent: #e6c068;
  --accent-hi: #f0d28a;
  --accent-soft: rgba(230,192,104,0.16);
  --accent-glow: rgba(230,192,104,0.45);
  --gold: #d6a85a;
  --gold-hi: #e7bd6e;
  --accent2: #7e8aff;
  --danger: #ff453a;
  --danger-soft: rgba(255,69,58,0.12);
  --warn: #ffd60a;
  --ok: #30d158;
  --ok-soft: rgba(48,209,88,0.12);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 30px rgba(0,0,0,0.45);
  --shadow-pop: 0 12px 40px rgba(0,0,0,0.55), 0 0 0 1px var(--border);
  --shadow-btn: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 18px rgba(214,168,90,0.25);
  --font-sans: "Geist", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
  overflow-x: clip; min-width: 320px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--accent); color: #1a1206; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
.sec-head { max-width: 760px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head p.lede { margin-top: 20px; }
.lede { color: var(--fg-muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; max-width: 60ch; }
.center .lede { margin-inline: auto; }
.grad {
  background: linear-gradient(120deg, var(--accent-hi) 0%, var(--gold) 55%, #b9a3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; margin-inline: auto; }
.dim { color: var(--fg-dim); }
.muted { color: var(--fg-muted); }

/* ---------- boutons (géométrie du dashboard) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: filter .14s ease, transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .2s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1206; font-weight: 600; box-shadow: var(--shadow-btn); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 28px rgba(214,168,90,.35); }
.btn-secondary { background: var(--surface-2); border-color: var(--border-hi); }
.btn-secondary:hover { background: var(--surface-hi); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn svg { flex: none; }

/* ---------- fonds ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.glow-gold { background: rgba(230,192,104,.14); }
.glow-violet { background: rgba(126,138,255,.10); }
.band { background: var(--bg-elev); border-block: 1px solid var(--border); }
.clip { overflow: hidden; }

/* ---------- la machine (démo animée du flux) ---------- */
.machine {
  position: relative; width: 100%; min-width: 0; border-radius: var(--r-xl); background: rgba(17,17,20,.72);
  border: 1px solid var(--border-hi); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02), 0 0 120px rgba(230,192,104,.06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden;
}
.machine::before { /* liseré or en haut */
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(240,210,138,.6), transparent);
}
.m-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--border); }
.m-dots { display: flex; gap: 6px; flex: none; }
.m-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.m-title { font-size: 13px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.m-title b { color: var(--fg); font-weight: 500; }
.status {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; flex: none;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; border: 1px solid var(--border-hi); color: var(--fg-muted);
  transition: color .3s, border-color .3s, background .3s;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status[data-s="run"] { color: var(--accent); border-color: rgba(230,192,104,.4); background: var(--accent-soft); }
.status[data-s="check"] { color: var(--ok); border-color: rgba(48,209,88,.35); background: var(--ok-soft); }
.status[data-s="ready"] { color: #b9c0ff; border-color: rgba(126,138,255,.4); background: rgba(126,138,255,.12); }
.status[data-s="draft"] { color: var(--accent-hi); border-color: rgba(240,210,138,.45); background: var(--accent-soft); }
.status[data-s="live"] { color: #4ade80; border-color: rgba(74,222,128,.55); background: rgba(48,209,88,.2); }
.status[data-s="live"]::before { box-shadow: 0 0 8px rgba(74,222,128,.9); }

.m-steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--border); }
.m-step {
  position: relative; background: none; border: 0; padding: 11px 6px 12px; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-dim); transition: color .2s;
  justify-content: center;
}
.m-step .n { font-family: var(--font-mono); font-size: 10.5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-hi); flex: none; transition: all .25s; }
.m-step:hover { color: var(--fg-muted); }
.m-step.done { color: var(--fg-muted); }
.m-step.done .n { background: var(--accent-soft); border-color: rgba(230,192,104,.45); color: var(--accent); }
.m-step.on { color: var(--fg); }
.m-step.on .n { background: var(--accent); border-color: var(--accent); color: #1a1206; box-shadow: 0 0 14px var(--accent-glow); }
.m-step .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--accent-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.m-step.done .bar { transform: scaleX(1); opacity: .35; }

.m-body { position: relative; height: 430px; }
.stage { position: absolute; inset: 0; padding: 22px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s .45s; }
.stage.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s; }
.m-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--fg-dim); }
.m-foot .mono { font-size: 11px; }
.m-play { background: none; border: 1px solid var(--border-hi); border-radius: 8px; height: 26px; padding: 0 10px; font-size: 11.5px; color: var(--fg-muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.m-play:hover { color: var(--fg); border-color: var(--accent); }

/* étape 1 : source */
.s-source { display: grid; grid-template-columns: 1fr 180px; gap: 18px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11.5px; color: var(--fg-dim); margin-bottom: 6px; }
.input { height: 40px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--border-hi); padding: 0 12px; display: flex; align-items: center; font-size: 13.5px; overflow: hidden; white-space: nowrap; }
.input.url { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.input.focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--accent); margin-left: 1px; animation: blink 1s steps(1) infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }
.input.area { height: auto; min-height: 64px; white-space: normal; align-items: flex-start; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: var(--fg-muted); }
.raw { align-self: start; border-radius: 12px; border: 1px dashed var(--border-hi); padding: 8px; background: rgba(255,255,255,.02); }
.raw img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; filter: saturate(.9); }
.raw-tag { font-family: var(--font-mono); font-size: 10px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .08em; margin: 8px 2px 4px; }
.raw-txt { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.45; color: var(--fg-muted); margin: 0 2px; word-break: break-word; }
.go { margin-top: 4px; height: 40px; font-size: 13.5px; width: 100%; }
.go.press { transform: scale(.97); filter: brightness(1.1); }

/* étape 2 : traitement */
.s-run { max-width: 440px; margin: 0 auto; padding-top: 4px; }
.s-run h4 { font-size: 16px; text-align: center; }
.s-run .sub { text-align: center; font-size: 12.5px; color: var(--fg-muted); margin-top: 4px; }
.runlist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.runlist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; opacity: .38; transition: opacity .3s; }
.runlist li .c { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-hi); display: grid; place-items: center; font-size: 11px; font-family: var(--font-mono); color: var(--fg-dim); transition: all .3s; }
.runlist li b { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.25; }
.runlist li span { display: block; font-size: 11.5px; color: var(--fg-dim); line-height: 1.3; }
.runlist li.go-on { opacity: 1; }
.runlist li.go-on .c { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.runlist li.ok { opacity: 1; }
.runlist li.ok .c { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.runbar { height: 3px; border-radius: 3px; background: var(--surface-2); margin-top: 18px; overflow: hidden; }
.runbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--accent-hi)); box-shadow: 0 0 10px var(--accent-glow); transition: transform .5s var(--ease); }

/* étape 3 : fiche */
.s-sheet { display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.sheet-img { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.sheet-img img { aspect-ratio: 1; object-fit: cover; }
.tagok { position: absolute; left: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(10,10,12,.72); color: var(--ok); border: 1px solid rgba(48,209,88,.35); backdrop-filter: blur(6px); }
.sheet-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.sheet-thumbs .more { display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); aspect-ratio: 1; }
.sheet-thumbs img { border-radius: 7px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); opacity: 0; transform: scale(.9); transition: all .4s var(--ease-out); }
.stage.on .sheet-thumbs img { opacity: 1; transform: none; }
.stage.on .sheet-thumbs img:nth-child(2) { transition-delay: .9s; } .stage.on .sheet-thumbs img:nth-child(1) { transition-delay: .7s; } .stage.on .sheet-thumbs img:nth-child(3) { transition-delay: 1.1s; }
.blk-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-dim); letter-spacing: .02em; display: flex; justify-content: space-between; gap: 8px; }
.blk-label .okc { color: var(--ok); }
.sheet h5 { font-size: 18px; margin: 4px 0 8px; letter-spacing: -.03em; font-weight: 600; }
.typed { font-size: 13px; line-height: 1.55; color: #d6d6db; min-height: 6.2em; }
.typed strong { color: var(--fg); font-weight: 600; }
.typed .w { opacity: 0; transition: opacity .18s; }
.typed .w.in { opacity: 1; }
.sheet-row { display: flex; gap: 10px; margin-top: 12px; align-items: stretch; }
.pricebox { flex: none; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; background: rgba(255,255,255,.025); }
.pricebox .blk-label { font-size: 10px; }
.price { font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; align-content: flex-start; }
.chip { font-size: 11.5px; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(48,209,88,.3); background: var(--ok-soft); color: #9be8b0; }
.chip.mid { border-color: var(--border-hi); background: var(--surface-2); color: var(--fg-muted); }
.chip.mid em { color: var(--warn); font-style: normal; }
.pop { opacity: 0; transform: translateY(4px) scale(.96); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
.pop.in { opacity: 1; transform: none; }

/* étape 4 : validation */
.s-val .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vimg { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.vimg img { aspect-ratio: 1; object-fit: cover; }
.vimg .v { position: absolute; left: 6px; right: 6px; bottom: 6px; font-family: var(--font-mono); font-size: 9.5px; padding: 3px 6px; border-radius: 6px; background: rgba(10,10,12,.78); color: var(--ok); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vimg.rej img { filter: grayscale(.8) brightness(.55); }
.vimg.rej .v { color: #ff8a82; }
.vimg.rej::after { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(255,69,58,.6); border-radius: 10px; }
.val-note { font-size: 12px; color: var(--fg-muted); margin-top: 10px; }
.val-note b { color: #ff8a82; font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; font-size: 12.5px; color: var(--fg-muted); }
.checklist li { display: flex; gap: 8px; align-items: center; }
.checklist li::before { content: "✓"; color: var(--ok); font-size: 12px; }
.val-actions { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.val-actions .btn { height: 38px; font-size: 13px; padding: 0 16px; }
.who { font-size: 12px; color: var(--fg-dim); margin-left: auto; display: flex; align-items: center; gap: 8px; }
.av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #7e8aff, #bf5af2); display: grid; place-items: center; font-size: 10px; color: #fff; font-weight: 600; }
.cursor { position: absolute; z-index: 5; width: 18px; height: 18px; pointer-events: none; opacity: 0; transition: transform .9s var(--ease), opacity .3s; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.cursor.on { opacity: 1; }
.cursor.click { animation: clickp .3s ease; }
@keyframes clickp { 50% { scale: .8; } }

/* étape 5 : boutique */
.s-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.store { border-radius: 14px; background: #f6f4ef; color: #1c1b19; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.store-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 11px; border-bottom: 1px solid #e5e1d8; }
.store-bar b { font-weight: 600; letter-spacing: -.01em; }
.draft { font-family: var(--font-mono); font-size: 9.5px; padding: 2px 7px; border-radius: 5px; background: #fff1cc; color: #7a5a12; border: 1px solid #ecd58c; }
.store img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.store-info { padding: 10px 12px 12px; }
.store-info h6 { margin: 0; font-size: 14px; letter-spacing: -.02em; font-weight: 600; }
.store-info .p { font-size: 15px; font-weight: 600; margin-top: 2px; }
.store-info .d { font-size: 11px; color: #6b675f; line-height: 1.4; margin-top: 4px; }
.locks { display: grid; gap: 10px; }
.lock { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.025); }
.lock .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.lock b { display: block; font-size: 13px; font-weight: 500; }
.lock span { display: block; font-size: 12px; color: var(--fg-muted); line-height: 1.4; margin-top: 2px; }
.toast { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 20px); opacity: 0; transition: all .5s var(--ease-out); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(28,28,32,.95); border: 1px solid var(--border-hi); box-shadow: var(--shadow-pop); font-size: 12.5px; white-space: nowrap; z-index: 4; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.toast .dot { width: 7px; height: 7px; }

/* ---------- avant / après ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; margin-top: 56px; align-items: center; }
.compare { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-hi); aspect-ratio: 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #111; box-shadow: var(--shadow-card); --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent-hi); box-shadow: 0 0 18px var(--accent-glow); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(17,17,20,.8); border: 1.5px solid var(--accent-hi); display: grid; place-items: center; color: var(--accent-hi); backdrop-filter: blur(8px); }
.compare .lbl { position: absolute; top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 7px; background: rgba(10,10,12,.72); backdrop-filter: blur(8px); pointer-events: none; }
.compare .lbl.l { left: 14px; color: #c9c9ce; }
.compare .lbl.r { right: 14px; color: var(--accent-hi); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba-text { display: grid; gap: 14px; }
.panel { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); padding: 20px 22px; }
.panel.raw-p { background: rgba(255,255,255,.015); border-style: dashed; }
.panel .blk-label { margin-bottom: 8px; font-size: 11px; }
.panel .rawline { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-muted); line-height: 1.55; word-break: break-word; }
.panel h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.03em; }
.panel p { color: #cfcfd4; font-size: 14.5px; line-height: 1.6; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.kv div span { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .05em; }
.kv div b { display: block; font-size: 14px; font-weight: 500; margin-top: 3px; }
.kv .gold { color: var(--accent); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; margin-top: 56px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow-card);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--border-hi); }
.card h3 { font-size: 20px; letter-spacing: -.03em; }
.card .d { color: var(--fg-muted); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
.b-copy { grid-column: span 3; }
.b-img { grid-column: span 3; }
.b-price { grid-column: span 3; }
.b-attr { grid-column: span 3; }
.blocks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.blocks li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--border); font-size: 13.5px; }
.blocks li .k { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.blocks li .m { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); white-space: nowrap; }
.imgs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.ledger { margin-top: 18px; font-variant-numeric: tabular-nums; }
.ledger .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--fg-muted); }
.ledger .row b { color: var(--fg); font-weight: 500; }
.ledger .row.total { border-bottom: 0; padding-top: 12px; align-items: baseline; }
.ledger .row.total b { font-size: 30px; color: var(--accent); letter-spacing: -.03em; font-weight: 600; }
.formula { font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim); line-height: 1.6; margin-top: 6px; }
.formula i { font-style: normal; color: var(--fg-muted); }
.chips.big { gap: 8px; margin-top: 20px; }
.chips.big .chip { height: 30px; font-size: 13px; padding: 0 12px; }
.map { margin-top: 18px; display: grid; gap: 8px; }
.map-row { display: grid; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr); gap: 10px; align-items: center; font-size: 13px; }
.map-row .from { font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-muted); padding: 8px 10px; border-radius: 9px; border: 1px dashed var(--border-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-row .arr { color: var(--accent); text-align: center; }
.map-row .chip { justify-self: start; max-width: 100%; }
.legend { font-size: 12.5px; color: var(--fg-dim); margin-top: 16px; line-height: 1.5; }

/* ---------- garde-fous ---------- */
.chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-top: 56px; }
.chain::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--border-hi), rgba(230,192,104,.5), var(--border-hi)); }
.chain .spark { position: absolute; top: 24px; left: 10%; width: 60px; height: 7px; margin-left: -30px; border-radius: 7px; background: radial-gradient(closest-side, var(--accent-hi), transparent); filter: blur(1px); animation: travel 5s var(--ease) infinite; }
@keyframes travel { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.node { position: relative; text-align: center; padding: 0 4px; }
.node .ring { width: 54px; height: 54px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--bg-elev); border: 1px solid var(--border-hi); color: var(--fg-muted); position: relative; z-index: 1; }
.node.exec .ring { color: #b9c0ff; border-color: rgba(126,138,255,.45); }
.node.judge .ring { color: var(--accent); border-color: rgba(230,192,104,.5); }
.node.human .ring { color: var(--ok); border-color: rgba(48,209,88,.45); }
.node .tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; margin-top: 14px; color: var(--fg-dim); }
.node h4 { font-size: 15.5px; margin-top: 4px; letter-spacing: -.02em; line-height: 1.25; }
.node p { font-size: 13px; color: var(--fg-muted); margin-top: 6px; line-height: 1.45; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 56px; }
.rule h3 { font-size: 17px; }
.rule .d { font-size: 14px; }
.not { margin: 36px auto 0; max-width: 780px; text-align: center; font-size: 13.5px; color: var(--fg-dim); line-height: 1.6; }

/* ---------- file / lot ---------- */
.bulk { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.feats li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.feats .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-hi); color: var(--accent); }
.feats b { display: block; font-weight: 500; font-size: 15.5px; }
.feats span { display: block; color: var(--fg-muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.queue { border-radius: var(--r-xl); border: 1px solid var(--border-hi); background: rgba(17,17,20,.7); overflow: hidden; box-shadow: var(--shadow-card); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.q-head b { font-weight: 600; font-size: 15px; }
.q-tabs { display: flex; gap: 6px; font-size: 12px; color: var(--fg-dim); flex-wrap: wrap; justify-content: flex-end; }
.q-tabs span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.q-tabs span.on { color: var(--fg); border-color: var(--border-hi); background: var(--surface-2); }
.q-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); transition: background .4s; }
.q-row:last-child { border-bottom: 0; }
.q-row.flash { background: rgba(230,192,104,.05); }
.q-row img, .q-row .ph { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; border: 1px solid var(--border); }
.q-row .ph { display: grid; place-items: center; background: var(--surface-2); color: var(--fg-dim); font-family: var(--font-mono); font-size: 10px; }
.q-row .t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-row .s { font-size: 12px; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-row .status { transition: all .35s; }
.q-note { font-size: 12px; color: var(--fg-dim); padding: 10px 18px; border-top: 1px solid var(--border); font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- le vrai produit ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin-top: 32px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--surface-hi); color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.shot { margin-top: 28px; border-radius: var(--r-xl); border: 1px solid var(--border-hi); background: var(--bg-elev); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.shot-bar span { margin-left: 10px; font-size: 12.5px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-view { position: relative; aspect-ratio: 1400 / 880; }
.shot-view picture, .shot-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .45s var(--ease); }
.shot-view [hidden] { display: block !important; opacity: 0; pointer-events: none; }
.shot-cap { text-align: center; color: var(--fg-muted); font-size: 14.5px; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 44px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-hi); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-hi); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), border-color .2s; color: var(--fg-muted); }
.faq details[open] summary .pm { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq .body { padding: 0 22px 20px; color: var(--fg-muted); font-size: 15px; line-height: 1.65; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta-card { position: relative; z-index: 1; text-align: center; padding: clamp(40px, 7vw, 84px) clamp(22px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--border-hi); background: radial-gradient(120% 90% at 50% 0%, rgba(230,192,104,.10), transparent 60%), var(--surface); overflow: hidden; }
.cta-card .mark { width: 56px; height: 56px; margin: 0 auto 26px; opacity: .95; }
.cta-card h2 { max-width: 16em; margin-inline: auto; }
.cta-card .hero-cta { justify-content: center; }
.cta-card .note { color: var(--fg-dim); font-size: 13px; margin-top: 18px; }

footer { border-top: 1px solid var(--border); padding: 40px 0 48px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 14px; color: var(--fg-muted); }
.foot-links a:hover { color: var(--fg); }
.legal { color: var(--fg-dim); font-size: 13px; margin-top: 24px; }

/* =============================================================
   V2 — mouvement, héros graphique, cadre blanc, gain
   ============================================================= */
:root { --spring: cubic-bezier(.16,1,.3,1); --nav-h: 76px; }

/* ---------- nav : transparente en haut, pilule de verre au scroll ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 0; pointer-events: none;
  transition: padding .7s var(--spring); }
.nav-in {
  pointer-events: auto; position: relative; margin: 0 auto; max-width: 1280px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 0; background: rgba(17,17,20,0);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: max-width .75s var(--spring), height .75s var(--spring), padding .75s var(--spring),
    border-radius .75s var(--spring), background-color .5s ease, border-color .5s ease,
    box-shadow .6s ease, -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease;
}
.nav.scrolled { padding: 12px 16px 0; }
.nav.scrolled .nav-in {
  max-width: 940px; height: 58px; padding: 0 8px 0 16px; border-radius: 18px;
  background: rgba(17,17,20,.66); border-color: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 20px 50px -24px rgba(0,0,0,.95);
}
.nav-prog { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  background: linear-gradient(90deg, transparent, var(--accent-hi) 20%, var(--gold)); opacity: 0; transition: opacity .5s ease; }
.nav.scrolled .nav-prog { opacity: .9; }
.nav.scrolled.on-light .nav-in { background: rgba(17,17,20,.9); border-color: rgba(0,0,0,.2); box-shadow: 0 20px 50px -24px rgba(40,30,10,.55); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 26px; height: 26px; transition: transform .75s var(--spring); }
.nav.scrolled .brand img { transform: scale(.9); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) { position: relative; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--fg-muted); transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); transition: transform .4s var(--spring); }
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav-links a:not(.btn):hover::after, .nav-links a.cur::after { transform: scaleX(1); }
.nav-links a.cur { color: var(--fg); }
.nav .btn { height: 42px; margin-left: 10px; transition: height .75s var(--spring), filter .14s, box-shadow .2s; }
.nav.scrolled .btn { height: 40px; }

/* ---------- entrée au chargement : un par un ---------- */
.js .ld { opacity: 0; }
.js.loaded .ld { animation: ldRise 1s var(--spring) both; animation-delay: calc(var(--i, 0) * 75ms + 60ms); }
@keyframes ldRise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.split-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-h .w > span { display: inline-block; will-change: transform; }
.js .hero h1.split-h:not(.ready) { opacity: 0; }
.js .hero .split-h .w > span { transform: translateY(108%); }
.js.loaded .hero .split-h .w > span { animation: wordUp 1.05s var(--spring) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordUp { from { transform: translateY(108%) rotate(4deg); } to { transform: none; } }
/* le dégradé doit couvrir chaque mot : on le porte sur les mots eux-mêmes */
.grad .w > span, .grad.w > span { background: linear-gradient(120deg, var(--accent-hi) 0%, var(--gold) 55%, #b9a3ff 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-h .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.js .ld-card { opacity: 0; }
.js.loaded .ld-card { animation: ldCard 1.4s var(--spring) both; animation-delay: .55s; }
@keyframes ldCard { from { opacity: 0; transform: translateY(46px) scale(.94) rotateX(8deg); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.js .ld-pop { opacity: 0; }
.js.loaded .ld-pop { animation: ldPop 1.1s var(--spring) both; animation-delay: var(--pd, 1.2s); }
@keyframes ldPop { from { opacity: 0; transform: translateY(18px) scale(.8); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
/* une fois l'entrée jouée, on retire les animations (plus de calques inutiles) */
.js.settled .ld, .js.settled .ld-card, .js.settled .ld-pop { animation: none; opacity: 1; }
.js.settled .hero .split-h .w > span { animation: none; transform: none; }

/* ---------- apparitions au scroll (plusieurs directions) ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1.05s var(--spring), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.rv[data-dir="left"] { transform: translateX(-40px); }
.rv[data-dir="right"] { transform: translateX(40px); }
.rv[data-dir="scale"] { transform: translateY(40px) scale(.94); filter: blur(6px); }
.rv.in { opacity: 1; transform: none; filter: none; }
.no-js .rv, .no-js .ld, .no-js .ld-card, .no-js .ld-pop { opacity: 1; transform: none; }
.split-h[data-split-block] .w > span { transform: translateY(108%); transition: transform 1s var(--spring); transition-delay: calc(var(--i) * 55ms); }
.split-h[data-split-block].in .w > span { transform: none; }
.no-js .split-h .w > span { transform: none; }

/* ---------- héros ---------- */
.hero { padding: 150px 0 90px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pill { display: inline-flex; max-width: 100%; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-hi); font-size: 13px; color: var(--fg-muted); }
.pill b { color: var(--fg); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); flex: none; }
.dot.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(48,209,88,0), 0 0 14px var(--ok); opacity: .7; } }
.hero h1 { font-size: clamp(40px, 4.3vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; margin-top: 26px; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 26px; max-width: 34em; }
.hero .lede strong { color: var(--fg); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--fg-muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--accent); flex: none; }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .7; animation: aurora 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 720px; height: 720px; left: -8%; top: -10%; background: rgba(230,192,104,.13); }
.aurora i:nth-child(2) { width: 600px; height: 600px; right: -6%; top: 10%; background: rgba(126,138,255,.10); animation-duration: 23s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 460px; height: 460px; left: 40%; top: 45%; background: rgba(214,168,90,.08); animation-duration: 29s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%, -6%) scale(1.12); } 100% { transform: translate(-6%, 5%) scale(1.04); } }
.grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%); }

/* composition : carte + 2 blocs flottants */
.compo { position: relative; width: 100%; max-width: 540px; justify-self: end; margin-right: 28px; perspective: 1400px; }
.par { will-change: transform; }
.par-tl, .par-br { position: absolute; z-index: 3; }
.par-tl { left: -34px; top: 96px; }
.par-br { right: -44px; bottom: -34px; }
.flt { animation: float 9s ease-in-out infinite; }
.f-main { animation-duration: 11s; }
.f-tl { animation: floatB 7.2s ease-in-out infinite; animation-delay: -2s; }
.f-br { animation: floatC 8.6s ease-in-out infinite; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%, 100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(6px,-16px) rotate(-.5deg); } }
@keyframes floatC { 0%, 100% { transform: translate(0,0) rotate(1.5deg); } 50% { transform: translate(-8px,-14px) rotate(3deg); } }
.hcard { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, rgba(34,33,38,.86), rgba(17,17,20,.82));
  border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02), 0 0 140px rgba(230,192,104,.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--spring); transform-style: preserve-3d; }
.hcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(240,210,138,.7), transparent); }
.hcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,236,190,.09), transparent 60%); }
.hc-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--border); }
.hc-title { flex: 1; min-width: 0; font-size: 12.5px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-title b { color: var(--fg); font-weight: 500; }
.hc-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #000; }
.hc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 6s linear; }
.hc-media img.on { opacity: 1; transform: scale(1); }
.hc-tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 10.5px; padding: 4px 8px; border-radius: 7px; background: rgba(10,10,12,.72); color: var(--ok); border: 1px solid rgba(48,209,88,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hc-dots { position: absolute; right: 12px; bottom: 16px; display: flex; gap: 5px; }
.hc-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); transition: width .5s var(--spring), background .3s; }
.hc-dots i.on { width: 18px; background: var(--accent-hi); }
.hc-body { padding: 16px 18px 18px; }
.hc-body h3 { font-size: 19px; margin: 6px 0 6px; letter-spacing: -.03em; }
.hc-body p { font-size: 13px; line-height: 1.55; color: #cfcfd4; }
.hc-row { display: flex; gap: 12px; margin-top: 14px; align-items: center; }
.hc-price { flex: none; border: 1px solid var(--border); border-radius: 12px; padding: 7px 12px; background: rgba(255,255,255,.03); }
.hc-price span { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--fg-dim); }
.hc-price b { font-size: 20px; font-weight: 600; color: var(--accent); letter-spacing: -.03em; line-height: 1.2; }
.hc-row .chips .chip { opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .4s var(--spring), transform .6s var(--spring); }
.loaded .hc-row .chips .chip { opacity: 1; transform: none; }
.loaded .hc-row .chip:nth-child(1) { transition-delay: 1.6s; } .loaded .hc-row .chip:nth-child(2) { transition-delay: 1.72s; }
.loaded .hc-row .chip:nth-child(3) { transition-delay: 1.84s; } .loaded .hc-row .chip:nth-child(4) { transition-delay: 1.96s; }
.fcard { border-radius: 16px; background: linear-gradient(150deg, rgba(40,39,45,.9), rgba(20,20,24,.86)); border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 70px -25px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.07) inset; }
.fcard.src { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; width: 250px; }
.fcard.src img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.fk { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }
.fv { display: block; font-size: 11px; line-height: 1.4; color: var(--fg-muted); margin-top: 3px; }
.fcard.time { padding: 12px 16px 14px; width: 198px; }
.tv { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.tv b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; color: var(--accent-hi); line-height: 1.1; }
.tv s { font-size: 12.5px; color: var(--fg-dim); text-decoration-color: rgba(255,69,58,.8); }
.tbar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.tbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(1); background: linear-gradient(90deg, var(--gold), var(--accent-hi)); border-radius: 4px; }
.loaded .tbar i { animation: tbar 1.6s var(--spring) 1.9s both; }
@keyframes tbar { from { transform: scaleX(1); background: rgba(255,255,255,.3); } to { transform: scaleX(.1); } }
.loaded .tbar i { transform: scaleX(.1); }

/* ---------- bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--border); background: rgba(255,255,255,.015); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.mq-track li { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 15px; color: var(--fg-muted); white-space: nowrap; }
.mq-track li::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); opacity: .7; border-radius: 1px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- le vrai coût : texte qui s'allume au scroll ---------- */
.pain { padding-top: clamp(90px, 11vw, 150px); }
.scrub { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.035em; font-weight: 600; max-width: 22em; }
.scrub .sw { color: rgba(245,245,247,.16); transition: color .35s ease; }
.scrub .sw.on { color: var(--fg); }
.scrub em { font-style: normal; }
.scrub em .sw.on { color: var(--accent-hi); }
.no-js .scrub .sw, .scrub.static .sw { color: var(--fg); }
.scrub.static em .sw { color: var(--accent-hi); }
.pains { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 56px; }
.pcard { position: relative; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.pcard .pi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #ff8a82; background: var(--danger-soft); border: 1px solid rgba(255,69,58,.25); }
.pcard b { display: block; margin-top: 14px; font-weight: 500; font-size: 15.5px; }
.pcard span:not(.pi) { display: block; font-size: 13.5px; color: var(--fg-muted); margin-top: 4px; line-height: 1.5; }

/* ---------- le gain ---------- */
.gain { overflow: hidden; }
.gain .wrap { position: relative; z-index: 1; }
.race { max-width: 900px; margin: 56px auto 0; padding: 28px 28px 18px; border-radius: var(--r-xl); border: 1px solid var(--border-hi); background: rgba(17,17,20,.7); box-shadow: var(--shadow-card); }
.race-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; align-items: center; margin-bottom: 18px; }
.race-lab span { display: block; font-size: 13px; color: var(--fg-muted); }
.race-lab b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.race-lab b.gold { color: var(--accent-hi); }
.race-bar { position: relative; height: 38px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--border); overflow: hidden; }
.race-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); border-radius: 9px; }
.race-bar.hand i { background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 10px, rgba(255,255,255,.07) 10px 20px); }
.race-bar.argos i { width: 8.33%; background: linear-gradient(90deg, var(--gold), var(--accent-hi)); box-shadow: 0 0 24px var(--accent-glow); }
.race.in .race-bar.hand i { transform: scaleX(.875); transition: transform 5.5s cubic-bezier(.3,.1,.3,1) .4s; }
.race.in .race-bar.argos i { transform: scaleX(1); transition: transform .9s var(--spring) .4s; }
.race-done { position: absolute; left: calc(8.33% + 12px); top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 12px; color: var(--ok); opacity: 0; transition: opacity .5s ease 1.3s; white-space: nowrap; }
.race.in .race-done { opacity: 1; }
.race-scale { display: flex; justify-content: space-between; margin-left: 170px; font-size: 10.5px; color: var(--fg-dim); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 16px; max-width: 900px; margin-inline: auto; }
.stat { padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.stat .n { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .n .u { color: var(--accent); }
.stat .l { color: var(--fg-muted); font-size: 14px; margin-top: 12px; line-height: 1.45; }
.stat .l .mono { font-size: 11.5px; }
.source-note { color: var(--fg-dim); font-size: 12.5px; margin: 16px auto 0; max-width: 900px; font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- avant / après : colonnes ---------- */
.vs { display: grid; gap: 14px; }
.vs-col { border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(255,255,255,.015); padding: 20px 22px; }
.vs-col.on { background: linear-gradient(160deg, rgba(230,192,104,.08), rgba(255,255,255,.02)); border-color: rgba(230,192,104,.28); }
.vs-h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.vs-h span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.vs-h .x { background: var(--danger-soft); color: #ff8a82; }
.vs-h .v { background: var(--ok-soft); color: var(--ok); }
.vs ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.vs li { font-size: 14.5px; color: var(--fg-muted); line-height: 1.45; padding-left: 34px; position: relative; }
.vs-col.on li { color: #dcdce0; }
.vs li::before { content: ""; position: absolute; left: 11px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ---------- démo : plus large, centrée ---------- */
#demo .machine { max-width: 980px; margin: 56px auto 0; }

/* ---------- cadre blanc qui s'ouvre jusqu'au plein écran ---------- */
.xp { position: relative; height: 230vh; padding: 0; }
.xp-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.xp-panel { position: absolute; inset: 0; background: #f6f4ef; color: #121214; display: grid; place-items: center;
  clip-path: inset(var(--iy, 16%) var(--ix, 14%) var(--iy, 16%) var(--ix, 14%) round var(--ir, 32px)); will-change: clip-path; }
.xp-inner { width: 100%; max-width: 1040px; padding: 0 24px; text-align: center; transform: scale(var(--is, .9)); }
.xp-eb { color: #9a7222; justify-content: center; }
.xp-title { font-size: clamp(34px, 5.6vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; color: #121214; }
.xp-title span { display: block; }
.xp-l1 { opacity: var(--o1, 1); }
.xp-l2 { background: linear-gradient(120deg, #b8862e, #d9a94f 50%, #8a6a2a); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: var(--o2, 0); transform: translateY(calc((1 - var(--o2, 0)) * 30px)); }
.xp-lede { margin: 28px auto 0; max-width: 40em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #55555c; opacity: var(--o3, 0); transform: translateY(calc((1 - var(--o3, 0)) * 20px)); }
.light { background: #f6f4ef; color: #121214; padding-top: 24px; padding-bottom: clamp(120px, 14vw, 190px); }
.tailor { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.tcard { position: relative; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e7e2d8; box-shadow: 0 1px 0 #fff inset, 0 18px 40px -28px rgba(60,45,20,.35); transition: transform .4s var(--spring), box-shadow .4s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -26px rgba(60,45,20,.45); }
.tcard .tn { font-size: 12px; color: #9a7222; }
.tcard h3 { font-size: 20px; margin-top: 18px; letter-spacing: -.03em; color: #121214; }
.tcard p { font-size: 14.5px; color: #5b5b62; margin-top: 8px; line-height: 1.55; }
.stack { margin-top: 56px; border-radius: 28px; background: #121214; color: var(--fg); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 32px; align-items: start; box-shadow: 0 40px 80px -40px rgba(30,20,5,.55); }
.stack-h h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; }
.stack-h p { color: var(--fg-muted); margin-top: 10px; font-size: 15px; }
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.sk { border-radius: var(--r-md); border: 1px solid var(--border); background: rgba(255,255,255,.03); padding: 16px; }
.sk.native { border-color: rgba(48,209,88,.35); background: linear-gradient(160deg, rgba(48,209,88,.08), rgba(255,255,255,.02)); }
.sk-b { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border-hi); color: var(--fg-muted); }
.sk.native .sk-b { color: var(--ok); border-color: rgba(48,209,88,.4); }
.sk-b.soft { color: var(--accent); border-color: rgba(230,192,104,.4); }
.sk b { display: block; margin-top: 10px; font-weight: 600; font-size: 15.5px; }
.sk > span:last-child { display: block; font-size: 13.5px; color: var(--fg-muted); margin-top: 4px; line-height: 1.5; }
/* retour au sombre : rideau arrondi qui remonte sur le blanc */
.curtain { background: var(--bg); border-radius: 44px 44px 0 0; margin-top: -60px; z-index: 2; box-shadow: 0 -30px 60px -20px rgba(0,0,0,.25); }

/* ---------- lueur qui suit le pointeur sur les cartes ---------- */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(230,192,104,.13), transparent 62%); }
.spot:hover::after { opacity: 1; }
.mag { transition: transform .35s var(--spring), filter .14s, box-shadow .2s, height .75s var(--spring); }

/* ---------- garde-fous : la ligne se remplit au scroll ---------- */
.chain .spark { display: none; }
.chain-line { position: absolute; top: 27px; left: 10%; right: 10%; height: 1px; z-index: 0; }
.chain-line i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--cp, 0)); background: linear-gradient(90deg, var(--gold), var(--accent-hi)); box-shadow: 0 0 12px var(--accent-glow); }

/* ---------- captures : légère perspective qui se redresse ---------- */
.shot-wrap { perspective: 1600px; }
.shot-wrap .shot { transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--ts, 1)); }
.shot-wrap .shot.rv { transition: opacity .9s var(--ease), filter .9s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(42px, 9vw, 80px); }
  .compo { justify-self: center; margin-right: 0; max-width: 520px; }
  .ba { grid-template-columns: minmax(0, 1fr); }
  .compare { max-width: 620px; width: 100%; margin-inline: auto; }
  .bulk { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .nav.scrolled .nav-in { max-width: 560px; }
  .pains { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: minmax(0,1fr); }
  .tailor { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento > * { grid-column: 1 / -1; }
  .chain { grid-template-columns: 1fr; gap: 0; }
  .chain::before { top: 20px; bottom: 20px; left: 26px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--border-hi), rgba(230,192,104,.5), var(--border-hi)); }
  .chain-line { top: 20px; bottom: 20px; left: 26px; right: auto; width: 1px; height: auto; }
  .chain-line i { transform-origin: 50% 0; transform: scaleY(var(--cp, 0)); }
  .node { display: grid; grid-template-columns: 54px 1fr; gap: 16px; text-align: left; padding: 10px 0; }
  .node .ring { margin: 0; }
  .node .tag { margin-top: 2px; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .wrap { padding-inline: 16px; }
  .nav-in { padding: 0 16px; }
  .nav.scrolled { padding: 10px 10px 0; }
  .nav.scrolled .nav-in { height: 54px; padding: 0 6px 0 12px; border-radius: 16px; }
  .nav .btn { height: 40px; padding: 0 14px; font-size: 13px; margin-left: 0; }
  .nav.scrolled .btn { height: 40px; }
  .hero { padding: 108px 0 64px; }
  .hero h1 { font-size: clamp(36px, 11.2vw, 56px); }
  .pill { font-size: 12px; }
  .checks li:nth-child(n+2) { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .compo { max-width: 400px; }
  .par-tl { left: -6px; top: 58px; }
  .par-br { right: -6px; bottom: -34px; }
  .fcard.src { width: 206px; grid-template-columns: 44px 1fr; gap: 10px; padding: 8px 10px 8px 8px; }
  .fcard.src img { width: 44px; height: 44px; }
  .fv { font-size: 10px; }
  .fcard.time { width: 160px; padding: 10px 12px 12px; }
  .tv b { font-size: 24px; }
  .tv s { font-size: 11px; }
  .hc-body { padding: 14px 14px 16px; }
  .hc-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hc-price { align-self: flex-start; }
  .hc-row .chip:nth-child(4) { display: none; }
  .pains { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .pcard { display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; padding: 16px; }
  .pcard .pi { grid-row: span 2; }
  .pcard b { margin-top: 0; }
  .race { padding: 18px 14px 12px; }
  .race-row { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .race-lab { display: flex; justify-content: space-between; align-items: baseline; }
  .race-lab b { font-size: 16px; }
  .race-scale { margin-left: 0; }
  .race-scale span:nth-child(2n) { visibility: hidden; }
  .xp { height: 200vh; }
  .tailor { grid-template-columns: minmax(0,1fr); }
  .tcard { padding: 20px 18px; }
  .stack-grid { grid-template-columns: minmax(0,1fr); }
  .curtain { border-radius: 28px 28px 0 0; margin-top: -40px; }
  .field.brief { display: none; }
  .stage { padding: 16px; }
  .m-body { height: 520px; }
  .m-step { flex-direction: column; gap: 4px; font-size: 10.5px; padding: 9px 2px 10px; }
  .s-source { grid-template-columns: minmax(0, 1fr); }
  .s-source .raw > div { min-width: 0; }
  .s-source .raw { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; }
  .s-source .raw-tag { margin-top: 0; }
  .s-sheet { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sheet { min-width: 0; }
  .sheet-left { display: grid; grid-template-columns: 104px 1fr; gap: 8px; align-items: end; }
  .sheet-thumbs { margin-top: 0; }
  .tagok { font-size: 8.5px; left: 5px; bottom: 5px; padding: 2px 5px; }
  .s-val .grid4 { gap: 6px; }
  .vimg .v { font-size: 8px; left: 3px; right: 3px; bottom: 3px; padding: 2px 3px; }
  .checklist { grid-template-columns: 1fr; }
  .who { margin-left: 0; }
  .s-shop { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .store { display: grid; grid-template-columns: 120px 1fr; }
  .store-bar { grid-column: 1 / -1; }
  .store img { aspect-ratio: 1; height: 100%; }
  .toast { white-space: normal; width: calc(100% - 28px); font-size: 12px; }
  .m-title { font-size: 12px; }
  .blocks li { grid-template-columns: 50px 1fr; }
  .blocks li .m { grid-column: 2; }
  .imgs4 { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 22px 18px; }
  .q-row { padding: 11px 14px; gap: 12px; }
  .q-head { padding: 12px 14px; }
  .shot-view { aspect-ratio: 700 / 1000; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq .body { padding: 0 18px 18px; }
  .vs-col { padding: 16px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
  .m-step .lab { font-size: 9.5px; }
  .fcard.src { width: 188px; }
  .fcard.time { width: 146px; }
}


/* ---------- cinq outils qui se rassemblent en un ---------- */
.jg-track { position: relative; height: calc(520px + 90vh); margin-top: 56px; }
.juggle { position: sticky; top: calc(50vh - 260px); top: calc(50svh - 240px); height: 520px; border-radius: 28px; border: 1px solid var(--border); overflow: hidden;
  background: radial-gradient(60% 60% at 50% 50%, rgba(230,192,104,calc(.02 + var(--jp, 0) * .1)), transparent 70%), rgba(255,255,255,.012); }
.jg-tool { position: absolute; left: 50%; top: 50%; width: 220px; margin: -44px 0 0 -110px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(40,39,45,.95), rgba(22,22,26,.95)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9);
  transform: translate(calc(var(--x) * var(--jw, 5px) * (1 - var(--je, 0))), calc(var(--y) * var(--jh, 5px) * (1 - var(--je, 0)))) rotate(calc(var(--r) * 1deg * (1 - var(--je, 0)))) scale(calc(1 - var(--je, 0) * .55));
  opacity: calc(1 - var(--jf, 0)); will-change: transform, opacity; }
.jg-k { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #ff8a82; }
.jg-tool b { display: block; font-weight: 600; font-size: 15px; margin-top: 4px; }
.jg-s { display: block; font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; }
.jg-retry { font-style: normal; display: inline-block; color: var(--warn); animation: spin 2.4s linear infinite; }
.jg-argos { position: absolute; left: 50%; top: 50%; width: 360px; margin-left: -180px; margin-top: -48px; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, rgba(48,44,36,.96), rgba(22,21,19,.96)); border: 1px solid rgba(230,192,104,.45);
  box-shadow: 0 0 0 1px rgba(230,192,104,.08), 0 30px 80px -30px rgba(0,0,0,.9), 0 0 80px rgba(230,192,104,calc(var(--ja, 0) * .25));
  opacity: var(--ja, 0); transform: scale(calc(.7 + var(--ja, 0) * .3)); }
.jg-argos img { width: 34px; height: 34px; }
.jg-argos b { display: block; font-size: 17px; }
.jg-argos span { display: block; font-size: 12.5px; color: var(--fg-muted); line-height: 1.4; }
.jg-time { font-size: 26px !important; font-weight: 600; letter-spacing: -.04em; color: var(--accent-hi) !important; }
.jg-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 12px; }
.jg-cap span { position: absolute; left: 0; right: 0; transition: opacity .4s ease; }
.jg-a { color: #ff8a82; opacity: calc(1 - var(--ja, 0)); }
.jg-b { color: var(--accent-hi); opacity: var(--ja, 0); }
.jg-track.static { height: auto; }
.juggle.static { position: relative; top: auto; height: auto; display: flex; flex-wrap: wrap; gap: 10px; padding: 20px; }
.juggle.static .jg-tool, .juggle.static .jg-argos, .juggle.static .jg-cap, .juggle.static .jg-cap span { position: relative; left: auto; top: auto; right: auto; bottom: auto; margin: 0; transform: none; opacity: 1; }
.juggle.static .jg-argos { width: 100%; }
.gains-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.gains-list li { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.gains-list b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--accent-hi); }
.gains-list span { display: block; font-size: 14px; color: var(--fg-muted); margin-top: 4px; }
.light-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.light-head h2 { color: #121214; }
.light-head p { color: #5b5b62; font-size: clamp(16px, 1.6vw, 19px); margin-top: 14px; }
.xp-lede b { color: #121214; font-weight: 600; }
@media (max-width: 640px) {
  .jg-track { height: calc(460px + 80vh); }
  .juggle { height: 460px; top: calc(50vh - 230px); top: calc(50svh - 200px); }
  .jg-tool { width: 150px; margin: -38px 0 0 -75px; padding: 10px 12px; }
  .jg-tool:nth-child(1) { --x: -22 !important; --y: -36 !important; }
  .jg-tool:nth-child(2) { --x: 22 !important; --y: -19 !important; }
  .jg-tool:nth-child(3) { --x: -22 !important; --y: -2 !important; }
  .jg-tool:nth-child(4) { --x: 22 !important; --y: 15 !important; }
  .jg-tool:nth-child(5) { --x: -10 !important; --y: 31 !important; }
  .jg-tool b { font-size: 13.5px; }
  .jg-s { font-size: 11.5px; }
  .jg-argos { width: calc(100% - 32px); left: 16px; margin-left: 0; padding: 14px; gap: 12px; }
  .jg-time { font-size: 22px !important; }
  .gains-list { grid-template-columns: minmax(0,1fr); gap: 10px; }
}

/* ---------- mouvement réduit : tout est là, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv, .ld, .ld-card, .ld-pop { opacity: 1 !important; transform: none !important; filter: none !important; }
  .split-h .w > span { transform: none !important; }
  .typed .w, .pop { opacity: 1; transform: none; }
  .scrub .sw { color: var(--fg); }
  .scrub em .sw { color: var(--accent-hi); }
  .mq-track { animation: none; }
  .xp { height: auto; }
  .xp-sticky { position: relative; height: auto; }
  .xp-panel { position: relative; clip-path: none; padding: 120px 0 40px; }
  .xp-inner { transform: none; }
  .xp-l2, .xp-lede { opacity: 1; transform: none; }
  .curtain { margin-top: 0; }
}

/* =============================================================
   V3 — le fold : la démo devient le visuel (38 / 62)
   Tout le visuel est dessiné pour 760 px de large (--u = 1 px à 760)
   et se met à l'échelle de sa colonne : même lecture partout.
   ============================================================= */
.hero { padding: 0; min-height: calc(100vh - 58px); min-height: calc(100svh - 58px); display: flex; align-items: center; }
.hero > .wrap.hero-grid { max-width: 1340px; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 28px;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: clamp(28px, 3.4vw, 56px); }
.hero h1 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; margin-top: 22px; }
.hero h1 .line + .line { margin-top: .12em; }
.hero .lede { margin-top: 22px; max-width: 30em; font-size: clamp(16px, 1.3vw, 18.5px); }
.hero-cta { align-items: center; margin-top: 30px; gap: 12px 18px; }
.cta-note { font-size: 13.5px; color: var(--fg-dim); }

.hv { container-type: inline-size; width: min(100%, calc((100svh - 205px) * 1.4)); min-width: 0; justify-self: end; position: relative; }
.hv::before { content: ""; position: absolute; inset: 8% 6% -4%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 45%, rgba(230,192,104,.16), transparent 70%); filter: blur(40px); pointer-events: none; }
.hv-win {
  --u: calc(100cqw / 760);
  position: relative; border-radius: calc(var(--u) * 22); overflow: hidden;
  background: linear-gradient(160deg, rgba(34,33,38,.88), rgba(17,17,20,.86));
  border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02), 0 0 140px rgba(230,192,104,.08);
}
.hv-win::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 6; background: linear-gradient(90deg, transparent, rgba(240,210,138,.7), transparent); }
.hv-win.no-tr, .hv-win.no-tr * { transition: none !important; }

/* barre + étapes */
.hv-bar { display: flex; align-items: center; gap: calc(var(--u) * 12); height: calc(var(--u) * 46); padding: 0 calc(var(--u) * 14) 0 calc(var(--u) * 16); border-bottom: 1px solid var(--border); }
.hv-bar .m-dots { gap: calc(var(--u) * 6); }
.hv-bar .m-dots i { width: calc(var(--u) * 10); height: calc(var(--u) * 10); }
.hv-title { flex: 1; min-width: 0; font-size: calc(var(--u) * 13); color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-title b { color: var(--fg); font-weight: 500; }
.hv .status { height: calc(var(--u) * 26); padding: 0 calc(var(--u) * 11); font-size: calc(var(--u) * 11.5); gap: calc(var(--u) * 7); }
.hv .status::before { width: calc(var(--u) * 6); height: calc(var(--u) * 6); }
.hv-rail { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--border); }
.hv-step { position: relative; background: none; border: 0; height: calc(var(--u) * 42); padding: 0 calc(var(--u) * 4); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 8);
  font-size: calc(var(--u) * 12.5); color: var(--fg-dim); transition: color .25s; }
.hv-step .n { font-family: var(--font-mono); font-size: calc(var(--u) * 10.5); width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-hi); flex: none; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.hv-step:hover { color: var(--fg-muted); }
.hv-step.done { color: var(--fg-muted); }
.hv-step.done .n { background: var(--accent-soft); border-color: rgba(230,192,104,.45); color: var(--accent); }
.hv-step.on { color: var(--fg); }
.hv-step.on .n { background: var(--accent); border-color: var(--accent); color: #1a1206; box-shadow: 0 0 14px var(--accent-glow); }
.hv-step .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--accent-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.hv-step.done .bar { opacity: .35; }

/* corps : image à gauche, panneau à droite */
.hv-body { position: relative; display: grid; grid-template-columns: calc(var(--u) * 330) minmax(0, 1fr); gap: calc(var(--u) * 22); padding: calc(var(--u) * 20); transition: opacity .4s var(--ease); }
.hv-win.fading .hv-body { opacity: 0; }
.hv-media { display: grid; gap: calc(var(--u) * 10); align-content: start; }
.hv-img { position: relative; aspect-ratio: 1; border-radius: calc(var(--u) * 14); overflow: hidden; background: #000; border: 1px solid var(--border); isolation: isolate; }
.hv-img > img, .wipe, .wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-img > img.src-img { filter: saturate(.92); }
.wipe { overflow: hidden; transform: translateY(-100%); will-change: transform; }
.wipe img { transform: translateY(100%); will-change: transform; }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-hi) 20%, #fff 50%, var(--accent-hi) 80%, transparent); box-shadow: 0 0 18px 4px rgba(240,210,138,.55); opacity: var(--scan, 0); }
.crop { position: absolute; inset: calc(var(--u) * 12); opacity: 0; transform: scale(1.14); transition: opacity .35s var(--ease), transform .8s var(--spring); pointer-events: none; z-index: 2; }
.crop i { position: absolute; width: calc(var(--u) * 22); height: calc(var(--u) * 22); border: 2px solid var(--accent-hi); filter: drop-shadow(0 0 6px rgba(0,0,0,.6)); }
.crop i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.crop i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.crop i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.crop i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.crop em { position: absolute; right: calc(var(--u) * 6); top: calc(var(--u) * 6); font-style: normal; font-family: var(--font-mono); font-size: calc(var(--u) * 10.5); padding: calc(var(--u) * 3) calc(var(--u) * 7); border-radius: calc(var(--u) * 6); background: rgba(10,10,12,.75); color: var(--accent-hi); border: 1px solid rgba(230,192,104,.4); }
.hv-win.fmt .crop { opacity: 1; transform: none; }
.hv-tag { position: absolute; left: calc(var(--u) * 10); bottom: calc(var(--u) * 10); z-index: 3; font-family: var(--font-mono); font-size: calc(var(--u) * 10.5); padding: calc(var(--u) * 4) calc(var(--u) * 8); border-radius: calc(var(--u) * 7);
  background: rgba(10,10,12,.74); color: var(--fg-muted); border: 1px solid var(--border-hi); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .4s var(--ease), transform .5s var(--spring); }
.hv-tag.ok { color: var(--ok); border-color: rgba(48,209,88,.35); opacity: 0; transform: translateY(6px); }
.hv-win.gen .t-raw { opacity: 0; transform: translateY(-6px); }
.hv-win.gen .t-main { opacity: 1; transform: none; }

/* galerie : arrive en désordre, s'aligne au format */
.hv-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--u) * 8); }
.slot { position: relative; aspect-ratio: 1; border-radius: calc(var(--u) * 10); border: 1px dashed var(--border-hi); background: rgba(255,255,255,.015); }
.slot .th { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.th { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--u) * 10); border: 1px solid var(--border-hi); background: #000;
  opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--tr, 0deg)) scale(var(--ts, .6)); transition: opacity .45s var(--ease), transform .7s var(--spring); }
.slot:nth-child(1) .th { --tx: calc(var(--u) * 6);  --ty: calc(var(--u) * -8); --tr: -8deg; }
.slot:nth-child(2) .th { --tx: calc(var(--u) * -4); --ty: calc(var(--u) * 7);  --tr: 6deg; }
.slot:nth-child(3) .th { --tx: calc(var(--u) * 5);  --ty: calc(var(--u) * -5); --tr: -4deg; }
.hv-win.gal .slot:nth-child(1) .th { opacity: 1; --ts: 1.1; }
.hv-win.gal .slot:nth-child(2) .th { opacity: 1; --ts: .8; transition-delay: .08s; }
.hv-win.gal .slot:nth-child(3) .th { opacity: 1; --ts: 1.14; transition-delay: .16s; }
.hv-win.uni .slot:nth-child(n) .th { --tx: 0px; --ty: 0px; --tr: 0deg; --ts: 1; }
.hv-win.uni .slot:nth-child(2) .th { transition-delay: .06s; } .hv-win.uni .slot:nth-child(3) .th { transition-delay: .12s; }
.th.more { display: grid; place-items: center; font-family: var(--font-mono); font-size: calc(var(--u) * 12); color: var(--fg-muted); background: var(--surface-2); border-color: var(--border); }
.hv-win.uni .slot .th.more { opacity: 1; transition-delay: .2s; }

/* galerie lifestyle : défile dans l'aperçu pendant la fiche (opacité et zoom pilotés par app.js) */
.hv-gal { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hv-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
.hv-tag.ok.t-gal { color: var(--accent-hi); border-color: rgba(230,192,104,.4); }
.hv-win.gtag .t-main { opacity: 0; transform: translateY(-6px); }
.hv-win.gtag .t-gal { opacity: 1; transform: none; transition-delay: .22s; }
.hv-win.glr:not(.gtag) .t-main { transition-delay: .22s; } /* les deux tags se relaient, sans se superposer */
/* la 4e miniature : la dernière lifestyle, voilée par le « + 2 » */
.slot .th.more { background: rgba(10,10,12,.52); border-color: var(--border-hi); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); }
.hv-win.uni .slot:nth-child(4) img.th { opacity: 1; transition-delay: .2s; }
.th { transition: opacity .45s var(--ease), transform .7s var(--spring), box-shadow .35s var(--ease), filter .35s var(--ease); }
.hv-win.glr .slot:not(.act) .th { filter: brightness(.55) saturate(.8); }
.hv-win.glr .slot.act img.th { box-shadow: 0 0 0 calc(var(--u) * 2) var(--accent-hi), 0 0 calc(var(--u) * 16) var(--accent-glow); }
.hv-win.uni.glr .slot.act .th.more { opacity: 0; transition-delay: 0s; }

/* panneau : un volet par étape */
.hv-pane { position: relative; min-width: 0; }
.pn > * { flex-shrink: 0; }
.pn { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(calc(var(--u) * 10));
  transition: opacity .45s var(--ease), transform .6s var(--spring), visibility 0s .45s; }
.hv-win[data-stage="0"] .pn-src, .hv-win[data-stage="1"] .pn-run, .hv-win[data-stage="2"] .pn-sheet, .hv-win[data-stage="3"] .pn-sheet, .hv-win[data-stage="4"] .pn-sheet {
  opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .12s, transform .6s var(--spring) .12s, visibility 0s; }
.pn-h { font-size: calc(var(--u) * 17); font-weight: 600; letter-spacing: -.02em; margin-bottom: calc(var(--u) * 14); display: flex; align-items: baseline; gap: calc(var(--u) * 10); }
.pn-h .mono { font-size: calc(var(--u) * 10.5); font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }

/* 1. source */
.hf { margin-bottom: calc(var(--u) * 12); }
.hl { display: block; font-size: calc(var(--u) * 11.5); color: var(--fg-dim); margin-bottom: calc(var(--u) * 6); }
.hi { height: calc(var(--u) * 40); border-radius: calc(var(--u) * 10); background: rgba(255,255,255,.04); border: 1px solid var(--border-hi); padding: 0 calc(var(--u) * 12); display: flex; align-items: center;
  font-size: calc(var(--u) * 13.5); overflow: hidden; white-space: nowrap; transition: border-color .25s, box-shadow .25s; }
.hi.url { font-family: var(--font-mono); font-size: calc(var(--u) * 12); color: var(--fg-muted); }
.hi.focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hv-raw { font-size: calc(var(--u) * 11); line-height: 1.5; color: var(--fg-dim); padding: calc(var(--u) * 10) calc(var(--u) * 12); border: 1px dashed var(--border-hi); border-radius: calc(var(--u) * 10); margin: calc(var(--u) * 2) 0 calc(var(--u) * 16); }
.hv-go { height: calc(var(--u) * 42); font-size: calc(var(--u) * 13.5); border-radius: calc(var(--u) * 10); width: 100%; cursor: default; }
.hv-go.press { transform: scale(.97); filter: brightness(1.12); }

/* 2. traitement */
.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: calc(var(--u) * 9); }
.tasks li { display: grid; grid-template-columns: calc(var(--u) * 36) minmax(0, 1fr) calc(var(--u) * 24); gap: calc(var(--u) * 12); align-items: center;
  padding: calc(var(--u) * 11) calc(var(--u) * 12); border-radius: calc(var(--u) * 13); border: 1px solid var(--border); background: rgba(255,255,255,.02);
  opacity: .42; transition: opacity .3s var(--ease), border-color .3s, background .3s; }
.tasks li.on { opacity: 1; border-color: rgba(230,192,104,.45); background: rgba(230,192,104,.07); }
.tasks li.ok { opacity: 1; }
.ti { width: calc(var(--u) * 36); height: calc(var(--u) * 36); border-radius: calc(var(--u) * 10); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-hi); color: var(--fg-muted); transition: color .3s, background .3s, border-color .3s; }
.ti svg { width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.tasks li.on .ti, .tasks li.ok .ti { color: var(--accent); background: var(--accent-soft); border-color: rgba(230,192,104,.4); }
.tasks b { display: block; font-size: calc(var(--u) * 14.5); font-weight: 600; line-height: 1.2; }
.tasks div > span { display: block; font-size: calc(var(--u) * 12); color: var(--fg-muted); line-height: 1.3; margin-top: calc(var(--u) * 2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tasks .c { width: calc(var(--u) * 24); height: calc(var(--u) * 24); border-radius: 50%; border: 1.5px solid var(--border-hi); display: grid; place-items: center; font-size: calc(var(--u) * 12); color: var(--ok); }
.tasks li.on .c { border-color: var(--accent); border-top-color: transparent; animation: spin .7s linear infinite; }
.tasks li.ok .c { border-color: rgba(48,209,88,.6); background: var(--ok-soft); animation: none; }
.tasks li.ok .c::after { content: "✓"; }
.lines { display: grid; gap: calc(var(--u) * 4); margin-top: calc(var(--u) * 7); }
.lines i { display: block; height: calc(var(--u) * 3); border-radius: 3px; background: linear-gradient(90deg, rgba(240,210,138,.8), rgba(240,210,138,.25)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--ease); }
.lines i:nth-child(2) { width: 82%; } .lines i:nth-child(3) { width: 58%; }
.tasks li.on .lines i, .tasks li.ok .lines i { transform: scaleX(1); }
.tasks li.on .lines i:nth-child(2) { transition-delay: .2s; } .tasks li.on .lines i:nth-child(3) { transition-delay: .4s; }
.gauge { display: block; height: calc(var(--u) * 5); border-radius: 5px; background: rgba(255,255,255,.07); margin-top: calc(var(--u) * 7); overflow: hidden; }
.gauge i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(1); background: linear-gradient(90deg, #ff8a82, #ffb36b); border-radius: 5px; transition: transform .7s var(--ease), background .5s; }
.tasks li.on .gauge i, .tasks li.ok .gauge i { transform: scaleX(.22); background: linear-gradient(90deg, var(--ok), #7ee2a0); }
.runbar { height: 3px; border-radius: 3px; background: var(--surface-2); margin-top: calc(var(--u) * 14); overflow: hidden; }
.runbar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--accent-hi)); box-shadow: 0 0 10px var(--accent-glow); }

/* 3-4. fiche puis validation */
.pn-sheet .blk-label { font-size: calc(var(--u) * 10.5); }
.pn-sheet h5 { font-size: calc(var(--u) * 21); margin: calc(var(--u) * 6) 0 calc(var(--u) * 8); letter-spacing: -.03em; font-weight: 600; line-height: 1.15; }
.pn-sheet .typed { font-size: calc(var(--u) * 13.5); line-height: 1.55; color: #d6d6db; min-height: 0; }
.sh-row { display: flex; gap: calc(var(--u) * 10); margin-top: calc(var(--u) * 14); align-items: center; }
.pricebox { flex: none; border: 1px solid var(--border); border-radius: calc(var(--u) * 12); padding: calc(var(--u) * 7) calc(var(--u) * 12); background: rgba(255,255,255,.03); }
.hv .pricebox span { display: block; font-family: var(--font-mono); font-size: calc(var(--u) * 9.5); color: var(--fg-dim); }
.hv .pricebox b { display: block; font-size: calc(var(--u) * 22); font-weight: 600; color: var(--accent); letter-spacing: -.03em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.hv .chips { gap: calc(var(--u) * 5); }
.hv .chip { font-size: calc(var(--u) * 11.5); height: calc(var(--u) * 24); padding: 0 calc(var(--u) * 9); }
.hv-val { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 12); margin-top: calc(var(--u) * 18); padding-top: calc(var(--u) * 16); border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(calc(var(--u) * 8)); transition: opacity .45s var(--ease), transform .6s var(--spring); }
.hv-win[data-stage="3"] .hv-val, .hv-win[data-stage="4"] .hv-val { opacity: 1; transform: none; }
.hv-vbtn { height: calc(var(--u) * 40); font-size: calc(var(--u) * 13.5); padding: 0 calc(var(--u) * 18); border-radius: calc(var(--u) * 10); cursor: default; }
.hv-vbtn.done { background: linear-gradient(180deg, #4ade80, var(--ok)); color: #062b12; box-shadow: 0 6px 18px rgba(48,209,88,.3); }
.hv .who { font-size: calc(var(--u) * 12); gap: calc(var(--u) * 8); margin-left: 0; }
.hv .av { width: calc(var(--u) * 22); height: calc(var(--u) * 22); font-size: calc(var(--u) * 11); background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(48,209,88,.4); }
.hv .cursor { left: calc(var(--u) * 92); top: calc(var(--u) * 40); width: calc(var(--u) * 20); height: calc(var(--u) * 20); transform: translate(calc(var(--u) * 150), calc(var(--u) * 70)); transition: transform .8s var(--ease), opacity .3s; }
.hv .cursor.on { opacity: 1; }
.hv .cursor.at { transform: none; }
.hv .cursor.click { animation: clickp .3s ease; }

/* 5. la boutique : la fiche est publiée */
.hv-store { position: absolute; inset: calc(var(--u) * 14); z-index: 4; border-radius: calc(var(--u) * 16); overflow: hidden; background: #f6f4ef; color: #1c1b19;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(calc(var(--u) * 26)) scale(.97); transition: opacity .5s var(--ease), transform .8s var(--spring), visibility 0s .5s; }
.hv-win[data-stage="4"] .hv-store { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .8s var(--spring), visibility 0s; }
.st-bar { display: flex; align-items: center; gap: calc(var(--u) * 18); padding: calc(var(--u) * 11) calc(var(--u) * 16); border-bottom: 1px solid #e5e1d8; font-size: calc(var(--u) * 13); }
.st-bar b { font-weight: 700; letter-spacing: -.02em; }
.st-links { display: flex; gap: calc(var(--u) * 14); flex: 1; font-size: calc(var(--u) * 11.5); color: #8a857b; }
.st-links i { font-style: normal; }
.st-live { display: inline-flex; align-items: center; gap: calc(var(--u) * 6); font-family: var(--font-mono); font-size: calc(var(--u) * 10.5); padding: calc(var(--u) * 3) calc(var(--u) * 9); border-radius: calc(var(--u) * 6); font-weight: 500;
  background: #e4f5e8; color: #17692f; border: 1px solid #b9e2c4; }
.st-live::before { content: ""; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: #22a04b; }
.st-main { flex: 1; display: grid; grid-template-columns: calc(var(--u) * 300) minmax(0, 1fr); gap: calc(var(--u) * 22); padding: calc(var(--u) * 18); align-items: center; }
.st-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--u) * 12); }
.st-info { min-width: 0; }
.st-crumb { display: block; font-size: calc(var(--u) * 11); color: #8a857b; }
.st-info h6 { margin: calc(var(--u) * 6) 0 0; font-size: calc(var(--u) * 24); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.st-p { font-size: calc(var(--u) * 20); font-weight: 600; margin-top: calc(var(--u) * 6); }
.st-sw { display: flex; align-items: center; gap: calc(var(--u) * 6); margin-top: calc(var(--u) * 10); font-size: calc(var(--u) * 11.5); color: #6b675f; }
.st-sw i { width: calc(var(--u) * 18); height: calc(var(--u) * 18); border-radius: 50%; background: #d9b98a; box-shadow: 0 0 0 2px #f6f4ef, 0 0 0 3px #1c1b19; }
.st-sw i + i { background: #5b3f28; box-shadow: 0 0 0 1px #d8d3c8; margin-right: calc(var(--u) * 4); }
.st-info p { font-size: calc(var(--u) * 12.5); line-height: 1.5; color: #55524b; margin-top: calc(var(--u) * 12); }
.st-btn { display: flex; align-items: center; justify-content: center; height: calc(var(--u) * 40); margin-top: calc(var(--u) * 16); border-radius: calc(var(--u) * 10); background: #1c1b19; color: #f6f4ef; font-size: calc(var(--u) * 13); font-weight: 500; }
.st-pub { display: flex; align-items: center; gap: calc(var(--u) * 6); margin-top: calc(var(--u) * 10); font-size: calc(var(--u) * 11.5); color: #17692f; }
.st-pub svg { width: calc(var(--u) * 12); height: calc(var(--u) * 12); flex: none; }
.hv-toast { font-size: calc(var(--u) * 12.5); padding: calc(var(--u) * 10) calc(var(--u) * 14); gap: calc(var(--u) * 10); bottom: calc(var(--u) * 26); z-index: 5; border-radius: calc(var(--u) * 12); }
.hv-toast .dot { width: calc(var(--u) * 7); height: calc(var(--u) * 7); }

/* légende sous le visuel */
.hv-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 0 4px; font-size: 11.5px; color: var(--fg-dim); }
.hv-cap .mono { font-size: 11px; }

@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero > .wrap.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .hero-copy { max-width: 720px; }
  .hv { width: 100%; max-width: 800px; justify-self: center; }
}
@media (max-width: 640px) {
  .hero > .wrap.hero-grid { gap: 22px; padding-top: calc(var(--nav-h) + 14px); padding-bottom: 40px; }
  .hero h1 { font-size: clamp(29px, 8.3vw, 40px); margin-top: 16px; line-height: 1.06; }
  .hero .lede { margin-top: 14px; font-size: 15.5px; line-height: 1.5; }
  .hero-cta { margin-top: 20px; flex-wrap: nowrap; gap: 14px; }
  .hero-cta .btn { flex: none; height: 50px; padding: 0 20px; }
  .cta-note { font-size: 12.5px; line-height: 1.35; }
  .pill { font-size: 12px; padding: 5px 12px 5px 9px; }
  /* le visuel est redessiné pour 380 px de large */
  .hv-win { --u: calc(100cqw / 380); border-radius: calc(var(--u) * 18); }
  .hv-bar { height: calc(var(--u) * 38); padding: 0 calc(var(--u) * 10) 0 calc(var(--u) * 12); }
  .hv-bar .m-dots { display: none; }
  .hv-title { font-size: calc(var(--u) * 12); }
  .hv .status { height: calc(var(--u) * 22); font-size: calc(var(--u) * 10); padding: 0 calc(var(--u) * 8); }
  .hv-step { flex-direction: column; gap: calc(var(--u) * 3); height: calc(var(--u) * 46); font-size: calc(var(--u) * 10); }
  .hv-step .n { width: calc(var(--u) * 18); height: calc(var(--u) * 18); font-size: calc(var(--u) * 9.5); }
  .hv-body { grid-template-columns: calc(var(--u) * 158) minmax(0, 1fr); gap: calc(var(--u) * 12); padding: calc(var(--u) * 12); }
  .hv-media { gap: calc(var(--u) * 6); }
  .hv-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 6); }
  .slot:nth-child(4) { display: none; }
  .hv-tag { font-size: calc(var(--u) * 9); left: calc(var(--u) * 6); bottom: calc(var(--u) * 6); padding: calc(var(--u) * 3) calc(var(--u) * 6); }
  .crop { inset: calc(var(--u) * 7); } .crop i { width: calc(var(--u) * 16); height: calc(var(--u) * 16); }
  .crop em { font-size: calc(var(--u) * 8.5); right: calc(var(--u) * 4); top: calc(var(--u) * 4); padding: calc(var(--u) * 2) calc(var(--u) * 5); }
  .pn-h { font-size: calc(var(--u) * 13.5); margin-bottom: calc(var(--u) * 8); gap: calc(var(--u) * 6); }
  .pn-h .mono { font-size: calc(var(--u) * 8.5); }
  .pn-src .hf:first-of-type, .pn-run .pn-h { display: none; }
  .hf { margin-bottom: calc(var(--u) * 8); }
  .hl { font-size: calc(var(--u) * 10); margin-bottom: calc(var(--u) * 4); }
  .hi { height: calc(var(--u) * 32); border-radius: calc(var(--u) * 8); padding: 0 calc(var(--u) * 8); }
  .hi.url { font-size: calc(var(--u) * 9.5); }
  .hv-raw { font-size: calc(var(--u) * 9.5); padding: calc(var(--u) * 7) calc(var(--u) * 8); margin: 0 0 calc(var(--u) * 10); }
  .hv-go { height: calc(var(--u) * 34); font-size: calc(var(--u) * 11.5); padding: 0; }
  .tasks { gap: calc(var(--u) * 5); }
  .tasks li { grid-template-columns: calc(var(--u) * 24) minmax(0, 1fr) calc(var(--u) * 16); gap: calc(var(--u) * 7); padding: calc(var(--u) * 6) calc(var(--u) * 7); border-radius: calc(var(--u) * 9); }
  .ti { width: calc(var(--u) * 24); height: calc(var(--u) * 24); border-radius: calc(var(--u) * 7); }
  .ti svg { width: calc(var(--u) * 13); height: calc(var(--u) * 13); }
  .tasks b { font-size: calc(var(--u) * 12); }
  .tasks div > span { font-size: calc(var(--u) * 9.5); }
  .tasks .c { width: calc(var(--u) * 16); height: calc(var(--u) * 16); font-size: calc(var(--u) * 9); }
  .lines { margin-top: calc(var(--u) * 4); gap: calc(var(--u) * 3); } .lines i { height: calc(var(--u) * 2); }
  .lines { display: none; }
  .gauge { margin-top: calc(var(--u) * 4); height: calc(var(--u) * 3); }
  .runbar { margin-top: calc(var(--u) * 8); }
  .pn-sheet .blk-label { font-size: calc(var(--u) * 8.5); }
  .pn-sheet h5 { font-size: calc(var(--u) * 14); margin: calc(var(--u) * 3) 0 calc(var(--u) * 4); }
  .pn-sheet .typed { font-size: calc(var(--u) * 10.5); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hv-toast { display: none; }
  .cap-x { display: none; }
  .sh-row { margin-top: calc(var(--u) * 8); gap: calc(var(--u) * 6); }
  .pricebox { padding: calc(var(--u) * 4) calc(var(--u) * 8); border-radius: calc(var(--u) * 8); }
  .hv .pricebox span { font-size: calc(var(--u) * 8); }
  .hv .pricebox b { font-size: calc(var(--u) * 15); }
  .hv .chip { font-size: calc(var(--u) * 9.5); height: calc(var(--u) * 19); padding: 0 calc(var(--u) * 6); }
  .hv .chip:nth-child(n+3) { display: none; }
  .hv-val { margin-top: calc(var(--u) * 8); padding-top: calc(var(--u) * 8); gap: calc(var(--u) * 6); }
  .hv-vbtn { height: calc(var(--u) * 30); font-size: calc(var(--u) * 11); padding: 0 calc(var(--u) * 10); }
  .hv .who { display: none; }
  .hv .cursor { left: calc(var(--u) * 60); top: calc(var(--u) * 22); width: calc(var(--u) * 16); height: calc(var(--u) * 16); transform: translate(calc(var(--u) * 80), calc(var(--u) * 40)); }
  .hv-store { inset: calc(var(--u) * 8); border-radius: calc(var(--u) * 12); }
  .st-bar { padding: calc(var(--u) * 8) calc(var(--u) * 10); font-size: calc(var(--u) * 11.5); }
  .st-links { display: none; }
  .st-bar b { flex: 1; }
  .st-live { font-size: calc(var(--u) * 9); }
  .st-main { grid-template-columns: calc(var(--u) * 150) minmax(0, 1fr); gap: calc(var(--u) * 12); padding: calc(var(--u) * 10); }
  .st-crumb { font-size: calc(var(--u) * 8.5); }
  .st-info h6 { font-size: calc(var(--u) * 15); }
  .st-p { font-size: calc(var(--u) * 14); margin-top: calc(var(--u) * 3); }
  .st-sw { font-size: calc(var(--u) * 9); margin-top: calc(var(--u) * 6); gap: calc(var(--u) * 4); }
  .st-sw i { width: calc(var(--u) * 12); height: calc(var(--u) * 12); }
  .st-info p { display: none; }
  .st-btn { height: calc(var(--u) * 28); font-size: calc(var(--u) * 10.5); margin-top: calc(var(--u) * 10); border-radius: calc(var(--u) * 7); }
  .st-pub { font-size: calc(var(--u) * 9); margin-top: calc(var(--u) * 7); align-items: flex-start; }
  .hv-cap { margin-top: 8px; }
  .hv-cap .mono { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv::before { display: none; }
  .th { transition: none; }
}

/* =============================================================
   V4 — fold vertical et centré, puis le fil rouge (epiphany bridge)
   a) le texte s'allume · b) les outils flottent · c) ils convergent
   en Argos · d) le cadre blanc : du blanc sur noir au noir sur blanc
   ============================================================= */
/* ---------- fold : titre, sous-titre, bouton, puis la vidéo ---------- */
:root {
  --hvw: min(58vw, 1040px);   /* largeur de la vidéo : un peu plus de la moitié de l'écran */
  --hvk: .727;                /* hauteur / largeur du cadre vidéo (mesurée : 607 / 835) */
  --peek: .66;                /* part de la vidéo visible dans le premier écran */
}
.hero { display: block; min-height: 0; padding: 0 0 clamp(40px, 7vh, 80px); }
.hero-stack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: none; }
.hero-copy { width: 100%; max-width: 920px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--hvw) * var(--hvk) * var(--peek)); min-height: calc(100svh - var(--hvw) * var(--hvk) * var(--peek));
  padding: calc(var(--nav-h) + 6px) 0 clamp(22px, 3.6vh, 38px); }
.hero h1 { font-size: clamp(36px, min(4.7vw, 7.4vh), 74px); line-height: 1.02; margin-top: clamp(14px, 2.4vh, 24px); }
.hero h1 .line + .line { margin-top: .06em; }
.hero .lede { margin: clamp(12px, 2.2vh, 22px) auto 0; max-width: 48em; font-size: clamp(16px, min(1.2vw, 2.1vh), 17.5px); }
.hero-cta { flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(18px, 3.2vh, 32px); }
.hero-cta .cta-note { font-size: 13px; }
.hero .hv { width: var(--hvw); max-width: none; justify-self: auto; margin: 0 auto; }
.hero .hv::before { inset: 10% 4% -6%; background: radial-gradient(60% 60% at 50% 40%, rgba(230,192,104,.2), transparent 70%); filter: blur(60px); }
/* le cadre de la vidéo : un écrin de verre, comme un lecteur */
.hero .hv .ld-card { container-type: inline-size; position: relative; padding: clamp(6px, .6vw, 10px); border-radius: clamp(20px, 2vw, 30px);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 60px 140px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.35); }
.hero .hv-cap { margin-top: 14px; }

/* ---------- a) « Vous connaissez la chanson. » : le texte gris s'allume ---------- */
.story { --st-pt: clamp(110px, 18vh, 200px); --st-pb: clamp(90px, 16vh, 170px); position: relative; padding: var(--st-pt) 0 var(--st-pb); }
.story .wrap { position: relative; z-index: 1; }
/* la courbe : pleine largeur, centrée sur le bloc de texte, derrière lui */
.story-bg { position: absolute; left: 0; right: 0; top: var(--st-pt); bottom: var(--st-pb); z-index: 0; pointer-events: none; }
.story-curve { position: absolute; left: 0; top: 50%; width: 100%; height: max(190%, 66vh); transform: translateY(-50%); overflow: visible; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 44% 36% at 50% 50%, rgba(0,0,0,.32), #000); mask-image: radial-gradient(ellipse 44% 36% at 50% 50%, rgba(0,0,0,.32), #000); }
.sc-line { fill: none; stroke: url(#sc-stroke); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 99999; }
.sc-main { stroke-width: 2.5; }
.sc-glow1 { stroke-width: 7; opacity: .18; }
.sc-glow2 { stroke-width: 16; opacity: .06; }
.sc-area { fill: url(#sc-area); }
.sc-tip { opacity: 0; }
.sc-halo { fill: url(#sc-glow); transform-box: fill-box; transform-origin: center; }
.sc-dot { fill: #d1fae5; }
.story-curve.done .sc-halo { animation: scBreath 2.8s ease-in-out infinite; }
@keyframes scBreath { 50% { transform: scale(1.35); opacity: .7; } }
.story .scrub { margin: 0 auto; text-align: center; max-width: 19em; font-size: clamp(28px, 3.7vw, 56px); line-height: 1.16; letter-spacing: -.04em; }
.story .scrub p + p { margin-top: .85em; }
.story .scrub .ln { display: block; }
.story .scrub .ln + .ln { margin-top: .2em; }

/* ---------- b) la galère : les lignes arrivent, les outils flottent ---------- */
.gl { padding: 0; height: 470vh; }
.gl-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* le halo : rouge pendant la galère, bleu calme quand arrive « tout centraliser ? » (classe .calm posée par app.js) */
@property --gl-halo { syntax: "<color>"; inherits: false; initial-value: rgba(255,59,48,.2); }
.gl-sticky::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none;
  --gl-halo: rgba(255,59,48,.2); background: radial-gradient(closest-side, var(--gl-halo), transparent 70%); transition: --gl-halo .8s ease; }
.gl.calm .gl-sticky::before { --gl-halo: rgba(96,124,255,.17); }
.gl-logos { position: absolute; inset: 0; pointer-events: none; }
.lg { position: absolute; left: 50%; top: 50%; width: 0; height: 0; will-change: transform, opacity; }
.lg-a { position: absolute; left: 0; top: 0; opacity: 0; transform: translate(-50%, -50%) scale(.55); transition: opacity .55s var(--ease), transform .9s var(--spring); }
.lg.in .lg-a { opacity: 1; transform: translate(-50%, -50%); }
.lg-f { display: flex; flex-direction: column; align-items: center; gap: 9px; animation: lgFloat var(--fd, 8s) ease-in-out var(--fdl, 0s) infinite; }
@keyframes lgFloat { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(6px, -12px) rotate(1.6deg); } 65% { transform: translate(-5px, -5px) rotate(-1.2deg); } }
.lg-t { position: relative; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center;
  background: radial-gradient(110% 90% at 18% 0%, color-mix(in srgb, var(--c) 34%, transparent), transparent 62%), linear-gradient(160deg, rgba(44,43,49,.96), rgba(19,19,23,.96));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset, 0 26px 50px -22px rgba(0,0,0,.95), 0 0 46px -14px color-mix(in srgb, var(--c) 55%, transparent); }
.lg-t img { width: 32px; height: 32px; opacity: .94; }
.lg-w { width: 146px; }
.lg-w img { width: 104px; height: auto; }
.lg-txt { display: flex; justify-content: center; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #f5f5f7; }
.lg-txt svg { color: color-mix(in srgb, var(--c) 70%, #fff); }
.lg-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--fg-dim); white-space: nowrap; }
.lg-badge { position: absolute; top: -9px; right: -16px; font: 600 11px/1 var(--font-mono); padding: 5px 8px; border-radius: 999px; white-space: nowrap;
  background: #2b1515; color: #ff8a82; border: 1px solid rgba(255,69,58,.45); box-shadow: 0 6px 16px -6px rgba(255,69,58,.5); font-variant-numeric: tabular-nums; }

.gl-text { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(640px, calc(100% - 48px)); transform: translate(-50%, -50%); text-align: center;
  font-size: clamp(22px, min(2.3vw, 3.7vh), 33px); line-height: 1.3; font-weight: 600; letter-spacing: -.03em; color: var(--fg); will-change: transform, opacity; }
.gl-in { position: relative; transition: transform 1.1s var(--spring); }
.snt { display: inline-block; }
.gl-text p + p { margin-top: .5em; }
.gl-text .gl-res { margin-top: 1.25em; font-size: 1.1em; }
.gl-s { transition: opacity .7s var(--ease); }
.gl-s.past { opacity: .38; }
.gl-s .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .45s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--wi, 0) * 24ms); }
.gl-s.in .w { opacity: 1; transform: none; }
.no-js .gl-s .w { opacity: 1; transform: none; }

/* ---------- c) « Et s'il était possible de tout centraliser ? » ---------- */
.gl-q { position: absolute; inset: 0; pointer-events: none; }
.gl-qt { position: absolute; left: 50%; top: 42%; z-index: 2; width: min(960px, calc(100% - 40px)); transform: translate(-50%, -50%); opacity: 0; text-align: center;
  font-size: clamp(34px, min(5vw, 8vh), 76px); font-weight: 700; letter-spacing: -.045em; line-height: 1.03; will-change: transform, opacity; }
.gl-argos { position: absolute; left: 50%; top: 68%; width: 92px; height: 92px; margin: -46px 0 0 -46px; opacity: 0; transform: scale(.45); will-change: transform, opacity; }
.gl-argos img { position: relative; width: 100%; height: 100%; }
.gl-halo { position: absolute; inset: -80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(230,192,104,.34), rgba(230,192,104,.08) 55%, transparent 72%); }
.gl-argos::after { content: ""; position: absolute; inset: -26px; border-radius: 50%; border: 1px solid rgba(240,210,138,.5); opacity: 0; }
.gl-argos.lit::after { animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- d) le cadre blanc : un seul agent, un process limpide ---------- */
.xp { height: 400vh; }
.xp-panel { background: #f7f5f0; }
.xp-inner { max-width: 1000px; }
.xp-mark { width: 46px; height: 46px; margin: 0 auto clamp(20px, 4vh, 36px); }
.xp-g + .xp-g { margin-top: clamp(18px, 3.4vh, 34px); }
.xp-l { font-size: clamp(20px, min(2.2vw, 3.8vh), 34px); line-height: 1.22; font-weight: 600; letter-spacing: -.032em; color: #121214;
  opacity: calc(.1 + var(--k, 1) * .9); transform: translateY(calc((1 - var(--k, 1)) * 16px)); }
.xp-l + .xp-l { margin-top: .5em; }
.xp-l b { font-weight: 700; color: #8a6414; }
.xp-last { font-size: clamp(26px, min(3.2vw, 5.4vh), 50px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; margin-top: .45em !important; }
.xp-gold { background: linear-gradient(120deg, #b8862e, #d9a94f 50%, #8a6a2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light { background: #f7f5f0; padding-top: clamp(40px, 8vh, 90px); }
/* o4 et o5 : chaque ligne s'allume en deux temps, une proposition après l'autre */
.xp-split { opacity: 1; }
.xp-split > .snt { opacity: calc(.1 + var(--k, 1) * .9); }

/* ---------- d bis) les fiches qui accompagnent les phrases (construites et animées par app.js) ---------- */
.xp-inner { position: relative; z-index: 1; }
.xc-curve { top: 12%; height: 86%; transform: none; z-index: 0; opacity: 1; -webkit-mask-image: none; mask-image: none; }
.xc-curve .sc-main { stroke-width: 2.6; }
.xc-curve .sc-glow1 { opacity: .22; }
.xc-curve .sc-glow2 { opacity: .08; }
.xc-curve .sc-line { stroke: url(#xc-stroke); }
.xc-curve .sc-area { fill: url(#xc-area); }
.xc-curve .sc-halo { fill: url(#xc-glow); }
.xc-curve .sc-dot { fill: #a97b25; }
.xc-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
@property --fa { syntax: "<number>"; inherits: true; initial-value: 1; }
.xc { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.xc.still { --fa: 0; }
.xc-f { position: absolute; left: 0; top: 0; --fa: 1; transition: --fa 1s var(--ease); animation: xcFloat var(--fd, 8s) ease-in-out var(--fdl, 0s) infinite; }
.xc.still .xc-f { --fa: 0; }
@keyframes xcFloat { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(calc(var(--fa) * 4px), calc(var(--fa) * -9px)); } 70% { transform: translate(calc(var(--fa) * -3px), calc(var(--fa) * -3px)); } }
/* la fiche fournisseur, à l'horizontale */
.xc-h { position: absolute; left: calc(var(--w) / -2); top: calc(var(--hh) / -2); width: var(--w); height: var(--hh); display: flex; align-items: center; gap: 10px;
  padding: 0 12px 0 calc((var(--hh) - var(--th)) / 2); border-radius: 14px; background: #fff; border: 1px solid #e7e2d8;
  box-shadow: 0 1px 0 #fff inset, 0 18px 36px -22px rgba(60,45,20,.38), 0 2px 6px -3px rgba(60,45,20,.12); color: #121214; }
.xc-th { position: relative; flex: none; width: var(--th); height: var(--th); border-radius: 7px; overflow: hidden; background: #ece8df; }
.xc-th img, .xc-w { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xc-w { overflow: hidden; transform: translateY(-100%); }
.xc-w img { transform: translateY(100%); }
.xc-w::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #e6c068 20%, #fff 50%, #e6c068 80%, transparent); box-shadow: 0 0 10px 2px rgba(230,192,104,.7); opacity: var(--scan, 0); }
.xc-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.xc-tx b { font-size: 12.5px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-tx .mono { font-size: 10px; color: #8a8a91; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-shop { position: absolute; right: 10px; top: -9px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 7px; border-radius: 999px; background: #121214; color: #f5f5f7;
  font-size: 10px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; opacity: 0; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
.xc-shop i { width: 5px; height: 5px; border-radius: 50%; background: #e6c068; }
/* le visuel : il naît sur la miniature et devient l'image */
.xc-v { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 16px; overflow: hidden; background: #ece8df; opacity: 0;
  box-shadow: 0 0 0 1px rgba(60,45,20,.07), 0 26px 46px -26px rgba(60,45,20,.5), 0 4px 10px -6px rgba(60,45,20,.18); transform-origin: 50% 50%; will-change: transform, opacity; }
.xc-v > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xc-vc { opacity: 0; }
/* infographie : trois repères, traits fins, typographie du site */
.xc-info { position: absolute; inset: 0; opacity: 0; }
.xc-info svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xc-info line { stroke: rgba(18,18,20,.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.xc-info i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #121214; box-shadow: 0 0 0 2.5px rgba(255,255,255,.9); }
.xc-info em { position: absolute; transform: translate(-50%, -50%); font-style: normal; white-space: nowrap; font-size: 10.5px; font-weight: 600; letter-spacing: -.01em; color: #121214;
  padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid rgba(18,18,20,.12); box-shadow: 0 4px 10px -6px rgba(0,0,0,.25); line-height: 1.25; text-align: center; }
/* règles de la boutique, posées sur la fiche */
.xc-pills { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.xc-p { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(255,255,255,.93); border: 1px solid rgba(138,100,20,.22);
  color: #121214; font-size: 10.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; box-shadow: 0 4px 12px -6px rgba(60,45,20,.35); }
.xc-p::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #c9973c; }
/* validation : tampon, puis badge « En ligne » (le vert du badge EN LIGNE du héros) */
.xc-stamp { position: absolute; left: 50%; top: 42%; padding: 5px 10px; border-radius: 8px; border: 1.5px solid #8a6414; color: #8a6414; background: rgba(255,251,240,.9);
  font: 700 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; opacity: 0; box-shadow: 0 8px 20px -10px rgba(60,45,20,.5); }
.xc-live { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; font: 500 10px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 6px; background: #e4f5e8; color: #17692f; border: 1px solid #b9e2c4; opacity: 0; }
.xc-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22a04b; }
/* compteur de fiches */
.xc-count { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-size: 12px; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid #e7e2d8; color: #8a8a91;
  box-shadow: 0 10px 24px -16px rgba(60,45,20,.45); font-variant-numeric: tabular-nums; }
.xc-count b { color: #121214; font-weight: 600; }
/* le champ où l'on colle le lien */
.xc-in { position: absolute; left: 0; top: 0; width: var(--iw, 380px); height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 6px 0 14px; opacity: 0;
  border-radius: 12px; background: #fff; border: 1px solid #e2ddd2; box-shadow: 0 1px 0 #fff inset, 0 16px 34px -22px rgba(60,45,20,.45); color: #8a8a91; }
.xc-in svg { flex: none; }
.xc-url { position: relative; flex: 1; min-width: 0; height: 22px; font-size: 12.5px; }
.xc-url > span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: opacity .25s ease; }
.xc-ph { color: #a9a6a0; font-family: var(--font-sans); }
.xc-ph::after { content: ""; display: inline-block; width: 1px; height: 14px; margin-left: 3px; vertical-align: -2px; background: #121214; animation: xcCaret 1s steps(1) infinite; }
@keyframes xcCaret { 50% { opacity: 0; } }
.xc-lk { color: #121214; opacity: 0; padding: 1px 3px; margin-left: -3px; border-radius: 4px; transition: opacity .2s ease, background-color .6s ease; }
.xc-in.pasted .xc-ph { opacity: 0; }
.xc-in.pasted .xc-lk { opacity: 1; }
.xc-in.sel .xc-lk { background-color: rgba(230,192,104,.35); }
.xc-go { flex: none; height: 32px; padding: 0 13px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: #8a8a91; background: #f1eee7; transition: background .3s ease, color .3s ease, transform .2s var(--spring); }
.xc-in.pasted .xc-go { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1206; }
.xc-in.go .xc-go { transform: scale(.94); }
/* commandes du climax */
.xc-n { position: absolute; left: 0; top: 0; width: var(--nw, 230px); display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; opacity: 0;
  border-radius: 12px; background: rgba(255,255,255,.96); border: 1px solid #e7e2d8; box-shadow: 0 18px 34px -20px rgba(60,45,20,.5); color: #121214; }
.xc-n img { flex: none; width: 32px; height: 32px; border-radius: 7px; object-fit: cover; }
.xc-n > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.xc-n b { font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-n b em { font-style: normal; color: #8a6414; }
.xc-n > span > span { font-size: 10.5px; color: #8a8a91; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-layer.narrow .xc-n b { font-size: 10.5px; }
.xc-layer.narrow .xc-n > span > span { font-size: 10px; }
/* téléphone : fiches plus petites, dans la bande sous le texte */
.xc-layer[data-mode="band"] .xc-h { gap: 7px; border-radius: 10px; padding-right: 8px; }
.xc-layer[data-mode="band"] .xc-th { border-radius: 5px; }
.xc-layer[data-mode="band"] .xc-tx b { font-size: 11px; }
.xc-layer[data-mode="band"] .xc-tx .mono { font-size: 9px; }
.xc-layer[data-mode="band"] .xc-shop { font-size: 8.5px; line-height: 1.25; top: auto; right: auto; left: calc((var(--hh) - var(--th)) / 2 + var(--th) + 5px); bottom: 3px; padding: 1px 6px 1px 5px; gap: 4px; box-shadow: none; }
.xc-layer[data-mode="band"] .xc-shop i { width: 4px; height: 4px; }
.xc-layer[data-mode="band"] .xc-v { border-radius: 11px; }
.xc-layer[data-mode="band"] .xc-pills { left: 5px; right: 5px; bottom: 5px; }
.xc-layer[data-mode="band"] .xc-p { font-size: 8.5px; padding: 2px 5px 2px 4px; gap: 3px; }
.xc-layer[data-mode="band"] .xc-p:nth-child(2) { display: none; }
.xc-layer[data-mode="band"] .xc-p::before { width: 4px; height: 4px; }
.xc-layer[data-mode="band"] .xc-stamp { font-size: 8.5px; padding: 3px 5px; border-width: 1px; border-radius: 5px; }
.xc-layer[data-mode="band"] .xc-live { font-size: 8px; padding: 2px 4px; right: 4px; top: 4px; gap: 3px; }
.xc-layer[data-mode="band"] .xc-live::before { width: 4px; height: 4px; }
.xc-layer[data-mode="band"] .xc-count { font-size: 11px; padding: 5px 9px; }
.xc-layer[data-mode="band"] .xc-in { height: 36px; gap: 7px; padding: 0 4px 0 10px; border-radius: 10px; }
.xc-layer[data-mode="band"] .xc-url { font-size: 11px; }
.xc-layer[data-mode="band"] .xc-go { height: 28px; padding: 0 10px; font-size: 11.5px; }
.xc-layer[data-mode="band"] .xc-n { padding: 5px 9px 5px 5px; }
.xc-layer[data-mode="band"] .xc-n img { width: 28px; height: 28px; }
.light-head p.xp-eb { margin: 0 0 16px; font-size: 12px; color: #9a7222; }
.story .scrub, .gl-text p, .gl-qt, .xp-l, .snt, main h2 { text-wrap: balance; }

/* ---------- avant / après : une seule colonne de preuves ---------- */
#avant-apres .vs-col ul { gap: 12px; }

/* écrans bas (1280 × 720…) : on resserre le haut pour garder les deux tiers de la vidéo visibles */
@media (min-width: 641px) and (max-height: 800px) {
  .hero-pill { display: none; }
  .hero h1 { font-size: clamp(34px, min(4.7vw, 6.6vh), 74px); margin-top: 0; }
  .hero-copy { padding-bottom: 18px; }
  .hero-cta { margin-top: 18px; }
}
@media (max-width: 1080px) {
  :root { --hvw: min(86vw, 860px); }
  .gl-text { width: min(560px, calc(100% - 48px)); }
}
@media (max-width: 640px) {
  :root { --hvw: calc(100vw - 32px); --hvk: .857; --peek: .7; }
  .hero-copy { padding-top: calc(var(--nav-h) + 16px); }
  .hero h1 { font-size: clamp(34px, 10.4vw, 46px); margin-top: 18px; }
  .hero .lede { font-size: 16px; margin-top: 16px; padding-inline: 4px; }
  .hero-cta { flex-wrap: wrap; margin-top: 24px; }
  .hero-cta .btn { flex: none; height: 52px; padding: 0 26px; }
  .hero .hv .ld-card { padding: 5px; border-radius: 18px; }
  .story .scrub { font-size: clamp(27px, 8.2vw, 36px); max-width: 12em; }
  .gl { height: 430vh; }
  .gl-text { width: calc(100% - 32px); font-size: clamp(18px, 5vw, 21px); line-height: 1.34; }
  .gl-text p + p { margin-top: .45em; }
  .gl-text .gl-res { margin-top: .9em; }
  .lg-t { width: 48px; height: 48px; border-radius: 14px; }
  .lg-t img { width: 22px; height: 22px; }
  .lg-w { width: 104px; }
  .lg-w img { width: 74px; }
  .lg-txt { font-size: 13px; gap: 6px; }
  .lg-txt svg { width: 14px; height: 14px; }
  .lg-f { gap: 6px; }
  .lg-n { font-size: 9.5px; }
  .lg-badge { font-size: 9.5px; padding: 4px 6px; top: -8px; right: -14px; }
  .gl-qt { font-size: clamp(32px, 9.4vw, 42px); top: 40%; }
  .gl-argos { width: 74px; height: 74px; margin: -37px 0 0 -37px; top: 64%; }
  .xp { height: 400vh; }
  .xp-inner { padding: 0 20px; }
  .xp-mark { width: 38px; height: 38px; }
  .xp-l { font-size: clamp(19px, 5.4vw, 23px); }
  .xp-last { font-size: clamp(25px, 7.6vw, 32px); }
}

/* ---------- mouvement réduit : tout est lisible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .gl { height: auto; }
  .gl-sticky { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 40px 0 120px; }
  .gl-logos { position: relative; inset: auto; order: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; max-width: 900px; padding: 0 16px; }
  .lg, .lg-a { position: relative; left: auto; top: auto; width: auto; height: auto; opacity: 1 !important; transform: none !important; }
  .lg-f { animation: none; }
  .gl-text { position: relative; left: auto; top: auto; order: 1; transform: none !important; opacity: 1 !important; }
  .gl-s .w { opacity: 1; transform: none; }
  .gl-s.past { opacity: 1; }
  .gl-q { position: relative; inset: auto; order: 3; display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .gl-qt, .gl-argos { position: relative; left: auto; top: auto; margin: 0; opacity: 1 !important; transform: none !important; }
  .xp { height: auto; }
  .xp-panel { --o0: 1; --o1: 1; --o2: 1; --o3: 1; --o4: 1; --o4b: 1; --o5: 1; --o5b: 1; }
  .xp-l, .xp-split > .snt { opacity: 1; transform: none; }
  /* les fiches : l'état final, immobile — huit visuels publiés sous le texte */
  .xc-curve, .xc-h, .xc-count, .xc-in, .xc-n, .xc-stamp, .xc-info, .xc-pills { display: none; }
  .xp-panel { grid-template-rows: auto auto; }
  .xc-layer { position: relative; inset: auto; grid-row: 2; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; width: min(1000px, calc(100% - 40px)); margin: 40px auto 0; }
  .xc, .xc-f { position: relative; width: auto; height: auto; opacity: 1; transform: none; animation: none; }
  .xc-v { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 1; opacity: 1; transform: none; }
  .xc-vc, .xc-live { opacity: 1; }
  .xc-live { top: auto; right: auto; left: 6px; bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .xc-layer { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .xc-live { font-size: 8px; padding: 2px 4px; left: 4px; bottom: 4px; gap: 3px; }
}

/* rendez-vous : les deux boutons côte à côte sur ordinateur (la colonne du héros ne s'applique pas ici) */
@media (min-width: 641px) { .cta-card .hero-cta { flex-direction: row; } }

/* course du gain : les bandes de la barre « Avant Argos » défilent en continu. Motif posé sur une tuile carrée de 28 px
   qui se raccorde parfaitement : sans elle, le dégradé couvrait toute la barre et sa répétition laissait une jointure visible en défilant. */
@keyframes race-stripes { from { background-position: 0 0; } to { background-position: 28px 0; } }
.race-bar.hand i { background: linear-gradient(135deg, rgba(255,255,255,.14) 25%, rgba(255,255,255,.07) 25% 50%, rgba(255,255,255,.14) 50% 75%, rgba(255,255,255,.07) 75%);
  background-size: 28px 28px; animation: race-stripes 1.1s linear infinite; }
/* la barre rayée se dévoile par un masque (clip-path) au lieu d'un scaleX : l'échelle écrasait les rayures pendant la pousse */
.race-bar.hand i { transform: none; clip-path: inset(0 100% 0 0 round 9px); }
.race.in .race-bar.hand i { transform: none; clip-path: inset(0 12.5% 0 0 round 9px); transition: clip-path 5.5s cubic-bezier(.3,.1,.3,1) .4s; }
@media (prefers-reduced-motion: reduce) { .race-bar.hand i { animation: none; } }

/* rendez-vous sur téléphone : la section est moins haute que la lueur (680 px + flou de 110 px), qui se coupait net sur ses bords */
@media (max-width: 640px) { #rendez-vous .glow { width: 360px !important; height: 360px !important; margin-left: -180px !important; margin-top: -180px !important; } }

/* =============================================================
   argos-agent.com — sélecteur de langue (nav + pied de page)
   ============================================================= */
.lang-sw { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-mono); }
.nav-links .lang-sw { margin-left: 8px; }
.lang-sw a, .nav-links .lang-sw a:not(.btn) { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 7px; font-size: 11.5px; line-height: 1; letter-spacing: .04em; color: var(--fg-muted); transition: color .2s, background-color .2s; }
.nav-links .lang-sw a:not(.btn)::after { display: none; }
.lang-sw a:hover { color: var(--fg); }
.lang-sw a[aria-current] { color: var(--fg); background: rgba(255,255,255,.08); }
.foot .lang-sw a { font-size: 12px; padding: 5px 9px; }
@media (max-width: 640px) {
  .nav-links .lang-sw { margin-left: 0; }
  .nav-links .lang-sw a:not(.btn) { padding: 4px 6px; font-size: 11px; }
  .nav .btn { margin-left: 6px; }
}
