  :root {
    --ground: #F5F2EC;
    --surface: #FFFFFF;
    --surface-2: #EFEBE3;
    --ink: #221C2B;
    --ink-soft: #4B4455;
    --muted: #6E6779;
    --accent: #5F4A8A;
    --accent-ink: #4A3A6E;
    --accent-soft: #ECE6F4;
    --band: #241B33;
    --band-ink: #F1ECE3;
    --band-muted: #B3A8C4;
    --line: #E3DCD0;
    --pos: #3F7A5C;
    --neg: #A8493D;
    --shadow: 0 1px 2px rgba(36,27,51,0.04), 0 12px 32px -12px rgba(36,27,51,0.14);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground: #151219;
      --surface: #1F1A27;
      --surface-2: #262030;
      --ink: #EFEAF4;
      --ink-soft: #C7BFD3;
      --muted: #9990A8;
      --accent: #B49BDC;
      --accent-ink: #C9B6E8;
      --accent-soft: #2A2338;
      --band: #120E1A;
      --band-ink: #EFEAF4;
      --band-muted: #9C90B2;
      --line: #322B3E;
      --pos: #6FB48D;
      --neg: #E0885E;
      --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 16px 40px -16px rgba(0,0,0,0.55);
    }
  }
  :root[data-theme="dark"] {
    --ground: #151219;
    --surface: #1F1A27;
    --surface-2: #262030;
    --ink: #EFEAF4;
    --ink-soft: #C7BFD3;
    --muted: #9990A8;
    --accent: #B49BDC;
    --accent-ink: #C9B6E8;
    --accent-soft: #2A2338;
    --band: #120E1A;
    --band-ink: #EFEAF4;
    --band-muted: #9C90B2;
    --line: #322B3E;
    --pos: #6FB48D;
    --neg: #E0885E;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 16px 40px -16px rgba(0,0,0,0.55);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    background: var(--ground);
    color: var(--ink);
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
  @media (max-width: 640px) { .wrap { padding: 0 18px; } }

  .serif {
    font-family: "Newsreader", Georgia, "Times New Roman", serif;
    font-weight: 400;
  }
  .mono {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
  }
  .eyebrow {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  a { color: inherit; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px;
    padding: 13px 22px; border-radius: 10px;
    text-decoration: none; border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { transform: translateY(-1px); background: var(--accent-ink); }
  .btn-band { border-color: rgba(255,255,255,0.22); color: var(--band-ink); background: transparent; }
  .btn-band:hover { border-color: var(--band-ink); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

  /* ---------- NAV ---------- */
  header.nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ground) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
  .mark { width: 32px; height: 32px; border-radius: 8px; background: #8A6DA8; display: grid; place-items: center; flex-shrink: 0; }
  .mark svg { width: 21px; height: 21px; }
  .nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
  .nav-links a { text-decoration: none; color: var(--ink-soft); }
  .nav-links a:hover { color: var(--accent-ink); }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-lang { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
  .nav-lang a { text-decoration: none; color: var(--muted); }
  .nav-lang a:hover { color: var(--accent-ink); }
  .nav-lang [aria-current="true"] { color: var(--ink); }
  .nav-login { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
  .nav-login:hover { color: var(--accent-ink); }
  .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
  .nav-burger { display: none; }
  .nav-links .lang-mobile { display: none; }
  .nav-links .login-mobile { display: none; }
  @media (max-width: 860px) {
    .nav-in .brand { margin-right: auto; }
    .nav-cta { order: 2; }
    .nav-burger {
      display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
      width: 42px; height: 42px; padding: 10px; margin-right: -10px; cursor: pointer; border-radius: 8px; order: 3;
    }
    .nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links {
      position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--ground); border-bottom: 1px solid var(--line);
      padding: 8px 28px 18px; box-shadow: var(--shadow);
      transform: translateY(-8px); opacity: 0; visibility: hidden;
      transition: transform .22s ease, opacity .22s ease, visibility .22s;
    }
    .nav-links a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .lang-mobile { display: block; }
    .nav-toggle:checked ~ .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  }
  @media (prefers-reduced-motion: reduce) { .nav-links, .nav-burger span { transition: none; } }
  @media (max-width: 520px) { .nav-login, .nav-lang { display: none; } .nav-links .login-mobile { display: block; } .btn { padding: 11px 16px; font-size: 14px; } }

  /* ---------- HERO ---------- */
  .hero {
    background: var(--band); color: var(--band-ink);
    padding: 92px 0 108px;
    position: relative; overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(680px 400px at 78% -8%, rgba(180,155,220,0.18), transparent 70%);
    pointer-events: none;
  }
  .hero .wrap { position: relative; }
  .hero .eyebrow { color: var(--band-muted); }
  .hero h1 {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 20px 0 22px;
    max-width: 15ch;
    text-wrap: balance;
  }
  .hero h1 em { font-style: italic; color: #C9B6E8; }
  .hero .sub {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: var(--band-ink);
    opacity: 0.82;
    max-width: 46ch;
    margin-bottom: 34px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .hero-note { font-size: 13px; color: var(--band-muted); margin-top: 18px; font-family: "JetBrains Mono", monospace; }

  /* ---------- DASHBOARD MOCK ---------- */
  .mock {
    background: var(--surface);
    color: var(--ink); /* reset : les mocks sur bande sombre ne doivent jamais hériter de --band-ink */
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
  .mock-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
  .mock-body { padding: 18px; }

  /* ---------- CAPTURES RÉELLES (même cadre que les maquettes) ---------- */
  .mock-body.shot { padding: 0; background: #fff; line-height: 0; }
  .mock-body.shot img { display: block; width: 100%; height: auto; }
  @media (prefers-color-scheme: dark) { .mock-body.shot { background: #fff; } }

  /* Bandeau vitrine plein cadre (le vrai tableau de bord, juste après le héros) */
  .showcase { padding: 40px 0 16px; }
  .showcase .wrap { max-width: 1040px; }
  .showcase .cap { margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; }
  .showcase .cap b { color: var(--accent-ink); font-weight: 600; }
  @media (max-width: 720px) { .showcase { padding-top: 28px; } }

  .hero-mock { margin-top: 58px; max-width: 940px; }
  .kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  @media (max-width: 720px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .kpi-row { grid-template-columns: 1fr; } .kpi { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 10px; } .kpi .delta, .kpi .spark { margin-top: 0; padding-top: 0; margin-left: auto; } .kpi .spark { flex-basis: 100%; margin-left: 0; padding-top: 6px; } }
  .kpi {
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
    display: flex; flex-direction: column;
  }
  .kpi .lbl { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; line-height: 1.25; white-space: nowrap; }
  .kpi .val { font-family: "JetBrains Mono", monospace; font-size: 21px; font-weight: 500; margin-top: 4px; letter-spacing: -0.02em; }
  .kpi .delta { font-size: 11.5px; font-family: "JetBrains Mono", monospace; margin-top: auto; padding-top: 6px; }
  .kpi .delta.up { color: var(--pos); }
  .kpi .delta.down { color: var(--neg); }
  .spark { display: block; margin-top: auto; padding-top: 8px; width: 100%; height: 26px; }

  /* ---------- SECTION SCAFFOLD ---------- */
  section { padding: 92px 0; }
  section[id] { scroll-margin-top: 84px; }
  @media (max-width: 640px) { section { padding: 64px 0; } }
  .sec-head { max-width: 40ch; margin-bottom: 46px; }
  .sec-head h2 {
    font-family: "Newsreader", Georgia, serif; font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.14; letter-spacing: -0.015em;
    margin: 14px 0 14px; text-wrap: balance;
  }
  .sec-head h2 em { font-style: italic; color: var(--accent-ink); }
  .sec-head p { color: var(--ink-soft); font-size: 1.06rem; }

  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* ---------- PROOF BAND ---------- */
  .proof-band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 34px 0; }
  .proof-band .in { display: grid; grid-template-columns: auto 1fr; gap: 20px 22px; align-items: center; }
  @media (max-width: 640px) { .proof-band .in { grid-template-columns: 1fr; gap: 16px; } }
  .founder-mark {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent-soft); color: var(--accent-ink);
    display: grid; place-items: center; font-family: "Newsreader", serif; font-size: 22px; font-weight: 500;
    border: 1px solid var(--line);
  }
  .proof-band .made { font-size: 14.5px; max-width: 66ch; color: var(--ink-soft); }
  .proof-band .made b { font-weight: 600; color: var(--ink); }
  .proof-band .made .em { color: var(--accent-ink); font-weight: 600; }
  .proof-tags { display: flex; flex-wrap: wrap; gap: 7px; grid-column: 1 / -1; margin-top: 2px; }
  @media (min-width: 641px) { .proof-tags { grid-column: 2; } }
  .proof-tags span {
    font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  }

  /* ---------- PROBLEM ---------- */
  .problem { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .problem .lead {
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.32; letter-spacing: -0.01em;
    max-width: 24ch;
  }
  .problem .body { color: var(--ink-soft); max-width: 40ch; margin-top: 20px; font-size: 1.05rem; }
  .tools-list {
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: var(--surface);
  }
  .tools-list .row {
    display: grid; grid-template-columns: 42% 58%; align-items: baseline;
    padding: 13px 18px; border-bottom: 1px solid var(--line);
  }
  .tools-list .row:last-child { border-bottom: none; }
  .tools-list .row .k { font-weight: 600; font-size: 14px; }
  .tools-list .row .v { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }
  .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 780px) { .problem-grid { grid-template-columns: 1fr; gap: 28px; } }

  /* ---------- CONNECTED / DEMO ---------- */
  .demo { margin-top: 8px; }
  .demo-frame {
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
  }
  .demo-stage { min-height: 248px; padding: 20px; }
  @media (max-width: 640px) { .demo-stage { min-height: 300px; padding: 15px; } }
  .demo-scene { display: none; }
  .demo-scene.on { display: block; animation: demofade .42s ease both; }
  @keyframes demofade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
  .demo-cap { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--muted); margin-bottom: 13px; }
  .demo-cap b { color: var(--accent-ink); font-weight: 500; }

  .demo-valid { display: flex; flex-direction: column; gap: 8px; }
  .dv-row {
    display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px;
    border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 12.5px;
  }
  .dv-row.dim { opacity: 0.55; }
  .dv-row .dv-day { font-family: "JetBrains Mono", monospace; font-weight: 600; }
  .dv-row .dv-sh { color: var(--ink-soft); }
  .dv-row .dv-ok { color: var(--pos); font-family: "JetBrains Mono", monospace; font-weight: 600; }
  .dv-row .dv-wait { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 11px; }
  .demo-valid .dv-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

  .demo-total {
    display: flex; justify-content: space-between; margin-top: 13px;
    font-family: "JetBrains Mono", monospace; font-size: 12px;
  }
  .demo-total .pos { color: var(--pos); }
  .demo-total span:last-child { font-weight: 600; }

  .demo-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .demo-kpi .kpi { background: var(--surface-2); }
  @media (max-width: 560px) { .demo-kpi { grid-template-columns: 1fr; } .demo-kpi .kpi { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 10px; } .demo-kpi .kpi .delta { margin-top: 0; padding-top: 0; margin-left: auto; } }

  .demo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
  @media (max-width: 640px) { .demo-steps { grid-template-columns: repeat(2, 1fr); } }
  .demo-step {
    text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    padding: 11px 13px 13px; cursor: pointer; font: inherit; color: var(--ink);
    position: relative; overflow: hidden; transition: border-color .2s ease, background .2s ease;
  }
  .demo-step:hover { border-color: var(--accent); }
  .demo-step .sn { display: block; font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--muted); }
  .demo-step .st { display: block; font-weight: 600; font-size: 13.5px; margin-top: 3px; }
  .demo-step[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); }
  .demo-step .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
  .demo-step[aria-current="true"] .prog { width: 100%; transition: width var(--demo-dur, 7000ms) linear; }
  @media (prefers-reduced-motion: reduce) {
    .demo-scene.on { animation: none; }
    .demo-step .prog { display: none; }
  }

  /* ---------- FEATURES ---------- */
  .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .feat + .feat { margin-top: 96px; }
  .feat.flip .feat-text { order: 2; }
  @media (max-width: 860px) {
    .feat, .feat.flip { grid-template-columns: 1fr; gap: 28px; }
    .feat.flip .feat-text { order: 0; }
    .feat + .feat { margin-top: 60px; }
  }
  .feat-text .tag { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
  .feat-text h3 {
    font-family: "Newsreader", Georgia, serif; font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.18; letter-spacing: -0.01em;
    margin: 10px 0 14px;
  }
  .feat-text p { color: var(--ink-soft); font-size: 1.04rem; }
  .feat-stack { display: flex; flex-direction: column; gap: 16px; }

  /* mini mocks inside features */
  .m-week { display: grid; grid-template-columns: 68px repeat(4, 1fr); gap: 5px; font-size: 10px; }
  .m-week .hd { font-family: "JetBrains Mono", monospace; color: var(--muted); padding: 4px 2px; font-size: 9.5px; text-align: center; }
  .m-week .rn { font-weight: 600; font-size: 11px; display: flex; align-items: center; padding-left: 2px; }
  .m-week .cell { min-height: 34px; border-radius: 6px; background: var(--surface-2); }
  .m-week .shift { min-height: 34px; border-radius: 6px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 4px 5px; color: var(--accent-ink); }
  .m-week .shift b { font-family: "JetBrains Mono", monospace; font-size: 9px; display: block; }
  .m-week .shift.open { background: transparent; border-style: dashed; }

  .m-row { display: flex; flex-direction: column; gap: 2px; }
  .m-row .hr, .m-row .r { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 10px; }
  .m-row .hr { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); padding: 0 4px 6px; border-bottom: 1px solid var(--line); }
  .m-row .hr span:not(:first-child) { text-align: right; }
  .m-row .r { align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
  .m-row .r:last-child { border-bottom: none; }
  .m-row .r .name { font-weight: 600; font-size: 12.5px; }
  .m-row .r .num { font-family: "JetBrains Mono", monospace; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
  .m-row .r .num.pos { color: var(--pos); }
  .m-row .r .num.neg { color: var(--neg); }
  .m-row .r .num.dim { color: var(--muted); }

  .m-recipe .rt { font-weight: 700; font-size: 15px; }
  .m-recipe .meta { font-size: 11px; color: var(--muted); font-family: "JetBrains Mono", monospace; margin-top: 2px; }
  .m-recipe .ing { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
  .m-recipe .ing .q { color: var(--muted); font-family: "JetBrains Mono", monospace; }
  .m-recipe .stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
  .m-recipe .st { background: var(--surface-2); border-radius: 8px; padding: 9px 10px; }
  .m-recipe .st .k { font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
  .m-recipe .st .v { font-family: "JetBrains Mono", monospace; font-size: 15px; margin-top: 3px; }
  .m-recipe .st .v.good { color: var(--pos); }

  .m-thread .msg { border-left: 2px solid var(--accent); padding: 4px 0 4px 12px; margin-bottom: 12px; }
  .m-thread .msg .who { font-size: 11px; font-family: "JetBrains Mono", monospace; color: var(--muted); }
  .m-thread .msg .txt { font-size: 13px; margin-top: 2px; }
  .m-thread .msg.urgent .who::after { content: " · URGENT"; color: var(--neg); }
  .m-thread .sect { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 4px 0 8px; }
  .m-thread .item { display: flex; gap: 8px; align-items: center; font-size: 12.5px; padding: 5px 0; }
  .m-thread .item i { width: 14px; height: 14px; border: 1.5px solid var(--accent); border-radius: 4px; display: block; flex-shrink: 0; }
  .m-thread .item.done i { background: var(--accent); }
  .m-thread .item.done span { color: var(--muted); text-decoration: line-through; }

  .m-fiche .fh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 2px; }
  .m-fiche .fh .fn { font-weight: 700; font-size: 15px; }
  .m-fiche .fh .fr { font-size: 10.5px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
  .m-fiche .doc { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .m-fiche .doc .dn { flex: 1; }
  .m-fiche .doc .dd { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
  .m-fiche .doc .badge { font-family: "JetBrains Mono", monospace; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
  .m-fiche .doc .badge.ok { color: var(--pos); background: color-mix(in srgb, var(--pos) 14%, transparent); }
  .m-fiche .doc .badge.warn { color: var(--neg); background: color-mix(in srgb, var(--neg) 14%, transparent); }
  .m-fiche .sect { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 12px 0 2px; }
  .m-fiche .alert { margin-top: 12px; font-size: 12px; border-left: 2px solid var(--neg); padding-left: 10px; color: var(--ink-soft); line-height: 1.45; }

  /* ---------- MORE ---------- */
  .more { margin-top: 92px; border-top: 1px solid var(--line); padding-top: 44px; }
  @media (max-width: 860px) { .more { margin-top: 60px; } }
  .more .kicker { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 6px; }
  .more .lede { color: var(--ink-soft); font-size: 1.02rem; max-width: 52ch; margin-bottom: 30px; }
  .more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 860px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
  .more-grid .m {
    border: 1px solid var(--line); border-radius: 11px; padding: 17px 18px; background: var(--surface);
  }
  .more-grid .m h4 { font-family: "Hanken Grotesk", sans-serif; font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
  .more-grid .m p { font-size: 13px; color: var(--muted); line-height: 1.5; }

  /* ---------- TEAM / EMPLOYEE ---------- */
  .team-wrap { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .team-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
  @media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; gap: 36px; } }
  .team-points { list-style: none; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
  .team-points li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
  .team-points li b { display: block; font-size: 15px; }
  .team-points li span { color: var(--ink-soft); font-size: 14px; }
  .team-points li::before {
    content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
    margin-top: 8px;
  }
  .phone {
    width: 216px; margin: 0 auto; flex-shrink: 0;
    border: 9px solid #241B33; border-radius: 30px;
    background: var(--surface); overflow: hidden; box-shadow: var(--shadow);
  }
  .phone .top { background: #241B33; color: #F1ECE3; padding: 8px 14px 12px; }
  .phone .top .h { font-weight: 700; font-size: 13px; }
  .phone .top .s { font-size: 10px; color: #B3A8C4; font-family: "JetBrains Mono", monospace; }
  .phone .modes { display: flex; gap: 4px; padding: 10px 12px 6px; }
  .phone .modes span { font-size: 9px; padding: 4px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
  .phone .modes span.on { background: var(--accent); color: #fff; }
  .phone .day { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 8px; font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); }
  .phone .day b { color: var(--accent); }
  .phone .sh { margin: 0 12px 7px; padding: 8px 10px; border-radius: 8px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
  .phone .sh .t { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 500; color: var(--accent-ink); }
  .phone .sh .p { font-size: 10.5px; color: var(--ink-soft); }
  .phone .sh.free { background: transparent; border-style: dashed; }
  .phone .sh.free .t { color: var(--muted); }
  .phone .pad { height: 12px; }

  /* ---------- EARLY ---------- */
  .early-wrap { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .early-wrap .statement {
    font-family: "Newsreader", Georgia, serif; font-weight: 400;
    font-size: clamp(1.35rem, 3.2vw, 1.95rem); line-height: 1.4; letter-spacing: -0.01em;
    max-width: 32ch; margin: 12px 0 0;
  }

  /* ---------- POSITIONING ---------- */
  .pos-wrap { background: var(--band); color: var(--band-ink); }
  .pos-wrap .sec-head h2 em { color: #C9B6E8; }
  .pos-wrap .sec-head p { color: var(--band-muted); }

  /* ---------- TRUST ---------- */
  .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
  @media (max-width: 780px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
  .trust-grid .t {
    border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--surface);
  }
  .trust-grid .t .h { font-weight: 700; font-size: 14.5px; }
  .trust-grid .t .d { font-size: 13px; color: var(--muted); margin-top: 5px; }

  /* ---------- START ---------- */
  .start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
  @media (max-width: 780px) { .start-grid { grid-template-columns: 1fr; } }
  .start-step { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--surface); }
  .start-step .when { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
  .start-step h3 { font-size: 1.08rem; font-weight: 700; margin: 8px 0 8px; font-family: "Hanken Grotesk", sans-serif; }
  .start-step p { font-size: 0.94rem; color: var(--ink-soft); }

  /* ---------- COMPARISON ---------- */
  .cmp { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14.5px; }
  .cmp th, .cmp td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
  .cmp thead th { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 500; vertical-align: bottom; }
  .cmp thead th.daph { color: var(--accent-ink); background: var(--accent-soft); font-weight: 700; box-shadow: inset 0 3px 0 var(--accent); }
  .cmp thead th:not(:first-child) { text-align: center; }
  .cmp tbody td { text-align: center; }
  .cmp tbody td:first-child { text-align: left; font-weight: 600; }
  .cmp td.daph { background: var(--accent-soft); }
  .cmp .yes { color: var(--accent); font-weight: 700; }
  .cmp .no { color: var(--muted); }
  .cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
  .cmp tbody tr:last-child td { border-bottom: none; }
  @media (max-width: 620px) { .cmp { font-size: 13px; } .cmp th, .cmp td { padding: 10px 8px; } }

  /* ---------- PRICING ---------- */
  .price-wrap { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .price-card {
    max-width: 460px; margin: 0 auto; background: var(--surface);
    border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
    padding: 34px 32px; text-align: center;
  }
  .price-card .cap { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
  .price-card .amount { font-family: "Newsreader", serif; font-size: 3.4rem; line-height: 1; margin: 14px 0 4px; letter-spacing: -0.02em; }
  .price-card .amount span { font-family: "Hanken Grotesk", sans-serif; font-size: 1rem; color: var(--muted); font-weight: 500; }
  .price-card .amount s { font-size: 1.6rem; color: var(--muted); text-decoration-thickness: 2px; margin-right: 4px; }
  .price-card .per { font-size: 13px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
  .price-card ul { list-style: none; text-align: left; margin: 24px 0; display: flex; flex-direction: column; gap: 11px; }
  .price-card li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
  .price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
  .price-card .btn { width: 100%; justify-content: center; }
  .price-card .fine { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

  /* ---------- FAQ ---------- */
  .faq details {
    border-bottom: 1px solid var(--line); padding: 6px 0;
  }
  .faq summary {
    cursor: pointer; list-style: none; padding: 16px 0;
    font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.4rem; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }

  /* ---------- FINAL CTA ---------- */
  .final { background: var(--band); color: var(--band-ink); text-align: center; }
  .final h2 {
    font-family: "Newsreader", serif; font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.015em;
    max-width: 20ch; margin: 0 auto 16px; text-wrap: balance;
  }
  .final h2 em { font-style: italic; color: #C9B6E8; }
  .final p { color: var(--band-muted); max-width: 44ch; margin: 0 auto 30px; }
  .final .hero-actions { justify-content: center; }

  /* ---------- FOOTER ---------- */
  footer {
    background: var(--ground); border-top: 1px solid var(--line);
    padding: 40px 0; font-size: 13.5px; color: var(--muted);
  }
  .foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
  .foot-links a { text-decoration: none; }
  .foot-links a:hover { color: var(--accent-ink); }
  .foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
  .foot-brand .mark { width: 26px; height: 26px; border-radius: 7px; }
  .foot-brand .mark svg { width: 17px; height: 17px; }

  ::selection { background: var(--accent); color: #fff; }

  /* ================== AJOUTS — refonte novembre 2026 ================== */

  /* Nav : bouton essai + lien démo */
  .nav-links a[aria-current="page"] { color: var(--accent-ink); font-weight: 600; }
  .nav-demo { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
  .nav-demo:hover { text-decoration: underline; }
  .nav-links .demo-mobile { display: none; }
  @media (max-width: 1040px) { .nav-links { gap: 20px; } }
  @media (max-width: 860px) { .nav-links .demo-mobile { display: block; } .nav-demo { display: none; } }
  @media (max-width: 520px) { .nav-cta .btn-primary { padding: 9px 13px; font-size: 13px; } }

  .btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
  .btn-light { background: #fff; color: #241B33; }
  .btn-light:hover { transform: translateY(-1px); background: #F1ECE3; }

  .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--band-muted); font-family: "JetBrains Mono", monospace; }
  .hero-trust span::before { content: "✓ "; color: #C9B6E8; }

  /* Sous-pages (piliers) */
  .hero.sub-hero { padding: 72px 0 80px; }
  .hero.sub-hero h1 { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 3.4rem); }
  .crumbs { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--band-muted); }
  .crumbs a { text-decoration: none; color: var(--band-muted); }
  .crumbs a:hover { color: #fff; }
  .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .jump a { font-size: 13px; text-decoration: none; color: var(--band-ink); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 6px 13px; }
  .jump a:hover { border-color: #fff; }

  /* Piliers */
  .pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  @media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
  .pillar {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; padding: 26px 26px 22px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
    transition: border-color .18s ease, transform .18s ease;
  }
  .pillar:hover { border-color: var(--accent); transform: translateY(-2px); }
  .pillar .ph { display: flex; align-items: center; gap: 12px; }
  .pillar .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
  .pillar .ic svg { width: 21px; height: 21px; }
  .pillar h3 { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.01em; }
  .pillar .lead { color: var(--ink-soft); margin: 12px 0 14px; font-size: 1rem; }
  .pillar ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
  .pillar li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-soft); }
  .pillar li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
  .pillar .more-link { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--accent-ink); }
  .pillar .more-link::after { content: " →"; }

  /* Mise en avant (spotlight) */
  .spot { background: var(--band); color: var(--band-ink); }
  .spot .sec-head p { color: var(--band-muted); }
  .spot .sec-head h2 em { color: #C9B6E8; }
  .spot .eyebrow { color: var(--band-muted); }
  .spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  @media (max-width: 860px) { .spot-grid { grid-template-columns: 1fr; gap: 26px; } }
  .spot-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
  .spot-points li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
  .spot-points .n { width: 26px; height: 26px; border-radius: 50%; background: rgba(201,182,232,0.18); color: #C9B6E8; display: grid; place-items: center; font-family: "JetBrains Mono", monospace; font-size: 12px; }
  .spot-points b { display: block; font-size: 15px; }
  .spot-points span { color: var(--band-muted); font-size: 14px; }

  /* Maquette facture */
  .m-invoice { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; }
  @media (max-width: 560px) { .m-invoice { grid-template-columns: 1fr; } }
  .m-paper { background: #FBFAF6; border: 1px solid #E6E0D4; border-radius: 6px; padding: 12px; color: #3A3340; font-family: "JetBrains Mono", monospace; font-size: 8.5px; line-height: 1.55; transform: rotate(-1.2deg); box-shadow: 0 6px 16px -10px rgba(0,0,0,.35); }
  .m-paper .pt { font-weight: 600; font-size: 10px; margin-bottom: 6px; }
  .m-paper .pl { display: flex; justify-content: space-between; border-bottom: 1px dashed #DDD5C6; padding: 2px 0; }
  .m-paper .tot { margin-top: 6px; display: flex; justify-content: space-between; font-weight: 600; }
  .m-lines .lh { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); font-family: "JetBrains Mono", monospace; margin-bottom: 6px; }
  .m-lines .lh .ai { color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
  .m-lines .ln { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .m-lines .ln .q { font-family: "JetBrains Mono", monospace; color: var(--muted); font-size: 11px; }
  .m-lines .ln .p { font-family: "JetBrains Mono", monospace; font-size: 11.5px; text-align: right; }
  .m-lines .ln .tag { font-size: 9.5px; font-family: "JetBrains Mono", monospace; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
  .tag.up { color: var(--neg); background: color-mix(in srgb, var(--neg) 13%, transparent); }
  .tag.down { color: var(--pos); background: color-mix(in srgb, var(--pos) 13%, transparent); }
  .tag.new { color: var(--muted); background: var(--surface-2); }
  .tag.ok { color: var(--pos); background: color-mix(in srgb, var(--pos) 13%, transparent); }
  .tag.warn { color: #9A6B10; background: color-mix(in srgb, #D4A017 18%, transparent); }
  .m-lines .lf { display: flex; justify-content: space-between; margin-top: 9px; font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
  .m-lines .lf .pos { color: var(--pos); }

  /* Maquettes génériques : liste à lignes */
  .m-list .li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
  .m-list .li:last-child { border-bottom: none; }
  .m-list .li .s { display: block; font-size: 10.5px; color: var(--muted); font-family: "JetBrains Mono", monospace; margin-top: 1px; }
  .m-list .li .v { font-family: "JetBrains Mono", monospace; font-size: 12px; text-align: right; white-space: nowrap; }
  .m-list .hd { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 4px 0 4px; }
  .m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
  @media (max-width: 480px) { .m-tiles { grid-template-columns: 1fr; } }
  .m-tiles .t { background: var(--surface-2); border-radius: 8px; padding: 9px 10px; }
  .m-tiles .t .k { font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
  .m-tiles .t .v { font-family: "JetBrains Mono", monospace; font-size: 15px; margin-top: 3px; }
  .m-tiles .t .v.neg { color: var(--neg); }
  .m-tiles .t .v.pos { color: var(--pos); }

  /* Barre de progression (inventaire, couverture) */
  .m-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: 5px; }
  .m-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

  /* Assistant */
  .m-chat { display: flex; flex-direction: column; gap: 10px; }
  .m-chat .q, .m-chat .a { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
  .m-chat .q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
  .m-chat .a { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
  .m-chat .a .go { display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 600; color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 999px; padding: 2px 9px; }

  /* Courriel */
  .m-mail .mh { font-size: 11px; color: var(--muted); font-family: "JetBrains Mono", monospace; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; line-height: 1.6; }
  .m-mail .mh b { color: var(--ink); font-weight: 500; }
  .m-mail .look { border-left: 2px solid var(--accent); padding: 2px 0 2px 10px; font-size: 12px; color: var(--ink-soft); margin: 10px 0 0; }
  .m-mail .look div + div { margin-top: 3px; }
  .m-mail .pdf { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-family: "JetBrains Mono", monospace; font-size: 11px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; color: var(--ink-soft); }

  /* Démo : deux cartes */
  .demo-wrap { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 760px) { .demo-cards { grid-template-columns: 1fr; } }
  .demo-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .18s ease, transform .18s ease; }
  .demo-card:hover { border-color: var(--accent); transform: translateY(-2px); }
  .demo-card .k { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .demo-card h3 { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
  .demo-card p { color: var(--ink-soft); font-size: 14.5px; }
  .demo-card .go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent-ink); }
  .demo-card .go::after { content: " →"; }
  .demo-fine { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

  /* Comparatif : prix en ligne finale */
  .cmp .price-row td { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 500; }
  .cmp .price-row td:first-child { font-family: "Hanken Grotesk", sans-serif; font-size: 14.5px; font-weight: 600; }
  .cmp .partial { color: var(--muted); font-size: 12.5px; }
  .pos-wrap .cmp-note { margin-top: 14px; font-size: 13px; color: var(--band-muted); max-width: 70ch; }

  /* Autres piliers (bas des sous-pages) */
  .others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 780px) { .others { grid-template-columns: 1fr; } }
  .others a { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--surface); text-decoration: none; color: var(--ink); }
  .others a:hover { border-color: var(--accent); }
  .others a b { display: block; font-size: 15px; }
  .others a span { font-size: 13px; color: var(--muted); }

  .honest { margin-top: 30px; border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-soft); background: var(--surface); }
  .honest b { color: var(--ink); }

  .phone .modes { flex-wrap: wrap; }
