/* ==========================================================================
   donna.immo — main marketing site
   Cohérent avec CLAUDE.md (Light + Noir uniquement)
   ========================================================================== */

/* ------- Reset léger ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent-dim); color: var(--text); }

/* ------- Themes ------- */
:root,
[data-theme="light"] {
  --bg:#f7f8fa; --surface:#ffffff; --s2:#f1f3f7; --s3:#e7ebf2;
  --border:#e4e7ee; --border-hi:#d3d8e3;
  --text:#14161f; --text-dim:#4a5169; --muted:#8a93ab;
  --accent:#6b5cf5; --accent-hi:#564bd8; --accent-dim:rgba(107,92,245,.09);
  --chaud:#d64560; --tiede:#c08a2e; --froid:#3d7fc2; --green:#22a06b;
  --radius-sm:3px; --radius:4px; --radius-lg:8px;
  --shadow-sm: 0 1px 2px rgba(20,22,31,.04);
  --shadow: 0 4px 14px rgba(20,22,31,.07);
  --shadow-lg: 0 16px 48px -12px rgba(20,22,31,.18);
  --grid-line: rgba(20,22,31,.05);
}
[data-theme="noir"] {
  --bg:#000000; --surface:#0a0a0c; --s2:#121216; --s3:#1a1a20;
  --border:#1f1f27; --border-hi:#2a2a35;
  --text:#f2f3f7; --text-dim:#a8adbd; --muted:#5f6578;
  --accent:#8b7bff; --accent-hi:#a89dff; --accent-dim:rgba(139,123,255,.12);
  --chaud:#ff6680; --tiede:#f0c050; --froid:#5ca8ff; --green:#4fd49a;
  --radius-sm:2px; --radius:3px; --radius-lg:6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 4px 14px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 60px -16px rgba(0,0,0,.7);
  --grid-line: rgba(255,255,255,.04);
}

/* ------- Typo display ------- */
.display {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* ------- Layout containers ------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  line-height: 0;
}
.nav-brand-logo {
  height: 26px;
  width: auto;
  display: block;
}
.nav-brand-logo.dark { display: none; }
:root[data-theme="noir"] .nav-brand-logo.light { display: none; }
:root[data-theme="noir"] .nav-brand-logo.dark { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: var(--s2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--text-dim); }
.btn-secondary {
  background: var(--s2);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--s3); border-color: var(--border-hi); }
.btn-ghost {
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text); background: var(--s2); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.theme-toggle {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: background .15s, color .15s;
}
.theme-toggle:hover { background: var(--s2); color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-noir { display: none; }
[data-theme="noir"] .theme-toggle .icon-light { display: none; }
[data-theme="noir"] .theme-toggle .icon-noir { display: block; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .hero { padding: 56px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  position: relative;
}
.hero-eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(34px, 6vw, 68px);
  margin: 0 0 24px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.hero h1 .accent {
  color: var(--accent);
  font-weight: 600;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--green);
}
.hero-meta-sep {
  width: 1px; height: 12px;
  background: var(--border);
}

/* ------- Hero visual : interactive demo ------- */
.hero-visual {
  position: relative;
  min-height: 560px;
}
.demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--s2);
}
.demo-dots { display: flex; gap: 5px; }
.demo-dots span {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--border-hi);
}
.demo-url {
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.demo-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 8px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.demo-tab svg { width: 14px; height: 14px; opacity: .7; }
.demo-tab:hover { color: var(--text); }
.demo-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.demo-tab.active svg { color: var(--accent); opacity: 1; }

.demo-body {
  position: relative;
  padding: 16px;
  min-height: 420px;
}
.demo-pane {
  display: none;
  animation: paneIn .25s ease;
}
.demo-pane.active { display: block; }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Pane head */
.demo-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}
.demo-pane-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.demo-pane-meta {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

/* Dossiers list */
.demo-list { display: flex; flex-direction: column; gap: 6px; }
.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
}
.demo-row-l { display: flex; align-items: center; gap: 10px; }
.demo-row-r { display: flex; align-items: center; gap: 8px; }
.demo-avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--s3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  flex-shrink: 0;
}
.demo-avatar.lg { width: 44px; height: 44px; font-size: 14px; }
.demo-row-name { font-weight: 500; color: var(--text); font-size: 13px; }
.demo-row-meta { font-size: 11px; color: var(--muted); margin-top: 1px; }
.demo-temp {
  width: 6px; height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
}
.demo-temp.chaud { background: var(--chaud); }
.demo-temp.tiede { background: var(--tiede); }
.demo-temp.froid { background: var(--froid); }
.demo-stage {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--s2);
  color: var(--text-dim);
}
.demo-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 9px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.demo-action-pill::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* Client */
.demo-client { display: flex; flex-direction: column; gap: 16px; }
.demo-client-head { display: flex; align-items: center; gap: 14px; }
.demo-client-info { flex: 1; }
.demo-client-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.demo-client-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.demo-client-temp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--chaud) 12%, transparent);
  color: var(--chaud);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.demo-client-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-stat { background: var(--bg); padding: 12px 14px; }
.demo-stat-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.demo-stat-value { font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.demo-stat-value.accent { color: var(--accent); }
.demo-client-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.demo-timeline { display: flex; flex-direction: column; gap: 12px; position: relative; padding-left: 18px; }
.demo-timeline::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}
.demo-tl-item { position: relative; }
.demo-tl-dot {
  position: absolute;
  left: -18px;
  top: 5px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border-hi);
}
.demo-tl-dot.accent { border-color: var(--accent); background: var(--accent); }
.demo-tl-title { font-size: 13px; color: var(--text); font-weight: 500; }
.demo-tl-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Bien */
.demo-bien {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-bien-photo {
  height: 140px;
  background: linear-gradient(135deg, var(--s2), var(--s3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.demo-bien-photo svg { width: 56px; height: 56px; opacity: .5; }
.demo-bien-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.demo-bien-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.demo-bien-body { padding: 16px; }
.demo-bien-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.demo-bien-title { font-size: 15px; font-weight: 600; color: var(--text); }
.demo-bien-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.demo-bien-price { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.demo-bien-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.demo-bien-stat {
  text-align: center;
  padding: 10px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.demo-bien-stat-num {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.demo-bien-stat-num.accent { color: var(--accent); }
.demo-bien-stat-lab { font-size: 10px; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.demo-bien-acq { padding-top: 12px; border-top: 1px solid var(--border); }
.demo-bien-acq-title { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; font-weight: 600; }
.demo-bien-acq-list { display: flex; gap: -4px; }
.demo-mini-avatar {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--s3);
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-dim);
  margin-right: -6px;
}
.demo-mini-avatar.more { background: var(--accent-dim); color: var(--accent); }

/* Score Donna */
.demo-score {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.demo-score.compact { padding: 12px; margin-bottom: 14px; }
.demo-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.demo-score-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.demo-score-mark {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.demo-score-info {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--s2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: help;
  text-transform: none;
}
.demo-score-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.demo-score-value span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.demo-score-bar {
  height: 5px;
  background: var(--s3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.demo-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  border-radius: 999px;
  transition: width .6s ease;
}
.demo-score-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-score-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  background: var(--s2);
  color: var(--text-dim);
}
.demo-score-pill.positive { color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.demo-score-pill.negative { color: var(--chaud); background: color-mix(in srgb, var(--chaud) 10%, transparent); }

/* Donna copilot */
.demo-copilot {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 14px;
  position: relative;
}
.demo-copilot::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--accent);
  border-radius: var(--radius) 0 0 var(--radius);
}
.demo-copilot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.demo-copilot-mark {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.demo-copilot-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  flex: 1;
}
.demo-copilot-time {
  font-size: 11px;
  color: var(--muted);
}
.demo-copilot-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}
.demo-copilot-match {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.demo-copilot-match-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.demo-copilot-match-info { flex: 1; display: flex; flex-direction: column; }
.demo-copilot-match-name { font-size: 12px; font-weight: 600; color: var(--text); }
.demo-copilot-match-reason { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.demo-copilot-match-score {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.demo-copilot-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-copilot-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--s2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background .15s, border-color .15s;
}
.demo-copilot-btn:hover { background: var(--s3); border-color: var(--border-hi); }
.demo-copilot-btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.demo-copilot-btn.primary:hover { background: var(--text-dim); border-color: var(--text-dim); }
.demo-copilot-btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-dim);
}
.demo-copilot-btn.ghost:hover { color: var(--text); background: var(--s2); }

/* Donna IA */
.demo-ia { display: flex; flex-direction: column; gap: 14px; }
.demo-ia-msg { display: flex; gap: 10px; }
.demo-ia-msg.user { justify-content: flex-end; }
.demo-ia-mark {
  width: 28px; height: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.demo-ia-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  max-width: 85%;
}
.demo-ia-bubble.user {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  border-bottom-right-radius: var(--radius);
}
.demo-ia-text { margin-bottom: 10px; }
.demo-ia-cards { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.demo-ia-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 11px;
}
.demo-ia-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.demo-ia-card-name { font-weight: 600; font-size: 12px; color: var(--text); flex: 1; }
.demo-ia-card-reason { font-size: 11px; color: var(--text-dim); line-height: 1.45; }
.demo-ia-actions { display: flex; gap: 6px; }
.demo-ia-action {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  transition: background .15s;
}
.demo-ia-action:hover { background: var(--text-dim); }
.demo-ia-action.ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.demo-ia-action.ghost:hover { background: var(--s2); color: var(--text); }

@media (max-width: 980px) {
  .hero-visual { min-height: 0; }
  .demo-body { min-height: 560px; padding: 14px; }
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--s2);
}
.mock-dots {
  display: flex; gap: 5px;
}
.mock-dots span {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--border-hi);
}
.mock-tabs {
  display: flex; gap: 14px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.mock-tabs span.active { color: var(--text); }
.mock-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}

.mock-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Vente mockup : pipeline de dossiers */
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
}
.mock-row-left { display: flex; align-items: center; gap: 10px; }
.mock-avatar {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--s3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
}
.mock-row-name { font-weight: 500; color: var(--text); }
.mock-row-meta { font-size: 11px; color: var(--muted); }
.mock-row-right { display: flex; align-items: center; gap: 8px; }
.mock-temp {
  width: 6px; height: 6px;
  border-radius: 999px;
}
.mock-temp.chaud { background: var(--chaud); }
.mock-temp.tiede { background: var(--tiede); }
.mock-temp.froid { background: var(--froid); }
.mock-stage {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: var(--s2);
  color: var(--text-dim);
}
.mock-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.mock-action-pill::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* Stay mockup : timeline calendrier */
.mock-cal {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  gap: 0;
  font-size: 10px;
}
.mock-cal-head {
  padding: 6px 0 8px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mock-cal-head:first-child { border-bottom-color: transparent; }
.mock-cal-row {
  display: contents;
}
.mock-cal-bien {
  padding: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mock-cal-cell {
  height: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mock-cal-bar {
  position: absolute;
  top: 5px; bottom: 5px;
  border-radius: var(--radius-sm);
  font-size: 9px;
  display: flex; align-items: center;
  padding: 0 6px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.mock-cal-bar.b1 { left: 6px; right: -100px; background: color-mix(in srgb, var(--froid) 18%, transparent); border: 1px solid color-mix(in srgb, var(--froid) 35%, transparent); }
.mock-cal-bar.b2 { left: -50px; right: 6px; background: color-mix(in srgb, var(--green) 18%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); }
.mock-cal-bar.b3 { left: 6px; right: 6px; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }

/* ==========================================================================
   LOGO STRIP / TRUST
   ========================================================================== */
.trust {
  padding: 32px 0 8px;
  border-bottom: 1px solid var(--border);
}
.trust-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: center;
  padding-bottom: 32px;
}
.trust-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-align: center;
  padding: 12px 16px;
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.trust-logo:hover { opacity: 1; color: var(--text-dim); }
@media (max-width: 760px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  padding: 120px 0 100px;
}
.manifesto-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.manifesto h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 24px;
  text-wrap: balance;
}
.manifesto h2 .accent {
  color: var(--accent);
  font-weight: 600;
}
.manifesto p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  text-wrap: pretty;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.manifesto-card {
  background: var(--surface);
  padding: 32px 28px;
  text-align: left;
}
.manifesto-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.manifesto-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.manifesto-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
@media (max-width: 760px) {
  .manifesto { padding: 80px 0 60px; }
  .manifesto-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SCORING — 3 températures
   ========================================================================== */
.scoring {
  padding: 110px 0 100px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.scoring-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.scoring-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  color: var(--text);
}
.scoring-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  text-wrap: pretty;
}
.scoring-head p strong { color: var(--text); font-weight: 600; }

.scoring-foot {
  margin: 48px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ===== Mock fiche client + Donna Instinct ===== */
.scoring-mock {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  font-size: 13px;
  color: var(--text);
}
.scoring-mock svg { width: 14px; height: 14px; flex-shrink: 0; }

.sm-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.sm-note {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.sm-note-bar {
  width: 2px;
  align-self: stretch;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.sm-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  text-wrap: pretty;
}

/* Client card */
.sm-client {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sm-client-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.sm-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.sm-client-id { flex: 1; min-width: 0; }
.sm-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sm-client-row h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.sm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.sm-badge-chaud {
  background: color-mix(in srgb, var(--chaud) 14%, transparent);
  color: var(--chaud);
}
.sm-badge-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
}
.sm-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.sm-search kbd {
  font-family: inherit;
  font-size: 10px;
  padding: 1px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
}
.sm-client-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.sm-client-sub span { display: inline-flex; align-items: center; gap: 5px; }
.sm-sep { color: var(--border-hi); }
.sm-client-actions {
  display: flex;
  gap: 8px;
  align-self: flex-start;
}
.sm-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: default;
  font-family: inherit;
  white-space: nowrap;
}
.sm-btn-pri {
  background: var(--text);
  color: var(--bg);
}
.sm-btn-sec {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.sm-btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-dim);
  padding: 8px 10px;
  letter-spacing: 0.1em;
}
.sm-btn-ghost-sq {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-dim);
  padding: 9px;
}
.sm-btn-wide { flex: 1; justify-content: center; }

/* KPIs row */
.sm-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sm-kpis:not(:last-child) { border-bottom: 1px solid var(--border); }
.sm-kpi {
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sm-kpi:last-child { border-right: none; }
.sm-kpi-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sm-kpi-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.sm-num { font-variant-numeric: tabular-nums; }
.sm-kpi-foot {
  font-size: 11px;
  color: var(--muted);
}
.sm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.sm-pill-chaud {
  background: color-mix(in srgb, var(--chaud) 14%, transparent);
  color: var(--chaud);
}
.sm-fin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text);
}
.sm-fin-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--green);
}
.sm-fin-dot-red { background: var(--chaud); }

/* Tabs */
.sm-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--s2);
}
.sm-tab {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dim);
  border-radius: var(--radius) var(--radius) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sm-tab-count {
  font-size: 11px;
  padding: 1px 6px;
  background: var(--s3);
  border-radius: 999px;
  color: var(--muted);
}
.sm-tab-active {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--surface);
  margin-bottom: -1px;
  font-weight: 500;
}

/* Panel content */
.sm-panel {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}
.sm-panel-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.sm-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sm-field {
  padding: 11px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-field:nth-child(3n) { border-right: none; }
.sm-field:nth-last-child(-n+3) { border-bottom: none; }
.sm-field-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sm-field-value {
  font-size: 14px;
  color: var(--text);
}
.sm-muted { color: var(--muted); }
.sm-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}
.sm-chip-x { color: color-mix(in srgb, var(--accent) 60%, transparent); }
.sm-chip-add {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--border-hi);
}

.sm-locbox {
  padding: 14px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sm-loc-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.sm-loc-label svg { color: var(--chaud); }
.sm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Donna Instinct panel */
.sm-instinct {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sm-instinct-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.sm-instinct-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sm-instinct-logo {
  width: 26px; height: 26px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sm-instinct-logo::after {
  content: "";
  position: absolute; right: -1px; bottom: -1px;
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--green);
  border: 2px solid var(--surface);
}
.sm-instinct-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}
.sm-instinct-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.sm-instinct-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.sm-instinct-meta svg { color: var(--muted); width: 12px; height: 12px; }

.sm-score { padding: 18px 18px 4px; }
.sm-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sm-score-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sm-score-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--chaud);
}
.sm-score-bar {
  height: 8px;
  background: var(--s2);
  border-radius: 999px;
  overflow: hidden;
}
.sm-score-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.sm-instinct-summary {
  padding: 14px 18px 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.sm-instinct-summary strong { color: var(--text); font-weight: 600; }
.sm-em { color: var(--text); font-weight: 500; }
.sm-instinct-meta-row {
  padding: 12px 18px 8px;
  font-size: 11px;
  color: var(--muted);
}

.sm-suggestions {
  list-style: none;
  padding: 0 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-sug {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px 12px 14px;
  border-left: 2px solid var(--accent);
  background: transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sm-sug-green { border-left-color: var(--green); }
.sm-sug-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  margin-top: 1px;
}
.sm-sug-icon svg { width: 14px; height: 14px; }
.sm-sug-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.35;
}
.sm-sug-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.sm-sug-arrow {
  color: var(--muted);
  font-size: 16px;
  align-self: center;
}

.sm-instinct-foot {
  margin-top: auto;
  padding: 14px 14px 16px;
  display: flex;
  gap: 8px;
}

@media (max-width: 980px) {
  .scoring { padding: 80px 0 64px; }
  .scoring-head { margin-bottom: 40px; }
  .scoring-mock { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 16px; }
  .scoring-mock .sm-instinct { order: 1; }
  .scoring-mock .sm-left { order: 2; display: contents; }
  .scoring-mock .sm-client { display: none; }
  .scoring-mock .sm-note { order: 3; }
  /* Hero demo : hauteur stable entre onglets pour éviter les sauts */
  .demo-body { min-height: 560px; }
  .sm-kpis { grid-template-columns: repeat(2, 1fr); }
  .sm-kpi:nth-child(2) { border-right: none; }
  .sm-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .sm-fields { grid-template-columns: repeat(2, 1fr); }
  .sm-field { border-right: 1px solid var(--border) !important; }
  .sm-field:nth-child(2n) { border-right: none !important; }
  .sm-client-head { flex-wrap: wrap; }
  .sm-search { display: none; }
}
@media (max-width: 600px) {
  .sm-kpis { grid-template-columns: 1fr; }
  .sm-kpi { border-right: none !important; border-bottom: 1px solid var(--border); }
  .sm-kpi:last-child { border-bottom: none; }
  .sm-fields { grid-template-columns: 1fr; }
  .sm-field { border-right: none !important; }
  .sm-tabs { overflow-x: auto; }

  /* Header fiche client — stack proprement */
  .sm-client-head {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "avatar id"
      "actions actions";
    gap: 12px;
    padding: 16px;
  }
  .sm-avatar { grid-area: avatar; width: 48px; height: 48px; font-size: 14px; }
  .sm-client-id { grid-area: id; min-width: 0; }
  .sm-client-row { gap: 8px; }
  .sm-client-row h3 { font-size: 18px; }
  .sm-search { display: none; }
  .sm-client-sub { font-size: 11px; gap: 8px; }
  .sm-client-actions {
    grid-area: actions;
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .sm-client-actions .sm-btn { flex: 1 1 0; justify-content: center; min-width: 0; }
  .sm-client-actions .sm-btn-ghost { flex: 0 0 44px; min-width: 44px; }
}
@media (max-width: 480px) {
  .sm-client-head { padding: 14px; gap: 10px; }
  .sm-client-row h3 { font-size: 17px; }
  .sm-avatar { width: 44px; height: 44px; font-size: 13px; }
  .sm-client-sub { font-size: 10.5px; }
  .sm-client-sub .sm-sep:nth-of-type(2) { display: none; }
  .sm-client-actions .sm-btn { font-size: 12px; padding: 0 10px; height: 40px; }
}

/* ==========================================================================
   PRODUITS — sections deep dive
   ========================================================================== */
.product {
  padding: 100px 0;
  position: relative;
}
.product + .product { border-top: 1px solid var(--border); }
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.product-inner > * { min-width: 0; }
.product.reverse .product-inner {
  grid-template-columns: 1.15fr 1fr;
}
.product.reverse .product-content {
  order: 2;
}
@media (max-width: 980px) {
  .product { padding: 64px 0; }
  .product-inner,
  .product.reverse .product-inner { grid-template-columns: 1fr; gap: 40px; }
  .product.reverse .product-content { order: 0; }
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  line-height: 0;
}
.product-badge-logo {
  height: 22px;
  width: auto;
  display: block;
}
.product-badge-logo.dark { display: none; }
:root[data-theme="noir"] .product-badge-logo.light { display: none; }
:root[data-theme="noir"] .product-badge-logo.dark { display: block; }
.product-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius);
  line-height: 1.4;
}
.product-badge-url {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 500;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
  line-height: 1.4;
}
.product h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 20px;
}
.product-tagline {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 480px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 14px;
}
.product-features li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.45;
}
.product-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  width: 16px; height: 16px;
}
.product-features li span.muted { color: var(--text-dim); }

.product-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----- Product visual cards ----- */
.product-visual {
  position: relative;
  min-width: 0;
}
.product-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.product-screen-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--s2);
}
.product-screen-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-screen-title svg { width: 12px; height: 12px; opacity: .6; }

/* ===== Vente : board pipeline ===== */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.pipeline-col {
  background: var(--surface);
  padding: 14px 12px 12px;
  min-height: 280px;
}
.pipeline-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}
.pipeline-col-head h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.pipeline-col-count {
  font-size: 10px;
  color: var(--muted);
  background: var(--s2);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pipeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 11px;
  margin-bottom: 8px;
  font-size: 11px;
}
.pipeline-card-name {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 12px;
}
.pipeline-card-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pipeline-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.pipeline-card-price {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.product-screen-foot {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  background: var(--s2);
}
.product-screen-foot-left { display: flex; align-items: center; gap: 10px; }
.product-screen-foot-pulse {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  position: relative;
}
.product-screen-foot-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Stay : calendrier ===== */
.cal-screen {
  padding: 20px;
}
.cal-grid {
  display: grid;
  grid-template-columns: 90px repeat(10, 1fr);
  font-size: 11px;
}
.cal-h {
  padding: 8px 4px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
}
.cal-h.today {
  color: var(--accent);
  font-weight: 600;
}
.cal-h.first { color: var(--text); font-weight: 600; }
.cal-bien {
  padding: 12px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-bien-sub {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.cal-cell {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 36px;
  position: relative;
}
.cal-cell.weekend { background: color-mix(in srgb, var(--text) 2%, transparent); }
.cal-bar {
  position: absolute;
  top: 6px; bottom: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
}
.cal-bar.froid {
  background: color-mix(in srgb, var(--froid) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--froid) 35%, transparent);
  color: var(--froid);
}
.cal-bar.green {
  background: color-mix(in srgb, var(--green) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  color: var(--green);
}
.cal-bar.tiede {
  background: color-mix(in srgb, var(--tiede) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tiede) 35%, transparent);
  color: var(--tiede);
}
.cal-bar.accent {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.cal-cell.event {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

/* ===== Mobile sidekick (floating) ===== */
.mobile-sidekick {
  position: absolute;
  width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  font-size: 11px;
}
.mobile-sidekick.right { top: 40px; right: -40px; transform: rotate(4deg); }
.mobile-sidekick.left  { bottom: 30px; left: -30px; transform: rotate(-3deg); }
.mobile-sk-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-sk-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.mobile-sk-name { font-weight: 600; font-size: 11px; }
.mobile-sk-time { font-size: 9px; color: var(--muted); }
.mobile-sk-msg {
  background: var(--s2);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text);
}
.mobile-sk-msg strong { color: var(--accent); }

/* ==========================================================================
   COMMENT ÇA MARCHE
   ========================================================================== */
.how {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.how-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.how-head p {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--border);
}
.how-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}
.how-step-num {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.how-step-num::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  opacity: .5;
}
.how-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 760px) {
  .how { padding: 72px 0; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-steps::before { display: none; }
}

/* ==========================================================================
   SECURITE / RGPD
   ========================================================================== */
.security {
  padding: 100px 0;
}
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.security-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.security-content p {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 0 28px;
  line-height: 1.55;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.security-cell {
  background: var(--surface);
  padding: 24px;
}
.security-cell-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text);
}
.security-cell-icon svg { width: 16px; height: 16px; }
.security-cell h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.security-cell p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .security-inner { grid-template-columns: 1fr; gap: 40px; }
  .security { padding: 72px 0; }
}

/* ==========================================================================
   PRICING TEASER
   ========================================================================== */
.pricing {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.pricing-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.pricing-head p {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.pricing-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  line-height: 0;
}
.pricing-card-logo {
  height: 26px;
  width: auto;
  display: block;
}
.pricing-card-logo.dark { display: none; }
:root[data-theme="noir"] .pricing-card-logo.light { display: none; }
:root[data-theme="noir"] .pricing-card-logo.dark { display: block; }
.pricing-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius);
  line-height: 1.4;
}
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.pricing-card-price-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pricing-card-price-suffix {
  font-size: 14px;
  color: var(--text-dim);
}
.pricing-card-soon {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--accent);
  padding: 6px 0;
}
.pricing-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  flex-grow: 1;
}
.pricing-card-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  gap: 10px;
}
.pricing-card-features li svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}
.pricing-card .btn { width: 100%; }
@media (max-width: 760px) {
  .pricing { padding: 72px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.cta-final h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.cta-final h2 .accent {
  color: var(--accent);
  font-weight: 600;
}
.cta-final p {
  font-size: 19px;
  color: var(--text-dim);
  margin: 0 0 36px;
}
.cta-final-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .cta-final { padding: 80px 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  line-height: 0;
}
.footer-brand .nav-brand-logo {
  height: 30px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 280px;
}
.footer-seo {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 32px 0 24px;
  max-width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-seo strong { color: var(--text-dim); font-weight: 500; }
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--s3); color: var(--text); }
.footer-social svg { width: 14px; height: 14px; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-bottom-meta a:hover { color: var(--text); }
.footer-made {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 860px) {
  .footer { padding: 64px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile : empêche le débordement horizontal global ===== */
html, body { overflow-x: hidden; }


/* Pipeline (Vente) : scrollable horizontalement à l'intérieur du cadre,
   sans déborder du viewport. min-width assure que les 4 colonnes restent lisibles. */
@media (max-width: 760px) {
  .product-screen { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .product-screen .pipeline {
    min-width: 560px;
  }
  /* Le header reste calé en haut, ne scrolle pas avec */
  .product-screen .product-screen-header { position: sticky; left: 0; }
  /* Indicateur visuel de scroll : fade sur le bord droit */
  .product-screen { position: relative; }
}

/* ===== Mobile fine-tuning ===== */
@media (max-width: 560px) {
  /* Hero : padding réduit, hiérarchie plus compacte */
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 32px; line-height: 1.05; }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta .btn-ghost { width: auto; }

  /* Demo : un peu plus compacte */
  .demo-body { min-height: 560px !important; padding: 12px !important; }

  /* Pipeline : colonnes un peu plus étroites pour montrer 3 cols partielles */
  .product-screen .pipeline { min-width: 480px; }
  .pipeline-col { padding: 12px 10px; }
  .pipeline-card { padding: 9px 10px; }

  /* Sections : moins de padding */
  .product { padding: 48px 0 !important; }
  .manifesto { padding: 56px 0 40px !important; }
  .how { padding: 56px 0 !important; }
  .security { padding: 56px 0 !important; }
  .pricing { padding: 56px 0 !important; }
  .cta-final { padding: 56px 0 !important; }

  /* CTA-final : titre plus petit */
  .cta-final h2 { font-size: 28px !important; }

  /* Trust logos : 2 colonnes */
  .trust-logos { grid-template-columns: repeat(2, 1fr) !important; }
}
