/* ==========================================================================
   Mon Budget Immo · page d'accueil · direction « logiciel » :
   surfaces nettes, halos de couleur, fenêtres d'application, panneaux sombres
   ========================================================================== */

:root {
  --color-canvas: #f6f5f1;
  --color-ink: #0b0b12;
  --color-white: #ffffff;
  --color-cloud: #efeee9;
  --color-ash: #e3e1da;
  --color-graphite: #4a4a52;
  --color-mist: #a3a3ad;
  --color-mint: #9bd8a9;
  --color-marigold: #fde99b;
  --color-periwinkle: #b8caf5;
  --color-sky: #9ed4ef;
  --color-papaya: #ff4500;
  --color-iris: #3e48cd;
  --color-iris-soft: #7c84f2;

  /* scoring, repris des documents de l'application */
  --grade-a: #3abf9a;
  --grade-b: #8cc63f;
  --grade-c: #ffd21f;
  --grade-d: #ec6a6a;

  --font-sans: 'Geist', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Lora', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-md: 10px;
  --radius-xl: 14px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-4xl: 32px;

  --hairline: rgba(11, 11, 18, 0.09);
  --shadow-xl: 0 50px 60px -30px rgba(11, 11, 18, 0.18), 0 24px 40px -12px rgba(11, 11, 18, 0.08), 0 2px 8px rgba(11, 11, 18, 0.05);
  --shadow-md: 0 12px 24px -8px rgba(11, 11, 18, 0.16), 0 2px 4px rgba(11, 11, 18, 0.06);
  --shadow-subtle: 0 1px 2px rgba(11, 11, 18, 0.06), 0 0 0 1px var(--hairline);

  --page-max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 128px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--color-iris); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 20px; border-radius: 9999px;
  background: var(--color-ink); color: var(--color-white); text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1000px; }

/* ---------- Typographie ---------- */
h1, h2 { font-weight: 500; text-wrap: balance; }
h1 em, h2 em, .band em, .intro em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.04em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--color-iris); }
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.eyebrow--light::before { background: var(--grade-b); }
/* masque des lignes animées (SplitText) : laisse respirer les jambages */
.line-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 72px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 9999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: box-shadow 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--ink { background: var(--color-ink); color: var(--color-white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--ink:hover { background: #1c1c2b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -8px rgba(62, 72, 205, 0.55); }
.btn--ghost { background: rgba(255, 255, 255, 0.6); border-color: var(--hairline); }
.btn--ghost:hover { background: var(--color-white); border-color: rgba(11, 11, 18, 0.3); }
.btn--white { background: var(--color-white); color: var(--color-ink); }
.btn--white:hover { box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.45); }
.btn--ghost-light { color: var(--color-white); border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
.btn__arrow { display: inline-block; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7); box-shadow: var(--shadow-subtle);
  font-size: 14px; font-weight: 500;
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-papaya); box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.16); }

/* ---------- Lettres de scoring ---------- */
.grade {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--color-ink);
}
.grade--a { background: var(--grade-a); } .grade--b { background: var(--grade-b); }
.grade--c { background: var(--grade-c); } .grade--d { background: var(--grade-d); }

/* ---------- Fenêtre d'application ---------- */
.window {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-xl);
}
.window--flat { box-shadow: 0 0 0 1px var(--hairline), var(--shadow-md); }
.window__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  height: 40px; padding-inline: 14px 6px;
  background: #f1f0ec; border-bottom: 1px solid var(--hairline);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(11, 11, 18, 0.14); }
.window__url {
  padding: 3px 14px; border-radius: 9999px; background: var(--color-white);
  font-family: var(--font-mono); font-size: 11px; color: var(--color-graphite); white-space: nowrap;
}
.window__toggle {
  justify-self: end; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none;
  display: grid; place-items: center;
}
.window__toggle:hover { background: rgba(11, 11, 18, 0.06); }
.window__toggle::before { content: ""; width: 9px; height: 10px; border-inline: 3px solid var(--color-graphite); }
.window__toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid var(--color-graphite); border-right: 0; }
.window__media { width: 100%; height: auto; background: var(--color-white); }

/* ---------- Halo au survol des cartes ---------- */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot, rgba(124, 132, 242, 0.16)), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
[data-spot]:hover::after { opacity: 1; }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { display: none; }
.has-intro.is-locked { overflow: hidden; }
.has-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150;
  background: var(--color-ink); color: var(--color-white);
}
.intro__words { display: grid; place-items: center; font-size: clamp(34px, 7vw, 72px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.2; white-space: nowrap; }
.intro__words span { grid-area: 1 / 1; clip-path: inset(0 0 100% 0); }
.intro__bar { position: absolute; left: 50%; bottom: 12svh; width: min(220px, 50vw); height: 2px; translate: -50% 0; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--color-iris-soft), var(--color-sky)); transform-origin: left; scale: 0 1; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 80; padding-inline: var(--gutter); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: 1180px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-radius: 9999px;
  box-shadow: var(--shadow-subtle), 0 12px 30px -18px rgba(11, 11, 18, 0.25);
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 2px; }
.nav__links a, .nav__login {
  padding: 9px 12px; border-radius: 9999px; text-decoration: none; font-size: 15px;
  transition: background-color 0.25s;
}
.nav__links a:hover, .nav__login:hover { background: rgba(11, 11, 18, 0.06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--color-cloud);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__burger span { width: 18px; height: 1.5px; background: var(--color-ink); }

.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0;
  padding: 24px var(--gutter) 32px;
  background: var(--color-canvas); color: var(--color-ink);
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: var(--color-canvas); }
.menu__head { display: flex; align-items: center; justify-content: space-between; }
.menu__head img { height: 22px; width: auto; }
.menu__close { min-height: 44px; padding: 10px 20px; border-radius: 9999px; border: 1px solid var(--color-ash); background: var(--color-white); }
.menu__links { display: flex; flex-direction: column; margin-block: auto; }
.menu__links a {
  font-size: 32px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.2;
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--hairline);
}
.menu__actions { display: grid; gap: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh; min-height: 680px;
  overflow: clip;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.aura { position: absolute; inset: -12%; will-change: transform; }
.aura--a {
  background:
    radial-gradient(38% 46% at 16% 26%, rgba(184, 202, 245, 0.95), transparent 70%),
    radial-gradient(40% 50% at 86% 18%, rgba(158, 212, 239, 0.9), transparent 70%);
}
.aura--b {
  background:
    radial-gradient(30% 36% at 74% 78%, rgba(155, 216, 169, 0.6), transparent 70%),
    radial-gradient(28% 36% at 22% 84%, rgba(253, 233, 155, 0.75), transparent 70%),
    radial-gradient(22% 26% at 50% 42%, rgba(124, 132, 242, 0.22), transparent 70%);
}
.hero__grid, .score__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(11, 11, 18, 0.055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(11, 11, 18, 0.055) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; background: linear-gradient(transparent, var(--color-canvas)); }

.hero__copy {
  position: relative; z-index: 2;
  max-width: 900px; margin-inline: auto; padding: clamp(104px, 15svh, 150px) var(--gutter) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title { margin-top: 24px; font-size: clamp(40px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -0.05em; }
.hero__lead { margin-top: 22px; max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); color: var(--color-graphite); text-wrap: pretty; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__stage {
  position: absolute; z-index: 1;
  top: max(72svh, 580px); left: 0; right: 0; margin-inline: auto;
  width: min(1080px, 86vw, calc(76svh * 1.66));
  will-change: transform;
}
.hero__stage-in { position: relative; }
.hero__tilt { transform-origin: 50% 0; }
.hero__glow {
  position: absolute; inset: 8% -4% -6%;
  background: linear-gradient(100deg, rgba(124, 132, 242, 0.55), rgba(158, 212, 239, 0.55) 50%, rgba(155, 216, 169, 0.5));
  filter: blur(60px); opacity: 0.8;
}
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-md);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.chip--1 { left: -10%; top: 60%; } .chip--1 .chip__n { background: var(--color-mint); }
.chip--2 { right: -8%; top: 24%; } .chip--2 .chip__n { background: var(--color-periwinkle); }
.chip--3 { right: 4%; bottom: -3%; } .chip--3 .chip__n { background: var(--color-marigold); }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-graphite);
  writing-mode: vertical-rl;
}
.hero__scroll span { width: 1px; height: 48px; background: var(--color-ink); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: drip 2.4s var(--ease-out) 3; }
}
@keyframes drip { 0% { scale: 1 0; } 60% { scale: 1 1; } 100% { scale: 1 1; opacity: 0.2; } }

/* ==========================================================================
   Manifeste
   ========================================================================== */
.statement { padding-block: var(--section); text-align: center; }
.statement__title { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
.statement__text {
  margin-top: 40px;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 400;
  text-wrap: pretty;
}

/* ---------- Bande défilante ---------- */
.band { position: relative; overflow: clip; border-block: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.5); }
.band__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  padding-block: 26px;
  font-size: clamp(26px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap;
  will-change: transform;
}
.band__track em { color: var(--color-iris); }
.band__track i { width: 10px; height: 10px; border-radius: 3px; background: var(--color-ink); rotate: 45deg; opacity: 0.2; }

/* ==========================================================================
   3 étapes
   ========================================================================== */
.steps { padding-block: var(--section); }
.steps__grid { display: grid; gap: 56px; }
.steps__title { font-size: clamp(30px, 3.4vw, 42px); }
.steps__lead { margin-top: 20px; font-size: 18px; color: var(--color-graphite); }
.steps__list { margin-top: 28px; display: grid; gap: 4px; position: relative; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
  padding: 18px; border-radius: var(--radius-2xl);
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), opacity 0.5s;
}
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(11, 11, 18, 0.16); font-family: var(--font-mono); font-size: 14px;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.step p { margin-top: 6px; color: var(--color-graphite); }
.steps__visual { position: relative; display: grid; gap: 32px; }
.shot { position: relative; }
.shot__frame {
  position: relative; overflow: hidden; aspect-ratio: 1794 / 1094;
  border-radius: var(--radius-2xl); background: var(--color-white);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-xl);
}
.shot__frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.shot__frame--doc { background: linear-gradient(140deg, #eef0fb, #f3f1ea); }
.shot__frame--doc > img { position: absolute; left: 6%; top: 8%; width: 62%; height: auto; border-radius: 6px; box-shadow: var(--shadow-md); }
.shot figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--color-graphite); }

.callout {
  position: absolute; right: 5%; bottom: 8%; width: min(46%, 280px);
  padding: 18px; border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-xl);
}
.callout__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-graphite); }
.callout__note { margin-top: 12px; font-size: 11px; color: var(--color-mist); }
.tiers { margin-top: 12px; display: grid; gap: 8px; }
.tiers li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.callout__score { margin-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.callout__score strong { font-size: 44px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.callout__score span { color: var(--color-graphite); }
.callout__score .grade { margin-left: auto; align-self: center; }
.callout__list { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.callout__list li { display: flex; align-items: center; gap: 8px; }
.callout__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grade-a); }
.callout__list li.is-none::before { background: var(--color-ash); }

@media (min-width: 960px) {
  .steps { padding-block: 0; min-height: 100svh; display: flex; align-items: center; }
  .steps__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; padding-block: 96px 48px; }
  .step { opacity: 0.42; }
  .step.is-active { opacity: 1; background: var(--color-white); box-shadow: 0 0 0 1px var(--hairline), var(--shadow-md); }
  .step.is-active .step__n { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-white); }
  .steps__visual { display: block; aspect-ratio: 1794 / 1250; }
  .shot { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }
  .shot__frame { width: 100%; }
  .shot figcaption { display: none; }
}

/* ==========================================================================
   Notation sur 100
   ========================================================================== */
.score { padding: 0 clamp(8px, 1.4vw, 20px); }
.score__panel {
  position: relative; overflow: clip; isolation: isolate;
  border-radius: var(--radius-4xl);
  background: var(--color-ink); color: var(--color-white);
  padding-block: clamp(72px, 9vw, 120px);
}
.score__bg, .final__bg { position: absolute; inset: 0; z-index: -1; }
.score__aura {
  position: absolute; inset: -10%;
  background:
    radial-gradient(36% 44% at 78% 30%, rgba(62, 72, 205, 0.6), transparent 70%),
    radial-gradient(30% 40% at 96% 80%, rgba(140, 198, 63, 0.16), transparent 70%),
    radial-gradient(30% 40% at 8% 90%, rgba(158, 212, 239, 0.16), transparent 70%);
}
.score__panel .score__grid, .final__card .score__grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 64px 64px;
}
.score__grid-layout { display: grid; gap: 56px; align-items: center; }
.score__lead { margin-top: 24px; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.72); text-wrap: pretty; }

.scale { margin-top: 36px; display: grid; gap: 6px; max-width: 420px; }
.scale__row {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid transparent;
}
.scale__row.is-current { color: var(--color-white); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); }
.scale__row.is-current::after { content: "Exemple ci-contre"; margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: rgba(255, 255, 255, 0.5); }

.score__visual { position: relative; display: grid; place-items: center; }
.score__doc {
  position: absolute; right: -4%; top: -6%; width: 62%; height: auto; border-radius: 8px;
  rotate: 6deg; opacity: 0.32;
}
.scorecard {
  width: min(100%, 460px); padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-3xl);
  background: rgba(24, 24, 36, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 50px 80px -30px rgba(0, 0, 0, 0.6);
  --spot: rgba(140, 198, 63, 0.1);
}
.scorecard__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.gauge { position: relative; width: min(240px, 70%); margin: 24px auto 0; aspect-ratio: 1; --num: clamp(64px, 8vw, 88px); }
.gauge svg { display: block; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.gauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge__track { stroke: rgba(255, 255, 255, 0.09); }
.gauge__value { stroke: var(--grade-b); stroke-dasharray: 100; stroke-dashoffset: 14; filter: drop-shadow(0 0 10px rgba(140, 198, 63, 0.55)); }
/* le chiffre seul est centré sur le cercle ; « sur 100 » est posé dessous sans le déplacer */
.gauge__num { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge__num strong {
  font-size: var(--num); font-weight: 500; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums;
  translate: -0.03em 0; /* compense l'approche négative après le dernier chiffre */
}
.gauge__num span {
  position: absolute; left: 0; right: 0; top: 50%; margin-top: calc(var(--num) * 0.5);
  text-align: center; font-family: var(--font-mono); font-size: 13px; line-height: 1; color: rgba(255, 255, 255, 0.55);
}
.scorecard__verdict { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 500; text-align: left; }
.points { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 20px; grid-template-columns: 1.3fr 1fr; font-size: 14px; }
.points__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.points__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.points__title--plus { color: var(--grade-a); } .points__title--warn { color: var(--grade-d); }
.points ul { margin-top: 12px; display: grid; gap: 6px; color: rgba(255, 255, 255, 0.78); }

@media (min-width: 960px) {
  .score__grid-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

/* ==========================================================================
   La solution (grille bento)
   ========================================================================== */
.solution { padding-block: var(--section); }
.bento { display: grid; gap: 16px; }
.card {
  padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-3xl);
  background: var(--color-white);
  box-shadow: 0 0 0 1px var(--hairline), 0 20px 40px -28px rgba(11, 11, 18, 0.2);
  overflow: hidden;
}
.card p { margin-top: 10px; color: var(--color-graphite); text-wrap: pretty; }
.card h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.035em; line-height: 1.15; }
.card__kicker { margin: 0 0 12px !important; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-iris) !important; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px; background: var(--tint); }
.card--mint { --tint: var(--color-mint); --spot: rgba(155, 216, 169, 0.35); }
.card--marigold { --tint: var(--color-marigold); --spot: rgba(253, 233, 155, 0.5); }
.card--video { display: grid; gap: 28px; background: linear-gradient(160deg, #fff 40%, #eef0fb); }
.card--video .card__copy { max-width: 460px; }
.card--video .window { margin-bottom: clamp(-36px, -2.6vw, -24px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.card--brand { display: grid; gap: 28px; align-items: center; --spot: color-mix(in srgb, var(--brand) 16%, transparent); }
.swatches { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px; }
.swatch { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; display: grid; place-items: center; }
.swatch::before { content: ""; width: 30px; height: 30px; border-radius: 9px; background: var(--c); transition: scale 0.3s var(--ease-out), box-shadow 0.3s; }
.swatch:hover::before { scale: 1.1; }
.swatch.is-on::before { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--c); }
.brand { position: relative; padding: 0 0 10% 21%; }
.brand__shot { border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--hairline), var(--shadow-md); }
.brand__preview {
  position: absolute; left: 0; bottom: 0; width: 26%; min-width: 124px;
  display: grid; gap: 6px; padding: 14px 12px 18px; border-radius: var(--radius-xl);
  background: var(--brand); color: var(--color-white);
  box-shadow: var(--shadow-xl);
  transition: background-color 0.5s var(--ease-out);
  font-size: 12px; font-weight: 500;
}
.brand__logo { display: grid; place-items: center; height: 44px; margin-bottom: 8px; border-radius: 6px; background: var(--color-white); color: var(--brand); font-family: var(--font-mono); font-size: 11px; transition: color 0.5s; }
.brand__item { padding: 6px 8px; border-radius: 6px; }
.brand__item.is-on { background: rgba(255, 255, 255, 0.16); }
.solution__cta { margin-top: clamp(40px, 5vw, 64px); text-align: center; }

@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .card--video { grid-column: span 7; grid-row: span 2; align-content: space-between; }
  .card--mint, .card--marigold { grid-column: span 5; }
  .card--brand { grid-column: span 12; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
}

/* ==========================================================================
   Application smartphone
   ========================================================================== */
.mobile { padding-block: 0 var(--section); overflow-x: clip; }
.mobile__grid { display: grid; gap: 56px; align-items: center; }
.mobile__visual { position: relative; display: grid; place-items: center; padding-block: 24px; }
.mobile__aura {
  position: absolute; inset: 4% 0;
  background:
    radial-gradient(36% 40% at 34% 36%, rgba(184, 202, 245, 0.95), transparent 70%),
    radial-gradient(34% 38% at 68% 62%, rgba(155, 216, 169, 0.6), transparent 70%),
    radial-gradient(26% 30% at 66% 26%, rgba(253, 233, 155, 0.7), transparent 70%);
}
.phone {
  position: relative; width: min(300px, 72vw);
  padding: 4px; border-radius: 56px;
  background: linear-gradient(135deg, #8d8d98 0%, #2b2b33 18%, #0b0b12 50%, #2b2b33 82%, #7d7d88 100%);
  box-shadow: 0 60px 80px -30px rgba(11, 11, 18, 0.5), 0 30px 40px -20px rgba(62, 72, 205, 0.35);
}
/* boutons latéraux */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b2b33; }
.phone::before { left: -3px; top: 21%; height: 6%; box-shadow: 0 54px 0 #2b2b33, 0 100px 0 #2b2b33; }
.phone::after { right: -3px; top: 29%; height: 12%; }
.phone__bezel { padding: 9px; border-radius: 52px; background: #000; }
.phone__screen { position: relative; overflow: hidden; border-radius: 43px; background: #000; }
.phone__status {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 4px 26px 0 30px;
  background: #000; color: var(--color-white);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}
.phone__status::before { content: ""; position: absolute; left: 50%; top: 11px; width: 30%; height: 24px; translate: -50% 0; border-radius: 14px; background: #16161d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.phone__status svg { display: block; }
/* la barre d'état de l'enregistrement (indicateur rouge) est rognée et remplacée par celle du dessus */
.phone__video { position: relative; overflow: hidden; aspect-ratio: 592 / 1197; background: var(--color-white); }
.phone__media { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.phone__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 28%); }
.phone__home { position: absolute; left: 50%; bottom: 7px; width: 36%; height: 4px; translate: -50% 0; border-radius: 4px; background: rgba(11, 11, 18, 0.85); z-index: 1; }
.phone__toggle {
  position: absolute; right: -56px; bottom: 28px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-white); box-shadow: var(--shadow-subtle);
}
.phone__toggle:hover { background: var(--color-cloud); }
.mobile__badge {
  position: absolute; right: 50%; top: 13%; translate: -164px 0;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px var(--hairline), var(--shadow-md);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.mobile__badge span { width: 28px; height: 28px; border-radius: 8px; background: conic-gradient(from 200deg, var(--grade-d), var(--grade-c), var(--grade-b), var(--grade-a)); }
.mobile__lead { margin-top: 24px; max-width: 520px; font-size: 18px; color: var(--color-graphite); text-wrap: pretty; }
.platforms { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.platforms li {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px 10px 14px; border-radius: var(--radius-xl);
  background: var(--color-white); box-shadow: var(--shadow-subtle); font-weight: 500;
}
@media (min-width: 960px) {
  .mobile__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}
@media (max-width: 767px) {
  .mobile__badge { right: auto; left: 50%; translate: -50% 0; top: 0; }
  .phone__toggle { right: 8px; bottom: -52px; }
  .mobile__visual { padding-block: 64px; }
}

/* ==========================================================================
   Tarifs
   ========================================================================== */
.pricing { padding-block: var(--section); }
.toggle {
  position: relative; display: inline-flex; margin-top: 32px; padding: 6px;
  border-radius: 9999px; background: var(--color-white); box-shadow: var(--shadow-subtle);
}
.toggle__btn {
  position: relative; z-index: 1; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 9999px; background: none;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s;
}
.toggle__btn.is-on { color: var(--color-white); }
.toggle__badge { padding: 2px 8px; border-radius: 9999px; background: var(--color-marigold); color: var(--color-ink); font-size: 12px; }
.toggle__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 100px; border-radius: 9999px; background: var(--color-ink); transition: translate 0.5s var(--ease-out), width 0.5s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .toggle__pill { transition: none; } }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-width: 1080px; margin-inline: auto; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius-3xl);
  background: var(--color-white);
  box-shadow: 0 0 0 1px var(--hairline), 0 20px 40px -28px rgba(11, 11, 18, 0.2);
  overflow: hidden;
  transition: translate 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tint); }
.plan:hover { translate: 0 -6px; box-shadow: 0 0 0 1px var(--hairline), var(--shadow-xl); }
.plan--mint { --tint: var(--color-mint); --spot: rgba(155, 216, 169, 0.3); }
.plan--marigold { --tint: var(--color-marigold); --spot: rgba(253, 233, 155, 0.45); }
.plan--periwinkle { --tint: var(--color-periwinkle); --spot: rgba(184, 202, 245, 0.4); }
.plan h3 { font-size: 22px; letter-spacing: -0.03em; }
.plan__price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.plan__amount { font-size: 68px; font-weight: 500; line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.plan__unit { font-family: var(--font-mono); font-size: 12px; color: var(--color-graphite); }
.plan__was { margin-top: 6px; font-size: 14px; color: var(--color-graphite); text-decoration: line-through; }
.plan ul { margin-block: 28px 32px; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--color-ash); flex: 1; align-content: start; }
.plan li { display: flex; gap: 12px; align-items: center; }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b0b12' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px;
}
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan:hover { translate: none; } }

/* ==========================================================================
   Témoignages
   ========================================================================== */
.voices { padding-block: var(--section); }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 32px; border-radius: var(--radius-3xl);
  background: var(--color-white);
  box-shadow: 0 0 0 1px var(--hairline), 0 20px 40px -28px rgba(11, 11, 18, 0.2);
  overflow: hidden;
}
.quote blockquote { font-size: 21px; line-height: 1.35; letter-spacing: -0.025em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-mono); font-size: 12px; }
.avatar--mint { background: var(--color-mint); } .avatar--marigold { background: var(--color-marigold); } .avatar--periwinkle { background: var(--color-periwinkle); }

/* ==========================================================================
   CTA final
   ========================================================================== */
.final { padding: 0 0 var(--section); }
.final__card {
  position: relative; overflow: clip; isolation: isolate;
  min-height: min(680px, 86svh); display: grid; place-items: center;
  padding: 96px var(--gutter);
  background: var(--color-ink); color: var(--color-white);
  clip-path: inset(0 clamp(8px, 1.4vw, 20px) round var(--radius-4xl));
}
.final__aura {
  position: absolute; inset: -20%;
  background:
    radial-gradient(34% 40% at 24% 30%, rgba(62, 72, 205, 0.7), transparent 70%),
    radial-gradient(30% 40% at 78% 70%, rgba(158, 212, 239, 0.32), transparent 70%),
    radial-gradient(24% 30% at 70% 16%, rgba(155, 216, 169, 0.2), transparent 70%);
}
.final__copy { text-align: center; max-width: 820px; }
.final__copy h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { padding-bottom: 40px; font-size: 14px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
.footer__logo { height: 24px; width: auto; margin-bottom: 16px; }
.footer p { color: var(--color-graphite); }
.footer nav { display: grid; gap: 4px; align-content: start; justify-items: start; }
.footer a { text-decoration: none; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.footer a:hover { background-size: 100% 1px; }
.footer__base { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--color-graphite); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1099px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 767px) {
  .nav__bar { padding-left: 20px; }
  .nav__logo img { height: 18px; }
  .nav__actions .btn { display: none; }

  .hero { height: auto; min-height: 0; padding-bottom: 72px; }
  .hero__copy { padding-top: 120px; }
  .hero__tag { font-size: 12px; padding: 7px 12px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stage { position: relative; top: auto; width: 92vw; margin: 56px auto 0; }
  .hero__scroll { display: none; }
  .window__bar { height: 32px; }
  .window__url { font-size: 10px; }
  .chip { font-size: 12px; padding: 5px 12px 5px 5px; gap: 8px; }
  .chip__n { width: 22px; height: 22px; font-size: 10px; }
  .chip--1 { left: -2%; top: -9%; } .chip--2 { right: -2%; top: 30%; } .chip--3 { right: auto; left: 4%; bottom: -8%; }

  .shot__frame--doc { aspect-ratio: 1 / 1.05; }
  .shot__frame--doc > img { width: 84%; left: 5%; top: 5%; }
  .callout { width: 62%; right: 4%; bottom: 5%; padding: 14px; }
  .points { grid-template-columns: 1fr; }
  .score__doc { display: none; }
  .scale__row.is-current::after { content: "Exemple"; }
  .brand { padding: 0; display: flex; flex-direction: column-reverse; gap: 12px; }
  .brand__preview { position: static; width: 100%; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; padding: 10px; box-shadow: var(--shadow-md); }
  .brand__logo { margin: 0; height: 36px; }
  .brand__item { text-align: center; }
  .brand__item:nth-child(n + 4) { display: none; }
}
