/* Polices hébergées sur le site (Figtree, Plus Jakarta Sans, Instrument Serif), sous-ensembles latin */
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-ext-c15953.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-dab710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-ext-c15953.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-dab710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-ext-c15953.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-dab710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-ext-c15953.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-dab710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-ext-c15953.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-normal-latin-dab710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin-ext-fd6f40.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin-52a6c2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-latin-ext-28cfb3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-latin-2d243d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-ext-9f6257.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-fdb05b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-ext-9f6257.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-fdb05b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-ext-9f6257.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-fdb05b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-ext-9f6257.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-latin-fdb05b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Dealeasy — design system inspiré d'Optigen
   Palette navy / bleu, Figtree + Plus Jakarta Sans, accents serif
   ============================================================ */
:root {
  --p-950: #0a1530;
  --p-900: #16306e;
  --p-800: #1c3c84;
  --p-700: #2f4f9e;
  --p-500: #597dc1;
  --p-300: #9db6e0;
  --p-200: #c3d5eb;
  --p-100: #dfe7f4;
  --p-50: #f1f5fa;
  --navy: #040c24;
  --ink: #1a203d;
  --grey-900: #363b44;
  --grey-600: #5a6478;
  --grey-400: #8b94a7;
  --line: #dfe7f4;
  --white: #fff;
  --violet: #6b4fd8;
  --violet-soft: #8d74ec;
  --green: #15633f;
  --green-soft: #dcf3e7;
  --amber: #a85d00;
  --amber-soft: #fff0d6;
  --red: #b42318;
  --red-soft: #fde8e6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(10, 21, 48, .04), 0 18px 48px -24px rgba(10, 21, 48, .28);
  --shadow-btn: 0 8px 22px -10px rgba(47, 79, 158, .7);
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Plus Jakarta Sans", "Figtree", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; color: var(--p-950); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
em.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.grad { background: linear-gradient(92deg, #7f9bff 0%, #b79cff 55%, #8fd3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.alt { background: var(--p-50); }
.section.dark { background: radial-gradient(1200px 600px at 20% -10%, #1f3a7d 0%, transparent 60%), radial-gradient(900px 500px at 100% 100%, rgba(107, 79, 216, .35) 0%, transparent 55%), var(--p-950); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--p-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(107, 79, 216, .18); }
.dark .eyebrow { color: var(--p-300); }
.lead { font-size: 1.18rem; color: var(--grey-600); max-width: 640px; }
.dark .lead { color: rgba(255, 255, 255, .78); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--p-700); color: #fff; border-color: #4262b4; box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: #3658ab; }
.btn-white { background: #fff; color: var(--p-900); border-color: var(--p-100); box-shadow: 0 10px 24px -14px #aec3e6; }
.btn-white:hover { border-color: var(--p-300); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: transparent; color: var(--p-800); border-color: var(--p-200); }
.btn-outline:hover { border-color: var(--p-700); background: var(--p-50); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn-primary:hover::after { transform: translateX(120%); }

/* ---------- Pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); background: #fff; color: var(--p-800); }
.pill.blue { background: var(--p-100); border-color: var(--p-200); color: var(--p-900); }
.pill.green { background: var(--green-soft); border-color: #bfe7d1; color: var(--green); }
.pill.amber { background: var(--amber-soft); border-color: #f7d9a6; color: var(--amber); }
.pill.red { background: var(--red-soft); border-color: #f5c1bc; color: var(--red); }
.pill.violet { background: #ece8fb; border-color: #d6cdf6; color: #4b35a8; }
.pill.dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.header.on-dark { color: #fff; }
.header.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(10, 21, 48, .3); color: var(--ink); }
.header.scrolled.on-dark { background: rgba(10, 21, 48, .78); border-color: rgba(255, 255, 255, .08); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--p-700), var(--violet)); display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(47, 79, 158, .8); }
.logo-mark svg { width: 22px; height: 22px; }
.logo .ez { color: #a68cff; font-weight: 600; }
.header.scrolled:not(.on-dark) .logo .ez { color: var(--violet); }
.footer .logo .ez { color: #a68cff; }
.logo small { display: block; font-size: .62rem; letter-spacing: .18em; font-weight: 700; opacity: .6; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; opacity: .85; transition: background .2s, opacity .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; background: rgba(127, 140, 180, .14); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(127, 140, 180, .35); background: transparent; color: inherit; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy);
  padding: 150px 0 90px;
  min-height: 92vh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(140, 170, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 65% 50%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: drift 14s ease-in-out infinite alternate; }
.orb-1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, #2f4f9e 0%, transparent 70%); }
.orb-2 { width: 560px; height: 560px; right: -120px; top: 10%; background: radial-gradient(circle, #6b4fd8 0%, transparent 70%); animation-delay: -5s; }
.orb-3 { width: 420px; height: 420px; right: 25%; bottom: -200px; background: radial-gradient(circle, #3fb4ff 0%, transparent 70%); opacity: .35; animation-delay: -9s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.15rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 1.7rem; letter-spacing: -0.03em; }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .62); }
.hero-stats b span { font-size: inherit; color: inherit; }

/* Floating dossier mockup */
.hero-visual { position: relative; perspective: 1400px; min-height: 520px; }
.mock {
  position: absolute; border-radius: 22px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff; transform-style: preserve-3d; will-change: transform;
}
.mock-main { width: 100%; max-width: 480px; left: 6%; top: 40px; padding: 26px; animation: floatY 7s ease-in-out infinite; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.mock-head h4 { color: #fff; font-size: 1.05rem; margin: 6px 0 2px; }
.mock-head small { color: rgba(255, 255, 255, .6); font-size: .78rem; }
.mock-score { text-align: center; }
.mock-score b { display: block; font-size: 1.6rem; font-family: var(--font-head); letter-spacing: -0.03em; line-height: 1; }
.mock-score span { font-size: .68rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .1em; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.mock-kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 12px; }
.mock-kpi span { display: block; font-size: .68rem; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .08em; }
.mock-kpi b { font-size: 1.05rem; font-family: var(--font-head); }
.mock-chart { height: 90px; display: flex; align-items: flex-end; gap: 6px; padding: 10px 0 0; border-top: 1px dashed rgba(255, 255, 255, .14); }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #9ab5ff, #4b6fd8); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; opacity: .9; }
.mock-chart i:nth-child(odd) { background: linear-gradient(180deg, #c3b1ff, #6b4fd8); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mock-flags .pill { font-size: .68rem; padding: 5px 10px; }
.mock-side { width: 230px; padding: 16px; }
.mock-side-1 { right: 0; top: -10px; animation: floatY 8s ease-in-out infinite reverse; }
.mock-side-2 { right: 24px; bottom: 10px; animation: floatY 9s ease-in-out infinite; animation-delay: -3s; }
.mock-side small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); display: block; margin-bottom: 8px; }
.mock-side b { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.bar-rows { display: grid; gap: 7px; margin-top: 8px; }
.bar-rows div { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar-rows div::after { content: ""; display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #7f9bff, #b79cff); transform-origin: left; animation: growX 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lock-anim { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, rgba(107, 79, 216, .6), rgba(47, 79, 158, .6)); margin-bottom: 8px; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); } 50% { transform: translateY(-12px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--grey-600); font-size: .95rem; white-space: nowrap; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--p-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.compare-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.compare-card.bad { background: var(--p-50); }
.compare-card.good { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(22, 48, 110, .6); }
.compare-card.good h3 { color: #fff; }
.compare-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
.compare-list li > span:not(.ico) { flex: 1; }
.compare-list li .ico { margin-top: 1px; }
.compare-list .ico { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.bad .ico { background: #fde8e6; color: var(--red); }
.good .ico { background: rgba(255, 255, 255, .14); color: #a6ffcf; }
.good .compare-list li { color: rgba(255, 255, 255, .88); }
.compare-card .tag { position: absolute; top: 18px; right: 18px; }

/* ---------- Versus (annonce vs dossier) ---------- */
.duel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; margin-top: 48px; align-items: start; }
.duel-card { border-radius: 24px; padding: 22px; border: 1px solid var(--line); min-width: 0; }
.dz-kpis span, .dz-kpis b { white-space: normal; }
.duel-bad { background: var(--p-50); }
.duel-good { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); border-color: transparent; color: #fff; box-shadow: 0 30px 60px -30px rgba(22, 48, 110, .6); }
.duel-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.duel-time { font-size: .84rem; color: var(--grey-600); }
.duel-time b { font-family: var(--font-head); color: var(--red); }
.duel-good .duel-time { color: rgba(255, 255, 255, .7); }
.duel-good .duel-time b { color: #8ff0b8; }
.duel-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.duel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.duel-list .ico { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.duel-bad .ico { background: #fde8e6; color: var(--red); }
.duel-good .ico { background: rgba(255, 255, 255, .14); color: #a6ffcf; }
.duel-bad .duel-list li { color: var(--grey-900); }
.duel-good .duel-list li { color: rgba(255, 255, 255, .88); }
/* fake listing */
.ad { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; filter: saturate(.6); }
.ad-img { height: 120px; background: repeating-linear-gradient(135deg, #e6ebf3 0 12px, #edf1f7 12px 24px); display: grid; place-items: center; color: var(--grey-400); font-size: .78rem; font-weight: 600; }
.ad-body { padding: 16px 18px 18px; }
.ad-body h4 { margin: 0 0 12px; font-size: 1.05rem; color: var(--grey-900); }
.ad-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ad-fields div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.ad-fields span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-400); font-weight: 700; }
.ad-fields b { font-size: .95rem; color: var(--grey-900); }
.ad-lines { display: grid; gap: 7px; margin-bottom: 14px; }
.ad-lines i { display: block; height: 9px; border-radius: 5px; background: #e9edf4; }
.ad-foot { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--grey-400); }
.ad-btn { padding: 7px 12px; border-radius: 8px; background: #e9edf4; color: var(--grey-600); font-weight: 700; }
.ad-stamp { position: absolute; top: 76px; right: 16px; transform: rotate(-8deg); padding: 10px 14px; border: 3px solid var(--red); color: var(--red); border-radius: 10px; font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-align: center; line-height: 1.15; background: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .5s .6s, transform .5s .6s; }
.in .ad-stamp, .stagger.in .ad-stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
/* dossier preview */
.dz { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 18px; backdrop-filter: blur(10px); }
.dz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.dz-head h4 { color: #fff; margin: 0 0 2px; font-size: 1.05rem; line-height: 1.25; }
.dz-head small { color: rgba(255, 255, 255, .6); font-size: .78rem; }
.dz .ring { --v: 0; flex: none; background: conic-gradient(#8ff0b8 calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0); }
.dz .ring::before { background: #15296a; }
.dz .ring span { color: #fff; font-weight: 800; font-family: var(--font-head); }
.dz-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.dz-kpis div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 9px; min-width: 0; }
.dz-kpis span { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.dz-kpis b { display: block; font-family: var(--font-head); font-size: .92rem; color: #fff; white-space: nowrap; }
.dz-kpis i { font-style: normal; font-size: .68rem; color: rgba(255, 255, 255, .55); }
.dz-kpis i.up { color: #8ff0b8; }
.dz-score { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.dz-ring { text-align: center; }
.dz-ring .ring { width: 96px; height: 96px; font-size: 1.9rem; margin: 0 auto 6px; }
.dz-ring .ring::before { inset: 8px; }
.dz-ring small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .65); line-height: 1.3; }
.dz-dims { display: grid; gap: 8px; }
.dz-dims > div { display: grid; grid-template-columns: 120px 1fr 28px; gap: 10px; align-items: center; font-size: .78rem; color: rgba(255, 255, 255, .8); }
.dz-dims .track { height: 7px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dz-dims .track i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, #7f9bff, #b79cff); transform-origin: left; }
.dz-dims .track i.good { background: linear-gradient(90deg, #4ccf8b, #8ff0b8); }
.dz-dims .track i.warn { background: linear-gradient(90deg, #f3b955, #ffd58a); }
.in .dz-dims .track i { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.dz-dims b { text-align: right; font-family: var(--font-head); color: #fff; }
.dz-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; margin-bottom: 0; }
.dz-mini { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 9px 10px; }
.dz-mini > span { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.dz-mini .mini-chart { height: 46px; margin: 0; }
.dz-mini .mini-chart i { background: linear-gradient(180deg, #9ab5ff, #4b6fd8); }
.dz-mini .pyramid div { color: rgba(255, 255, 255, .6); grid-template-columns: 34px 1fr; }
.dz-mini .pyramid i { background: linear-gradient(90deg, #7f9bff, #b79cff); height: 7px; }
.dz-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.dz-flags .pill { font-size: .68rem; padding: 5px 9px; }
.dz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: rgba(255, 255, 255, .65); border-top: 1px dashed rgba(255, 255, 255, .15); padding-top: 12px; }
/* race timeline */
.race { margin-top: 40px; border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; background: #fff; box-shadow: var(--shadow-card); }
.race-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.race-head p { margin: 0; color: var(--grey-600); font-size: .95rem; }
.race-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; padding: 12px 0; }
.race-row + .race-row { border-top: 1px dashed var(--line); }
.race-lab b { display: block; font-family: var(--font-head); font-size: 1rem; }
.race-lab span { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.race-lab em { display: block; font-style: normal; font-size: .76rem; font-weight: 600; margin-top: 4px; color: var(--grey-600); }
.race-row.good .race-lab em { color: var(--p-900); }
.race-row.bad .race-lab span { color: var(--grey-600); }
.race-row.good .race-lab span { color: var(--p-700); }
.race-track { display: flex; gap: 4px; }
.race-track i { display: flex; flex-direction: column; justify-content: center; width: var(--w); min-width: 0; min-height: 60px; padding: 8px 10px; border-radius: 10px; font-style: normal; overflow: hidden; transform-origin: left; }
.race-track i b { font-size: .78rem; line-height: 1.2; }
.race-track i span { font-size: .7rem; opacity: .75; line-height: 1.25; }
.race-row.bad .race-track i { background: var(--p-50); border: 1px solid var(--line); color: var(--grey-900); }
.race-row.bad .race-track i.hot { background: #e9edf4; border-color: #d3dbe8; color: var(--p-950); }
.race-row.good .race-track i { background: var(--p-100); border: 1px solid var(--p-200); color: var(--p-900); }
.race-row.good .race-track i.hot { background: var(--p-700); border-color: var(--p-700); color: #fff; }
.in .race-track i { animation: growX .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
@media (max-width: 1024px) {
  .duel { grid-template-columns: 1fr; }
  .dz-kpis { grid-template-columns: repeat(3, 1fr); }
  .race-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  .dz-row { grid-template-columns: 1fr; }
  .race-track { flex-direction: column; }
  .race-track i { width: 100% !important; height: auto; padding: 8px 10px; }
  .race-track i b, .race-track i span { white-space: normal; }
}

/* ---------- Listing cards ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 28px; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--grey-600); transition: all .2s; }
.chip:hover { border-color: var(--p-300); color: var(--p-900); }
.chip.active { background: var(--p-950); color: #fff; border-color: var(--p-950); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(10, 21, 48, .05), 0 30px 60px -26px rgba(10, 21, 48, .4); border-color: var(--p-200); }
.card.listing::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--p-700), var(--violet)); opacity: 0; transition: opacity .3s; }
.card.listing:hover::before { opacity: 1; }
.card.listing.hidden { display: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-geo { display: flex; align-items: center; gap: 12px; }
.card-geo .fr { width: 54px; height: 54px; flex: none; }
.card-geo .fr path { fill: var(--p-50); stroke: var(--p-200); stroke-width: 2; stroke-linejoin: round; }
.card-geo .fr .halo { fill: var(--p-700); opacity: .18; transform-origin: center; transform-box: fill-box; animation: halo 2.4s ease-out infinite; }
.card-geo .fr .pin { fill: var(--p-700); stroke: #fff; stroke-width: 2; }
@keyframes halo { 0% { transform: scale(.5); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
.card-geo > div { display: flex; flex-direction: column; min-width: 0; }
.card-region { font-weight: 800; font-family: var(--font-head); color: var(--p-950); font-size: .98rem; }
.card-sector { font-size: .82rem; color: var(--grey-600); }
.card-geo .card-ref { margin-left: auto; align-self: flex-start; }
.card-ref { font-size: .74rem; color: var(--grey-400); font-weight: 700; letter-spacing: .06em; }
.card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--grey-600); }
.card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.card .meta svg { width: 14px; height: 14px; opacity: .7; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi-row div span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); font-weight: 700; }
.kpi-row div b { font-family: var(--font-head); font-size: 1.02rem; color: var(--p-950); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--p-900); }
.price small { font-weight: 600; font-size: .78rem; color: var(--grey-400); display: block; letter-spacing: .04em; }
.score { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-family: var(--font-head); }
.ring { --v: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--p-700) calc(var(--v) * 1%), var(--p-100) 0); font-size: .72rem; position: relative; }
.ring::before { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.ring span { position: relative; }
.card .flags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Steps / tabs ---------- */
.tabs { display: inline-flex; background: var(--p-100); padding: 5px; border-radius: 999px; gap: 4px; margin-bottom: 40px; }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--grey-600); transition: all .25s; }
.tabs button.active { background: #fff; color: var(--p-950); box-shadow: 0 6px 16px -8px rgba(10, 21, 48, .35); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; color: var(--p-100); position: absolute; top: 14px; right: 20px; line-height: 1; }
.step h3 { font-size: 1.15rem; margin-top: 10px; }
.step p { color: var(--grey-600); font-size: .96rem; margin: 0; }
.step .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p-100), #ece8fb); color: var(--p-800); }
.step .ico svg { width: 22px; height: 22px; }

/* ---------- Confidentiality (dark) ---------- */
.conf-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.conf-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.conf-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.conf-list b { display: block; color: #fff; margin-bottom: 2px; }
.conf-list span { color: rgba(255, 255, 255, .7); font-size: .94rem; }
.conf-list .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, rgba(107, 79, 216, .5), rgba(89, 125, 193, .5)); display: grid; place-items: center; }
.conf-list .ico svg { width: 18px; height: 18px; }
.anonymizer { border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); padding: 26px; backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.anonymizer h4 { color: #fff; margin: 0 0 16px; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; }
.anon-row { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: .9rem; }
.anon-row:last-child { border: 0; }
.anon-row .from { color: rgba(255, 255, 255, .55); text-decoration: line-through; text-decoration-color: rgba(255, 120, 120, .7); }
.anon-row .to { color: #fff; font-weight: 600; }
.anon-row .arr { color: var(--violet-soft); text-align: center; }
.scanline { position: relative; overflow: hidden; }
.scanline::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(141, 116, 236, .25), transparent); animation: scan 4s linear infinite; }
@keyframes scan { to { top: 110%; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.bento .card { gap: 10px; }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento h3 { font-size: 1.08rem; }
.bento p { color: var(--grey-600); font-size: .94rem; margin: 0; }
.bento .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--p-50); border: 1px solid var(--line); display: grid; place-items: center; color: var(--p-800); }
.bento .ico svg { width: 20px; height: 20px; }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-top: 6px; }
.mini-chart i { flex: 1; background: linear-gradient(180deg, var(--p-500), var(--p-800)); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.reveal.in .mini-chart i { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.pyramid { display: grid; gap: 5px; margin-top: 8px; }
.pyramid div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; font-size: .72rem; color: var(--grey-400); font-weight: 700; }
.pyramid i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--p-500), var(--violet)); width: var(--w); transform-origin: left; }
.reveal.in .pyramid i { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- Feature rows (analyses) ---------- */
.features { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: 56px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.feature p { color: var(--grey-600); }
.feature .check-list { margin: 18px 0 24px; }
.feature .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--p-950); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; margin-bottom: 16px; }
.feature-visual { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.feature-visual::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--p-700), var(--violet)); }
.feature-visual .fv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.feature-visual .fv-head b { font-family: var(--font-head); font-size: .95rem; }
.feature-visual .fv-head span { font-size: .72rem; color: var(--grey-400); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fv-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.fv-chart div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 100%; align-items: center; }
.fv-chart i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--p-500), var(--p-800)); transform-origin: bottom; }
.fv-chart i.v { background: linear-gradient(180deg, var(--violet-soft), var(--violet)); width: 55%; }
.fv-chart b { font-size: .72rem; font-family: var(--font-head); color: var(--p-950); }
.fv-chart span { font-size: .7rem; color: var(--grey-400); font-weight: 700; }
.in .fv-chart i { animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.fv-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.bfr-rows { display: grid; gap: 14px; }
.bfr-row { display: grid; grid-template-columns: 56px 1fr 60px; gap: 12px; align-items: center; font-size: .86rem; }
.bfr-row .lab { font-weight: 700; color: var(--grey-600); }
.bfr-row .track { position: relative; height: 26px; border-radius: 8px; background: var(--p-50); border: 1px solid var(--line); overflow: hidden; }
.bfr-row .track i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 8px; width: var(--w); transform-origin: left; display: flex; align-items: center; padding-left: 8px; font-size: .68rem; color: #fff; font-weight: 700; font-style: normal; }
.bfr-row .track i.c { background: var(--p-700); }
.bfr-row .track i.s { background: var(--p-500); left: var(--l); }
.bfr-row .track i.f { background: var(--amber); left: var(--l); }
.bfr-row b { font-family: var(--font-head); color: var(--p-950); text-align: right; }
.in .bfr-row .track i { animation: growX 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.fv-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .76rem; color: var(--grey-600); margin-top: 12px; }
.fv-legend span { display: inline-flex; gap: 6px; align-items: center; }
.fv-legend i { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- Cédant page ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.why { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.why .big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--p-900); line-height: 1; margin-bottom: 10px; }
.why .big small { font-size: 1rem; color: var(--grey-400); letter-spacing: 0; }
.why h3 { font-size: 1.1rem; }
.why p { color: var(--grey-600); font-size: .95rem; margin: 0; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; counter-reset: p; }
.proc { position: relative; padding: 22px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.proc::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--p-500), var(--violet)); color: #fff; font-weight: 800; font-size: .8rem; font-family: var(--font-head); margin-bottom: 14px; }
.proc b { display: block; color: #fff; margin-bottom: 6px; font-family: var(--font-head); }
.proc span { color: rgba(255, 255, 255, .7); font-size: .88rem; line-height: 1.5; display: block; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.versus .card h3 { display: flex; align-items: center; gap: 10px; }
.versus table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.versus td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.versus td:first-child { color: var(--grey-600); width: 44%; padding-right: 12px; }
.versus td:last-child { font-weight: 600; }
.versus tr:last-child td { border: 0; }
.versus .card.good-card { border-color: var(--p-300); background: linear-gradient(180deg, #fff, var(--p-50)); }
.cmp { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px 26px 16px; box-shadow: var(--shadow-card); overflow-x: auto; }
.cmp table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.cmp th { padding: 18px 16px 14px; text-align: left; }
.cmp td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.cmp td:first-child { font-weight: 800; font-family: var(--font-head); color: var(--p-950); width: 160px; }
.cmp td:nth-child(2) { color: var(--grey-600); }
.cmp .hi { background: var(--p-50); }
.cmp th.hi { border-radius: 14px 14px 0 0; }
.cmp tbody tr:last-child td.hi { border-radius: 0 0 14px 14px; }
.cmp td.hi { color: var(--p-950); font-weight: 600; }
.cmp i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-style: normal; font-weight: 800; font-size: .72rem; margin-right: 10px; vertical-align: -5px; }
.cmp i.no { background: var(--red-soft); color: var(--red); }
.cmp i.ok { background: var(--green-soft); color: var(--green); }
@media (max-width: 760px) { .cmp td:first-child { width: auto; } .cmp table { font-size: .9rem; } }
.quote { border-left: 3px solid var(--violet); padding: 6px 0 6px 20px; font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--p-950); line-height: 1.4; margin: 0; }
.quote + small { display: block; margin-top: 10px; color: var(--grey-400); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; max-width: 920px; margin-left: auto; margin-right: auto; }
.price-card { border-radius: 22px; padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); position: relative; }
.price-card.featured { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); color: #fff; border-color: transparent; }
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price-card .who { font-size: .9rem; color: var(--grey-600); margin-bottom: 20px; }
.price-card.featured .who { color: rgba(255, 255, 255, .7); }
.amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--p-950); line-height: 1; margin-bottom: 4px; }
.amount small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--grey-400); }
.price-card.featured .amount small { color: rgba(255, 255, 255, .6); }
.price-note { font-size: .84rem; color: var(--grey-400); margin-bottom: 22px; }
.price-card.featured .price-note { color: rgba(255, 255, 255, .6); }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check-list li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--green-soft); color: var(--green); margin-top: 2px; }
.price-card.featured .check-list li::before { background: rgba(166, 255, 207, .18); color: #a6ffcf; }
.price-card .tag { position: absolute; top: -14px; left: 34px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--p-300); box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-family: var(--font-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 8px; background: var(--p-50); display: grid; place-items: center; color: var(--p-800); font-weight: 700; transition: transform .3s, background .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--p-100); }
.faq .faq-body { padding: 0 0 20px; color: var(--grey-600); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(800px 400px at 10% 0%, rgba(107, 79, 216, .55), transparent 60%), radial-gradient(700px 400px at 90% 100%, rgba(47, 79, 158, .7), transparent 60%), var(--p-950); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 560px; margin: 0 auto 30px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.demo-note { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60; background: rgba(10, 21, 48, .86); color: #ffd58a; border: 1px solid rgba(255, 213, 138, .35); backdrop-filter: blur(10px); border-radius: 999px; text-align: center; font-size: .76rem; font-weight: 600; padding: 7px 14px; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .15s; }
.stagger.in > *:nth-child(3) { transition-delay: .25s; }
.stagger.in > *:nth-child(4) { transition-delay: .35s; }
.stagger.in > *:nth-child(5) { transition-delay: .45s; }
.stagger.in > *:nth-child(6) { transition-delay: .55s; }
.stagger.in > *:nth-child(7) { transition-delay: .65s; }
.stagger.in > *:nth-child(8) { transition-delay: .75s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.split-words.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

/* ---------- Print / export PDF ---------- */
@media print {
  html, body { background: #fff; }
  .demo-note, .burger, .mobile-nav { display: none !important; }
  .header { position: static; background: var(--navy); color: #fff; }
  .reveal, .stagger > *, .split-words .w > span, .ad-stamp, .chart .pt { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chart .bar, .chart .bar.neg { transform: none !important; }
  .chart .line { stroke-dashoffset: 0 !important; }
  .mock, .mock-chart i, .bar-rows div::after, .mini-chart i, .pyramid i, .fv-chart i, .score-row .track i, .hbar .track i, .stack i, .range .band, .gantt-row .track i, .race-track i, .bfr-row .track i, table.ptf .pbar i { animation: none !important; transform: none !important; }
  .mock-main, .mock-side { animation: none !important; }
  .section, .block, .feature, .card, .duel-card, .race, .cmp, .why, .price-card { break-inside: avoid; }
  .hero { min-height: auto; padding: 60px 0; }
  .toc { display: none; }
  .dossier-layout { grid-template-columns: 1fr; }
  a[href]::after { content: ""; }
}

/* ============================================================
   Dossier page
   ============================================================ */
.dossier-hero { background: var(--navy); color: #fff; padding: 120px 0 60px; position: relative; overflow: hidden; }
.dossier-hero .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.dossier-title-row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.dossier-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff; margin: 14px 0 10px; }
.dossier-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.dossier-hero .meta span { display: inline-flex; gap: 6px; align-items: center; }
.dossier-hero .meta svg { width: 16px; height: 16px; opacity: .8; }
.price-box { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 18px 22px; text-align: right; backdrop-filter: blur(10px); }
.price-box small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.price-box b { font-family: var(--font-head); font-size: 1.9rem; letter-spacing: -0.03em; }
.price-box span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.kpi-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 34px; }
.kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px 16px; }
.kpi span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.kpi b { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -0.02em; }
.kpi i { display: block; font-style: normal; font-size: .74rem; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.kpi .up { color: #8ff0b8; }
.kpi .down { color: #ffb3a8; }

.dossier-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; padding: 48px 0 90px; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: .88rem; }
.toc .toc-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-400); font-weight: 700; margin: 0 0 10px 12px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--grey-600); font-weight: 600; border-left: 2px solid transparent; transition: all .2s; }
.toc a .n { font-family: var(--font-head); font-size: .7rem; color: var(--grey-400); width: 18px; }
.toc a:hover { background: var(--p-50); color: var(--p-900); }
.toc a.active { background: var(--p-50); color: var(--p-900); border-left-color: var(--p-700); }
.toc a.active .n { color: var(--p-700); }
.dossier-main .block { scroll-margin-top: 96px; }
.block p.explain { font-size: 1rem; line-height: 1.65; max-width: 900px; }

/* Portfolio table (clients / fournisseurs) */
table.ptf { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.ptf th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); font-weight: 700; padding: 10px 10px 12px; text-align: right; border-bottom: 1px solid var(--line); }
table.ptf th:first-child { text-align: left; }
table.ptf td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; white-space: nowrap; }
table.ptf td:first-child { text-align: left; white-space: normal; min-width: 200px; }
table.ptf .nm { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--p-950); font-size: 1rem; }
table.ptf .nm i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
table.ptf .code { font-size: .78rem; color: var(--grey-400); margin: 2px 0 8px 18px; }
table.ptf .pbar { height: 5px; border-radius: 3px; background: var(--p-50); width: 240px; max-width: 100%; overflow: hidden; margin-left: 18px; }
table.ptf .pbar i { display: block; height: 100%; width: var(--w); background: var(--c, var(--p-700)); border-radius: 3px; transform-origin: left; }
.in table.ptf .pbar i { animation: growX 1.1s cubic-bezier(.2, .8, .2, 1) both; }
table.ptf .delay { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--p-100); color: var(--p-900); font-weight: 800; font-family: var(--font-head); }
table.ptf .delay.warn { background: var(--amber-soft); color: var(--amber); }
table.ptf .delay.bad { background: var(--red-soft); color: var(--red); }
table.ptf .note { display: block; font-size: .76rem; color: var(--grey-400); margin-top: 5px; }
table.ptf .muted { color: var(--grey-400); }
table.ptf tr.total td { background: var(--p-50); font-weight: 800; color: var(--p-950); }
table.ptf tr.total td .note { font-weight: 500; }
.subblock { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.subblock h3 { font-size: 1.15rem; margin-bottom: 4px; }
.subblock .sub-desc { font-size: .9rem; color: var(--grey-600); margin: 0 0 18px; }
.chart .bar { transform-box: fill-box; transform-origin: bottom; }
.chart .bar.neg { transform-origin: top; }
.chart .bar[style*="transform-origin:right"] { transform: scaleX(0); }
.chart .bar[style*="transform-origin:left"] { transform: scaleX(0); }
.in .chart .bar[style*="transform-origin"] { transform: scaleX(1); }
.chart .pt { opacity: 0; transition: opacity .5s .8s; }
.in .chart .pt { opacity: 1; }
.aging { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; }
.aging svg { width: 170px; height: 170px; }
.aging-list span, .aging-list b { white-space: nowrap; }
.aging-list { display: grid; gap: 10px; font-size: .98rem; }
.aging-list div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.aging-list div:last-child { border: 0; }
.aging-list span { display: inline-flex; align-items: center; gap: 10px; }
.aging-list i { width: 12px; height: 12px; border-radius: 3px; }
.aging-list b { font-family: var(--font-head); font-size: 1.05rem; }
.aging-list small { color: var(--grey-400); font-weight: 600; margin-left: 8px; }
.gantt { display: grid; gap: 10px; margin-top: 10px; }
.gantt-head { display: grid; grid-template-columns: 220px 1fr; gap: 14px; }
.gantt-years { display: grid; grid-template-columns: repeat(6, 1fr); font-size: .74rem; font-weight: 700; color: var(--grey-400); text-align: left; }
.gantt-row { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: center; }
.gantt-row .lab b { display: block; font-size: .92rem; }
.gantt-row .lab span { font-size: .78rem; color: var(--grey-600); }
.gantt-row .track { position: relative; height: 30px; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 6 - 1px), var(--line) calc(100% / 6 - 1px), var(--line) calc(100% / 6)); border-radius: 6px; }
.gantt-row .track i { position: absolute; top: 4px; bottom: 4px; left: var(--l); width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--p-500), var(--p-800)); transform-origin: left; display: flex; align-items: center; padding-left: 10px; font-size: .74rem; color: #fff; font-weight: 700; font-style: normal; white-space: nowrap; overflow: hidden; }
.gantt-row .track i.cb { background: linear-gradient(90deg, var(--violet-soft), var(--violet)); }
.gantt-row .track i.cca { background: linear-gradient(90deg, #f3b955, var(--amber)); }
.in .gantt-row .track i { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.gantt-row .track .end { position: absolute; top: -2px; left: var(--l); transform: translateX(-50%); width: 2px; height: calc(100% + 4px); background: var(--red); opacity: .6; }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--green-soft); border: 1px solid #bfe7d1; color: var(--green); font-size: .95rem; margin-top: 16px; }
.callout b { font-family: var(--font-head); font-size: 1.15rem; white-space: nowrap; }
.callout.blue { background: var(--p-50); border-color: var(--p-200); color: var(--p-900); }
.callout.amber { background: var(--amber-soft); border-color: #f7d9a6; color: var(--amber); }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.val-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; }
.val-card span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-400); font-weight: 700; }
.val-card b { display: block; font-family: var(--font-head); font-size: 1.7rem; letter-spacing: -0.03em; color: var(--p-950); margin: 4px 0 6px; }
.val-card p { margin: 0; font-size: .88rem; color: var(--grey-600); }
.val-card.hi { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); border-color: transparent; }
.val-card.hi span { color: rgba(255, 255, 255, .6); }
.val-card.hi b { color: #fff; }
.val-card.hi p { color: rgba(255, 255, 255, .75); }
table.heat td.hl { background: #ece8fb; font-weight: 800; color: #4b35a8; }
table.heat td.hl2 { background: #6b4fd8; color: #fff; border-radius: 6px; }
.bridge { display: grid; gap: 8px; font-size: .95rem; margin-top: 16px; }
.bridge div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--p-50); }
.bridge div.total { background: var(--p-950); color: #fff; font-weight: 800; }
.bridge b { font-family: var(--font-head); }
.bridge .neg { color: var(--red); }
.bridge .pos { color: var(--green); }
.bridge div.total .neg, .bridge div.total .pos { color: #fff; }
@media (max-width: 1024px) {
  .dossier-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .toc .toc-title { display: none; }
  .toc a { padding: 6px 10px; border: 1px solid var(--line); border-left-width: 1px; }
  .aging { grid-template-columns: 1fr; }
  .val-grid { grid-template-columns: 1fr 1fr; }
  .gantt-head, .gantt-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) { .val-grid { grid-template-columns: 1fr; } }
.dossier-main { display: grid; gap: 28px; min-width: 0; }
.block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); scroll-margin-top: 100px; }
.section, .block, [id] { scroll-margin-top: 90px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.block-head h2 { font-size: 1.45rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.block-head .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--p-50); border: 1px solid var(--line); display: grid; place-items: center; color: var(--p-800); }
.block-head .ico svg { width: 18px; height: 18px; }
.block-head .src { font-size: .78rem; color: var(--grey-400); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.block p { color: var(--grey-900); }
.block ul.plain { padding-left: 20px; color: var(--grey-900); margin: 0; display: grid; gap: 6px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.two-col > *, .valuation > * { min-width: 0; }
.sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-400); font-weight: 700; margin: 0 0 10px; }

.score-grid { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; }
.big-ring { --v: 0; width: 160px; height: 160px; border-radius: 50%; background: conic-gradient(var(--violet) calc(var(--v) * 1%), var(--p-100) 0); display: grid; place-items: center; position: relative; margin: 0 auto; transition: --v 1s; }
.big-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.big-ring div { position: relative; text-align: center; }
.big-ring b { display: block; font-family: var(--font-head); font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; color: var(--p-950); }
.big-ring span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-400); font-weight: 700; }
.score-rows { display: grid; gap: 12px; }
.score-row { display: grid; grid-template-columns: 170px 1fr 44px; gap: 14px; align-items: center; font-size: .92rem; }
.score-row b { font-weight: 700; color: var(--ink); }
.score-row .track { height: 9px; border-radius: 6px; background: var(--p-50); overflow: hidden; border: 1px solid var(--line); }
.score-row .track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--p-500), var(--p-800)); transform-origin: left; }
.score-row .track i.good { background: linear-gradient(90deg, #4ccf8b, var(--green)); }
.score-row .track i.warn { background: linear-gradient(90deg, #f3b955, var(--amber)); }
.in .score-row .track i { animation: growX 1.3s cubic-bezier(.2, .8, .2, 1) both; }
.score-row span { text-align: right; font-weight: 800; font-family: var(--font-head); color: var(--p-950); }

table.fin { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.fin th, table.fin td { padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--line); }
table.fin th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); font-weight: 700; }
table.fin th:first-child, table.fin td:first-child { text-align: left; }
table.fin td:first-child { font-weight: 600; color: var(--ink); }
table.fin tr.total td { font-weight: 800; color: var(--p-950); background: var(--p-50); }
table.fin td.pos { color: var(--green); font-weight: 700; }
table.fin td.neg { color: var(--red); font-weight: 700; }
.table-wrap { overflow-x: auto; }

.chart { width: 100%; height: auto; }
.chart .bar { transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.in .chart .bar { transform: scaleY(1); }
.chart .line { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2s ease-out .3s; }
.in .chart .line { stroke-dashoffset: 0; }
.chart text { font-family: var(--font-body); font-size: 11px; fill: var(--grey-400); }
.chart .lbl { font-size: 12px; font-weight: 700; fill: var(--p-950); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--grey-600); margin-top: 8px; }
.legend span { display: inline-flex; gap: 7px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }

.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 150px 1fr 56px; gap: 12px; align-items: center; font-size: .9rem; }
.hbar .track { height: 12px; border-radius: 6px; background: var(--p-50); border: 1px solid var(--line); overflow: hidden; }
.hbar .track i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--p-500), var(--p-800)); transform-origin: left; }
.hbar .track i.violet { background: linear-gradient(90deg, var(--violet-soft), var(--violet)); }
.hbar .track i.amber { background: linear-gradient(90deg, #f3b955, var(--amber)); }
.in .hbar .track i { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.hbar span { text-align: right; font-weight: 700; color: var(--p-950); font-family: var(--font-head); font-size: .88rem; }
.hbar .lab { color: var(--grey-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stat-tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--p-50); }
.stat-tile span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); font-weight: 700; }
.stat-tile b { font-family: var(--font-head); font-size: 1.15rem; color: var(--p-950); }
.stat-tile i { display: block; font-style: normal; font-size: .76rem; color: var(--grey-600); }

.attention { display: grid; gap: 12px; }
.att { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; align-items: start; }
.att.high { border-color: #f5c1bc; background: #fff8f7; }
.att.med { border-color: #f7d9a6; background: #fffaf2; }
.att.low { border-color: #bfe7d1; background: #f6fcf9; }
.att .lvl { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .74rem; font-family: var(--font-head); }
.att.high .lvl { background: var(--red-soft); color: var(--red); }
.att.med .lvl { background: var(--amber-soft); color: var(--amber); }
.att.low .lvl { background: var(--green-soft); color: var(--green); }
.att b { display: block; margin-bottom: 3px; }
.att p { margin: 0; font-size: .93rem; color: var(--grey-900); }
.att .how { font-size: .84rem; color: var(--grey-600); margin-top: 6px; display: block; }

.valuation { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.range { position: relative; height: 90px; margin: 20px 0 10px; }
.range .track { position: absolute; left: 0; right: 0; top: 40px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--p-100), var(--p-300), var(--p-100)); }
.range .band { position: absolute; top: 36px; height: 18px; border-radius: 9px; background: linear-gradient(90deg, var(--p-700), var(--violet)); left: var(--l); width: var(--w); box-shadow: 0 8px 20px -8px rgba(47, 79, 158, .8); transform-origin: left; }
.in .range .band { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.range .mark { position: absolute; top: 0; transform: translateX(-50%); font-size: .74rem; font-weight: 700; color: var(--grey-600); text-align: center; }
.range .mark::after { content: ""; display: block; width: 1px; height: 14px; background: var(--grey-400); margin: 4px auto 0; }
.range .mark.main { color: var(--p-900); font-size: .8rem; }
.range .end { position: absolute; top: 64px; font-size: .74rem; color: var(--grey-400); font-weight: 600; }
.donut { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.donut svg circle.seg { stroke-dasharray: 0 1000; transition: stroke-dasharray 1.4s cubic-bezier(.2, .8, .2, 1); }
.donut-legend { display: grid; gap: 8px; font-size: .88rem; }
.donut-legend div { display: flex; justify-content: space-between; gap: 10px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 8px; }
.donut-legend b { font-family: var(--font-head); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 2px; background: var(--line); }
.tl { text-align: center; position: relative; padding: 0 8px; }
.tl i { display: block; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--p-700); margin: 0 auto 10px; position: relative; }
.tl.done i { background: var(--p-700); }
.tl b { display: block; font-size: .88rem; }
.tl span { font-size: .78rem; color: var(--grey-600); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.side-card.navy { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); color: #fff; border-color: transparent; }
.side-card.navy h3 { color: #fff; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.side-card p { font-size: .9rem; color: var(--grey-600); margin-bottom: 16px; }
.side-card.navy p { color: rgba(255, 255, 255, .72); }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 8px; }
.lock-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .86rem; }
.lock-list li { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .8); }
.lock-list svg { width: 14px; height: 14px; flex: none; }
.advisor { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--p-500), var(--violet)); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-head); }
.advisor b { display: block; font-size: .95rem; }
.advisor span { font-size: .8rem; color: var(--grey-600); }
.side-meta { display: grid; gap: 8px; font-size: .86rem; }
.side-meta div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }

/* ============================================================
   Compare v2 : annonce contre dossier, même entreprise
   ============================================================ */
.vs { margin-top: 48px; display: grid; grid-template-columns: 172px minmax(0, 1fr) minmax(0, 1.35fr); column-gap: 14px; }
.vs-row { display: contents; }
.vs .lab { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 20px 14px 20px 0; border-top: 1px solid var(--line); min-width: 0; }
.vs-head .lab { border-top: 0; }
.vs .lab .n { font-family: var(--font-head); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-500); }
.vs .lab b { font-family: var(--font-head); font-size: 1rem; color: var(--p-950); line-height: 1.2; transition: color .3s; }
.vs .lab small { font-size: .76rem; color: var(--grey-400); font-weight: 600; }
.vs .cell { padding: 20px 22px; min-width: 0; transition: background .3s; }
.vs .cell.ad { background: var(--p-50); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.vs .cell.dossier { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); color: #fff; border-top: 1px solid rgba(255, 255, 255, .1); }
.vs .cell.head { border-radius: var(--radius) var(--radius) 0 0; }
.vs .cell.dossier.head { border-top-color: transparent; box-shadow: 0 -20px 50px -40px rgba(22, 48, 110, .8); }
.vs .cell.foot { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.vs .cell.dossier.foot { border-bottom-color: transparent; box-shadow: 0 30px 60px -30px rgba(22, 48, 110, .6); }
.vs-row:hover .cell.ad { background: #e9eff8; }
.vs-row:hover .cell.dossier { background: linear-gradient(160deg, #132656, #1b3a80 60%, #33348c); }
.vs-row:hover .lab b { color: var(--p-700); }
.vs-count { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.vs-count b { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--p-950); min-width: 1.2em; }
.vs .dossier .vs-count b { color: #fff; }
.vs-count span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-400); }
.vs .dossier .vs-count span { color: rgba(255, 255, 255, .6); }
.faux-ad { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--grey-600); box-shadow: 0 1px 2px rgba(10, 21, 48, .04); }
.faux-title { font-weight: 700; color: var(--grey-900); font-family: var(--font-head); }
.faux-meta { font-size: .76rem; color: var(--grey-400); margin-bottom: 4px; }
.faux-kv { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 6px; }
.faux-kv b { color: var(--grey-900); font-weight: 600; }
.faux-cta { margin-top: 6px; text-align: center; padding: 8px; border-radius: 8px; background: #e5e9f2; color: var(--grey-600); font-weight: 700; font-size: .84rem; }
.vs-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.vs-kpis div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.vs-kpis span { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-kpis b { font-family: var(--font-head); font-size: .98rem; white-space: nowrap; }
.vs-src { margin-top: 12px; font-size: .76rem; color: rgba(255, 255, 255, .55); font-weight: 600; }
.vague { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px dashed var(--p-200); border-radius: 10px; background: #fff; color: var(--grey-900); font-size: .95rem; font-weight: 600; align-self: flex-start; }
.vague.none { color: var(--grey-400); font-style: italic; font-weight: 500; }
.vague .x { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: .66rem; font-weight: 800; font-style: normal; }
.vs .cell.ad small { font-size: .8rem; color: var(--grey-400); }
.mb { display: flex; align-items: flex-end; gap: 14px; height: 78px; }
.mb > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.mb i { display: block; width: 60%; max-width: 40px; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #c3d5eb, #7f9bff); transform-origin: bottom; }
.in .mb i { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.mb b { font-family: var(--font-head); font-size: .8rem; color: #fff; }
.mb span { font-size: .68rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.mp { display: grid; gap: 7px; }
.mp > div { display: grid; grid-template-columns: 88px 1fr 40px; gap: 10px; align-items: center; font-size: .76rem; color: rgba(255, 255, 255, .72); font-weight: 600; }
.mp > div > span:last-child { text-align: right; color: #fff; font-family: var(--font-head); font-weight: 800; }
.mp .t { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mp .t i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: #9db6e0; transform-origin: left; }
.mp .t i.warn { background: #f3b955; }
.in .mp .t i { animation: growX 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.spark { width: 100%; max-width: 300px; height: auto; display: block; }
.spark .ln { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s ease-out .2s; }
.in .spark .ln { stroke-dashoffset: 0; }
.spark text { font-family: var(--font-head), sans-serif; font-weight: 700; text-anchor: middle; }
.spark .v text { font-size: 12px; fill: #fff; }
.spark .y text { font-size: 10px; fill: rgba(255, 255, 255, .6); }
.vs .note { margin: 12px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .75); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; line-height: 1.5; }
.vs .note + .note { margin-top: 8px; }
.vs .note strong { color: #fff; }
.vs .note .pill { font-size: .7rem; padding: 5px 10px; }
.vs .pill.d-green { background: rgba(143, 240, 184, .14); border-color: rgba(143, 240, 184, .35); color: #a6ffcf; }
.vs .pill.d-amber { background: rgba(243, 185, 85, .14); border-color: rgba(243, 185, 85, .4); color: #ffd58a; }
.vs .pill.d-red { background: rgba(255, 120, 120, .14); border-color: rgba(255, 120, 120, .4); color: #ffb3a8; }
.vs .cell.foot b { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 6px; }
.vs .cell.ad.foot b { color: var(--p-950); }
.vs .cell.foot p { margin: 0; font-size: .92rem; line-height: 1.55; }
.vs .cell.ad.foot p { color: var(--grey-600); }
.vs .cell.dossier.foot p { color: rgba(255, 255, 255, .82); }
.vs .cell.dossier.foot strong { color: #fff; }
.vs-why { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--grey-600); font-size: .98rem; }
.vs-toggle { display: none; }

@media (max-width: 900px) {
  .vs { grid-template-columns: 1fr; column-gap: 0; }
  .vs-toggle { display: inline-flex; justify-self: center; background: var(--p-100); padding: 5px; border-radius: 999px; gap: 4px; margin-bottom: 22px; }
  .vs-toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--grey-600); transition: all .25s; font-size: .9rem; }
  .vs-toggle button.active { background: #fff; color: var(--p-950); box-shadow: 0 6px 16px -8px rgba(10, 21, 48, .35); }
  .vs .lab { border-top: 0; padding: 18px 0 8px; }
  .vs .lab.head { display: none; }
  .vs .cell.ad, .vs .cell.dossier { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
  .vs .cell.dossier { border-color: transparent; }
  .vs[data-view="ad"] .cell.dossier { display: none; }
  .vs[data-view="dossier"] .cell.ad { display: none; }
  .vs-kpis { grid-template-columns: repeat(3, 1fr); }
  .vs .cell.head .vs-count { margin-bottom: 10px; }
}
.side-meta div:last-child { border: 0; }
.side-meta span { color: var(--grey-600); }
.side-meta b { font-weight: 700; text-align: right; }

.explain { font-size: .95rem; color: var(--grey-600); margin: 0 0 18px; }
.hbar .track i.light { background: var(--p-200); }
.hbar.pair { grid-template-columns: 150px 1fr 56px; }
.hbar .yr { font-size: .68rem; color: var(--grey-400); font-weight: 700; margin-left: 6px; }
table.fin td.c, table.fin th.c { text-align: center; }
table.fin td:not(:first-child) { white-space: nowrap; }
.trend { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.trend.good { background: var(--green-soft); color: var(--green); }
.trend.bad { background: var(--red-soft); color: var(--red); }
.trend.flat { background: var(--p-50); color: var(--grey-600); }
.stack { display: flex; height: 22px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin: 8px 0 }
.stack i { display: block; height: 100%; width: var(--w); transform-origin: left; }
.in .stack i { animation: growX 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.blur-lock { position: relative; }
.blur-lock .blurred { filter: blur(6px); user-select: none; pointer-events: none; opacity: .7; }
.blur-lock .overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.blur-lock .overlay div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; text-align: center; box-shadow: var(--shadow-card); max-width: 360px; }
.blur-lock .overlay b { display: block; margin-bottom: 4px; }
.blur-lock .overlay span { font-size: .86rem; color: var(--grey-600); display: block; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; margin-top: 20px; }
  .mock-main { left: 0; }
  .bento .span-2, .bento .span-3, .bento .span-4 { grid-column: span 3; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .conf-grid { grid-template-columns: 1fr; gap: 36px; }
  .dossier-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-cta .btn-outline, .header-cta .btn-ghost { display: none; }
  .burger { display: grid; place-items: center; flex: none; }
  .header .wrap { gap: 10px; height: 68px; }
  .logo small { display: none; }
  .logo { font-size: 1.05rem; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: 10px 12px; font-size: .82rem; }
  .mobile-nav { inset: 68px 0 auto 0; }
  .mobile-nav { display: none; position: fixed; inset: 76px 0 auto 0; background: var(--p-950); color: #fff; padding: 16px 24px 28px; z-index: 49; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .mobile-nav.open { display: grid; gap: 4px; animation: fadeUp .3s both; }
  .mobile-nav a { padding: 12px 10px; border-radius: 10px; font-weight: 600; }
  .mobile-nav a:hover { background: rgba(255, 255, 255, .08); }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-visual { min-height: 440px; }
  .mock-main { padding: 18px; max-width: 100%; }
  .mock-side-1 { display: none; }
  .mock-side-2 { right: 0; bottom: -10px; width: 200px; }
  .compare, .grid-2, .grid-3, .grid-4, .pricing, .two-col, .valuation, .feature, .versus { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2, .bento .span-3, .bento .span-4 { grid-column: span 1; }
  .dossier-title-row { grid-template-columns: 1fr; }
  .price-box { text-align: left; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .score-grid { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 1fr; gap: 6px; }
  .score-row span { text-align: left; }
  .hbar { grid-template-columns: 1fr; gap: 6px; }
  .hbar span { text-align: left; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 20px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .block { padding: 22px; }
  .donut { grid-template-columns: 1fr; }
}

/* ---------- Founders strip (hero) ---------- */
.founders-strip { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: background .25s, transform .25s; }
.founders-strip:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.founders-strip .avatars { display: flex; }
.founders-strip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #1a2b63; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.founders-strip img + img { margin-left: -12px; }
.founders-strip b { display: block; font-size: .92rem; font-family: var(--font-head); }
.founders-strip small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 760px) { .founders-strip { display: flex; } }

/* ---------- Dossier v3 : infobulles, grands chiffres, formules, flux ---------- */
.justify { text-align: justify; hyphens: auto; }
.tip { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--p-100); color: var(--p-800); font-size: .7rem; font-weight: 800; font-style: normal; cursor: help; vertical-align: 2px; margin-left: 4px; outline: none; }
.tip .tip-box { position: absolute; left: 24px; top: 50%; transform: translateY(-50%) scale(.96); width: 300px; padding: 14px 16px; border-radius: 14px; background: var(--p-950); color: rgba(255, 255, 255, .88); font-size: .84rem; font-weight: 500; line-height: 1.5; text-align: left; box-shadow: 0 20px 50px -20px rgba(10, 21, 48, .7); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 20; }
.tip .tip-box strong { display: block; color: #fff; font-family: var(--font-head); margin-bottom: 4px; }
.tip:hover .tip-box, .tip:focus .tip-box, .tip:focus-within .tip-box { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.bigfig { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.bigfig > div { padding: 18px 16px; border-radius: 16px; background: var(--p-50); border: 1px solid var(--line); text-align: center; }
.bigfig b { display: block; font-family: var(--font-head); font-size: 1.7rem; letter-spacing: -0.03em; color: var(--p-950); line-height: 1.1; }
.bigfig span { display: block; font-size: .8rem; color: var(--grey-600); margin-top: 6px; }
.bigfig > div.hi { background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); border-color: transparent; }
.bigfig > div.hi b { color: #fff; }
.bigfig > div.hi span { color: rgba(255, 255, 255, .75); }
.formula { display: grid; gap: 10px; }
.formula > div { padding: 12px 14px; border-radius: 12px; background: var(--p-50); border: 1px solid var(--line); }
.formula span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-400); font-weight: 700; }
.formula b { display: block; font-family: var(--font-head); color: var(--p-950); margin: 3px 0; }
.formula small { display: block; font-size: .8rem; color: var(--grey-600); line-height: 1.45; }
table.flux .flux-head { cursor: pointer; }
table.flux .flux-head:hover td { background: var(--p-50); }
table.flux .flux-head .chev { display: inline-block; width: 16px; color: var(--p-700); transition: transform .2s; }
table.flux .flux-head.open .chev { transform: rotate(90deg); }
table.flux .flux-detail { display: none; }
table.flux .flux-detail.show { display: table-row; }
table.flux .flux-detail td { color: var(--grey-600); font-weight: 400; background: #fbfcfe; }
table.flux .flux-detail td:first-child { padding-left: 32px; }
@media (max-width: 760px) { .tip .tip-box { left: auto; right: 0; top: 26px; transform: none; width: 260px; } .tip:hover .tip-box, .tip:focus .tip-box { transform: none; } }

/* ---------- Dossier v4 : SIG, balances agees detaillees ---------- */
table.fin th.l, table.fin td.l { text-align: left; }
table.fin td.l { white-space: normal; }
table.fin td.who { font-size: .84rem; color: var(--grey-600); font-weight: 400; line-height: 1.4; }
table.fin th.pct, table.fin td.pct { color: var(--grey-400); font-size: .8rem; font-weight: 500; padding-left: 0; }
table.fin.sig td:first-child { font-weight: 500; color: var(--grey-600); }
table.fin tr.sig td { font-weight: 700; color: var(--p-950); background: #fbfcfe; }
table.fin tr.sig td:first-child { font-weight: 800; }
table.fin tr.sig td.pct { font-weight: 700; color: var(--p-700); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }

/* ---------- Balances agees : accordeons ---------- */
.aging.has-acc { align-items: start; }
.aging-list.acc { gap: 0; }
.aging-list .acc-item, .aging-list .acc-body { display: block; padding-bottom: 0; }
.aging-list .acc-item { border-bottom: 1px dashed var(--line); }
.aging-list .acc-item:last-child { border: 0; }
.acc-head { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 0; background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.acc-head > b { margin-left: auto; text-align: right; line-height: 1.15; }
.acc-head > b small { display: block; margin: 2px 0 0; font-size: .72rem; }
.acc-head .chev { width: 16px; color: var(--p-700); font-size: .85rem; transition: transform .2s; }
.acc-item.open .acc-head .chev { transform: rotate(90deg); }
.acc-head:hover { color: var(--p-700); }
.aging-list .acc-body { display: none; padding: 0 0 12px 22px; }
.aging-list .acc-item.open .acc-body { display: block; }
.acc-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.acc-body li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--grey-600); }
.acc-body li b { font-family: var(--font-head); font-size: .9rem; color: var(--p-950); white-space: nowrap; }
.acc-item.bad .acc-body li b { color: var(--red); }
.acc-body li.oth { color: var(--grey-400); border-top: 1px dashed var(--line); padding-top: 5px; margin-top: 2px; }
.acc-body li.oth b { color: var(--grey-600); }
@media print { .aging-list .acc-body { display: block !important; } }

/* ---------- Pages de contenu : guides, mentions légales, 404 ---------- */
.doc-hero { background: linear-gradient(160deg, #040c24, #0f1f4a 55%, #2a2b7a); color: #fff; padding: 150px 0 64px; }
.doc-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 14px 0 16px; max-width: 900px; }
.doc-hero p { color: rgba(255, 255, 255, .82); max-width: 760px; font-size: 1.1rem; line-height: 1.6; margin: 0; }
.doc-crumb { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.doc-crumb a { color: rgba(255, 255, 255, .8); }
.doc-crumb span { margin: 0 6px; }
.doc-meta { margin-top: 20px; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.doc { max-width: 780px; margin: 0 auto; padding: 56px 0 80px; }
.doc h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.doc h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--grey-600); font-size: 1.02rem; line-height: 1.75; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0 16px; }
.doc a { color: var(--p-700); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.doc th, .doc td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); }
.doc th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); }
.doc .def { padding: 20px 22px; border-radius: 16px; background: var(--p-50); border: 1px solid var(--line); margin: 0 0 8px; }
.doc .def b { display: block; font-family: var(--font-head); color: var(--p-950); margin-bottom: 6px; }
.doc .def p { margin: 0; }
.doc-cta { margin-top: 48px; padding: 30px; border-radius: 22px; background: linear-gradient(160deg, #0f1f4a, #16306e 60%, #2a2b7a); }
.doc-cta h2 { color: #fff; margin: 0 0 10px; }
.doc-cta p { color: rgba(255, 255, 255, .82); }
.doc-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.doc-cta a { color: inherit; }
.guide-list { display: grid; gap: 16px; }
.guide-card { display: block; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--p-300); }
.guide-card span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--p-700); font-weight: 800; }
.guide-card h2 { font-size: 1.3rem; margin: 8px 0 6px; color: var(--p-950); }
.guide-card p { margin: 0 0 10px; }
.guide-card b { color: var(--p-700); font-size: .95rem; }
