/* ════════════════════════════════════════════════════════════════════════
   1clic, page d'accueil v6 (proposition du 14/10/2026)
   Identité conservée : violet 1clic, Poppins, Onie en 3D qui guide la lecture.
   Ajouts : titres éditoriaux (Instrument Serif italique), chapitre de nuit,
   maquettes produit animées, galerie horizontale des vrais exemples.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #15111f;
  --ink-2: #3b3549;
  --muted: #6b6479;
  --line: rgba(21, 17, 31, .09);
  --paper: #fbfaff;
  --paper-2: #f4f1fb;
  --card: #ffffff;
  --violet: #6d28d9;
  --violet-2: #7c3aed;
  --violet-3: #8b5cf6;
  --violet-soft: #ede7fd;
  --lilac: #c4b5fd;
  --peach: #ffd8c2;
  --mint: #10b981;
  --night: #100a22;
  --night-2: #1b1238;
  --night-line: rgba(255, 255, 255, .1);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-1: 0 1px 1px rgba(21,17,31,.03), 0 2px 4px rgba(21,17,31,.03), 0 8px 16px rgba(21,17,31,.04), 0 24px 48px -12px rgba(48,22,110,.10);
  --shadow-2: 0 2px 4px rgba(21,17,31,.04), 0 12px 24px rgba(21,17,31,.06), 0 40px 80px -20px rgba(60,24,140,.22);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  /* trame de points discrète, héritée de la page actuelle */
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(70, 40, 140, .11) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 60%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 1000; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--violet-3); outline-offset: 3px; border-radius: 8px; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%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");
}

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; }

/* ─── Typographie ─────────────────────────────────────────────────────── */
.h-display {
  font-weight: 700;
  font-size: clamp(44px, 6.1vw, 94px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--ink);
  text-wrap: pretty;
}
.h-section {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h-display em, .h-section em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  font-size: 1.1em;
  line-height: .9;
  color: var(--violet);
  background: linear-gradient(100deg, var(--violet) 10%, var(--violet-3) 55%, #b06ad9 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); line-height: 1.6; max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 22px;
}
.eyebrow-night { color: var(--lilac); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.45); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* mots du titre (animation d'entrée) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }
.h-display em .w > span, .h-section em .w > span { background: linear-gradient(100deg, var(--violet) 10%, var(--violet-3) 55%, #b06ad9 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .04em; }
.h-display em .w { padding-right: .06em; }

/* ─── Boutons ─────────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s, transform .3s var(--ease-out);
  position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-xl { --h: 64px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #7c3aed, #6425d0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(60,20,140,.3), 0 10px 24px -8px rgba(109,40,217,.65);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(60,20,140,.3), 0 16px 34px -8px rgba(109,40,217,.75); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; }
.btn-outline { color: var(--violet); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(109,40,217,.35); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--violet-soft); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--violet); text-decoration: none; margin-top: 14px; margin-right: 22px; }
.link-arrow::after { content: '→'; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ─── Navigation ──────────────────────────────────────────────────────── */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 500; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  width: min(1180px, 100% - 28px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 12px 0 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 0 0 1px var(--line), 0 10px 30px -14px rgba(40,20,90,.25);
  transition: transform .5s var(--ease-out), background .4s;
}
.nav.is-hidden .nav-pill { transform: translateY(-120%); }
.logo { font-weight: 700; font-size: 25px; letter-spacing: -.05em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--violet-2); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-login { font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 8px 12px; color: var(--ink-2); }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { pointer-events: auto; width: calc(100% - 28px); margin: 8px auto 0; background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow-2); display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.nav-cta-tel { display: none; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 500; font-size: 17px; }
.mobile-menu a:not(.btn):hover { background: var(--paper-2); }
.mobile-menu .btn { margin-top: 6px; height: 54px; }

/* ─── Chapitres : base ────────────────────────────────────────────────── */
.chapter { position: relative; overflow-x: clip; }
.aurora { position: absolute; pointer-events: none; z-index: -1; filter: blur(70px); opacity: .9; }
.aurora-1 {
  inset: -10% -10% 0 30%;
  background:
    radial-gradient(40% 45% at 70% 35%, rgba(167, 139, 250, .38), transparent 70%),
    radial-gradient(30% 35% at 92% 70%, rgba(255, 196, 170, .45), transparent 70%),
    radial-gradient(35% 40% at 40% 80%, rgba(196, 181, 253, .30), transparent 70%);
}

/* ─── 1. Héros ────────────────────────────────────────────────────────── */
.ch1 { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; }
.ch1-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ch1-copy .lead { margin-top: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.trust svg { width: 16px; height: 16px; color: var(--violet); }

.ch1-stage { position: relative; height: min(560px, 62vh); perspective: 1600px; }
.hero-browser {
  position: absolute; top: 2%; right: -6%; width: 112%;
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(21,17,31,.06);
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(.4deg);
  transform-origin: 30% 50%;
  transition: transform 1.2s var(--ease-out);
}
.browser-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f6f4fa; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3dfeb; }
.browser-bar i:first-child { background: #ff8f86; } .browser-bar i:nth-child(2) { background: #fcc85a; } .browser-bar i:nth-child(3) { background: #6fd387; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 340px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar.dark { background: #241a43; border-color: var(--night-line); }
.browser-bar.dark .url { background: #1a1233; color: #a99cc9; box-shadow: none; }
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.9);
  font-size: 14px; line-height: 1.3;
}
.float-chip b { display: block; font-weight: 600; color: var(--ink); }
.float-chip small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.chip-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; font-weight: 700; }
.chip-ico-g { background: conic-gradient(from 200deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); color: #fff; font-size: 17px; }
.chip-ico-ok { background: rgba(16,185,129,.14); color: var(--mint); }
.chip-ico-ok svg { width: 18px; height: 18px; }
.chip-a { top: -4%; left: -8%; }
.chip-b { bottom: 30%; right: -2%; }
.chip-c { bottom: 2%; left: 6%; gap: 10px; padding: 10px 10px 10px 16px; }
.chip-quote { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.chip-done { background: var(--violet); color: #fff; font-weight: 600; font-size: 12.5px; padding: 6px 10px; border-radius: 9px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(21,17,31,.25); transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; border-radius: 2px; background: var(--violet); transform: translateX(-50%); animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ─── 2. Comment ça marche ────────────────────────────────────────────── */
.ch2 { height: 340vh; }
.ch2-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.ch2-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.steps { margin-top: 40px; display: grid; gap: 6px; counter-reset: s; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 6px; padding: 18px 20px 18px 16px; border-radius: var(--r); transition: background .5s var(--ease-out), opacity .5s, box-shadow .5s; opacity: .42; cursor: default; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.step p { font-size: 15px; color: var(--ink-2); margin-top: 6px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .5s; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--violet); line-height: 1.1; }
.step.is-active { opacity: 1; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.step.is-active p { max-height: 120px; opacity: 1; }
.step-progress { margin: 26px 0 0 18px; width: 180px; height: 3px; border-radius: 3px; background: rgba(109,40,217,.14); overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--violet-3)); border-radius: 3px; }

.device {
  position: relative; height: min(600px, 72vh);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #ffffff, #f6f2ff);
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line);
  overflow: hidden;
}
.device::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, rgba(167,139,250,.22), transparent 70%); pointer-events: none; }
.scene { position: absolute; inset: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; }
.scene-head { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; margin-bottom: 18px; }
.scene-head img { width: 36px; height: auto; }
.search-field { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--violet-3), 0 0 0 5px rgba(139,92,246,.12); font-size: 17px; font-weight: 500; }
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.caret { width: 2px; height: 22px; background: var(--violet); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.place-card { margin-top: 18px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out) .1s, transform .7s var(--ease-out) .1s; }
.scene-0.has-result .place-card { opacity: 1; transform: none; }
.place-kicker { font-size: 13px; font-weight: 600; color: var(--violet); }
.place-name { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin-top: 4px; }
.place-cat { color: var(--muted); font-size: 15px; }
.place-card ul { margin-top: 16px; display: grid; gap: 9px; }
.place-card li { display: grid; grid-template-columns: 96px 1fr; font-size: 14.5px; color: var(--ink-2); }
.place-card li b { font-weight: 500; color: var(--muted); }
.stars { color: #f5a524; letter-spacing: 1px; margin-right: 6px; }
.place-btn { display: inline-block; margin-top: 18px; background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 12px; }

.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; padding: 13px 17px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.msg-onie { background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg-me { background: linear-gradient(180deg, #7c3aed, #6a26d6); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.chips { display: flex; gap: 8px; opacity: 0; transition: opacity .5s; }
.chips span { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.chips .on { background: var(--violet-soft); box-shadow: inset 0 0 0 1.5px var(--violet-3); color: var(--violet); }
.scene-1.is-active .msg, .scene-1.is-active .chips { opacity: 1; transform: none; }
.scene-1.is-active .msg:nth-child(2) { transition-delay: .35s; } .scene-1.is-active .msg:nth-child(3) { transition-delay: .7s; }
.scene-1.is-active .msg:nth-child(4) { transition-delay: 1.05s; } .scene-1.is-active .msg:nth-child(5) { transition-delay: 1.4s; }
.scene-1.is-active .chips { transition-delay: 1.75s; }

.scene-2 { padding: 28px; justify-content: flex-start; }
.build-bar { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.build-pct { color: var(--violet); font-variant-numeric: tabular-nums; }
.build-track { height: 6px; margin: 10px 0 18px; border-radius: 6px; background: rgba(109,40,217,.12); overflow: hidden; }
.build-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--violet-3)); border-radius: 6px; transition: width 2.2s var(--ease-io); }
.scene-2.is-active .build-track span { width: 100%; }
.build-preview { flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); background: #fff; position: relative; }
.build-preview img { width: 100%; height: auto; transform: translateY(0); transition: transform 6s var(--ease-io) 2.2s; clip-path: inset(0 0 100% 0); }
.scene-2.is-active .build-preview img { clip-path: inset(0 0 0 0); transition: clip-path 2.2s var(--ease-io), transform 7s var(--ease-io) 2.4s; transform: translateY(-38%); }
.build-ready { position: absolute; right: 44px; bottom: 44px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .6s var(--ease-out); }
.build-ready svg { width: 18px; height: 18px; color: var(--mint); }
.scene-2.is-active .build-ready { opacity: 1; transform: none; transition-delay: 2.3s; }

/* ─── 3. Nuit : une phrase ────────────────────────────────────────────── */
.night { background: var(--night); color: #efeafc; isolation: isolate; overflow: hidden; }
.night .lead { color: #c3b9de; }
.night .h-section { color: #fff; }
.night .h-section em { background: linear-gradient(100deg, #c4b5fd 5%, #f0abfc 60%, #ffd2bd 100%); -webkit-background-clip: text; background-clip: text; }
.ch3 { padding: 150px 0 70px; border-radius: 48px 48px 0 0; margin-top: 20px; }
.aurora-night { inset: -20% -10% -20% -10%; filter: blur(90px); opacity: 1; background:
  radial-gradient(35% 40% at 85% 25%, rgba(124, 58, 237, .55), transparent 70%),
  radial-gradient(30% 35% at 15% 85%, rgba(236, 72, 153, .22), transparent 70%),
  radial-gradient(30% 30% at 55% 60%, rgba(99, 102, 241, .25), transparent 70%); }
.ch3-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.ch3-copy .lead { margin-top: 26px; }
.feature-list { margin-top: 30px; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 30px; color: #d7cff0; font-size: 16px; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 5px; background: linear-gradient(135deg, var(--violet-3), #f0abfc); }
.feature-list b { color: #fff; font-weight: 600; }

.ch3-stage { position: relative; height: 560px; }
.mini-site { position: absolute; left: 0; top: 30px; width: 82%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px var(--night-line); transform: rotate(-2deg); }
.mini-banner { background: #1d4f91; color: #fff; font-size: 12.5px; padding: 0 16px; height: 0; overflow: hidden; display: flex; align-items: center; transition: height .7s var(--ease-out); }
.mini-site.has-banner .mini-banner { height: 38px; }
.mini-banner b { margin-right: 6px; }
.phone {
  position: absolute; right: 0; top: 0; width: 300px; height: 560px;
  border-radius: 46px; padding: 14px; background: #0c0719;
  box-shadow: 0 0 0 2px #2c2250, 0 50px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(3deg);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 44px 16px 14px; background: #f7f5fc; border-radius: 34px 34px 0 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.phone-head img { width: 34px; height: auto; }
.phone-head b { display: block; font-size: 15px; } .phone-head small { color: var(--mint); font-size: 12px; font-weight: 500; }
.phone-chat { height: calc(100% - 94px); background: #efeaf8 radial-gradient(rgba(109,40,217,.08) 1px, transparent 1px) 0 0 / 16px 16px; border-radius: 0 0 34px 34px; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.pmsg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.pmsg-me { align-self: flex-end; background: linear-gradient(180deg, #7c3aed, #6a26d6); color: #fff; border-bottom-right-radius: 5px; }
.pmsg-onie { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pmsg-typing { align-self: flex-start; background: #fff; display: flex; gap: 4px; padding: 13px 14px; }
.pmsg-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9add6; animation: typing 1.2s infinite; }
.pmsg-typing i:nth-child(2) { animation-delay: .15s; } .pmsg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.pmsg-actions { display: flex; gap: 8px; opacity: 0; transition: opacity .4s; }
.pmsg-actions span { padding: 8px 14px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pmsg-actions .ok { background: var(--violet); color: #fff; }
.phone-chat .show { opacity: 1; transform: none; }
.phone-chat .gone { display: none; }

.marquee { margin-top: 90px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 26px; color: #d9d0f3; padding: 12px 24px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--night-line); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── 4. Exemples ─────────────────────────────────────────────────────── */
.ch4 { background: var(--night); }
.ch4 > .ch4-pin { background: var(--paper); border-radius: 48px 48px 0 0; }
.ch4-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.ch4-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; align-items: end; padding-right: 220px; }
.ch4-note { color: var(--muted); font-size: 15px; }
.gallery { margin-top: 44px; }
.gallery-track { display: flex; gap: 40px; padding-left: max(24px, calc((100vw - var(--wrap)) / 2)); padding-right: 12vw; width: max-content; will-change: transform; }
.ex-card { position: relative; width: min(700px, 62vw); flex: none; }
.ex-browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }
.ex-scroll { height: min(400px, 46vh); overflow: hidden; }
.ex-scroll img { width: 100%; height: auto; transition: transform 5s var(--ease-io); }
.ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + min(400px, 46vh))); }
.ex-phone { position: absolute; right: -26px; bottom: 34px; width: 132px; border-radius: 22px; overflow: hidden; border: 5px solid #120c24; box-shadow: var(--shadow-2); aspect-ratio: 585 / 1266; background: #fff; }
.ex-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ex-meta { display: flex; gap: 16px; align-items: baseline; margin-top: 20px; }
.ex-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--violet); line-height: 1; }
.ex-meta h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ex-meta p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.ex-end { width: 360px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.ex-end p { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }

/* ─── 5. Compris ──────────────────────────────────────────────────────── */
.ch5 { padding: 150px 0 120px; }
.ch5-head { max-width: 760px; padding-right: 200px; }
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: rgba(255,255,255,.85); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), box-shadow .5s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.tile h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); margin-bottom: 22px; }
.tile-ico svg { width: 24px; height: 24px; }
.tile-hero { grid-row: span 2; background: linear-gradient(160deg, #6d28d9, #4c1d95 70%, #2e1065); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile-hero::before { content: ''; position: absolute; inset: -30% -30% auto auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240,171,252,.55), transparent 65%); filter: blur(10px); }
.tile-hero p { color: #ddd1fb; }
.tile .tile-big { font-family: var(--serif); font-style: italic; font-size: 120px; line-height: .9; letter-spacing: -.03em; margin: 0 0 10px; color: #fff !important; }
.tile-hero h3 { font-size: 24px; }
.compare-strip { margin-top: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: 100%; }
.cmp-col { border-radius: 20px; padding: 22px; }
.cmp-col p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.cmp-title { font-weight: 600; font-size: 16px !important; color: var(--muted) !important; margin: 0 !important; }
.cmp-us { background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1.5px rgba(109,40,217,.35); }
.cmp-us .cmp-title { color: var(--violet) !important; }
.cmp-us p { color: var(--ink); font-weight: 500; }

/* ─── 6. Tarifs ───────────────────────────────────────────────────────── */
.ch6 { padding: 110px 0 120px; }
.ch6-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ch6-head .lead { margin-top: 22px; text-align: center; }
.billing { margin-top: 30px; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.bill-opt { border: 0; background: transparent; font: 600 15px var(--font); color: var(--ink-2); padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .3s, color .3s; }
.bill-opt.is-on { background: var(--ink); color: #fff; }
.bill-save { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,.16); color: #047857; }
.bill-opt.is-on .bill-save { background: rgba(255,255,255,.18); color: #fff; }
.plans { margin: 48px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 2px; }
.amount { font-size: 60px; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cur { font-size: 30px; font-weight: 600; margin-left: 2px; }
.per { color: var(--muted); font-size: 16px; margin-left: 4px; }
.price-sub { color: var(--muted); font-size: 14px; margin-top: 8px; min-height: 22px; }
/* Offre de bienvenue : « 1 € le premier mois, puis » juste au-dessus du prix de la formule, qui reste le plus gros chiffre de la carte.
   Mensuel : la pastille ; annuel (pas d'offre) : une phrase. L'attribut data-billing de #ch6 est posé par p6.js. */
.bienvenue { margin-top: 22px; }
.bienvenue p { margin: 0; }
.bienvenue + .price { margin-top: 6px; }
.bienvenue-m b { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.bienvenue-a { display: none; color: var(--muted); font-size: 14.5px; line-height: 1.35; padding: 7px 0; }
#ch6[data-billing="y"] .bienvenue-m { display: none; }
#ch6[data-billing="y"] .bienvenue-a { display: block; }
.lead-bienvenue { margin-top: 14px; color: var(--ink); }
.lead-bienvenue strong { font-weight: 700; }
.price-legal-offre { color: var(--ink-2); }
/* Offre limitée : 1 mois de visibilité sur Google offert (mises en ligne jusqu'au 30/11/2026) */
.offre-ligne { margin: -12px 0 14px; }
.offre-limitee { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; max-width: 100%; padding: 7px 16px 10px 7px; border-radius: 16px; background: #fff; border: 1px solid rgba(109, 40, 217, .22); box-shadow: var(--shadow-1); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color .2s, transform .2s var(--ease-out); }
.offre-limitee:hover { color: var(--ink); border-color: var(--violet-3); transform: translateY(-1px); }
.offre-limitee:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.offre-limitee-tag { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.offre-limitee-txt { min-width: 0; padding-left: 5px; }
.offre-limitee-txt b { display: block; font-weight: 700; color: var(--violet); }
.offre-limitee-sub { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-2); }
.plan-list { margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%236d28d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan-pro { background: linear-gradient(180deg, #ffffff, #f8f4ff); box-shadow: var(--shadow-2), inset 0 0 0 1.5px rgba(124,58,237,.5); }
.plan-badge { position: absolute; top: -13px; left: 34px; background: linear-gradient(90deg, var(--violet), var(--violet-3)); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(109,40,217,.7); }
.price-legal { text-align: center; color: var(--muted); font-size: 13.5px; margin: 28px auto 0; max-width: 720px; }

/* ─── 7. Questions ────────────────────────────────────────────────────── */
.ch7 { padding: 110px 0 140px; }
.ch7-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.ch7-head { position: sticky; top: 120px; }
.ch7-head .lead { margin: 22px 0 6px; }
.faq { display: grid; gap: 10px; }
.qa { background: #fff; border-radius: 20px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.qa[open] { box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(109,40,217,.25); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%236d28d9' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--ease-out); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 26px 24px; color: var(--ink-2); font-size: 15.5px; }

/* ─── 8. Final ────────────────────────────────────────────────────────── */
.ch8 { background: var(--night); color: #fff; border-radius: 48px 48px 0 0; overflow: hidden; isolation: isolate; }
.aurora-final { inset: -10% -20% 30% -20%; filter: blur(90px); opacity: 1; background:
  radial-gradient(40% 45% at 50% 30%, rgba(124,58,237,.55), transparent 70%),
  radial-gradient(25% 30% at 25% 60%, rgba(236,72,153,.22), transparent 70%),
  radial-gradient(25% 30% at 78% 55%, rgba(255,186,150,.2), transparent 70%); }
.ch8-inner { padding: 70px 0 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ch8-onie-slot { height: 340px; width: 340px; margin: -30px auto -20px; }
.ch8-onie-static { display: none; width: 170px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 20px 40px rgba(124,58,237,.5)); }
html.onie-static .ch8-onie-slot { display: none; }
html.onie-static .ch8-onie-static { display: block; margin-top: 50px; }
.h-final { color: #fff; font-size: clamp(56px, 10vw, 150px); }
.h-final em { background: linear-gradient(100deg, #c4b5fd 5%, #f0abfc 60%, #ffd2bd 100%); -webkit-background-clip: text; background-clip: text; }
.ch8 .lead { color: #c3b9de; margin: 22px auto 36px; text-align: center; }
.micro { margin-top: 18px; color: #a99cc9; font-size: 14px; }
.foot { border-top: 1px solid var(--night-line); }
.foot-inner { display: flex; align-items: center; gap: 30px; padding: 30px 0 36px; flex-wrap: wrap; }
.foot .logo { color: #fff; }
.foot-brand p { color: #a99cc9; font-size: 13.5px; margin-top: 2px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.foot-links a { color: #c3b9de; text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-copy { color: #8a7fae; font-size: 13px; }

/* ─── Onie : guide 3D permanent (ordinateur) ──────────────────────────── */
#onie-stage {
  --onie-x: 75vw; --onie-y: 70vh; --onie-scale: 1;
  position: fixed; left: 0; top: 0; z-index: 400;
  width: 440px; height: 440px;
  transform: translate(calc(var(--onie-x) - 50%), calc(var(--onie-y) - 50%)) scale(var(--onie-scale));
  transition: transform 1.25s var(--ease-io), opacity .6s;
  opacity: 0; pointer-events: none;
}
#onie-stage.is-visible { opacity: 1; }
html.onie-ready #onie-stage.is-visible { opacity: 1; }
#onie-character { width: 100%; height: 100%; animation: float 5.5s ease-in-out infinite; }
#onie-character { position: relative; }
#onie-character canvas { width: 100% !important; height: 100% !important; display: block; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
#onie-bubble {
  position: absolute; left: 50%; top: calc(50% + var(--r, 80px));
  width: max-content; max-width: var(--bubble-w, 300px);
  transform: translateX(-50%);
  background: #fff; color: var(--ink);
  font-size: 15px; line-height: 1.5; font-weight: 500;
  padding: 14px 18px; border-radius: 18px;
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  transition: opacity .35s, background .5s, color .5s;
}
#onie-bubble:has(#onie-bubble-text:empty) { opacity: 0; }
#onie-stage[data-bubble-side="top"] #onie-bubble { top: auto; bottom: calc(50% + var(--r, 80px)); }
#onie-stage[data-bubble-side="right"] #onie-bubble { left: calc(50% + var(--r, 80px)); top: 50%; transform: translateY(-50%); border-radius: 18px 18px 18px 6px; }
#onie-stage[data-bubble-side="left"] #onie-bubble { left: auto; right: calc(50% + var(--r, 80px)); top: 50%; transform: translateY(-50%); border-radius: 18px 18px 6px 18px; }
#onie-stage[data-bubble-side="hidden"] #onie-bubble { display: none; }
#onie-static-img { position: absolute; left: 50%; top: 50%; width: calc(var(--r, 80px) * 2.1) !important; height: auto !important; transform: translate(-50%, -50%); }
body[data-active-chapter="3"] #onie-bubble { background: #251a47; color: #f1ecff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); }
body[data-active-chapter="8"] #onie-bubble { display: none; }
html.onie-static #onie-stage { display: none; }

/* Onie en ligne (mobile et sans 3D) */
.onie-say { display: none; }
html.onie-static .onie-say {
  display: flex; align-items: flex-end; gap: 12px;
  width: min(var(--wrap), 100% - 40px); margin: 34px auto 0;
}
html.onie-static .onie-say img { width: 58px; height: auto; flex: none; animation: float 5s ease-in-out infinite; }
html.onie-static .onie-say p { background: #fff; border-radius: 18px 18px 18px 6px; padding: 13px 16px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
html.onie-static .night-say p { background: #251a47; color: #f1ecff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
html.onie-static .ch1 { flex-direction: column; }
html.onie-static .ch1 .onie-say { margin-top: 56px; }

/* ─── Apparitions ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal, html.reduced .reveal { opacity: 1; transform: none; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 10px; }
  .ch4-head { padding-right: 0; }
  .ch5-head { padding-right: 0; }
}
@media (max-width: 1024px) {
  .ch1-grid, .ch2-grid, .ch3-grid, .ch7-grid { grid-template-columns: 1fr; }
  .ch1 { padding-top: 130px; }
  .ch1-stage { height: 440px; max-width: 640px; }
  .hero-browser { right: 0; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-hero { grid-row: auto; grid-column: span 2; }
  .ch7-head { position: static; }
}
@media (max-width: 899px), (max-width: 1024px) and (max-height: 599px) {
  body { font-size: 16px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-pill { height: 58px; padding: 0 8px 0 20px; }
  .ch1 { min-height: auto; padding: 120px 0 60px; }
  .ch1-stage { height: 330px; margin-top: 8px; }
  .hero-browser { transform: rotate(-1.5deg); }
  .chip-a { left: -2%; top: -6%; } .chip-b { right: -2%; bottom: 18%; } .chip-c { left: 4%; bottom: -4%; }
  .float-chip { font-size: 13px; padding: 9px 12px 9px 9px; } .chip-ico { width: 30px; height: 30px; }
  .chip-quote { font-size: 16px; }
  .scroll-hint { display: none; }

  .ch2 { height: auto; padding: 70px 0 30px; }
  .ch2-pin { position: static; height: auto; display: block; }
  .ch2-grid { gap: 30px; }
  .step { opacity: 1; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
  .step p { max-height: none; opacity: 1; }
  .step-progress { display: none; }
  .device { height: 470px; }
  .scene { padding: 24px; }

  .ch3 { padding: 90px 0 50px; border-radius: 32px 32px 0 0; }
  .ch3-stage { height: 500px; margin-top: 10px; }
  .mini-site { width: 88%; top: 0; }
  .phone { width: 250px; height: 470px; top: 60px; right: -4px; }
  .marquee { margin-top: 50px; }
  .marquee-track span { font-size: 20px; }

  .ch4 { background: var(--paper); }
  .ch4 > .ch4-pin { border-radius: 0; }
  .ch4-pin { position: static; height: auto; padding: 80px 0 20px; overflow: visible; }
  .ch4-head { grid-template-columns: 1fr; gap: 14px; }
  .gallery { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 20px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-track { transform: none !important; gap: 18px; padding-left: 20px; padding-right: 20px; }
  .ex-card { width: 84vw; scroll-snap-align: center; }
  .ex-scroll { height: 240px; }
  .ex-phone { width: 78px; right: 10px; top: 92px; bottom: auto; border-width: 4px; border-radius: 14px; }
  .ex-end { width: 80vw; scroll-snap-align: center; }
  .ex-end p { font-size: 30px; }

  .ch5 { padding: 80px 0 60px; }
  .bento { grid-template-columns: 1fr; }
  .tile-hero { grid-column: auto; }
  .tile-big { font-size: 96px; }
  .compare { grid-template-columns: 1fr; }

  .ch6 { padding: 70px 0 70px; }
  .plans { grid-template-columns: 1fr; }
  .amount { font-size: 52px; }
  .ch7 { padding: 60px 0 90px; }
  .ch7-grid { gap: 30px; }
  .qa summary { font-size: 16px; padding: 20px 58px 20px 20px; }
  .qa p { padding: 0 20px 22px; }
  .ch8 { border-radius: 32px 32px 0 0; }
  .ch8-inner { padding: 30px 0 80px; }
  .btn-xl { --h: 58px; padding: 0 26px; font-size: 16px; }
  .foot-links { margin-left: 0; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 36px); }
  .btn-lg { width: 100%; }
  .ctas { flex-direction: column; }
  .ch1-stage { height: 270px; }
  .chip-b { display: none; }
  .phone { width: 220px; height: 430px; }
  .ch3-stage { height: 470px; }
  .mini-site { width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}

/* ─── Emplacements réservés à Onie (ordinateur) ───────────────────────── */
.onie-slot { pointer-events: none; }
html.onie-static .onie-slot:not(.ch8-onie-slot) { display: none; }
.slot-hero { position: absolute; left: -9%; bottom: -16%; width: 250px; height: 250px; }
.chip-a { top: 10%; left: -10%; }
.chip-b { top: -6%; right: 4%; bottom: auto; }
.chip-c { bottom: 18%; right: -7%; left: auto; }
.slot-steps { width: 190px; height: 190px; margin: 18px 0 0 -10px; }
.slot-phrase { width: 190px; height: 190px; margin: 22px 0 0 -14px; }
.ch4-head { grid-template-columns: minmax(0, 1fr) 190px; padding-right: 0; align-items: center; }
.ch4-head .ch4-note { margin-top: 18px; max-width: 520px; }
.ch4-head .h-section { max-width: 700px; }
.ch4-head > div:first-child { grid-row: 1; }
.slot-gallery { width: 190px; height: 190px; align-self: center; justify-self: end; grid-column: 2; grid-row: 1; }
.ch5-head { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: end; max-width: none; padding-right: 0; gap: 20px; }
.ch5-head .eyebrow { grid-column: 1; }
.ch5-head .h-section { grid-column: 1; max-width: 760px; }
.slot-bento { grid-column: 2; grid-row: 1 / span 2; width: 190px; height: 190px; justify-self: end; }
.plans { position: relative; }
.slot-pricing { position: absolute; left: -220px; top: 44%; width: 190px; height: 190px; }
@media (max-width: 1280px) { .slot-pricing { display: none; } }
@media (max-width: 1024px) {
  .slot-hero { left: -2%; bottom: -16%; width: 150px; height: 150px; }
  .ch4-head { grid-template-columns: 1fr; }
  .slot-gallery { display: none; }
  .ch5-head { grid-template-columns: 1fr; }
  .slot-bento { display: none; }
}
@media (max-width: 899px), (max-width: 1024px) and (max-height: 599px) {
  .chip-a { top: -6%; left: -2%; } .chip-b { top: auto; bottom: 14%; right: -2%; } .chip-c { display: none; }
}

/* ─── Bannière de consentement (CNIL), reprise de la page précédente : tracking.js ─── */
.foot-cookies { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #c3b9de; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot-cookies:hover { color: #fff; }
.foot-cookies:focus-visible { outline: 3px solid var(--violet-3); outline-offset: 2px; }

/* ═══ Responsive tous écrans (audit du 28/10/2026 sur 29 tailles d'écran, 4 revues) ═══════════════
   Placé en fin de feuille : passe devant les emplacements d'Onie déclarés plus haut.
   Mode « ordinateur » (sections épinglées, p6.js isDesktop) = (min-width: 1025px), (min-width: 900px) and (min-height: 600px).
   En dessous : mise en page téléphone/tablette, y compris les téléphones en paysage de 900 à 1024 px de large. */

/* ── Général ── */
.nav-links a, .nav-login { white-space: nowrap; }
@media (max-width: 1024px) {
  /* une colonne qui ne s'élargit jamais au-delà de l'écran (un bouton insécable élargissait tout le haut de page) */
  .ch1-grid, .ch2-grid, .ch3-grid, .ch7-grid { grid-template-columns: minmax(0, 1fr); }
  .ch1-copy, .ch2-left, .ch3-copy, .ch7-head { min-width: 0; }
}
/* cibles tactiles d'au moins 44 px, indice de défilement inutile au doigt */
@media (pointer: coarse) {
  .foot-links a, .foot-cookies { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
  .link-arrow { min-height: 44px; margin-top: 4px; }
  .price-legal a { display: inline-block; padding: 12px 8px; margin: -12px -8px; }
}
@media (hover: none) and (pointer: coarse) { .scroll-hint { display: none; } }

/* ── Téléphone et tablette (mise en page sans épinglage) ── */
@media (max-width: 899px), (max-width: 1024px) and (max-height: 599px) {
  .search-field { flex: none; }
  .eyebrow { text-wrap: balance; }
  .reveal { transition-delay: 0s !important; transition-duration: .5s, .6s; }
  .night { overflow: clip; }
  .foot-links { gap: 0 4px; margin-left: -8px; }
}
/* haut de page en une colonne (portrait) : la scène prend la hauteur de la maquette, la bulle d'Onie n'est plus recouverte */
@media (max-width: 899px) and (min-height: 501px), (min-width: 900px) and (max-width: 1024px) and (orientation: portrait) {
  .ch1-stage { height: auto; padding: 44px 0 44px; margin-inline: auto; }
  .hero-browser { position: relative; top: auto; right: auto; width: 100%; }
  .chip-a { top: 0; left: 0; }
  .chip-b { top: auto; bottom: 8px; right: 2%; }
}
/* « Tout est compris », tarifs et galerie sur grande tablette en portrait */
@media (min-width: 640px) and (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-hero { grid-column: span 2; }
  .compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-col { padding: 18px; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { padding: 28px 24px; }
  .plan-badge { left: 24px; }
  .plan-list li { padding-left: 26px; font-size: 15px; }
}
@media (min-width: 700px) and (max-width: 899px) and (min-height: 501px) {
  .ex-scroll { height: clamp(260px, 40vw, 340px); }
  .ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + clamp(260px, 40vw, 340px))); }
  .ex-phone { width: 96px; top: 100px; }
}

/* ── Téléphone (600 px et moins) ── */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: var(--h); padding-top: 8px; padding-bottom: 8px; }
  .btn svg { flex: none; }
  .ctas { flex-direction: column; }
  .btn-lg { width: 100%; }
  .price-legal { text-align: left; }
  /* étape 1 du chapitre 2 : champ de recherche jamais écrasé, fiche plus compacte */
  .search-field { white-space: nowrap; overflow: hidden; font-size: 16px; }
  .scene-head { margin-bottom: 14px; }
  .place-card { margin-top: 14px; padding: 16px 18px; }
  .place-name { font-size: 21px; line-height: 1.2; }
  .place-card ul { margin-top: 12px; gap: 6px; }
  .place-card li { grid-template-columns: 78px 1fr; font-size: 14px; line-height: 1.4; }
  .place-btn { margin-top: 14px; }
  /* chapitre 3 : le mini-site au-dessus, le téléphone ne le chevauche que par le bas, le bandeau s'écrit en entier */
  .ch3-stage { height: auto; margin-top: 18px; padding-bottom: 14px; }
  .mini-site { position: relative; top: auto; left: auto; width: 100%; transform: rotate(-1.2deg); }
  .phone { position: relative; top: auto; right: auto; width: min(272px, 84%); height: 446px; margin: -56px 4px 0 auto; }
  .mini-banner { display: block; height: auto; max-height: 0; padding: 0 14px; font-size: 12px; line-height: 1.35; transition: max-height .7s var(--ease-out), padding .7s var(--ease-out); }
  .mini-site.has-banner .mini-banner { height: auto; max-height: 96px; padding: 8px 14px; }
  /* vides entre chapitres plus réguliers */
  .ch1 { padding-bottom: 36px; }
  .ch2 { padding-top: 48px; }
  .ch4-pin { padding-top: 56px; }
  .ch5 { padding-bottom: 36px; }
  .ch6 { padding-top: 48px; padding-bottom: 36px; }
  .ch7 { padding-top: 48px; padding-bottom: 64px; }
}
@media (max-width: 380px) {
  .btn-lg, .btn-xl { padding-left: 18px; padding-right: 18px; font-size: 15px; }
}
@media (max-width: 340px) {
  .device { height: 520px; }
  .chat { gap: 10px; }
  .msg { font-size: 14.5px; padding: 11px 15px; }
  .chips { gap: 6px; flex-wrap: wrap; }
  .chips span { padding: 8px 12px; font-size: 13.5px; }
  .phone { height: 460px; }
  .pmsg { font-size: 13px; }
}

/* ── Tablette en mode ordinateur (900 à 1024 px, au moins 600 px de haut) ── */
@media (min-width: 900px) and (max-width: 1024px) and (min-height: 600px) and (orientation: landscape) {
  .ch1-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; }
  .ch1 { padding-top: 120px; }
  .ch1-stage { height: min(520px, 62vh); max-width: none; }
  .hero-browser { right: -1%; width: 104%; }
  .chip-c { right: 1%; }
  /* chapitre 2 épinglé : deux colonnes pour tenir dans la hauteur (1025 px de contenu pour 768 px d'écran) */
  .ch2-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
  .steps { margin-top: 28px; }
}
@media (min-width: 900px) and (max-width: 1024px) and (min-height: 600px) {
  .ch7-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .ch7-head { position: sticky; top: 120px; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .hero-browser { right: -2%; width: 106%; }
  .chip-c { right: 1%; }
  .ctas { gap: 10px; }
  .ctas .btn-lg { padding: 0 22px; }
}
/* au doigt en mode ordinateur : la phrase d'Onie ne glisse plus sur les scènes épinglées */
@media (min-width: 1025px), (min-width: 900px) and (min-height: 600px) {
  html.onie-static #ch2 > .onie-say { position: sticky; top: calc(100svh - 84px); margin-top: 0; z-index: 5; }
  html.onie-static #ch4 > .onie-say { display: none; }
}

/* ── Ordinateur peu haut (720 à 950 px) : sections épinglées et fin de page dans l'écran ── */
@media (min-width: 1025px) and (max-height: 880px), (min-width: 900px) and (min-height: 600px) and (max-height: 880px) {
  .ch2-pin { padding-top: 64px; }
  .ch2 .eyebrow { margin-bottom: 14px; }
  .steps { margin-top: 22px; }
  .step { padding: 12px 20px 12px 16px; }
  .step-progress { margin-top: 16px; }
  .slot-steps { width: 150px; height: 150px; margin: 10px 0 0 -6px; }
  .ch8-inner { padding: 24px 0 44px; }
  .ch8-onie-slot { height: 250px; width: 250px; margin: -20px auto -34px; }
  .ch8 .lead { margin: 22px auto 26px; }
  .micro { margin-top: 12px; }
  .foot-inner { padding: 20px 0 24px; }
}
@media (min-width: 1025px) and (max-height: 950px), (min-width: 900px) and (min-height: 600px) and (max-height: 950px) {
  .ch4-pin { padding-top: 82px; padding-bottom: 10px; }
  .ch4 .eyebrow { margin-bottom: 12px; }
  .ch4-head .ch4-note { max-width: 820px; margin-top: 10px; }
  .gallery { margin-top: 22px; --exh: clamp(220px, calc(100vh - 470px), 400px); }
  .ex-scroll { height: var(--exh); }
  .ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + var(--exh))); }
  .ex-meta { margin-top: 12px; }
}
@media (min-width: 900px) and (max-height: 780px) { .scroll-hint { display: none; } }

/* ── Grands écrans ── */
@media (min-width: 1456px) {
  /* le titre du chapitre 2 garde ses 2 lignes (3 lignes dès 1456 px sinon) */
  .ch2-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; }
}
@media (min-width: 1800px) {
  :root { --wrap: 1440px; }
  .nav-pill { width: min(1400px, 100% - 28px); height: 68px; }
  .h-display { font-size: clamp(94px, 5.2vw, 124px); }
  .h-section { font-size: clamp(64px, 3.5vw, 84px); }
  .lead { font-size: clamp(20px, 1.05vw, 26px); }
  .ch1-stage { height: min(700px, 62vh); }
  .slot-hero { width: 300px; height: 300px; }
  .device { height: min(740px, 72vh); }
  .ex-card { width: min(860px, 62vw); }
  .ex-scroll { height: min(520px, 46vh); }
  .ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + min(520px, 46vh))); }
  .ex-phone { width: 160px; }
  .ex-end { width: 440px; }
  .ex-end p { font-size: 52px; }
  .plans { max-width: 980px; }
  .slot-steps, .slot-phrase, .slot-gallery, .slot-bento, .slot-pricing { width: 230px; height: 230px; }
  .slot-pricing { left: -260px; }
  .ch4-head, .ch5-head { grid-template-columns: minmax(0, 1fr) 230px; }
}
@media (min-width: 2400px) {
  :root { --wrap: 1680px; }
  .nav-pill { width: min(1560px, 100% - 28px); }
  .h-display { font-size: clamp(94px, 5.2vw, 140px); }
  .h-section { font-size: clamp(64px, 3.5vw, 92px); }
  .ch1-stage { height: min(800px, 62vh); }
  .device { height: min(840px, 72vh); }
  .ex-card { width: min(1000px, 62vw); }
  .ex-scroll { height: min(600px, 46vh); }
  .ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + min(600px, 46vh))); }
  .ex-phone { width: 190px; }
  .plans { max-width: 1080px; }
  .step h3 { font-size: 24px; }
  .step p { font-size: 18px; }
  .step-num { font-size: 32px; }
  .msg { font-size: 19px; }
  .chips span, .place-card li { font-size: 17px; }
  .search-field { height: 68px; font-size: 20px; }
  .place-name { font-size: 30px; }
  .tile h3 { font-size: 21px; }
  .tile p, .qa p { font-size: 17px; }
  .qa summary { font-size: 19px; }
}

/* ── Téléphone en paysage (moins de 500 px de haut) : en dernier, c'est le cas le plus serré ── */
@media (orientation: landscape) and (max-height: 500px) {
  html { scroll-padding-top: 72px; }
  .nav { top: 8px; }
  .nav-pill { height: 48px; padding: 0 4px 0 18px; }
  .nav-burger { height: 44px; }
  .mobile-menu { grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 8px; max-height: calc(100svh - 70px); overflow-y: auto; border-radius: 20px; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 6px 14px; font-size: 16px; }
  .mobile-menu .btn { grid-column: 1 / -1; height: 46px; margin-top: 4px; }
  .ch1 { padding: 76px 0 36px; }
  .ch1-stage { width: 100%; height: auto; aspect-ratio: 1.34; max-width: min(640px, 112vh); margin: 44px auto 0; }
  .chip-a { top: -15%; left: 0; } .chip-b { right: 0; }
  .ch1 .eyebrow { margin-bottom: 12px; }
  .ch1-copy .lead { margin-top: 16px; }
  .ctas { margin-top: 20px; }
  .trust { margin-top: 18px; }
  html.onie-static .ch1 .onie-say { margin-top: 22px; }
  .ex-scroll { height: min(240px, 50vh); }
  .ex-phone { width: 62px; top: 46px; right: 8px; }
  /* chapitre 3 : le mini-site tient dans la hauteur de l'écran */
  .mini-site { width: min(100%, 130vh); }
}

/* ── Fenêtre d'ordinateur basse (moins de 700 px de haut : console ouverte, fenêtre réduite) ──
   la galerie épinglée (chapitre 4) tient entière, titres des cartes compris (retour de Teddy du 29/10) */
@media (min-width: 1025px) and (max-height: 700px), (min-width: 900px) and (min-height: 600px) and (max-height: 700px) {
  .ch4-pin { padding-top: 76px; padding-bottom: 8px; }
  .ch4 .eyebrow { margin-bottom: 8px; }
  .ch4 .h-section { font-size: clamp(30px, 6.4vh, 52px); }
  .ch4-head .ch4-note { font-size: 14px; line-height: 1.45; margin-top: 8px; max-width: 900px; }
  .slot-gallery { width: 130px; height: 130px; }
  .ch4-head { grid-template-columns: minmax(0, 1fr) 130px; }
  .gallery { margin-top: 14px; --exh: clamp(120px, calc(100vh - 350px), 400px); }
  .ex-scroll { height: var(--exh); }
  .ex-card:hover .ex-scroll img, .ex-card.is-focus .ex-scroll img { transform: translateY(calc(-100% + var(--exh))); }
  .ex-meta { margin-top: 8px; }
}

/* ── Bouton d'inscription toujours visible sur téléphone (05/11/2026) ──
   À l'arrivée, le bandeau des cookies couvre le bouton du haut de page : l'en-tête porte désormais un bouton d'inscription
   et ne se replie plus au défilement sur téléphone. Le bandeau reste en bas, « Tout refuser » et « Tout accepter » intacts. */
@media (max-width: 899px), (max-width: 1024px) and (max-height: 599px) {
  .nav-cta-tel { --h: 44px; display: inline-flex; margin-left: auto; padding: 0 16px; white-space: nowrap; }
  .nav-pill { gap: 12px; }
  .nav-cta-tel + .nav-burger { margin-left: 0; flex: none; }
  .nav.is-hidden .nav-pill { transform: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .nav-cta-tel { --h: 42px; }
}
/* Safari (iPhone) : un élément filtré (flou, ombre portée) placé plus bas dans la page était peint comme un rectangle opaque
   en haut à gauche de l'écran, par-dessus « sans carte bancaire » (reproduit dans WebKit le 05/11/2026). Une couche à part l'évite. */
.aurora, .ch8-onie-static { transform: translateZ(0); }

/* ═══ Premier écran téléphone (lot P117, 13/11/2026) ═══════════════════════════════════════
   La barre des cookies (tracking.js, 104 px au plus) ne doit jamais recouvrir le bouton principal : sur 390 x 664 et
   360 x 640 (navigateur intégré de Facebook), « Créer mon site gratuitement » reste entièrement visible au-dessus d'elle.
   Mêmes textes, seulement des espacements et des tailles plus serrés. */
@media (max-width: 600px) {
  .ch1 { padding-top: 96px; padding-bottom: 28px; }
  .ch1 .eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .06em; }
  .ch1 .h-display { font-size: clamp(34px, 10.4vw, 42px); }
  .ch1-copy .lead { margin-top: 18px; font-size: 16px; line-height: 1.5; }
  .ch1-copy .lead-bienvenue { margin-top: 10px; }
  .ch1 .ctas { margin-top: 22px; }
  .ch1 .ctas .btn-lg { --h: 54px; }
}
