/* ── Cursaura — site (accueil + CGU) ─────────────────────────────────────────
   Thème clair / sombre inspiré du panneau de l'app : mêmes jetons que
   features/shared/theme.css (verre, surfaces, accent bleu système).
   Le thème est posé sur <html data-theme="light|dark"> par le script en tête
   de page (choix mémorisé : Clair / Sombre / Auto). */

:root {
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "JetBrains Mono", monospace;

  --bg: #f5f5f7;
  --bg-accent-1: rgba(0, 122, 255, 0.10);
  --bg-accent-2: rgba(175, 82, 222, 0.07);
  --card: #ffffff;
  --card-edge: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);

  --label: #1d1d1f;
  --label-2: rgba(60, 60, 67, 0.78);
  --label-3: rgba(60, 60, 67, 0.55);
  --label-4: rgba(60, 60, 67, 0.32);

  --fill: rgba(120, 120, 128, 0.12);
  --fill-2: rgba(120, 120, 128, 0.18);
  --fill-3: rgba(120, 120, 128, 0.26);
  --separator: rgba(60, 60, 67, 0.14);

  --tint: #007aff;
  --tint-hover: #0068d9;
  --tint-soft: rgba(0, 122, 255, 0.10);
  --focus-ring: 0 0 0 3px rgba(0, 122, 255, 0.28);
  --green: #34c759;
  --green-text: #248a3d;

  --surface: rgba(255, 255, 255, 0.66);
  --surface-hover: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-edge: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
  --raised: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 244, 247, 0.9));
  --glass-border: rgba(0, 0, 0, 0.12);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  --glass-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  --nav-bg: rgba(245, 245, 247, 0.72);
  --sheet-bg: rgba(255, 255, 255, 0.98);
  --scrim: rgba(0, 0, 0, 0.25);
  --on-label: #fff;
  --segment-hover: rgba(255, 255, 255, 0.45);
  --sheen: rgba(255, 255, 255, 0.9);
  --reflect: rgba(255, 255, 255, 0.5);
  --shot-shadow: 0 30px 70px rgba(0, 0, 0, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.1);
  --halo: rgba(0, 122, 255, 0.10);

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 7px;

  /* Anciens noms, encore utilisés par quelques styles en ligne */
  --ink: var(--label); --ink-2: var(--label-2); --ink-3: var(--label-3); --ink-4: var(--label-4);
  --line: var(--separator); --line-strong: var(--fill-3); --cyan: var(--tint); --violet: #af52de;
}

:root[data-theme="dark"] {
  --bg: #111113;
  --bg-accent-1: rgba(10, 132, 255, 0.14);
  --bg-accent-2: rgba(191, 90, 242, 0.08);
  --card: #1c1c1e;
  --card-edge: 0 0 0 0.5px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.4);

  --label: #f5f5f7;
  --label-2: rgba(235, 235, 245, 0.72);
  --label-3: rgba(235, 235, 245, 0.48);
  --label-4: rgba(235, 235, 245, 0.28);

  --fill: rgba(120, 120, 128, 0.24);
  --fill-2: rgba(120, 120, 128, 0.32);
  --fill-3: rgba(120, 120, 128, 0.44);
  --separator: rgba(84, 84, 88, 0.6);

  --tint: #0a84ff;
  --tint-hover: #409cff;
  --tint-soft: rgba(10, 132, 255, 0.18);
  --focus-ring: 0 0 0 3px rgba(10, 132, 255, 0.45);
  --green: #30d158;
  --green-text: #30d158;

  --surface: rgba(255, 255, 255, 0.07);
  --surface-hover: rgba(255, 255, 255, 0.12);
  --surface-solid: #3a3a3c;
  --surface-edge: 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.3);
  --raised: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
  --glass-bg: linear-gradient(180deg, rgba(52, 52, 56, 0.96), rgba(30, 30, 32, 0.95));
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  --glass-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  --nav-bg: rgba(17, 17, 19, 0.72);
  --sheet-bg: rgba(44, 44, 46, 0.98);
  --scrim: rgba(0, 0, 0, 0.55);
  --on-label: #1d1d1f;
  --segment-hover: rgba(255, 255, 255, 0.08);
  --sheen: rgba(255, 255, 255, 0.1);
  --reflect: rgba(255, 255, 255, 0.07);
  --shot-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  --halo: rgba(10, 132, 255, 0.16);
  --violet: #bf5af2;
}

/* ── Base ── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--label);
  background:
    radial-gradient(1100px 620px at 85% -8%, var(--bg-accent-1), transparent 60%),
    radial-gradient(900px 560px at 5% 4%, var(--bg-accent-2), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
::selection { background: var(--tint-soft); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.022em; margin: 0; text-wrap: balance; color: var(--label); }
p { margin: 0; color: var(--label-2); line-height: 1.55; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
strong { color: var(--label); font-weight: 600; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
section { position: relative; }

/* ── Navigation ── */
nav.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--nav-bg);
  border-bottom: 0.5px solid var(--separator);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font: 600 16px/1 var(--font-display); letter-spacing: -0.01em; }
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #8cc4ff, #3d7ef0 55%, #2558d6);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 50, 160, 0.25);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--label-2); margin-right: 6px; }
.nav-links a:hover { color: var(--label); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Sélecteur de thème : contrôle segmenté de l'app (Apparence) */
.theme-switch { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--fill); }
.theme-switch button {
  width: 30px; height: 26px; border: 0; border-radius: 999px; background: transparent; color: var(--label-2);
  cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s, box-shadow .15s;
}
.theme-switch button:hover:not(.active) { color: var(--label); background: var(--segment-hover); }
.theme-switch button.active { background: var(--surface-solid); color: var(--label); box-shadow: var(--raised), inset 0 1px 0 var(--sheen); }
.theme-switch svg { width: 15px; height: 15px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; border: 0;
  font: 600 14px var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { color: #fff; background: var(--tint); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: var(--tint-hover); }
.btn-ghost { color: var(--label); background: var(--fill); }
.btn-ghost:hover { background: var(--fill-2); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 13px; }

kbd {
  font: 600 11px var(--font); color: var(--label-2);
  background: var(--surface-solid); border-radius: 5px; padding: 2px 6px;
  box-shadow: var(--raised); white-space: nowrap;
}
.pill-pro, .tag .pro {
  display: inline-flex; align-items: center; font: 700 9px var(--font); letter-spacing: 0.04em;
  background: var(--label); color: var(--on-label); border-radius: 5px; padding: 2px 5px; vertical-align: 1px;
}

/* ── Hero ── */
.hero { padding: 72px 0 40px; text-align: center; overflow-x: clip; }
.hero .wrap { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--halo), transparent); pointer-events: none;
}
.hero-badges { display: flex; justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--card); box-shadow: var(--card-edge); font-size: 13px; font-weight: 500; color: var(--label-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; margin: 22px auto 0; max-width: 900px; }
.hero h1 .accent { color: var(--tint); }
.hero .lede { margin: 24px auto 0; font-size: clamp(16px, 1.4vw, 19px); max-width: 760px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 20px; color: var(--label-3); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat; }
.hero-screen { width: min(1100px, 94vw); margin: 52px auto 0; position: relative; z-index: 2; }
.hero-keys { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 22px; font-size: 14px; color: var(--label-2); }
.hero-keys span { display: inline-flex; align-items: center; gap: 4px; }
.hero-keys kbd + :not(kbd) { margin-left: 4px; }
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.audience span { font-size: 13px; color: var(--label-2); padding: 7px 13px; border-radius: 999px; background: var(--fill); }

/* Halo du hero : projecteur de l'app, en thème sombre seulement */
.spotlight-stage {
  position: absolute; left: 50%; top: -40px; transform: translateX(-50%);
  width: 1800px; max-width: 100vw; height: 720px; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.2s ease;
}
:root[data-theme="dark"] .spotlight-stage.lit { opacity: 1; }
:root:not([data-theme="dark"]) .spotlight-stage { display: none; }
.spot-source {
  position: absolute; left: 50%; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%) scale(0); transition: transform .6s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 12px rgba(255,255,255,0.9), 0 0 28px rgba(140,196,255,0.6), 0 0 60px rgba(10,132,255,0.4);
}
.spotlight-stage.lit .spot-source { transform: translate(-50%, -50%) scale(1); }
.spot-cone {
  position: absolute; left: 50%; top: 0; width: 1800px; height: 720px; transform: translateX(-50%);
  background: radial-gradient(ellipse 55% 95% at 50% 0%, rgba(255,255,255,0.30) 0%, rgba(160,200,255,0.16) 22%, rgba(10,132,255,0.07) 55%, transparent 100%);
  -webkit-mask: linear-gradient(180deg, black, transparent 95%); mask: linear-gradient(180deg, black, transparent 95%);
  clip-path: polygon(49% 0%, 51% 0%, 99% 100%, 1% 100%); filter: blur(2px);
}
.spot-pool {
  position: absolute; left: 50%; bottom: 30px; width: 1400px; height: 280px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(10,132,255,0.16) 0%, transparent 70%); filter: blur(8px);
}
.dust-canvas {
  position: absolute; left: 50%; top: 0; width: 1800px; height: 720px; transform: translateX(-50%);
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%); mix-blend-mode: screen;
}
@media (max-width: 720px) {
  .spotlight-stage, .spot-cone, .dust-canvas { width: 100vw; }
  .spot-pool { width: 90vw; }
  .spot-cone { clip-path: polygon(37.5% 0%, 62.5% 0%, 210% 100%, -110% 100%); }
  .dust-canvas { clip-path: polygon(33% 0%, 67% 0%, 100% 100%, 0% 100%); }
}

/* ── Captures, vidéos ── */
.screen {
  position: relative; border-radius: 14px; overflow: hidden; background: var(--fill);
  box-shadow: var(--shot-shadow);
}
.screen video, .screen img { display: block; width: 100%; height: auto; }
.caption { font-size: 13px; color: var(--label-3); margin-top: 12px; text-align: center; }

/* ── Sections ── */
.sec { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--tint); margin-bottom: 12px; }
.sec h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; max-width: 820px; margin: 0 auto; }
.sec-sub { margin: 18px auto 0; font-size: 18px; max-width: 640px; }

/* Cartes : rangées de réglages de l'app */
.step, .family, .mini, .price-card, .compare-banner, .faq-list {
  background: var(--card); border-radius: 20px; box-shadow: var(--card-edge);
}

/* Comment ça marche */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: #fff; font: 700 13px var(--font); display: grid; place-items: center; }
.step h3 { font-size: 21px; }
.step p { font-size: 15px; }
.step-media { margin-top: auto; border-radius: 12px; overflow: hidden; background: var(--fill); height: 230px; display: flex; align-items: center; justify-content: center; }
.step-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.step-media.contain img { object-fit: contain; }
.step-media.keys { flex-direction: column; gap: 14px; }
.step-media.keys .krow { display: flex; gap: 6px; align-items: center; color: var(--label-3); font-size: 13px; }
.step-media.keys kbd { font-size: 13px; padding: 5px 9px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Ce que fait Cursaura */
.what-sec { padding: 40px 0 30px; }
.what { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.what-col { display: flex; flex-direction: column; padding: 24px; background: var(--card); border-radius: 20px; box-shadow: var(--card-edge); transition: transform .2s; }
.what-col:hover { transform: translateY(-2px); }
.what-icon { font-size: 26px; line-height: 1; }
.what-col h3 { font-size: 19px; margin: 12px 0 12px; }
.what-col ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.what-col li { display: flex; gap: 10px; font-size: 15px; color: var(--label-2); line-height: 1.45; }
.what-col li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--tint); }
.what-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--tint); }
@media (max-width: 900px) { .what { grid-template-columns: 1fr; } }

/* Familles */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.family { display: block; padding: 22px 24px; transition: transform .2s, box-shadow .2s; }
.family:hover { transform: translateY(-2px); }
.family i { font-style: normal; font-size: 24px; display: block; margin-bottom: 10px; }
.family b { display: block; font: 600 18px var(--font-display); margin-bottom: 6px; }
.family span { font-size: 14px; color: var(--label-3); line-height: 1.5; }
@media (max-width: 900px) { .families { grid-template-columns: 1fr; } }

/* Groupes de fonctionnalités */
.group { padding: 90px 0 30px; }
.group + .group { border-top: 0.5px solid var(--separator); }
.group-head { max-width: 760px; margin-bottom: 50px; }
.group-head .sec-eyebrow { margin-bottom: 12px; }
.group-head h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; margin-bottom: 16px; }
.group-head p { font-size: 18px; }

.row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding: 34px 0; }
.row.flip { grid-template-columns: 1fr 1.35fr; }
.row.flip .row-media { order: 2; }
.row-text h3 { font-size: clamp(24px, 2.5vw, 31px); line-height: 1.12; margin: 12px 0 14px; }
.row-text > p { font-size: 16px; }
.row-media { min-width: 0; }
@media (max-width: 900px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 26px; }
  .row.flip .row-media { order: 0; }
}

.tag { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--font); color: var(--label); flex-wrap: wrap; }
.tag .dot { width: 9px; height: 9px; border-radius: 50%; }
.tag kbd { margin-left: 2px; }

.bullets { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li { display: flex; gap: 10px; font-size: 15px; color: var(--label-2); line-height: 1.5; }
.bullets li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--tint); }
.bullets .pill-pro { margin-left: 6px; }

/* Sélecteur de mode (halo) : contrôle segmenté */
.switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--fill); margin-top: 18px; }
.switch button {
  font: 500 13px var(--font); color: var(--label); background: transparent; border: 0; border-radius: 7px;
  padding: 6px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background .15s, box-shadow .15s;
}
.switch button:hover:not(.on) { background: var(--segment-hover); }
.switch button.on { background: var(--surface-solid); box-shadow: var(--raised); font-weight: 600; }
.stack { position: relative; }
.stack > img { transition: opacity .35s ease; }
.stack > img:not(:first-child) { position: absolute; inset: 0; }
.stack > img:not(.on) { opacity: 0; }

.aura-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.aura-grid figure { margin: 0; }
.aura-grid img { width: 100%; height: auto; border-radius: 10px; display: block; box-shadow: var(--card-edge); }
.aura-grid figcaption { font-size: 12px; color: var(--label-3); text-align: center; margin-top: 6px; }
.aura-grid figcaption .pill-pro { font-size: 7px; padding: 1.5px 4px; margin-left: 3px; }
@media (max-width: 700px) { .aura-grid { grid-template-columns: repeat(3, 1fr); } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo .screen { border-radius: 12px; }
.duo img { height: auto; }
@media (max-width: 600px) { .duo { grid-template-columns: 1fr; } }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 34px 0; }
.mini { overflow: hidden; display: flex; flex-direction: column; }
.mini .screen { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; border-bottom: 0.5px solid var(--separator); }
.mini .screen img, .mini .screen video { width: 100%; height: 100%; object-fit: cover; }
.mini .screen.fit img { object-fit: contain; background: #f6f7fb; }
.mini .screen.fit.dark img { background: #1e1e1e; }
.mini-body { padding: 18px 20px 22px; }
.mini-body h4 { font-size: 17px; margin: 8px 0 6px; }
.mini-body p { font-size: 14px; }
@media (max-width: 900px) { .minis { grid-template-columns: 1fr; } }

.wide { padding: 30px 0 10px; }
.wide-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.wide-text h3 { font-size: clamp(24px, 2.5vw, 31px); line-height: 1.12; margin: 12px 0 14px; }
@media (max-width: 900px) { .wide-text { grid-template-columns: 1fr; gap: 0; } }

/* Raccourcis */
.control { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: start; }
.control-media { display: flex; gap: 16px; align-items: flex-start; }
.control-media img { border-radius: 14px; display: block; height: auto; box-shadow: var(--shot-shadow); }
.control-media img:first-child { width: 260px; }
.control-media img:last-child { width: 300px; margin-top: 60px; }
.control h2 { text-align: left; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 22px; }
.shortcuts div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--separator); font-size: 14px; color: var(--label-2); }
.shortcuts kbd + kbd { margin-left: 3px; }
@media (max-width: 980px) {
  .control { grid-template-columns: 1fr; }
  .control-media { justify-content: center; }
  .control-media img:first-child { width: 44%; }
  .control-media img:last-child { width: 50%; margin-top: 30px; }
}
@media (max-width: 520px) { .shortcuts { grid-template-columns: 1fr; } }

/* Tarifs */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { padding: 32px; display: flex; flex-direction: column; }
.price-card.pro { box-shadow: inset 0 0 0 2px var(--tint), 0 12px 32px var(--tint-soft); }
.plan-label { font-size: 14px; font-weight: 600; color: var(--label-3); margin-bottom: 6px; }
.price-card.pro .plan-label { color: var(--tint); }
.price-num { font: 700 52px/1 var(--font-display); letter-spacing: -0.03em; color: var(--label); }
.price-num small { font-size: 16px; color: var(--label-3); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.price-tag { margin-top: 8px; color: var(--label-3); font-size: 14px; }
.price-list { margin: 26px 0 28px; display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--label-2); }
.price-list li svg { flex-shrink: 0; margin-top: 3px; stroke: var(--tint); }
.price-list li.head { font-size: 12px; font-weight: 600; color: var(--label-3); padding-top: 4px; }
.price-cta { margin-top: auto; }
.price-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--label-3); }

/* ZoomIt */
.sec-compare { padding: 0 0 80px; }
.compare-banner { padding: 36px 40px; display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .compare-banner { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; } }
.compare-intro .sec-eyebrow { display: block; margin-bottom: 8px; }
.compare-intro p { font-size: 15px; }
.compare-row { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--separator); }
.compare-row:last-child { border-bottom: 0; }
.cr-bad { font-size: 14px; color: var(--label-3); text-decoration: line-through; text-decoration-color: var(--label-4); }
.cr-arrow { text-align: center; color: var(--tint); font-weight: 700; }
.cr-good { font-size: 14px; color: var(--label); font-weight: 500; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; background: var(--card); border-radius: 20px; box-shadow: var(--card-edge); padding: 4px 24px; }
.faq details { border-bottom: 0.5px solid var(--separator); padding: 18px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font: 600 16px var(--font); color: var(--label); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--label-3); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 15px; }

/* CTA final */
.cta-final { padding: 110px 0 130px; text-align: center; overflow-x: clip; }
.cta-final::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 760px; height: 560px; background: radial-gradient(closest-side, var(--halo), transparent); pointer-events: none; }
.cta-final h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; position: relative; letter-spacing: -0.03em; }
.cta-final p { margin: 20px auto 0; font-size: 18px; max-width: 560px; position: relative; }
.cta-final .actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-final .hero-meta { display: block; }
.cta-final .hero-meta::before, .cta-final .hero-meta span::before { display: none; }

/* Pied de page */
footer { border-top: 0.5px solid var(--separator); padding: 30px 0 50px; }
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--label-3); font-size: 13px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--label); }
.ver { font-size: 12px; color: var(--label-4); }

/* ── Effets de la page (halo au curseur, clic) ── */
.cursor-halo {
  position: fixed; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, var(--halo) 0%, transparent 65%); transform: translate(-50%, -50%);
  transition: opacity .4s ease, width .3s ease, height .3s ease; opacity: 0; will-change: left, top;
}
body.has-halo .cursor-halo { opacity: 1; }
body.halo-pulse .cursor-halo { width: 460px; height: 460px; }
.click-flash { position: fixed; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--tint) 0%, transparent 70%); animation: clickFlash .35s ease-out forwards; }
@keyframes clickFlash { from { transform: translate(-50%, -50%) scale(1); opacity: .8; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }
.click-ring { position: fixed; width: 0; height: 0; border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); border: 1.5px solid var(--tint); animation: clickRing .55s cubic-bezier(.2, .6, .2, 1) forwards; }
.click-ring.r2 { display: none; }
@keyframes clickRing { from { width: 0; height: 0; opacity: .9; } to { width: 110px; height: 110px; opacity: 0; } }
.click-spark { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9997; transform: translate(-50%, -50%); animation: clickSpark .5s ease-out forwards; }
@keyframes clickSpark { from { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; } to { transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ── Fenêtre SmartScreen : feuille de l'app ── */
.ss-backdrop {
  position: fixed; inset: 0; z-index: 1000; background: var(--scrim); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.ss-backdrop.open { opacity: 1; pointer-events: auto; }
.ss-modal {
  position: relative; background: var(--sheet-bg); border-radius: 20px; padding: 32px 28px 24px; width: min(580px, 100%);
  max-height: 90vh; overflow-y: auto; box-shadow: var(--glass-shadow), 0 0 0 0.5px var(--glass-border);
  transform: translateY(16px) scale(0.97); transition: transform .3s cubic-bezier(.34,1.4,.64,1);
}
.ss-backdrop.open .ss-modal { transform: none; }
.ss-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--fill); color: var(--label-2); cursor: pointer; display: grid; place-items: center; }
.ss-close:hover { background: var(--fill-2); color: var(--label); }
.ss-close svg { width: 14px; height: 14px; }
.ss-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ss-badge { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green-text); display: grid; place-items: center; }
.ss-header h3 { font-size: 19px; margin-bottom: 4px; }
.ss-header p { font-size: 14px; }
.ss-explain { background: var(--fill); border-radius: 12px; padding: 13px 15px; margin-bottom: 24px; }
.ss-explain p { font-size: 13px; line-height: 1.6; }
.ss-explain a { color: var(--tint); }
.ss-steps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 24px; }
.ss-step { display: flex; gap: 14px; align-items: flex-start; }
.ss-step-num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: #fff; font: 700 13px var(--font); display: grid; place-items: center; }
.ss-step-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ss-step-body strong { font-size: 15px; }
.ss-step-body span { font-size: 13px; color: var(--label-3); line-height: 1.5; }
.ss-img-wrap { margin-top: 10px; border-radius: 10px; overflow: hidden; box-shadow: var(--card-edge); }
.ss-img-wrap img { width: 100%; display: block; }
.ss-done { width: 100%; }

/* ── Démo interactive ── */
.demo-sec { padding-top: 70px; }
.demo-wrap { width: min(1400px, 95vw); }
.demo { display: grid; grid-template-columns: 330px minmax(0, 1fr); grid-template-areas: "panel stage" "panel notes"; gap: 14px 28px; align-items: start; }
.cp { grid-area: panel; }
.demo-main { grid-area: stage; min-width: 0; }
.demo-notes { grid-area: notes; }

/* Panneau : réplique de dashboard.html (verre, tuiles, contrôles segmentés) */
.cp {
  position: sticky; top: 80px; color: var(--label);
  background: var(--glass-bg); border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow), var(--glass-sheen), 0 0 0 0.5px var(--glass-border);
  padding: 0 16px 14px; user-select: none; -webkit-user-select: none;
}
.cp-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px 6px; }
.cp-brand { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font-display); letter-spacing: -0.01em; }
.cp-dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8cc4ff, #3d7ef0 55%, #2558d6); box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,50,160,0.25); }
.cp-badge { font: 700 10px var(--font); letter-spacing: 0.04em; background: var(--label); color: var(--on-label); border-radius: 999px; padding: 4px 9px; }
.cp-status { font-size: 12px; color: var(--label-3); min-height: 18px; padding: 0 2px 10px; transition: color .3s; }
.cp-status.on { color: var(--label); font-weight: 500; }
.cp-grid { display: flex; flex-direction: column; gap: 14px; }
.cp-category { display: flex; flex-direction: column; gap: 7px; }
.cp-category-label { font-size: 12px; font-weight: 600; color: var(--label-2); padding: 0 4px; }
.cp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cp-tile {
  aspect-ratio: 1; border-radius: var(--radius-lg); border: 0; cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface); color: var(--label); box-shadow: var(--surface-edge), inset 0 1px 0 var(--sheen);
  transition: background .2s, box-shadow .2s, transform .12s, opacity .2s;
}
.cp-tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--reflect), transparent 50%); pointer-events: none; }
.cp-tile:hover { background: var(--surface-hover); }
.cp-tile:active { transform: scale(0.95); }
.cp-tile.active { background: var(--surface-hover); box-shadow: inset 0 0 0 2px var(--glow, var(--tint)), 0 3px 10px color-mix(in srgb, var(--glow, var(--tint)) 25%, transparent), inset 0 1px 0 var(--sheen); }
.cp-tile.focus { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--glow, var(--tint)) 45%, transparent), var(--surface-edge); }
.cp-tile.elsewhere { opacity: 0.45; }
.cp-tile.elsewhere:hover { opacity: 0.7; }
.cp-tile-icon { font-size: 22px; line-height: 1; position: relative; z-index: 1; }
.cp-tile-label { font-size: 10.5px; font-weight: 500; color: var(--label-2); position: relative; z-index: 1; }
.cp-tile.active .cp-tile-label { color: var(--label); font-weight: 600; }
.cp-tile-pro { position: absolute; top: 5px; right: 5px; z-index: 2; font: 700 7px var(--font); letter-spacing: .04em; background: var(--label); color: var(--on-label); border-radius: 4px; padding: 1.5px 4px; }
.cp-card { margin-top: 14px; background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: var(--surface-edge); min-height: 92px; }
.cp-card-title { font: 600 14px var(--font-display); letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cp-keys { margin-left: auto; display: inline-flex; gap: 3px; }
.cp-keys kbd { font-size: 10px; padding: 2px 5px; }
.cp-pro { font: 700 8px var(--font); letter-spacing: .04em; background: var(--label); color: var(--on-label); border-radius: 4px; padding: 2px 4px; margin-left: 4px; }
.cp-segment { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--fill); margin-top: 10px; }
.cp-segment:empty { display: none; }
.cp-segment.grid { flex-wrap: wrap; }
.cp-segment.grid .cp-seg { flex: 1 0 30%; }
.cp-seg { flex: 1; min-width: 0; min-height: 28px; padding: 4px 6px; font: 500 12px var(--font); border-radius: var(--radius-sm); border: 0; background: transparent; color: var(--label); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, box-shadow .15s; }
.cp-seg:hover:not(.active) { background: var(--segment-hover); }
.cp-seg.active { background: var(--surface-solid); box-shadow: var(--raised); font-weight: 600; }
.cp-seg .cp-pro { font-size: 7px; padding: 1.5px 3px; }
.cp-hint { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--label-2); }
.cp-nav { display: flex; gap: 2px; margin: 14px auto 0; padding: 3px; border-radius: 999px; background: var(--fill); width: fit-content; max-width: 100%; }
.cp-nav-btn { height: 30px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; color: var(--label-2); font: 500 12.5px var(--font); white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.cp-nav-btn:hover:not(.active) { color: var(--label); }
.cp-nav-btn.active { background: var(--surface-solid); color: var(--label); box-shadow: var(--raised), inset 0 1px 0 var(--sheen); }

.demo-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
.demo-stage.drawing { cursor: crosshair; }
.demo-screen { position: absolute; left: 0; top: 0; width: 1536px; height: 864px; transform-origin: 0 0; overflow: hidden; background: #e9ebf2; }
.demo-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.demo-frame { position: absolute; border: 0; background: transparent; color-scheme: light; }
.demo-toast { position: absolute; left: 50%; top: 18px; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; background: rgba(30, 30, 32, 0.92); color: #fff; font: 600 13px var(--font); padding: 8px 14px; border-radius: 10px; transition: opacity .2s, transform .2s; z-index: 20; }
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-note { text-align: center; font-size: 13px; color: var(--label-3); }
.demo-version { color: var(--label-4); }
.demo-mobile { display: none; margin-top: 6px; text-align: center; font-size: 13px; color: var(--label-3); }
@media (hover: none) { .demo-mobile { display: block; } }
@media (max-width: 1080px) {
  .demo { grid-template-columns: 1fr; grid-template-areas: "stage" "panel" "notes"; }
  .cp { position: static; width: min(380px, 100%); margin: 0 auto; }
}
@media (max-width: 700px) {
  .demo-main { position: sticky; top: 60px; z-index: 5; padding: 8px 0; background: var(--bg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .cursor-halo { display: none; }
  .stack > img, .family, body { transition: none; }
}
