/* Orvok — feuille de style du site. */
  :root {
    --u: min(calc(100vw / 1600), calc(100vh / 780), 1.6px);
    --fw: calc(1600 * var(--u));
    --hair: max(1px, var(--u));
    --pad: clamp(20px, 5.6vw, 56px);

    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --text-heading: rgba(255, 255, 255, .86);
    --text-muted: rgba(255, 255, 255, .7);

    --bg: #f6f5f1;
    --surface: #ffffff;
    --ink: #151513;
    --ink-2: #6e6e73;
    --ink-3: #86868b;
    --line: rgba(0, 0, 0, .08);
    --night: #0c0d0b;
    --night-2: #191a17;
    --night-3: #151513;
    --night-line: rgba(255, 255, 255, .1);
    --accent: #1f8a66;
    --accent-2: #8fd6b8;
    --ok: #30b37a;
    --warn: #e5a13a;
    --danger: #ef5a4f;

    --r-card: 28px;
    --r-inner: 18px;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .03), 0 8px 30px rgba(0, 0, 0, .05);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .12);

    --expo: cubic-bezier(.16, 1, .3, 1);
    --soft: cubic-bezier(.22, .65, .28, 1);
    --nav-h: 60px;
    --wrap: 1240px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -.022em;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
  }
  body.locked { overflow: hidden; }
  img, svg, video { display: block; }
  img { max-width: 100%; }
  button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  a { color: inherit; -webkit-tap-highlight-color: transparent; }
  ::selection { background: var(--accent); color: #fff; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

  .i { width: 1em; height: 1em; flex: none; }
  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .progressbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left center; transform: scaleX(0); pointer-events: none; }

  /* =====================================================================
     BUTTONS
     ===================================================================== */
  .btn {
    --h: 50px;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding: 0 26px;
    border-radius: 999px;
    font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: -.02em;
    text-decoration: none; white-space: nowrap; user-select: none;
    transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .5s var(--expo);
  }
  .btn:active { transform: scale(.97) !important; transition-duration: .1s; }
  .btn .arrow { position: relative; display: grid; place-items: center; width: 26px; height: 26px; margin-right: -12px; border-radius: 50%; overflow: hidden; }
  .btn .arrow svg { width: 14px; height: 14px; transition: transform .55s var(--expo); }
  .btn .arrow svg + svg { position: absolute; transform: translateX(-26px); }
  .btn:hover .arrow svg:first-child { transform: translateX(26px); }
  .btn:hover .arrow svg + svg { transform: translateX(0); }

  .btn-primary { background: var(--ink); color: #fff; }
  .btn-primary .arrow { background: rgba(255, 255, 255, .14); }
  .btn-primary:hover { background: #000; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35); }
  .btn-accent { background: var(--accent); color: #fff; }
  .btn-accent .arrow { background: rgba(255, 255, 255, .2); }
  .btn-accent:hover { background: #177fa5; box-shadow: 0 12px 30px -8px rgba(31, 138, 102, .55); }
  .btn-soft { background: rgba(0, 0, 0, .05); color: var(--ink); }
  .btn-soft .arrow { background: rgba(0, 0, 0, .06); }
  .btn-soft:hover { background: rgba(0, 0, 0, .09); }
  .btn-block { width: 100%; }
  .btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }

  /* =====================================================================
     NAV
     ===================================================================== */
  .nav-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); color: #fff; transition: background .45s ease, color .45s ease, box-shadow .45s ease, transform .6s var(--expo); }
  .nav-bar.is-solid { color: var(--ink); background: rgba(245, 245, 247, .72); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: 0 1px 0 var(--line); }
  .nav-bar.is-hidden { transform: translateY(-100%); }
  .nav-inner { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); height: 100%; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 36px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand svg { width: 20px; height: 20px; fill: currentColor; transition: transform 1s var(--expo); }
  .brand:hover svg { transform: rotate(90deg); }
  .brand span { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
  .nav-links { display: flex; gap: 30px; margin-left: auto; list-style: none; }
  .nav-links a { position: relative; font-size: 14px; letter-spacing: -.01em; text-decoration: none; opacity: .8; transition: opacity .2s; }
  .nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .45s var(--expo); }
  .nav-links a:hover, .nav-links a.is-active { opacity: 1; }
  .nav-links a.is-active::after { transform: scale(1); }
  .nav-side { display: flex; align-items: center; gap: 18px; }
  .nav-login { font-size: 14px; text-decoration: none; opacity: .8; transition: opacity .2s; }
  .nav-login:hover { opacity: 1; }
  .nav-cta { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; background: #fff; color: var(--ink); transition: background .3s, color .3s, transform .5s var(--expo); }
  .nav-cta:active { transform: scale(.96); }
  .nav-bar.is-solid .nav-cta { background: var(--ink); color: #fff; box-shadow: none; }
  .nav-bar.is-solid .nav-cta::before { display: none; }
  .menu-open .nav-bar .nav-cta::before { display: none; }
  .burger { display: none; width: 40px; height: 40px; margin-right: -8px; position: relative; }
  .burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--expo), top .5s var(--expo); }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 23px; }
  .menu-open .burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
  .menu-open .burger span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

  .menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom)); background: rgba(245, 245, 247, .96); -webkit-backdrop-filter: saturate(1.8) blur(24px); backdrop-filter: saturate(1.8) blur(24px); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
  .menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s ease; }
  .menu-open .nav-bar { color: var(--ink); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .nav-bar .nav-cta { background: var(--ink); color: #fff; }
  .menu ul { list-style: none; }
  .menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
  .menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.025em; text-decoration: none; transform: translateY(100%); opacity: 0; transition: transform .8s var(--expo), opacity .6s ease; }
  .menu li a svg { width: 18px; height: 18px; color: var(--ink-3); }
  .menu-open .menu li a { transform: none; opacity: 1; }
  .menu-open .menu li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .menu li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .menu li:nth-child(4) a { transition-delay: .12s; }
  .menu-open .menu li:nth-child(5) a { transition-delay: .16s; }
  .menu-foot { display: grid; gap: 10px; }

  /* =====================================================================
     CINEMATIC SECTIONS (hero + closing) — design frame 1600 × 780
     ===================================================================== */
  .cine { position: relative; height: 100vh; height: 100svh; overflow: hidden; color: #fff; background: #1f8a66; isolation: isolate; }
  .bg { position: absolute; inset: 0; overflow: hidden; background: #1f8a66; will-change: transform; }
  .bg video { position: absolute; right: 0; bottom: calc(-45 * var(--u)); width: calc(1668 * var(--u)); height: calc(1037 * var(--u)); min-width: 100%; min-height: calc(100% + 45 * var(--u)); object-fit: cover; object-position: right bottom; filter: saturate(0.86); }
  .scrim { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
  @media (min-aspect-ratio: 17/10) { .scrim { height: calc(450 * var(--u)); background: linear-gradient(180deg, rgba(4, 20, 32, .48) 0%, rgba(4, 20, 32, .25) 45%, rgba(4, 20, 32, 0) 100%); } }
  @media (min-aspect-ratio: 19/10) { .scrim { height: calc(470 * var(--u)); background: linear-gradient(180deg, rgba(4, 20, 32, .58) 0%, rgba(4, 20, 32, .31) 45%, rgba(4, 20, 32, 0) 100%); } }
  @media (min-aspect-ratio: 21/10) { .bg video { object-position: right 76%; } .scrim { height: calc(480 * var(--u)); background: linear-gradient(180deg, rgba(4, 20, 32, .56) 0%, rgba(4, 20, 32, .30) 45%, rgba(4, 20, 32, 0) 100%); } }
  @media (min-aspect-ratio: 5/4) and (max-aspect-ratio: 31/20) { .scrim { height: calc(410 * var(--u)); background: linear-gradient(180deg, rgba(4, 20, 32, .26) 0%, rgba(4, 20, 32, .13) 45%, rgba(4, 20, 32, 0) 100%); } }

  .stage { position: absolute; left: 50%; top: 0; width: var(--fw); height: 100%; transform: translateX(-50%); pointer-events: none; }
  .stage > * { pointer-events: auto; }
  .abs { position: absolute; }

  .eyebrow { left: calc(46.6 * var(--u)); top: calc(128.2 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; line-height: 1; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
  .headline-mask { left: calc(44.6 * var(--u)); top: calc(160.0 * var(--u)); }
  .headline { display: block; font-family: var(--font-display); font-weight: 600; font-size: calc(66 * var(--u)); line-height: 1.04; letter-spacing: -.028em; white-space: nowrap; }
  .lede { left: calc(46.4 * var(--u)); top: calc(245.2 * var(--u)); width: calc(470 * var(--u)); font-size: calc(18 * var(--u)); line-height: calc(25 * var(--u)); letter-spacing: -.02em; }
  .actions { left: calc(46.8 * var(--u)); top: calc(335.0 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); }
  .cta { position: relative; display: inline-flex; align-items: center; gap: calc(10 * var(--u)); height: calc(46 * var(--u)); padding: 0 calc(24 * var(--u)); border: 0; border-radius: 999px; background: #fff; color: #000; font-family: var(--font-body); font-size: calc(16 * var(--u)); font-weight: 500; letter-spacing: -.015em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .3s ease, transform .5s var(--expo), box-shadow .3s ease; }
  .cta:hover { box-shadow: 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .22); }
  .cta:active { transform: scale(.97) !important; }
  .cta-glass { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
  .cta-glass:hover { background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
  .cta svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); transition: transform .5s var(--expo); }
  .cta:hover svg { transform: translateX(3px); }

  .cue { left: 50%; bottom: calc(34 * var(--u)); transform: translateX(-50%); display: block; text-decoration: none; color: #fff; }
  .cue i { display: block; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); position: relative; }
  .cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--expo) infinite; }
  @keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

  .signup { display: flex; gap: calc(10 * var(--u)); }
  .signup input { width: calc(300 * var(--u)); height: calc(46 * var(--u)); padding: 0 calc(20 * var(--u)); border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; font: 400 calc(16 * var(--u)) var(--font-body); letter-spacing: -.015em; outline: none; transition: box-shadow .25s, background .25s; }
  .signup input::placeholder { color: rgba(255, 255, 255, .75); }
  .signup input:focus { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px #fff; }

  .footer { position: absolute; left: 0; right: 0; bottom: 0; height: calc(342 * var(--u)); overflow: hidden; -webkit-backdrop-filter: blur(calc(50 * var(--u))) saturate(0.85); backdrop-filter: blur(calc(50 * var(--u))) saturate(0.85);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.072) calc(20 * var(--u)), rgba(255, 255, 255, 0) calc(58 * var(--u))), linear-gradient(270deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.05) calc(20 * var(--u)), rgba(255, 255, 255, 0) calc(58 * var(--u))), linear-gradient(180deg, rgba(34, 14, 0, 0.28) 0%, rgba(70, 34, 0, 0.24) 52%, rgba(160, 120, 48, 0.6) 100%);
    box-shadow: inset var(--hair) 0 0 rgba(255, 255, 255, .145), inset calc(-1 * var(--hair)) 0 0 rgba(255, 255, 255, .125), inset 0 calc(-1 * var(--hair)) 0 rgba(255, 255, 255, .17), inset 0 var(--hair) 0 rgba(255, 255, 255, .03); }
  .finner { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: var(--fw); height: 100%; }
  .mark { display: block; left: calc(26.6 * var(--u)); top: calc(36.2 * var(--u)); width: calc(25.4 * var(--u)); height: calc(25.4 * var(--u)); fill: #fff; }
  .wordmark { left: calc(62.8 * var(--u)); top: calc(34.5 * var(--u)); font-family: var(--font-display); font-size: calc(24 * var(--u)); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
  .tagline { left: calc(26.6 * var(--u)); top: calc(73.0 * var(--u)); width: calc(290 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: calc(19 * var(--u)); letter-spacing: -.01em; color: var(--text-muted); }
  .col { top: calc(37.0 * var(--u)); }
  .c1 { left: calc(938.4 * var(--u)); } .c2 { left: calc(1185.0 * var(--u)); } .c3 { left: calc(1450.6 * var(--u)); }
  .col h3 { font-size: calc(12.5 * var(--u)); font-weight: 600; letter-spacing: .08em; color: var(--text-heading); white-space: nowrap; }
  .col ul { position: absolute; top: calc(31.0 * var(--u)); list-style: none; }
  .col li { line-height: calc(27 * var(--u)); white-space: nowrap; }
  .col a { font-size: calc(15 * var(--u)); letter-spacing: -.015em; color: #fff; text-decoration: none; transition: opacity .2s; }
  .col a:hover { opacity: .6; }
  .rule { left: calc(26.6 * var(--u)); width: calc(1546.8 * var(--u)); top: calc(207.5 * var(--u)); height: var(--hair); background: rgba(255, 255, 255, .42); transform-origin: left center; }
  .legal { left: calc(26.6 * var(--u)); top: calc(271.2 * var(--u)); font-size: calc(13.5 * var(--u)); letter-spacing: -.01em; color: var(--text-muted); white-space: nowrap; }
  .socials { left: calc(1375.8 * var(--u)); top: calc(264.4 * var(--u)); display: flex; gap: calc(47.1 * var(--u)); }
  .socials a { display: block; width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: #fff; transition: opacity .2s, transform .5s var(--expo); }
  .socials a:hover { opacity: .68; transform: translateY(-2px); }
  .socials svg { width: 100%; height: 100%; fill: currentColor; }


  /* =====================================================================
     HERO — fullscreen video, liquid glass, cinematic serif
     ===================================================================== */
  .hero {
    --h-muted: hsl(240 4% 66%);
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: hsl(201 100% 13%);
    color: #fff;
    isolation: isolate;
  }
  .hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
  .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-content {
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    width: 100%; padding: calc(var(--nav-h) + 90px) 24px 90px;
  }
  .hero-title {
    max-width: 1280px;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: .95;
    letter-spacing: -2.46px;
  }
  .hero-title em { font-style: normal; color: var(--h-muted); }
  .hero-sub {
    max-width: 672px; margin-top: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px; line-height: 1.625; letter-spacing: 0;
    color: var(--h-muted);
  }
  .hero-cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 48px; padding: 20px 56px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0;
    color: #fff; text-decoration: none; cursor: pointer;
    transition: transform .3s ease;
  }
  .hero-cta:hover { transform: scale(1.03); }
  @media (min-width: 640px) { .hero-title { font-size: 72px; } .hero-sub { font-size: 18px; } }
  @media (min-width: 768px) { .hero-title { font-size: 96px; } }

  .liquid-glass {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
  }
  .liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  @keyframes fade-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .animate-fade-rise { animation: fade-rise 0.8s ease-out both; }
  .animate-fade-rise-delay { animation: fade-rise 0.8s ease-out 0.2s both; }
  .animate-fade-rise-delay-2 { animation: fade-rise 0.8s ease-out 0.4s both; }

  /* Nav over the hero: Instrument Serif wordmark, muted links, liquid-glass CTA */
  .nav-bar:not(.is-solid) .nav-links a { opacity: 1; color: hsl(240 4% 66%); transition: color .2s; }
  .nav-bar:not(.is-solid) .nav-links a:hover, .nav-bar:not(.is-solid) .nav-links a.is-active { color: #fff; }
  .nav-bar:not(.is-solid) .nav-login { opacity: 1; color: hsl(240 4% 66%); }
  .nav-bar:not(.is-solid) .nav-login:hover { color: #fff; }
  .nav-bar:not(.is-solid) .nav-cta { height: auto; padding: 10px 24px; background: rgba(255, 255, 255, 0.01); color: #fff; transition: transform .3s ease, background .3s, color .3s; }
  .nav-bar:not(.is-solid) .nav-cta:hover { transform: scale(1.03); }
  .menu-open .nav-bar:not(.is-solid) .nav-cta { background: var(--ink); color: #fff; box-shadow: none; }
  .nav-bar:not(.is-solid) .nav-inner { max-width: 1280px; padding: 0 32px; }
  @media (max-width: 640px) { .nav-bar:not(.is-solid) .nav-inner { padding: 0 var(--pad); } }

  /* =====================================================================
     CONTENT SECTIONS
     ===================================================================== */
  .sec { position: relative; padding: clamp(72px, 8.5vw, 124px) 0; }
  .kicker { display: inline-block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
  .dark .kicker, .story .kicker { color: var(--accent-2); }
  .h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -.032em; max-width: 20ch; text-wrap: balance; }
  .h2 em, .statement em { font-style: normal; color: var(--ink-3); }
  .dark .h2 em { color: #6e6e73; }
  .lead { text-wrap: pretty; margin-top: 16px; max-width: 46ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.42; letter-spacing: -.022em; color: var(--ink-2); }
  .dark .lead { color: #a1a1a6; }
  .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
  .sec-head.center { flex-direction: column; align-items: center; text-align: center; }
  .sec-head.center .h2 { max-width: 22ch; }
  .sec-head.center .lead { margin-left: auto; margin-right: auto; }
  .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .wi { display: inline-block; }
  .card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); }

  /* Marquee */
  .marquee { position: relative; overflow: hidden; padding: 20px 0; background: var(--surface); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee ul { display: flex; list-style: none; }
  .marquee li { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font-size: 15px; letter-spacing: -.015em; color: var(--ink-2); white-space: nowrap; }
  .marquee li .i { width: 18px; height: 18px; color: var(--ok); }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* Collage (scroll-driven) */
  .collage { position: relative; height: 230vh; background: var(--bg); }
  .collage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  .collage-title { position: absolute; left: 50%; top: 50%; z-index: 6; width: min(90vw, 760px); transform: translate(-50%, -50%); text-align: center; }
  .collage-title .h2 { margin: 10px auto 0; max-width: 12ch; font-size: clamp(36px, 4.2vw, 60px); }
  .collage-title .lead { font-size: clamp(16px, 1.3vw, 19px); }
  .collage-title .lead { margin: 20px auto 0; max-width: 38ch; }
  .collage-title .btn { margin-top: 30px; }
  .ph { position: absolute; left: 50%; top: 50%; z-index: 2; width: var(--w); margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .4); transform: translate(-50%, -50%); will-change: transform; background: #ddd; }
  .ph img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; }
  .ph figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: #fff; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
  .ph figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
  .ph1 { --w: min(22vw, 38vh); --ar: 1 / 1; }
  .ph2 { --w: min(18vw, 30vh); --ar: 736 / 981; }
  .ph3 { --w: min(16vw, 27vh); --ar: 528 / 792; }
  .ph4 { --w: min(19vw, 31vh); --ar: 736 / 920; }

  /* Agents slider */
  .slider-ctrl { display: flex; align-items: center; gap: 10px; }
  .counter { margin-right: 8px; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
  .counter b { color: var(--ink); font-weight: 600; }
  .round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .06); color: var(--ink); transition: background .3s, opacity .3s, transform .5s var(--expo); }
  .round .i { width: 18px; height: 18px; }
  .round:hover:not(:disabled) { background: rgba(0, 0, 0, .12); }
  .round:active:not(:disabled) { transform: scale(.9); }
  .round:disabled { opacity: .35; cursor: default; }
  .track { display: flex; gap: 18px; margin-top: clamp(32px, 4vw, 48px); padding: 8px max(var(--pad), calc((100vw - var(--wrap)) / 2)) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
  .track::-webkit-scrollbar { display: none; }
  .track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }

  .agent { flex: none; width: clamp(300px, 31vw, 410px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); transition: transform .7s var(--expo), box-shadow .7s var(--expo); }
  .agent:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
  .agent-vis { position: relative; height: 262px; border-radius: 22px; overflow: hidden; background: var(--g); isolation: isolate; }
  .agent-vis::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); }
  .agent.agent-dark .agent-vis::before { background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); }
  .agent-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
  .avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 500; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
  .agent.agent-dark .avatar { background: #fff; color: var(--ink); }
  .status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .status .dot { background: var(--ok); color: var(--ok); }
  .agent.agent-dark .status { background: rgba(255, 255, 255, .12); color: #fff; }
  .mock-wrap { position: absolute; left: 22px; right: 22px; bottom: -14px; will-change: transform; }
  .mock { position: relative; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -16px rgba(0, 0, 0, .28); font-size: 12.5px; letter-spacing: -.01em; color: var(--ink); transition: transform .8s var(--expo); }
  .agent:hover .mock { transform: translateY(-8px) rotate(-1deg); }
  .mock-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 600; }
  .mock-h small { font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
  .ln { display: block; height: 6px; border-radius: 4px; background: #ececf0; margin-top: 7px; }
  .ln.hl { background: linear-gradient(90deg, #f3e2b0, #ecd08a); }
  .bubble { position: absolute; right: -6px; top: 34px; max-width: 64%; padding: 9px 11px; border-radius: 12px 12px 4px 12px; background: var(--ink); color: #fff; font-size: 11.5px; line-height: 1.35; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); transition: transform .8s var(--expo) .05s; }
  .agent:hover .bubble { transform: translate(-6px, -6px); }
  .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
  .mock-h + .row { border-top: 0; padding-top: 0; }
  .row b { font-weight: 600; }
  .row span { color: var(--ink-3); }
  .st { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
  .st.ok { background: rgba(48, 179, 122, .14); color: #1e8a5b; }
  .st.wait { background: rgba(229, 161, 58, .16); color: #a86a12; }
  .st.info { background: rgba(31, 138, 102, .14); color: #0e6b4f; }
  .mock.dark { background: #2a2a2d; color: #fff; }
  .mock .big { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
  .mock .trend { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--danger); }
  .mock svg.spark { width: 100%; height: 46px; margin-top: 10px; overflow: visible; }
  .mock-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #a1a1a6; }
  .tl { list-style: none; position: relative; padding-left: 16px; }
  .tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1.5px; background: #ececf0; }
  .tl li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; }
  .tl li::before { content: ""; position: absolute; left: -16px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--rose, #c47590); }
  .tl li.now::before { background: #c47590; }
  .tl b { font-weight: 600; }
  .faces { display: flex; }
  .faces i { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; border: 2px solid #fff; background: var(--c); }
  .faces i:first-child { margin-left: 0; }

  .agent-body { display: flex; flex-direction: column; flex: 1; padding: 22px 14px 12px; }
  .agent-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: -.005em; color: var(--tc, var(--accent)); background: var(--tb, rgba(31, 138, 102, .1)); }
  .agent h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -.03em; }
  .agent p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.015em; text-wrap: pretty; }
  .agent-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .agent-body li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; letter-spacing: -.01em; }
  .agent-body li .i { width: 13px; height: 13px; color: var(--ok); }
  .agent.soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
  .agent.soon .agent-vis { background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 12px), #efeff3; }
  .agent.soon .status .dot { background: var(--ink-3); color: var(--ink-3); }
  .agent.soon .agent-body li { background: rgba(0, 0, 0, .04); color: var(--ink-2); }
  .dots-nav { display: flex; justify-content: center; gap: 8px; }
  .dots-nav button { width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .18); transition: width .6s var(--expo), background .3s; }
  .dots-nav button.on { width: 28px; background: var(--ink); }

  /* Story (scroll-scrubbed video slot) */
  .story { position: relative; height: 340vh; background: var(--bg); }
  .story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  .story-frame { position: absolute; inset: 0; overflow: hidden; background: #000; clip-path: inset(9% 9% round 32px); -webkit-clip-path: inset(9% 9% round 32px); }
  .story-media { position: absolute; inset: 0; will-change: transform; transform: scale(1.22); }
  .story-media img, .story-media video { width: 100%; height: 100%; object-fit: cover; }
  .story-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .12) 58%, rgba(0, 0, 0, .78) 100%); }
  .story-grain { position: absolute; inset: 0; z-index: 1; opacity: .09; pointer-events: none; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .story-head { position: absolute; z-index: 2; top: calc(var(--nav-h) + 6vh); left: 0; right: 0; color: #fff; opacity: 0; }
  .story-head .h2 { color: #fff; max-width: 13ch; }
  .story-caps { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10vh; color: #fff; }
  .story-caps .wrap { position: relative; min-height: 160px; }
  .cap { position: absolute; left: var(--pad); right: calc(var(--pad) + 30px); bottom: 0; max-width: 580px; opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .7s ease, transform .9s var(--expo), filter .7s ease; }
  .cap.on { opacity: 1; transform: none; filter: none; }
  .cap time { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .cap time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
  .cap p { text-wrap: balance; margin-top: 14px; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
  .cap p span { color: rgba(255, 255, 255, .6); }
  .pips { position: absolute; z-index: 2; right: calc(var(--pad) + 2vw); bottom: 10vh; display: flex; flex-direction: column; gap: 8px; }
  .pips i { width: 4px; height: 22px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
  .pips i b { position: absolute; inset: 0; background: #fff; transform-origin: top center; transform: scaleY(0); }

  /* How it works */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
  .step { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; overflow: hidden; transition: transform .7s var(--expo), box-shadow .7s var(--expo); }
  .step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
  .step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
  .step h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
  .step p { margin-top: 10px; font-size: 16px; line-height: 1.47; color: var(--ink-2); max-width: 34ch; }
  .mini { margin-top: 22px; padding: 16px; border-radius: var(--r-inner); background: var(--bg); flex: 1; }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: background .4s, color .4s, transform .6s var(--expo); }
  .pill .dot { background: var(--ink-3); }
  .pill.on { background: var(--ink); color: #fff; transform: translateY(-2px); }
  .pill.on .dot { background: var(--ok); }
  .mini-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
  .feed { list-style: none; display: grid; gap: 6px; }
  .feed li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; letter-spacing: -.015em; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
  .feed li .dot { color: var(--ok); background: var(--ok); }
  .feed time { margin-left: auto; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
  .approve-card { padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
  .approve-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .approve-head b { font-weight: 600; font-size: 15px; }
  .approve-head span { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
  .approve-card p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
  .approve-actions { display: flex; gap: 8px; margin-top: 18px; }
  .approve-actions .btn { flex: 1; }
  .approve.done .btn-primary { background: var(--ok); }
  .approve-actions .i { width: 14px; height: 14px; }

  /* Dashboard */
  .dark { background: var(--night); color: #f6f5f1; overflow: hidden; }
  .dark::before { content: ""; position: absolute; inset: -10% -10% auto; height: 70%; background: radial-gradient(40% 50% at 25% 20%, rgba(31, 138, 102, .25), transparent 70%), radial-gradient(30% 40% at 85% 10%, rgba(176, 138, 69, .14), transparent 70%); pointer-events: none; }
  .dark .wrap { position: relative; }
  .seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .06); }
  .dark .seg { background: rgba(255, 255, 255, .1); }
  .seg button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink-2); transition: color .35s; }
  .dark .seg button { color: #a1a1a6; }
  .seg button[aria-pressed="true"] { color: var(--ink); }
  .seg-pill { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); transition: transform .6s var(--expo), width .6s var(--expo); }
  .save { margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(48, 179, 122, .14); color: #1e8a5b; }
  .mode-line { margin-top: 14px; min-height: 1.5em; font-size: 15px; color: #a1a1a6; }
  .mode-line b { color: #fff; font-weight: 600; }
  .window { margin-top: clamp(32px, 4vw, 52px); border-radius: 24px; background: var(--night-2); box-shadow: 0 0 0 1px var(--night-line), 0 60px 120px -40px rgba(31, 138, 102, .25); overflow: hidden; }
  .win-bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--night-line); }
  .win-bar i { width: 11px; height: 11px; border-radius: 50%; }
  .win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
  .win-bar span { margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 12.5px; color: #86868b; }
  .win-body { padding: clamp(14px, 2vw, 24px); display: grid; gap: 14px; }
  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .panel { border-radius: 18px; background: var(--night-3); padding: 20px; }
  .kpi small, .panel-title { display: block; font-size: 13px; font-weight: 500; color: #86868b; letter-spacing: -.01em; }
  .kpi strong { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .kpi em { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-style: normal; font-size: 13px; color: #86868b; }
  .kpi em.bad { color: var(--danger); } .kpi em.good { color: var(--ok); }
  .grid-2 { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
  .chart { margin-top: 14px; width: 100%; height: auto; overflow: visible; }
  .chart text { font: 500 11px var(--font-body); fill: #6e6e73; }
  .alerts { list-style: none; margin-top: 6px; }
  .alerts li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--night-line); font-size: 14px; line-height: 1.45; color: #e8e8ed; }
  .alerts li:last-child { border-bottom: 0; padding-bottom: 0; }
  .alerts .dot { margin-top: 6px; }
  .alerts .danger { background: var(--danger); color: var(--danger); }
  .alerts .warn { background: var(--warn); }
  .alerts .info { background: var(--accent-2); }
  .alerts b { display: block; font-weight: 400; font-size: 12.5px; color: #86868b; margin-top: 2px; }
  .acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .act { display: flex; flex-direction: column; gap: 12px; }
  .act-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .08); color: #a1a1a6; transition: background .4s, color .4s; }
  .badge.ready { background: rgba(31, 138, 102, .22); color: var(--accent-2); }
  .badge.auto { background: rgba(48, 179, 122, .18); color: var(--ok); }
  .act-amt { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; color: #f6f5f1; }
  .act p { font-size: 15px; line-height: 1.4; flex: 1; letter-spacing: -.015em; }
  .act button { height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .3s, color .3s, transform .5s var(--expo); }
  .act button:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
  .act button:active:not(:disabled) { transform: scale(.97); }
  .act button.primary { background: #fff; color: var(--ink); }
  .act button.primary:hover { background: #e8e8ed; }
  .act button:disabled { cursor: default; background: rgba(48, 179, 122, .14); color: var(--ok); }
  .act button .i { width: 14px; height: 14px; }

  /* Trust bento */
  .bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(220px, auto); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
  .tile { position: relative; padding: 30px; overflow: hidden; transition: transform .7s var(--expo), box-shadow .7s var(--expo); }
  .tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
  .tile .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); color: var(--accent); }
  .tile .ic .i { width: 24px; height: 24px; }
  .tile h3 { margin-top: 32px; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.12; letter-spacing: -.028em; }
  .tile p { text-wrap: pretty; margin-top: 8px; font-size: 15px; line-height: 1.47; color: var(--ink-2); }
  .tile-photo { grid-row: span 2; padding: 0; color: #fff; min-height: 460px; background: #111; }
  .tile-photo .ph-wrap { position: absolute; inset: 0; overflow: hidden; }
  .tile-photo img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
  .tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .8) 100%); }
  .tile-photo .tile-txt { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 30px; }
  .tile-photo h3 { margin-top: 0; font-size: clamp(26px, 2.6vw, 36px); }
  .tile-photo p { color: rgba(255, 255, 255, .78); max-width: 34ch; }
  .tile-big { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
  .tile-big .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.045em; background: linear-gradient(135deg, #1f8a66, #8fd6b8 60%, #b08a45); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* Statement */
  .statement-sec { padding: clamp(72px, 9vw, 130px) 0; background: var(--surface); }
  .statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.035em; max-width: 26ch; text-wrap: balance; }
  .statement em { color: inherit; }
  .sw { color: #d2d2d7; transition: color .4s ease; }
  .sw.on { color: var(--ink); }
  .statement em .sw.on { color: var(--accent); }
  .statement-sig { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
  .statement-sig svg { width: 20px; height: 20px; fill: var(--ink); }

  /* Pricing */
  .billing { display: flex; justify-content: center; margin-top: 26px; }
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(28px, 3.5vw, 44px); align-items: stretch; }
  .plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; transition: transform .7s var(--expo), box-shadow .7s var(--expo); }
  .plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
  .plan.featured { background: var(--ink); color: #f6f5f1; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
  .plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(80% 60% at 100% 0%, rgba(31, 138, 102, .35), transparent 60%); pointer-events: none; }
  .plan > * { position: relative; }
  .plan-level { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-3); }
  .plan.featured .plan-level { color: #86868b; }
  .plan-level mark { padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #1f8a66, #2f9f79); color: #fff; font-size: 12px; font-weight: 600; }
  .plan h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -.035em; }
  .plan-desc { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); min-height: 2.9em; text-wrap: pretty; }
  .plan.featured .plan-desc { color: #a1a1a6; }
  .price { display: flex; align-items: flex-end; gap: 8px; margin-top: 20px; height: 68px; }
  .price-num { display: inline-block; overflow: hidden; font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
  .price-num span { display: inline-block; }
  .price small { padding-bottom: 9px; font-size: 14px; line-height: 1.3; color: var(--ink-3); }
  .plan.featured .price small { color: #86868b; }
  .price-note { margin-top: 6px; min-height: 1.4em; font-size: 13px; color: var(--ink-3); }
  .plan.featured .price-note { color: #86868b; }
  .plan .btn { margin-top: 24px; }
  .plan ul { list-style: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
  .plan.featured ul { border-color: var(--night-line); }
  .plan li { display: flex; gap: 11px; font-size: 15px; line-height: 1.4; letter-spacing: -.015em; }
  .plan li .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
  .plan.featured li .i { color: var(--accent-2); }
  .plan li.head { color: var(--ink-3); font-size: 13px; font-weight: 600; }
  .plan.featured li.head { color: #86868b; }
  .plan.featured .btn-soft { background: rgba(255, 255, 255, .12); color: #fff; }
  .pricing-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 20px; padding: 28px 30px; }
  .pricing-foot h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.028em; }
  .pricing-foot p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
  .reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
  .reassure span { display: inline-flex; align-items: center; gap: 8px; }
  .reassure .i { width: 16px; height: 16px; color: var(--ok); }

  /* FAQ */
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
  .faq-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
  .faq-side .btn { margin-top: 24px; }
  .faq-list { display: grid; gap: 10px; }
  .qa { border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-card); transition: box-shadow .5s var(--expo); }
  .qa.open { box-shadow: var(--shadow-lift); }
  .qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; text-align: left; font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.022em; line-height: 1.25; }
  .qa-ico { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg); transition: background .35s, transform .6s var(--expo); }
  .qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--expo), background .35s; }
  .qa-ico::after { transform: rotate(90deg); }
  .qa.open .qa-ico { background: var(--ink); transform: rotate(180deg); }
  .qa.open .qa-ico::before, .qa.open .qa-ico::after { background: #fff; }
  .qa.open .qa-ico::after { transform: rotate(0deg); }
  .qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--expo); }
  .qa.open .qa-a { grid-template-rows: 1fr; }
  .qa-a > div { overflow: hidden; }
  .qa-a p { padding: 0 70px 24px 24px; font-size: 16px; line-height: 1.55; color: var(--ink-2); opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .6s var(--expo); }
  .qa.open .qa-a p { opacity: 1; transform: none; transition-delay: .1s; }

  /* Modal */
  .modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility 0s linear .5s; }
  .modal.open { visibility: visible; transition: none; }
  .modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s ease; }
  .modal.open .modal-bg { opacity: 1; }
  .modal-card { position: relative; width: min(500px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 40px 34px 30px; border-radius: 30px; background: var(--surface); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s ease, transform .7s var(--expo); }
  .modal.open .modal-card { opacity: 1; transform: none; }
  .modal-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .25s, transform .5s var(--expo); }
  .modal-x:hover { background: #e8e8ed; transform: rotate(90deg); }
  .modal-x .i { width: 14px; height: 14px; }
  .modal h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.08; letter-spacing: -.035em; padding-right: 30px; }
  .modal-sub { margin-top: 10px; font-size: 16px; line-height: 1.47; color: var(--ink-2); }
  .form { display: grid; gap: 16px; margin-top: 26px; }
  .field > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .field input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg); font: 400 17px var(--font-body); letter-spacing: -.02em; color: var(--ink); outline: none; transition: box-shadow .25s, background .25s; }
  .field input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(31, 138, 102, .15); }
  .chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .chips label { position: relative; }
  .chips input { position: absolute; opacity: 0; pointer-events: none; }
  .chips span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); cursor: pointer; background: var(--bg); transition: box-shadow .25s, background .25s; }
  .chips span small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
  .chips input:checked + span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 4px 14px rgba(31, 138, 102, .12); }
  .chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
  .form-note { font-size: 12.5px; color: var(--ink-3); text-align: center; }
  .success { display: none; text-align: center; padding: 16px 0 4px; }
  .modal.sent .form-wrap { display: none; }
  .modal.sent .success { display: block; }
  .success svg { width: 72px; height: 72px; margin: 0 auto 22px; }
  .success circle { stroke: var(--ok); stroke-dasharray: 176; stroke-dashoffset: 176; }
  .success path { stroke: var(--ok); stroke-dasharray: 40; stroke-dashoffset: 40; }
  .modal.sent .success circle { animation: draw .8s var(--expo) .1s forwards; }
  .modal.sent .success path { animation: draw .6s var(--expo) .55s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .success .btn { margin-top: 24px; }

  /* Toast */
  .toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: rgba(29, 29, 31, .88); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4); transform: translate(-50%, calc(100% + 60px)); transition: transform .6s var(--expo); max-width: calc(100vw - 32px); }
  .toast.show { transform: translate(-50%, 0); }
  .toast .i { width: 16px; height: 16px; color: var(--ok); }

  /* =====================================================================
     RESPONSIVE — content
     ===================================================================== */
  @media (max-width: 1100px) {
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .acts { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile-photo { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
    .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .plan-desc { min-height: 0; }
  }
  @media (max-width: 960px) {
    .nav-links, .nav-login { display: none; }
    .burger { display: block; }
    .nav-side { margin-left: auto; gap: 10px; }
    .steps { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-side { position: static; }
  }
  @media (max-width: 640px) {
    :root { --nav-h: 56px; --r-card: 24px; }
    body { font-size: 16px; }
    .sec-head .slider-ctrl { width: 100%; }
    .sec-head .slider-ctrl .counter { margin-right: auto; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .tile h3 { margin-top: 28px; }
    .tile-photo { min-height: 440px; }
    .kpis { gap: 10px; }
    .panel { padding: 16px; border-radius: 16px; }
    .kpi strong { font-size: 26px; }
    .plan { padding: 30px 22px 24px; }
    .price-num { font-size: 58px; }
    .pricing-foot { padding: 24px 22px; }
    .qa-q { padding: 20px; }
    .qa-a p { padding: 0 20px 22px; }
    .modal { padding: 0; align-items: end; }
    .modal-card { width: 100%; max-height: 92dvh; border-radius: 28px 28px 0 0; padding: 34px 22px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
    .modal h2 { font-size: 30px; }
    .seg button { padding: 0 13px; font-size: 13.5px; }
    .nav-cta { height: 32px; padding: 0 14px; }
    .btn { font-size: 16px; }
    .story { height: 290vh; }
    .story-frame { clip-path: inset(7% 4% round 24px); -webkit-clip-path: inset(7% 4% round 24px); }
    .story-caps, .pips { bottom: 8vh; }
    .collage { height: 200vh; }
    .ph { border-radius: 16px; }
    .ph figcaption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 10.5px; padding: 5px 9px 5px 8px; }
    .ph1 { --w: 40vw; } .ph2 { --w: 34vw; } .ph3 { --w: 30vw; } .ph4 { --w: 36vw; }
    .collage-title .btn { margin-top: 24px; }
  }

  /* =====================================================================
     RESPONSIVE — cinematic sections (portrait / narrow)
     ===================================================================== */
  @media (max-aspect-ratio: 5/4) {
    :root { --u: calc(100vw / 780); }
    .cine { display: flex; flex-direction: column; height: auto; min-height: 100vh; min-height: 100dvh; }
    .bg video { left: 0; right: 0; bottom: 0; width: 100%; height: 106%; min-height: 0; object-fit: cover; object-position: 80% bottom; }
    .scrim { height: min(62vh, calc(620 * var(--u))); background: linear-gradient(180deg, rgba(6, 22, 34, .5) 0%, rgba(6, 22, 34, .28) 50%, rgba(6, 22, 34, 0) 100%); }
    .abs { position: static; }
    .stage { position: relative; left: auto; top: auto; width: 100%; height: auto; transform: none; display: flex; flex-direction: column; align-items: flex-start; padding: var(--nav-h) var(--pad) 0; }
    .eyebrow { margin-top: clamp(28px, 7vh, 72px); font-size: clamp(11px, 2.9vw, 14px); }
    .headline-mask { margin-top: clamp(12px, 2vh, 18px); }
    .headline { white-space: normal; font-size: clamp(38px, 10.4vw, 72px); line-height: 1.04; }
    .lede { width: auto; max-width: 36ch; margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(16px, 4.2vw, 20px); line-height: 1.4; }
    .actions { margin-top: clamp(24px, 3.6vh, 36px); flex-wrap: wrap; gap: 10px; }
    .cta { height: 50px; padding: 0 24px; font-size: 16px; gap: 10px; }
    .cta svg { width: 14px; height: 14px; }
    .cue { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom)); }
    .hero .stage { flex: 1; padding-bottom: 90px; }
    .hero :is(.eyebrow, .headline, .lede) { text-shadow: 0 1px 18px rgba(6, 22, 34, .35); }
    .signup { width: 100%; max-width: 460px; flex-wrap: wrap; gap: 10px; }
    .signup input { flex: 1 1 220px; width: auto; height: 50px; padding: 0 20px; font-size: 16px; }
    .footer { position: relative; left: auto; right: auto; bottom: auto; height: auto; margin-top: auto; padding: clamp(24px, 3.4vh, 40px) var(--pad) calc(clamp(20px, 3vh, 34px) + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(14, 9, 4, .58), rgba(26, 16, 5, .60) 55%, rgba(52, 36, 12, .66)); -webkit-backdrop-filter: blur(28px) saturate(.9); backdrop-filter: blur(28px) saturate(.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
    .closing .stage { padding-bottom: 56px; }
    .finner { position: relative; left: auto; top: auto; width: 100%; height: auto; transform: none; }
    .brandrow { display: flex; align-items: center; gap: clamp(9px, 2.6vw, 14px); }
    .mark { width: clamp(20px, 4.6vw, 26px); height: clamp(20px, 4.6vw, 26px); flex: none; }
    .wordmark { font-size: clamp(19px, 4.6vw, 24px); line-height: 1; }
    .tagline { width: auto; max-width: 40ch; margin-top: clamp(10px, 1.6vh, 14px); font-size: clamp(13px, 3.4vw, 14.5px); line-height: 1.4; }
    .nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3.4vw, 30px); margin-top: clamp(22px, 3.2vh, 34px); }
    .col h3 { font-size: clamp(11.5px, 3vw, 13px); }
    .col ul { position: static; margin-top: clamp(8px, 1.2vh, 12px); }
    .col li { line-height: 1.7; }
    .col a { font-size: clamp(14px, 3.6vw, 16px); }
    .rule { width: 100%; height: 1px; margin-top: clamp(20px, 3.2vh, 34px); }
    .footrow { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: clamp(16px, 2.4vh, 26px); }
    .legal { font-size: clamp(12px, 3.1vw, 14px); }
    .socials { gap: clamp(20px, 5.4vw, 40px); }
    .socials a { width: clamp(22px, 5.6vw, 28px); height: clamp(22px, 5.6vw, 28px); }
  }
  @media (max-aspect-ratio: 5/4) and (max-height: 620px) { .eyebrow { margin-top: clamp(16px, 4vh, 32px); } }
  @media (max-aspect-ratio: 5/4) and (max-width: 648px) {
    .headline { max-width: 12ch; text-wrap: balance; }
    .lede { max-width: 32ch; }
    .nav { grid-template-columns: repeat(2, 1fr); }
    .c3 { grid-column: 1 / -1; }
    .c3 ul { columns: 2; column-gap: clamp(14px, 3.4vw, 30px); }
    .col li { line-height: 1.2; }
    .col a { display: inline-block; padding-block: clamp(9px, 1.1vh, 11px); }
    .footrow { flex-wrap: nowrap; }
    .legal { white-space: nowrap; }
    .socials { flex: none; }
  }
  @media (max-aspect-ratio: 5/4) and (max-width: 380px) { .footrow { flex-wrap: wrap; } .legal { white-space: normal; } }

  /* =====================================================================
     MOTION — pre-paint states
     ===================================================================== */
  .motion .cine:not(.entered) :is(.eyebrow, .lede, .actions, .mark, .wordmark, .tagline, .col, .legal, .socials a, .cue) { opacity: 0; }
  .motion .cine:not(.entered) .headline-mask { clip-path: inset(-45% -8% -10px -3%); }
  .motion .cine:not(.entered) .headline { transform: translate3d(0, 118%, 0); }
  .motion .cine:not(.entered) .rule { transform: scaleX(0); }
  .motion .nav-bar:not(.entered) { opacity: 0; }
  .motion [data-reveal]:not(.is-in), .motion [data-split]:not(.is-in), .motion [data-stagger]:not(.is-in) > * { opacity: 0; }
  .failsafe .cine :is(.eyebrow, .lede, .actions, .mark, .wordmark, .tagline, .col, .legal, .socials a, .cue), .failsafe .nav-bar, .failsafe [data-reveal], .failsafe [data-split], .failsafe [data-stagger] > * { opacity: 1 !important; }
  .failsafe .cine .headline, .failsafe .cine .rule { transform: none !important; }
  .failsafe .cine .headline-mask { clip-path: none !important; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .sw { color: var(--ink); }
    .animate-fade-rise, .animate-fade-rise-delay, .animate-fade-rise-delay-2 { animation: none; }
    .collage, .story { height: 100vh; }
    .story-head { opacity: 1; }
  }

  /* Classes remplaçant les styles inline (CSP style-src 'self') */
  .a-legal { --tc: #0e6b4f; --tb: rgba(31, 138, 102, .1); } .a-legal .agent-vis { --g: linear-gradient(160deg, #e3f3f9, #b6deed); }
  .a-admin { --tc: #8a5a12; --tb: rgba(229, 161, 58, .14); } .a-admin .agent-vis { --g: linear-gradient(160deg, #fbf1de, #efd9ac); }
  .a-fin { --tc: #151513; --tb: rgba(0, 0, 0, .07); } .a-fin .agent-vis { --g: linear-gradient(160deg, #151513, #34454f); }
  .a-veille { --tc: #a54a6a; --tb: rgba(217, 138, 163, .16); } .a-veille .agent-vis { --g: linear-gradient(160deg, #fcebf0, #f1c6d4); }
  .a-soon { --tc: #6e6e73; --tb: rgba(0, 0, 0, .05); }
  .ln.w92 { width: 92%; } .ln.w88 { width: 88%; } .ln.w85 { width: 85%; } .ln.w78 { width: 78%; } .ln.w70 { width: 70%; } .ln.w60 { width: 60%; }
  .mock-h.tight { margin-bottom: 6px; } .muted-d { color: #86868b; }
  .row.row-flat { padding-top: 0; border: 0; }
  .faces .f1 { --c: #b6deed; } .faces .f2 { --c: #efd9ac; } .faces .f3 { --c: #f1c6d4; } .faces .f4 { --c: #c9d6c2; }
  .mt0 { margin-top: 0 !important; }
  .faq-sec { padding-top: clamp(24px, 3vw, 40px); }
  .form-legal { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-align: center; }
  .form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .form-error { font-size: 13.5px; line-height: 1.45; color: #c4314b; text-align: center; }
  .form-legal a { color: var(--ink-2); }

/* =====================================================================
   PALETTE noir · bleu · blanc + touches de jaune (couleurs d'origine)
   (surcharge des tokens : structure inchangée)
   ===================================================================== */
:root {
  --bg: #f6f5f1;
  --accent: #1f8a66;
  --accent-2: #8fd6b8;
  --yellow: #e9c46a;
  --glow: #e9c46a;
  --glow-2: #e9c46a;
  --night: #0c0d0b;
  --night-2: #191a17;
  --night-3: #151513;
  --night-line: rgba(255, 255, 255, .1);
  --grad-warm: #e9c46a;
  --grad-cool: #1f8a66;
  --shadow-glow: 0 12px 30px -12px rgba(233, 196, 106, .6);
}
::selection { background: var(--glow); color: #151513; }
.progressbar { height: 3px; background: linear-gradient(90deg, #1f8a66, #8fd6b8); }

/* Titres : la seconde moitié prend la couleur du hero (bleu → lampe) */
.h2 em { background: none; color: var(--em, #86868b); }
.dark .h2 em, .story .h2 em { background: none; color: var(--em, #86868b); }
.kicker { color: var(--accent); }
.dark .kicker, .story .kicker { color: var(--glow-2); }

/* Boutons d'action : chaleur + halo, l'œil y va en premier */
.btn-accent { background: var(--grad-warm); color: #151513; box-shadow: var(--shadow-glow); }
.btn-accent .arrow { background: rgba(0, 0, 0, .12); }
.btn-accent:hover { background: var(--grad-warm); filter: saturate(1.1) brightness(1.04); box-shadow: 0 18px 44px -10px rgba(233, 196, 106, .7); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(31, 138, 102, .45); }
.nav-bar.is-solid .nav-cta { background: var(--grad-warm); color: #151513; box-shadow: 0 8px 20px -8px rgba(233, 196, 106, .6); }
.plan-level mark { background: var(--grad-warm); color: #151513; }
.plan.featured { background: linear-gradient(170deg, #191a17 0%, #0c0d0b 100%); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .14); }
.plan.featured::before { background: radial-gradient(70% 55% at 100% 0%, rgba(233, 196, 106, .28), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(31, 138, 102, .3), transparent 65%); }
.tile-big .num { background: linear-gradient(135deg, #1f8a66, #8fd6b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement em .sw.on { color: var(--glow); }
.marquee li .i { color: var(--accent); }
.seg .save { background: rgba(233, 196, 106, .14); color: #8a6d00; }
.step-n { background: var(--grad-cool); }
.dark::before { background: radial-gradient(40% 50% at 20% 15%, rgba(31, 138, 102, .35), transparent 70%), radial-gradient(35% 45% at 85% 5%, rgba(233, 196, 106, .18), transparent 70%); }
#tarifs { background: radial-gradient(60% 40% at 50% 0%, rgba(31, 138, 102, .07), transparent 70%), radial-gradient(40% 30% at 85% 60%, rgba(233, 196, 106, .07), transparent 70%); }


/* Bandeau simulation */
.sim-band { padding: 0 0 clamp(56px, 7vw, 96px); }
.sim-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 32px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(160deg, #191a17 0%, #0c0d0b 70%); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); isolation: isolate; transition: transform .7s var(--expo), box-shadow .7s var(--expo); }
.sim-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 90% 10%, rgba(233, 196, 106, .25), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(31, 138, 102, .35), transparent 70%); }
.sim-card:hover { transform: translateY(-6px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85); }
.sim-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); color: var(--glow-2); }
.sim-live .dot { background: var(--glow); color: var(--glow); }
.sim-copy h2 { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.032em; text-wrap: balance; }
.sim-copy p { margin-top: 12px; max-width: 46ch; color: #c7c7cc; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.sim-copy .btn { margin-top: 24px; }
.sim-preview { display: grid; gap: 8px; }
.sp-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; }
.sp-row time { color: #8e8e93; font-variant-numeric: tabular-nums; font-size: 13px; }
.sp-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row span { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.sp-ok { background: rgba(48, 179, 122, .18); color: #5fd6a0; }
.sp-wait { background: rgba(239, 90, 79, .18); color: #ff8a80; }
.sp-q { background: rgba(233, 196, 106, .18); color: var(--glow-2); }
.sim-card:hover .sp-row { animation: sp-pop .6s var(--expo) both; }
.sim-card:hover .sp-row:nth-child(2) { animation-delay: .06s; } .sim-card:hover .sp-row:nth-child(3) { animation-delay: .12s; } .sim-card:hover .sp-row:nth-child(4) { animation-delay: .18s; }
@keyframes sp-pop { from { transform: translateX(10px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) { .sim-card { grid-template-columns: 1fr; } }

/* Quiz / chatbot */
.quiz-sec { background: radial-gradient(50% 50% at 85% 30%, rgba(233, 196, 106, .09), transparent 70%), radial-gradient(45% 50% at 10% 80%, rgba(31, 138, 102, .08), transparent 70%); }
.quiz-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.quiz-perks { list-style: none; display: grid; gap: 10px; margin-top: 26px; }
.quiz-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.quiz-perks .i { width: 18px; height: 18px; color: var(--ok); }
.chat { display: flex; flex-direction: column; height: min(640px, 82vh); border-radius: 30px; background: var(--surface); box-shadow: 0 2px 4px rgba(0, 0, 0, .03), 0 40px 90px -40px rgba(0, 0, 0, .35), 0 0 0 1px var(--line); overflow: hidden; }
.chat-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 15px; font-weight: 600; }
.chat-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.chat-head small .dot { background: var(--ok); color: var(--ok); width: 6px; height: 6px; }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(160deg, #191a17, #0c0d0b); color: #fff; flex: none; }
.chat-avatar svg { width: 20px; height: 20px; fill: var(--glow-2); }
.chat-restart { margin-left: auto; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg); transition: background .2s; }
.chat-restart:hover { background: #e8e8ed; }
.chat-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.chat-progress i { display: block; height: 100%; width: 0; background: var(--grad-warm); transition: width .6s var(--expo); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px 18px 12px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.42; letter-spacing: -.015em; animation: msg-in .5s var(--expo) both; text-wrap: pretty; }
.msg.bot { align-self: flex-start; background: var(--bg); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--grad-cool); color: #fff; border-bottom-right-radius: 6px; }
.msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-input { padding: 12px 14px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; min-height: 76px; align-content: center; }
.choice { padding: 10px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s, transform .4s var(--expo); animation: msg-in .5s var(--expo) both; }
.choice:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.choice:active { transform: scale(.96); }
.choice[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.choice.go { background: var(--grad-warm); color: #151513; box-shadow: var(--shadow-glow); }
.choice.go:disabled { opacity: .4; box-shadow: none; cursor: default; }
.reco { align-self: stretch; max-width: none; padding: 20px; border-radius: 22px; background: linear-gradient(165deg, #191a17, #0c0d0b); color: #fff; animation: msg-in .6s var(--expo) both; }
.reco small { font-size: 12.5px; font-weight: 600; color: var(--glow-2); letter-spacing: .02em; text-transform: uppercase; }
.reco h3 { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -.03em; }
.reco h3 span { font-size: 16px; font-weight: 500; color: #a1a1a6; letter-spacing: -.01em; }
.reco ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.reco li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; color: #e5e5ea; }
.reco li .i { width: 17px; height: 17px; margin-top: 1px; color: var(--glow-2); }
.reco-gain { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.reco-gain div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.reco-gain b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.reco-gain span { font-size: 12.5px; color: #a1a1a6; }
.reco-note { margin-top: 10px; font-size: 12px; color: #8e8e93; }
.plan.is-reco { box-shadow: 0 0 0 2px var(--glow), 0 30px 70px -30px rgba(233, 196, 106, .55) !important; }
.plan.is-reco .plan-level::after { content: "Recommandé pour toi"; margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--grad-warm); color: #151513; font-size: 11.5px; letter-spacing: 0; text-transform: none; }
.plan.featured.is-reco .plan-level mark { display: none; }
@media (max-width: 960px) { .quiz-grid { grid-template-columns: 1fr; } .chat { height: 600px; } }
@media (max-width: 640px) { .chat { height: 560px; border-radius: 24px; } .msg { font-size: 15px; max-width: 88%; } }

/* Dock : raccourcis persistants (offre + essai) */
.dock { position: fixed; z-index: 58; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); transform: translateY(140%); opacity: 0; transition: transform .7s var(--expo), opacity .4s ease; }
.dock.show { transform: none; opacity: 1; }
.dock-quiz { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.dock-quiz:hover { background: rgba(255, 255, 255, .1); }
.dock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(233, 196, 106, .25); animation: ping 2.2s ease-out infinite; }
.dock-cta { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #151513; background: var(--grad-warm); box-shadow: var(--shadow-glow); transition: transform .4s var(--expo); }
.dock-cta:active { transform: scale(.96); }
.dock-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #a1a1a6; }
.dock-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dock-x .i { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .dock { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); justify-content: space-between; }
  .dock-quiz { padding: 10px 10px; font-size: 13.5px; }
  .dock-cta { flex: 1; text-align: center; font-size: 13.5px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .msg, .choice, .reco { animation: none; } }

/* Retour aux réglages d'origine là où la palette précédente les avait changés */
.h2 em { color: var(--ink-3); }
.dark .h2 em, .story .h2 em { color: #6e6e73; }
.dark .kicker, .story .kicker { color: var(--accent-2); }
::selection { background: var(--accent); color: #fff; }
.nav-bar.is-solid .nav-cta { background: var(--ink); color: #fff; box-shadow: none; }
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35); }
.step-n { background: var(--ink); }
.statement em .sw.on { color: var(--accent); }
.plan.featured { background: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.plan.featured::before { background: radial-gradient(80% 60% at 100% 0%, rgba(31, 138, 102, .35), transparent 60%); }
.dark::before { background: radial-gradient(40% 50% at 25% 20%, rgba(31, 138, 102, .25), transparent 70%); }
#tarifs, .quiz-sec { background: none; }
.marquee li .i { color: var(--ok); }
.msg.me { background: var(--accent); }
.sim-card::before { background: radial-gradient(50% 60% at 0% 100%, rgba(31, 138, 102, .35), transparent 70%); }

/* Touches de jaune : uniquement là où l'on veut que l'œil s'arrête */
.btn-accent { background: var(--yellow); color: #151513; box-shadow: var(--shadow-glow); }
.btn-accent .arrow { background: rgba(0, 0, 0, .08); }
.btn-accent:hover { background: #ffdf3d; filter: none; box-shadow: 0 16px 36px -12px rgba(233, 196, 106, .75); }
.plan-level mark { background: var(--yellow); color: #151513; }
.plan.featured li .i { color: var(--yellow); }
.sim-live { color: var(--yellow); }

/* Photos déplacées hors du collage */
.wide-photo { position: relative; margin-top: clamp(32px, 4vw, 52px); height: clamp(220px, 30vw, 380px); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.wide-photo img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.wide-photo + .steps { margin-top: 20px; }
.quiz-photo { margin-top: 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 460px; box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .35); }
.quiz-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
@media (max-width: 960px) { .quiz-photo { display: none; } }

/* =====================================================================
   AGENTS — personnages dans l'univers du site (nuit étoilée, verre, serif)
   ===================================================================== */
.agents-night { background: radial-gradient(70% 55% at 50% 0%, #0b1d2b 0%, #05080c 62%) #05080c; }
.agents-night::before { background: radial-gradient(45% 40% at 15% 10%, rgba(31, 138, 102, .22), transparent 70%); }
.agents-night .lead { color: #a1a1a6; }
.agents-night .counter { color: #8e8e93; }
.agents-night .counter b { color: #fff; }
.agents-night .round { background: rgba(255, 255, 255, .1); color: #fff; }
.agents-night .round:hover:not(:disabled) { background: rgba(255, 255, 255, .2); }
.agents-night .dots-nav button { background: rgba(255, 255, 255, .25); }
.agents-night .dots-nav button.on { background: #fff; }
.agents-night .track { position: relative; }

.agent { width: clamp(300px, 30vw, 400px); padding: 8px; border-radius: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -40px rgba(0, 0, 0, .8); color: #f6f5f1; }
.agent:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.scene { position: relative; aspect-ratio: 3 / 2; border-radius: 23px; overflow: hidden; background: #000; isolation: isolate; }
.scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.8s var(--expo), filter .8s; filter: saturate(.92); }
.agent:hover .scene video { transform: scale(1.1); filter: saturate(1.05); }
.scene::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, .05) 55%, rgba(0, 0, 0, .72) 100%); pointer-events: none; }
.role { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.task { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px 12px; border-radius: 16px; overflow: hidden; background: rgba(20, 20, 22, .45); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.task small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.agent .task p { margin-top: 3px; min-height: 1.4em; font-size: 14.5px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s ease, transform .5s var(--expo); }
.task p.out { opacity: 0; transform: translateY(6px); }
.task i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--yellow, #e9c46a); }
.task i.run { animation: task-bar var(--dur, 3.6s) linear forwards; }
@keyframes task-bar { to { width: 100%; } }

.agent-body { padding: 20px 14px 14px; }
.agent h3 { margin-top: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.01em; color: #fff; }
.agent .agent-desc { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #a1a1a6; text-wrap: pretty; }
.agent-body .does { list-style: none; margin-top: 16px; display: grid; gap: 0; }
.agent-body .does li { display: block; border-radius: 0; background: none; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; letter-spacing: -.01em; color: #e5e5ea; }
.agent .never { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; color: #e5e5ea; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.never b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow, #e9c46a); }

/* =====================================================================
   « Tu connectes » : vrais logos
   ===================================================================== */
.tools { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tool { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); text-align: center; opacity: .55; filter: grayscale(1); transition: opacity .5s ease, filter .6s ease, transform .6s var(--expo), box-shadow .6s; }
.tool-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 10px -4px rgba(0, 0, 0, .15); }
.tool-ic img { width: 24px; height: 24px; object-fit: contain; }
.tool b { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.tool em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s var(--expo); }
.tool.on { opacity: 1; filter: none; transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 22px -12px rgba(31, 138, 102, .45); }
.tool.on em { opacity: 1; transform: none; }
.feed li img { width: 18px; height: 18px; flex: none; object-fit: contain; }
.feed li .dot { display: none; }

/* =====================================================================
   Icônes « Confiance » : pastille sombre, icône dessinée
   ===================================================================== */
.tile .ic { width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(160deg, #3a3a3c 0%, #151513 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -10px rgba(0, 0, 0, .45); }
.tile .ic .i { width: 28px; height: 28px; }
.tile .ic.eu { color: #e9c46a; background: linear-gradient(160deg, #1f4e96 0%, #12261f 100%); }

/* =====================================================================
   Plus de petites pastilles décoratives
   ===================================================================== */
.marquee li { padding: 0 30px; border-right: 1px solid var(--line); }
.cap time::before, .ph figcaption::before { display: none; }
.cap time { gap: 0; }
.sim-live { gap: 0; }
.alerts li > .sev { padding-left: 12px; border-left: 2px solid var(--accent-2); }
.alerts li > .sev.danger { border-color: var(--danger); }
.alerts li > .sev.warn { border-color: var(--warn); }
.chat-head small { gap: 0; }
/* Image fixe sous chaque scène : jamais de cadre noir pendant le chargement de la vidéo */
.scene { background-size: cover; background-position: center; }
.a-mails .scene { background-image: url("../media/agents/mails.jpg"); }
.a-juridique .scene { background-image: url("../media/agents/juridique.jpg"); }
.a-admin .scene { background-image: url("../media/agents/admin.jpg"); }
.a-donnees .scene { background-image: url("../media/agents/donnees.jpg"); }
.a-rh .scene { background-image: url("../media/agents/rh.jpg"); }

/* =====================================================================
   AGENTS v3 — personnage masqué, studio de couleur, reflet qui balaie le casque
   ===================================================================== */
.scene { aspect-ratio: 4 / 5; perspective: 900px; }
.a-mails .scene { background: radial-gradient(70% 55% at 50% 30%, #49bde9 0%, #1f8a66 48%, #0a4c69 100%); }
.a-juridique .scene { background: radial-gradient(70% 55% at 50% 30%, #ffffff 0%, #ececf1 50%, #c3c5cc 100%); }
.a-admin .scene { background: radial-gradient(70% 55% at 50% 30%, #f3dc9a 0%, #e9c46a 46%, #d39e00 100%); }
.a-donnees .scene { background: radial-gradient(70% 55% at 50% 30%, #1c4a3b 0%, #12261f 48%, #020a18 100%); }
.a-rh .scene { background: radial-gradient(70% 55% at 50% 30%, #f1fbff 0%, #b5e1f2 48%, #6aaecb 100%); }
.scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18)); }
.scene::after { background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .55) 100%); }
.figwrap { position: absolute; z-index: 1; left: 50%; bottom: -30%; width: 100%; aspect-ratio: 1000 / 1778; transform: translateX(-50%); transform-origin: 50% 100%; will-change: transform; animation: fig-breathe 7s ease-in-out infinite alternate; transition: translate .9s var(--expo); }
.figwrap img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.a-juridique .figwrap, .a-donnees .figwrap { transform: translateX(-50%) scaleX(-1); animation-name: fig-breathe-flip; }
.sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .5) 49%, rgba(255, 255, 255, .08) 53%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url("../media/agents/figure.webp") center / 100% 100% no-repeat; mask: url("../media/agents/figure.webp") center / 100% 100% no-repeat;
  animation: sheen 6.5s cubic-bezier(.45, 0, .2, 1) infinite; }
.a-juridique .sheen { animation-delay: -1.3s; } .a-admin .sheen { animation-delay: -2.6s; } .a-donnees .sheen { animation-delay: -3.9s; } .a-rh .sheen { animation-delay: -5.2s; }
@keyframes sheen { 0%, 35% { background-position: 160% 0; } 75%, 100% { background-position: -60% 0; } }
@keyframes fig-breathe { from { transform: translateX(-50%) translateY(0) scale(1); } to { transform: translateX(-50%) translateY(-1.4%) scale(1.012); } }
@keyframes fig-breathe-flip { from { transform: translateX(-50%) scaleX(-1) translateY(0) scale(1); } to { transform: translateX(-50%) scaleX(-1) translateY(-1.4%) scale(1.012); } }
.ag-no { position: absolute; z-index: 2; top: 14px; right: 14px; font: 500 12px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: rgba(255, 255, 255, .8); }
.a-juridique .ag-no, .a-rh .ag-no, .a-admin .ag-no { color: rgba(0, 0, 0, .55); }
.a-juridique .role, .a-rh .role, .a-admin .role { color: #151513; background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.agent:hover .scene .figwrap { translate: 0 -2%; }
.agent .scene { transition: transform .9s var(--expo); transform-style: preserve-3d; }

/* =====================================================================
   Moins d'« effets IA » : pas de halos colorés, chiffres en aplat
   ===================================================================== */
.dark::before, .agents-night::before, .sim-card::before { background: none; }
.agents-night { background: #0c0d0b; }
.tile-big .num { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.socials { display: none; }

/* Rythme clair / sombre : le manifeste passe en noir */
.statement-sec { background: #000; }
.statement-sec .sw { color: #2c2c2e; }
.statement-sec .sw.on { color: #f6f5f1; }
.statement-sec .statement em .sw.on { color: var(--accent-2); }
.statement-sec .statement-sig { color: #8e8e93; }
.statement-sec .statement-sig svg { fill: #f6f5f1; }
@media (prefers-reduced-motion: reduce) { .figwrap, .sheen { animation: none !important; } }

/* Alertes du tableau de bord : texte lisible, seule la barre latérale porte la couleur */
.alerts li > .sev { background: none !important; color: #e8e8ed !important; }
.alerts li > .sev b { color: #8e8e93; }
/* Logos d'outils : toujours en couleurs réelles */
.tool { opacity: 1; filter: none; }

/* Galerie « Le quotidien avec Orvok » : trois photos au même format */
.gallery-sec .sec-head .lead { max-width: 40ch; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.gallery figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: #e8e8ed; box-shadow: var(--shadow-card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--expo); }
.gallery .g-c img { object-position: 50% 30%; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: none; width: 80vw; scroll-snap-align: start; border-radius: 22px; }
}

/* =====================================================================
   AGENTS — portraits vectoriels (5 personnages distincts, animés)
   ===================================================================== */
.figwrap { left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 100%; aspect-ratio: auto; transform: translateY(5%); animation: ch-breathe 6s ease-in-out infinite alternate; }
.a-juridique .figwrap, .a-donnees .figwrap { transform: translateY(5%); animation-name: ch-breathe; }
.figwrap .ch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); }
.sheen { display: none; }
@keyframes ch-breathe { from { transform: translateY(5%) scale(1); } to { transform: translateY(4.2%) scale(1.012); } }
.ch .head { transform-box: view-box; transform-origin: 200px 320px; animation: ch-head 9s ease-in-out infinite alternate; }
@keyframes ch-head { 0% { transform: rotate(-1.6deg); } 50% { transform: rotate(.6deg) translateY(-2px); } 100% { transform: rotate(1.8deg); } }
.ch .eyes { transform-box: fill-box; transform-origin: center; animation: ch-blink 5.2s infinite; }
.ch .look { transition: transform .5s var(--expo); }
@keyframes ch-blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }
.ch-leon .eyes { animation-delay: -1.7s; animation-duration: 6.1s; } .ch-margaux .eyes { animation-delay: -3.1s; animation-duration: 4.7s; }
.ch-noe .eyes { animation-delay: -.9s; animation-duration: 5.8s; } .ch-nina .eyes { animation-delay: -4.2s; animation-duration: 5.4s; }
.ch-leon .head { animation-delay: -2s; } .ch-margaux .head { animation-delay: -4s; } .ch-noe .head { animation-delay: -6s; } .ch-nina .head { animation-delay: -1s; }
.agent:hover .scene .figwrap { translate: 0 -1.5%; }
@media (prefers-reduced-motion: reduce) { .ch .head, .ch .eyes { animation: none !important; } }

/* =====================================================================
   HERO — même scène que la dernière section, typo Inter / SF
   ===================================================================== */
.hero-cine .headline-mask { top: calc(156 * var(--u)); }
.hero-cine .headline { font-size: calc(76 * var(--u)); line-height: 1.02; letter-spacing: -.035em; }
.hero-cine .lede { top: calc(332 * var(--u)); width: calc(500 * var(--u)); }
.hero-cine .actions { top: calc(420 * var(--u)); }
.hero-cine :is(.eyebrow, .headline, .lede) { text-shadow: 0 1px 24px rgba(4, 20, 32, .28); }
.hero-cine .bg video { filter: saturate(.9); }
@media (max-aspect-ratio: 5/4) {
  .hero-cine .stage { flex: 1; padding-bottom: 90px; }
  .hero-cine .headline { font-size: clamp(40px, 11vw, 76px); }
}

/* =====================================================================
   LE GRAND TRI — scène 3D pilotée par le scroll
   ===================================================================== */
.sort3d { position: relative; height: 340vh; background: radial-gradient(60% 50% at 50% 55%, #0c2333 0%, #0c0d0b 70%) #0c0d0b; color: #f6f5f1; }
.sort-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sort-copy { position: absolute; z-index: 3; top: clamp(84px, 13vh, 130px); left: 0; right: 0; padding: 0 var(--pad); text-align: center; pointer-events: none; }
.sort-copy .kicker { color: var(--accent-2); }
.sort-title { position: relative; height: 2.3em; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.sort-title span { position: absolute; left: 0; right: 0; top: 0; max-width: 20ch; margin: 0 auto; opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s ease, transform .9s var(--expo), filter .7s ease; text-wrap: balance; }
.sort-title span { filter: none; transition: opacity .18s ease, transform .18s ease; }
.sort-title span.on { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .7s var(--expo) .2s; }
.sort-title b { font-weight: 600; color: #6e6e73; }
.sort-title span:last-child b { color: #e9c46a; }
.sort-stage { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 40%; }
.sort-world { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.doc3d { position: absolute; left: -75px; top: -98px; width: 150px; height: 196px; padding: 16px 14px 0; border-radius: 12px; background: linear-gradient(180deg, #ffffff, #eef0f3); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .05); color: #151513; backface-visibility: visible; will-change: transform; overflow: hidden; }
.doc3d::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.doc3d b { display: inline-block; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: -.005em; background: rgba(0, 0, 0, .06); }
.doc3d i { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: rgba(0, 0, 0, .09); }
.doc3d i:nth-of-type(1) { margin-top: 16px; width: 86%; } .doc3d i:nth-of-type(2) { width: 70%; } .doc3d i:nth-of-type(3) { width: 92%; } .doc3d i:nth-of-type(4) { width: 54%; }
.doc3d em { position: absolute; left: 14px; bottom: 14px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #86868b; }
.doc3d.done em { color: var(--c-ink, #1f8a66); }
.doc3d .stamp { position: absolute; right: 12px; bottom: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--expo); }
.doc3d .stamp::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid var(--c-on, #fff); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.doc3d.done .stamp { opacity: 1; transform: none; }
.k-mails { --c: #1f8a66; } .k-juridique { --c: #151513; } .k-admin { --c: #e9c46a; --c-on: #151513; --c-ink: #9a7a00; } .k-donnees { --c: #1c4a3b; } .k-rh { --c: #8fd6b8; --c-on: #12261f; }
.sort-labels { position: absolute; z-index: 3; left: 50%; bottom: clamp(56px, 10vh, 100px); display: grid; grid-template-columns: repeat(5, var(--col)); transform: translateX(-50%); list-style: none; text-align: center; opacity: 0; transition: opacity .6s ease; --col: min(17vw, 230px); }
.sort-labels.on { opacity: 1; }
.sort-labels b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); line-height: 1; letter-spacing: -.01em; }
.sort-labels span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8e8e93; }
.sort-meter { position: absolute; z-index: 3; right: var(--pad); top: clamp(84px, 13vh, 130px); font: 500 13px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: #8e8e93; }
.sort-meter b { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .sort3d { height: 280vh; }
  .doc3d { left: -48px; top: -63px; width: 96px; height: 126px; padding: 10px 9px 0; border-radius: 9px; }
  .doc3d b { font-size: 9px; padding: 3px 6px; }
  .doc3d i { height: 4px; margin-top: 7px; }
  .doc3d em, .doc3d .stamp { display: none; }
  .sort-labels { --col: 19vw; }
  .sort-labels span { font-size: 9px; letter-spacing: .08em; }
  .sort-meter { top: auto; right: auto; left: 50%; bottom: 24px; transform: translateX(-50%); }
}
.sort-stage { z-index: 1; }
.sort-copy, .sort-labels, .sort-meter { z-index: 5; }
.sort-title { text-shadow: 0 2px 30px rgba(5, 5, 6, .9); }
.toast { bottom: calc(24px + env(safe-area-inset-bottom)); visibility: hidden; transition: transform .6s var(--expo), visibility 0s linear .6s; }
.toast.show { visibility: visible; transition: transform .6s var(--expo); }
@media (max-width: 640px) {
  .doc3d { left: -33px; top: -44px; width: 66px; height: 88px; padding: 7px 6px 0; border-radius: 7px; }
  .doc3d b { font-size: 7.5px; padding: 2px 4px; border-radius: 4px; }
  .doc3d i { height: 3px; margin-top: 6px; }
  .sort-labels b { font-size: 19px; }
}

/* Pied de page : le trait passe au-dessus des colonnes (il coupait « Mon offre ») */
.closing .rule { top: calc(30 * var(--u)); }
.closing .mark { top: calc(70.2 * var(--u)); }
.closing .wordmark { top: calc(68.5 * var(--u)); }
.closing .tagline { top: calc(107 * var(--u)); }
.closing .col { top: calc(71 * var(--u)); }
.closing .legal { top: calc(281 * var(--u)); }
.closing .socials { top: calc(274.4 * var(--u)); }
@media (max-aspect-ratio: 5/4) {
  .closing .finner { display: flex; flex-direction: column; }
  .closing .rule { order: -1; margin: 0 0 clamp(20px, 3.2vh, 34px); }
  .closing .footrow { margin-top: clamp(22px, 3.2vh, 34px); }
}

/* =====================================================================
   ON ENLÈVE LA PAPERASSE — particules (fond nuit)
   ===================================================================== */
.noise { position: relative; height: 420vh; background: #0c0d0b; color: #f6f5f1; }
.noise-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.noise-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; height: 100%; }
.noise-copy .kicker { color: #8e8e93; }
.noise-title { position: relative; margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -.038em; }
.noise-base { color: #f6f5f1; }
.noise-fill { position: absolute; inset: 0; color: #8fd6b8; clip-path: inset(-10% 100% -10% 0); }
.noise-steps { position: relative; list-style: none; margin-top: clamp(28px, 4vh, 44px); min-height: 170px; }
.noise-steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .18s ease, transform .18s ease; }
.noise-steps li.on { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .7s var(--expo) .2s; }
.noise-steps b { font: 500 14px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: #8e8e93; }
.noise-steps h3 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.noise-steps p { margin-top: 10px; max-width: 42ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: #a1a1a6; }
.noise-bar { position: relative; height: 3px; max-width: 420px; margin-top: 24px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.noise-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #e9c46a, #8fd6b8, #1f8a66); transform-origin: left center; transform: scaleX(0); }
.noise-cv { display: block; width: 100%; height: min(78vh, 720px); cursor: crosshair; }
@media (max-width: 900px) {
  .noise { height: 380vh; }
  .noise-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 0; padding-top: calc(var(--nav-h) + 16px); }
  .noise-cv { order: -1; height: 40vh; }
  .noise-steps { min-height: 150px; margin-top: 16px; }
  .noise-title { font-size: clamp(32px, 9vw, 44px); }
}

/* =====================================================================
   DÉCIDER, C'EST ÉLAGUER — arbre de décision (fond clair)
   ===================================================================== */
.prune { position: relative; height: 400vh; background: var(--bg); }
.prune-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.prune-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.prune-steps { position: relative; list-style: none; margin-top: clamp(24px, 3.4vh, 40px); min-height: 128px; }
.prune-steps li { position: absolute; inset: 0 0 auto; padding-left: 18px; border-left: 3px solid var(--ink); opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .8s var(--expo); }
.prune-steps li { transition: opacity .18s ease, transform .18s ease; }
.prune-steps li.on { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .7s var(--expo) .2s; }
.prune-steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.prune-steps p { margin-top: 6px; max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.prune-count { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; }
.prune-count b { min-width: 1.4ch; font-family: var(--font-display); font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.prune-count span { font-size: 17px; color: var(--ink-2); }
.tree { width: 100%; height: auto; max-height: 82vh; overflow: visible; }
.tree .br { fill: none; stroke: #151513; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .5s ease, stroke-width .5s ease, opacity .6s ease; }
.tree .nd { fill: #151513; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .4s ease, transform .6s var(--expo), fill .5s ease; }
.tree .nd.root { opacity: 1; transform: none; fill: #86868b; }
.tree .nd.in { opacity: 1; transform: none; }
.tree .lb { font: 500 15px var(--font-body); letter-spacing: -.01em; fill: #151513; opacity: 0; transition: opacity .5s ease, fill .5s ease; }
.tree .lb.q { font-weight: 600; }
.tree .lb.in { opacity: 1; }
.tree .cut { opacity: .1 !important; }
.tree .br.cut { stroke: #86868b; }
.tree .guard { opacity: .55 !important; }
.tree .br.guard { stroke: #ef5a4f; stroke-dasharray: .012 .012; stroke-dashoffset: 0 !important; }
.tree .nd.guard { fill: #ef5a4f; }
.tree .lb.guard { fill: #ef5a4f; text-decoration: line-through; }
.tree .dim { opacity: .28 !important; }
.tree .br.win { stroke: #1f8a66; stroke-width: 3.4; }
.tree .nd.win { fill: #1f8a66; transform: scale(1.5); }
.tree .lb.win { fill: #1f8a66; font-weight: 600; }
.tree .pill { opacity: 0; transform: translateX(-12px); transition: opacity .6s ease, transform .8s var(--expo); }
.tree .pill.on { opacity: 1; transform: none; }
.tree .pill rect { fill: #e9c46a; }
.tree .pill text { font: 600 14px var(--font-body); fill: #151513; letter-spacing: -.01em; }
@media (max-width: 900px) {
  .prune-grid { grid-template-columns: 1fr; gap: 8px; }
  .tree { order: -1; max-height: 42vh; }
  .prune-steps { min-height: 116px; }
  .prune-count b { font-size: 44px; }
  .tree .lb { font-size: 19px; }
}

/* =====================================================================
   RÉSULTATS — matrices de points
   ===================================================================== */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3.5vw, 44px); }
.dcard { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.dcard-dark { background: #0c0d0b; color: #f6f5f1; }
.dc-k { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dc-big { margin-top: 10px; font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.025em; }
.dc-big b { font-size: clamp(54px, 5vw, 76px); font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.dmx { display: grid; gap: 7px; margin-top: 22px; }
.dmx-12 { grid-template-columns: repeat(12, 1fr); }
.dmx-10 { grid-template-columns: repeat(10, 1fr); gap: 6px; }
.dmx-a, .dmx-b { grid-template-columns: repeat(16, 1fr); gap: 5px; margin-top: 8px; }
.dmx i { display: block; aspect-ratio: 1; border-radius: 50%; background: rgba(0, 0, 0, .07); transform: scale(.55); transition: background .5s ease, transform .6s var(--expo), box-shadow .5s ease; }
.dcard-dark .dmx i { background: rgba(255, 255, 255, .1); }
.dmx i.on { background: #1f8a66; transform: none; }
.dmx i.grey { background: #c7c7cc; transform: none; }
.dcard-dark .dmx i.grey { background: #48484a; }
.dmx i.gold { background: #e9c46a; }
.dmx i.free { background: transparent; box-shadow: inset 0 0 0 2px #e9c46a; transform: scale(.9); }
.dc-row { margin-top: 18px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.dc-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--ink-3); }
.dcard-dark .dc-note, .dcard-dark .dc-k { color: #8e8e93; }
.dc-note .lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dc-note .lg.on { background: #1f8a66; } .dc-note .lg.free { box-shadow: inset 0 0 0 2px #e9c46a; margin-left: 8px; }
.dc-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .dcards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .noise, .prune { height: auto; } .noise-sticky, .prune-sticky { position: relative; height: auto; padding: 96px 0; } }
.tree.small .lb { font-size: 30px; }
.tree.small .tn > text.lb:not(.q) { display: none; }
.tree.small .pill text { font-size: 24px; }

/* =====================================================================
   TABLEAU DE BORD CEO — version application (barre latérale, mini-courbes, avatars)
   ===================================================================== */
#tableau-de-bord { background: radial-gradient(70% 50% at 50% 100%, rgba(31, 138, 102, .16), transparent 70%), #0c0d0b; }
.dash2 { background: #0b0b0d; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 80px 140px -60px rgba(31, 138, 102, .45); }
.dash2 .win-bar { position: relative; height: 44px; background: #111114; }
.dash2 .win-bar span { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
.dash2 .sync { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 12px; color: #6e6e73; white-space: nowrap; }
.dash2 .sync::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #30b37a; box-shadow: 0 0 0 3px rgba(48, 179, 122, .18); }
.d2 { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.d2-side { display: flex; flex-direction: column; gap: 22px; padding: 22px 14px; background: #0e0e11; border-right: 1px solid rgba(255, 255, 255, .06); }
.d2-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #f6f5f1; }
.d2-brand svg { width: 17px; height: 17px; fill: #f6f5f1; }
.d2-nav { list-style: none; display: grid; gap: 2px; }
.d2-nav li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 10px; font-size: 14px; letter-spacing: -.01em; color: #a1a1a6; }
.d2-nav li.on { background: rgba(255, 255, 255, .08); color: #f6f5f1; }
.d2-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.d2-nav li.on svg { stroke: #8fd6b8; }
.d2-nav b { margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-align: center; background: rgba(233, 196, 106, .16); color: #e9c46a; }
.d2-team { margin-top: auto; padding: 14px 10px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.d2-team p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6e6e73; }
.d2-avs { display: flex; margin-top: 10px; }
.d2-avs .av { margin-right: -8px; box-shadow: 0 0 0 2px #0e0e11; }
.d2-team small { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; color: #a1a1a6; }
.d2-team small i { width: 6px; height: 6px; border-radius: 50%; background: #30b37a; }
.av { position: relative; display: inline-block; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.av .ch { position: absolute; left: -22%; top: -6%; width: 144%; height: auto; }
.av.pf-mails { background: radial-gradient(70% 55% at 50% 30%, #49bde9, #1f8a66 48%, #0a4c69); }
.av.pf-juridique { background: radial-gradient(70% 55% at 50% 30%, #fff, #ececf1 50%, #c3c5cc); }
.av.pf-admin { background: radial-gradient(70% 55% at 50% 30%, #f3dc9a, #e9c46a 46%, #d39e00); }
.av.pf-donnees { background: radial-gradient(70% 55% at 50% 30%, #1c4a3b, #12261f 48%, #020a18); }
.av.pf-rh { background: radial-gradient(70% 55% at 50% 30%, #f1fbff, #b5e1f2 48%, #6aaecb); }
.d2-main { min-width: 0; display: grid; gap: 14px; padding: clamp(16px, 2vw, 26px); }
.d2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.d2-head small { font-size: 13px; color: #6e6e73; }
.d2-head h3 { margin-top: 2px; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; color: #f6f5f1; }
.d2-range { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.d2-range span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #8e8e93; }
.d2-range span.on { background: rgba(255, 255, 255, .12); color: #f6f5f1; }
.dash2 .panel { background: #141417; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: 18px; }
.dash2 .kpi { position: relative; overflow: hidden; padding-bottom: 56px; }
.dash2 .kpi strong { font-size: clamp(26px, 2.3vw, 34px); }
.dash2 .kpi em { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12px; font-weight: 500; }
.dash2 .kpi em.bad { background: rgba(239, 90, 79, .14); }
.dash2 .kpi em.good { background: rgba(48, 179, 122, .14); }
.spark { position: absolute; left: 16px; right: 16px; bottom: 14px; width: calc(100% - 32px); height: 30px; opacity: .9; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.legend { display: inline-flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 12px; color: #8e8e93; }
.legend i { display: inline-block; width: 14px; height: 2px; border-radius: 2px; margin-right: -4px; }
.legend .l-real { background: #8fd6b8; } .legend .l-proj { background: repeating-linear-gradient(90deg, #8fd6b8 0 3px, transparent 3px 6px); } .legend .l-min { background: repeating-linear-gradient(90deg, #ef5a4f 0 3px, transparent 3px 6px); }
.panel-row .count { min-width: 24px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; text-align: center; background: rgba(239, 90, 79, .16); color: #ff8a80; }
.d2-alerts li { align-items: center; gap: 12px; padding: 12px 0; }
.d2-alerts .ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; }
.d2-alerts .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d2-alerts .ico.danger { background: rgba(239, 90, 79, .14); color: #ff8a80; }
.d2-alerts .ico.warn { background: rgba(233, 196, 106, .14); color: #e9c46a; }
.d2-alerts .ico.info { background: rgba(143, 214, 184, .14); color: #8fd6b8; }
.alerts.d2-alerts li > .sev { padding-left: 0; border-left: 0; min-width: 0; }
.d2-sub { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6e6e73; }
.act-who { display: flex; align-items: center; gap: 10px; }
.act-who span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.25; color: #8e8e93; }
.act-who b { font-size: 14px; font-weight: 600; color: #f6f5f1; }
.dash2 .act .act-top { align-items: baseline; }
@media (max-width: 1100px) { .d2 { grid-template-columns: 1fr; } .d2-side { display: none; } }
@media (max-width: 640px) {
  .dash2 .sync { display: none; }
  .dash2 .win-bar span { position: static; transform: none; margin: 0 auto; }
  .d2-head h3 { font-size: 22px; }
  .dash2 .kpi { padding-bottom: 48px; }
  .spark { height: 24px; }
}
/* Menu mobile de l'accueil : même ouverture en cercle que les autres pages */
.menu { opacity: 1; clip-path: circle(0 at calc(100% - 34px) 30px); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .7s; }
.menu-open .menu { clip-path: circle(150vmax at calc(100% - 34px) 30px); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1); }

/* =====================================================================
   3D — sculpture du logo, profondeur, perspective
   ===================================================================== */
.statement-sec.has-sculpt { position: relative; overflow: hidden; min-height: min(92vh, 860px); display: flex; align-items: center; }
.sculpt-cv { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.statement-sec .wrap { position: relative; z-index: 1; }
@media (min-width: 1000px) { .has-sculpt .statement { max-width: 18ch; } }
@media (max-width: 999px) {
  .statement-sec.has-sculpt { flex-direction: column; justify-content: flex-end; padding-top: 0; }
  .sculpt-cv { position: relative; inset: auto; height: min(46vh, 380px); }
  .has-sculpt .statement-sig { margin-bottom: 8px; }
}

/* Profondeur pilotée par js/depth.js (propriétés individuelles : elles se combinent aux animations existantes). */
#tableau-de-bord .wrap { perspective: 1800px; perspective-origin: 50% 0; }
#dash { transform-origin: 50% 0; will-change: rotate, scale; }
.agents-night .track { perspective: 1600px; perspective-origin: 50% 40%; }
.agents-night .agent { rotate: y var(--ry, 0deg); translate: 0 0 var(--tz, 0px); transition: transform .7s var(--expo), box-shadow .7s var(--expo), rotate .5s var(--soft), translate .5s var(--soft); }
.plans, .bento, .dcards, .gallery, .acts, .kpis, .ag-grid, .pg-team { perspective: 1200px; }
.tilt { transition: rotate .6s var(--soft), box-shadow .6s var(--soft); will-change: rotate; }
.tilt.tilting { transition: rotate .12s linear, box-shadow .6s var(--soft); }
.hero-cine :is(.eyebrow, .headline-mask, .lede, .actions) { transition: translate .9s var(--soft); }
/* La scène de particules occupe toute la zone : plus de cadre visible, le texte passe devant. */
.noise-sticky { position: sticky; }
.noise-cv { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-height: none; }
.noise-copy { position: relative; z-index: 1; }
@media (max-width: 900px) { .noise-grid { grid-template-rows: 1fr auto; } .noise-copy { padding-bottom: 28px; } .noise-cv { height: 100%; } }
@media (max-width: 900px) { .noise-copy { grid-row: 2; } }

/* =====================================================================
   AGENTS v4 — personnages Céramique : vidéo en boucle sur fond noir
   ===================================================================== */
.agent .scene { background: #0b0b0d; }
.agent .scene::before { display: none; }
.figwrap.vid { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; animation: none; translate: none; }
.figwrap.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; transition: transform 1.8s var(--expo); }
.agent:hover .scene .figwrap.vid { translate: none; }
.agent:hover .scene .figwrap.vid video { transform: scale(1.03); filter: none; }
.a-juridique .ag-no, .a-rh .ag-no, .a-admin .ag-no { color: rgba(255, 255, 255, .8); }
.a-juridique .role, .a-rh .role, .a-admin .role { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: none; }
.av .ch-img, .pf-mini .ch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Petits écrans : une question longue ne doit jamais élargir la page */
.faq-grid > *, .faq-list, .qa { min-width: 0; }
.qa-q { overflow-wrap: anywhere; }
@media (max-width: 900px) { .noise-bar { max-width: calc(100% - 64px); } }
