:root {
  --bg: #06070b; --panel: rgba(255, 255, 255, .035); --ink: #f2f4fb; --muted: #8e97b2; --line: rgba(255, 255, 255, .09);
  /* Thème de couleur (change selon la couleur choisie) */
  --a: #5ef0ff; --b: #8b5cf6; --c: #ff4fd8;
  --m1: #2a303f; --m2: #b4bfd8; --m3: #0d1018; --m4: #697591;
  --mx: 50vw; --my: 30vh;
}
:root[data-color="Argent"] { --a: #eaf0ff; --b: #9db2ff; --c: #ffffff; --m1: #f6f8fc; --m2: #98a2b8; --m3: #e1e6f0; --m4: #7b859b; }
:root[data-color="Bleu nuit"] { --a: #7c8cff; --b: #3b2bd9; --c: #00d4ff; --m1: #1a2878; --m2: #7f93ff; --m3: #0a1046; --m4: #3853d4; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--a); }
h1, h2, h3 { line-height: 1; margin: 0; }
::selection { background: var(--b); color: #fff; }

/* Fond : lueur qui suit le curseur + grain */
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), color-mix(in srgb, var(--b) 22%, transparent), transparent 70%),
    radial-gradient(900px circle at 85% 8%, color-mix(in srgb, var(--a) 10%, transparent), transparent 70%),
    radial-gradient(900px circle at 8% 70%, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%); }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main, .nav, footer { position: relative; z-index: 2; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: linear-gradient(to bottom, rgba(6, 7, 11, .75), rgba(6, 7, 11, .25)); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .32em; color: var(--ink); text-decoration: none; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(var(--a), var(--b), var(--c), var(--a)); animation: spin 6s linear infinite; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Boutons */
.btn { position: relative; display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #05060a; text-decoration: none; overflow: hidden;
  background: linear-gradient(135deg, var(--a), var(--b) 60%, var(--c)); background-size: 160% 160%; padding: 12px 24px; border-radius: 999px;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; box-shadow: 0 8px 30px -8px var(--b); }
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 40px -8px var(--b); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.small { padding: 8px 18px; font-size: .88rem; }
.btn.big { padding: 16px 30px; font-size: 1.05rem; }
.btn.shine::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(120%) skewX(-20deg); } }

/* ---------- Gyroscope 3D ---------- */
.gyro { --s: min(88vw, 540px); --t: calc(var(--s) * .028); position: relative; width: var(--s); height: var(--s);
  perspective: 1200px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.gyro.grabbing { cursor: grabbing; }
.gyro:focus-visible { outline: 2px dashed var(--a); outline-offset: 12px; border-radius: 50%; }
.gyro::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--b) 40%, transparent), transparent 62%); animation: breathe 5s ease-in-out infinite; }
.scene { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.ring { position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--w); margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2); transform-style: preserve-3d; }
.r1 { --w: var(--s); }
.r2 { --w: calc(var(--s) * .76); }
.r3 { --w: calc(var(--s) * .53); }
.band { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, var(--m1), var(--m2) 16%, var(--m3) 34%, var(--m4) 52%, var(--m3) 70%, var(--m2) 86%, var(--m1));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--t) - 1px), #000 calc(100% - var(--t)));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--t) - 1px), #000 calc(100% - var(--t))); }
.bead { position: absolute; left: 50%; top: 50%; width: calc(var(--s) * .02); height: calc(var(--s) * .02); margin: calc(var(--s) * -.01) 0 0 calc(var(--s) * -.01);
  border-radius: 50%; background: var(--a); box-shadow: 0 0 10px var(--a);
  transform: rotateZ(calc(var(--i) * 30deg)) translateY(calc(var(--w) * -.5 + var(--t) * .5)); }
.core { position: absolute; left: 50%; top: 50%; width: calc(var(--s) * .2); height: calc(var(--s) * .2); margin: calc(var(--s) * -.1) 0 0 calc(var(--s) * -.1); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0, var(--a) 22%, var(--b) 62%, #05060a 100%); box-shadow: 0 0 60px color-mix(in srgb, var(--b) 70%, transparent); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: calc(100svh - 60px); display: grid; place-items: center; padding: 24px clamp(16px, 4vw, 40px) 0; overflow: hidden; }
.hero-title { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(16px, 4vw, 40px); pointer-events: none; z-index: 0;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; font-size: clamp(3.4rem, 13.5vw, 12rem); line-height: .86; }
.hero-title span { display: block; }
.t1 { align-self: flex-start; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .32); color: transparent; }
.t2 { align-self: center; background: linear-gradient(95deg, var(--a), var(--b) 55%, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px color-mix(in srgb, var(--b) 45%, transparent)); }
.t3 { align-self: flex-end; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .32); color: transparent; }
.hero-stage { position: relative; z-index: 2; display: grid; place-items: center; margin-bottom: 150px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end;
  padding: 0 clamp(16px, 4vw, 40px) 28px; }
.hero-sub { margin: 0; max-width: 30ch; color: var(--muted); font-size: 1.05rem; }
.hero-sub b { color: var(--ink); }
.hero-cta { text-align: center; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.hint-hand { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.counter { justify-self: end; text-align: right; display: grid; justify-items: end; gap: 2px; }
.counter-label { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; color: var(--muted); }
.counter-num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(var(--ink), var(--a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter-num.bump { animation: bump .18s ease-out; }
@keyframes bump { 40% { transform: scale(1.18); } }
.counter-msg { font-size: .82rem; color: var(--muted); max-width: 26ch; min-height: 2.6em; }
.sound { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .75rem; cursor: pointer; transition: color .2s, border-color .2s; }
.sound:hover { color: var(--ink); border-color: var(--a); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, .02); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 16px 34px; text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; font-weight: 700; color: var(--muted); }
.marquee-track span::after { content: "✦"; margin-left: 68px; color: var(--a); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 12vw, 140px) clamp(16px, 4vw, 40px) 0; }
.eyebrow { color: var(--a); text-transform: uppercase; letter-spacing: .28em; font-size: .75rem; font-weight: 800; margin: 0 0 18px; }
h2.big { font-size: clamp(2.2rem, 6.4vw, 5rem); font-weight: 900; letter-spacing: -.04em; line-height: .98; }
.grad { background: linear-gradient(95deg, var(--a), var(--b) 55%, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 320px;
  transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 55%, transparent); }
.card .num { display: block; font-size: 5.5rem; font-weight: 900; line-height: .9; letter-spacing: -.06em; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--a) 70%, transparent); color: transparent; margin-bottom: 40px; }
.card h3 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; max-width: 30ch; }
.card > :not(.mini) { position: relative; z-index: 1; }
.mini { position: absolute; right: -70px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; border: 10px solid; border-color: var(--m2) var(--m4) var(--m3) var(--m2); opacity: .5; }
.mini i { position: absolute; left: 50%; top: -9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--a); box-shadow: 0 0 14px var(--a); }
.mini1 { animation: spin 14s linear infinite; }
.mini2 { animation: spin 8s linear infinite reverse; width: 130px; height: 130px; right: -20px; bottom: -20px; }
.mini3 { animation: spin 4s linear infinite; width: 90px; height: 90px; right: 0; bottom: 0; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.tile p { margin: 0; color: var(--muted); }
.t-big { grid-column: span 2; grid-row: span 2; background: radial-gradient(500px circle at 20% 10%, color-mix(in srgb, var(--b) 28%, transparent), transparent 70%), var(--panel); }
.t-wide { grid-column: span 2; }
.stat { font-weight: 900; letter-spacing: -.05em; line-height: .9; font-size: clamp(3.5rem, 7vw, 6rem); }
.t-big .stat { font-size: clamp(7rem, 17vw, 14rem); background: linear-gradient(var(--ink), var(--a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { font-size: .3em; letter-spacing: 0; margin-left: 8px; color: var(--muted); font-weight: 700; }
.chips-title { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--a) !important; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; transition: border-color .2s, transform .2s; }
.chips span:hover { border-color: var(--a); transform: translateY(-2px); }

/* ---------- Achat ---------- */
.buy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; margin-top: 48px; }
.buy-visual { display: grid; place-items: center; }
.buy-gyro { --s: min(80vw, 440px); }
.buy-box { position: relative; background: rgba(12, 14, 22, .85); backdrop-filter: blur(10px); border-radius: 28px; padding: 28px; }
.buy-box::before { content: ""; position: absolute; inset: 0; border-radius: 28px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), var(--a), var(--b), var(--c), var(--a)); animation: ang 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ang { to { --ang: 360deg; } }
.buy-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.buy-head h3 { font-size: 2rem; font-weight: 900; letter-spacing: .2em; }
.price { font-size: 1.6rem; font-weight: 800; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; margin-bottom: 10px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.colors label { position: relative; display: inline-flex; cursor: pointer; }
.colors input { position: absolute; opacity: 0; }
.colors .dot { position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); }
.dot[data-c="Noir"] { background: conic-gradient(#2a303f, #b4bfd8, #0d1018, #697591, #2a303f); }
.dot[data-c="Argent"] { background: conic-gradient(#f6f8fc, #98a2b8, #e1e6f0, #7b859b, #f6f8fc); }
.dot[data-c="Bleu nuit"] { background: conic-gradient(#1a2878, #7f93ff, #0a1046, #3853d4, #1a2878); }
.colors label > span { display: inline-block; padding: 9px 16px 9px 36px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.colors input:checked ~ span { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 30%, transparent); }
.colors input:focus-visible ~ span { outline: 2px solid var(--a); outline-offset: 2px; }
.qty { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 14px; }
.qty-ctl { display: inline-flex; align-items: center; gap: 14px; }
.qty-ctl button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: border-color .2s, transform .15s; }
.qty-ctl button:hover { border-color: var(--a); }
.qty-ctl button:active { transform: scale(.9); }
.qty-ctl output { min-width: 1.5em; text-align: center; font-variant-numeric: tabular-nums; }
.sum { margin: 0 0 18px; }
.sum div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum dt, .sum dd { margin: 0; color: var(--muted); }
.sum .total { border-bottom: 0; }
.sum .total dt, .sum .total dd { color: var(--ink); font-weight: 900; font-size: 1.25rem; }
.buy-box .btn.big { width: 100%; }
.secure { text-align: center; color: var(--muted); font-size: .8rem; margin: 12px 0 0; }
.note { color: var(--muted); font-size: .85rem; }
.stock { text-align: center; color: var(--c); margin: 6px 0 0; }
.error { color: #ff8a8a; margin: 12px 0 0; }
.demo { color: var(--c); text-align: center; margin: 6px 0 0; }

/* ---------- FAQ / contact / footer ---------- */
.faq { max-width: 760px; }
h2:not(.big) { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; margin-bottom: 28px; font-weight: 900; letter-spacing: -.03em; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; transition: border-color .2s; }
details[open] { border-color: color-mix(in srgb, var(--a) 50%, transparent); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--a); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }
.contact-box { max-width: 480px; margin: 0 auto; display: grid; gap: 12px; }
input[type=email], textarea { width: 100%; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; transition: border-color .2s; }
input[type=email]:focus, textarea:focus { outline: none; border-color: var(--a); }
.hp { position: absolute; left: -9999px; }
footer { text-align: center; padding: 100px 24px 48px; color: var(--muted); }
.foot-logo { font-size: clamp(4rem, 20vw, 14rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; margin: 0 0 40px; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); color: transparent; user-select: none; }
footer a { color: var(--muted); }
footer p { margin: 6px 0; }

/* ---------- Pages légales / succès ---------- */
.page { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 24px); }
.page h1 { font-size: 2.2rem; letter-spacing: -.03em; margin-bottom: 8px; }
.page h2 { text-align: left; font-size: 1.2rem; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.page p, .page li { color: #c6cde2; line-height: 1.7; }
.center { position: relative; z-index: 2; text-align: center; padding: 120px 24px; }
.center h1 { font-size: clamp(2.2rem, 7vw, 4rem); letter-spacing: -.04em; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
body > footer:not(:has(.foot-logo)) { padding: 40px 24px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-big, .t-wide { grid-column: span 2; }
  .t-big { grid-row: auto; }
  .buy-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 12px; grid-template-columns: minmax(0, 1fr); }
  .hero-title { position: relative; inset: auto; order: 0; padding: 0; width: 100%; font-size: clamp(2.4rem, 12.6vw, 7rem); }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .t1, .t2, .t3 { align-self: flex-start; }
  .hero-stage { margin: -34px 0 0; }
  .hero-foot { position: relative; grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 8px 0 32px; }
  .counter { justify-self: center; justify-items: center; text-align: center; }
  .hero-sub { max-width: 34ch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
