/* FlexType : page de vente. Deux thèmes : html[data-theme="dark"] (par défaut) et html[data-theme="light"]. */
:root,
html[data-theme="dark"] {
  --bg: #0e0c0b;
  --bg-glow-1: rgba(255, 132, 64, 0.20);
  --bg-glow-2: rgba(150, 110, 255, 0.10);
  --bg-glow-3: rgba(255, 110, 60, 0.08);
  --bg-top: #16120f;
  --bg-bottom: #0b0a09;
  --grid-line: rgba(255, 255, 255, 0.035);
  --noise-opacity: 0.07;

  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --card-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);

  --text: #f7f0ea;
  --read: #cdc2ba;
  --muted: #968a82;
  --chip-bg: rgba(255, 255, 255, 0.06);

  --acc-1: #f7a06a; /* couleur B « Corail vin » (01/12/2026) : corail du logo vers rouge vin */
  --acc-2: #c93d47;
  --acc-ink: #f39486;
  --acc-text: #fff;
  --acc-soft: rgba(214, 72, 78, 0.16);
  --acc-line: rgba(240, 130, 120, 0.42);
  --acc-glow: rgba(201, 61, 71, 0.45);
  --ok: #4fd8a5;

  --window-bg: #1b1a1a;
  --window-bar: #242323;
  --window-border: rgba(255, 255, 255, 0.10);

  --menu-bg: rgba(28, 24, 22, 0.92);
  --header-bg: rgba(14, 12, 11, 0.55);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #faf7f3;
  --bg-glow-1: rgba(255, 166, 110, 0.38);
  --bg-glow-2: rgba(170, 150, 255, 0.20);
  --bg-glow-3: rgba(255, 196, 150, 0.30);
  --bg-top: #fffdfb;
  --bg-bottom: #f6f1eb;
  --grid-line: rgba(60, 30, 10, 0.045);
  --noise-opacity: 0.035;

  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --border: rgba(40, 20, 5, 0.08);
  --border-strong: rgba(40, 20, 5, 0.14);
  --card-shadow: 0 1px 2px rgba(40, 20, 5, 0.04), 0 30px 60px -32px rgba(90, 45, 15, 0.28);

  --text: #1b1612;
  --read: #4b423b;
  --muted: #80756c;
  --chip-bg: rgba(40, 20, 5, 0.05);

  --acc-1: #f4975f; /* couleur B « Corail vin » */
  --acc-2: #bf3841;
  --acc-ink: #b3343b;
  --acc-text: #fff;
  --acc-soft: rgba(191, 56, 65, 0.09);
  --acc-line: rgba(191, 56, 65, 0.32);
  --acc-glow: rgba(191, 56, 65, 0.32);
  --ok: #17a677;

  --window-bg: #1b1a1a;
  --window-bar: #242323;
  --window-border: rgba(40, 20, 5, 0.12);

  --menu-bg: rgba(255, 255, 255, 0.95);
  --header-bg: rgba(250, 247, 243, 0.7);
  color-scheme: light;
}

:root {
  --radius: 22px;
  --wrap: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[lang="en"] [data-lang="fr"],
html[lang="fr"] [data-lang="en"] { display: none !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--read);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 560px at 10% -6%, var(--bg-glow-1), transparent 62%),
    radial-gradient(760px 620px at 100% 6%, var(--bg-glow-2), transparent 60%),
    radial-gradient(1100px 760px at 50% 115%, var(--bg-glow-3), transparent 60%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-color: var(--bg);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}
/* Grain léger sur tout le fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

img, video, iframe { display: block; max-width: 100%; }
a { color: var(--acc-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--acc-2); }
h1, h2, h3 { color: var(--text); line-height: 1.08; margin: 0; letter-spacing: -0.035em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.grad-text {
  background: linear-gradient(100deg, var(--acc-1), var(--acc-2) 70%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  white-space: nowrap;
}

/* --- Barre du haut --- */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); background: var(--header-bg); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { height: 30px; width: auto; display: block; margin-left: -7px; }
html[data-theme="light"] .brand img { filter: drop-shadow(0 1px 1.5px rgba(90, 45, 15, 0.28)); }
html[data-theme="dark"] .brand img { filter: brightness(1.05); }

/* Langue : bouton discret + petit menu */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--read); font: 600 13px var(--font); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--border-strong); color: var(--text); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 14px; background: var(--menu-bg); border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.lang-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--read); font: 500 14px var(--font); cursor: pointer; text-align: left; }
.lang-menu button:hover { background: var(--chip-bg); color: var(--text); }
.lang-menu button[aria-checked="true"] { color: var(--text); font-weight: 650; }
.lang-menu button[aria-checked="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-2); }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; font: 700 16px var(--font); text-decoration: none; cursor: pointer; border: 0; padding: 15px 24px; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn-acc { background: linear-gradient(180deg, var(--acc-1), var(--acc-2)); color: var(--acc-text); text-shadow: 0 1px 1px rgba(60, 0, 10, .25); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(60, 0, 15, .25), 0 10px 30px -10px var(--acc-glow); }
.btn-acc:hover { color: var(--acc-text); transform: translateY(-1px); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(60, 0, 15, .25), 0 16px 36px -10px var(--acc-glow); }
.btn[aria-disabled="true"] { background: var(--chip-bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); cursor: default; transform: none; filter: none; }

/* --- En-tête de page --- */
.hero { padding: 64px 0 24px; position: relative; }
.hero::before { /* quadrillage qui s'efface */
  content: ""; position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero-text { text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7.4vw, 82px); font-weight: 800; letter-spacing: -0.045em; }
.hero .lead { margin: 20px auto 0; font-size: clamp(17px, 2.1vw, 20px); color: var(--read); max-width: 58ch; }

.hero-grid { display: grid; gap: 22px; margin-top: 48px; align-items: stretch; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: minmax(0, 1.75fr) minmax(330px, 1fr); gap: 24px; } }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border-strong); box-shadow: var(--card-shadow); align-self: start; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Carte d'achat --- */
.card { position: relative; border-radius: var(--radius); padding: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; }
.card::before { /* liseré dégradé en haut */
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc-line), transparent);
}
.file { display: flex; gap: 14px; align-items: center; }
.file-icon { flex: none; width: 50px; height: 60px; filter: drop-shadow(0 8px 16px var(--acc-glow)); }
.file-icon stop:first-child { stop-color: var(--acc-1); } /* l'icône .zip suit la couleur du site */
.file-icon stop:last-child { stop-color: var(--acc-2); }
.file-name { color: var(--text); font-weight: 750; font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; }
.file-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 16px; }
.price strong { color: var(--text); font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.card .btn { width: 100%; }
.specs { list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; }
.specs li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; padding: 13px 0; border-top: 1px solid var(--border); }
.specs li:last-child { padding-bottom: 0; }
.specs .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: -1px; }
.specs .ic.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.specs .ic.info { background: var(--acc-soft); color: var(--acc-ink); border-radius: 7px; }
.specs .ic svg { width: 13px; height: 13px; }
.specs b { color: var(--text); font-weight: 650; }
.specs li.warn { color: var(--read); }
.specs li.warn b { color: var(--acc-ink); }

/* --- Trois points forts --- */
.facts { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.fact .ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); }
.fact .ico svg { width: 19px; height: 19px; }
.fact h3 { font-size: 15px; letter-spacing: -0.01em; }
.fact p { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 1px; }

/* --- Sections --- */
.section { padding: 112px 0 24px; }
#fonctionnement.section { padding-top: 64px; } /* moins d'air au-dessus de « Quatre pages intuitives » (01/12/2026) */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-ink); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -0.04em; }
.section-head p { margin-top: 14px; font-size: 18px; }

/* Barre des 4 pages (barre 1 « Onglets Resolve », 01/12/2026) : bande pleine largeur, même verre flou que l'en-tête ;
   collée sous l'en-tête, les deux ne font qu'un (html.tabs-stuck, main.js) ; trait dégradé qui glisse sous la page en cours. */
:root { --top-h: 64px; --tabs-h: 54px; }
.tabs-bar { position: sticky; top: var(--top-h); z-index: 10; margin: 0 0 8px; }
.tabs-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border); }
html.tabs-stuck .tabs-bar::before { top: calc(-1 * var(--top-h)); } /* le verre de la barre passe aussi sous l'en-tête */
html.tabs-stuck .top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.tabs { position: relative; display: flex; justify-content: center; margin: 0 auto; width: fit-content; max-width: 100%; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; position: relative; z-index: 1; padding: 14px 18px 15px; color: var(--muted); font-weight: 650; font-size: 15px; line-height: 24px; text-decoration: none; transition: color .2s ease; }
.tabs a:hover, .tabs a.active { color: var(--text); }
.tabs .ind { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; opacity: 0; pointer-events: none;
  transition: left .42s cubic-bezier(.3, .7, .2, 1), width .42s cubic-bezier(.3, .7, .2, 1), opacity .25s ease; }
.tabs .ind.on { opacity: 1; }
.tabs .ind::after { content: ""; position: absolute; inset: 0 18px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--acc-1), var(--acc-2)); box-shadow: 0 -1px 8px var(--acc-glow); }
@media (max-width: 420px) {
  .tabs { gap: 0; }
  .tabs a { padding: 14px 13px 15px; font-size: 14px; }
  .tabs .ind::after { inset: 0 13px; }
}

.page { padding: 56px 0; }
/* Titre sur toute la ligne ; démos à gauche, Inspector à droite (comme le viewer et l'Inspector de Resolve) */
.page > h3 { margin-bottom: 28px; }
.page-grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .page { padding: 72px 0; }
  .page-grid { grid-template-columns: minmax(0, 1fr) clamp(330px, 34vw, 400px); gap: 32px; align-items: start; }
  .page-grid > .insp { position: sticky; top: calc(var(--top-h) + var(--tabs-h) + 18px); } /* sous la barre des 4 pages */
}
.page-note { margin-top: 22px; font-size: 17px; max-width: 64ch; }
.page-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.page-label .num { font: 800 13px var(--font); color: var(--muted); letter-spacing: .06em; }
.page-label .name { font: 700 13px var(--font); letter-spacing: .02em; color: var(--acc-ink); padding: 5px 11px; border-radius: 999px; background: var(--acc-soft); border: 1px solid var(--acc-line); }
.page h3 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.035em; }

/* Vidéos des pages Anim et Style */
.clip { margin: 0; }
.clip-media { position: relative; border-radius: 18px; overflow: hidden; background: #141110; border: 1px solid var(--window-border); box-shadow: var(--card-shadow); aspect-ratio: 16 / 9; }
.clip-media video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { padding: 14px 4px 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.clip figcaption b { display: block; color: var(--text); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.clips-anim { display: grid; gap: 22px; align-content: start; }
@media (min-width: 640px) {
  .clips-anim .clip { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: center; }
  .clips-anim .clip figcaption { padding: 0; }
}
.clips-style { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.clips-style .clip-media { aspect-ratio: 16 / 10; border-radius: 16px; transition: box-shadow .35s ease; } /* module ouvert : contour seul, rien d'assombri */
.clips-style .clip-media.lit { box-shadow: 0 0 0 2px var(--acc-2), var(--card-shadow); }

/* Démos de la page Controls */
.demos { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo { position: relative; aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: #141110; border: 1px solid var(--window-border); box-shadow: var(--card-shadow); }
.demo video { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13.5px; font-weight: 600; color: var(--read); padding: 6px 12px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--border); }

/* Fenêtre façon Resolve : Inspector + viewer */
.editor { border-radius: 18px; overflow: hidden; background: var(--window-bg); border: 1px solid var(--window-border); box-shadow: var(--card-shadow); }
.editor-bar, .insp-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--window-bar); border-bottom: 1px solid rgba(255,255,255,.06); }
.editor-bar i, .insp-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.editor-bar span, .insp-bar span { margin-left: 10px; font: 600 12px var(--font); color: rgba(255,255,255,.45); letter-spacing: .02em; }
.viewer { position: relative; aspect-ratio: 16 / 9; background: #000; }
.viewer video { width: 100%; height: 100%; object-fit: cover; }

/* Inspector (captures d'Etienne, écran x2). Anim et Style : modules qui s'ouvrent et se ferment.
   Chaque morceau (.sl) est une bande de la planche media/inspector-*.webp : --y = haut, --h = hauteur (px de la planche),
   --W = largeur de la planche ; 100cqw = largeur de l'Inspector. */
.insp { margin: 0; container-type: inline-size; border-radius: 18px; overflow: hidden; background: #28282e; border: 1px solid var(--window-border); box-shadow: var(--card-shadow); }
.insp > img { width: 100%; height: auto; }
.insp-body { position: relative; min-height: calc(var(--Hmin) * 100cqw / var(--W)); }
.sl { display: block; width: 100%; height: calc(var(--h) * 100cqw / var(--W)); background: var(--img) no-repeat 0 calc(var(--y) * -100cqw / var(--W)) / 100% auto; }
.mod { margin-bottom: calc(6 * 100cqw / var(--W)); }
.mod-head { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; transition: filter .15s ease; }
.mod-head .on, .mod.open .mod-head .off { display: none; }
.mod.open .mod-head .on { display: block; }
.mod-head:hover { filter: brightness(1.2); }
.mod-head:focus-visible { outline: 2px solid var(--acc-2); outline-offset: -3px; border-radius: 999px; }
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.3, .7, .2, 1); }
.mod-body > div { min-height: 0; overflow: hidden; }
.mod.open .mod-body { grid-template-rows: 1fr; }
.insp-hint { padding: 10px 14px 12px; font-size: 13px; line-height: 1.4; text-align: center; color: rgba(255,255,255,.5); background: #232328; border-top: 1px solid rgba(255,255,255,.06); }
/* Curseur de la démo automatique (s'arrête dès que le visiteur clique) */
.insp-cursor { position: absolute; left: -4px; top: -2px; z-index: 2; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: transform .75s cubic-bezier(.45, .05, .25, 1), opacity .3s ease; }
.insp-cursor.show { opacity: 1; }
.insp-cursor svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #111; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); transition: transform .12s ease; transform-origin: 20% 12%; }
.insp-cursor.tap svg { transform: scale(.86); }
.insp-cursor::before { content: ""; position: absolute; left: -6px; top: -7px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); opacity: 0; }
.insp-cursor.tap::before { animation: insp-tap .5s ease-out; }
@keyframes insp-tap { from { opacity: .9; transform: scale(.35); } to { opacity: 0; transform: scale(1.5); } }

/* Staircase */
.bonus { display: grid; gap: 28px; align-items: center; margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
@media (min-width: 860px) {
  .bonus { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text phone" "steps phone"; gap: 28px 48px; padding: 40px 48px; }
  .bonus-text { grid-area: text; align-self: end; }
  .bonus-steps { grid-area: steps; align-self: start; }
  .bonus .phone { grid-area: phone; }
}
.bonus h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.bonus p { margin-top: 12px; font-size: 17px; }
.bonus-steps { display: grid; gap: 18px; order: 2; } /* téléphone : texte, démo, puis les 2 étapes */
@media (min-width: 560px) { .bonus-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bonus-steps .clip figcaption { padding-top: 10px; }
.bonus-steps .clip figcaption b { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; }
.bonus-steps .path { color: var(--text); font-weight: 700; }
.step-n { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 12px; font-weight: 800; color: var(--acc-ink); background: var(--acc-soft); transform: translateY(-1px); }
.tag { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--acc-ink); border: 1px solid var(--acc-line); background: var(--acc-soft); border-radius: 999px; padding: 3px 10px; }
.phone { position: relative; width: min(270px, 72vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; border: 6px solid #1c1b1b; box-shadow: var(--card-shadow); margin: 0 auto; }
.phone video { width: 100%; height: 100%; object-fit: cover; }

/* Vidéo agrandie au clic */
button.clip-media { display: block; width: 100%; padding: 0; font: inherit; color: inherit; cursor: zoom-in; }
.zoomable::after { content: ""; position: absolute; right: 9px; top: 9px; width: 28px; height: 28px; border-radius: 8px; background: rgba(20,16,14,.55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6'/></svg>") center / 15px no-repeat; opacity: .8; transition: opacity .15s ease; }
.zoomable:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8, 6, 5, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: zoom-out; opacity: 0; transition: opacity .18s ease; }
.lightbox.open { opacity: 1; }
.lightbox video { width: min(1280px, 100%); max-height: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }

/* --- Étapes --- */
.path { color: var(--text); font-weight: 600; }

/* --- FAQ --- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .15s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; color: var(--text); font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 20px 20px; }

/* --- Fin de page --- */
.cta { text-align: center; padding: 120px 0 40px; }
.cta h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; }
.cta p { margin: 14px auto 28px; max-width: 52ch; font-size: 17px; }
.cta-card { max-width: 380px; margin: 32px auto 0; text-align: left; }
.footer { margin-top: 72px; padding: 32px 0 48px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.footer .wrap { display: grid; gap: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: var(--read); text-decoration: none; }
.footer a:hover { color: var(--acc-ink); }
.footer small { color: var(--muted); opacity: .8; font-size: 12px; }

/* --- Pages légales --- */
.legal { padding: 56px 0 24px; max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.legal .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 10px; }
.legal address { font-style: normal; }
.legal .box { border-radius: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); }
.legal .after-box { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .lang-menu, .lang-btn .chev, .lightbox, .mod-body, .clips-style .clip-media { transition: none; }
}
