/* Legatus — site « Verre Nocturne » : mêmes couleurs, verre et nébuleuse que l'application. */
:root {
  color-scheme: dark;
  --bg: #0B0A1A;
  --solid: #15102C;
  --panel: rgba(255, 255, 255, .055);
  --panel2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .12);
  --hi: rgba(255, 255, 255, .10);
  --text: #F3F1FF;
  --muted: #A7A0CC;
  --dim: #7E77A6;
  --accent: #8B6CFF;
  --accent2: #B46CFF;
  --pink: #FF7AC2;
  --ok: #3FE0C5;
  --warn: #FFB86B;
  --err: #FF5C7A;
  --accentSoft: rgba(139, 108, 255, .18);
  --grad: linear-gradient(135deg, #8B6CFF, #B46CFF 55%, #FF7AC2);
  --display: "Space Grotesk", "Segoe UI Variable Display", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Nébuleuse fixe, comme dans l'appli (dégradés sans flou : léger pour le GPU). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(139, 108, 255, .34), transparent 62%),
    radial-gradient(700px 520px at 92% 18%, rgba(255, 122, 194, .18), transparent 62%),
    radial-gradient(800px 600px at 70% 92%, rgba(63, 224, 197, .12), transparent 62%),
    radial-gradient(900px 700px at 0% 100%, rgba(80, 60, 200, .26), transparent 62%),
    linear-gradient(160deg, #0B0A1A, #1B1036);
}
#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: #C9B8FF; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, img:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
button, input, select { font: inherit; }
section[id] { scroll-margin-top: 96px; }
::selection { background: rgba(139, 108, 255, .45); }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 48px)); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

/* ---------- En-tête en verre ---------- */
.top { position: sticky; top: 12px; z-index: 50; padding: 0 12px; }
.top-in {
  display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 12px 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(20, 15, 44, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--hi), 0 20px 50px -30px rgba(0, 0, 0, .8);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img, .demo-brand img { filter: hue-rotate(215deg) saturate(1.3) drop-shadow(0 4px 12px rgba(139, 108, 255, .6)); }
.brand img { width: 30px; height: 30px; }
.brand > span:first-of-type { font: 700 19px/1 var(--display); letter-spacing: .01em; }
.brand-mark { font: 600 10px/1 var(--body); letter-spacing: .18em; color: var(--muted); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--panel2); }
.lang select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 8px 34px 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A7A0CC' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.lang option { background: var(--solid); color: var(--text); }

/* ---------- Typo ---------- */
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h1, .section-head h2, .final h2 {
  background: linear-gradient(180deg, #FFFFFF 30%, #C9B8FF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #C9B8FF;
}
.eyebrow-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 224, 197, .18), 0 0 18px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Boutons pilules ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; isolation: isolate;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: var(--grad); box-shadow: 0 14px 40px -12px rgba(139, 108, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary::after { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: var(--grad); filter: blur(18px); opacity: 0; transition: opacity .3s; }
.btn.primary:hover::after { opacity: .7; }
.btn.secondary { color: var(--text); background: var(--panel); border-color: var(--line); box-shadow: inset 0 1px 0 var(--hi); backdrop-filter: blur(10px); }
.btn.secondary:hover { background: var(--panel2); border-color: rgba(201, 184, 255, .4); }
.btn.secondary span:last-child { color: #C9B8FF; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Héros + scène 3D ---------- */
.hero { padding: 72px 0 40px; overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; min-height: min(680px, calc(100vh - 120px)); }
.hero-copy .cta { margin-top: 36px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 13.5px; color: var(--muted); }
.badges li span:first-child { color: var(--ok); }

.scene { position: relative; height: 560px; perspective: 1100px; display: grid; place-items: center; }
.halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 108, 255, .55), rgba(255, 122, 194, .18) 45%, transparent 70%); animation: breathe 6s ease-in-out infinite; }
.orbit { position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 1px solid rgba(201, 184, 255, .22); transform: rotateX(72deg) rotateZ(0); animation: spin 22s linear infinite; }
.orbit.o2 { width: 380px; height: 380px; border-color: rgba(63, 224, 197, .2); transform: rotateX(72deg) rotateY(-18deg); animation-duration: 15s; animation-direction: reverse; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px var(--accent); }
.orbit.o2 i { background: var(--ok); box-shadow: 0 0 14px 4px var(--ok); }
.rig { position: relative; width: 260px; height: 312px; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; animation: float 7s ease-in-out infinite; }
.shield { position: absolute; inset: 0; transform-style: preserve-3d; }
.shield .layer, .shield .gloss, .shield .face { position: absolute; inset: 0; clip-path: path("M130 6C170 22 210 30 250 32V140C250 210 200 268 130 306C60 268 10 210 10 140V32C50 30 90 22 130 6Z"); }
.shield .layer { background: linear-gradient(115deg, hsl(256 80% calc(72% - var(--z) * 1.3%)), hsl(266 62% calc(36% - var(--z) * .7%)) 60%, hsl(320 60% calc(48% - var(--z) * .8%))); transform: translateZ(calc(var(--z) * -1px)); }
.shield .layer.back { background: linear-gradient(135deg, #1D1442, #0F0A24); }
.shield .face { transform: translateZ(1px); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .4)); }
.shield .gloss {
  transform: translateZ(2px); pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(260px 220px at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), rgba(201, 184, 255, .12) 40%, transparent 65%);
}
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(30, 22, 64, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font: 600 13px/1 var(--body); font-variant-numeric: tabular-nums; color: var(--text);
  box-shadow: inset 0 1px 0 var(--hi), 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.chip.c1 { top: 18px; left: -128px; transform: translateZ(90px); }
.chip.c2 { top: 150px; right: -150px; transform: translateZ(130px); }
.chip.c3 { bottom: 6px; left: -96px; transform: translateZ(60px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px currentColor; }
.dot.ok { background: var(--ok); color: var(--ok); }
.dot.err { background: var(--err); color: var(--err); }
.dot.acc { background: var(--accent2); color: var(--accent2); }
.floor { position: absolute; bottom: 34px; width: 280px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 6, 30, .75), transparent); animation: shadow 7s ease-in-out infinite; }

/* ---------- Aperçu de l'appli (carte inclinable) ---------- */
.showcase { padding: 40px 0 30px; }
.stage { perspective: 1600px; }
.demo-card {
  position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 var(--hi), 0 60px 120px -50px rgba(70, 40, 180, .8), var(--shadow);
}
.demo-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.demo-brand { display: flex; align-items: center; gap: 10px; font: 700 15px/1 var(--display); }
.demo-version { font: 600 10px/1 var(--body); letter-spacing: .16em; color: var(--muted); padding: 4px 8px; border-radius: 999px; background: var(--accentSoft); }
.system-status, .demo-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.system-status i, .demo-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.demo-body { padding: 24px; }
.demo-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.demo-kicker { font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #C9B8FF; }
.demo-heading h2 { margin-top: 8px; font-size: clamp(22px, 2.4vw, 30px); }
.demo-live { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(63, 224, 197, .3); background: rgba(63, 224, 197, .08); color: #B6FFF2; }
.view-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 999px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.view-btn { border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .2s, background .2s; }
.view-btn:hover { color: var(--text); }
.view-btn[aria-selected="true"] { color: #fff; background: var(--grad); box-shadow: 0 8px 24px -10px rgba(139, 108, 255, .9); }
.shot { margin: 0; }
.hero-shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.hero-shot img { width: 100%; transition: opacity .25s, transform .4s; }
.hero-shot img.is-changing { opacity: .35; transform: scale(.99); }
.hero-shot figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 10, 26, .72); backdrop-filter: blur(10px); font-size: 12.5px; color: var(--text); border: 1px solid var(--line); }
.capture-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--err); box-shadow: 0 0 10px var(--err); }
.demo-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.demo-foot-mark { font: 600 11px/1.6 var(--body); letter-spacing: .18em; color: var(--dim); }

/* Reflet qui suit le pointeur sur les cartes inclinables. */
[data-tilt] { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 184, 255, .16), transparent 60%);
}
[data-tilt].tilting::after { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.band { position: relative; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; margin-bottom: 56px; }
.section-intro { color: var(--muted); font-size: 17px; max-width: 520px; }
.section-head-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head-center .section-intro { margin-top: -20px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 var(--hi);
}
.feat:hover { border-color: rgba(201, 184, 255, .32); }
.feat-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px;
  font-size: 22px; color: #fff; background: var(--grad); box-shadow: 0 12px 30px -10px rgba(139, 108, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .4);
  transform: translateZ(30px);
}
.feat h3 { transform: translateZ(20px); }
.feat p { margin-top: 10px; color: var(--muted); font-size: 15px; transform: translateZ(10px); }
.feat:nth-child(3n+2) .feat-icon { background: linear-gradient(135deg, #3FE0C5, #8B6CFF); }
.feat:nth-child(3n) .feat-icon { background: linear-gradient(135deg, #FF7AC2, #B46CFF); }

.rhythm { padding: 30px 0; }
.rhythm-in {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 48px;
  border-radius: 30px; border: 1px solid var(--line); overflow: hidden; position: relative;
  background: radial-gradient(600px 300px at 0% 0%, rgba(139, 108, 255, .25), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(63, 224, 197, .14), transparent 70%), rgba(255, 255, 255, .03);
}
.rhythm-copy h2 { font-size: clamp(28px, 3.4vw, 42px); }
.rhythm-copy > p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; }
.rhythm-note { display: flex; gap: 14px; padding: 22px; border-radius: 18px; background: rgba(255, 184, 107, .08); border: 1px solid rgba(255, 184, 107, .28); }
.note-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--warn); color: #2A1600; font-weight: 800; }
.rhythm-note p { color: #FFE2C2; font-size: 14.5px; }

.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); position: relative; }
.step:has(.step-shot) { grid-template-columns: .8fr 1.2fr; align-items: center; }
.step-text { display: flex; gap: 20px; align-items: flex-start; }
.step-index { flex: none; font: 700 40px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin-top: 8px; color: var(--muted); }
.step-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: center; margin-top: 36px; padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(139, 108, 255, .14), rgba(255, 255, 255, .03)); }
.video-copy h3 { font-size: 26px; }
.video-copy p:last-child { margin-top: 12px; }
.video-card video { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #000; }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.plan { position: relative; padding: 32px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); box-shadow: inset 0 1px 0 var(--hi); }
.plan.trial { background: radial-gradient(400px 260px at 0% 0%, rgba(139, 108, 255, .35), transparent 70%), linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border-color: rgba(201, 184, 255, .35); }
.plan.calc::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.plan h3 { font-size: 24px; margin-top: 14px; }
.plan .btn { width: 100%; margin-top: 26px; }
.plan-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accentSoft); color: #C9B8FF; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.plan-tag span:first-child { color: var(--pink); }
.amount { margin-top: 14px; font: 700 clamp(40px, 4.6vw, 56px)/1 var(--display); letter-spacing: -.03em; }
.plan-desc, #calcSoon > p { margin-top: 12px; color: var(--muted); }
#calcBody, #calcSoon { margin-top: 18px; }
#calcBody[hidden], #calcSoon[hidden], [hidden] { display: none !important; }
.field { display: grid; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.seg button { flex: 1; min-width: 56px; padding: 10px 12px; border: 0; border-radius: 12px; cursor: pointer; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.seg button[aria-checked="true"] { color: #fff; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(139, 108, 255, .9); }
.total-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.total-row .amount { margin: 0; background: linear-gradient(180deg, #fff, #C9B8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.machine-field { margin-top: 22px; }
.machine-field label { color: var(--text); font-weight: 600; margin-top: 6px; }
.machine-field input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s; }
.machine-field input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 108, 255, .25); }
.machine-field p { font-size: 13px; }
.checkout-note { margin-top: 14px; font-size: 13px; }
.payment-notice { margin-top: 20px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(255, 184, 107, .35); background: rgba(255, 184, 107, .08); color: #FFE2C2; }
.license-delivery { display: grid; gap: 12px; margin-top: 20px; padding: 22px; border-radius: 20px; border: 1px solid rgba(63, 224, 197, .35); background: rgba(63, 224, 197, .07); }
.license-delivery[hidden] { display: none; }
.license-delivery code { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); font: 600 15px/1.4 "Cascadia Mono", Consolas, monospace; color: #B6FFF2; word-break: break-all; }
.price-table-card { margin-top: 24px; padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); }
.table-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.table-heading .eyebrow { margin-bottom: 10px; }
.table-discount { padding: 7px 12px; border-radius: 999px; background: rgba(63, 224, 197, .1); color: #B6FFF2; font-size: 13px; font-weight: 600; }
.price-table-wrap { overflow-x: auto; }
#priceTable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#priceTable th, #priceTable td { padding: 13px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
#priceTable thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
#priceTable tbody th { text-align: left; color: #C9B8FF; }
#priceTable tbody td { font-weight: 500; }
#priceTable tbody tr:last-child th, #priceTable tbody tr:last-child td { border-bottom: 0; }
#priceTable tbody tr { transition: background .2s; }
#priceTable tbody tr:hover { background: rgba(139, 108, 255, .08); }
#priceTable th:first-child, #priceTable td:first-child { text-align: left; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.perks li { display: inline-flex; align-items: center; gap: 10px; }
.perks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(63, 224, 197, .15); color: var(--ok); font-size: 12px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
details { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: background .25s, border-color .25s; }
details[open] { background: var(--panel2); border-color: rgba(201, 184, 255, .3); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accentSoft); color: #C9B8FF; font-size: 18px; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Fin ---------- */
.final { padding: 40px 0 110px; }
.final-in {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 56px;
  border-radius: 32px; border: 1px solid rgba(201, 184, 255, .3);
  background: radial-gradient(700px 360px at 100% 0%, rgba(255, 122, 194, .25), transparent 70%), radial-gradient(700px 360px at 0% 100%, rgba(139, 108, 255, .4), transparent 70%), rgba(255, 255, 255, .03);
}
.final h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 640px; }
.final .cta { flex: none; }
.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 10px; text-align: center; }
.foot p { font-size: 13.5px; }
.footer-warning { color: var(--muted); }
.footer-links { display: flex; justify-content: center; gap: 10px; color: var(--dim); }
.footer-links a { color: #C9B8FF; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- Apparition au défilement (seulement si fx.js tourne) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 -10px; } 50% { translate: 0 10px; } }
@keyframes shadow { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes spin { to { transform: rotateX(72deg) rotateZ(360deg); } }
.orbit.o2 { animation-name: spin2; }
@keyframes spin2 { from { transform: rotateX(72deg) rotateY(-18deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(-18deg) rotateZ(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- Adaptatif ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .hero-copy .cta, .badges { justify-content: center; }
  .scene { height: 470px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .price-grid, .video-card, .rhythm-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap, .narrow { width: calc(100% - 28px); }
  .top { top: 8px; padding: 0 8px; }
  .top-in { height: 58px; gap: 12px; }
  .brand-mark { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 48px; }
  .scene { height: 400px; }
  .rig, .halo, .orbit { scale: .78; }
  .chip.c1 { left: -70px; } .chip.c2 { right: -80px; } .chip.c3 { left: -40px; }
  .section { padding: 76px 0; }
  .grid { grid-template-columns: 1fr; }
  .step, .step:has(.step-shot) { grid-template-columns: 1fr; padding: 22px; }
  .demo-body { padding: 16px; }
  .demo-heading { flex-direction: column; align-items: flex-start; }
  .rhythm-in, .final-in { padding: 30px 24px; }
  .final-in { flex-direction: column; align-items: flex-start; }
  .table-heading { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-copy .cta { width: 100%; }
  .hero-copy .cta .btn, .final .cta, .final .cta .btn { width: 100%; }
  .scene { height: 340px; }
  .rig, .halo, .orbit { scale: .64; }
  .chip { font-size: 12px; padding: 7px 10px; }
  .system-status { display: none; }
  .view-tabs { display: flex; border-radius: 18px; }
  .view-btn { flex: 1 1 40%; padding: 8px 10px; }
  .demo-foot-mark { display: none; }
  .plan, .price-table-card { padding: 22px; }
  .seg button { min-width: 44px; padding: 9px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
