/* phar. — design system v3
   Bleu nuit · blanc chaud · jaune phar. Aucune dépendance externe. */

/* ---------------------------------------------------------------- Fontes */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Bleu nuit */
  --night: #050a18;
  --night-800: #081022;
  --night-700: #0d1730;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-line-strong: rgba(255, 255, 255, 0.16);
  /* Blanc chaud */
  --paper: #faf8f2;
  --paper-2: #f1eee6;
  --white: #fff;
  /* Encre et gris */
  --ink: #0b1120;
  --muted: #59606f;
  --muted-dark: #98a1b6;
  --line: rgba(11, 17, 32, 0.1);
  --line-strong: rgba(11, 17, 32, 0.2);
  /* Jaune phar — propriétaire. Attire l'attention, jamais décoratif. */
  --yellow: #ffc933;
  --yellow-bright: #ffd45c;
  --yellow-ink: #3d2e00;
  --yellow-tint: rgba(255, 201, 51, 0.13);
  --yellow-glow: rgba(255, 201, 51, 0.38);
  /* Sémantique */
  --positive: #2f9e68;
  --positive-dark: #8ce0b0;
  --alert: #d9604b;
  --alert-dark: #ff9d8b;
  --star: #ffb02e;
  /* Géométrie */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1216px;
  --page-x: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(96px, 11vw, 180px);
  --header-h: 72px;
  /* Mouvement */
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.25, 0.6, 0.25, 1);
  /* Typographie */
  --font-sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, ui-serif, serif;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv05", "cv11";
}
body.menu-open, body.modal-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol { margin-top: 0; }
ul, ol { padding-left: 0; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }

/* Focus clavier visible sur les éléments interactifs non couverts par .button */
.desktop-nav a:focus-visible,
.mobile-menu a:focus-visible,
.site-footer__column a:focus-visible,
.footer-preferences:focus-visible,
.faq-list summary:focus-visible,
.text-link:focus-visible,
.lead-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--yellow-glow);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 14px;
  left: 14px;
  transform: translateY(-180%);
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--paper);
  background: var(--night);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - (2 * var(--page-x))), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--night { color: var(--paper); background: var(--night); }

.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

/* ---------------------------------------------------------------- Typo */
h1, h2, h3 { margin-bottom: 0; font-weight: 620; letter-spacing: -0.042em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.9rem); }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.85rem); }
h3 { font-size: clamp(1.22rem, 1.7vw, 1.5rem); letter-spacing: -0.022em; line-height: 1.18; }

/* Accent éditorial — un mot, jamais une phrase */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 .serif, h2 .serif { font-size: 1.04em; }

/* Le point phar : la ponctuation porte la marque */
.dot-y { color: var(--yellow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--yellow); }
.section--night .eyebrow, .eyebrow--dark { color: var(--muted-dark); }
.eyebrow--brand { gap: 0; color: var(--paper); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.05em; text-transform: none; }
.eyebrow--brand::before { display: none; }

.section-heading { max-width: 880px; margin-bottom: clamp(56px, 7vw, 104px); }
.section-heading > p {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.19rem);
  line-height: 1.65;
}
.section--night .section-heading > p { color: var(--muted-dark); }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center > p { margin-inline: auto; }
.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  max-width: none;
}
.section-heading--split > p { margin: 0 0 10px; }

.lead-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lead-link .icon { transition: transform 0.25s var(--ease); }
.lead-link:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- Boutons */
.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(0.99); }
.button:disabled { cursor: wait; opacity: 0.6; transform: none; }
.button:focus-visible { outline: 3px solid var(--yellow-glow); outline-offset: 3px; }
.button .icon { transition: transform 0.25s var(--ease); }
.button:hover .icon { transform: translate(2px, -1px); }

/* Primaire — le seul bouton jaune. Il désigne l'action. */
.button--primary { color: var(--ink); background: var(--yellow); }
.button--primary:hover { background: var(--yellow-bright); box-shadow: 0 8px 28px rgba(255, 201, 51, 0.28); }
.button--dark { color: var(--paper); background: var(--night); }
.button--dark:hover { background: var(--night-700); }
.button--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.button--ghost:hover { background: var(--white); border-color: var(--ink); }
.button--ghost-dark { border-color: var(--night-line-strong); color: var(--paper); background: rgba(255, 255, 255, 0.02); }
.button--ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }
.button--compact { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; border-radius: 10px; }
.button--large { min-height: 60px; padding-inline: 32px; font-size: 1.02rem; border-radius: 14px; }
.button--full { width: 100%; }
.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 0.82rem; }
.section--night .cta-note { color: var(--muted-dark); }

.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11, 17, 32, 0.25); text-underline-offset: 5px; transition: text-decoration-color 0.2s ease; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--paper); text-decoration-color: rgba(255, 255, 255, 0.3); }

/* ---------------------------------------------------------------- Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled { background: rgba(250, 248, 242, 0.86); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); }
.site-header--on-night.is-scrolled { background: rgba(5, 10, 24, 0.72); border-bottom-color: var(--night-line); }

.brand { display: inline-flex; align-items: baseline; gap: 2px; }
.brand__word { color: var(--ink); font-size: 1.62rem; font-weight: 650; letter-spacing: -0.055em; line-height: 1; }
.brand__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); transform: translateY(-1px); }
.site-header--on-night .brand__word, .brand--light .brand__word { color: var(--paper); }

.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.desktop-nav a { position: relative; color: var(--muted); font-size: 0.9rem; font-weight: 550; transition: color 0.2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.site-header--on-night .desktop-nav a { color: var(--muted-dark); }
.site-header--on-night .desktop-nav a:hover, .site-header--on-night .desktop-nav a:focus-visible { color: var(--paper); }

.menu-button { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); background: transparent; cursor: pointer; }
.site-header--on-night .menu-button { border-color: var(--night-line-strong); color: var(--paper); }
.menu-button__close { display: none; }
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

.mobile-menu { position: fixed; z-index: 999; inset: 0; padding: 110px 24px 32px; background: var(--night); color: var(--paper); }
.mobile-menu nav { display: flex; height: 100%; flex-direction: column; justify-content: center; gap: 2px; }
.mobile-menu nav > a:not(.button) { padding: 13px 0; color: var(--paper); font-size: clamp(2rem, 8.5vw, 3.6rem); font-weight: 570; letter-spacing: -0.045em; line-height: 1; }
.mobile-menu nav > a:not(.button):hover { color: var(--yellow); }
.mobile-menu .button { margin-top: 34px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(48px, 9vh, 110px));
  padding-bottom: clamp(72px, 9vh, 120px);
  color: var(--paper);
  background: var(--night);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 10, 24, 0.42), rgba(5, 10, 24, 0.05) 34%, rgba(5, 10, 24, 0.1) 62%, rgba(5, 10, 24, 0.66));
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__eyebrow { justify-content: center; margin-bottom: 22px; color: rgba(250, 248, 242, 0.62); font-size: 0.76rem; letter-spacing: 0.15em; }
.js .hero__eyebrow { opacity: 0; transform: translateY(14px); }
.js .hero.is-ready .hero__eyebrow { opacity: 1; transform: none; transition: opacity 0.8s ease 0.08s, transform 0.8s var(--ease) 0.08s; }
.hero h1 { display: flex; flex-direction: column; gap: 0.06em; max-width: 1120px; font-size: clamp(2.5rem, 5.2vw, 4.9rem); }
/* padding interne : laisse respirer les jambages (g, p) et accents sans les
   rogner malgré overflow:hidden ; compensé par la marge négative. */
.hero__line { display: block; overflow: hidden; padding-block: 0.12em; margin-block: -0.12em; }
.hero__line > span { display: block; }
.js .hero__line > span { opacity: 0; transform: translateY(120%); }
.js .hero.is-ready .hero__line > span { opacity: 1; transform: translateY(0); transition: transform 1.05s var(--ease), opacity 0.7s ease; }
.js .hero.is-ready .hero__line--2 > span { transition-delay: 0.14s; }
.js .hero.is-ready .hero__line--3 > span { transition-delay: 0.28s; }
.hero__lead {
  max-width: 660px;
  margin: 34px auto 0;
  color: rgba(250, 248, 242, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.js .hero__lead, .js .hero__actions, .js .hero__meta { opacity: 0; transform: translateY(18px); }
.js .hero.is-ready .hero__lead, .js .hero.is-ready .hero__actions, .js .hero.is-ready .hero__meta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease 0.5s, transform 0.9s var(--ease) 0.5s;
}
.js .hero.is-ready .hero__actions { transition-delay: 0.62s; }
.js .hero.is-ready .hero__meta { transition-delay: 0.78s; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 46px 0 0; list-style: none; color: rgba(250, 248, 242, 0.55); font-size: 0.84rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 0.95em; height: 0.95em; color: var(--yellow); }

/* ---------------------------------------------------------------- Halo */
.halo-intro { max-width: 900px; margin-inline: auto; text-align: center; }
.halo-intro > p { max-width: 660px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.19rem); line-height: 1.65; }

.halo-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: clamp(56px, 7vw, 96px) 0 0; list-style: none; counter-reset: halo; }
.halo-flow::before {
  position: absolute;
  top: 11px;
  right: calc(12.5% - 8px);
  left: calc(12.5% - 8px);
  height: 1px;
  content: "";
  background: var(--line-strong);
}
.halo-flow::after {
  position: absolute;
  top: 8px;
  left: calc(12.5% - 8px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
  box-shadow: 0 0 12px 2px var(--yellow-glow);
  opacity: 0;
}
.halo-flow.is-live::after { animation: haloPulse 4.6s var(--ease-soft) infinite; }
@keyframes haloPulse {
  0% { opacity: 0; transform: translateX(0); }
  6% { opacity: 1; }
  86% { opacity: 1; }
  92%, 100% { opacity: 0; transform: translateX(var(--halo-track, 880px)); }
}
.halo-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.halo-flow li::before {
  z-index: 1;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "";
  background: var(--paper);
  box-shadow: 0 0 0 6px var(--paper);
  transition: border-color 0.4s ease, background 0.4s ease;
}
.halo-flow li:last-child::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px var(--paper), 0 0 18px 2px var(--yellow-glow); }
/* chaque étape dans une petite boîte, texte centré */
.halo-flow li { height: 100%; }
.halo-flow li > div { display: flex; width: 100%; flex: 1; min-height: 150px; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); text-align: center; }
.halo-flow li:last-child > div { border-color: var(--yellow); background: #fffdf4; }
.halo-flow li strong { display: block; font-size: clamp(1.02rem, 1.4vw, 1.22rem); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.halo-flow li small { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.js .halo-flow li { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .halo-flow.is-live li { opacity: 1; transform: none; }
.js .halo-flow.is-live li:nth-child(2) { transition-delay: 0.12s; }
.js .halo-flow.is-live li:nth-child(3) { transition-delay: 0.24s; }
.js .halo-flow.is-live li:nth-child(4) { transition-delay: 0.36s; }

.halo-outcomes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.halo-outcomes span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-size: 0.87rem; font-weight: 560; }
.halo-outcomes .icon { width: 0.95em; height: 0.95em; color: var(--positive); }


/* ---------------------------------------------------------------- Produit */
.product-layout { display: grid; grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
.product-copy h2 { max-width: 560px; }
.product-copy > p { max-width: 520px; margin: 26px 0 0; color: var(--muted-dark); font-size: 1.05rem; line-height: 1.65; }
.product-points { display: grid; gap: 0; margin: 40px 0 0; list-style: none; }
.product-points li { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--night-line); }
.product-points li:last-child { border-bottom: 1px solid var(--night-line); }
.product-points strong { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; font-weight: 620; letter-spacing: -0.015em; }
.product-points strong::before { width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--yellow); }
.product-points span { color: var(--muted-dark); font-size: 0.9rem; line-height: 1.55; }
.product-cta { margin-top: 36px; }

/* Dashboard illustratif */
.dash {
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--night-800);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.5);
}
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--night-line); }
.dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash__bar span { margin-inline: auto; padding: 5px 14px; border-radius: 999px; color: var(--muted-dark); background: rgba(255, 255, 255, 0.05); font-size: 0.7rem; letter-spacing: 0.02em; }
.dash__bar small { color: rgba(255, 255, 255, 0.32); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dash__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.dash__nav { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-right: 1px solid var(--night-line); }
.dash__nav span { padding: 9px 12px; border-radius: 9px; color: var(--muted-dark); font-size: 0.78rem; font-weight: 550; }
.dash__nav span.is-active { color: var(--paper); background: rgba(255, 255, 255, 0.07); }
.dash__nav b { margin: 14px 12px 6px; color: rgba(255, 255, 255, 0.3); font-size: 0.6rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.dash__main { display: grid; gap: 14px; padding: 20px; }
.dash__kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dash__kpi { padding: 14px 12px; border: 1px solid var(--night-line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.dash__kpi small { display: block; min-height: 2.5em; color: var(--muted-dark); font-size: 0.66rem; line-height: 1.25; }
.dash__kpi strong { display: block; margin-top: 8px; font-size: 1.2rem; font-weight: 640; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash__kpi em { display: inline-block; margin-top: 6px; color: var(--positive-dark); font-size: 0.68rem; font-style: normal; font-weight: 600; }
.dash__kpi em.is-flat { color: var(--muted-dark); }
.dash__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; }
.dash__panel { padding: 16px; border: 1px solid var(--night-line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.dash__panel > small { display: block; margin-bottom: 12px; color: var(--muted-dark); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.dash__chart { color: var(--yellow); }
.dash__chart svg { width: 100%; height: 128px; }
.dash__chart .grid-line { stroke: rgba(255, 255, 255, 0.07); }
.dash__feed { display: grid; gap: 0; margin: 0; list-style: none; }
.dash__feed li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--night-line); color: #d8dde9; font-size: 0.78rem; line-height: 1.45; }
.dash__feed li:first-child { border-top: 0; }
.dash__feed li::before { margin-top: 5px; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; content: ""; background: var(--yellow); }
.dash__feed li.is-positive::before { background: var(--positive-dark); }
.dash__feed li.is-alert::before { background: var(--alert-dark); }
.dash__feed time { margin-left: auto; padding-left: 10px; color: rgba(255, 255, 255, 0.32); font-size: 0.66rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.js .dash__feed li.is-entering { animation: feedIn 0.6s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(8px); } }

/* -------------------------------------------------- Transformation
   Comparateur avant / après (concept, images et narration validés) :
   halo révélateur au curseur sur desktop, révélation au scroll sur mobile. */
.transformation { background: var(--paper); }
.transformation .section-heading h2 { font-size: clamp(2rem, 3.9vw, 3.6rem); }
.store-wrap { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.reveal-scene {
  --hx: 50%; --hy: 46%; --hr: 280px;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--night);
  box-shadow: 0 40px 120px rgba(5, 10, 24, 0.28);
  user-select: none;
}
@media (max-width: 860px) { .reveal-scene { aspect-ratio: 4 / 5; } }
.reveal-scene picture { display: contents; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* La couche « après » n'apparaît que dans le halo. */
.scene__apres {
  -webkit-mask-image: radial-gradient(circle var(--hr) at var(--hx) var(--hy), #000 60%, transparent 100%);
  mask-image: radial-gradient(circle var(--hr) at var(--hx) var(--hy), #000 60%, transparent 100%);
}
/* Anneau de lumière tangible — le jaune phar. */
.scene__halo {
  position: absolute; left: var(--hx); top: var(--hy);
  width: calc(var(--hr) * 2); height: calc(var(--hr) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 4;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 201, 51, 0.10) 40%, rgba(255, 201, 51, 0.18) 58%, transparent 70%);
  box-shadow: 0 0 90px 24px rgba(255, 201, 51, 0.16);
  transition: opacity 0.35s;
}
.reveal-scene[data-state="apres"] .scene__halo { opacity: 0; }

.scene__badges { position: absolute; inset: 0; z-index: 6; }
.badge {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px 8px 9px;
  border-radius: 12px;
  border: 1px solid var(--night-line-strong);
  background: rgba(6, 12, 30, 0.82);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  box-shadow: 0 12px 34px rgba(2, 6, 18, 0.5);
  color: var(--paper);
  font-family: var(--font-sans); font-size: clamp(0.72rem, 1vw, 0.84rem); font-weight: 550;
  white-space: nowrap; cursor: pointer; text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.badge:hover { border-color: var(--yellow-glow); }
.badge:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.badge.is-after { border-color: rgba(140, 224, 176, 0.4); }
.badge__ico { width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--muted-dark); }
.badge__ico svg { width: 15px; height: 15px; }
.badge__val { display: grid; }
.badge__val > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; transition: opacity 0.3s; }
.badge__val .lbl { color: var(--muted-dark); font-weight: 500; }
.badge .v-after { opacity: 0; }
.badge.is-after .v-before { opacity: 0; }
.badge.is-after .v-after { opacity: 1; }
.badge b { font-weight: 750; font-size: 1.08em; letter-spacing: -0.01em; }
.badge .num-bad { color: var(--alert-dark); }
.badge .num-good { color: var(--positive-dark); }
.badge__more { margin-left: 1px; color: rgba(250, 248, 242, 0.4); font-size: 0.95em; flex: 0 0 auto; }
.badge--goog   { left: 15%; top: 24%; }
.badge--trust  { left: 13%; top: 55%; }
.badge--visib  { left: 25%; top: 82%; }
.badge--recent { left: 85%; top: 24%; }
.badge--vol    { left: 87%; top: 43%; }
@media (max-width: 860px) {
  .badge { font-size: 0.72rem; padding: 6px 9px 6px 7px; gap: 7px; }
  .badge__ico { width: 20px; height: 20px; }
  .badge--goog   { left: 29%; top: 27%; }
  .badge--recent { left: 72%; top: 27%; }
  .badge--trust  { left: 27%; top: 45%; }
  .badge--vol    { left: 74%; top: 36%; }
  .badge--visib  { left: 50%; top: 91%; }
}

/* Popover statistique */
.stat-pop {
  position: absolute; z-index: 14; width: 258px;
  padding: 16px 18px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--yellow-glow);
  background: linear-gradient(180deg, #0d1730, #081022);
  box-shadow: 0 26px 64px rgba(2, 6, 18, 0.6);
  transform: translate(-50%, -100%);
}
.stat-pop.below { transform: translate(-50%, 0); }
.stat-pop[hidden] { display: none; }
.stat-pop__fig { font-size: 1.7rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--yellow); }
.stat-pop__txt { margin-top: 9px; font-size: 0.9rem; line-height: 1.45; color: rgba(250, 248, 242, 0.9); white-space: normal; }
.stat-pop__src { margin-top: 11px; font-size: 0.72rem; color: var(--muted-dark); white-space: normal; }
.stat-pop__close { position: absolute; top: 7px; right: 9px; background: none; border: 0; color: var(--muted-dark); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 2px; }
.stat-pop__close:hover { color: var(--paper); }
.stat-pop__close:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.stat-pop::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 13px; height: 13px; transform: translateX(-50%) rotate(45deg); background: #081022; border-right: 1px solid var(--yellow-glow); border-bottom: 1px solid var(--yellow-glow); }
.stat-pop.below::after { bottom: auto; top: -7px; border-right: 0; border-bottom: 0; border-left: 1px solid var(--yellow-glow); border-top: 1px solid var(--yellow-glow); }

/* Bascule segmentée avant / après */
.scene__seg {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 8;
  display: inline-flex; padding: 4px; gap: 3px; border-radius: 999px;
  background: rgba(6, 12, 30, 0.82);
  border: 1px solid var(--night-line-strong);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.seg {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 650;
  padding: 8px 15px; border-radius: 999px;
  color: var(--muted-dark); background: transparent;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.seg:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.seg[aria-pressed="true"] { color: var(--night); background: var(--yellow); }

.scene__hint { margin-top: 16px; text-align: center; color: var(--muted); font-size: 0.86rem; }
.scene__hint b { color: var(--ink); font-weight: 600; }

/* Mobile & tablette : pas de halo — le « après » se révèle au scroll (fondu). */
.reveal-scene.scroll-mode .scene__apres { -webkit-mask-image: none; mask-image: none; opacity: var(--prog, 0); }
.reveal-scene.scroll-mode .scene__halo { display: none; }

/* Sans JS / mouvement réduit : on montre le potentiel (après), badges bénéfices. */
.no-js .scene__apres, .reduced .scene__apres { -webkit-mask-image: none; mask-image: none; opacity: 1; }
.no-js .scene__halo, .reduced .scene__halo { display: none; }
.no-js .badge .v-before, .reduced .badge .v-before { opacity: 0; }
.no-js .badge .v-after, .reduced .badge .v-after { opacity: 1; }
.no-js .scene__hint, .reduced .scene__hint { visibility: hidden; }

/* ---------------------------------------------------------------- Secteurs */
.sectors { overflow: hidden; padding-block: clamp(88px, 10vw, 150px); border-block: 1px solid var(--line); background: var(--paper-2); }
.sectors .section-heading { margin-bottom: clamp(44px, 5vw, 72px); }
/* Cartes secteur recto-verso (flip 3D) */
.flip-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.flip-card {
  display: block; width: 100%; min-height: 258px; padding: 0;
  border: 0; background: transparent; cursor: pointer; font: inherit; text-align: left;
  perspective: 1100px; -webkit-tap-highlight-color: transparent;
}
.flip-card:focus-visible { outline: 3px solid var(--yellow-glow); outline-offset: 4px; border-radius: calc(var(--radius-md) + 4px); }
.flip-card__inner {
  position: relative; display: block; width: 100%; min-height: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; height: 100%;
  padding: 22px 20px; overflow: hidden;
  border: 1px solid var(--night-line); border-radius: var(--radius-md);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-card__front { background: radial-gradient(130% 110% at 28% 18%, #16233f, #070d1e 74%); }
.flip-card__front::after { position: absolute; inset: 0; content: ""; background: radial-gradient(56% 46% at 74% 92%, rgba(255, 201, 51, 0.16), transparent 70%); }
.flip-card__back { justify-content: center; background: var(--night); transform: rotateY(180deg); }
.flip-card__scene { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: rgba(255, 255, 255, 0.06); color: var(--paper); }
.flip-card__scene .icon { width: 25px; height: 25px; }
.flip-card__id { position: relative; margin-top: auto; }
.flip-card__id strong { display: block; color: var(--paper); font-size: 1.05rem; font-weight: 620; letter-spacing: -0.015em; }
.flip-card__id small { display: block; margin-top: 3px; color: var(--muted-dark); font-size: 0.85rem; }
.flip-card__hint { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: rgba(250, 248, 242, 0.62); font-size: 0.76rem; font-weight: 600; }
.flip-card__hint::before { width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--yellow); }
.flip-card__stat { color: var(--yellow); font-size: clamp(2.5rem, 3.6vw, 3.2rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1; }
.flip-card__desc { margin-top: 12px; color: rgba(250, 248, 242, 0.9); font-size: 0.9rem; line-height: 1.45; }
.flip-card__src { margin-top: 12px; color: var(--muted-dark); font-size: 0.72rem; line-height: 1.4; }
.flip-card__hint--back { margin-top: auto; }

.flip-sources { max-width: 720px; margin: clamp(36px, 4vw, 56px) auto 0; text-align: center; }
.flip-sources__label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.flip-sources ul { display: grid; gap: 8px; margin: 0; list-style: none; }
.flip-sources li { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.flip-sources strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------- Méthode (les prochaines étapes) */
.method-title { margin: clamp(52px, 6vw, 88px) 0 22px; text-align: center; font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 640; letter-spacing: -0.025em; }
.method-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(56px, 7vw, 96px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.method-strip > div { position: relative; padding: 26px 24px 28px; border-right: 1px solid var(--line); transition: background 0.3s ease; }
.method-strip > div:last-child { border-right: 0; }
.method-strip > div:hover { background: var(--paper); }
.method-strip__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--yellow-ink); background: var(--yellow-tint); }
.method-strip__ico .icon { width: 20px; height: 20px; }
.method-strip__num { position: absolute; top: 22px; right: 24px; color: var(--muted); font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; }
.method-strip strong { display: block; margin-top: 18px; font-size: 1rem; font-weight: 620; letter-spacing: -0.015em; }
.method-strip p { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

/* ---------------------------------------------------------------- Tarifs */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease; }
.pricing-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 26px 60px rgba(11, 17, 32, 0.1); }
.pricing-card:hover .pricing-card__badge { transform: translateY(-1px) scale(1.04); }
.pricing-card__badge { transition: transform 0.35s var(--ease); }
.pricing-card .feature-list .icon { transition: transform 0.35s var(--ease); }
.pricing-card:hover .feature-list .icon { transform: scale(1.15); }
.pricing-card--featured { position: relative; color: var(--paper); background: var(--night); border-color: var(--night); }
.pricing-card--featured:hover { border-color: var(--yellow); box-shadow: 0 30px 70px rgba(5, 10, 24, 0.42); }
.pricing-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.pricing-card__name { font-size: 1.12rem; font-weight: 640; letter-spacing: -0.02em; }
.pricing-card__badge { padding: 6px 11px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__audience { min-height: 44px; margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.pricing-card--featured .pricing-card__audience { color: var(--muted-dark); }
.pricing-card__price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; }
.pricing-card__price strong { font-size: clamp(2.3rem, 3vw, 2.9rem); font-weight: 640; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pricing-card__price span { color: var(--muted); font-size: 0.9rem; }
.pricing-card--featured .pricing-card__price span { color: var(--muted-dark); }
.pricing-card__hint { margin: 0 0 26px; color: var(--muted); font-size: 0.78rem; }
.pricing-card--featured .pricing-card__hint { color: var(--muted-dark); }
.pricing-card .feature-list { margin-bottom: 34px; }
.feature-list { display: grid; gap: 12px; margin: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.5; }
.feature-list .icon { margin-top: 0.18em; width: 0.95em; height: 0.95em; color: var(--positive); }
.pricing-card--featured .feature-list .icon { color: var(--yellow); }
.pricing-card .button { margin-top: auto; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 0.88rem; text-align: center; }
.pricing-note .icon { width: 1em; height: 1em; color: var(--positive); }

/* ---------------------------------------------------------------- FAQ */
#tarifs { padding-bottom: clamp(32px, 3.4vw, 52px); }
#faq { padding-top: clamp(8px, 1.4vw, 20px); }
.faq-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro p { max-width: 360px; margin: 26px 0 30px; color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(1.02rem, 1.5vw, 1.28rem); font-weight: 580; letter-spacing: -0.018em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--muted); transition: transform 0.3s var(--ease), color 0.2s ease; }
.faq-list summary:hover .icon { color: var(--ink); }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--ink); }
.faq-list details p { max-width: 700px; margin: -6px 0 30px; color: var(--muted); line-height: 1.65; }

/* ---------------------------------------------------------------- CTA final */
.final-cta { position: relative; display: flex; min-height: 88svh; align-items: center; overflow: hidden; color: var(--paper); background: var(--night); }
.final-cta__beam {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 46% at 50% 108%, rgba(255, 201, 51, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 38% at 78% -8%, rgba(88, 118, 255, 0.12), transparent 70%);
}
.final-cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-block: clamp(96px, 12vh, 150px); text-align: center; }
.final-cta h2 { max-width: 980px; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.final-cta p { max-width: 620px; margin: 30px auto 38px; color: var(--muted-dark); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; }

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 28px; color: var(--paper); background: var(--night); border-top: 1px solid var(--night-line); }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 48px; }
.brand--footer .brand__word { font-size: 2.1rem; }
.site-footer__brand p { max-width: 380px; margin: 22px 0 0; color: var(--muted-dark); font-size: 0.92rem; line-height: 1.6; }
.footer-signature { display: block; margin-top: 22px; color: rgba(250, 248, 242, 0.55); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.site-footer__column { display: flex; flex-direction: column; gap: 13px; }
.site-footer__column h2 { margin: 0 0 10px; color: rgba(250, 248, 242, 0.4); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer__column a { width: fit-content; color: rgba(250, 248, 242, 0.72); font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer__column a:hover { color: var(--paper); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--night-line); color: rgba(250, 248, 242, 0.38); font-size: 0.78rem; }
.footer-preferences { border: 0; color: inherit; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- Page démo */
.page-demo, .page-legal { background: var(--paper); }
.subpage-header { border-bottom: 1px solid var(--line); background: rgba(250, 248, 242, 0.86); backdrop-filter: blur(18px); }
.demo-hero { padding: calc(var(--header-h) + clamp(56px, 9vh, 110px)) 0 clamp(80px, 9vw, 120px); }
.demo-hero__intro { max-width: 880px; }
.demo-hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.demo-hero__intro p { max-width: 640px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; }
.demo-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 20px; align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.demo-summary, .demo-form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.demo-summary { position: sticky; top: calc(var(--header-h) + 28px); padding: clamp(28px, 3.5vw, 44px); }
.demo-summary h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.demo-summary ul { display: grid; gap: 15px; margin: 30px 0 0; list-style: none; }
.demo-summary li { display: flex; gap: 10px; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.demo-summary li .icon { color: var(--positive); margin-top: 0.22em; width: 0.95em; height: 0.95em; }
.demo-duration { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.94rem; }
.demo-form-card { padding: clamp(28px, 4vw, 52px); }
.demo-form-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.demo-form-card__header p { margin: 10px 0 0; color: var(--muted); font-size: 0.94rem; }
.calendar-button { flex: 0 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px var(--yellow-tint); }
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 4px rgba(217, 96, 75, 0.12); }
.form-error { min-height: 1.1em; color: #a13a31; font-size: 0.75rem; }
.form-privacy { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.78rem; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { margin: 0; color: var(--muted); font-size: 0.84rem; }
.demo-reassurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.demo-reassurance > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.demo-reassurance strong { display: block; margin-bottom: 6px; font-size: 0.94rem; }
.demo-reassurance span { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.demo-success { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 24px; padding: 18px; border: 1px solid rgba(47, 158, 104, 0.35); border-radius: var(--radius-md); background: rgba(47, 158, 104, 0.08); }
.demo-success[hidden] { display: none; }
.demo-success__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--positive); }
.demo-success strong { display: block; }
.demo-success p { margin: 3px 0 0; color: var(--muted); font-size: 0.8rem; }

/* Modale agenda */
.booking-modal { position: fixed; z-index: 4000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5, 10, 24, 0.78); backdrop-filter: blur(16px); }
.booking-modal[hidden] { display: none; }
.booking-modal__panel { width: min(1100px, 100%); max-height: calc(100svh - 40px); overflow: hidden; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 50px 140px rgba(0, 0, 0, 0.45); }
.booking-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 16px; }
.booking-modal__header h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.booking-modal__header .eyebrow { margin-bottom: 12px; }
.booking-modal__close { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); background: var(--white); cursor: pointer; }
.booking-modal__close:focus-visible { outline: 3px solid var(--yellow-glow); outline-offset: 3px; }
.booking-modal iframe { width: 100%; height: min(690px, 68svh); border: 0; background: var(--white); }
.booking-modal__panel > p { margin: 0; padding: 12px 26px 18px; color: var(--muted); font-size: 0.74rem; }

/* ---------------------------------------------------------------- Pages légales */
.legal-main { padding: calc(var(--header-h) + clamp(56px, 8vh, 100px)) 0 clamp(80px, 9vw, 120px); }
.legal-layout { display: grid; grid-template-columns: 0.35fr 0.65fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-aside h1 { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.legal-aside p { margin: 22px 0 0; color: var(--muted); }
.legal-content { padding: clamp(28px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.legal-content section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.legal-content h3 { margin-top: 26px; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.65; }
.legal-content ul { padding-left: 20px; }
.placeholder { display: inline-block; padding: 3px 7px; border-radius: 6px; color: #6b2e29; background: rgba(217, 96, 75, 0.14); font-weight: 620; }
.legal-warning { margin-bottom: 32px; padding: 18px 20px; border: 1px solid rgba(217, 96, 75, 0.3); border-radius: var(--radius-md); color: #6b2e29; background: rgba(217, 96, 75, 0.08); }

/* ---------------------------------------------------------------- 404 */
.not-found { min-height: 100svh; display: grid; place-items: center; padding: 40px var(--page-x); background: var(--night); color: var(--paper); text-align: center; }
.not-found__inner { max-width: 780px; }
.not-found__code { color: rgba(250, 248, 242, 0.14); font-family: var(--font-serif); font-style: italic; font-size: clamp(6rem, 20vw, 13rem); line-height: 0.8; }
.not-found h1 { margin-top: 28px; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.not-found p { max-width: 520px; margin: 24px auto 32px; color: var(--muted-dark); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .desktop-cta { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .product-layout { grid-template-columns: 1fr; gap: 48px; }
  .product-copy h2, .product-copy > p { max-width: 720px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card__audience { min-height: 0; }
  .method-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-strip > div:nth-child(2n) { border-right: 0; }
  .method-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 1080px) {
  .flip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flip-card { min-height: 288px; }
}

@media (max-width: 900px) {
  :root { --section-y: clamp(80px, 12vw, 110px); }
  .section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: 92svh; }
  .halo-flow { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .halo-flow::before, .halo-flow::after { display: none; }
  .halo-flow li { gap: 16px; }
  .halo-flow li > div { min-height: 0; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__nav { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__grid { grid-template-columns: 1fr; }
  .store-wrap { margin-top: 34px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: relative; top: auto; }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .demo-layout, .legal-layout { grid-template-columns: 1fr; }
  .demo-summary, .legal-aside { position: relative; top: auto; }
}

@media (max-width: 680px) {
  :root { --page-x: 20px; --section-y: 76px; --header-h: 64px; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3.4rem); }
  h2 { font-size: clamp(1.85rem, 8.4vw, 2.7rem); }
  .desktop-cta { display: none; }
  .brand__word { font-size: 1.45rem; }
  .hero { padding-bottom: 60px; }
  .hero__actions { align-items: stretch; flex-direction: column; width: 100%; max-width: 380px; }
  .hero__actions .button { width: 100%; }
  .hero__meta { gap: 10px 18px; }
  .halo-outcomes { flex-direction: column; align-items: stretch; }
  .halo-outcomes span { justify-content: flex-start; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__kpi strong { font-size: 1.2rem; }
  .transformation .section-heading { margin-bottom: 24px; }
  .reveal-scene { border-radius: 18px; }
  .method-strip { grid-template-columns: 1fr; }
  .method-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-strip > div:last-child { border-bottom: 0; }
  .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flip-card { min-height: 252px; }
  .pricing-card { padding: 26px 22px; }
  .faq-list summary { min-height: 76px; }
  .final-cta { min-height: 78svh; }
  .final-cta .button { width: 100%; max-width: 380px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .demo-form-card__header { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full, .form-privacy, .form-actions { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .demo-reassurance { grid-template-columns: 1fr; }
  .demo-success { grid-template-columns: auto 1fr; }
  .demo-success .button { grid-column: 1 / -1; width: 100%; }
  .booking-modal { padding: 0; }
  .booking-modal__panel { width: 100%; height: 100svh; max-height: none; border: 0; border-radius: 0; }
  .booking-modal iframe { height: calc(100svh - 150px); }
  .booking-modal__header { padding: 18px; }
  .booking-modal__panel > p { padding-inline: 18px; }
  .legal-content { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { min-height: 200px; }
}

@media (max-width: 410px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal], .js .hero__line > span, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__meta { opacity: 1; transform: none; }
  .js .halo-flow li { opacity: 1; transform: none; }
  .halo-flow.is-live::after { display: none; }
  /* Cartes flip : pas de rotation 3D, simple fondu entre les deux faces. */
  .flip-card__inner { transform: none !important; }
  .flip-card__face { transition: opacity 0.18s ease; }
  .flip-card__back { transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; opacity: 0; }
  .flip-card__front { opacity: 1; }
  .flip-card.is-flipped .flip-card__front { opacity: 0; }
  .flip-card.is-flipped .flip-card__back { opacity: 1; }
}

/* ===== Ajouts vitrine : contact intégré, quota tarifaire, sources ===== */
.pricing-card__quota { display: flex; align-items: baseline; gap: 6px; margin: 0 0 16px; padding: 9px 14px; border-radius: 12px; background: var(--yellow-tint); }
.pricing-card__quota strong { font-size: 1.02rem; font-weight: 680; letter-spacing: -0.02em; }
.pricing-card__quota span { color: var(--muted); font-size: 0.82rem; }
/* Aucune offre pré-mise en avant : la différenciation se fait au survol. */
.pricing-card:hover { border-color: var(--yellow); }
.pricing-card:hover .button--ghost { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
/* Sources discrètes en pied de page. */
.footer-sources { margin-top: 14px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
/* Formulaire de contact embarqué en bas de l'accueil. */
.section--contact { border-top: 1px solid var(--line); }
.demo-form-card--embed { max-width: 880px; margin: clamp(40px, 5vw, 64px) auto 0; }

/* ============================ Itération vitrine v2 ============================ */

/* #6 — Contact en 2 colonnes (texte à gauche, formulaire à droite), façon "Le produit". */
.contact-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact-copy { position: sticky; top: 104px; }
.contact-copy .eyebrow--brand { margin-bottom: 18px; }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.05; }
.contact-copy p { margin-top: 22px; max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-copy { position: static; }
}

/* #4 — Rythme des fonds cohérent : le paper chaud est la base de tous les blocs
   clairs ; le night (hero, produit, footer) marque les temps forts ; les secteurs
   forment la seule bande paper-2 (avec bordures). Des filets fins séparent deux
   blocs clairs consécutifs, sans rupture de couleur. */
#systeme, #tarifs, .section--contact, #faq { background: var(--paper); }
#systeme { border-top: 1px solid var(--line); }
.section--contact { border-top: 1px solid var(--line); }
#faq { border-top: 1px solid var(--line); }

/* #3 — Différenciation des offres : accent de plus en plus premium. */
.pricing-card { position: relative; overflow: hidden; }
.pricing-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: transparent; transition: opacity 0.35s ease; }
.pricing-grid > .pricing-card:nth-child(1)::before { background: var(--line-strong); }
.pricing-grid > .pricing-card:nth-child(2)::before { background: var(--yellow); }
.pricing-grid > .pricing-card:nth-child(3)::before { background: linear-gradient(90deg, var(--yellow), #6b4f12 55%, var(--night)); }
.pricing-grid > .pricing-card:nth-child(2) { border-color: rgba(255, 201, 51, 0.45); }
.pricing-grid > .pricing-card:nth-child(3) { background: linear-gradient(180deg, #fffdf6, var(--paper)); border-color: rgba(5, 10, 24, 0.16); }
.pricing-grid > .pricing-card:nth-child(3) .pricing-card__quota { background: rgba(5, 10, 24, 0.06); }

/* #9 — Carrousel de secteurs : défile en boucle, flip au survol, pause au survol. */
.sector-carousel { overflow: hidden; margin-top: clamp(40px, 5vw, 68px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.sector-track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 8px 20px; list-style: none;
  animation: sector-scroll 60s linear infinite; }
.sector-carousel:hover .sector-track, .sector-track:focus-within { animation-play-state: paused; }
.sector-track > li { flex: 0 0 clamp(228px, 22vw, 284px); }
.sector-track .flip-card { width: 100%; min-height: 300px; }
.sector-carousel .flip-card:hover .flip-card__inner,
.sector-carousel .flip-card:focus-visible .flip-card__inner { transform: rotateY(180deg); }
@keyframes sector-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sector-track { animation: none; } }

/* #8 — Dashboard "vivant" : la courbe se dessine en boucle, badges de tendance en pulsation. */
.dash__chart svg path[fill="none"] { stroke-dasharray: 640; animation: dash-draw 7.5s ease-in-out infinite; }
@keyframes dash-draw {
  0% { stroke-dashoffset: 640; opacity: 0; }
  12% { opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  88% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.dash__kpi em:not(.is-flat) { animation: kpi-pulse 3.6s ease-in-out infinite; }
@keyframes kpi-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  .dash__chart svg path[fill="none"] { animation: none; stroke-dasharray: none; }
  .dash__kpi em:not(.is-flat) { animation: none; }
}

/* Fix : bouton Connexion du header lisible sur header clair ET sombre. */
.header-login { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.header-login:hover { background: var(--white); border-color: var(--ink); }
.site-header--on-night .header-login { border-color: var(--night-line-strong); color: var(--paper); background: rgba(255, 255, 255, 0.03); }
.site-header--on-night .header-login:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }
