/* ============================================================
   SupraDash — site.css
   Landing + connexion · Swiss grid monochrome.
   La couleur est réservée aux verdicts (Kill / Improve / Scale).
   ============================================================ */

:root {
  --color-graphite: #0b1222;
  --color-pure-black: #000000;
  --color-carbon: #16203a;
  --color-concrete: #525e72;
  --color-ash: #97a2b6;
  --color-smoke: #ccd4e2;
  --color-hairline: #dbe1ec;
  --color-mist: #eef1f7;
  --color-chalk: #ffffff;
  /* Couche signal : verdicts uniquement, jamais décorative */
  --color-accent: #d4f94b;
  --color-accent-deep: #bfe73a;
  --color-accent-ink: #5d770e;
  --tint-accent: #f4fbdc;
  --line-accent: #dff3a3;
  --color-success: #166a4e;
  --tint-success: #e7f1ec;
  --line-success: #b3cfc1;
  --up-success: #84d6b1;
  --color-warn: #8f5616;
  --tint-warn: #f3eee2;
  --line-warn: #d4c094;
  --color-danger: #ab3434;
  --tint-danger: #f5e9e9;
  --line-danger: #ddb7b7;
  --surface-soft: #f3f5f9;
  --surface-canvas: #ffffff;
  --surface-inverted: #0e1730;
  /* Élévation fonctionnelle */
  --shadow-xs: 0 1px 2px rgba(9, 9, 11, .04);
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .05), 0 4px 12px -4px rgba(9, 9, 11, .08);
  --shadow-lg: 0 1px 2px rgba(9, 9, 11, .04), 0 24px 64px -28px rgba(9, 9, 11, .18);
  --font-geist: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-geist-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --radius-md: 4px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-3xl: 26px;
  --radius-full: 9999px;
  --page-max: 1080px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-geist);
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-graphite);
  background: var(--surface-canvas);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Scrollbars fines et discrètes */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: var(--radius-full);
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--color-smoke); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--color-accent); color: var(--color-graphite); }
img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--color-graphite); outline-offset: 2px; border-radius: var(--radius-md); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--color-graphite);
  color: var(--color-chalk);
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  z-index: 300;
}
.skip-link:focus { left: 8px; }

.icon { width: 16px; height: 16px; flex: 0 0 auto; display: inline-block; vertical-align: -3px; }

/* ---------- Boutons, labels ---------- */
.primary-button, .secondary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-lg);
  min-height: 38px;
  padding: 9px 16px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
/* CTA noir : micro-sheen interne + ombre de contact = pressable */
.primary-button { background: var(--color-accent); color: var(--color-graphite); border: 1px solid var(--color-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--shadow-xs); }
.primary-button:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-sm); transform: translateY(-1px); }
.primary-button:active { transform: scale(.985); }
.primary-button.inverted { background: var(--color-accent); color: var(--color-graphite); border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.primary-button.inverted:hover { background: var(--color-accent-deep); }
.secondary-button { background: var(--color-chalk); color: var(--color-graphite); border: 1px solid var(--color-hairline); box-shadow: var(--shadow-xs); }
.secondary-button:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); }
.ghost-button { background: transparent; color: var(--color-graphite); border: 0; }
.ghost-button:hover { background: var(--color-mist); }
.ghost-button.on-dark { color: var(--color-chalk); }
.ghost-button.on-dark:hover { background: rgba(255,255,255,.1); }
.primary-button.xl, .ghost-button.xl { min-height: 46px; padding: 12px 22px; font-size: 15px; }
.primary-button.full, .secondary-button.full { width: 100%; }

/* Eyebrow : micro-label éditorial uppercase */
.eyebrow {
  display: block;
  color: var(--color-concrete);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  max-width: 100%;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: var(--color-chalk);
  color: var(--color-concrete);
  border: 1px solid var(--color-hairline);
  padding: 2px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill-inverted { background: transparent; color: var(--color-chalk); border-color: rgba(255,255,255,.25); }

/* ---------- Marque ---------- */
.brand-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--color-graphite); text-decoration: none; min-width: 0; }
.brand-symbol {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-graphite);
  border-radius: var(--radius-lg);
  display: inline-grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: -0.05em;
  font-size: 11px;
  background: var(--color-chalk);
  flex: 0 0 auto;
}
.brand-text { font-size: 15px; font-weight: 600; letter-spacing: -0.04em; }

/* ---------- Navigation site : transparente sur le hero sombre, verre au scroll ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-nav .brand-mark, .site-nav .site-links a, .site-nav .ghost-button { color: #e4e4e7; transition: color .25s var(--ease), background .16s var(--ease); }
.site-nav .brand-symbol { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.site-nav .site-links a:hover, .site-nav .ghost-button:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--color-hairline);
  box-shadow: 0 1px 2px rgba(9,9,11,.03), 0 8px 24px -16px rgba(9,9,11,.08);
}
.site-nav.scrolled .brand-mark { color: var(--color-graphite); }
.site-nav.scrolled .site-links a, .site-nav.scrolled .ghost-button { color: var(--color-concrete); }
.site-nav.scrolled .brand-symbol { background: var(--color-chalk); border-color: var(--color-graphite); color: var(--color-graphite); }
.site-nav.scrolled .site-links a:hover, .site-nav.scrolled .ghost-button:hover { background: var(--color-mist); color: var(--color-graphite); }
section[id] { scroll-margin-top: 76px; }
.site-nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.site-links a {
  color: var(--color-concrete);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-lg);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.site-links a:hover { background: var(--color-mist); color: var(--color-graphite); }
.site-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ---------- Hero sombre ---------- */
.hero { position: relative; padding: 0 24px; overflow: hidden; }
.hero-dark { background: #0a0a0c; color: var(--color-chalk); }
.hero-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,249,75,.22), rgba(212,249,75,.08) 48%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
  animation: glowBreathe 9s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-glow-soft {
  top: auto;
  right: auto;
  bottom: -240px;
  left: -180px;
  width: 540px;
  height: 540px;
  background: radial-gradient(closest-side, rgba(212,249,75,.1), transparent 70%);
  animation-duration: 12s;
  animation-delay: -4s;
}
.glow-center {
  top: auto;
  right: auto;
  bottom: -320px;
  left: 50%;
  width: 880px;
  height: 620px;
  animation-name: glowBreatheCenter;
}
@keyframes glowBreathe { from { opacity: .72; transform: scale(.96); } to { opacity: 1; transform: scale(1.06); } }
@keyframes glowBreatheCenter { from { opacity: .7; transform: translateX(-50%) scale(.96); } to { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
  min-height: 100svh;
  padding: 140px 0 96px;
  position: relative;
  z-index: 1;
}
.hero-copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.hero-title {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero-title em { font-style: normal; color: #a5b4fc; border-bottom: 4px solid var(--color-accent); }
/* Montée mot à mot du titre */
.hero-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: wordUp .75s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }
.hero-sub { margin: 0; color: #a1a1aa; font-size: 17px; line-height: 1.6; max-width: 520px; }
.hero-sub strong { color: var(--color-chalk); }
.hero-dark .eyebrow { color: #818cf8; }
.hero-dark .ghost-button { color: #d4d4d8; }
.hero-dark .ghost-button:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { margin: 0; color: #71717a; font-size: 12px; }

/* Maquette SupraDash */
.hero-mock { position: relative; min-width: 0; perspective: 1200px; }
.mock-window {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background: var(--color-chalk);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-out);
  will-change: transform;
}
.hero-dark .mock-window {
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 28px 80px -20px rgba(0,0,0,.55), 0 0 110px -24px rgba(212,249,75,.25);
}
.hero-dark .mock-toast { border-color: rgba(255,255,255,.16); box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); }
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-hairline);
  background: var(--surface-soft);
}
.mock-logo {
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-graphite);
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  font-weight: 600;
  flex: 0 0 auto;
}
.mock-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-hairline);
  border-radius: 8px;
  padding: 5px 10px;
  color: var(--color-ash);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.mock-search .icon { width: 12px; height: 12px; }
.mock-btn-dark {
  background: var(--color-accent);
  color: var(--color-chalk);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}
.mock-btn-dark.small { padding: 4px 10px; font-size: 10px; }
.mock-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); min-height: 312px; }
.mock-sidebar {
  border-right: 1px solid var(--color-hairline);
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 2px;
}
.mock-nav {
  font-size: 10.5px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--color-concrete);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-nav.active { background: var(--color-graphite); color: var(--color-chalk); }
.mock-main { padding: 14px; display: grid; align-content: start; gap: 10px; min-width: 0; }
.mock-headline { font-weight: 600; letter-spacing: -0.03em; font-size: 12px; }
.mock-action {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.mock-action > * { transition: opacity .22s var(--ease), transform .22s var(--ease); }
.mock-action.swap > * { opacity: 0; transform: translateY(-6px); }
@keyframes metricPop { 35% { transform: scale(1.16); } }
.mock-metric strong.pop { animation: metricPop .4s var(--ease-out); }
.mock-card-mini.mover { transition: transform .6s var(--ease-out); will-change: transform; }
.mock-card-mini.mover.moved { transform: translateX(calc(100% + 24px)); }
.mock-action-text { flex: 1; min-width: 0; font-size: 11.5px; line-height: 1.35; min-height: 31px; display: flex; align-items: center; }
.mock-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-metric {
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.mock-metric small { color: var(--color-concrete); font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-metric strong { font-size: 20px; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.mock-metric svg { width: 100%; height: 20px; }
.mock-metric svg path { stroke: var(--color-smoke); stroke-width: 1.5; fill: none; }
.mock-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-col {
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 80px;
  min-width: 0;
}
.mock-col > span { font-size: 10px; font-weight: 500; color: var(--color-concrete); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card-mini { height: 20px; border: 1px solid var(--color-hairline); border-radius: 6px; background: var(--color-chalk); }
.mock-card-mini.dark { background: var(--color-graphite); border-color: var(--color-graphite); }
.mock-toast {
  position: absolute;
  right: -8px;
  bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-chalk);
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-graphite);
  max-width: calc(100% - 16px);
  box-shadow: var(--shadow-sm);
}
.mock-toast.show { opacity: 1; transform: translateY(0); }
.mock-toast .icon { width: 14px; height: 14px; color: var(--color-success); }
.mock-toast strong { color: var(--color-success); font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  overflow: hidden;
  padding: 14px 0;
  background: var(--color-chalk);
  /* Fondu aux bords : masque alpha, aucune couleur ajoutée */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--color-concrete);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 24px; }
.section-alt { background: var(--surface-soft); border-top: 1px solid var(--color-hairline); border-bottom: 1px solid var(--color-hairline); }
.section-inner { max-width: var(--page-max); margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }
.section-inner.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.section-head { display: grid; gap: 8px; justify-items: start; margin-bottom: 48px; max-width: 640px; }
.section-title-xl {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.section-sub { margin: 0; color: var(--color-concrete); font-size: 15px; line-height: 1.55; max-width: 520px; }

/* ---------- Pain list ---------- */
.pain-list { display: grid; gap: 8px; }
.pain {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 16px;
  transition: border-color .16s var(--ease);
  min-width: 0;
}
.pain:hover { border-color: var(--color-smoke); }
.pain-x, .pain-check {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--color-hairline);
  background: var(--color-chalk);
  color: var(--color-concrete);
  margin-top: 1px;
}
.pain-x .icon, .pain-check .icon { width: 12px; height: 12px; }
.pain > div { min-width: 0; }
.pain strong { display: block; font-size: 14px; letter-spacing: -0.02em; }
.pain p { margin: 2px 0 0; color: var(--color-concrete); font-size: 13px; }
.pain.answer { background: var(--surface-inverted); border-color: var(--color-carbon); color: var(--color-chalk); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-sm); }
.pain.answer strong { color: var(--color-chalk); }
.pain.answer p { color: #d4d4d8; }
.pain-check { background: transparent; color: var(--up-success); border-color: rgba(255,255,255,.28); }

/* ---------- Modules ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.module-card {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background: var(--color-chalk);
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  box-shadow: var(--shadow-xs);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.module-card:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.module-card .eyebrow { font-size: 10px; }
.module-card h3, .step-card h3, .price-head h3 { font-weight: 600; }
.module-card h3 { margin: 0; font-size: 16px; letter-spacing: -0.03em; line-height: 1.3; }
.module-card p { margin: 0; color: var(--color-concrete); font-size: 13px; line-height: 1.5; }
.module-wire {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  padding: 14px;
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: center;
}
.w-row { height: 8px; background: var(--color-chalk); border: 1px solid var(--color-hairline); border-radius: var(--radius-md); }
.w-row.dark { background: var(--color-graphite); border-color: var(--color-graphite); }
.w-pills { display: flex; gap: 6px; }
.w-pills span { width: 36px; height: 13px; border-radius: var(--radius-full); background: var(--color-chalk); border: 1px solid var(--color-hairline); }
.w-steps { display: flex; gap: 6px; }
.w-steps span {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-chalk);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--color-concrete);
}
.w-steps span.done { background: var(--color-graphite); color: var(--color-chalk); border-color: var(--color-graphite); }
.w-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.w-cols > div { display: grid; gap: 5px; align-content: start; }
.w-card { height: 16px; border: 1px solid var(--color-hairline); border-radius: 5px; background: var(--color-chalk); }
.w-card.dark { background: var(--color-graphite); border-color: var(--color-graphite); }
.w-verdicts { display: flex; gap: 6px; }
.w-verdicts span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-full);
  background: var(--color-chalk);
  padding: 3px 0;
  color: var(--color-concrete);
}
.w-verdicts span:nth-child(1) { color: var(--color-danger); background: var(--tint-danger); border-color: transparent; }
.w-verdicts span:nth-child(2) { color: var(--color-warn); background: var(--tint-warn); border-color: transparent; }
.w-verdicts span:nth-child(3) { color: var(--color-success); background: var(--tint-success); border-color: transparent; }
.w-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; align-items: center; }
.w-box { min-height: 44px; background: var(--color-chalk); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); }
.w-grid > div:last-child { display: grid; gap: 6px; }
.w-chat { display: grid; gap: 6px; }
.w-bubble { height: 14px; width: 70%; border-radius: 8px; background: var(--color-chalk); border: 1px solid var(--color-hairline); }
.w-bubble.dark { width: 52%; justify-self: end; background: var(--color-graphite); border-color: var(--color-graphite); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step-card {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  background: var(--color-chalk);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.step-card:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-accent);
  color: var(--color-accent-deep);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.step-card h3 { margin: 8px 0 0; font-size: 16px; letter-spacing: -0.03em; }
.step-card p { margin: 0; color: var(--color-concrete); font-size: 13px; line-height: 1.5; }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--surface-inverted); color: var(--color-chalk); padding: 88px 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.manifesto-inner { max-width: var(--page-max); margin: 0 auto; display: grid; gap: 24px; justify-items: start; }
.manifesto .eyebrow { color: var(--color-ash); }
.manifesto-lines { display: grid; gap: 4px; }
.manifesto-lines p {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--color-ash);
}
.manifesto-lines em { font-style: normal; color: var(--color-chalk); }

/* ---------- Comparaison ---------- */
.compare-wrap { border: 1px solid var(--color-hairline); border-radius: var(--radius-xl); overflow: auto; background: var(--color-chalk); box-shadow: var(--shadow-xs); }
.compare-grid { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-grid th, .compare-grid td { border-bottom: 1px solid var(--color-hairline); padding: 12px 16px; text-align: center; font-size: 13px; }
.compare-grid th { font-size: 12px; font-weight: 500; color: var(--color-concrete); }
.compare-grid th:first-child, .compare-grid td:first-child { text-align: left; font-weight: 500; color: var(--color-graphite); }
.compare-grid tr:last-child td { border-bottom: 0; }
.compare-grid td:not(:first-child) { color: var(--color-concrete); }
.compare-grid td { border-bottom-color: var(--color-mist); }
.compare-grid thead th { background: var(--surface-soft); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.compare-grid .col-cp { background: var(--color-graphite); color: var(--color-chalk) !important; font-weight: 600; border-bottom-color: rgba(255,255,255,.12); }
.compare-grid thead th.col-cp { background: var(--color-graphite); }
.compare-grid tr:last-child .col-cp { border-bottom: 0; }
.compare-grid td .icon { width: 14px; height: 14px; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--color-mist);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-hairline);
  margin-top: 8px;
}
.billing-option {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 500;
  color: var(--color-concrete);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.billing-option.active { background: var(--color-chalk); color: var(--color-graphite); border-color: var(--color-hairline); box-shadow: var(--shadow-xs); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.price-card {
  position: relative;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background: var(--color-chalk);
  padding: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
  box-shadow: var(--shadow-xs);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.price-card:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.price-card.featured { background: var(--surface-inverted); border-color: var(--color-carbon); color: var(--color-chalk); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow-lg); }
.price-card.featured .price-features li::before { opacity: .9; }
.featured-tag {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--color-accent);
  color: var(--color-chalk);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  box-shadow: var(--shadow-sm);
}
.price-head h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.04em; }
.price-head p { margin: 0; color: var(--color-concrete); font-size: 13px; }
.price-card.featured .price-head p { color: #d4d4d8; }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amount { font-size: 44px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount.swap { animation: priceSwap .25s var(--ease); }
@keyframes priceSwap { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }
.price-unit { color: var(--color-concrete); font-size: 14px; }
.price-card.featured .price-unit { color: #d4d4d8; }
.price-note { margin: -8px 0 0; font-size: 12px; color: var(--color-concrete); }
.price-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.price-features li { padding-left: 24px; position: relative; font-size: 13px; line-height: 1.4; color: var(--color-graphite); }
.price-card.featured .price-features li { color: #e4e4e7; }
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card.featured .primary-button { background: var(--color-chalk); color: var(--color-accent-deep); border-color: var(--color-chalk); }
.price-card.featured .primary-button:hover { background: var(--color-mist); }
.pricing-foot { text-align: center; color: var(--color-concrete); font-size: 13px; margin: 24px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background: var(--color-chalk);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color .16s var(--ease);
}
.faq-item:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--color-graphite); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  color: var(--color-concrete);
  transition: transform .2s var(--ease);
}
.faq-icon .icon { width: 12px; height: 12px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 16px; color: var(--color-concrete); font-size: 13.5px; line-height: 1.55; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; background: #0a0a0c; color: var(--color-chalk); padding: 120px 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.final-cta-inner { position: relative; z-index: 1; }
.final-cta-inner { max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.final-cta h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.05em; font-weight: 600; line-height: 1.1; }
.final-cta p { margin: 0; color: var(--color-ash); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-hairline); padding: 48px 24px 24px; }
.site-footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer-brand p { margin: 0; color: var(--color-concrete); font-size: 13px; line-height: 1.55; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col strong { font-size: 13px; margin-bottom: 4px; }
.footer-col a { color: var(--color-concrete); text-decoration: none; font-size: 13px; transition: color .16s var(--ease); }
.footer-col a:hover { color: var(--color-accent-ink); }
.site-footer-base {
  max-width: var(--page-max);
  margin: 40px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-concrete);
  font-size: 12px;
}

/* ---------- Preuve sociale : hero, logos, chiffres ---------- */
.hero-proof { margin: 0; color: #a1a1aa; font-size: 13px; }
.hero-proof strong { color: var(--color-chalk); font-weight: 600; }

.logo-strip { border-bottom: 1px solid var(--color-hairline); background: var(--surface-canvas); padding: 28px 24px; }
.logo-strip-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.logo-strip-label { color: var(--color-concrete); font-size: 12px; font-weight: 500; white-space: nowrap; }
.logo-words { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
.logo-word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-ash);
  transition: color .2s var(--ease);
}
.logo-word:hover { color: var(--color-graphite); }
.logo-glyph { width: 18px; height: 18px; flex: 0 0 auto; }
/* Logos tiers en couleurs officielles (exception assumée à la règle zinc : un logo
   de marque n'est pas un élément d'interface, sa couleur EST son identité) */
.glyph-shopify { color: #95bf47; }
.glyph-meta { color: #0467df; }
.glyph-googleads { color: #4285f4; }
.glyph-tiktok { color: #09090b; }
.glyph-pinterest { color: #e60023; }
.glyph-ga4 { color: #e37400; }

.stat-band { background: var(--surface-soft); border-bottom: 1px solid var(--color-hairline); padding: 40px 24px; }
.stat-band-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.stat { display: grid; gap: 2px; justify-items: center; text-align: center; }
.stat strong {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--color-concrete); font-size: 12.5px; }

/* ---------- Sans / Avec ---------- */
.duel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.duel-col { display: grid; gap: 8px; }
.duel-head {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-concrete);
}

/* ---------- Témoignages ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.quote-card {
  margin: 0;
  display: grid;
  gap: 20px;
  align-content: space-between;
  background: var(--color-chalk);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.quote-card:hover { border-color: var(--color-smoke); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quote-card blockquote { margin: 0; font-size: 14px; line-height: 1.6; color: var(--color-graphite); }
.quote-card figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
}
.quote-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-graphite);
  color: var(--color-chalk);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.quote-meta { display: grid; min-width: 0; }
.quote-meta strong { font-size: 13px; letter-spacing: -0.02em; }
.quote-meta small { color: var(--color-concrete); font-size: 12px; }
.quote-stat {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-accent-deep);
  background: var(--tint-accent);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

/* ---------- Fondateur ---------- */
.founder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  background: var(--color-chalk);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-3xl);
  padding: 40px;
  box-shadow: var(--shadow-xs);
}
.founder-avatar { width: 56px; height: 56px; font-size: 16px; }
.founder-body { display: grid; gap: 12px; justify-items: start; }
.founder-body h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.05em; font-weight: 600; line-height: 1.15; }
.founder-body p { margin: 0; color: var(--color-concrete); font-size: 14.5px; line-height: 1.65; }
.founder-body p em { font-style: normal; color: var(--color-graphite); font-weight: 500; }
.founder-body p strong { color: var(--color-graphite); }

/* ---------- Reveal au scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ---------- Barre de progression de scroll ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--color-accent-deep);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Entrée du hero : séquence au chargement ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.landing .hero-copy > * { opacity: 0; animation: riseIn .8s var(--ease-out) forwards; }
.landing .hero-copy > .hero-title { animation: none; opacity: 1; }
.landing .hero-copy > :nth-child(1) { animation-delay: .05s; }
.landing .hero-copy > :nth-child(2) { animation-delay: .14s; }
.landing .hero-copy > :nth-child(3) { animation-delay: .23s; }
.landing .hero-copy > :nth-child(4) { animation-delay: .32s; }
.landing .hero-copy > :nth-child(5) { animation-delay: .41s; }
.landing .hero-copy > :nth-child(6) { animation-delay: .5s; }
.landing .hero-mock { opacity: 0; animation: riseIn .9s var(--ease-out) .3s forwards; }

/* ============================================================
   PANEL DE CONNEXION
   ============================================================ */
body.auth { display: grid; min-height: 100vh; }
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 100vh;
}
.auth-aside {
  background: var(--surface-inverted);
  color: var(--color-chalk);
  padding: 48px;
  display: grid;
  align-content: space-between;
  gap: 48px;
  min-width: 0;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
}
.auth-aside .brand-mark { color: var(--color-chalk); }
.auth-aside .brand-symbol { background: transparent; border-color: rgba(255,255,255,.4); color: var(--color-chalk); }
.auth-aside-main { display: grid; gap: 24px; justify-items: start; }
.auth-headline {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1.15;
}
.auth-headline em { font-style: normal; color: var(--color-ash); }
.auth-points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; color: #d4d4d8; font-size: 14px; line-height: 1.5; }
.auth-points li::before {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  background: #d4d4d8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.auth-quote { border-left: 2px solid rgba(255,255,255,.3); padding-left: 16px; display: grid; gap: 8px; margin: 0; }
.auth-quote p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--color-chalk); }
.auth-quote span { color: var(--color-ash); font-size: 12px; }

.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(400px, 100%); display: grid; gap: 24px; animation: authIn .35s var(--ease); }
@keyframes authIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.auth-card-head { display: grid; gap: 4px; }
.auth-card-head h1 { margin: 0; font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; font-weight: 400; }
.auth-card-head p { margin: 0; color: var(--color-concrete); font-size: 14px; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  background: var(--color-mist);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
}
.auth-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--color-concrete);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.auth-tab.active { background: var(--color-chalk); color: var(--color-graphite); border-color: var(--color-hairline); box-shadow: var(--shadow-xs); }

.auth-form { display: grid; gap: 16px; }
.auth-field { display: grid; gap: 6px; }
.auth-field label { font-size: 12px; font-weight: 500; color: var(--color-concrete); }
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 11px 12px;
  background: var(--color-chalk);
  color: var(--color-graphite);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(9,9,11,.03);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.auth-input:focus { border-color: var(--color-accent-deep); box-shadow: inset 0 1px 2px rgba(11,18,34,.03), 0 0 0 3px rgba(191,231,58,.3); }
.auth-input.invalid { border-color: var(--color-danger); animation: shake .25s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--color-concrete);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: var(--radius-md);
}
.toggle-password:hover { background: var(--color-mist); color: var(--color-graphite); }
.auth-error {
  display: none;
  font-size: 12px;
  color: var(--color-danger);
  background: var(--tint-danger);
  border: 1px solid var(--line-danger);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
}
.auth-error.visible { display: block; animation: fadeDown .2s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.auth-check { display: flex; align-items: center; gap: 8px; color: var(--color-concrete); cursor: pointer; }
.auth-check input { accent-color: var(--color-accent); }
.auth-link { color: var(--color-accent-ink); text-decoration: none; font-weight: 500; }
.auth-link:hover { text-decoration: underline; }
.auth-submit { width: 100%; min-height: 46px; font-size: 15px; position: relative; }
.auth-submit.loading { pointer-events: none; color: transparent; }
.auth-submit.loading::after {
  color: var(--color-graphite);
  content: '· · ·';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-graphite);
  font-size: 18px;
  letter-spacing: 2px;
  animation: pulse 1s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--color-concrete); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-hairline); }
.auth-foot { text-align: center; color: var(--color-concrete); font-size: 12px; line-height: 1.5; margin: 0; }
.auth-foot a { color: var(--color-concrete); }
.auth-back { text-align: center; margin: 0; }
.auth-back a { color: var(--color-concrete); text-decoration: none; font-size: 13px; }
.auth-back a:hover { color: var(--color-graphite); }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { max-width: 600px; }
  .mock-toast { right: 8px; }
  .modules-grid, .steps-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-inner.two-col { grid-template-columns: 1fr; gap: 32px; }
  .quote-grid { grid-template-columns: 1fr; }
  .duel { grid-template-columns: 1fr; }
  .stat-band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 680px) {
  .site-links { display: none; }
  .hero { padding: 0 16px; }
  .hero-inner { min-height: auto; padding: 120px 0 72px; }
  .hero-glow { width: 420px; height: 420px; right: -160px; top: -120px; }
  .hero-glow-soft { display: none; }
  .modules-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 16px; }
  .logo-strip, .stat-band { padding-left: 16px; padding-right: 16px; }
  .logo-strip-inner { justify-content: center; text-align: center; }
  .founder-card { grid-template-columns: 1fr; padding: 24px; }
  .site-footer-inner { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .hero-ctas a { width: 100%; }
  .site-nav-inner { padding: 0 16px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .landing .hero-copy > *, .landing .hero-mock { opacity: 1; animation: none; }
  .hero-title .w { opacity: 1; transform: none; animation: none; }
  .hero-glow { animation: none; }
  .mock-toast { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Transitions inter-pages ----------
   Fondu croisé natif entre les pages (View Transitions cross-document).
   html.no-vt = repli JS (src/warm.js) pour les navigateurs sans support. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: .2s; }
  ::view-transition-new(root) { animation-duration: .3s; }
  html.no-vt body { animation: pageWarmIn .3s ease both; }
  html.no-vt body.page-leave { opacity: 0; transition: opacity .16s ease; }
}
@keyframes pageWarmIn { from { opacity: 0; } }

/* ---------- Reprise de session (interstitiel chaleureux) ---------- */
.resume-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(700px 420px at 70% -10%, rgba(26, 39, 71, .9), transparent 64%),
    #070d19;
  color: #f4f7fd;
  text-align: center;
  animation: resumeIn .3s ease both;
}
.resume-box { display: grid; gap: 12px; justify-items: center; }
.resume-roundel {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 249, 75, .85);
  display: grid;
  place-items: center;
  font: 700 13px/1 var(--font-geist-mono);
  color: #d4f94b;
  margin-bottom: 6px;
}
.resume-title { margin: 0; font: 400 30px/1.15 var(--font-display); letter-spacing: -0.01em; }
.resume-sub { margin: 0; color: #aeb9cf; font-size: 13.5px; }
.resume-bar {
  width: 180px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(170, 190, 230, .18);
  overflow: hidden;
}
.resume-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: #d4f94b;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: resumeFill .85s ease-out .1s forwards;
}
@keyframes resumeIn { from { opacity: 0; } }
@keyframes resumeFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .resume-overlay { animation: none; }
  .resume-bar { display: none; }
}

/* Entrée du login : l'aside et la carte arrivent ensemble, en douceur */
@media (prefers-reduced-motion: no-preference) {
  html.js .auth-aside { animation: authAsideIn .45s var(--ease-out) both; }
  html.js .auth-card { animation: authIn .4s var(--ease-out) .08s both; }
}
@keyframes authAsideIn { from { opacity: 0; } }
