/* ════════════════════════════════════════════════════════════════════
   SmartHost — design system « Système » (refonte du 2026-09-27)
   Sombre, doré, dans la continuité de l'application SmartHost elle-même.
   Une seule feuille pour toutes les pages refondues. Les jetons d'abord,
   les composants ensuite, les pages en dernier.
   ════════════════════════════════════════════════════════════════════ */

/* ─── 0. Polices, hébergées sur le site (licence OFL) ───────────────── */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-italic-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-normal-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-normal-400-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-normal-400-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-normal-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-normal-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ─── 1. Jetons ─────────────────────────────────────────────────────── */
:root {
  --bg: #050B16;
  --bg-1: #08111F;
  --bg-2: #0C1829;
  --bg-3: #112039;
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --glass-3: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-gold: rgba(217, 169, 78, .38);

  --text: #F5F0E6;
  --text-2: #CFC8BA;
  --text-3: #9AA2B3;

  --gold: #D9A94E;
  --gold-2: #F3D08A;
  --gold-3: #A9792D;
  --gold-soft: rgba(217, 169, 78, .12);
  --gold-glow: rgba(217, 169, 78, .22);
  --on-gold: #1B1307;

  --red: #FF8173;
  --red-soft: rgba(255, 129, 115, .12);
  --green: #5AD8A0;
  --green-soft: rgba(90, 216, 160, .12);
  --blue: #8DB0FF;
  --blue-soft: rgba(141, 176, 255, .12);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(88px, 12vw, 160px);
  --nav-h: 72px;
}

/* ─── 2. Socle ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
/* grain : texture de papier très légère sur tout le site */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

main, footer, .nav { position: relative; z-index: 2; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1320px; }

/* ─── 3. Typographie ────────────────────────────────────────────────── */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; color: var(--text); }
.display { font-size: clamp(2.9rem, 7.4vw, 6.2rem); line-height: .98; letter-spacing: -.025em; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1.02; }
.h2 { font-size: clamp(2.15rem, 4.6vw, 3.9rem); line-height: 1.04; }
.h3 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); line-height: 1.12; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--gold-2); }
.gold-text {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 45%, #F7DDA3 70%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.08rem, 1.55vw, 1.28rem); line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.muted { color: var(--text-3); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after, .eyebrow.center::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }

/* ─── 4. Boutons ────────────────────────────────────────────────────── */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .25s;
  cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--gold {
  color: var(--on-gold);
  background: linear-gradient(180deg, #F6D797 0%, var(--gold) 55%, #C4913A 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(0,0,0,.18) inset, 0 10px 30px -8px rgba(217,169,78,.55), 0 0 0 1px rgba(217,169,78,.6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -1px 0 rgba(0,0,0,.18) inset, 0 18px 44px -10px rgba(217,169,78,.7), 0 0 0 1px rgba(243,208,138,.9); }
.btn--gold:active { transform: translateY(0); }
.btn--ghost { color: var(--text); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-gold); transform: translateY(-2px); }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 1.04rem; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line-gold); margin-left: -8px; }
.btn .play svg { width: 11px; height: 11px; color: var(--gold-2); margin-left: 2px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; font-size: .95rem; border-bottom: 1px solid transparent; transition: border-color .25s, gap .3s var(--ease); }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .cta-row { justify-content: center; }
.cta-note { margin-top: 18px; font-size: .88rem; color: var(--text-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.center .cta-note { justify-content: center; }
.cta-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); flex: none; }

/* ─── 5. Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.nav.is-scrolled { background: rgba(5, 11, 22, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -.01em; font-size: 1.06rem; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name small { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; white-space: nowrap; padding: 9px 13px; border-radius: 999px; font-size: .93rem; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: var(--glass-2); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; transition: transform .3s var(--ease), background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav-open .nav__burger span { background: transparent; }
.nav-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 85; background: rgba(5, 11, 22, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.nav-open .drawer { opacity: 1; visibility: visible; }
.drawer a.drawer__link { font-family: var(--serif); font-size: 2.1rem; line-height: 1.25; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.drawer a.drawer__link span { font-family: var(--mono); font-size: .7rem; color: var(--gold); letter-spacing: .14em; margin-right: 12px; vertical-align: middle; }
.drawer .btn { margin-top: 24px; }
.drawer__contact { margin-top: 18px; font-size: .9rem; color: var(--text-3); }
.drawer__contact a { color: var(--text-2); }

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 420px) {
  .nav__cta .btn--gold { display: none; }
}

/* ─── 6. Sections & fonds ───────────────────────────────────────────── */
.section { position: relative; padding: var(--section) 0; overflow-x: clip; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 84px); }
.section__head.center { margin-left: auto; margin-right: auto; }
.section__head .lead { margin-top: 22px; }

.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0; }
.glow--gold { background: radial-gradient(circle, rgba(217,169,78,.35), transparent 65%); }
.glow--blue { background: radial-gradient(circle, rgba(70,110,200,.30), transparent 65%); }
.section > .container { position: relative; z-index: 1; }

.bg-grid::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .5;
}

/* ─── 7. Cartes ─────────────────────────────────────────────────────── */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: border-color .35s, transform .45s var(--ease), background .35s;
}
.card:hover { border-color: var(--line-2); }
.card--gold { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(217,169,78,.10), rgba(217,169,78,.02)); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line-gold); color: var(--gold-2); margin-bottom: 20px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.35; }
.card p { color: var(--text-2); font-size: .98rem; margin: 0; }

.tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--glass-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--app { color: var(--gold-2); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line-gold); }
.tag--nowistay { color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(141,176,255,.32); }
.tag--red { color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(255,129,115,.3); }
.tag--green { color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(90,216,160,.3); }

/* ─── 8. Téléphone ──────────────────────────────────────────────────── */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 780 / 1640;
  border-radius: calc(var(--w) * .15);
  padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #2A2F3A, #0B0F17 40%, #1C212B 75%, #0A0D14);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 50px 100px -30px rgba(0,0,0,.85),
    0 30px 60px -30px rgba(217,169,78,.18);
  flex: none;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .12); overflow: hidden; background: #070A10; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__island { position: absolute; top: calc(var(--w) * .052); left: 50%; transform: translateX(-50%); width: 31%; height: calc(var(--w) * .082); background: #000; border-radius: 999px; z-index: 5; }
.phone--sm { --w: 230px; }
.phone--xs { --w: 190px; }

/* écran de verrouillage fabriqué en CSS (héros, notifications) */
.lock { position: absolute; inset: 0; background:
  radial-gradient(120% 70% at 50% 0%, rgba(217,169,78,.28), transparent 60%),
  radial-gradient(90% 60% at 80% 100%, rgba(70,110,200,.35), transparent 60%),
  linear-gradient(180deg, #0F1A2E, #070B13);
  display: flex; flex-direction: column; align-items: center; padding: 18% 5.5% 6%; }
.lock__date { font-size: calc(var(--w) * .05); color: rgba(255,255,255,.82); font-weight: 500; }
.lock__time { font-size: calc(var(--w) * .235); line-height: 1; font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.92); margin: 2% 0 10%; font-variant-numeric: tabular-nums; }
.lock__stack { width: 100%; display: flex; flex-direction: column; gap: 7px; margin-top: auto; }

.notif {
  display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: start;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(40, 46, 58, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  font-size: calc(var(--w, 300px) * .036);
  line-height: 1.3;
  color: #fff;
  text-align: left;
}
.notif__icon { width: 2.3em; height: 2.3em; border-radius: .6em; display: grid; place-items: center; background: linear-gradient(145deg, #2A2012, #120D06); box-shadow: inset 0 0 0 1px rgba(217,169,78,.5); font-family: var(--mono); font-size: .72em; font-weight: 600; color: var(--gold-2); letter-spacing: 0; }
.notif__title { font-weight: 600; font-size: 1em; }
.notif__body { color: rgba(255,255,255,.78); font-size: .93em; }
.notif__time { color: rgba(255,255,255,.5); font-size: .82em; white-space: nowrap; }

/* notifications « muettes » autour du héros */
.muted-notif {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  font-size: .8rem; color: var(--text-3);
  white-space: nowrap;
  opacity: .7;
  filter: saturate(0);
}
.js .muted-notif { opacity: 0; }
.muted-notif b { font-weight: 600; color: var(--text-2); }
.muted-notif .bell { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--text-3); flex: none; }
.muted-notif .bell svg { width: 14px; height: 14px; }
.muted-notif s { text-decoration-color: rgba(255,129,115,.55); }

/* ─── 9. Héros ──────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero .glow--gold { width: 780px; height: 780px; top: -260px; right: -160px; }
.hero .glow--blue { width: 720px; height: 720px; bottom: -380px; left: -260px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .display { margin-bottom: 26px; }
.hero__copy .lead { margin-bottom: 34px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.hero__visual .phone { --w: 312px; z-index: 3; }
.hero__visual .halo { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: radial-gradient(circle, rgba(217,169,78,.28), transparent 62%); filter: blur(10px); z-index: 1; }
.hero__visual .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(217,169,78,.16); z-index: 1; }
.hero__visual .ring--1 { width: 520px; height: 520px; }
.hero__visual .ring--2 { width: 700px; height: 700px; border-color: rgba(217,169,78,.08); }

.js .hero .notif { opacity: 0; transform: translateY(14px) scale(.97); }
.is-live .hero .notif, .hero.is-live .notif { animation: notif-in .8s var(--ease) forwards; }
.hero.is-live .notif:nth-child(1) { animation-delay: .5s; }
.hero.is-live .notif:nth-child(2) { animation-delay: 1.5s; }
.hero.is-live .notif:nth-child(3) { animation-delay: 2.5s; }
.hero.is-live .notif:nth-child(4) { animation-delay: 3.5s; }
@keyframes notif-in { to { opacity: 1; transform: none; } }

.hero.is-live .muted-notif { animation: muted-drift 7s var(--ease-soft) infinite; }
@keyframes muted-drift {
  0% { opacity: 0; transform: translate3d(0, 10px, 0); }
  18% { opacity: .9; transform: translate3d(0, 0, 0); }
  62% { opacity: .9; transform: translate3d(0, -4px, 0); }
  100% { opacity: 0; transform: translate3d(0, -26px, 0); }
}

.hero__proof { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero__proof div { padding: 26px 22px 0 0; }
.hero__proof div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero__proof strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; color: var(--text); margin-bottom: 8px; letter-spacing: -.02em; }
.hero__proof span { font-size: .9rem; color: var(--text-3); line-height: 1.45; display: block; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 560px; order: 2; }
  .hero__proof { grid-template-columns: repeat(2, 1fr); }
  .hero__proof div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__proof div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}
@media (max-width: 560px) {
  .hero__visual { min-height: 520px; }
  .hero__visual .phone { --w: 262px; }
  .hero__visual .ring--1 { width: 400px; height: 400px; }
  .hero__visual .ring--2 { display: none; }
  .muted-notif { font-size: .7rem; }
}

/* ─── 10. Scènes : aujourd'hui / avec le Système ────────────────────── */
.switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; margin-bottom: 44px; }
.switch button { position: relative; z-index: 1; padding: 11px 22px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--text-3); transition: color .3s; min-height: 44px; }
.switch button[aria-pressed="true"] { color: var(--on-gold); }
.switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: linear-gradient(180deg, #F6D797, var(--gold)); transition: transform .45s var(--ease), width .45s var(--ease); box-shadow: 0 8px 20px -8px rgba(217,169,78,.6); }
.switch.is-before button[data-state="before"] { color: var(--text); }
.switch.is-before .switch__pill { background: linear-gradient(180deg, #3A2A2A, #2A1C1C); box-shadow: inset 0 0 0 1px rgba(255,129,115,.35); }

.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scene { position: relative; min-height: 320px; border-radius: var(--r-lg); perspective: 1400px; }
.scene__face { position: absolute; inset: 0; border-radius: var(--r-lg); padding: 26px 24px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease), opacity .5s; border: 1px solid var(--line); }
.scene__face--before { background: linear-gradient(180deg, rgba(255,129,115,.06), rgba(255,255,255,.015)); }
.scene__face--after { background: linear-gradient(180deg, rgba(217,169,78,.12), rgba(217,169,78,.02)); border-color: var(--line-gold); transform: rotateY(180deg); }
.scenes.is-after .scene__face--before { transform: rotateY(-180deg); }
.scenes.is-after .scene__face--after { transform: rotateY(0); }
.scene__quote { font-family: var(--serif); font-size: 1.42rem; line-height: 1.15; color: var(--text); margin-bottom: 14px; }
.scene__face--before .scene__quote::before { content: '« '; color: var(--red); }
.scene__face--before .scene__quote::after { content: ' »'; color: var(--red); }
.scene__text { font-size: .93rem; color: var(--text-2); line-height: 1.55; margin: 0; }
.scene__cost { margin-top: auto; padding-top: 16px; font-size: .8rem; font-family: var(--mono); letter-spacing: .04em; color: var(--red); display: flex; gap: 8px; align-items: flex-start; }
.scene__piece { margin-top: auto; padding-top: 16px; font-size: .74rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.scene__face--after .scene__title { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; margin-bottom: 10px; line-height: 1.3; }
.scene__face--after .scene__title::before { content: ''; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235AD8A0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px rgba(90,216,160,.4); }
@media (max-width: 1100px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .scenes { grid-template-columns: 1fr; }
  .scene { min-height: 0; }
  .scene__face { position: relative; transform: none !important; }
  .scene__face--after { display: none; }
  .scenes.is-after .scene__face--before { display: none; }
  .scenes.is-after .scene__face--after { display: flex; }
}

/* ─── 11. Notifications : ce qui se tait / ce qui sonne ─────────────── */
.notify { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.notify__col h3 { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.notify__col--off h3 { color: var(--text-3); }
.notify__col--on h3 { color: var(--gold); }
.noise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.noise-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); font-size: .9rem; color: var(--text-3); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.noise-list li .src { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-3); flex: none; min-width: 74px; text-align: center; }
.noise-list li .txt { flex: 1; }
.noise-list li .off { width: 18px; height: 18px; color: var(--text-3); opacity: .7; flex: none; }
.notify.is-live .noise-list li { opacity: .42; filter: blur(.3px); }
.notify.is-live .noise-list li .txt { text-decoration: line-through; text-decoration-color: rgba(255,129,115,.5); }
.noise-list li { transition-delay: calc(var(--i, 0) * 90ms); }

.signal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.signal-list .notif { --w: 380px; font-size: .88rem; padding: 12px 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px -24px rgba(0,0,0,.8); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.5s + var(--i, 0) * 140ms); }
.js .signal-list .notif { opacity: 0; transform: translateX(-14px); }
.js .notify.is-live .signal-list .notif { opacity: 1; transform: none; }
.signal-list .notif__who { display: block; margin-top: 5px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

.notify__funnel { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--gold); }
.notify__funnel .core { width: 86px; height: 86px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(145deg, #2A2012, #0F0B05); box-shadow: inset 0 0 0 1px var(--line-gold), 0 0 60px -10px var(--gold-glow); font-family: var(--mono); font-weight: 600; color: var(--gold-2); font-size: 1.1rem; letter-spacing: .02em; }
.notify__funnel .beam { width: 1px; height: 70px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.notify__funnel small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); text-align: center; max-width: 12ch; }
@media (max-width: 980px) {
  .notify { grid-template-columns: 1fr; }
  .notify__funnel { flex-direction: row; justify-content: center; }
  .notify__funnel .beam { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
}

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.rule { padding: 28px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.rule__n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 16px; font-style: italic; }
.rule h3 { font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.rule p { color: var(--text-2); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }

/* ─── 12. Les douze pièces : récit défilant ─────────────────────────── */
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pieces { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pieces__stage { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 8vh); min-height: 560px; display: flex; align-items: center; justify-content: center; }
.pieces__stage .phone { --w: min(320px, 36vh); }
.pieces__stage .halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(217,169,78,.22), transparent 62%); }
.pieces__screens { position: absolute; inset: 0; }
.pieces__screens > * { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pieces__screens > .is-on { opacity: 1; transform: none; }
.pieces__counter { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--text-3); white-space: nowrap; }
.pieces__counter b { color: var(--gold-2); font-weight: 500; }

.pieces__list { display: flex; flex-direction: column; }
.chapter { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); padding: 42px 0 8px; display: flex; align-items: center; gap: 12px; }
.chapter:first-child { padding-top: 0; }
.chapter::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.piece { padding: 36px 0 40px; border-bottom: 1px solid var(--line); min-height: 58vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .5s var(--ease); }
.piece.is-on { opacity: 1; }
.piece__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.piece__n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold); min-width: 52px; }
.piece h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.08; margin-bottom: 14px; }
.piece h3 em { color: var(--gold-2); }
.piece p { color: var(--text-2); font-size: 1.02rem; max-width: 56ch; }
.piece ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.piece li { position: relative; padding-left: 26px; color: var(--text-2); font-size: .96rem; }
.piece li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 1px; background: var(--gold); }
.piece__fig { display: none; }
@media (max-width: 900px) {
  .pieces { grid-template-columns: 1fr; }
  .pieces__stage { display: none; }
  .piece { min-height: 0; opacity: 1; padding: 34px 0; }
  .piece__fig { display: flex; justify-content: center; margin-top: 24px; }
  .piece__fig .phone { --w: 240px; }
}

/* écrans fabriqués pour les pièces portées par Nowistay (1 à 4) */
.mock { position: absolute; inset: 0; background: linear-gradient(180deg, #0D1422, #080C14); color: #EEF1F7; font-size: calc(var(--w, 300px) * .038); padding: 20% 6% 6%; display: flex; flex-direction: column; gap: 3.5%; overflow: hidden; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; }
.mock__title { font-weight: 700; font-size: 1.35em; letter-spacing: -.01em; }
.mock__sub { color: rgba(238,241,247,.55); font-size: .82em; }
.mock__pill { font-size: .72em; padding: .35em .8em; border-radius: 999px; background: rgba(141,176,255,.14); color: var(--blue); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(141,176,255,.3); }
.mock__card { border-radius: 1em; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); padding: .9em 1em; }
.cal { display: grid; grid-template-columns: 5.2em repeat(7, 1fr); gap: 3px; font-size: .78em; }
.cal__h { color: rgba(238,241,247,.5); text-align: center; padding: .3em 0; }
.cal__row-name { color: rgba(238,241,247,.8); font-size: .92em; padding: .45em 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__cell { position: relative; height: 2.3em; border-radius: .35em; background: rgba(255,255,255,.03); }
.cal__bk { position: absolute; top: 18%; bottom: 18%; border-radius: .5em; font-size: .78em; font-weight: 600; display: flex; align-items: center; padding: 0 .5em; white-space: nowrap; overflow: hidden; color: #0B0F17; z-index: 2; }
.cal__bk--air { background: #FF8A8A; }
.cal__bk--bkg { background: #7FA6FF; }
.cal__bk--dir { background: var(--gold-2); }
.mock__legend { display: flex; gap: 1em; font-size: .72em; color: rgba(238,241,247,.6); flex-wrap: wrap; }
.mock__legend i { display: inline-block; width: .8em; height: .8em; border-radius: .25em; margin-right: .4em; vertical-align: -.1em; }
.bubble { max-width: 84%; padding: .7em .9em; border-radius: 1.1em; font-size: .88em; line-height: 1.35; }
.bubble--in { background: rgba(255,255,255,.08); border-bottom-left-radius: .3em; }
.bubble--out { background: linear-gradient(180deg, #2B3F6B, #22345A); margin-left: auto; border-bottom-right-radius: .3em; }
.bubble small { display: block; margin-top: .35em; font-size: .78em; color: rgba(238,241,247,.55); }
.sched { display: flex; align-items: center; gap: .7em; font-size: .82em; padding: .55em .8em; border-radius: .8em; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.sched b { font-weight: 600; }
.sched .t { margin-left: auto; font-family: var(--mono); font-size: .9em; color: var(--gold-2); }
.code-card { text-align: center; padding: 1.4em 1em; border-radius: 1.2em; background: linear-gradient(160deg, rgba(217,169,78,.18), rgba(217,169,78,.04)); box-shadow: inset 0 0 0 1px rgba(217,169,78,.35); }
.code-card .digits { font-family: var(--mono); font-size: 2.4em; letter-spacing: .18em; font-weight: 600; color: var(--gold-2); margin: .25em 0; }
.code-card small { color: rgba(238,241,247,.6); font-size: .8em; display: block; }
.book-row { display: flex; align-items: center; gap: .8em; padding: .7em .2em; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88em; }
.book-row span.ic { width: 2em; height: 2em; border-radius: .6em; background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: .9em; }
.upsell { display: flex; align-items: center; gap: .8em; padding: .8em .9em; border-radius: 1em; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); font-size: .88em; }
.upsell .price { margin-left: auto; font-weight: 700; color: var(--gold-2); }
.upsell .paid { margin-left: .5em; font-size: .7em; padding: .25em .55em; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; }

/* ─── 13. Rôles (onglets) ───────────────────────────────────────────── */
.roles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.roles__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.roles__tabs button { padding: 11px 18px; min-height: 44px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.roles__tabs button svg { width: 16px; height: 16px; opacity: .8; }
.roles__tabs button:hover { color: var(--text); background: var(--glass); }
.roles__tabs button[aria-selected="true"] { color: var(--on-gold); background: linear-gradient(180deg, #F6D797, var(--gold)); box-shadow: 0 8px 22px -10px rgba(217,169,78,.7); }
.role-panel h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; margin-bottom: 14px; }
.role-panel h3 em { color: var(--gold-2); }
.role-panel > p { color: var(--text-2); font-size: 1.04rem; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); font-size: .98rem; line-height: 1.55; }
.checks li::before { content: ''; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3D08A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px var(--line-gold); }
.checks li strong { color: var(--text); }
.role-panel[hidden] { display: none; }
.roles__visual { display: flex; justify-content: center; position: relative; min-height: 600px; align-items: center; }
.roles__visual .phone { --w: 290px; }
.roles__visual .halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(217,169,78,.22), transparent 62%); }
.roles__visual .phone__screen img { transition: opacity .5s var(--ease); }
.roles__foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--text-3); }
@media (max-width: 900px) {
  .roles { grid-template-columns: 1fr; }
  .roles__visual { min-height: 0; order: -1; }
  .roles__visual .phone { --w: 240px; }
}

/* ─── 14. Carte G / preuve ──────────────────────────────────────────── */
.law { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 36px 0; }
.law__item { padding: 24px; border-radius: var(--r); border: 1px solid rgba(255,129,115,.22); background: linear-gradient(180deg, rgba(255,129,115,.07), transparent); }
.law__item b { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.law__item span { font-size: .9rem; color: var(--text-2); }
.law__item small { display: block; margin-top: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.fan { position: relative; height: 620px; display: flex; justify-content: center; align-items: center; }
.fan .phone { position: absolute; --w: 250px; transition: transform .9s var(--ease); }
.fan .phone:nth-child(1) { transform: translateX(-62%) rotate(-9deg) translateY(30px); z-index: 1; filter: brightness(.7); }
.fan .phone:nth-child(2) { z-index: 3; }
.fan .phone:nth-child(3) { transform: translateX(62%) rotate(9deg) translateY(30px); z-index: 2; filter: brightness(.7); }
.fan:not(.is-live) .phone:nth-child(1), .fan:not(.is-live) .phone:nth-child(3) { transform: translateX(0) rotate(0) translateY(20px); }
.proof-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.proof-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .98rem; }
.proof-list li span { font-family: var(--mono); font-size: .76rem; color: var(--gold); padding-top: 3px; }
.proof-list li strong { color: var(--text); }
.legal-note { margin-top: 30px; padding: 20px 22px; border-radius: var(--r); background: rgba(255,255,255,.025); border: 1px dashed var(--line-2); font-size: .86rem; color: var(--text-3); line-height: 1.6; }
.legal-note b { color: var(--text-2); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--top .fan { position: sticky; top: calc(var(--nav-h) + 40px); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .fan { height: 480px; }
  .fan .phone { --w: 190px; }
  .law { grid-template-columns: 1fr; }
}

/* ─── 15. Fondateur & démo ──────────────────────────────────────────── */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.founder__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,11,22,.85)); }
.founder__badge { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.founder__badge strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; display: block; line-height: 1.1; }
.founder__badge span { font-size: .85rem; color: var(--text-2); }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; color: var(--text); margin: 0 0 28px; }
.quote em { color: var(--gold-2); }
.timeline { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline li b { font-family: var(--mono); font-weight: 500; font-size: .86rem; color: var(--gold); padding-top: 2px; }
.timeline li span { color: var(--text-2); font-size: .98rem; }
.timeline li span strong { color: var(--text); }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 440px; } }

.video-card { position: relative; display: block; width: 100%; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.2s var(--ease), opacity .4s; }
.video-card:hover img { transform: scale(1.035); opacity: .95; }
.video-card__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at center, rgba(5,11,22,.1), rgba(5,11,22,.6)); }
.video-card__play .b { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #F6D797, var(--gold)); box-shadow: 0 0 0 10px rgba(217,169,78,.18), 0 20px 50px -10px rgba(0,0,0,.8); transition: transform .4s var(--ease); }
.video-card:hover .video-card__play .b { transform: scale(1.08); }
.video-card__play .b svg { width: 26px; height: 26px; color: var(--on-gold); margin-left: 4px; }
.video-card__play span { font-weight: 600; font-size: .95rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }

.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3,6,12,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal.is-open { display: flex; }
.modal__box { position: relative; width: min(420px, 100%); }
.modal__box--wide { width: min(1100px, 100%); }
.modal video { width: 100%; max-height: 86vh; border-radius: var(--r); background: #000; }
.modal__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.modal__close svg { width: 18px; height: 18px; }

/* ─── 16. Étapes d'installation ─────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.step__n { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--gold); margin-bottom: 38px; display: flex; justify-content: space-between; align-items: center; }
.step__n i { font-style: normal; color: var(--text-3); }
.step h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin-bottom: 12px; }
.step p { color: var(--text-2); font-size: .95rem; margin: 0; }
.step--gold { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(217,169,78,.1), rgba(217,169,78,.02)); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ─── 17. Offres & calculateur ──────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); }
.plan--star { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(217,169,78,.13), rgba(217,169,78,.025) 55%); box-shadow: 0 40px 90px -40px rgba(217,169,78,.45); }
.plan__badge { position: absolute; top: -13px; left: 30px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, #F6D797, var(--gold)); color: var(--on-gold); font-weight: 600; }
.plan__name { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin-bottom: 6px; }
.plan__for { color: var(--text-3); font-size: .92rem; margin-bottom: 24px; min-height: 2.9em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan__price small { font-size: .88rem; color: var(--text-3); }
.plan__price b { font-family: var(--serif); font-weight: 400; font-size: 3.2rem; line-height: 1; letter-spacing: -.02em; }
.plan__then { font-size: .92rem; color: var(--text-2); margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan .checks { margin-bottom: 28px; }
.plan .checks li { font-size: .93rem; }
.plan .btn { margin-top: auto; }
.plan__fine { margin-top: 12px; font-size: .78rem; color: var(--text-3); text-align: center; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.calc { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-1); }
.calc__left { padding: 34px 34px 30px; }
.calc__left h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin-bottom: 8px; }
.calc__left p { color: var(--text-3); font-size: .93rem; }
.calc__row { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.calc__out { font-family: var(--serif); font-size: 3rem; line-height: 1; min-width: 2.4ch; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) 0 var(--p, 20%), rgba(255,255,255,.1) var(--p, 20%) 100%); outline-offset: 8px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #F6D797; box-shadow: 0 0 0 6px rgba(217,169,78,.22), 0 6px 16px rgba(0,0,0,.5); cursor: grab; }
.calc input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #F6D797; box-shadow: 0 0 0 6px rgba(217,169,78,.22); cursor: grab; }
.calc__right { padding: 34px; background: linear-gradient(160deg, rgba(217,169,78,.14), rgba(217,169,78,.03)); border-left: 1px solid var(--line-gold); display: flex; flex-direction: column; justify-content: center; }
.calc__right small { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.calc__total { font-family: var(--serif); font-size: 3.4rem; line-height: 1; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.calc__total span { font-family: var(--sans); font-size: 1rem; color: var(--text-3); }
.calc__detail { font-size: .86rem; color: var(--text-2); }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } .calc__right { border-left: 0; border-top: 1px solid var(--line-gold); } }
.fine-print { margin-top: 22px; font-size: .84rem; color: var(--text-3); text-align: center; line-height: 1.6; }

/* ─── 18. FAQ ───────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.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(1.05rem, 1.6vw, 1.22rem); font-weight: 500; color: var(--text); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq summary .pm { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .4s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-2); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--gold-soft); transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 60px 28px 0; color: var(--text-2); font-size: 1rem; line-height: 1.7; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--gold-2); border-bottom: 1px solid rgba(243,208,138,.35); }
@media (max-width: 600px) { .faq .answer { padding-right: 0; } }

/* ─── 19. Appel final ───────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line-gold); padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; background:
  radial-gradient(80% 90% at 50% 0%, rgba(217,169,78,.22), transparent 60%),
  radial-gradient(60% 70% at 50% 120%, rgba(70,110,200,.25), transparent 60%),
  var(--bg-1); }
.final .h1 { max-width: 16ch; margin: 0 auto 22px; }
.final .lead { margin: 0 auto 36px; }
.final__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; font-size: .88rem; color: var(--text-3); }
.final__meta span { display: inline-flex; align-items: center; gap: 8px; }
.final__meta svg { width: 16px; height: 16px; color: var(--gold); }

/* ─── 20. Pied de page ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; margin-top: var(--section); background: linear-gradient(180deg, transparent, rgba(8,17,31,.8)); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__about p { color: var(--text-3); font-size: .92rem; margin-top: 16px; max-width: 34ch; }
.footer .footer__h { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--text-2); font-size: .93rem; transition: color .2s; }
.footer ul a:hover { color: var(--gold-2); }
.footer__legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: .8rem; color: var(--text-3); line-height: 1.6; }
.footer__legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__legal a { color: var(--text-3); }
.footer__legal a:hover { color: var(--text-2); }
.footer__legal .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ─── 21. Barre d'appel mobile ──────────────────────────────────────── */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none; gap: 10px; padding: 10px; border-radius: 22px; background: rgba(8,17,31,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -10px rgba(0,0,0,.8); transform: translateY(140%); transition: transform .5s var(--ease); }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; --h: 48px; padding: 0 14px; font-size: .92rem; }
.sticky-cta .btn--ghost { flex: 0 0 auto; }
@media (max-width: 760px) { .sticky-cta { display: flex; padding-bottom: calc(10px + env(safe-area-inset-bottom)); } }

/* ─── 22. Défilement : apparitions ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ─── 23. Bandeau défilant des pièces ───────────────────────────────── */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.5rem; color: var(--text-2); white-space: nowrap; }
.marquee__item i { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--gold); letter-spacing: .1em; }
.marquee__item::after { content: '✦'; color: var(--gold-3); font-size: .8rem; margin-left: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── 24. Pages intérieures : en-tête, fil d'Ariane, prose ──────────── */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.page-hero .glow--gold { width: 700px; height: 700px; top: -300px; right: -200px; }
.page-hero .lead { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--text-3); margin-bottom: 28px; list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: .5; }
.crumbs a:hover { color: var(--gold-2); }

.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; color: var(--text); margin-top: 2.2em; letter-spacing: -.01em; }
.prose h3 { font-family: var(--sans); font-size: 1.22rem; font-weight: 600; color: var(--text); margin-top: 1.8em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--gold-2); border-bottom: 1px solid rgba(243,208,138,.35); transition: border-color .2s; }
.prose a:hover { border-color: var(--gold-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .callout { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-gold); background: var(--gold-soft); color: var(--text); font-size: 1rem; }

.toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: .88rem; }
.toc .toc__title { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-3); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-on { color: var(--text); border-color: var(--gold); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; }
@media (max-width: 1080px) { .article-grid { grid-template-columns: 1fr; } .article-grid .toc { display: none; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 28px; font-size: .88rem; color: var(--text-3); }
.article-meta .author { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.article-meta .author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-gold); }
.article-cover { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); margin-bottom: 56px; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cta { margin: 3em 0; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line-gold); background: linear-gradient(160deg, rgba(217,169,78,.12), rgba(217,169,78,.02)); }
.article-cta h3 { font-family: var(--serif) !important; font-size: 1.8rem !important; font-weight: 400 !important; margin: 0 0 10px !important; }
.article-cta p { margin: 0 0 20px !important; color: var(--text-2); font-size: 1rem; }
.article-cta a.btn { border-bottom: 0; color: var(--on-gold); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--glass); transition: transform .5s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin-bottom: 10px; }
.post p { color: var(--text-3); font-size: .92rem; margin: 0 0 16px; }
.post .link-arrow { margin-top: auto; }
.post--feature { grid-column: span 2; }
.post--feature .post__img { aspect-ratio: 21 / 9; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post--feature { grid-column: auto; } }

/* grille de fonctionnalités (page Système) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 2; } }
@media (min-width: 600px) and (max-width: 960px) { .bento > * { grid-column: span 1; } .bento .span-4, .bento .span-6 { grid-column: span 2; } }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.compare thead th.us { color: var(--gold); }
.compare td.us { background: var(--gold-soft); color: var(--text); }
.compare td { color: var(--text-2); }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.fact dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.fact dd { margin: 0; color: var(--text-2); font-size: .97rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* ─── 26. Schéma en étages (page Système) ───────────────────────────── */
.stack { display: grid; gap: 0; max-width: 980px; margin: 0 auto; }
.stack__layer { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: center; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.stack__layer--nowistay { border-color: rgba(141,176,255,.32); background: linear-gradient(180deg, rgba(141,176,255,.09), rgba(141,176,255,.02)); }
.stack__layer--app { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(217,169,78,.12), rgba(217,169,78,.02)); box-shadow: 0 30px 80px -40px rgba(217,169,78,.4); }
.stack__layer--you { border-style: dashed; }
.stack__label small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.stack__label b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; display: block; }
.stack__layer--nowistay .stack__label b { color: var(--blue); }
.stack__layer--app .stack__label b { color: var(--gold-2); }
.stack__items { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__items span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: .9rem; color: var(--text); }
.stack__items span i { font-style: normal; font-family: var(--mono); font-size: .7rem; color: var(--gold); }
.stack__layer--nowistay .stack__items span i { color: var(--blue); }
.stack__arrow { display: flex; justify-content: center; height: 44px; position: relative; }
.stack__arrow::before { content: ''; width: 1px; height: 100%; background: linear-gradient(180deg, var(--line-2), var(--gold)); }
.stack__arrow::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 9px; height: 9px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateX(-50%) rotate(45deg); }
@media (max-width: 720px) { .stack__layer { grid-template-columns: 1fr; gap: 14px; padding: 22px; } }

/* ─── 27. Cartes de pièces avec capture ─────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); overflow: hidden; transition: border-color .35s, transform .5s var(--ease); }
.feat:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.feat__shot { position: relative; height: 230px; overflow: hidden; background: #070A10; border-bottom: 1px solid var(--line); }
.feat__shot img { width: 72%; margin: 26px auto 0; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 6px #10151F, 0 0 0 7px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.9); object-fit: cover; object-position: top; height: 420px; transition: transform 1.2s var(--ease); }
.feat:hover .feat__shot img { transform: translateY(-14px); }
.feat__shot::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, transparent, rgba(8,17,31,.95)); }
.feat__shot--nowistay { background: radial-gradient(120% 100% at 50% 0%, rgba(141,176,255,.18), transparent 60%), #070A10; display: grid; place-items: center; }
.feat__shot--nowistay svg { width: 64px; height: 64px; color: var(--blue); opacity: .9; }
.feat__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.feat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.feat__n { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--gold); }
.feat h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.12; margin-bottom: 10px; }
.feat p { color: var(--text-2); font-size: .95rem; margin: 0 0 14px; }
.feat__rep { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--text-3); }
.feat__rep b { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-right: 6px; }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }

/* ─── 28. Tableaux (rôles, avant / après, catalogue) ────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 720px; }
.table th, .table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; background: rgba(255,255,255,.02); }
.table tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.table tbody th svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--gold-2); }
.table td { color: var(--text-2); }
.table td.no { color: var(--text-3); }
.table td.before { color: var(--text-3); }
.table td.after { color: var(--text); background: rgba(217,169,78,.05); }
.table td .when { display: block; margin-top: 4px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--gold); text-transform: uppercase; }
.table .t-notif { font-weight: 600; color: var(--text); }

/* ─── 29. En-tête de page intérieure : visuel à droite ──────────────── */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__visual { position: relative; display: flex; justify-content: center; }
.page-hero__visual .halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(217,169,78,.26), transparent 62%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.page-hero__visual .phone { --w: 280px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__visual .phone { --w: 240px; } }

/* ─── 30. Blocs d'article ───────────────────────────────────────────── */
.prose .callout, .prose .key-takeaway { position: relative; margin: 2em 0; padding: 22px 24px 20px; border-radius: var(--r); border: 1px solid var(--line-gold); background: linear-gradient(160deg, rgba(217,169,78,.10), rgba(217,169,78,.02)); color: var(--text); font-size: 1rem; line-height: 1.65; }
.prose .key-takeaway { border-color: var(--line-2); background: var(--glass); }
.prose .callout p, .prose .key-takeaway p { margin: 0; }
.prose .callout-tag, .prose .key-takeaway-tag { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.prose h2 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; margin-top: 3em; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-gold); }
.author-box strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.author-box p { margin: 0 !important; font-size: .93rem; color: var(--text-2); line-height: 1.55; }
.author-box a { color: var(--gold-2); }

/* ─── 31. Test des prix (test-hoguet) ───────────────────────────────── */
.th-card { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); border: 1px solid var(--line-gold); background: linear-gradient(170deg, rgba(217,169,78,.10), rgba(255,255,255,.02) 50%); box-shadow: 0 40px 90px -50px rgba(217,169,78,.45); scroll-margin-top: calc(var(--nav-h) + 20px); }
.th-progress { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 26px; }
.th-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .5s var(--ease); }
.th-step { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.th-q { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; margin-bottom: 24px; }
.th-opts { display: grid; gap: 10px; }
.th-opt { text-align: left; padding: 18px 20px; min-height: 56px; border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 1rem; line-height: 1.45; transition: background .2s, box-shadow .2s, transform .3s var(--ease); }
.th-opt:hover, .th-opt:focus-visible { background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line-gold); transform: translateX(4px); }
.th-back { margin-top: 20px; color: var(--text-3); font-size: .9rem; padding: 8px 0; }
.th-back:hover { color: var(--gold-2); }
.th-score { font-family: var(--serif); font-size: clamp(4rem, 10vw, 6.5rem); line-height: 1; color: var(--text); }
.th-score small { font-family: var(--sans); font-size: 1.1rem; color: var(--text-3); }
.th-level { display: inline-block; margin: 10px 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line-gold); color: var(--gold-2); font-weight: 600; font-size: .9rem; }
.th-lead { color: var(--text-2); font-size: 1.04rem; line-height: 1.6; }
.th-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.th-list li { padding: 14px 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px rgba(90,216,160,.25); color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.th-list li.on { box-shadow: inset 0 0 0 1px rgba(255,129,115,.35); background: var(--red-soft); }
.th-list li b { color: var(--text); }
.th-share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.th-share a, .th-share button { padding: 10px 16px; min-height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .9rem; color: var(--text-2); display: inline-flex; align-items: center; }
.th-share .main { background: linear-gradient(180deg, #F6D797, var(--gold)); color: var(--on-gold); box-shadow: none; font-weight: 600; }
.th-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.th-note { max-width: 760px; margin: 22px auto 0; font-size: .85rem; color: var(--text-3); text-align: center; line-height: 1.6; }

/* ─── 25. Mouvement réduit ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .js .hero .notif { opacity: 1 !important; transform: none !important; }
  .js .muted-notif { opacity: .7 !important; }
  .marquee__track { animation: none; }
  .js .signal-list .notif { opacity: 1 !important; transform: none !important; }
}

a.rule { display: block; transition: border-color .3s, transform .45s var(--ease); }
a.rule:hover { border-color: var(--line-gold); transform: translateY(-3px); }

/* ─── 32. Pages légales (contenu repris tel quel) ───────────────────── */
.legal .page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; color: var(--text); margin: 0 0 16px; }
.legal .page-title em { color: var(--gold-2); }
.legal .page-lede { font-size: 1.15rem; color: var(--text-2); }
.legal .page-updated { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.legal .legal-section { margin-top: 2.4em; }
.legal .legal-section h2 { margin-top: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.legal .info-block, .legal .legal-highlight, .legal .intro-block { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--glass); margin: 1.2em 0; }
.legal .legal-highlight { border-color: var(--line-gold); background: var(--gold-soft); }
.legal .toc { position: static; margin: 1.6em 0; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); }
.legal .pack-grid, .legal .compliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 1.2em 0; }
.legal .pack-item, .legal .compliance-card { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.legal .pack-name { font-weight: 600; color: var(--text); }
.legal .pack-price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-2); }
.legal .badge { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.legal .badge.partial { background: var(--gold-soft); color: var(--gold-2); }
.legal table { width: 100%; }
.legal .cta-prefs, .legal button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: linear-gradient(180deg, #F6D797, var(--gold)); color: var(--on-gold); font-weight: 600; border: 0; cursor: pointer; }

/* ─── 33. Carte « commence par le socle » (Nowistay seul) ───────────── */
.socle { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border-color: rgba(141,176,255,.32); background: linear-gradient(160deg, rgba(141,176,255,.08), rgba(255,255,255,.015)); }
.socle__cta { text-align: right; }
@media (max-width: 720px) { .socle { grid-template-columns: 1fr; } .socle__cta { text-align: left; } }

/* ─── 34. Formulaire (dépôt d'avis) ─────────────────────────────────── */
.form-card { max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.field { margin-bottom: 22px; }
.field > label, .field__label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--text); }
.field .req { color: var(--gold-2); }
.field input[type="text"], .field input[type="email"], .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(5,11,22,.6); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field__hint { margin-top: 6px; font-size: .82rem; color: var(--text-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .9rem; color: var(--text-2); transition: all .2s; }
.pill input:checked + span { background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-2); }
.pill input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2rem; line-height: 1; color: rgba(255,255,255,.18); cursor: pointer; padding: 4px; transition: color .15s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold-2); }
.stars input:focus-visible + label { outline: 2px solid var(--gold-2); border-radius: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--gold-soft); border: 1px solid var(--line-gold); font-size: .88rem; color: var(--text-2); line-height: 1.55; margin: 8px 0 22px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--gold); flex: none; width: 18px; height: 18px; }
.consent a { color: var(--gold-2); text-decoration: underline; }
.form-error { padding: 14px 16px; border-radius: var(--r-sm); background: var(--red-soft); border: 1px solid rgba(255,129,115,.35); color: var(--text); font-size: .92rem; margin-bottom: 16px; }
.form-error a { color: var(--gold-2); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }

/* ─── 35. Pages par ville : sources des règles ──────────────────────── */
.ville-faits .srcs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.ville-faits .src { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(217,169,78,.35); }
.ville-faits .src::before { content: '↗ '; }
.ville-faits .src:hover { color: var(--gold-2); border-color: var(--gold-2); }
.legal-note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__villes { margin-top: 14px; font-size: .88rem; color: var(--text-3); }
.footer__villes a { color: var(--text-2); }
.footer__villes a:hover { color: var(--gold-2); }
