/* ====== TOKENS ====== */
:root {
  /* Fond — dark-first, 6 niveaux de profondeur */
  --bg-0: oklch(0.10 0.028 252);
  --bg-1: oklch(0.13 0.030 252);
  --bg-2: oklch(0.16 0.032 252);
  --bg-3: oklch(0.19 0.034 252);
  --bg-4: oklch(0.22 0.036 252);
  --bg-5: oklch(0.26 0.036 252);

  --ln-1: oklch(0.28 0.028 252);
  --ln-2: oklch(0.35 0.030 252);

  --gold:      oklch(0.76 0.130 82);
  --gold-hi:   oklch(0.84 0.138 85);
  --gold-lo:   oklch(0.62 0.105 80);
  --gold-dim:  oklch(0.46 0.078 78);
  --gold-soft: oklch(0.76 0.130 82 / .12);
  --gold-line: oklch(0.76 0.130 82 / .50);

  --tx-1: oklch(0.94 0.014 84);
  --tx-2: oklch(0.78 0.010 84);
  --tx-3: oklch(0.58 0.008 250);
  --tx-4: oklch(0.42 0.007 250);

  --green:       oklch(0.72 0.17 155);
  --green-soft:  oklch(0.72 0.17 155 / .14);
  --teal:        oklch(0.72 0.13 195);
  --teal-soft:   oklch(0.72 0.13 195 / .14);
  --orange:      oklch(0.72 0.18 50);
  --orange-soft: oklch(0.72 0.18 50 / .14);
  --red:         oklch(0.64 0.20 25);
  --red-soft:    oklch(0.64 0.20 25 / .14);

  --ff-serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --ff-sans:  'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font: var(--ff-sans);

  --r-1: 2px; --r-2: 4px; --r-3: 6px;

  /* Alias de migration — table de correspondance prompt #5 */
  --bg-ivory: var(--bg-0);
  --bg-panel: var(--bg-1);
  --bg-card: var(--bg-2);
  --text-primary: var(--tx-1);
  --text-secondary: var(--tx-2);
  --text-muted: var(--tx-3);
  --accent: var(--gold);
  --accent-soft-bg: var(--gold-soft);
  --accent-warning: var(--orange);
  --accent-warning-bg: var(--orange-soft);
  --success: var(--green);
  --success-bg: var(--green-soft);
  --danger: var(--red);
  --danger-bg: var(--red-soft);
  --navy-dark: var(--bg-0);
  --navy-darker: var(--bg-0);
  --border-subtle: var(--ln-1);

  --mesh-color: oklch(0.76 0.130 82 / 0.10);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; background: var(--bg-0); }


.avatar-lg{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
}

.avatar-lg img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


body {
  font-family: var(--ff-sans);
  color: var(--tx-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ====== ARRIÈRE-PLAN GÉNÉRATIF "DE L'AO À L'EXÉCUTION" ====== */
/* .bgn-host enveloppe une section existante SANS modifier son propre style ;
   .bgn-layer est son premier enfant, retiré du flux, donc jamais comptabilisé par
   les layouts flex/grid de la section et jamais réutilisé comme trigger GSAP. */
.bgn-host { position: relative; }
.bgn-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bgn-layer svg { width: 100%; height: 100%; display: block; }
.bgn-doc-rect { fill: oklch(0.30 0.035 252 / 0.55); stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.4; }
.bgn-doc-label { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.04em; fill: var(--gold-dim); }
.bgn-grid-line { stroke: var(--gold); stroke-width: 1; }
.bgn-table-row { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-opacity: 0.45; }
.bgn-connector-line { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.45; stroke-dasharray: 3 5; }
.bgn-connector-dot { fill: var(--gold); }
.bgn-connector-label { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.03em; fill: var(--gold-dim); }
.bgn-gantt-bar { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-opacity: 0.5; }
.bgn-curve { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-opacity: 0.55; }
.bgn-milestone { fill: var(--orange); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s var(--ease-out-expo), transform .55s var(--ease-out-expo);
}

/* ====== UTILITAIRES TYPOGRAPHIQUES ====== */
.label-mono {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.num-serif { font-family: var(--ff-serif); font-weight: 600; letter-spacing: -0.01em; }
.odometer { font-family: var(--ff-serif); font-weight: 600; letter-spacing: -0.01em; }
.idx-mono {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
}
.live-stamp {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: var(--tx-4);
  letter-spacing: 0.03em;
}

/* ====== ÉQUERRES DORÉES (.bk) — composant signature ====== */
.bk { position: relative; }
.bk-tl, .bk-tr, .bk-bl, .bk-br {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--gold-line);
  pointer-events: none;
  transition: border-color 0.2s ease;
  z-index: 3;
}
.bk-tl { top: 7px; left: 7px; border-right: none; border-bottom: none; }
.bk-tr { top: 7px; right: 7px; border-left: none; border-bottom: none; }
.bk-bl { bottom: 7px; left: 7px; border-right: none; border-top: none; }
.bk-br { bottom: 7px; right: 7px; border-left: none; border-top: none; }
.bk:hover .bk-tl, .bk:hover .bk-tr, .bk:hover .bk-bl, .bk:hover .bk-br {
  border-color: oklch(0.76 0.130 82 / .8);
}
.bk-inner .bk-tl, .bk-inner .bk-tr, .bk-inner .bk-bl, .bk-inner .bk-br {
  border-color: var(--ln-2);
  width: 9px; height: 9px;
}
.bk-inner:hover .bk-tl, .bk-inner:hover .bk-tr, .bk-inner:hover .bk-bl, .bk-inner:hover .bk-br {
  border-color: var(--gold-line);
}

/* ====== LUEUR AMBIANTE ====== */
.glow-ambient { position: relative; overflow: hidden; }
.glow-ambient::before {
  content: '';
  position: absolute;
  top: -260px; left: 50%;
  width: 1100px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

/* ====== ANNOUNCEMENT BAR ====== */
.announcement-bar {
  background: var(--bg-0);
  color: var(--tx-1);
  border-bottom: 1px solid var(--ln-1);
  text-align: center;
  font-size: 13.5px;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}
.announcement-bar a {
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  margin-left: 6px;
  white-space: nowrap;
  color: var(--gold);
}
.announcement-bar a:hover { text-decoration-color: var(--gold); }

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.10 0.028 252 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ln-1);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 42px;   /* ajuste selon la taille voulue */
  width: auto;
  display: block;
}

.nav-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gold);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tx-2);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--tx-1); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--tx-3);
}
.lang-switch a { color: var(--tx-3); transition: color 0.2s; text-decoration: none; }
.lang-switch a.is-active { color: var(--gold); }
.lang-switch a:hover { color: var(--tx-1); }
.lang-switch span { color: var(--tx-4); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg-0);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), background 0.2s;
}
.btn-pill:hover { background: var(--gold-hi); }
.btn-pill .arrow { transition: transform 0.2s; display: inline-block; }
.btn-pill:hover .arrow { transform: translateX(3px); }

.btn-pill--accent { background: var(--gold-lo); color: var(--bg-0); }
.btn-pill--accent:hover { background: var(--gold); }

.link-simple {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tx-1);
  border-bottom: 1px solid var(--tx-1);
  padding-bottom: 2px;
  background: none;
  border-left: none; border-right: none; border-top: none;
  font-family: var(--ff-sans);
  cursor: pointer;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 96px 0 64px;
  background-image: radial-gradient(circle, oklch(0.28 0.028 252) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: var(--bg-0);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--ln-1);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-2);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  max-width: 880px;
  margin: 0 auto 24px;
  color: var(--tx-1);
}
.hero h1 .accent-word { color: var(--gold); }

.hero-sub {
  font-size: 18px;
  color: var(--tx-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 64px;
}

/* ====== BROWSER MOCKUP ====== */
.browser-mockup {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-2);
  border-radius: 16px;
  border: 1px solid var(--ln-1);
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5);
  overflow: hidden;
}
.browser-mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ln-1);
  background: var(--bg-1);
}
.browser-mockup-bar .dots { display: flex; gap: 6px; }
.browser-mockup-bar .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--ln-2); }
.browser-mockup-bar .url {
  flex: 1;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--tx-3);
  font-weight: 500;
}
.browser-mockup-stage {
  position: relative;
  min-height: 420px;
  background: var(--bg-1);
}
.mockup-state {
  position: absolute;
  inset: 0;
  padding: 36px 40px;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-align: left;
}
.mockup-state.is-active { opacity: 1; }
.mockup-state h4 { font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; margin-bottom: 16px; }

.field-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-2); border: 1px solid var(--ln-1);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
  font-size: 14.5px;
}
.field-row .label { color: var(--tx-3); font-weight: 500; }
.field-row .value { font-family: var(--ff-serif); color: var(--tx-1); font-weight: 600; }

.lot-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--ln-1);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
}
.lot-card .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--bg-0); flex-shrink: 0;
}
.lot-card .info { flex: 1; }
.lot-card .info .name { font-size: 14.5px; font-weight: 600; }
.lot-card .info .meta { font-family: var(--ff-mono); font-size: 12px; color: var(--tx-3); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.status-pill .pip { width: 6px; height: 6px; border-radius: 50%; }
.status-pill--ready { background: var(--green-soft); color: var(--green); }
.status-pill--ready .pip { background: var(--green); }
.status-pill--flag { background: var(--orange-soft); color: var(--orange); }
.status-pill--flag .pip { background: var(--orange); }
.status-pill--progress { background: var(--bg-1); color: var(--tx-3); }
.status-pill--progress .pip { background: var(--tx-3); }

.ai-alert {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
}
.ai-alert .sparkle { color: var(--gold); font-size: 16px; line-height: 1.4; }
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  margin-left: 1px;
  background: currentColor;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-dp-line { font-size: 18px; font-weight: 700; margin-bottom: 22px; text-align: center; color: var(--tx-1); }
.hero-dp-gauges { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 20px; transition: opacity 0.4s ease, transform 0.4s ease; }
.hero-dp-gauges.is-converged { opacity: 0; transform: scale(0.92); }
.hero-dp-gauge { text-align: center; }
.hero-dp-gauge-label { display: block; font-family: var(--ff-mono); font-size: 10.5px; color: var(--tx-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-dp-gauge-value { font-family: var(--ff-serif); font-size: 23px; font-weight: 700; color: var(--tx-1); }
.hero-dp-gauge-arrow { font-size: 18px; color: var(--ln-2); }
.hero-dp-consolidated {
  text-align: center; opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease; margin-bottom: 18px;
}
.hero-dp-consolidated.is-visible { opacity: 1; transform: translateY(0); }
.hero-dp-consolidated-label { display: block; font-family: var(--ff-mono); font-size: 10.5px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.hero-dp-consolidated-value { font-family: var(--ff-serif); font-size: 27px; font-weight: 700; color: var(--tx-1); }
.hero-dp-confidence { display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transition: opacity 0.4s ease; }
.hero-dp-confidence.is-visible { opacity: 1; }
.hero-dp-confidence-badge {
  font-size: 13px; font-weight: 600; color: var(--green);
  opacity: 0; transform: scale(0.5); transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.hero-dp-confidence-badge.is-visible { opacity: 1; transform: scale(1); }

.progress-bar-track {
  width: 100%; height: 6px; border-radius: 999px; background: var(--ln-1);
  overflow: hidden; margin-top: 18px;
}
.progress-bar-fill { height: 100%; width: 0%; background: var(--gold); border-radius: 999px; transition: width 1.6s var(--ease-out-expo); }

/* ====== SECTION GENERIC ====== */
.section {
  padding: 120px 0;
  background: var(--bg-0);
}
.section--panel { background: var(--bg-1); }

.section-label {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--tx-1);
}
.section-desc {
  font-size: 17px;
  color: var(--tx-2);
  line-height: 1.65;
  max-width: 420px;
}

/* ====== FLOW DIAGRAM ====== */
.flow-section { padding: 140px 0; background: var(--bg-0); }
.flow-section .container { text-align: center; }
.flow-section h2 { margin: 0 auto 60px; max-width: 640px; }
.flow-diagram { position: relative; max-width: 980px; margin: 0 auto; }
.flow-diagram svg { width: 100%; height: auto; display: block; }
.flow-card {
  fill: var(--bg-2);
  stroke: var(--ln-1);
  stroke-width: 1.5;
}
.flow-card--center { stroke: var(--gold); stroke-width: 2; }
.flow-card-text {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  font-weight: 600;
  fill: var(--tx-1);
}
.flow-pill-bg { fill: var(--bg-1); stroke: var(--ln-1); stroke-width: 1; }
.flow-pill-text { font-family: var(--ff-mono); font-size: 10px; fill: var(--tx-3); font-weight: 500; }
.flow-path { fill: none; stroke: var(--ln-1); stroke-width: 1.5; }
.flow-path-main { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.flow-label-main { font-family: var(--ff-sans); font-size: 12px; fill: var(--gold); font-weight: 600; }
.flow-particle { fill: var(--gold); opacity: 0; }

/* ====== FLOW — MOTEUR ROOS (3 sous-étapes) ====== */
#flow-engine-frame { stroke: var(--ln-1); animation: flow-engine-glow 3.2s ease-in-out infinite; }
@keyframes flow-engine-glow {
  0%, 100% { stroke: var(--ln-1); filter: none; }
  50% { stroke: var(--gold); filter: drop-shadow(0 0 6px var(--gold-line)); }
}
.flow-engine-label { font-family: var(--ff-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; fill: var(--gold); }
.flow-engine-counter { font-family: var(--ff-mono); font-size: 9px; fill: var(--tx-3); }
.flow-path-sub { fill: none; stroke: var(--ln-1); stroke-width: 1.5; }
.flow-substep { cursor: pointer; }
.flow-substep-card { transition: fill 0.4s ease, filter 0.4s ease; }
.flow-substep-card.is-illuminated { fill: var(--gold-soft); filter: drop-shadow(0 0 10px var(--gold-line)); }
.flow-substep-avatar { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.5; }
.flow-substep-letter { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; fill: var(--gold); }

/* ====== SCROLLYTELLING ====== */
.scrolly {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 100px 0;
}
.scrolly.reverse { flex-direction: row-reverse; }
.scrolly-text { flex: 0 0 38%; }
.scrolly-visual { flex: 1; }
.scrolly-visual .browser-mockup { max-width: 100%; }
.scrolly-visual .browser-mockup-stage { min-height: 320px; }

/* ====== DASHBOARD SECTION ====== */
.dashboard-section .container { display: flex; gap: 80px; align-items: flex-start; }
.dashboard-text { flex: 0 0 36%; }
.dashboard-list { flex: 1; }
.dashboard-activity {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--tx-2);
}
.dashboard-activity .title { font-weight: 700; color: var(--tx-1); margin-bottom: 6px; font-size: 13px; }

/* ====== CHAT TABS ====== */
.chat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chat-tab {
  font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--ln-1); color: var(--tx-2); cursor: pointer; background: var(--bg-2);
  transition: all 0.2s;
}
.chat-tab:hover { border-color: var(--gold); color: var(--gold); }
.chat-tab.is-active { background: var(--gold); color: var(--bg-0); border-color: var(--gold); }

/* ====== CHAT SECTION ====== */
.chat-window-frame { display: inline-block; max-width: 460px; width: 100%; }
.chat-window {
  background: var(--bg-2);
  border: 1px solid var(--ln-1);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5);
  padding: 28px;
  max-width: 460px;
  min-height: 320px;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.chat-window.is-switching { opacity: 0; }
.chat-bubble {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 12px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s, transform 0.2s;
}
.chat-bubble.is-visible { opacity: 1; transform: scale(1); }
.chat-bubble--in { background: var(--bg-1); color: var(--tx-1); }
.chat-bubble--out { background: var(--gold); color: var(--bg-0); margin-left: auto; }

/* ====== CTA FINAL ====== */
.cta-final {
  background: var(--bg-1);
  color: var(--tx-1);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gold-line);
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  width: 1100px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.09;
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  color: var(--tx-1);
  font-family: var(--ff-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin: 0 auto 36px;
}
.cta-final .btn-pill { box-shadow: 0 0 0 1px var(--gold-line), 0 12px 40px -8px var(--gold-soft); }

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-0);
  color: var(--tx-2);
  padding: 70px 0 36px;
  border-top: 1px solid var(--ln-1);
}
.footer .container { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { color: var(--tx-1); margin-bottom: 14px; }
.footer-brand .nav-logo-mark { background: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 60px; }
.footer-col h5 { font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tx-1); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--tx-3); }
.footer-col a:hover { color: var(--tx-1); }
.footer-bottom {
  border-top: 1px solid var(--ln-1);
  margin-top: 50px;
  padding-top: 24px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--tx-4);
}

/* ====== PAGE HERO (about/blog) ====== */
.page-hero { padding: 90px 0 60px; text-align: left; background: var(--bg-0); }
.page-hero h1 { font-family: var(--ff-serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.01em; max-width: 760px; margin-bottom: 18px; color: var(--tx-1); }

/* ====== MANIFESTO ====== */
.manifesto { max-width: 720px; }
.manifesto p { font-size: 18px; line-height: 1.7; color: var(--tx-2); margin-bottom: 22px; }
.manifesto strong { color: var(--tx-1); font-weight: 700; }

/* ====== TEAM ====== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; }
.team-card { background: var(--bg-2); border: 1px solid var(--ln-1); border-radius: 16px; padding: 32px; }
.team-card .avatar-lg {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--bg-0); font-size: 20px; margin-bottom: 20px;
}
.team-card h3 { font-family: var(--ff-serif); font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--tx-1); }
.team-card .role { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.team-card p.bio { font-size: 14.5px; color: var(--tx-2); line-height: 1.6; }

/* ====== MARQUEE ====== */
.marquee-section { padding: 60px 0; overflow: hidden; background: var(--bg-1); border-top: 1px solid var(--ln-1); border-bottom: 1px solid var(--ln-1); }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 22s linear infinite; }
.marquee-track span { font-family: var(--ff-serif); font-size: 6vw; font-weight: 700; letter-spacing: -0.01em; color: var(--tx-1); opacity: 0.08; padding: 0 40px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== ARTICLE (lecture individuelle) ====== */
.article-meta { font-size: 13px; color: var(--tx-3); margin-top: 6px; }
.article-body { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--tx-2); }
.article-body h2 { font-family: var(--ff-serif); font-size: 1.7rem; font-weight: 700; color: var(--tx-1); letter-spacing: -0.01em; margin: 38px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 18px; }
.article-back { display: block; max-width: 680px; margin: 40px auto 0; text-align: left; }

/* ====== FONCTIONNALITÉS — TABLE DES MATIÈRES STICKY ====== */
.features-toc {
  position: sticky; top: 72px; z-index: 40;
  background: oklch(0.10 0.028 252 / 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ln-1);
}
.features-toc-inner { display: flex; gap: 28px; padding: 16px 32px; overflow-x: auto; }
.features-toc-link {
  font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--tx-3); white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.features-toc-link:hover { color: var(--tx-1); }
.features-toc-link.is-active { color: var(--gold); border-color: var(--gold); }

/* ====== FONCTIONNALITÉS — SECTIONS THÉMATIQUES PINNÉES ====== */
.feature-theme { padding: 100px 0; }
.feature-theme h2 { margin-bottom: 36px; max-width: 640px; }
.ft-pin { display: flex; gap: 64px; align-items: center; margin-bottom: 48px; }
.ft-pin-text { flex: 0 0 34%; }
.ft-pin-visual { flex: 1; }
.ft-pin-visual .browser-mockup-stage { min-height: 280px; padding: 28px 32px; }

.ft-mock-table { display: flex; flex-direction: column; gap: 10px; }
.ft-mock-row {
  display: flex; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--ln-1);
  border-radius: 8px; padding: 11px 16px; font-size: 13.5px; color: var(--tx-1);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.ft-mock-row.is-visible { opacity: 1; transform: translateY(0); }

.ft-mock-kpis { display: flex; flex-direction: column; gap: 20px; }
.ft-kpi-row { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 14px; }
.ft-kpi-label { font-size: 10.5px; color: var(--tx-3); }
.ft-kpi-value { font-size: 18px; min-width: 48px; text-align: right; color: var(--tx-1); }

.ft-mock-report { display: flex; flex-direction: column; gap: 10px; }
.ft-report-row { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.ft-report-row.is-visible { opacity: 1; transform: translateY(0); }
.ft-report-gauges { display: flex; gap: 24px; margin-top: 12px; }
.ft-gauge-item { display: flex; align-items: center; gap: 8px; }

.ft-mock-metre { display: flex; flex-direction: column; gap: 16px; }

.ft-secondary { margin-top: 8px; }

/* ====== FONCTIONNALITÉS — CONNECTEUR ANIMÉ ENTRE SECTIONS ====== */
.feature-connector { height: 100px; display: flex; justify-content: center; background: var(--bg-0); }
.feature-connector svg { height: 100%; width: 2px; overflow: visible; }
.feature-connector-path { stroke: var(--ln-1); stroke-width: 1.5; stroke-dasharray: 4 5; }
.feature-connector-dot { fill: var(--gold); filter: drop-shadow(0 0 4px var(--gold-line)); }

/* ====== FONCTIONNALITÉS — BANDEAU DE CLÔTURE ====== */
.ft-closing { padding: 90px 0 110px; text-align: center; background: var(--bg-1); border-top: 1px solid var(--ln-1); }
.ft-closing-stats { display: flex; justify-content: center; gap: 64px; margin-bottom: 36px; }
.ft-closing-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ft-closing-number { font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.ft-closing h2 { max-width: 700px; margin: 0 auto 32px; }

/* ====== PAGE DEMANDER UNE DÉMO ====== */
.demo-section { padding-top: 40px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.demo-context h1 { font-family: var(--ff-serif); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 18px; color: var(--tx-1); }
.demo-points { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.demo-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--tx-2); }
.demo-points-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.demo-reassure { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.demo-action { display: flex; flex-direction: column; gap: 24px; }
.demo-card { background: var(--bg-2); border: 1px solid var(--ln-1); border-radius: 16px; padding: 30px; position: relative; }
.demo-card h3 { font-family: var(--ff-serif); font-size: 19px; font-weight: 700; color: var(--tx-1); margin-bottom: 18px; }
.demo-field { margin-bottom: 16px; }
.demo-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--tx-2); margin-bottom: 6px; }
.demo-optional { color: var(--tx-3); font-weight: 400; }
.demo-field input, .demo-field select, .demo-field textarea {
  width: 100%; background: var(--bg-1); border: 1px solid var(--ln-1); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: var(--ff-sans); color: var(--tx-1);
}
.demo-field input:focus, .demo-field select:focus, .demo-field textarea:focus { outline: none; border-color: var(--gold); }
.demo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-error { font-size: 13px; color: var(--red); min-height: 18px; margin-bottom: 8px; }
.demo-submit { width: 100%; justify-content: center; }
.demo-success { display: none; flex-direction: column; align-items: flex-start; gap: 8px; }
.demo-success.is-visible { display: flex; }
.demo-success-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; margin-bottom: 6px;
}
.demo-success h3 { margin-bottom: 0; }
.demo-success p { font-size: 14.5px; color: var(--tx-2); line-height: 1.6; }
/* Sélecteur de créneaux Cal.com — le conteneur est rempli par embed.js (élément
   <cal-inline> + iframe auto-redimensionnée), on ne fixe donc aucune hauteur
   au-delà du squelette de chargement. */
.demo-card { transition: width 0.35s ease, margin-left 0.35s ease; }
/* .btn-pill est en display:inline-flex, ce qui l'emporte sur le [hidden]{display:none}
   de la feuille de style navigateur : sans cette règle le bouton reste visible
   sous le sélecteur une fois celui-ci ouvert. */
#demo-booking-btn[hidden] { display: none; }
/* Sélecteur ouvert : la carte déborde sur toute la largeur de la grille (2 colonnes
   + gouttière de 64px). En dessous de ~460px de large, Cal.com abandonne la vue mois
   pour une liste de créneaux de plusieurs milliers de pixels de haut. */
@media (min-width: 1024px) {
  #demo-booking-card.is-wide { width: calc(200% + 64px); margin-left: calc(-100% - 64px); }
}
.demo-booking-embed {
  display: none; margin-top: 18px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--ln-1); background: var(--bg-1);
}
.demo-booking-embed.is-visible { display: block; }
.demo-booking-embed.is-loading {
  min-height: 320px;
  background:
    linear-gradient(100deg, transparent 20%, var(--gold-soft) 50%, transparent 80%) 0 0 / 200% 100% no-repeat,
    var(--bg-1);
  animation: demo-booking-shimmer 1.4s ease-in-out infinite;
}
.demo-booking-embed > * { max-width: 100%; }
.demo-booking-embed iframe { display: block; width: 100%; border: 0; }
@keyframes demo-booking-shimmer { from { background-position: 200% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .demo-booking-embed.is-loading { animation: none; }
}

.demo-booking-status { display: none; font-size: 12.5px; line-height: 1.6; color: var(--tx-3); margin-top: 14px; }
.demo-booking-status.is-visible { display: block; }
.demo-booking-status.is-warning { color: var(--tx-2); }
.demo-booking-status.is-success { color: var(--green); font-size: 13.5px; }
.demo-booking-status a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }
.demo-booking-status a:hover { color: var(--gold-hi); }

/* ====== BLOG ====== */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; gap: 24px; }
.search-input {
  flex: 1; max-width: 360px;
  border: 1px solid var(--ln-1); background: var(--bg-2); color: var(--tx-1);
  border-radius: 999px; padding: 11px 18px; font-size: 14px; font-family: var(--ff-sans);
}
.search-input:focus { outline: none; border-color: var(--gold); }
.filter-tags { display: flex; gap: 10px; }
.filter-tag {
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--ln-1); color: var(--tx-2); cursor: pointer; background: var(--bg-2);
  transition: all 0.2s;
}
.filter-tag.active { background: var(--gold); color: var(--bg-0); border-color: var(--gold); }

.blog-card {
  display: flex; gap: 28px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--ln-1);
}
.blog-card-thumb {
  width: 200px; height: 130px; border-radius: 12px; flex-shrink: 0;
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

/* ====== Blog thumbnails — illustrations SVG éditoriales (js/blog-thumbs.js) ====== */
.blog-thumb-svg { display: block; width: 100%; height: 100%; }
.bt-frame { fill: none; stroke: var(--gold-line); stroke-opacity: 0.22; }
.bt-line { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-opacity: 0.8; stroke-linecap: round; stroke-linejoin: round; }
.bt-line-2 { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.5; stroke-linecap: round; stroke-linejoin: round; }
.bt-track { fill: none; stroke: var(--gold); stroke-opacity: 0.13; }
.bt-doc { fill: oklch(0.30 0.035 252 / 0.6); stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.42; }
.bt-node { fill: oklch(0.30 0.035 252 / 0.55); stroke: var(--gold); stroke-width: 1.4; stroke-opacity: 0.75; }
.bt-dot { fill: var(--gold); fill-opacity: 0.85; }
.bt-dash { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.55; stroke-dasharray: 3 4; stroke-linecap: round; }
.bt-label { font-family: var(--ff-mono); font-size: 8px; letter-spacing: 0.05em; fill: var(--gold-dim); }
.bt-strong { font-family: var(--ff-serif); font-weight: 700; fill: var(--gold-hi); }

/* draw-in au chargement (une fois) + pulsation douce sur les points d'accroche */
@keyframes bt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bt-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bt-draw 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.bt-draw--2 { animation-delay: 0.18s; }
.bt-draw--3 { animation-delay: 0.36s; }
@keyframes bt-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.bt-pulse { animation: bt-pulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .bt-draw { stroke-dashoffset: 0; animation: none; }
  .bt-pulse { animation: none; opacity: 0.85; }
}
.blog-card-body { flex: 1; }
.blog-card-cat { font-family: var(--ff-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.blog-card h3 { font-family: var(--ff-serif); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--tx-1); }
.blog-card .meta { font-family: var(--ff-mono); font-size: 12.5px; color: var(--tx-3); display: flex; gap: 10px; align-items: center; }
.blog-card .read-link { font-size: 13.5px; font-weight: 600; color: var(--tx-1); margin-top: 10px; display: inline-block; }

/* ====== BAR-ROW (Analyse — décomposition) ====== */
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bar-row .bar-label { width: 110px; font-size: 13px; color: var(--tx-2); font-weight: 500; flex-shrink: 0; }
.bar-track { position: relative; flex: 1; height: 10px; background: var(--bg-1); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0%; border-radius: 999px; transition: width 1.4s var(--ease-out-expo); }
.bar-row .bar-pct { width: 36px; text-align: right; font-family: var(--ff-serif); font-size: 13.5px; font-weight: 600; color: var(--tx-1); }

/* ====== HEATMAP (Analyse — traçabilité) ====== */
.heatmap-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 16px 0; }
.heatmap-cell { aspect-ratio: 1; border-radius: 4px; background: var(--green-soft); opacity: 0; transition: opacity 0.4s ease; }
.heatmap-cell.is-visible { opacity: 1; }
.heatmap-cell--warning { background: var(--orange-soft); }
.heatmap-cell--danger { background: var(--red-soft); }

/* ====== GANTT (Planification) ====== */
.gantt-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gantt-label { width: 110px; font-size: 13px; font-weight: 500; color: var(--tx-2); flex-shrink: 0; }
.gantt-track { flex: 1; position: relative; height: 22px; background: var(--bg-1); border-radius: 6px; }
.gantt-bar { position: absolute; top: 2px; bottom: 2px; left: 0; border-radius: 5px; background: var(--gold); width: 0; transition: width 1.1s var(--ease-out-expo), left 1.1s var(--ease-out-expo); }
.gantt-bar.alert { background: var(--orange); }

/* ====== FEATURE GRID (page Fonctionnalités) ====== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-2); border: 1px solid var(--ln-1); border-radius: 16px; padding: 28px; }
.feature-card-idx { display: block; margin-bottom: 14px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; color: var(--tx-1); }
.feature-card p { font-size: 14.5px; color: var(--tx-2); line-height: 1.6; }

/* ====== MICRO-INTERACTIONS ====== */
.btn-pill { transition: transform 0.2s var(--ease-out-expo), background 0.2s; }
.btn-pill:hover { transform: scale(1.02); }

.status-pill { transition: transform 0.2s, box-shadow 0.2s; }
.lot-card { transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s; }
.lot-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px oklch(0 0 0 / 0.5); }

.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.25s var(--ease-out-expo);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.feature-card { transition: transform 0.15s ease, box-shadow 0.2s; transform-style: preserve-3d; will-change: transform; }
.feature-card:hover { box-shadow: 0 16px 32px -16px oklch(0 0 0 / 0.6); }

/* ====== HERO DEPTH TRANSITION + PARALLAX ====== */
.hero { will-change: background-position; }
.mockup-state { transform: scale(1.03); transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo); }
.mockup-state.is-active { transform: scale(1); }
.mockup-state.is-leaving { opacity: 0 !important; transform: scale(0.97); }

/* ====== SCAN LINE (Estimation) ====== */
.scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; pointer-events: none; z-index: 5;
  box-shadow: 0 0 12px 2px var(--gold-soft);
}
.estim-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: background-color 0.3s ease; }
.estim-row.is-scanned { background: var(--gold-soft); }

.browser-mockup.is-pulsing { animation: mockup-breathe 1.8s ease-in-out infinite; }
@keyframes mockup-breathe {
  0%, 100% { box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5); }
  50% { box-shadow: 0 34px 68px -18px var(--gold-soft); }
}

/* ====== CONFIDENCE GAUGE (jauge circulaire) ====== */
.confidence-gauge { width: 30px; height: 30px; flex-shrink: 0; transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: var(--ln-1); stroke-width: 3; }
.gauge-fill {
  fill: none; stroke: var(--tx-3); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 81.7; stroke-dashoffset: 81.7;
  transition: stroke-dashoffset 0.5s var(--ease-out-expo), stroke 0.5s ease;
}

/* ====== PIN PROGRESS DOTS ====== */
.pin-progress-dots { display: flex; gap: 8px; margin-top: 28px; }
.pin-progress-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--ln-1); transition: background 0.25s ease, transform 0.25s ease; }
.pin-progress-dots span.is-active { background: var(--gold); transform: scale(1.3); }

/* ====== FLOW DIAGRAM ENHANCEMENTS ====== */
.flow-path, .flow-path-main { transition: none; }
.flow-card--center { animation: flow-pulse 2.6s ease-in-out infinite; }
@keyframes flow-pulse {
  0%, 100% { box-shadow: none; }
  50% { filter: drop-shadow(0 0 8px var(--gold-line)); }
}
.flow-node-center { cursor: pointer; }

/* ====== OBSERVATOIRE — COMPTEUR VIVANT ====== */
.obs-counter { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 18px; }
.obs-counter span { font-family: var(--ff-serif); font-size: 23px; font-weight: 700; color: var(--tx-1); margin-right: 6px; }
.lot-card.is-flashing { background: var(--gold-soft); transition: background 0.6s ease; }

/* ====== MARQUEE (JS-driven) ====== */
.marquee-track { animation: none; will-change: transform; }

/* ====== SIMULATEUR "LANCER ROOS" ====== */
.simulator-section { padding: 120px 0; background: var(--bg-0); }
.simulator-section .container { text-align: center; }
.simulator-section h2 { margin: 0 auto 16px; max-width: 640px; }
.simulator-card {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--ln-1); border-radius: 20px;
  box-shadow: 0 40px 80px -30px oklch(0 0 0 / 0.6);
  min-height: 460px; overflow: hidden; padding: 48px 40px;
}
.simulator-skip {
  position: absolute; top: 18px; right: 18px; z-index: 10;
  background: var(--bg-1); border: 1px solid var(--ln-1); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--tx-3); padding: 6px 14px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.simulator-skip.is-visible { opacity: 1; pointer-events: auto; }
.simulator-stamp {
  position: absolute; bottom: 16px; left: 22px; z-index: 4;
}

.simulator-stage { position: relative; min-height: 360px; }
.sim-phase {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.sim-phase.is-active { opacity: 1; pointer-events: auto; }

.sim-doc-preview {
  display: flex; align-items: center; gap: 14px; background: var(--bg-1);
  border: 1px solid var(--ln-1); border-radius: 12px; padding: 16px 22px; text-align: left;
}
.sim-doc-icon {
  width: 38px; height: 38px; border-radius: 8px; background: var(--gold); color: var(--bg-0);
  font-family: var(--ff-mono); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sim-doc-name { font-size: 14.5px; font-weight: 700; color: var(--tx-1); }
.sim-doc-meta { font-family: var(--ff-mono); font-size: 12px; color: var(--tx-3); }

.sim-step-label { font-family: var(--ff-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); font-weight: 600; }
.sim-agents-indicator { animation: sim-agents-pulse 1.6s ease-in-out infinite; }
@keyframes sim-agents-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.sim-doc-split { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; }
.sim-doc-split .sim-line-chip {
  width: 64px; height: 44px; background: var(--bg-1); border: 1px solid var(--ln-1);
  border-radius: 8px; opacity: 0; transform: translateY(8px) scale(0.9);
}

.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 600px; }
.sim-line-card {
  background: var(--bg-1); border: 1px solid var(--ln-1); border-radius: 10px;
  padding: 10px; font-size: 11px; text-align: left; opacity: 0; transform: translateY(10px);
  min-height: 70px; position: relative;
}
.sim-line-card .sim-line-title { font-weight: 700; font-size: 11px; margin-bottom: 4px; color: var(--tx-1); }
.sim-line-card .sim-line-text { color: var(--tx-2); font-size: 10.5px; line-height: 1.4; }
.sim-line-card .typewriter-cursor { display: inline-block; width: 1px; background: var(--tx-2); animation: blink 0.9s steps(1) infinite; }

.sim-grid--price .sim-line-card { padding-bottom: 14px; }
.sim-dual-gauge { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.sim-dual-gauge .sim-gauge-row { display: flex; align-items: center; gap: 4px; }
.sim-dual-gauge .sim-gauge-label { font-family: var(--ff-mono); font-size: 9px; color: var(--tx-3); width: 30px; flex-shrink: 0; }
.sim-dual-gauge .sim-gauge-track { flex: 1; height: 5px; border-radius: 999px; background: var(--ln-1); overflow: hidden; }
.sim-dual-gauge .sim-gauge-fill { height: 100%; width: 0%; border-radius: 999px; transition: width 0.8s var(--ease-out-expo); }
.sim-consolidated { font-family: var(--ff-serif); font-size: 10.5px; font-weight: 700; color: var(--gold); margin-top: 4px; opacity: 0; transition: opacity 0.3s; }
.sim-consolidated.is-visible { opacity: 1; }

.sim-grid--verify .sim-line-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; }
.sim-verify-gauge { width: 36px; height: 36px; transform: rotate(-90deg); }
.sim-verify-flag {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 700; color: var(--orange); background: var(--orange-soft);
  padding: 2px 7px; border-radius: 999px; opacity: 0;
}
.sim-verify-flag.is-visible { opacity: 1; }

.sim-convergence { position: relative; width: 100%; height: 220px; }
.sim-convergence .sim-mini-card {
  position: absolute; width: 48px; height: 34px; background: var(--bg-1);
  border: 1px solid var(--ln-1); border-radius: 6px; opacity: 1;
}
.sim-convergence .sim-final-doc {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5);
  width: 160px; height: 110px; background: var(--bg-2); border: 1px solid var(--gold);
  border-radius: 12px; box-shadow: 0 20px 40px -16px var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; opacity: 0; color: var(--tx-1);
}

.sim-result-total { font-family: var(--ff-serif); font-size: 3.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--tx-1); }
.sim-result-summary { font-size: 14.5px; color: var(--tx-2); max-width: 420px; }
.sim-result-actions { display: flex; align-items: center; gap: 22px; }

/* ====== ANALYSE — SPLIT TOTAL (étape 1) ====== */
.analyse-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 20%, var(--gold-soft), transparent 60%);
  background-position: 30% 20%; transition: background-position 0.8s ease;
}
.split-total { position: relative; z-index: 1; margin-bottom: 22px; }
.split-total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.split-total-label { font-family: var(--ff-mono); font-size: 12px; color: var(--tx-3); font-weight: 600; }
.split-total-value { font-family: var(--ff-serif); font-size: 21px; font-weight: 700; color: var(--tx-1); }
.split-bar { position: relative; height: 34px; border-radius: 8px; overflow: hidden; display: flex; background: var(--bg-1); }
.split-seg { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.split-seg-pct { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--bg-0); }
.split-cover { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; background: var(--bg-1); z-index: 2; }
.split-legend { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.split-legend span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--tx-2); }
.split-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ====== ANALYSE — BARRES FANTÔMES HISTORIQUE (étape 2) ====== */
.bar-row-group { position: relative; z-index: 1; margin-top: 18px; }
.bar-ghost { position: absolute; top: 0; bottom: 0; left: 0; width: 0%; border: 1.5px dashed var(--tx-3); border-radius: 999px; box-sizing: border-box; }
.bar-diff {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0%; opacity: 0;
  background-image: repeating-linear-gradient(45deg, currentColor 0 4px, transparent 4px 8px);
  transition: opacity 0.3s ease;
}
.bar-diff.is-over { color: var(--red); }
.bar-diff.is-under { color: var(--green); }

/* ====== ANALYSE — HEATMAP HALO (étape 3) ====== */
.heatmap-cell.is-halo { animation: heatmap-halo 1.8s ease-in-out 3; }
@keyframes heatmap-halo {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.64 0.20 25 / 0); }
  50% { box-shadow: 0 0 0 6px oklch(0.64 0.20 25 / 0.35); }
}

/* ====== ANALYSE — ALERTE + MODAL TRAÇABILITÉ (étape 4) ====== */
#analyse-alert { position: relative; z-index: 1; }
.sparkle.is-bouncing { display: inline-block; animation: sparkle-bounce 0.5s ease; }
@keyframes sparkle-bounce { 0% { transform: scale(0.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.trace-detail-btn {
  display: block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--gold);
  background: none; border: none; cursor: pointer; padding: 0;
  opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.trace-detail-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.trace-detail-btn:hover { text-decoration: underline; }

.trace-modal-overlay {
  position: fixed; inset: 0; background: oklch(0 0 0 / 0.6); z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.trace-modal-overlay.is-visible { opacity: 1; pointer-events: auto; }
.trace-modal {
  background: var(--bg-2); border-radius: 16px; padding: 32px; max-width: 420px; width: 90%;
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.7); position: relative;
}
.trace-modal h3 { font-family: var(--ff-serif); font-size: 18px; font-weight: 700; margin-bottom: 18px; padding-right: 24px; color: var(--tx-1); }
.trace-modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; font-size: 14px; color: var(--tx-3); cursor: pointer; }
.trace-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--tx-2); padding: 10px 0; border-bottom: 1px solid var(--ln-1); }
.trace-line--total { font-family: var(--ff-serif); font-weight: 700; color: var(--tx-1); border-bottom: none; }
.trace-diff { color: var(--orange); }

#analyse-dynamic-text { transition: opacity 0.2s ease; }

/* ====== ANALYSE — ZOOM SUR UNE LIGNE (étape 5) ====== */
.analyse-main-view, .analyse-zoom { transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo); }
.analyse-zoom { position: absolute; inset: 36px 40px; opacity: 0; transform: scale(0.96); pointer-events: none; }
.mockup-state.is-zoomed .analyse-main-view { opacity: 0; transform: scale(0.96); pointer-events: none; }
.mockup-state.is-zoomed .analyse-zoom { opacity: 1; transform: scale(1); pointer-events: auto; }
.analyse-zoom h4 { font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.zoom-mini-bars { margin-bottom: 18px; }
.zoom-compare { display: flex; gap: 16px; margin-bottom: 22px; }
.zoom-compare-item { flex: 1; }
.zoom-compare-label { display: block; font-family: var(--ff-mono); font-size: 10px; color: var(--tx-3); margin-bottom: 6px; }
.zoom-compare-track { height: 8px; border-radius: 999px; background: var(--bg-1); overflow: hidden; }
.zoom-compare-fill { display: block; height: 100%; width: 0%; background: var(--gold); border-radius: 999px; transition: width 0.6s var(--ease-out-expo); }
.zoom-compare-item:nth-child(2) .zoom-compare-fill { background: var(--tx-3); }
.zoom-compare-item:nth-child(3) .zoom-compare-fill { background: var(--green); }
.zoom-sparkline { display: flex; flex-direction: column; gap: 6px; }
.zoom-sparkline svg { width: 100%; height: 46px; }
#zoom-sparkline-path { stroke: var(--gold); stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.2s var(--ease-out-expo); }
.zoom-sparkline-caption { font-family: var(--ff-mono); font-size: 10.5px; color: var(--tx-3); }

/* ====== EVM — INTRO GUIDÉE ====== */
.evm-intro-stage { max-width: 760px; margin: 0 auto; }
.evm-intro-graph svg { width: 100%; height: auto; }
.evm-curve { fill: none; }
.evm-curve--cbtp { stroke: var(--tx-3); }
.evm-curve--cbte { stroke: var(--gold); }
.evm-curve--crte { stroke: var(--orange); }
.evm-arrow { opacity: 0; transition: opacity 0.3s ease; }
.evm-arrow.is-visible { opacity: 1; }
.evm-arrow line { stroke: var(--tx-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.evm-arrow text { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; fill: var(--tx-1); }

.evm-define-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.evm-define-card {
  background: var(--bg-2); border: 1px solid var(--ln-1); border-radius: 14px; padding: 18px;
  opacity: 0.35; transition: opacity 0.4s ease, transform 0.4s ease; transform: translateY(6px);
}
.evm-define-card.is-visible { opacity: 1; transform: translateY(0); }
.evm-define-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.evm-define-card strong { font-family: var(--ff-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--tx-1); }
.evm-define-card p { font-size: 12.5px; color: var(--tx-2); margin-top: 6px; line-height: 1.5; }

/* ====== EVM — BAC À SABLE INTERACTIF ====== */
.evm-sandbox-section { padding: 100px 0 120px; background: var(--bg-0); }
.evm-sandbox-card {
  max-width: 880px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--ln-1);
  border-radius: 20px; padding: 44px; box-shadow: 0 30px 60px -24px oklch(0 0 0 / 0.55);
  position: relative;
}
.evm-sandbox-card h3 { font-family: var(--ff-serif); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 22px; color: var(--tx-1); }

.evm-scenario-buttons { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.evm-scenario-btn {
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--ln-1); background: var(--bg-1); color: var(--tx-2);
  cursor: pointer; transition: all 0.2s;
}
.evm-scenario-btn:hover { border-color: var(--gold); color: var(--gold); }
.evm-scenario-btn.is-active { background: var(--gold); color: var(--bg-0); border-color: var(--gold); }

.evm-sandbox-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.evm-sandbox-graph svg { width: 100%; height: auto; }
.evm-sandbox-indicators { display: flex; flex-direction: column; gap: 14px; }
.evm-indicator-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-1); border-radius: 12px; padding: 14px 16px;
}
.evm-indicator-label { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tx-3); }
.evm-indicator-value { font-family: var(--ff-serif); font-size: 21px; font-weight: 700; flex: 1; text-align: right; margin-right: 8px; color: var(--tx-1); }
.evm-verdict {
  background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 12px; padding: 14px 16px;
  font-size: 13.5px; color: var(--tx-2); transition: opacity 0.2s ease;
}

.evm-sliders { display: flex; flex-direction: column; gap: 24px; margin-bottom: 18px; }
.evm-slider-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--tx-1); }
.evm-slider-track-labels { display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: 10.5px; color: var(--tx-3); margin-bottom: 6px; }
input[type="range"].evm-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--ln-1); outline: none;
}
input[type="range"].evm-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--bg-2); box-shadow: 0 2px 8px oklch(0 0 0 / 0.4); cursor: pointer;
}
input[type="range"].evm-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-2);
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.4); cursor: pointer;
}
.evm-glossary-note { font-size: 12px; color: var(--tx-3); margin: 0; }
.evm-sandbox-stamp { position: absolute; bottom: 16px; right: 24px; }

/* ====== PARTENAIRES ====== */
.partners-section { padding: 60px 0; background: var(--bg-0); }
.partners-title { text-align: center; font-family: var(--ff-mono); font-size: 12px; color: var(--tx-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 28px; }
.partners-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.partner-badge {
  font-size: 12.5px; font-weight: 600; color: var(--tx-2); background: var(--bg-1);
  border: 1px solid var(--ln-1); border-radius: 999px; padding: 8px 16px;
  opacity: 0.65; transition: border-color 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}
.partner-badge:hover { opacity: 1; color: var(--gold); border-color: var(--gold-line); }

/* ====== FONDATEURS — BADGES + TIMELINE ====== */
.team-card { min-height: auto; padding: 36px; }
.founder-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px; }
.founder-badge {
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: 600; color: var(--gold); background: var(--gold-soft);
  border-radius: 999px; padding: 5px 11px; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.founder-badge.is-visible { opacity: 1; transform: translateY(0); }
.founder-timeline { border-top: 1px solid var(--ln-1); margin-top: 22px; padding-top: 22px; }
.founder-timeline-item {
  position: relative; padding-left: 24px; padding-bottom: 18px; opacity: 0; transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.founder-timeline-item.is-visible { opacity: 1; transform: translateX(0); }
.founder-timeline-item::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--tx-3);
}
.founder-timeline-item.is-current::before { background: var(--gold); border-color: var(--gold); }
.founder-timeline-item::after {
  content: ''; position: absolute; left: 4px; top: 14px; bottom: -4px; width: 1px; background: var(--ln-1);
}
.founder-timeline-item:last-child::after { display: none; }
.founder-timeline-item strong { font-size: 13.5px; font-weight: 700; display: block; margin-bottom: 3px; color: var(--tx-1); }
.founder-timeline-item span { font-family: var(--ff-mono); font-size: 11.5px; color: var(--tx-2); line-height: 1.5; }
.founder-timeline-item.is-placeholder strong, .founder-timeline-item.is-placeholder span { color: var(--tx-3); font-style: italic; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .scrolly, .scrolly.reverse { flex-direction: column; gap: 36px; padding: 60px 0; }
  .scrolly-text { flex: none; text-align: center; }
  .dashboard-section .container { flex-direction: column; gap: 36px; }
  .nav-links { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 30px; }
  .section { padding: 70px 0; }
  .hero { padding: 64px 0 40px; }
  .blog-card { flex-direction: column; align-items: flex-start; }
  .blog-card-thumb { width: 100%; height: 160px; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .feature-grid { grid-template-columns: 1fr; }
  .heatmap-grid { grid-template-columns: repeat(6, 1fr); }
  .sim-grid { grid-template-columns: repeat(2, 1fr); }
  .simulator-card { padding: 32px 20px; }
  .sim-result-actions { flex-direction: column; gap: 14px; }
  .evm-define-cards { grid-template-columns: 1fr; }
  .evm-sandbox-grid { grid-template-columns: 1fr; }
  .evm-sandbox-card { padding: 28px 20px; }
  .evm-scenario-buttons { gap: 8px; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-field-row { grid-template-columns: 1fr; }
  .ft-pin { flex-direction: column; gap: 28px; }
  .ft-pin-text { flex: none; }
  .features-toc-inner { gap: 18px; }
  .ft-closing-stats { gap: 36px; }
  .feature-theme { padding: 60px 0; }
}

/* ====== NAV — BURGER MOBILE/TABLETTE (injecté en JS par mobile.js) ====== */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  padding: 0; flex-shrink: 0; margin-right: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--tx-1);
  transition: transform 0.25s var(--ease-out-expo), opacity 0.2s ease;
}
.nav-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-0);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
}
.nav-mobile-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-mobile-links { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nav-mobile-links li a {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 6px 18px;
  font-family: var(--ff-serif); font-size: 26px; font-weight: 700; color: var(--tx-1);
}
.nav-mobile-links li a.active { color: var(--gold); }
.nav-mobile-lang { font-size: 15px; gap: 10px; }
body.nav-mobile-open { overflow: hidden; }

@media (max-width: 1023px) {
  .nav-burger { display: flex; }
  .nav .nav-links { display: none; }
  .nav .lang-switch { display: none; }
  .nav .container > .btn-pill { font-size: 13px; padding: 9px 14px; white-space: nowrap; gap: 6px; }
}

@media (max-width: 380px) {
  .nav .container > .btn-pill .arrow { display: none; }
}

/* ====== RESPONSIVE — PASSE COMPLÉMENTAIRE MOBILE/TABLETTE (prompt #10) ====== */
@media (max-width: 1023px) {
  /* Hero */
  .hero-cta-row { flex-direction: column; gap: 14px; }
  .hero-cta-row .btn-pill { width: 100%; justify-content: center; }

  /* Sections pinnées — mockups pleine largeur, padding réduit */
  .mockup-state { padding: 26px 22px; }
  .browser-mockup-stage { min-height: 360px; }

  /* EVM bac à sable — curseurs plus confortables au doigt */
  input[type="range"].evm-slider::-webkit-slider-thumb { width: 30px; height: 30px; }
  input[type="range"].evm-slider::-moz-range-thumb { width: 30px; height: 30px; }

  /* Chat — bulles + filtres */
  .chat-bubble { max-width: 85%; }
  .chat-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
  .chat-tabs::-webkit-scrollbar { display: none; }
  .chat-tab { flex-shrink: 0; }
  .chat-window { max-height: 65vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }

  /* Sub-nav Fonctionnalités + filtres Blog — défilement horizontal sans barre visible */
  .features-toc-inner { scrollbar-width: none; }
  .features-toc-inner::-webkit-scrollbar { display: none; }
  .filter-tags { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
  .filter-tags::-webkit-scrollbar { display: none; }
  .filter-tag { flex-shrink: 0; }

  /* Tilt 3D — zones de tap cohérentes */
  .feature-card { touch-action: pan-y; }

  /* CTA pleine largeur */
  .cta-final .btn-pill, .ft-closing .btn-pill { width: 100%; max-width: 360px; justify-content: center; }

  /* Footer — 3 colonnes restent lisibles même en tablette resserrée */
  .footer-cols { gap: 32px; }
}

@media (max-width: 767px) {
  .announcement-bar { font-size: 12.5px; line-height: 1.45; padding: 8px 14px; }
  .announcement-bar a { margin-left: 4px; }

  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-badge { font-size: 12px; padding: 5px 13px; }

  .evm-scenario-buttons { flex-direction: column; }
  .evm-scenario-btn { width: 100%; text-align: center; }

  .ft-closing-stats { flex-wrap: wrap; row-gap: 18px; }

  .footer-cols { flex-direction: column; gap: 28px; }

  .demo-card { padding: 24px 20px; }
  /* Le sélecteur de créneaux reprend toute la largeur de la carte sur mobile. */
  .demo-booking-embed { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; }
  .demo-booking-embed.is-loading { min-height: 420px; }
}

