/* CAHLIUM, feuille de style principale
   Concept : alternance de sections immersives bleu nuit profond et de sections claires très aérées,
   grille 12 colonnes, contenu 1200 px. Tout découle du réseau de nœuds du logo. */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); }

:root {
  /* Marque */
  --nuit: #25265E;
  --nuit-deep: #12132E;
  --canard: #1A9A9A;
  --canard-lum: #3CC2C0;
  --canard-txt: #137B7B;          /* canard assombri pour le texte sur fond clair (contraste 5:1) */
  --grad: linear-gradient(135deg, #25265E 0%, #1A9A9A 100%);
  --grad-lum: linear-gradient(135deg, #B9C0F0 0%, #7FD4D8 45%, #3CC2C0 100%);

  /* Sections claires (redéfinies en mode sombre) */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --card: #FFFFFF;
  --line: #E3E7EE;
  --ink: #25265E;
  --text: #2C3049;
  --muted: #5B6275;
  --accent-txt: #0E6B6B;
  --shadow: 0 1px 2px rgba(37, 38, 94, .05), 0 12px 32px -12px rgba(37, 38, 94, .16);
  --shadow-lg: 0 2px 4px rgba(37, 38, 94, .06), 0 40px 80px -24px rgba(37, 38, 94, .28);
  --chip: #EEF1F6;
  --field: #FFFFFF;
  --hl: rgba(26, 154, 154, .14);

  /* Sections immersives (constantes) */
  --d-bg: #12132E;
  --d-bg-2: #181A3E;
  --d-card: rgba(255, 255, 255, .04);
  --d-line: rgba(201, 204, 232, .14);
  --d-ink: #F3F5FB;
  --d-text: #C3C7DE;
  --d-muted: #9AA0C0;

  /* Typographie */
  --f-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Mise en page */
  --max: 1200px;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C1F; --bg-alt: #0F1029; --card: #151738; --line: rgba(201, 204, 232, .12);
    --ink: #F1F3FA; --text: #C9CCE0; --muted: #9AA0BD; --accent-txt: #3CC2C0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
    --chip: rgba(255, 255, 255, .06); --field: #10122E; --hl: rgba(60, 194, 192, .18);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0C1F; --bg-alt: #0F1029; --card: #151738; --line: rgba(201, 204, 232, .12);
  --ink: #F1F3FA; --text: #C9CCE0; --muted: #9AA0BD; --accent-txt: #3CC2C0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
  --chip: rgba(255, 255, 255, .06); --field: #10122E; --hl: rgba(60, 194, 192, .18);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.report-wrap > *, .split > *, .cta__grid > *, .faq-wrap > *, .hero--page .hero__inner > * { min-width: 0; }
::selection { background: rgba(60, 194, 192, .3); }
:focus-visible { outline: 2px solid var(--canard-lum); outline-offset: 3px; border-radius: 6px; }
.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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--canard-lum); color: var(--nuit-deep); padding: 10px 16px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 24px; height: 24px; flex: none; }

/* Mise en page */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: var(--gutter); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.s { position: relative; padding-block: clamp(80px, 11vw, 140px); background: var(--bg); }
.s--alt { background: var(--bg-alt); }
.s--tight { padding-block: clamp(56px, 7vw, 88px); }
.s--dark {
  background: var(--d-bg); color: var(--d-text); isolation: isolate;
  --ink: var(--d-ink); --text: var(--d-text); --muted: var(--d-muted); --line: var(--d-line);
  --card: var(--d-card); --accent-txt: var(--canard-lum); --chip: rgba(255, 255, 255, .06);
  --field: rgba(255, 255, 255, .04); --hl: rgba(60, 194, 192, .2);
  color-scheme: dark;
}
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

/* Typographie */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-txt);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.h-hero { font-weight: 800; font-size: clamp(40px, 6.2vw, 72px); line-height: 1.03; letter-spacing: -.032em; }
.h-xl { font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.028em; }
.h-lg { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.022em; }
.h-md { font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.grad-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s--dark .grad-txt, .hero .grad-txt { background: var(--grad-lum); -webkit-background-clip: text; background-clip: text; }
.sec-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.small { font-size: 14px; color: var(--muted); }

/* Boutons */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary {
  color: #fff; background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -10px rgba(26, 154, 154, .6);
  transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 40px -12px rgba(26, 154, 154, .75); }
.s--dark .btn--primary, .hero .btn--primary, .nav .btn--primary { border-color: rgba(60, 194, 192, .45); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-txt); color: var(--accent-txt); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn--outline-canard { color: var(--accent-txt); border-color: currentColor; background: transparent; }
.btn--outline-canard:hover { background: var(--hl); }
.btn--outline-nuit { color: var(--ink); border-color: currentColor; background: transparent; }
.btn--outline-nuit:hover { background: var(--chip); }
.btn--muted { color: var(--ink); background: var(--chip); border-color: var(--line); }
.btn--muted:hover { border-color: var(--muted); }
.btn--full { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-txt); font-weight: 500; text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Badges de statut */
.badge {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; white-space: nowrap; border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--disponible { background: var(--canard-txt); color: #fff; }
.badge--pilote { border-color: var(--accent-txt); color: var(--accent-txt); }
.badge--beta { border-color: var(--ink); color: var(--ink); }
.badge--dev { background: var(--chip); color: var(--muted); border-color: var(--line); }

/* Navigation */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--d-bg); }
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--d-ink); transition: background-color .35s var(--ease), border-color .35s, height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__bar { display: flex; align-items: center; gap: 28px; height: var(--nav-h); transition: height .35s var(--ease); }
.nav.is-scrolled { background: rgba(18, 19, 46, .72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(201, 204, 232, .1); }
.nav.is-scrolled .nav__bar { height: 60px; }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 30px; width: auto; transition: height .35s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 26px; }
.nav__menu { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 9px; border: 0; background: none;
  color: var(--d-text); font: 500 14.5px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__chev { width: 10px; height: 10px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 8px; list-style: none;
  background: rgba(24, 26, 62, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 204, 232, .14); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__drop.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--d-ink); }
.nav__drop a:hover { background: rgba(255, 255, 255, .06); }
.nav__drop .ico { grid-row: span 2; color: var(--canard-lum); width: 22px; height: 22px; margin-top: 1px; }
.nav__drop strong { font: 600 14.5px/1.3 var(--f-body); font-weight: 500; }
.nav__drop span { font-size: 13px; color: var(--d-muted); line-height: 1.4; }
.nav__cta { margin-left: 12px; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(201, 204, 232, .18); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__panel { display: none; }

@media (max-width: 1080px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__panel {
    display: block; position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49; overflow-y: auto;
    background: var(--d-bg); padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-scrolled + .nav__panel { top: calc(60px + env(safe-area-inset-top, 0px)); }
  .nav__panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__panel a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--d-line); color: var(--d-ink); text-decoration: none; font: 700 19px/1.2 var(--f-display); }
  .nav__panel .nav__lbl { margin: 0; padding: 16px 4px 4px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); }
  .nav__panel .nav__sub { font: 500 15px/1.3 var(--f-body); color: var(--d-text); padding-left: 16px; }
  .nav__panel .btn { margin-top: 24px; width: 100%; font: 500 16px/1.2 var(--f-body); justify-content: center; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--d-text);
  background: radial-gradient(1200px 600px at 75% 40%, #1B1D47 0%, rgba(18, 19, 46, 0) 60%), var(--d-bg);
  --ink: var(--d-ink); --muted: var(--d-muted); --line: var(--d-line); --accent-txt: var(--canard-lum);
  --text: var(--d-text); --chip: rgba(255, 255, 255, .08); --hl: rgba(60, 194, 192, .18);
  color-scheme: dark;
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 128px)); padding-bottom: clamp(72px, 9vw, 120px);
  min-height: min(900px, 100svh);
  display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -1; left: -10%; top: 15%; width: 70%; height: 70%; background: radial-gradient(closest-side, rgba(26, 154, 154, .22), rgba(26, 154, 154, 0)); filter: blur(10px); pointer-events: none; }
.hero__fade { position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(to bottom, rgba(18, 19, 46, 0), var(--d-bg)); pointer-events: none; }
.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 760px; display: grid; gap: 28px; justify-items: start; }
.hero__title { color: var(--d-ink); }
.hero__sub { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--d-text); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__actions .btn--ghost { color: var(--d-ink); border-color: rgba(201, 204, 232, .25); background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__actions .btn--ghost:hover { border-color: var(--canard-lum); color: #fff; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font: 500 12.5px/1.4 var(--f-mono); color: var(--d-muted); letter-spacing: .02em; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--canard-lum); }

/* Hero de page solution */
.hero--page { min-height: 0; padding-bottom: clamp(64px, 8vw, 104px); }
.hero--page .hero__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12.5px/1 var(--f-mono); color: var(--d-muted); list-style: none; }
.crumbs a { color: var(--d-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
@media (max-width: 960px) { .hero--page .hero__inner { grid-template-columns: 1fr; } }

/* Bandeau défilant */
.marquee { position: relative; background: var(--d-bg); color: var(--d-muted); border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); padding-block: 26px; overflow: hidden; }
.marquee__label { position: relative; z-index: 2; }
.marquee__row { display: flex; align-items: center; gap: 24px; }
.marquee__label { margin: 0; flex: none; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); max-width: 150px; }
.marquee__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track ul { display: flex; align-items: center; list-style: none; }
.marquee__track li { display: flex; align-items: center; font: 700 clamp(22px, 2.4vw, 30px)/1 var(--f-display); letter-spacing: -.01em; color: #D9DCEC; padding-right: clamp(36px, 5vw, 64px); }
.marquee__track li::after { content: ""; width: 7px; height: 7px; margin-left: clamp(36px, 5vw, 64px); border-radius: 50%; border: 1.5px solid var(--canard-lum); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Constat */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 8px 0; display: grid; gap: 14px; align-content: start; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font: 800 clamp(56px, 7vw, 88px)/.95 var(--f-display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; margin-left: .08em; letter-spacing: 0; color: var(--accent-txt); }
.stat__txt { font-size: 17px; color: var(--text); max-width: 34ch; }
.stat__src { font: 500 12px/1.5 var(--f-mono); color: var(--muted); }
.stat__src a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.stat__src a:hover { color: var(--accent-txt); text-decoration-color: currentColor; }
.transition-line { margin-top: clamp(48px, 6vw, 72px); display: flex; align-items: center; gap: 16px; font: 700 clamp(20px, 2.2vw, 26px)/1.35 var(--f-display); color: var(--ink); letter-spacing: -.01em; max-width: 820px; }
.transition-line::before { content: ""; flex: none; width: 40px; height: 2px; background: var(--grad); border-radius: 2px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 32px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

/* Diagramme */
.diagram { position: relative; border: 1px solid var(--d-line); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); overflow: hidden; }
.diagram svg { width: 100%; height: auto; }
.diagram__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 24px; border-top: 1px solid var(--d-line); font: 500 12px/1.4 var(--f-mono); color: var(--d-muted); }
.diagram__legend span { display: inline-flex; align-items: center; gap: 8px; }
.diagram__legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dg-q { fill: rgba(255, 255, 255, .04); stroke: rgba(201, 204, 232, .2); }
.dg-qt { fill: #DDE0EF; font: 500 14px var(--f-body); }
.dg-path { fill: none; stroke: rgba(201, 204, 232, .12); stroke-width: 1.2; }
.dg-ai { fill: #181A3E; stroke: rgba(60, 194, 192, .45); stroke-width: 1.5; }
.dg-ait { fill: #F3F5FB; font: 700 15px var(--f-display); }
.dg-biz { fill: rgba(255, 255, 255, .03); stroke: rgba(201, 204, 232, .16); transition: fill .4s, stroke .4s; }
.dg-bizt { fill: #A9AECB; font: 500 14px var(--f-body); transition: fill .4s; }
.dg-bizn { fill: #3A3D66; transition: fill .4s; }
.dg-biz-g.is-lit .dg-biz { fill: rgba(60, 194, 192, .12); stroke: rgba(60, 194, 192, .7); }
.dg-biz-g.is-lit .dg-bizt { fill: #fff; }
.dg-biz-g.is-lit .dg-bizn { fill: #3CC2C0; }
.dg-col { fill: #9AA0C0; font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; margin-top: clamp(48px, 6vw, 64px); counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: calc(33.33% - 20px); height: 1px; background: linear-gradient(90deg, var(--canard-lum), rgba(60, 194, 192, .15)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__n { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--f-mono); color: var(--accent-txt); background: var(--bg); border: 1.5px solid var(--accent-txt); }
.s--dark .step__n { background: var(--d-bg); }
.s--alt .step__n { background: var(--bg-alt); }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 16px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--4::before { right: calc(25% - 20px); }
.deliver--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--4::before { display: none; } .deliver--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .steps--4::before { display: block; }
  .steps, .steps--4 { grid-template-columns: 1fr; gap: 28px; padding-left: 60px; }
  .steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--canard-lum), rgba(60, 194, 192, .15)); }
  .step__n { position: absolute; left: -60px; top: -6px; }
}

/* Cadre d'application (maquettes) */
.stage { perspective: 1800px; }
.app {
  position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; transform-style: preserve-3d; transition: transform .8s var(--ease);
  font-size: 14px; color: var(--text);
}
.app--tilt { transform: rotateX(7deg) rotateY(-11deg) rotateZ(.5deg); }
.app--tilt-r { transform: rotateX(7deg) rotateY(11deg) rotateZ(-.5deg); }
.stage:hover .app--tilt, .stage:hover .app--tilt-r { transform: rotateX(2deg) rotateY(-3deg); }
.app__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--card) 92%, var(--ink)); }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.app__title { font: 500 12px/1 var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app__body { padding: 22px; }
.s--dark .app, .hero .app { background: rgba(24, 26, 62, .78); border-color: rgba(201, 204, 232, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); --card: rgba(24, 26, 62, .9); }
.fictif { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.fictif::before { content: ""; width: 14px; height: 1px; background: currentColor; }
@media (max-width: 860px) { .app--tilt, .app--tilt-r { transform: none; } }

/* Maquette rapport Radar IA */
.rp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.rp__card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--card); min-width: 0; }
.rp__label { font: 500 11px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 8px; }
.rp__score { display: flex; align-items: center; gap: 18px; }
.ring { --v: 41; width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--canard) calc(var(--v) * 1%), var(--chip) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--card); }
.s--dark .ring::before, .hero .ring::before { background: #1A1C42; }
.ring b { position: relative; font: 800 30px/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }
.ring b small { font: 500 11px var(--f-mono); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.rp__delta { font: 500 12px/1.4 var(--f-mono); color: var(--accent-txt); }
.rp__bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 78px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 13px; }
.bar__name { color: var(--text); font-weight: 500; }
.bar__track { position: relative; height: 8px; border-radius: 4px; background: var(--chip); }
.bar__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 4px; background: var(--grad); transform-origin: left; }
.bar__ci { position: absolute; top: -3px; bottom: -3px; left: calc(var(--lo) * 1%); width: calc((var(--hi) - var(--lo)) * 1%); border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); opacity: .35; }
.bar__ci::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.bar__val { font: 500 12px/1 var(--f-mono); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.rank { list-style: none; display: grid; gap: 6px; counter-reset: r; }
.rank li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; }
.rank li::before { counter-increment: r; content: counter(r); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.rank li.is-you { background: var(--hl); color: var(--ink); font-weight: 500; }
.rank li.is-you::before { color: var(--accent-txt); }
.rank em { font-style: normal; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.alert { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, #D9822B 45%, transparent); background: color-mix(in srgb, #D9822B 9%, transparent); }
.alert__i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, #D9822B 18%, transparent); color: #B8661A; font: 800 15px/1 var(--f-display); }
.s--dark .alert__i, .hero .alert__i { color: #F0A65A; }
.alert strong { display: block; color: var(--ink); font-weight: 500; font-size: 13.5px; }
.alert span { font-size: 13px; color: var(--muted); }
.alert s { color: var(--muted); }
.actions-l { list-style: none; display: grid; gap: 8px; }
.actions-l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; color: var(--ink); }
.effort { font: 500 11px/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.effort--faible { background: var(--hl); color: var(--accent-txt); }
.rp__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 760px) { .rp { grid-template-columns: 1fr; } }

.report-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.report-points { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.report-points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--text); font-size: 16px; }
.report-points .ico { width: 22px; height: 22px; color: var(--accent-txt); margin-top: 1px; }
@media (max-width: 960px) { .report-wrap { grid-template-columns: 1fr; } }

/* Cartes génériques */
.card {
  position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, #25265E, #1A9A9A 60%, #3CC2C0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
}
.card::after {
  content: ""; position: absolute; top: 18px; right: 18px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--line); transition: background-color .35s, box-shadow .35s;
}
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card:hover::after, .card:focus-within::after { background: var(--canard-lum); box-shadow: 0 0 0 4px rgba(60, 194, 192, .18), 0 0 18px rgba(60, 194, 192, .7); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.s--dark .card { background: var(--d-card); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-color: var(--d-line); }
.s--dark .card::before { background: linear-gradient(135deg, rgba(60, 194, 192, .2), #3CC2C0 60%, #9FD8E0); }
.card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-txt); background: var(--hl); margin-bottom: 20px; }
.card__ico .ico { width: 24px; height: 24px; }

/* Bento */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 14.5px/1 var(--f-body); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter .mono { font-size: 12px; margin-left: 6px; opacity: .6; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.sol { grid-column: span 4; display: flex; flex-direction: column; gap: 12px; padding: 26px; min-width: 0; }
.sol[hidden] { display: none; }
.sol__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-right: 14px; }
.sol__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--accent-txt); background: var(--hl); flex: none; }
.sol__aud { font: 500 11px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sol h3 { font-size: 20px; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; margin-top: 6px; }
.sol h3 a { text-decoration: none; }
.sol h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sol p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.sol__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.sol__foot .btn { --h: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 9px; }
.sol--3 { grid-column: span 3; }
.sol--6 { grid-column: span 6; }
.sol--hero { grid-column: span 6; grid-row: span 2; padding: 34px; background: var(--d-bg); border-color: var(--d-bg); color: var(--d-text); overflow: hidden; isolation: isolate;
  --ink: var(--d-ink); --muted: var(--d-muted); --line: var(--d-line); --accent-txt: var(--canard-lum); --hl: rgba(60, 194, 192, .16); --chip: rgba(255, 255, 255, .06); --card: rgba(255,255,255,.04); }
.sol--hero h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.sol--hero p { font-size: 17px; color: var(--d-text); max-width: 46ch; }
.sol--hero::after { background: rgba(255, 255, 255, .15); }
.sol__viz { position: relative; margin: 6px 0 4px; flex: 1; min-height: 170px; border-radius: 12px; border: 1px solid var(--d-line); background: rgba(255, 255, 255, .03); padding: 16px 18px; display: grid; gap: 10px; align-content: center; }
.mini-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 30px; gap: 10px; align-items: center; font: 500 12px/1 var(--f-mono); color: var(--d-muted); }
.mini-bar i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2E3378, #3CC2C0); width: calc(var(--v) * 1%); }
.mini-bar span:last-child { text-align: right; color: #E3E6F3; }
.bento.is-filtered .sol, .bento.is-filtered .sol--hero { grid-column: span 4; grid-row: auto; }
@media (max-width: 1080px) {
  .sol, .sol--3 { grid-column: span 6; }
  .sol--6, .sol--hero { grid-column: span 12; }
  .sol--hero { grid-row: auto; }
  .bento.is-filtered .sol, .bento.is-filtered .sol--hero { grid-column: span 6; }
}
@media (max-width: 640px) {
  .sol, .sol--3, .sol--6, .sol--hero, .bento.is-filtered .sol, .bento.is-filtered .sol--hero { grid-column: span 12; }
}

/* Bloc Courrier */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__txt { display: grid; gap: 24px; justify-items: start; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16px; color: var(--text); }
.checks .ico { width: 20px; height: 20px; color: var(--accent-txt); margin-top: 2px; }
@media (max-width: 960px) { .split, .split--rev { grid-template-columns: 1fr; } }

.mail { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
.mail__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.mail__box { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.mail__box.is-on { background: var(--hl); color: var(--ink); }
.mail__box b { font: 500 11px/1 var(--f-mono); }
.mail__main { padding: 20px 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.mail__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; font: 500 11.5px/1 var(--f-mono); background: var(--hl); color: var(--accent-txt); }
.mail__from { font-size: 13px; color: var(--muted); }
.mail__subj { font: 700 16px/1.35 var(--f-display); color: var(--ink); }
.mail__txt { font-size: 13.5px; line-height: 1.65; color: var(--text); }
.mail__txt mark { background: var(--hl); color: var(--ink); border-radius: 3px; padding: 1px 3px; box-shadow: inset 0 -1.5px 0 var(--canard-lum); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.field-x { border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; min-width: 0; }
.field-x span { display: block; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.field-x b { font-weight: 500; font-size: 13.5px; color: var(--ink); }
.field-x.is-src { border-color: var(--canard-lum); box-shadow: 0 0 0 3px rgba(60, 194, 192, .14); }
.mail__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.mail__act .small { font-size: 12.5px; }
.fake-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--grad); color: #fff; font: 500 14px/1 var(--f-body); border: 1px solid rgba(60, 194, 192, .45); }
.fake-btn .ico { width: 16px; height: 16px; }
@media (max-width: 640px) { .mail { grid-template-columns: 1fr; } .mail__side { display: none; } .fields { grid-template-columns: 1fr; } }

/* Engagements */
.pledges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pledge h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 10px; }
.pledge p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 1080px) { .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pledges { grid-template-columns: 1fr; } }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.review blockquote { margin: 0 0 20px; font-size: 17px; color: var(--ink); line-height: 1.55; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); font-weight: 500; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font: 700 18px/1.4 var(--f-display); color: var(--ink); letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; flex: none; color: var(--accent-txt); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-txt); }
.faq .faq__a { padding: 0 48px 26px 0; color: var(--text); font-size: 16.5px; max-width: 68ch; display: grid; gap: 12px; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Formulaire */
.cta { position: relative; overflow: hidden; }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.cta__glow { position: absolute; z-index: -1; right: -10%; bottom: -20%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(26, 154, 154, .2), transparent); pointer-events: none; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cta__txt { display: grid; gap: 24px; position: sticky; top: 120px; }
.cta__mail { font: 500 15px/1.4 var(--f-mono); color: var(--ink); user-select: all; }
@media (max-width: 960px) { .cta__grid { grid-template-columns: 1fr; } .cta__txt { position: static; } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.s--dark .form { background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form__full { grid-column: 1 / -1; }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld label, .fld .lbl { font-size: 14px; font-weight: 500; color: var(--ink); }
.fld label i, .fld .lbl i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field);
  color: var(--ink); font: 400 16px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 112px; resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--canard-lum); box-shadow: 0 0 0 4px rgba(60, 194, 192, .2); }
.fld input::placeholder, .fld textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.fld [aria-invalid="true"] { border-color: #D2555A; }
.fld__err { font-size: 13px; color: #D2555A; min-height: 0; }
.s--dark .fld__err { color: #FF8F93; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--canard); }
.consent a { color: var(--accent-txt); }
.form__submit { display: grid; gap: 12px; }
.form__note { font-size: 14px; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__done { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.form__done .ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--hl); color: var(--accent-txt); }
.form__done .ok .ico { width: 28px; height: 28px; }
.form__done h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.form__done p { color: var(--muted); }
.form__error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; border: 1px solid #D2555A; color: var(--ink); font-size: 14.5px; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Modale */
.modal { width: min(640px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--text); overflow: visible; }
.modal::backdrop { background: rgba(10, 11, 30, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__inner { position: relative; max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); }
.modal__inner .form { padding: 0; border: 0; box-shadow: none; background: transparent; margin-top: 24px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.modal__close:hover { border-color: var(--muted); }
.modal h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; padding-right: 44px; }
.modal__sub { margin-top: 10px; color: var(--muted); }

/* Page solution : constats, pour qui, distinctions, formules */
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.issue { padding: 32px 28px; }
.issue__n { font: 500 12px/1 var(--f-mono); color: var(--accent-txt); letter-spacing: .1em; margin-bottom: 22px; display: block; }
.issue h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.issue p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .issues { grid-template-columns: 1fr; } }

.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.deliver li { list-style: none; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.deliver h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.deliver h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--canard-lum); box-shadow: 0 0 0 4px var(--hl); flex: none; }
.deliver p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .deliver { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .deliver { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; }
.plan__k { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-txt); }
.plan h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.plan p { font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 9px; margin-top: 4px; }
.plan li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: var(--text); }
.plan li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--canard-lum); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--d-bg); border-color: var(--d-bg); color: var(--d-text); --ink: var(--d-ink); --muted: var(--d-muted); --text: var(--d-text); --line: var(--d-line); --accent-txt: var(--canard-lum); --hl: rgba(60,194,192,.16); }
.plan--featured::after { background: rgba(255,255,255,.18); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who .card { padding: 24px; }
.who h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.who p { font-size: 15px; color: var(--muted); }
@media (max-width: 1080px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .who { grid-template-columns: 1fr; } }

.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.method .card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.method .card p { font-size: 15.5px; color: var(--muted); }
.rule { margin-top: 24px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--canard-lum) 55%, transparent); }
.rule .card__ico { margin: 0; }
.rule p { color: var(--ink); font-size: 16.5px; }
@media (max-width: 960px) { .method { grid-template-columns: 1fr; } }

/* Sample raw answer (page Radar IA) */
.raw { font: 500 12.5px/1.6 var(--f-mono); color: var(--d-text); border-top: 1px solid var(--d-line); padding-top: 14px; margin-top: 4px; }
.raw b { color: var(--canard-lum); font-weight: 500; }

/* Pied de page */
.foot { background: var(--d-bg); color: var(--d-text); padding-top: clamp(64px, 8vw, 96px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--d-line); --ink: var(--d-ink); --muted: var(--d-muted); color-scheme: dark; }
.foot__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; }
.foot__brand { display: grid; gap: 20px; align-content: start; justify-items: start; }
.foot__brand img { height: 34px; width: auto; }
.foot__brand p { font-size: 15px; color: var(--d-muted); max-width: 34ch; }
.foot__mail { font: 500 15px/1 var(--f-mono); color: var(--d-ink); text-decoration: none; border-bottom: 1px solid rgba(60, 194, 192, .5); padding-bottom: 4px; }
.foot__mail:hover { color: var(--canard-lum); }
.foot h2 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 18px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--d-text); text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: #fff; }
.foot ul span { font-size: 14.5px; color: var(--d-muted); }
.foot__bot { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--d-muted); }
.foot__bot a { color: var(--d-muted); text-decoration: none; }
.foot__bot a:hover { color: #fff; }
.foot__bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__top { grid-template-columns: 1fr; } }

/* Pages de texte (mentions, confidentialité) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--text); font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--accent-txt); }
.prose dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 24px; margin: 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose dt { font: 500 12px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose dd { margin: 0; color: var(--ink); }
@media (max-width: 600px) { .prose dl { grid-template-columns: 1fr; gap: 4px; } .prose dd { margin-bottom: 12px; } }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.lost__inner { display: grid; gap: 24px; justify-items: center; }
.lost svg { width: 220px; height: auto; }

/* Révélations au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__track ul { flex-wrap: wrap; row-gap: 12px; }
  .marquee__track ul[aria-hidden] { display: none; }
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .app--tilt, .app--tilt-r { transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 0; }
  .hero__actions .btn { width: 100%; }
  .marquee__label { display: none; }
}

/* Maquette : configuration Courrier */
.cfg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cfg__col { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cfg__col .rp__label { margin: 0 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--chip); color: var(--ink); font-size: 13px; border: 1px solid var(--line); }
.chip--on { background: var(--hl); border-color: color-mix(in srgb, var(--canard-lum) 50%, transparent); }
.rule-l { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; color: var(--text); padding: 8px 10px; border-radius: 8px; background: var(--chip); }
.rule-l i { font-style: normal; font: 500 11px/1 var(--f-mono); color: var(--accent-txt); }
.stop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); grid-column: 1 / -1; }
.toggle { width: 38px; height: 22px; border-radius: 11px; background: var(--canard); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
@media (max-width: 600px) { .cfg { grid-template-columns: 1fr; } }

/* Maquette : Talent Desk */
.td { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.td__ao { display: grid; gap: 12px; align-content: start; }
.td__ao h4 { font: 700 15px/1.35 var(--f-display); color: var(--ink); }
.crit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; color: var(--text); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); }
.crit b { font: 500 11.5px/1 var(--f-mono); color: var(--accent-txt); }
.prof { display: grid; gap: 8px; }
.pf { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.pf.is-top { border-color: color-mix(in srgb, var(--canard-lum) 60%, transparent); background: var(--hl); }
.pf__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); font: 700 12px/1 var(--f-display); }
.pf__n { font-weight: 500; font-size: 13.5px; color: var(--ink); }
.pf__why { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.pf__why span::before { content: "✓ "; color: var(--accent-txt); }
.pf__why span.no::before { content: "· "; color: var(--muted); }
.pf__s { font: 800 20px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.pf__s small { font: 500 10px var(--f-mono); color: var(--muted); }
.td__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font: 500 11.5px/1.4 var(--f-mono); color: var(--muted); }
.lock { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-txt); }
@media (max-width: 760px) { .td { grid-template-columns: 1fr; } }

/* Grilles et blocs complémentaires */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cases .card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.cases .card p { color: var(--muted); font-size: 16px; }
.cases .card .ex { margin-top: 14px; font: 500 12.5px/1.6 var(--f-mono); color: var(--accent-txt); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }
.proofs .card a { margin-top: 18px; }
.callout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.callout__num { font: 800 clamp(64px, 8vw, 104px)/.9 var(--f-display); letter-spacing: -.04em; color: var(--ink); }
.callout__num small { display: block; margin-top: 10px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-txt); }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } }

/* Maquettes complémentaires */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 96px; }
.week__d { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 6px; text-align: center; font: 500 11px/1 var(--f-mono); color: var(--muted); }
.week__d i, .week__d b { grid-row: 1; align-self: end; width: 100%; border-radius: 4px; height: calc(var(--h) * 1%); }
.week__d i { background: var(--chip); }
.week__d b { background: var(--grad); }
.week__d.is-today span { color: var(--accent-txt); }
.week__d.is-off i { background: repeating-linear-gradient(45deg, var(--chip) 0 4px, transparent 4px 8px); height: 30%; }
.proj { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 110px; }
.proj i { display: block; height: calc(var(--h) * 1%); border-radius: 3px; background: var(--grad); }
.proj i.fut { background: transparent; border: 1.5px dashed var(--canard-lum); }
.tx { padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; max-width: 92%; }
.tx--them { background: var(--chip); color: var(--ink); }
.tx--me { background: var(--hl); color: var(--ink); justify-self: end; }
.qr { display: grid; grid-template-columns: repeat(7, 14px); gap: 2px; padding: 10px; background: #fff; border-radius: 8px; }
.qr i { width: 14px; height: 14px; background: transparent; border-radius: 2px; }
.qr i.on { background: #12132E; }
.qr--sm { grid-template-columns: repeat(7, 10px); }
.qr--sm i { width: 10px; height: 10px; }
.dpe { display: grid; gap: 4px; }
.dpe__l { display: flex; align-items: center; height: 20px; padding-left: 8px; border-radius: 3px; color: #fff; font: 700 12px/1 var(--f-display); opacity: .4; }
.dpe__l.is-now, .dpe__l.is-target { opacity: 1; }
.dpe__l.is-now::after { content: "Actuel"; margin-left: auto; margin-right: 8px; font: 500 10px var(--f-mono); }
.dpe__l.is-target::after { content: "Cible"; margin-left: auto; margin-right: 8px; font: 500 10px var(--f-mono); }
.dpe--A { width: 34%; background: #2E8B57; } .dpe--B { width: 44%; background: #4CA35A; } .dpe--C { width: 54%; background: #9BBF3B; }
.dpe--D { width: 64%; background: #D6B82C; color: #12132E; } .dpe--E { width: 74%; background: #E79A2E; } .dpe--F { width: 84%; background: #DD6B2C; } .dpe--G { width: 94%; background: #C9372C; }
.vd { font: 500 11px/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.vd--ok { background: rgba(46, 139, 87, .14); color: #2E8B57; }
.vd--warn { background: rgba(217, 130, 43, .16); color: #B8661A; }
.vd--ko { background: rgba(210, 85, 90, .14); color: #C2434A; }
.s--dark .vd--ok, .hero .vd--ok { color: #6FD39B; } .s--dark .vd--warn, .hero .vd--warn { color: #F0A65A; } .s--dark .vd--ko, .hero .vd--ko { color: #FF8F93; }

/* Page adoucie (Assistant de succession) : palette douce, aucune animation */
.hero--soft { background: var(--bg-alt); color: var(--text); --ink: var(--nuit); --text: #2C3049; --muted: #5B6275; --line: #E3E7EE; --accent-txt: #0E6B6B; --chip: #EEF1F6; --hl: rgba(26,154,154,.12); --card: #fff; color-scheme: light; min-height: 0; }
.hero--soft .hero__title, .hero--soft .crumbs a, .hero--soft .crumbs { color: var(--ink); }
.hero--soft .hero__sub { color: var(--muted); }
.hero--soft .grad-txt { background: none; color: var(--accent-txt); -webkit-text-fill-color: currentColor; }
.hero--soft .hero__actions .btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.hero--soft .badge--disponible { background: var(--canard-txt); }
.hero--soft .app { box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero--soft { --ink: #F1F3FA; --text: #C9CCE0; --muted: #9AA0BD; --line: rgba(201,204,232,.12); --accent-txt: #7FD4D8; --chip: rgba(255,255,255,.06); --card: #151738; color-scheme: dark; } }
:root[data-theme="dark"] .hero--soft { --ink: #F1F3FA; --text: #C9CCE0; --muted: #9AA0BD; --line: rgba(201,204,232,.12); --accent-txt: #7FD4D8; --chip: rgba(255,255,255,.06); --card: #151738; color-scheme: dark; }
.is-soft .card:hover { transform: none; }
.is-soft .card::before, .is-soft .card::after { display: none; }
.is-soft .btn--primary { background: var(--canard-txt); }
.is-soft *, .is-soft *::before, .is-soft *::after { transition: none !important; animation: none !important; }
.is-soft .nav { background: var(--d-bg); }
.hero--soft .app { background: var(--card); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--shadow); --card: inherit; }
.hero--soft .app__bar { background: var(--bg-alt); }
.gl-total { font: 800 22px/1.05 var(--f-display); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.bar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
