/* SGPL Hardware & Gaming — maquette premium (Overised, novembre 2026)
   Principe : noir, blanc, anthracite. La couleur n'apparaît que là où il y a une mesure. */

@view-transition { navigation: auto; }

:root {
  --black: #000;
  --ink: #f5f5f7;
  --graphite: #161618;
  --anthracite: #232326;
  --steel: #8e8e93;
  --mist: #c7c7cc;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .22);
  --paper: #fbfbf9;
  --paper-ink: #111113;
  --paper-line: rgba(0, 0, 0, .1);
  /* échelle thermique — réservée aux mesures */
  --cold: #64d2ff;
  --warm: #ffd60a;
  --hot: #ff7a2f;
  --thermal: linear-gradient(90deg, var(--cold), var(--warm) 60%, var(--hot));
  --ok: #30d158;

  --font: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--black); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Typographie ---------- */
.display, h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; font-variation-settings: "wdth" 82; }
h1, .display { font-size: clamp(44px, 8.4vw, 112px); }
h2 { font-size: clamp(34px, 5.4vw, 72px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.12; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--mist); max-width: 34em; margin: 0; line-height: 1.5; }
.muted { color: var(--steel); }
p { margin: 0 0 1em; }
.kicker { color: var(--steel); font-size: 15px; margin: 0 0 18px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--black);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
  will-change: transform; white-space: nowrap;
}
.btn:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.btn:active { transform: scale(.97); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.link-underline:hover { background-size: 100% 1px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform .5s var(--ease), background .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: none; gap: 30px; font-size: 15px; color: var(--mist); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--ink); }
.nav__cta { display: none; }
.nav__burger { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span + span { margin-top: 6px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--black);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 4px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-size: 38px; font-weight: 600; letter-spacing: -.03em; font-variation-settings: "wdth" 82; padding: 6px 0; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.mobile-menu .btn { margin-top: auto; justify-content: center; font-size: 17px; letter-spacing: 0; }
@media (min-width: 960px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__burger, .mobile-menu { display: none; }
}

/* ---------- Barre d'action mobile ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px;
  border-radius: 20px; background: rgba(28, 28, 30, .82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.dock.is-on { transform: none; }
.dock a { height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
.dock a svg { width: 18px; height: 18px; }
.dock a:last-child { background: var(--ink); color: var(--black); }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Photos : éclairage en option ---------- */
.shot { position: relative; overflow: hidden; background: var(--graphite); }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.86); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.shot:hover img, .shot.is-lit img { filter: grayscale(0) contrast(1) brightness(1); }
.shot:hover img { transform: scale(1.03); }
.shot--contain img { object-fit: contain; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 28px) 0 40px; display: flex; align-items: center; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.6vw, 104px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero .lead { margin-top: 26px; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fade 1s .65s var(--ease) forwards; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--steel); opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 14px; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* Banc de test (héros) */
.bench { position: relative; aspect-ratio: 4 / 4.6; max-height: 78svh; width: 100%; border-radius: 28px; background: radial-gradient(120% 80% at 50% 30%, #1a1a1d 0%, #000 70%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; opacity: 0; animation: fade 1.2s .3s var(--ease) forwards; }
.bench .shot { position: absolute; inset: 8% 10% 30%; background: transparent; }
.bench .shot img { object-fit: contain; filter: grayscale(1) brightness(.55) contrast(1.1); transition: filter 2.2s var(--ease); }
.bench.is-done .shot img { filter: grayscale(.15) brightness(1) contrast(1); }
.bench__scan { position: absolute; left: 10%; right: 10%; top: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); box-shadow: 0 0 24px 4px rgba(255,255,255,.12); opacity: 0; }
.bench.is-running .bench__scan { opacity: 1; animation: scan 2.6s var(--ease-in-out) infinite alternate; }
@keyframes scan { from { top: 8%; } to { top: 68%; } }
.bench__panel { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 16px 18px 14px; border-radius: 18px; background: rgba(22, 22, 24, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); }
.bench__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--steel); }
.bench__state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.bench__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 0 rgba(255, 214, 10, .5); animation: pulse 1.4s infinite; }
.bench.is-done .bench__dot { background: var(--ok); animation: none; box-shadow: 0 0 12px var(--ok); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 214, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 214, 10, 0); } }
.bench__graph { display: block; width: 100%; height: 64px; margin: 10px 0 8px; }
.bench__readouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.readout b { display: block; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.readout span { font-size: 12.5px; color: var(--steel); }
.bench__bar { height: 2px; border-radius: 2px; background: var(--line); margin-top: 12px; overflow: hidden; }
.bench__bar i { display: block; height: 100%; width: 0; background: var(--thermal); }
.bench__replay { position: absolute; top: 14px; right: 14px; font-size: 13px; color: var(--steel); padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .4s, color .2s; }
.bench.is-done .bench__replay { opacity: 1; }
.bench__replay:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 13vw, 168px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .lead, .section--paper .muted { color: #5c5c62; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; } }

/* Révélation au défilement : texte seulement, discret */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Deux chemins ---------- */
.paths { display: grid; gap: 14px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { position: relative; display: flex; flex-direction: column; min-height: 560px; border-radius: 28px; overflow: hidden; background: var(--graphite); isolation: isolate; }
.path .shot { position: absolute; inset: 0; z-index: -1; background: transparent; }
.path .shot img { object-fit: cover; object-position: 50% 25%; }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 30%, rgba(0,0,0,.75) 58%, #000 88%); pointer-events: none; }
.path__body { margin-top: auto; padding: 32px; }
.path__body h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; font-variation-settings: "wdth" 82; }
.path__body p { color: var(--mist); max-width: 26em; margin: 12px 0 22px; }
.path__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.path__price { font-size: 15px; color: var(--steel); }
.path__price b { display: block; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.path__go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s, transform .5s var(--ease); flex: none; }
.path__go svg { width: 20px; height: 20px; }
.path:hover .path__go { background: var(--ink); color: var(--black); transform: rotate(-45deg); }
.path:hover .shot img { filter: grayscale(0) brightness(1); transform: scale(1.03); }

/* ---------- Disponibilité atelier ---------- */
.avail { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.avail__slots { display: flex; gap: 4px; flex: none; }
.avail__slots i { width: 18px; height: 6px; border-radius: 3px; background: var(--line-strong); }
.avail__slots i.on { background: var(--ink); }

/* ---------- Manifeste ---------- */
.manifesto { font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; font-variation-settings: "wdth" 82; max-width: 17em; margin: 0; }
.manifesto .w { color: #3a3a3e; transition: color .5s; }
.manifesto .w.is-on { color: var(--ink); }

/* ---------- Méthode (séquence réelle) ---------- */
.method { display: grid; gap: 40px; }
@media (min-width: 960px) { .method { grid-template-columns: .8fr 1.2fr; gap: 80px; } .method__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.method__progress { margin-top: 36px; display: none; }
@media (min-width: 960px) { .method__progress { display: block; } }
.method__progress .track { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.method__progress .track i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s linear; }
.method__progress .label { margin-top: 14px; font-size: 15px; color: var(--steel); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 34px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease); }
.step.is-active, .step.is-past { opacity: 1; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-size: 15px; color: var(--steel); font-variant-numeric: tabular-nums; padding-top: 6px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--mist); margin: 0; max-width: 32em; }
.step__when { grid-column: 2; margin-top: 14px; font-size: 14px; color: var(--steel); }

/* ---------- Bulletin de validation (document papier) ---------- */
.bulletin-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .bulletin-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.sheet { position: relative; background: #fff; color: var(--paper-ink); border-radius: 6px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -20px rgba(0,0,0,.25), 0 12px 24px -12px rgba(0,0,0,.12); transform: rotate(-1.2deg); transition: transform .9s var(--ease); font-size: 15px; }
.sheet:hover { transform: rotate(0) translateY(-4px); }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--paper-line); }
.sheet__head img { height: 30px; width: auto; filter: invert(1); }
.sheet__ref { text-align: right; font-size: 13px; color: #6e6e73; line-height: 1.4; }
.sheet__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 20px 0 4px; }
.sheet__sub { color: #6e6e73; font-size: 14px; margin: 0 0 16px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }
.checks .tick { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.checks .tick svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s .1s var(--ease); }
.checks li.is-ok .tick { background: var(--paper-ink); box-shadow: none; }
.checks li.is-ok .tick svg { stroke-dashoffset: 0; }
.checks .val { font-size: 13.5px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.sheet__temps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.sheet__temps > div { padding: 12px; border-radius: 10px; background: #f4f4f2; }
.sheet__temps b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sheet__temps span { font-size: 12px; color: #6e6e73; }
.sheet__temps .heat { height: 3px; border-radius: 2px; margin-top: 8px; background: var(--thermal); clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.sheet.is-signed .sheet__temps .heat { clip-path: inset(0 var(--cut, 40%) 0 0); }
.sheet__sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 22px; font-size: 13px; color: #6e6e73; }
.sheet__sign svg { width: 130px; height: 44px; }
.sheet__sign path { fill: none; stroke: var(--paper-ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s .3s var(--ease-in-out); }
.sheet.is-signed .sheet__sign path { stroke-dashoffset: 0; }
.sample-note { position: absolute; top: -12px; right: 18px; background: var(--paper-ink); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.bullet-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.bullet-points li { padding-left: 22px; position: relative; color: #3a3a3e; }
.bullet-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: currentColor; }

/* ---------- Carrousel réalisations ---------- */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px 0; margin: 0 calc(-1 * var(--gutter)) 0 0; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.build { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; }
.build .shot { aspect-ratio: 4 / 5; border-radius: 22px; }
.build__cap { padding: 16px 4px 0; }
.build__cap h3 { font-size: 20px; }
.build__cap p { margin: 6px 0 0; font-size: 15px; color: var(--steel); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--mist); }
.tag--ready::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.build .tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rail-ctrl { display: flex; gap: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .25s, color .25s; }
.round:hover { background: var(--ink); color: var(--black); }
.round svg { width: 18px; height: 18px; }

/* ---------- Avis ---------- */
.reviews { display: grid; gap: 48px; }
@media (min-width: 960px) { .reviews { grid-template-columns: .7fr 1.3fr; gap: 80px; } }
.score { font-size: clamp(88px, 13vw, 168px); font-weight: 600; letter-spacing: -.05em; line-height: .9; font-variation-settings: "wdth" 78; }
.quotes { display: grid; gap: 40px; }
.quote { margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.quote p { font-size: clamp(20px, 2vw, 26px); line-height: 1.38; letter-spacing: -.015em; margin: 0 0 18px; }
.quote footer { font-size: 15px; color: var(--steel); }

/* ---------- Engagements ---------- */
.commit { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .commit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .commit { grid-template-columns: repeat(4, 1fr); } }
.commit > div { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.commit h3 { font-size: 21px; margin-bottom: 10px; }
.commit p { color: var(--steel); margin: 0; font-size: 16px; }
.commit svg { width: 28px; height: 28px; margin-bottom: 22px; stroke: var(--ink); stroke-width: 1.4; fill: none; }

/* ---------- CTA final ---------- */
.final { text-align: left; }
.final h2 { font-size: clamp(42px, 7vw, 96px); max-width: 12em; }
.final__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- Pied de page ---------- */
.footer { padding: 72px 0 120px; border-top: 1px solid var(--line); font-size: 15px; color: var(--steel); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer { padding-bottom: 56px; } }
.footer img { height: 34px; width: auto; margin-bottom: 18px; }
.footer h4 { margin: 0 0 14px; color: var(--ink); font-size: 15px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ink); }
.footer__legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 10vw, 120px)) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(44px, 7.2vw, 96px); max-width: 11em; }
.page-hero .lead { margin-top: 26px; }
.crumb { font-size: 14px; color: var(--steel); margin-bottom: 26px; display: flex; gap: 8px; }
.crumb a:hover { color: var(--ink); }

/* ---------- Onglets d'usage (stations) ---------- */
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--mist); white-space: nowrap; transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--black); }
.tabs__pill { position: absolute; z-index: 0; top: 5px; height: 42px; border-radius: 999px; background: var(--ink); transition: left .5s var(--ease), width .5s var(--ease); }
.usage { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 960px) { .usage { grid-template-columns: 1fr 1fr; gap: 80px; } }
.usage__panel { animation: fade .6s var(--ease); }
.usage__panel h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.usage__panel > p { color: var(--mist); }
.specs { list-style: none; padding: 0; margin: 28px 0 0; }
.specs li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.specs li span:first-child { color: var(--steel); }
.specs li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .specs li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Calculateur VRAM ---------- */
.calc { border-radius: 28px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 48px); display: grid; gap: 36px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; gap: 64px; } }
.field { margin-bottom: 28px; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; color: var(--mist); }
.field__label b { color: var(--ink); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { height: 46px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--mist); transition: background .25s, color .25s, box-shadow .25s; }
.seg button:hover { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--black); box-shadow: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-strong) var(--p, 50%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgba(255,255,255,.08); transition: transform .2s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--ink); }
.gauge__value { font-size: clamp(64px, 9vw, 112px); font-weight: 600; letter-spacing: -.05em; line-height: .95; font-variation-settings: "wdth" 78; font-variant-numeric: tabular-nums; }
.gauge__value small { font-size: .32em; letter-spacing: -.01em; color: var(--steel); margin-left: 6px; }
.gauge__bar { position: relative; height: 10px; border-radius: 6px; background: var(--anthracite); margin: 26px 0 10px; overflow: hidden; }
.gauge__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--thermal); background-size: var(--bs, 100%) 100%; transition: width .7s var(--ease); }
.gauge__ticks { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--steel); font-variant-numeric: tabular-nums; }
.gauge__verdict { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--anthracite); }
.gauge__verdict b { display: block; font-size: 19px; margin-bottom: 4px; letter-spacing: -.01em; }
.gauge__verdict span { color: var(--mist); font-size: 15px; }
.fine { font-size: 13.5px; color: var(--steel); margin-top: 18px; }

/* ---------- Offres de départ ---------- */
.tiers { display: grid; gap: 14px; }
@media (min-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { border-radius: 28px; padding: clamp(28px, 3.5vw, 44px); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: box-shadow .4s, background .4s; }
.tier:hover { box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(255,255,255,.015); }
.tier--feature { background: var(--ink); color: var(--black); box-shadow: none; }
.tier--feature:hover { background: #fff; box-shadow: none; }
.tier--feature .specs li { border-color: rgba(0,0,0,.1); }
.tier--feature .specs li span:first-child, .tier--feature .muted { color: #6e6e73; }
.tier--feature .btn { --bg: var(--black); --fg: var(--ink); }
.tier h3 { font-size: clamp(26px, 2.6vw, 34px); }
.tier__price { margin: 18px 0 6px; font-size: 15px; color: var(--steel); }
.tier__price b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: inherit; margin-left: 6px; }
.tier--feature .tier__price b { color: var(--black); }
.tier .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { overflow: hidden; color: var(--mist); max-width: 40em; }
.faq .answer p { padding-bottom: 26px; margin: 0; }

/* ---------- Interrupteur d'éclairage (gaming) ---------- */
.lightbox { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .lightbox { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.lightbox .shot { aspect-ratio: 1; border-radius: 28px; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.lightbox .shot img { object-fit: contain; padding: 6%; filter: grayscale(1) brightness(.7) contrast(1.1); }
.lightbox .shot.is-lit img { filter: none; }
.lightbox .shot:hover img { transform: none; }
.switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 16px; }
.switch button { width: 58px; height: 34px; border-radius: 999px; background: var(--anthracite); box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; transition: background .4s; }
.switch button::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); transition: transform .45s var(--ease); }
.switch button[aria-checked="true"] { background: var(--thermal); box-shadow: none; }
.switch button[aria-checked="true"]::after { transform: translateX(24px); }

/* ---------- Grille réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--mist); transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--black); box-shadow: none; }
.chip sup { font-size: 11px; margin-left: 4px; opacity: .6; }
.grid { display: grid; gap: 40px 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid .build { flex: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.grid .build.is-out { opacity: 0; transform: scale(.96); }
.grid .build[hidden] { display: none; }
.build--slot .shot { display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px); }
.build--slot .shot p { max-width: 15em; text-align: center; color: var(--steel); margin: 0; padding: 24px; }
.build__price { color: var(--ink); font-weight: 600; }

/* ---------- Étude de cas ---------- */
.case-hero { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .case-hero { grid-template-columns: 1fr 1fr; gap: 72px; } }
.case-hero .shot { aspect-ratio: 4 / 5; border-radius: 28px; view-transition-name: build-obsidian; }
.parts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.parts li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .parts li { grid-template-columns: 180px 1fr 1.3fr; gap: 28px; } }
.parts .k { color: var(--steel); font-size: 15px; }
.parts .v { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.parts .why { color: var(--mist); font-size: 16px; }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery .shot { border-radius: 22px; aspect-ratio: 1; }
.gallery .shot:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

/* ---------- Tunnel projet ---------- */
.funnel { display: grid; gap: 40px; }
@media (min-width: 1000px) { .funnel { grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: start; } .summary { position: sticky; top: calc(var(--nav-h) + 32px); } }
.funnel__progress { display: flex; gap: 6px; margin-bottom: 40px; }
.funnel__progress i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.funnel__progress i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.funnel__progress i.on::after { transform: scaleX(1); }
.qstep { display: none; }
.qstep.is-active { display: block; animation: stepIn .6s var(--ease); }
.qstep.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.qstep h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 14px; }
.qstep > p { color: var(--mist); max-width: 34em; }
.options { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 640px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; text-align: left; padding: 22px 22px 22px 58px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s, transform .3s var(--ease); }
.opt:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.opt:active { transform: scale(.99); }
.opt::before { content: ""; position: absolute; left: 22px; top: 25px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .25s; }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(255,255,255,.04); }
.opt[aria-pressed="true"]::before { box-shadow: inset 0 0 0 6px var(--ink); }
.opt b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.opt span { display: block; color: var(--steel); font-size: 15px; margin-top: 4px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; }
.qnav .back { color: var(--steel); font-size: 15px; padding: 12px 0; }
.qnav .back:hover { color: var(--ink); }
.qnav .btn[disabled] { opacity: .35; pointer-events: none; }
.budget-out { font-size: clamp(56px, 8vw, 96px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variation-settings: "wdth" 78; margin: 36px 0 18px; font-variant-numeric: tabular-nums; }
.note { margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; color: var(--mist); }
.note b { color: var(--ink); }
.note a { color: var(--ink); }
.form { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.input { position: relative; }
.input input, .input textarea { width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: 14px; border: 0; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .25s; font-size: 16px; }
.input textarea { height: 120px; resize: vertical; padding-top: 28px; }
.input input:focus, .input textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.input label { position: absolute; left: 18px; top: 19px; color: var(--steel); font-size: 16px; pointer-events: none; transition: transform .25s var(--ease), font-size .25s; transform-origin: left; }
.input input:focus + label, .input input:not(:placeholder-shown) + label, .input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 12.5px; }
.summary { border-radius: 24px; padding: 28px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); }
.summary h3 { font-size: 20px; margin-bottom: 4px; }
.summary dl { margin: 22px 0 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.summary dt { color: var(--steel); }
.summary dd { margin: 0; text-align: right; transition: color .3s; }
.summary dd.is-empty { color: #4a4a4f; }
.summary dd.flash { animation: flash .8s var(--ease); }
@keyframes flash { from { color: var(--warm); } }
.done { text-align: left; }
.done__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--black); margin-bottom: 32px; }
.done__icon svg { width: 30px; height: 30px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Couche « maquette » (à valider avec Samuel) ---------- */
.tbd { transition: box-shadow .3s, background .3s; border-radius: 4px; }
.show-tbd .tbd { box-shadow: 0 0 0 2px var(--warm); background: rgba(255, 214, 10, .08); }
.mq { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(28,28,30,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--mist); }
.mq button { height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; color: var(--ink); }
.show-tbd .mq button { background: var(--warm); color: #000; box-shadow: none; }
@media (min-width: 960px) { .mq { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
.qnav[hidden], [hidden] { display: none !important; }
.path { outline: 1px solid var(--line); outline-offset: -1px; }
