/* Site de vente de Nebula. Une seule règle de couleur, celle de l'appli : l'accent ne colore que ce qui est appuyé. */
@font-face {
  font-family: 'Police';
  src: url('fonts/police.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #000;
  --surface: #16171b;
  --surface-2: #1b1c20;
  --t1: #f5f5f7;
  --t2: #a1a1a6;
  --t3: #6e6e73;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8b5cf6;
  --c1: #8b5cf6;
  --c2: #e879f9;
  --nav: 56px;
  --gut: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: 'Police', 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sec: clamp(104px, 13vw, 190px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font: 400 17px/1.5 var(--font);
  color: var(--t1);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[id] { scroll-margin-top: var(--nav); }
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.l { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Fond : l'espace ---------- */
/* Noir pur et les petites étoiles clairsemées de l'image de fond faite par Steven, redessinées nettes par site.js (rien
   ne scintille, rien ne bouge). Le fond reste en place quand la page défile. Deux nébuleuses lointaines d'après la
   sienne, douces, aux couleurs du thème : l'une à côté de l'icône du haut, l'autre derrière la phrase de fin. Elles
   apparaissent en fondu, une fois dessinées. */
.space { position: fixed; left: 0; top: 0; z-index: -1; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; }
.space canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease-out; }
.space canvas.is-on, .neb.is-on { opacity: 1; }
.neb { position: absolute; z-index: -1; pointer-events: none; translate: -50% -50%; opacity: 0; filter: blur(4px); transition: opacity 1.2s ease-out; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 8px; }

@media (hover: hover) and (min-width: 761px) { .for-phone { display: none !important; } }
@media (hover: none), (max-width: 760px) { .for-pc { display: none !important; } }

h1, h2 {
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.03;
  text-wrap: balance;
}
h1 { font-size: clamp(3.3rem, 6.3vw, 6rem); }
h2 { font-size: clamp(2.6rem, 5.1vw, 4.6rem); }

/* Accent nébuleuse, repris de la version du 09.11 (style.css, classe .nb) : un mot clé par grand titre, en dégradé
   clair -> couleur -> seconde couleur du thème, avec une petite aura floue derrière, façon galaxie. */
h1, h2, .proof-q p { isolation: isolate; }
.nb {
  position: relative;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c1) 22%, #fff) 0%, color-mix(in srgb, var(--c1) 82%, #fff) 50%, color-mix(in srgb, var(--c2) 80%, #fff) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.nb::before {
  content: ''; position: absolute; z-index: -1; inset: -0.16em -0.52em; border-radius: 50%; pointer-events: none;
  background: radial-gradient(54% 62% at 38% 56%, color-mix(in srgb, var(--c1) 36%, transparent), transparent 76%), radial-gradient(46% 56% at 70% 42%, color-mix(in srgb, var(--c2) 21%, transparent), transparent 78%);
  filter: blur(0.42em); opacity: 0.8;
}
/* Mot clé qui passe sur deux lignes (titre des macros sur PC) : chaque morceau garde son dégradé et porte sa propre aura,
   peinte en fond autour du texte au lieu d'un calque flou. */
.nb-2 {
  padding: 0.2em 0.62em; margin: 0 -0.62em;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--c1) 22%, #fff) 0%, color-mix(in srgb, var(--c1) 82%, #fff) 50%, color-mix(in srgb, var(--c2) 80%, #fff) 100%) content-box,
    radial-gradient(closest-side at 40% 56%, color-mix(in srgb, var(--c1) 26%, transparent), color-mix(in srgb, var(--c1) 10%, transparent) 55%, transparent) padding-box,
    radial-gradient(closest-side at 68% 44%, color-mix(in srgb, var(--c2) 15%, transparent), color-mix(in srgb, var(--c2) 6%, transparent) 55%, transparent) padding-box;
  -webkit-background-clip: text, padding-box, padding-box; background-clip: text, padding-box, padding-box;
}
.nb-2::before { display: none; }
@media (forced-colors: active) {
  .nb { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; }
  .nb::before { display: none; }
}

/* Boutons : blancs au repos, accent au moment de l'appui, comme une touche. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-1 { background: var(--t1); color: #000; }
.btn-1:hover { background: #fff; }
.btn-1:active { background: var(--accent); color: #fff; }
.btn-2 { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); color: var(--t1); }
.btn-2:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65); }
.btn-2:active { background: var(--accent); box-shadow: none; color: #fff; }
.btn-sm { height: 34px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 34px; font-size: 18px; }

/* ---------- Barre ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav); z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(1.5) blur(20px);
  backdrop-filter: saturate(1.5) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
/* Trois colonnes : le nom à gauche, les liens au centre de la barre, le bouton à droite. */
.nav-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 100%; }
.brand { position: relative; justify-self: start; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.nav-links { grid-column: 2; display: flex; gap: 32px; font-size: 14px; color: var(--t2); }
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 16px; transition: opacity 0.25s, visibility 0.25s; }
.js .nav-cta { opacity: 0; visibility: hidden; }
.js .nav-cta.is-on { opacity: 1; visibility: visible; }
.nav-discord { color: var(--t2); display: grid; place-items: center; transition: color 0.15s; }
.nav-discord:hover { color: #fff; }

/* ---------- 1. Hero ---------- */
.hero {
  /* Pas d'isolation : la fusion « screen » du logo Nebula.exe doit voir la lueur de la page derrière elle,
     sinon le noir du logo masque cette lueur et on voit le rectangle du bouton pendant le défilement. */
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav) + 40px) 0 64px;
}
/* Fond du haut, fixe : la nébuleuse et de fines orbites centrées sur l'icône, aux couleurs du thème, en fondu en haut et
   en bas. Le centre --ox/--oy (l'icône) est mesuré par site.js. Rien ne bouge. */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-deco { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 72%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 72%, transparent); }
.hero-orbits { position: absolute; left: var(--ox, 74%); top: var(--oy, 48%); width: 1400px; height: auto; translate: -50% -50%; overflow: visible; }
.hero-orbits ellipse, .hero-orbits path { fill: none; stroke: color-mix(in srgb, var(--c1) 22%, #d6d4e0); stroke-opacity: 0.12; stroke-width: 1; vector-effect: non-scaling-stroke; }
.neb-hero { left: calc(var(--ox, 74%) + 64px); top: calc(var(--oy, 48%) + 44px); width: 620px; height: 372px; rotate: 13deg; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero-copy, .hero-exe { transition: opacity 0.25s var(--ease); }
.hero.is-open .hero-copy, .hero.is-open .hero-exe { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.lede { margin-top: 28px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; letter-spacing: -0.012em; color: var(--t2); }
.lede .l + .l { margin-top: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.micro { margin-top: 16px; font-size: 14px; color: var(--t3); max-width: 44ch; }

.hero-exe { display: flex; flex-direction: column; align-items: center; gap: 16px; justify-self: center; }
.exe {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 18px 11px; border: 0; border-radius: 4px; background: transparent;
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px transparent;
}
/* L'animation du logo (l'étoile penchée se trace, puis le nom arrive), une seule fois, en vidéo muette. Le noir de la vidéo
   disparaît (mix-blend-mode: screen). Image fixe (dernière image) si le système réduit les animations ou si la lecture est refusée.
   La vidéo est carrée et a de la marge autour du logo : on la rogne avec des marges négatives. */
.exe-anim { position: relative; display: block; width: 280px; height: 100px; margin: 0 -40px; }
.exe .exe-anim img, .exe-anim video { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; -webkit-user-drag: none; }
.exe-anim img, .exe-anim video { mix-blend-mode: screen; }
.exe-anim video { pointer-events: none; }
.exe-anim img { opacity: 0; }
.exe.is-fixe .exe-anim img { opacity: 1; }
.exe.is-fixe .exe-anim video { display: none; }
@media (prefers-reduced-motion: reduce) { .exe-anim img { opacity: 1; } .exe-anim video { display: none; } }
/* En-tête : au survol (souris, PC, mouvement autorisé) l'étoile se trace à côté du mot et l'orbite fait un tour avec sa lune.
   Hors flux (position absolue) : aucun décalage de la mise en page. Retour au repos en sens inverse quand la souris part. */
.brand-mark { position: absolute; left: calc(100% + 8px); top: 50%; width: 38px; height: 27px; translate: 0 -50%; overflow: visible; pointer-events: none; display: none; }
@media (hover: hover) and (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .brand-mark { display: block; }
  .bm-orb, .bm-sto { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.25s ease 0.1s; }
  .bm-stf { opacity: 0; transition: opacity 0.2s; }
  .bm-moon { opacity: 0; offset-distance: 0%; offset-rotate: 0deg; transition: opacity 0.15s, offset-distance 0.3s ease; }
  .brand:hover .bm-sto { stroke-dashoffset: 0; transition: stroke-dashoffset 0.45s ease; }
  .brand:hover .bm-stf { opacity: 1; transition: opacity 0.3s ease 0.3s; }
  .brand:hover .bm-orb { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
  .brand:hover .bm-moon { opacity: 1; offset-distance: 100%; transition: opacity 0.15s 0.2s, offset-distance 0.8s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
}
/* La zone cliquable (logo et texte) reste, mais invisible : ni fond, ni cadre, ni ombre au survol ni après un clic.
   Seul le curseur change ; le clavier garde un contour de focus, et lui seul (classe « au-clavier » posée par site.js
   quand on se déplace au clavier) : sinon le contour reste collé au logo après un clic et on voit un rectangle. */
.exe:focus { outline: none; }
.au-clavier .exe:focus-visible { outline: 2px solid var(--accent-text, #a98bfa); outline-offset: 4px; border-radius: 10px; }
.exe:active img { transform: scale(0.97); }
.exe-hint { font-size: 15px; color: var(--t2); min-height: 1.5em; cursor: pointer; user-select: none; -webkit-user-select: none; padding: 4px 18px; margin-top: -12px; }

/* La fenêtre de Nebula */
.win {
  position: absolute; left: 0; top: 0; z-index: 40;
  display: flex; flex-direction: column;
  background: #000; border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.17), 0 32px 110px rgba(0, 0, 0, 0.75);
  transform-origin: 0 0;
}
.win[hidden] { display: none; }
.win.is-max { z-index: 60; }
.win.is-anim { transition: transform 0.42s var(--ease), opacity 0.22s; }
.win.is-resize { transition: left 0.26s var(--ease), top 0.26s var(--ease), width 0.26s var(--ease), height 0.26s var(--ease); }
.win:focus { outline: none; }
.win-bar {
  flex: none; height: 40px; display: flex; align-items: center; gap: 9px; padding-left: 12px;
  background: #1c1c1f; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none; -webkit-user-select: none;
}
.win-logo { width: 20px; height: 20px; }
.win-title { font-size: 13px; color: #ececef; }
.win-ro { font-size: 12px; color: var(--t3); margin-left: 8px; }
.win-btns { margin-left: auto; display: flex; height: 100%; }
.win-btns button { width: 46px; height: 100%; display: grid; place-items: center; border: 0; background: none; color: #d8d8dc; cursor: default; transition: background 0.1s; }
.win-btns button:hover { background: rgba(255, 255, 255, 0.1); }
.win-btns [data-w='close']:hover { background: #c42b1c; color: #fff; }
.win-btns button:focus-visible { outline-offset: -2px; }
.win-body { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #000; }
.win-body iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #000; }
.win-tabs { display: none; }

/* Sur téléphone : une feuille plein écran, les onglets sous le pouce */
.win.is-sheet { position: fixed; left: 0 !important; top: 0 !important; width: 100% !important; height: 100vh !important; height: 100dvh !important; border-radius: 0; z-index: 100; box-shadow: none; }
.win.is-sheet .win-bar { height: 52px; background: #000; border-bottom: 1px solid var(--line); padding-left: 16px; }
.win.is-sheet .win-ro { display: none; }
.win.is-sheet .win-btns button { width: 56px; }
.win.is-sheet .win-tabs {
  flex: none; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #000; border-top: 1px solid var(--line);
}
.win-tabs button { border: 0; background: none; color: var(--t2); font-size: 14px; font-weight: 500; }
.win-tabs button.is-on { color: #fff; }

/* ---------- 2. Les mécas de Zen ---------- */
.proof { --g: clamp(162px, 15vw, 230px); padding: 0 0 var(--g); margin-top: calc(var(--g) * 0.6 - var(--e, 0px)); }
/* La citation est centrée entre la fin visible du hero et le titre des macros : --e (mesuré par site.js) est le vide en
   bas du hero, déjà un espace au-dessus de la citation ; --g est l'espace voulu de chaque côté. */
.proof-q {
  text-align: center; font-size: clamp(2.4rem, 5.6vw, 5.2rem); font-weight: 600;
  letter-spacing: -0.032em; line-height: 1.07;
}
.proof-q .l:first-child { color: var(--t2); }

/* ---------- 3. Macros : une petite scène qui se joue toute seule ---------- */
.mac { padding: 0 0 var(--sec); }
.mac-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mac-copy h2 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); }
.mac-copy p { margin-top: 22px; color: var(--t2); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.42; letter-spacing: -0.01em; max-width: 34em; }
.mac-copy .note { margin-top: 16px; font-size: 15px; color: var(--t3); }
.mac-scene { min-width: 0; }
.mac-steps { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 26px; font-size: 15px; color: var(--t3); letter-spacing: -0.005em; }
.mac-steps li { transition: color 0.2s; }
.mac-steps li.is-on { color: var(--t1); }

.ed { position: relative; padding: 18px 18px 16px; background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); --head: 176px; --row: 64px; --ruler: 30px; }
.ed-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ed-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; }
.ed-launch { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--t2); white-space: nowrap; }
.ed-chip { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); font-size: 12.5px; font-weight: 600; color: var(--t1); }
.ed-test { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; border-radius: 8px; background: var(--t1); color: #000; font-size: 13.5px; font-weight: 600; transition: background 0.12s, color 0.12s; }
.ed-test.is-down { background: var(--accent); color: #fff; }
.ed-box { position: relative; overflow: hidden; border-radius: 10px; background: #0d0d0f; box-shadow: inset 0 0 0 1px var(--line); }
.ed-ruler { display: flex; height: var(--ruler); border-bottom: 1px solid var(--line); }
.ed-corner { flex: none; width: var(--head); display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 14px; font-size: 11px; font-weight: 500; color: var(--t3); border-right: 1px solid var(--line); }
.ed-ticks { position: relative; flex: 1; overflow: hidden; }
.ed-tick { position: absolute; top: 0; bottom: 0; padding: 9px 0 0 5px; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--t3); border-left: 1px solid rgba(255, 255, 255, 0.07); white-space: nowrap; }
.ed-rows { position: relative; height: calc(var(--row) * 3 + 46px); }
.ed-row { position: absolute; left: 0; right: 0; height: var(--row); display: flex; transition: opacity 0.22s, transform 0.22s var(--ease); }
.ed-row[data-r='1'] { top: var(--row); }
.ed-row[data-r='2'] { top: calc(var(--row) * 2); }
.ed-row.is-off { opacity: 0; transform: translateY(-6px); }
.ed-h { flex: none; width: var(--head); display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.ed-key {
  flex: none; min-width: 36px; height: 30px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  font-size: 13px; font-weight: 600; white-space: nowrap; transition: background 0.06s, box-shadow 0.06s;
}
.ed-role { margin-left: 8px; font-size: 11.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-key.is-down { background: var(--accent); box-shadow: none; color: #fff; }
.ed-lane {
  position: relative; flex: 1; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%, calc(100% / 28) 100%;
}
.ed-seg { position: absolute; top: 9px; bottom: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); font-style: normal; }
.ed-seg b { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 0.12s; }
.ed-seg.is-live { background: rgba(255, 255, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85); }
.ed-add { position: absolute; left: 0; right: 0; top: calc(var(--row) * 3); height: 46px; display: flex; transition: transform 0.22s var(--ease); }
.ed-add-h { width: auto; gap: 4px; padding: 0 6px 0 8px; border: 0; background: none; }
.ed-addk, .ed-addm { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; border-radius: 7px; color: var(--t2); font-size: 13px; font-weight: 500; transition: background 0.1s, color 0.1s; }
.ed-addk { padding: 0 10px 0 8px; }
.ed-addm { width: 30px; }
.ed-addk.is-down, .ed-addm.is-down { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ed-play { position: absolute; top: 0; bottom: 0; left: var(--head); width: 2px; margin-left: -1px; background: #fff; opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.ed-play::before { content: ''; position: absolute; left: -5px; top: calc(var(--ruler) - 9px); width: 12px; height: 9px; background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ed-play.is-on { opacity: 1; }
.ed-result { display: flex; align-items: center; gap: 8px; margin-top: 13px; min-height: 21px; font-size: 14px; color: var(--t1); transition: opacity 0.25s; }
.ed-result.is-off { opacity: 0; }
.ed-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.ed-cur { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)); opacity: 0; transition: opacity 0.2s; }
.ed.is-live .ed-cur { opacity: 1; }
.ed.is-live .ed-cur.is-off { opacity: 0; }

/* Suite : la macro sur une touche, une animation continue en boucle (manette de l'overlay, fiche de l'appli, curseur,
   pastille de la macro qui se pose sur Carré). site.js pilote --o (fiche ouverte), --s (choix), --l (liste), --ck (coche),
   la course de la pastille et de son trait, --cb (fond de la pastille), --ik (son icône) et --f (pastille allumée). */
.mac-bind { margin-top: clamp(88px, 10vw, 150px); }
.mac-h3 { font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
.bd-wrap { min-width: 0; container: bd / inline-size; }
.bd {
  --o: 0; --pw: 44cqw; --x0: 28cqw; --y0: 18cqw; --x1: 4.5cqw; --y1: 16cqw;
  position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden;
  background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line);
}
html:not(.js) .bd { display: none; }
.bd-in { position: absolute; inset: 0; }
.bd-pad { position: absolute; left: var(--x0); top: var(--y0); width: var(--pw); color: var(--accent); translate: calc((var(--x1) - var(--x0)) * var(--o)) calc((var(--y1) - var(--y0)) * var(--o)); }
.bd-pad .ov-svg { width: 100%; height: auto; overflow: visible; }
/* Carré : à demi allumé tant que sa fiche est ouverte, allumé quand la macro s'y pose (et à l'appui). */
.bd .ov-svg .k.sel .on-l { opacity: 0.45; }
.bd .ov-svg .k.lit .on-l, .bd .ov-svg .k.on .on-l { opacity: 1; }
.bd-sheet {
  position: absolute; right: 4.5cqw; top: 50%; width: 41cqw; padding: 16px 14px 14px;
  background: var(--surface-2); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 20px 44px rgba(0, 0, 0, 0.4);
  translate: calc((1 - var(--o)) * 5cqw) calc(-50% + 1.5cqw); opacity: var(--o);
}
.bd-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.bd-k { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; background: #2c2d32; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.bd-k::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%; border: 1.6px solid rgba(255, 255, 255, 0.9); border-radius: 1px; }
.bd-seg { --s: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); }
.bd-seg span { position: relative; height: 28px; display: grid; place-items: center; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--t2); transition: color 0.15s, background 0.1s; }
.bd-seg span.is-on { color: #000; }
.bd-seg span.is-down { background: rgba(255, 255, 255, 0.12); }
.bd-pill { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 4); border-radius: 7px; background: var(--t1); translate: calc(var(--s) * 100%) 0; }
.bd-list { --l: 0; list-style: none; padding: 0; margin: 10px 0 0; opacity: var(--l); translate: 0 calc((1 - var(--l)) * 6px); }
.bd-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 13.5px; white-space: nowrap; transition: background 0.1s; }
.bd-list li span { overflow: hidden; text-overflow: ellipsis; }
.bd-list li svg { flex: none; opacity: 0; }
.bd-list li svg path { stroke-dasharray: 13.3; stroke-dashoffset: calc(13.3 * (1 - var(--ck, 1))); }
.bd-list li.is-sel { background: rgba(255, 255, 255, 0.08); }
.bd-list li.is-sel svg { opacity: 1; }
.bd-list li.is-down { background: rgba(255, 255, 255, 0.15); }
/* La pastille part de la ligne cochée et se pose au-dessus de Carré ; un trait la relie au bouton, comme les repères de
   l'appli. Place, taille du trait et opacités : site.js, à chaque image. */
.bd-chip {
  --f: 0; --ik: 1; --cb: 1; position: absolute; left: 0; top: 0; z-index: 3; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 4px; border-radius: 999px;
  background: rgb(27 28 32 / var(--cb)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / calc(var(--cb) * 0.12)), 0 10px 26px rgb(0 0 0 / calc(var(--cb) * 0.45));
  font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity;
}
.bd-chip::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); opacity: var(--f); }
.bd-chip .bd-k { width: 22px; height: 22px; scale: var(--ik); }
.bd-pin { position: absolute; left: 0; top: 0; z-index: 2; width: 2px; height: 0; border-radius: 1px; background: rgba(255, 255, 255, 0.5); opacity: 0; pointer-events: none; }
.bd-pin::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; translate: -50% 0; border-radius: 50%; background: #fff; }
.bd-cur { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; transform-origin: 4px 2px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)); }
/* Carte étroite (téléphone, petite fenêtre) : la manette en haut, la fiche monte du bas. */
@container bd (max-width: 500px) {
  .bd { aspect-ratio: 4 / 5; --pw: 64cqw; --x0: 18cqw; --x1: 18cqw; --y0: 42cqw; --y1: 10.5cqw; }
  .bd-sheet { left: 4cqw; right: 4cqw; top: auto; bottom: 4cqw; width: auto; translate: 0 calc((1 - var(--o)) * 12cqw); }
}

/* ---------- 4. Overlay : la vue choisie, à la couleur, la place et la taille choisies ---------- */
.ov { padding: 0 0 var(--sec); }
.ov-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.ov-head p { margin-top: 20px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; letter-spacing: -0.012em; color: var(--t2); }
.ov-stage {
  --px: 0; --py: 1; --k: 0.3333; --kp: 0.3333; --z: 1; --mg: calc(100cqw * 20 / 1920 * var(--z));
  position: relative; container-type: size; aspect-ratio: 16 / 9; background: var(--surface-2); border-radius: 20px; overflow: hidden;
}
.ov-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.28s, visibility 0s 0.28s; }
.ov-view.is-on { opacity: 1; visibility: visible; transition: opacity 0.28s; }
.ov-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
/* Le cadre vaut un écran de jeu en 1920 x 1080 : une vraie image d'une partie de Rocket League de Steven (.ov-bg).
   Comme dans l'appli : la place est libre (en bas à gauche au départ, x 0 et y 1), avec 20 px de marge ; en glissant,
   elle s'aimante aux bords, aux coins et au centre (site.js).
   Taille réelle (03.12, Steven) : --z vaut 1, l'overlay a la même proportion qu'en jeu, sur PC comme sur téléphone
   (manette PS5 à 100 % : 240 px de large sur 1920). Chaque vue est dessinée à 300 % (le plus grand) puis réduite vers
   sa place par --k : 100 % par défaut, de 50 à 300 % ; la manette PS5 par --kp, jamais sous 80 % (manette complète de
   l'appli, OverlayRenderer.SizePercent). */
.ov-fit {
  position: absolute; left: var(--mg); top: var(--mg);
  translate: calc(var(--px) * (100cqw - 2 * var(--mg) - 100%)) calc(var(--py) * (100cqh - 2 * var(--mg) - 100%));
  scale: var(--k); transform-origin: calc(var(--px) * 100%) calc(var(--py) * 100%);
  transition: translate 0.5s var(--ease), scale 0.5s var(--ease), transform-origin 0.5s var(--ease);
}
.ov-stage.is-drag .ov-fit { transition: none; }
.ov-view.is-on .ov-fit { touch-action: none; } /* au doigt, glisser l'overlay ne fait pas défiler la page */
.ov-stage:focus-visible { outline-offset: 4px; border-radius: 20px; }
/* Repères d'aimantation, comme dans l'appli : neuf points aux coins, aux milieux des bords et au centre de la zone utile,
   visibles pendant le glissement ou au clavier ; celui où l'overlay est accroché s'allume. */
.ov-snap { position: absolute; inset: var(--mg); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.ov-stage.is-drag .ov-snap, .ov-stage:focus-visible .ov-snap { opacity: 1; }
.ov-snap i { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); transition: background 0.12s, scale 0.12s; }
.ov-snap i.is-on { background: #fff; scale: 1.5; }
.ov-snap i:nth-child(3n + 1) { left: 0; }
.ov-snap i:nth-child(3n + 2) { left: 50%; }
.ov-snap i:nth-child(3n) { left: 100%; }
.ov-snap i:nth-child(-n + 3) { top: 0; }
.ov-snap i:nth-child(n + 4):nth-child(-n + 6) { top: 50%; }
.ov-snap i:nth-child(n + 7) { top: 100%; }
@media (hover: hover) and (pointer: fine) {
  .ov-view.is-on .ov-fit { cursor: grab; }
  .ov-stage.is-drag .ov-fit { cursor: grabbing; }
}
.ov-ps { width: calc(100cqw * 720 / 1920 * var(--z)); aspect-ratio: 600 / 470; color: var(--accent); scale: var(--kp); }
.ov-stage:is([data-style='sticker'], [data-style='neon']) .ov-ps { color: var(--c2); }
.ov-ps .ov-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ov-svg .tg-m { fill: color-mix(in srgb, currentColor 30%, #fff); }
.ov-svg .s { stroke: #fff; stroke-opacity: 0.071; }
.ov-svg text { font-family: var(--font); font-size: 15px; font-weight: 600; text-anchor: middle; }
.ov-svg .k { transition: transform 0.22s cubic-bezier(0.3, 0.7, 0.4, 1); }
.ov-svg .k.on { transform: scale(0.9); transition-duration: 0.06s; }
.ov-svg .k.dp.on { transform: scale(0.95); }
.ov-svg .k.bp.on { transform: translateY(2px); }
.ov-svg .on-l { opacity: 0; transition: opacity 0.3s ease-out; }
.ov-svg .k.on .on-l { opacity: 1; transition-duration: 0.05s; }
.ov-svg .lt-on { opacity: 0; transition: opacity 0.4s ease-out; }
.ov-svg.act .lt-on { opacity: 1; transition-duration: 0.08s; }
.ov-c-dz { width: calc(100cqw * 624 / 1920 * var(--z)); aspect-ratio: 1; }
.ov-c-simple { width: calc(100cqw * 696 / 1920 * var(--z)); aspect-ratio: 232 / 154; }
.ov-c-kb { width: calc(100cqw * 777 / 1920 * var(--z)); aspect-ratio: 259 / 158; }
/* Opacité par défaut de l'appli (70 %) : la fenêtre du stick et celle du clavier laissent voir le jeu ; les deux manettes
   sont toujours opaques (OverlayRenderer, réglage Opacité). */
.ov-c-dz, .ov-c-kb { opacity: 0.7; }

/* Style Sticker de la manette PS5, comme dans l'appli : aplats blancs cernés de noir, coque à la couleur en deux tons,
   appui à la couleur vive, gâchettes rayées, petite ombre noire décalée. (Les trois autres vues sont des canevas.) */
.sk-a { fill: var(--c1); }
.sk-b { fill: var(--c2); }
[data-style='sticker'] .ov-ps .ov-svg { --ink: #0b0b10; filter: drop-shadow(2px 2px 0 var(--ink)); }
[data-style='sticker'] .ov-ps #ps-bd stop:nth-child(1) { stop-color: color-mix(in srgb, var(--c1) 84%, #fff); }
[data-style='sticker'] .ov-ps #ps-bd stop:nth-child(2) { stop-color: var(--c1); }
[data-style='sticker'] .ov-ps #ps-bd stop:nth-child(3) { stop-color: color-mix(in srgb, var(--c1) 88%, #000); }
[data-style='sticker'] .ov-ps #ps-dk stop { stop-color: color-mix(in srgb, var(--c1) 76%, #000); stop-opacity: 1; }
[data-style='sticker'] .ov-ps :is(#ps-tg, #ps-bp, #ps-bt, #ps-tp) stop { stop-color: #fff; }
[data-style='sticker'] .ov-ps #ps-ct stop { stop-color: var(--c2); }
[data-style='sticker'] .ov-ps .s { stroke: var(--ink); stroke-opacity: 1; stroke-width: 3; }
[data-style='sticker'] .ov-ps use[stroke-width='1.4'] { stroke: var(--ink); stroke-width: 4.6; }
[data-style='sticker'] .ov-ps :is([fill='url(#ps-sh)'], [fill='url(#ps-wl)'], [fill='url(#ps-w2)'], [fill='url(#ps-dh)'], [filter], [stroke-dasharray]) { display: none; }
[data-style='sticker'] .ov-ps .tg [clip-path='url(#ps-cl)'], [data-style='sticker'] .ov-ps .tg [clip-path='url(#ps-cr)'] { fill: url(#ps-sk); }
[data-style='sticker'] .ov-ps .tg-r { stroke: var(--ink); stroke-width: 3; }
[data-style='sticker'] .ov-ps .tg-m { fill: var(--ink); }
[data-style='sticker'] .ov-ps .on-l [fill='currentColor'] { stroke: var(--ink); stroke-width: 3; }
[data-style='sticker'] .ov-ps .cap [fill='currentColor'] { fill: var(--ink); stroke: none; }
[data-style='sticker'] .ov-ps [stroke='#fff'] { stroke: var(--ink); stroke-opacity: 1; }
[data-style='sticker'] .ov-ps [stroke='#fff'][stroke-width='2.2'] { stroke: #fff; stroke-opacity: 1; }
[data-style='sticker'] .ov-ps [fill='#fff'], [data-style='sticker'] .ov-ps circle[fill='#000'] { fill: var(--ink); fill-opacity: 1; }
[data-style='sticker'] .ov-ps use[fill='#3c3c42'] { fill: #fff; stroke: var(--ink); stroke-width: 3; }
[data-style='sticker'] .ov-ps circle[stroke='#000'] { stroke: var(--ink); stroke-opacity: 1; stroke-width: 2.5; }

/* Style Néon : coque de verre sombre, traits lumineux (blanc teinté de la couleur), appui plein qui brille. */
[data-style='neon'] .ov-ps .ov-svg { --nl: color-mix(in srgb, var(--c1) 38%, #fff); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c1) 65%, transparent)); }
[data-style='neon'] .ov-ps :is(#ps-bd, #ps-tg, #ps-bp, #ps-tp) stop { stop-color: #09090f; }
[data-style='neon'] .ov-ps #ps-bt stop { stop-color: #0f0f17; }
[data-style='neon'] .ov-ps #ps-dk stop { stop-opacity: 0; }
[data-style='neon'] .ov-ps #ps-ct stop:nth-child(1) { stop-color: color-mix(in srgb, var(--c2) 72%, #fff); }
[data-style='neon'] .ov-ps #ps-ct stop:nth-child(2) { stop-color: var(--c1); }
[data-style='neon'] .ov-ps .s { stroke: var(--nl); stroke-opacity: 0.62; stroke-width: 1.6; }
[data-style='neon'] .ov-ps use[stroke-width='1.4'] { stroke: var(--nl); stroke-width: 2.6; }
[data-style='neon'] .ov-ps :is([fill='url(#ps-w2)'], [stroke-dasharray], circle[fill='#000']) { display: none; }
[data-style='neon'] .ov-ps [fill='url(#ps-wl)'] { fill: #050508; }
[data-style='neon'] .ov-ps [fill='#060607'] { fill: #0f0f17; }
[data-style='neon'] .ov-ps [stroke='#fff'] { stroke: var(--nl); stroke-opacity: 0.95; }
[data-style='neon'] .ov-ps [fill='#fff'] { fill: var(--nl); fill-opacity: 0.95; }
[data-style='neon'] .ov-ps :is(.on-l, .cap) [stroke='#fff'] { stroke: #fff; }
[data-style='neon'] .ov-ps :is(.on-l, .cap) [fill='#fff'] { fill: #fff; }
[data-style='neon'] .ov-ps use[fill='#3c3c42'] { fill: #0f0f17; stroke: var(--nl); stroke-opacity: 0.7; stroke-width: 1.6; }
[data-style='neon'] .ov-ps circle[stroke='#000'] { stroke: var(--nl); stroke-opacity: 0.5; }
[data-style='neon'] .ov-ps [fill='url(#ps-ct)'] { filter: drop-shadow(0 0 5px var(--c2)); }
[data-style='neon'] .ov-ps .tg-m { fill: #fff; }

/* Barre au-dessus de l'écran (03.12, Steven) : l'affichage (les quatre vues) seul sur la première ligne, pour qu'on le
   voie tout de suite, puis le style, la couleur, la position et la taille. Même commande segmentée que le style. */
.ov-set { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(24px, 2.8vw, 44px); margin: 0 0 26px; }
.ov-g { display: flex; align-items: center; gap: 14px; }
.ov-g-view { flex-basis: 100%; justify-content: center; }
.ov-l { font-size: 14px; color: var(--t3); }
.ov-sw { display: flex; gap: 10px; }
.ov-sw .swatch { width: 28px; height: 28px; }
.ov-st { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.ov-st button { height: 30px; padding: 0 13px; border: 0; border-radius: 999px; background: none; color: var(--t2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.15s, color 0.15s; }
.ov-st button:hover { color: #fff; }
.ov-st button.is-on { background: var(--t1); color: #000; }
.ov-hint { font-size: 13px; color: var(--t3); }
.ov-g input[type='range'] { width: 150px; }

/* Pastilles de couleur, curseur de taille, liste du bas */
.swatch { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow 0.15s, transform 0.15s; }
.swatch:hover { transform: scale(1.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 3px var(--bg), 0 0 0 4px rgba(255, 255, 255, 0.4); }
.swatch.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 3px var(--bg), 0 0 0 5px #fff; }
.swatch:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
input[type='range']::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
input[type='range']::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; }
.comfort { list-style: none; padding: 26px 0 0; margin: clamp(56px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; border-top: 1px solid var(--line); }
.comfort strong { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.comfort span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--t2); max-width: 28em; }

/* ---------- 5. Prix ---------- */
.price { padding: 0 0 var(--sec); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 4.5vw, 60px); align-items: start; }
.amount { font-size: clamp(4.4rem, 11vw, 9.4rem); font-weight: 600; letter-spacing: -0.052em; line-height: 0.98; }
.amount-sub { margin-top: 18px; color: var(--t2); line-height: 1.4; }
.amount-sub span { display: block; color: var(--t3); }
.incl { list-style: none; padding: 0; }
.incl li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.35; }
.incl li:last-child { border-bottom: 1px solid var(--line); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.dl-note { color: var(--t2); font-size: 15.5px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.dl-note:hover { color: #fff; }
.refund { margin-top: 22px; font-size: 15.5px; }
.fine { margin-top: 4px; font-size: 14px; color: var(--t3); }

/* ---------- 6. FAQ ---------- */
.faq { padding: 0 0 var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font-size: 19px; font-weight: 500; letter-spacing: -0.012em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 13px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 13px no-repeat; color: var(--t2); transition: transform 0.2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding: 0 34px 22px 2px; color: var(--t2); font-size: 16.5px; line-height: 1.5; max-width: 40em; }

/* ---------- Fin ---------- */
.final { position: relative; isolation: isolate; padding: calc(var(--sec) * 0.6) 0 calc(var(--sec) * 1.15); text-align: center; }
/* La boîte coupe la nébuleuse sur les côtés (sinon la page déborderait sur téléphone), pas en haut ni en bas. */
.neb-box { position: absolute; left: 0; right: 0; top: -180px; bottom: -180px; z-index: -1; overflow: hidden; pointer-events: none; }
.neb-final { left: 50%; top: 46%; width: 980px; height: 520px; rotate: -8deg; }
.final h2 { font-size: clamp(3rem, 8.2vw, 7.6rem); letter-spacing: -0.04em; line-height: 1; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 34px; font-size: 14px; color: var(--t3); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.foot-in strong { color: var(--t1); font-weight: 600; font-size: 15px; }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; color: var(--t2); }
.foot-links a:hover { color: #fff; }

/* ---------- Téléphone et petites fenêtres ---------- */
/* Au doigt (téléphone, tablette), l'icône à double-cliquer n'a pas de sens : le texte seul, la nébuleuse et les orbites
   gardent leur place en haut à droite. */
@media (hover: none), (max-width: 760px) {
  .hero-exe { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 760px; }
  .hero-deco { -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 70%, transparent); }
  .hero-orbits { left: 82%; top: 20%; }
  .neb-hero { left: 74%; top: 19%; }
}
@media (max-width: 1040px) {
  .hero-grid { gap: 32px; }
  .ed { --head: 124px; }
  .ed-addk span { display: none; }
  .ed-addk { padding: 0 9px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero { padding: calc(var(--nav) + 36px) 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }

  .mac-grid { display: block; }
  .mac-copy { margin-bottom: 26px; }
  .mac-copy h2 { font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .mac-steps { flex-direction: column; gap: 2px; margin-bottom: 12px; }
  .mac-steps li { display: none; color: var(--t1); font-size: 16px; }
  .mac-steps li.is-on { display: block; }
  .ed { padding: 14px 12px 12px; --head: 74px; --row: 50px; }
  .ed-name { font-size: 18px; }
  .ed-test { height: 30px; padding: 0 10px 0 8px; font-size: 13px; }
  .ed-corner { padding: 0 7px 0 9px; }
  .ed-h { padding: 0 8px; }
  .ed-add-h { padding: 0 4px; }
  .ed-key { min-width: 0; padding: 0 7px; font-size: 12px; }
  .ed-tick:nth-child(even) { display: none; }
  .ed-role { display: none; }
  .ed-launch-l { display: none; }
  .ed-name { white-space: normal; font-size: 17px; }
  .mac-bind { margin-top: 84px; }
  .mac-h3 { margin-bottom: 24px; font-size: clamp(1.9rem, 8.2vw, 2.4rem); }

  .hero-orbits { width: 820px; }
  .neb-hero { width: 420px; height: 252px; }
  .neb-final { width: 560px; height: 300px; }

  .ov-stage { border-radius: 16px; }
  .ov-stage:focus-visible { border-radius: 16px; }
  .ov-set { justify-content: flex-start; gap: 18px 24px; margin: 0 0 22px; }
  .ov-g-color, .ov-g-style, .ov-g-pos { flex-basis: 100%; }
  /* Petit écran : les noms des quatre vues suffisent, sans « Affichage » ; une seule rangée tant qu'elle tient. */
  .ov-g-view { justify-content: flex-start; }
  .ov-g-view .ov-l { display: none; }
  .ov-sw { gap: 12px; }
  .ov-sw .swatch { width: 32px; height: 32px; }
  .ov-set label.ov-g { flex: 1; }
  .ov-set label.ov-g input[type='range'] { flex: 1; width: auto; min-width: 80px; }
  .comfort { grid-template-columns: 1fr; gap: 18px; }

  .price-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 18px; padding: 17px 2px; }
  .foot-links { margin-left: 0; }
}
/* Téléphone : les quatre vues ne tiennent plus sur une rangée, deux rangées de deux sur toute la largeur. */
@media (max-width: 600px) {
  .ov-views { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 20px; }
  .ov-views button { height: 36px; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ---------- Couleur de la page : sélecteur compact dans la barre, et un thème qui se voit partout ---------- */
/* Lueur fixe en haut de page : elle suit le thème et reste là quel que soit l'endroit où l'on est. */
body::before {
  content: ''; position: fixed; inset: 0 0 auto 0; height: 78vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62% 70% at 50% -12%, color-mix(in srgb, var(--c1) 34%, transparent), transparent 72%),
    radial-gradient(38% 46% at 88% -4%, color-mix(in srgb, var(--c2) 20%, transparent), transparent 72%);
}
.nav.is-stuck { border-bottom-color: color-mix(in srgb, var(--c1) 38%, rgba(255, 255, 255, 0.1)); }
.brand-mark .bm-s1 { stop-color: var(--c1); }
.brand-mark .bm-s2 { stop-color: var(--c2); }
.btn-1 { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 40%, transparent), 0 6px 26px color-mix(in srgb, var(--c1) 42%, transparent); }
::selection { background: color-mix(in srgb, var(--c1) 55%, transparent); color: #fff; }
.nav-theme { position: relative; display: grid; place-items: center; }
.nt-btn { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 3px rgba(0, 0, 0, 0.9), 0 0 0 4px rgba(255, 255, 255, 0.18); transition: transform 0.15s, box-shadow 0.15s; }
.nt-btn:hover, .nt-btn[aria-expanded='true'] { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 3px rgba(0, 0, 0, 0.9), 0 0 0 4px rgba(255, 255, 255, 0.5); }
.nt-pop { position: absolute; right: -8px; top: calc(100% + 16px); display: flex; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(22, 23, 27, 0.96); box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.nt-pop.is-on { opacity: 1; visibility: visible; transform: none; }
.nt-pop .swatch { width: 26px; height: 26px; }
@media (prefers-reduced-motion: reduce) { .nt-pop { transition: none; } }


/* ---------- Halo qui suit la souris (bureau seulement) ---------- */
/* Lueur douce aux couleurs du thème, sous le contenu et au-dessus des étoiles. site.js ne change que son transform,
   au plus une fois par image : aucune mise en page, seulement de la composition. Au tactile, ou si le système réduit
   les animations, l'élément reste caché et rien ne tourne. */
.halo { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .halo {
    display: block; position: fixed; left: -190px; top: -190px; z-index: -1; width: 380px; height: 380px;
    border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.5s ease-out; will-change: transform, opacity;
    background:
      radial-gradient(closest-side at 44% 44%, color-mix(in srgb, var(--c1) 10%, transparent), color-mix(in srgb, var(--c1) 3%, transparent) 55%, transparent),
      radial-gradient(closest-side at 58% 58%, color-mix(in srgb, var(--c2) 6%, transparent), color-mix(in srgb, var(--c2) 2%, transparent) 55%, transparent);
  }
  .halo.is-on { opacity: 1; }
}

/* Poussière d'étoiles qui suit la souris (03.12.2026) : même couche que le halo, jamais au tactile. */
.poussiere { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .poussiere { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
}

/* ---------- Langue : FR | EN dans la barre et le pied de page (langue.js garde le choix) ---------- */
.lang { display: flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.lang a { position: relative; padding: 6px 8px; color: var(--t2); text-decoration: none; transition: color 0.15s; }
.lang a + a::before { content: ''; position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.lang a:hover, .lang a[aria-current='true'] { color: #fff; }
.foot .lang { margin: 0 -8px; } /* le texte s'aligne sur les bords, même quand la ligne passe dessous */
@media (max-width: 760px) {
  .nav-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .nav-right { gap: 12px; }
}

/* ---------- Vente pas encore ouverte : VENTE=bientot dans preparer-dist.sh (data-vente sur <html>) ---------- */
html:not([data-vente='bientot']) [data-vente='bientot'] { display: none; }
html[data-vente='bientot'] [data-vente='ouverte'] { display: none; }
.btn-soon, .btn-soon:hover, .btn-soon:active { border: 0; background: rgba(255, 255, 255, 0.08); color: var(--t2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); cursor: default; }
.soon { margin-top: 18px; font-size: 15.5px; color: var(--t2); }
