/* Cairn — Landing animée
   Tokens reprennent la Vague 1 + couches d'animation. */

:root {
  --paper: #E9E3D7;
  --paper-deep: #DCD3C2;
  --paper-soft: #F0EBDF;
  --ink: #1F1C17;
  --ink-soft: #2D2920;
  --stone-50: #EDE6D9;
  --stone-100: #DCD3C2;
  --stone-200: #C2B9A6;
  --stone-300: #8F8778;
  --stone-400: #5E584D;
  --stone-500: #3A362E;
  --ochre: #C17742;
  --ochre-deep: #A25A2C;
  --ochre-soft: #E9CFA3;
  --moss: #4F5D3A;
  --slate: #3D4A56;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.11  0 0 0 0 0.09  0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.45'/></svg>");
  mix-blend-mode: multiply;
  opacity: .55;
}

/* —————— Custom cursor —————— */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s cubic-bezier(.34,1.4,.64,1),
              height .25s cubic-bezier(.34,1.4,.64,1),
              background .2s ease,
              opacity .2s ease,
              border-radius .2s ease;
  mix-blend-mode: normal;
}
[data-surface="dark"] .cursor { background: var(--paper); }
.cursor.large {
  width: 64px; height: 64px;
  background: var(--ochre);
  mix-blend-mode: normal;
  opacity: .92;
}
[data-surface="dark"] .cursor.large { background: var(--ochre); }
.cursor.text { width: 4px; height: 26px; border-radius: 2px; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
  body { cursor: auto !important; }
}

/* —— Hover lift on interactive elements (synced with custom cursor) —— */
@media (any-hover: hover) and (any-pointer: fine) {
  a, button, .tool, .faq-q, .quote, .step-mock {
    transition: transform .35s cubic-bezier(.34,1.4,.64,1);
  }
  .tool:hover, .faq-q:hover, .quote:hover, .step-mock:hover {
    transform: scale(1.025);
  }
  .nav a:hover, .footer a:hover { transform: translateY(-1px); }
  .btn:hover, button:not(.faq-q):not(.tool):hover {
    transform: translateY(-2px) scale(1.02);
  }
  /* .plan already has its own hover transform — don't override */
}

/* —————— Top nav —————— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: -.1px;
  background: var(--paper);
  border-bottom: 1px solid rgba(31,28,23,.06);
}
[data-surface="dark"] .nav {
  /* var(--paper) est déjà swappé en sombre par applySurface() en mode dark.
     L'ancienne règle utilisait var(--ink) ce qui forçait la couleur claire. */
  background: var(--paper);
  border-bottom-color: rgba(245,242,235,.08);
}
.nav .brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -.5px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.nav .brand .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  width: 28px; height: 32px;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.nav .brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }
.nav .brand .brand-word { display: inline-block; }
.nav .brand .brand-dot { color: var(--ochre); }
.nav .brand sup { color: var(--ochre); font-size: .5em; vertical-align: super; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; opacity: .7; transition: opacity .2s; }
.nav ul a:hover { opacity: 1; }
.nav .right { display: flex; align-items: center; gap: 18px; }
.nav .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500; font-size: 13px;
  transition: transform .2s ease, background .25s;
}
.nav .pill:hover { background: var(--ochre-deep); transform: translateY(-1px); }

/* —————— Generic layout —————— */
section { position: relative; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--stone-400);
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre);
}

/* —————— Hero —————— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9.5vw, 156px);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0 0 36px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--ochre);
}
.hero h1 .word {
  display: inline-block;
  vertical-align: top;
  clip-path: inset(-0.15em -0.5em);
  padding: 0.05em 0;
  margin: 0 0.06em;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up .9s cubic-bezier(.16, 1, .3, 1) forwards;
  padding: 0.05em 0;
}
@keyframes word-up { to { transform: translateY(0); } }

.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone-400);
  display: flex; gap: 32px;
  margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  animation: rise .8s ease .2s forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-right {
  display: flex; flex-direction: column; gap: 28px;
  align-items: flex-start;
  padding-bottom: 24px;
  opacity: 0;
  animation: rise .8s ease 1.1s forwards;
}
.hero-right p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  max-width: 38ch;
  margin: 0;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 24;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: -.1px;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--ochre-deep); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(31,28,23,.18); }
.btn.ghost:hover { background: rgba(31,28,23,.04); }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* —————— Hero topo background —————— */
.hero-topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .35;
}
.hero-topo svg { width: 100%; height: 100%; }
.hero-topo path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: topo-draw 2.4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes topo-draw {
  to { opacity: .18; stroke-dashoffset: 0; }
}

/* —————— Hero — cairn stack —————— */
.hero-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  align-self: end;
  justify-self: center;
  padding-bottom: 24px;
  z-index: 3;
}
.hero-stack .stack-ground {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,28,23,.25), transparent);
  opacity: 0;
  animation: ground-draw 1.2s ease forwards;
}
@keyframes ground-draw { to { opacity: 1; } }

.hero-stack .stone {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: var(--ink);
  transform-origin: center bottom;
  opacity: 0;
  --mx: 0px;
  --my: 0px;
  --shake-x: 0px;
  --shake-y: 0px;
  --shake-r: 0deg;
  --end-rot: 0deg;
  --end-dx: 0px;
  animation: stone-fall 1.05s cubic-bezier(.34,1.56,.64,1) forwards,
             stone-breathe 5s ease-in-out 2.4s infinite;
  will-change: transform;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.hero-stack .stone.summit {
  background: var(--ochre);
  animation: stone-fall 1.05s cubic-bezier(.34,1.56,.64,1) forwards,
             stone-breathe 5s ease-in-out 2.4s infinite,
             summit-pulse 2.6s ease-in-out 2.6s infinite;
}
.hero-stack .stone.summit::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,119,66,.4), transparent 60%);
  opacity: 0;
  animation: summit-glow 2.6s ease-in-out 2.6s infinite;
}

.hero-stack .stone.shake { animation-name: stone-fall, stone-shake-only; animation-duration: 1.05s, .4s; animation-timing-function: cubic-bezier(.34,1.56,.64,1), ease; animation-delay: 0s, 0s; animation-iteration-count: 1, 1; animation-fill-mode: forwards, none; }
@keyframes stone-shake-only {
  0%, 100% { transform: translate(-50%, 0) rotate(var(--end-rot)); }
  25%      { transform: translate(calc(-50% - 3px), 1px) rotate(calc(var(--end-rot) - 1.5deg)); }
  60%      { transform: translate(calc(-50% + 3px), 1px) rotate(calc(var(--end-rot) + 1.5deg)); }
}
.hero-stack .stone-shadow {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 240px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(31,28,23,.22), transparent 70%);
  transform: translateX(-50%);
  opacity: 0;
  animation: shadow-in 1.2s ease 1.6s forwards;
}
@keyframes shadow-in { to { opacity: 1; } }

@keyframes stone-fall {
  0%   { opacity: 0; transform: translate(-50%, -260px) rotate(calc(var(--end-rot) - 18deg)) scale(.94); }
  60%  { opacity: 1; transform: translate(-50%, 14px)   rotate(calc(var(--end-rot) + 2deg))  scale(1.02, .96); }
  78%  { transform: translate(-50%, -6px)  rotate(var(--end-rot)) scale(.99, 1.02); }
  100% { opacity: 1; transform: translate(-50%, 0) rotate(var(--end-rot)) scale(1); }
}
@keyframes stone-breathe {
  0%, 100% { transform: translate(calc(-50% + var(--mx)), var(--my)) rotate(var(--end-rot)); }
  50%      { transform: translate(calc(-50% + var(--mx)), calc(var(--my) - 1px)) rotate(calc(var(--end-rot) + .6deg)); }
}
@keyframes stone-shake {
  0%, 100% { transform: translate(calc(-50% + var(--mx)), var(--my)) rotate(var(--end-rot)); }
  25%      { transform: translate(calc(-52% + var(--mx)), calc(var(--my) + 1px)) rotate(calc(var(--end-rot) - 1deg)); }
  75%      { transform: translate(calc(-48% + var(--mx)), calc(var(--my) + 1px)) rotate(calc(var(--end-rot) + 1deg)); }
}
@keyframes summit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,119,66,.55); }
  50%      { box-shadow: 0 0 0 16px rgba(193,119,66,0); }
}
@keyframes summit-glow {
  0%, 100% { opacity: .15; transform: scale(.9); }
  50%      { opacity: .9; transform: scale(1.45); }
}

/* dust burst */
.hero-stack .dust {
  position: absolute;
  width: 60px; height: 1px;
  pointer-events: none;
}
.hero-stack .dust span {
  position: absolute;
  left: 30px; top: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--stone-300);
  opacity: 0;
  animation: dust-fly .9s ease-out forwards;
}
@keyframes dust-fly {
  0%   { opacity: .8; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); }
}
.hero-grid.with-stack { grid-template-columns: 1fr; gap: 0; align-items: stretch; }
.hero-grid.with-stack .hero-left { grid-column: 1 / -1; margin-bottom: 24px; }
.hero-grid.with-stack .hero-bottom {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 32px;
  align-items: end;
}
@media (max-width: 760px) {
  .hero-grid.with-stack .hero-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .hero-stack { display: none; } }

.hero-counter {
  position: absolute;
  bottom: 40px; left: var(--gutter);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--stone-400);
  display: flex; gap: 24px; align-items: center;
}
.hero-counter .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }

.scroll-hint {
  position: absolute;
  bottom: 40px; right: var(--gutter);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone-400);
  display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 60px;
  background: linear-gradient(var(--ochre), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —————— Manifeste —————— */
.manifeste {
  padding: 160px var(--gutter) 140px;
  max-width: var(--max);
  margin: 0 auto;
}
.manifeste-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: end;
}
.manifeste h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 84px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.manifeste h2 em { color: var(--ochre); font-style: italic; }
.manifeste-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(31,28,23,.10);
  border-top: 1px solid rgba(31,28,23,.10);
  border-bottom: 1px solid rgba(31,28,23,.10);
}
.manifeste-card {
  background: var(--paper);
  padding: 56px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: background .4s;
}
.manifeste-card:hover { background: var(--paper-soft); }
.manifeste-card .roman {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ochre);
  font-variation-settings: "opsz" 24;
}
.manifeste-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
}
.manifeste-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--stone-400);
  margin: 0;
  max-width: 32ch;
}

/* —————— Parcours scroll —————— */
.parcours {
  position: relative;
  padding: 80px 0 120px;
  background: var(--paper-deep);
  border-top: 1px solid rgba(31,28,23,.08);
  border-bottom: 1px solid rgba(31,28,23,.08);
}
.parcours-intro {
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 100px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.parcours h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 96px);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.parcours h2 em { color: var(--ochre); font-style: italic; }
.parcours-intro p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--stone-400);
  margin: 0;
  font-variation-settings: "opsz" 24;
  max-width: 42ch;
}

.parcours-stage {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.parcours-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
}
.parcours-left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.parcours-visual-stage {
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 80vh;
}
.palier-vis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.palier-vis.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.palier-vis .frame {
  width: 100%;
  height: 100%;
  background: var(--paper);
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(31,28,23,.04), 0 32px 64px -28px rgba(31,28,23,.28);
  padding: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.palier-vis .frame-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(31,28,23,.10);
}
.palier-vis .frame-head .title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 16px; letter-spacing: -.01em;
}
.palier-vis .frame-head .meta {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--stone-400);
}
.palier-vis .progress-counter {
  position: absolute;
  bottom: -32px; right: 0;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.2px; color: var(--stone-400);
  text-transform: uppercase;
}

/* Palier 01 — Critères chips */
.vis-criteres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 4px; }
.vis-criteres .field { display: flex; flex-direction: column; gap: 6px; }
.vis-criteres .field-label { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--stone-400); }
.vis-criteres .chips { display: flex; flex-wrap: wrap; gap: 4px; }
.vis-criteres .chip {
  background: rgba(31,28,23,.05);
  border: 1px solid rgba(31,28,23,.10);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
}
.vis-criteres .chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vis-criteres .chip.ochre { background: var(--ochre); color: #fff; border-color: var(--ochre); }
.vis-criteres .slider {
  height: 4px; background: rgba(31,28,23,.10); border-radius: 999px; position: relative;
}
.vis-criteres .slider::before {
  content: ''; position: absolute; left: 18%; right: 22%; top: 0; bottom: 0;
  background: var(--ochre); border-radius: 999px;
}
.vis-criteres .slider::after {
  content: ''; position: absolute; left: 78%; top: -5px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper);
  box-shadow: 0 1px 4px rgba(31,28,23,.2);
}
.vis-criteres .range-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--stone-400); }

/* Palier 02 — Liste offres scorées */
.vis-offers { display: flex; flex-direction: column; gap: 10px; }
.vis-offers .offer {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 10px;
  padding: 12px; border-radius: 10px;
  background: var(--paper-soft); border: 1px solid rgba(31,28,23,.08);
}
.vis-offers .offer.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vis-offers .offer-title { font-family: var(--font-display); font-size: 14px; font-weight: 400; line-height: 1.2; }
.vis-offers .offer-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .8px; color: var(--stone-400); margin-top: 2px; }
.vis-offers .offer.featured .offer-meta { color: var(--stone-200); }
.vis-offers .offer-score {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  background: rgba(193,119,66,.15); color: var(--ochre); padding: 4px 8px; border-radius: 6px;
}
.vis-offers .offer.featured .offer-score { background: var(--ochre); color: #fff; }

/* Palier 03 — Match verdict */
.vis-match { display: flex; flex-direction: column; gap: 14px; }
.vis-match .verdict {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: var(--paper-soft);
  border-radius: 12px;
  border: 1px solid rgba(31,28,23,.08);
}
.vis-match .ring { position: relative; width: 56px; height: 56px; flex: none; }
.vis-match .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vis-match .ring-bg { fill: none; stroke: rgba(31,28,23,.10); stroke-width: 5; }
.vis-match .ring-fg { fill: none; stroke: var(--ochre); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 138 138; stroke-dashoffset: 30; }
.vis-match .ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.vis-match .vinfo { flex: 1; }
.vis-match .vinfo h5 { font-family: var(--font-display); font-size: 15px; font-weight: 400; margin: 0; letter-spacing: -.01em; }
.vis-match .vinfo .sub { font-family: var(--font-mono); font-size: 10px; color: var(--stone-400); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.vis-match ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.vis-match li { display: flex; align-items: flex-start; gap: 8px; }
.vis-match .check { color: var(--moss); font-weight: 500; flex: none; width: 14px; }
.vis-match .warn { color: var(--ochre-deep); font-weight: 500; flex: none; width: 14px; }

/* Palier 04 — Extension Chrome */
.vis-ext { display: flex; flex-direction: column; gap: 10px; }
.vis-ext .browser-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-soft);
  padding: 8px 10px; border-radius: 8px;
  border: 1px solid rgba(31,28,23,.08);
  font-family: var(--font-mono); font-size: 10px; color: var(--stone-400);
}
.vis-ext .browser-bar .dots { display: flex; gap: 4px; }
.vis-ext .browser-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(31,28,23,.18); }
.vis-ext .browser-bar .url { flex: 1; }
.vis-ext .browser-bar .ext-icon {
  width: 18px; height: 18px; border-radius: 4px; background: var(--ochre);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 9px; font-weight: 600;
}
.vis-ext .scan-card {
  padding: 14px; border-radius: 10px;
  background: var(--paper-soft); border: 1px solid rgba(31,28,23,.08);
  position: relative;
}
.vis-ext .scan-card .scan-line {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ochre), transparent);
  animation: scan 2s ease-in-out infinite;
  top: 12px;
}
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0; } 50% { transform: translateY(60px); opacity: 1; } }
.vis-ext .scan-card h6 { font-family: var(--font-display); font-size: 14px; font-weight: 400; margin: 0 0 4px; }
.vis-ext .scan-card .scan-meta { font-family: var(--font-mono); font-size: 10px; color: var(--stone-400); text-transform: uppercase; letter-spacing: .8px; }
.vis-ext .scan-card .scan-tag {
  display: inline-block; margin-top: 10px;
  padding: 3px 8px; background: var(--ochre); color: #fff;
  border-radius: 999px; font-family: var(--font-mono); font-size: 10px;
}

/* Palier 05 — Pack candidature (lettre + questions) */
.vis-pack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vis-pack .doc {
  background: var(--paper-soft);
  border: 1px solid rgba(31,28,23,.08);
  border-radius: 8px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.vis-pack .doc-tag { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--ochre); }
.vis-pack .doc-line { height: 4px; background: rgba(31,28,23,.10); border-radius: 2px; }
.vis-pack .doc-line.s60 { width: 60%; }
.vis-pack .doc-line.s90 { width: 90%; }
.vis-pack .doc-line.s75 { width: 75%; }
.vis-pack .doc-line.s40 { width: 40%; }
.vis-pack .doc.questions { gap: 8px; }
.vis-pack .doc .q {
  font-family: var(--font-display); font-size: 12px; font-weight: 400;
  line-height: 1.3; padding: 6px 0;
  border-bottom: 1px dashed rgba(31,28,23,.10);
}
.vis-pack .doc .q:last-child { border-bottom: none; }

/* Palier 06 — Coach entretien */
.vis-coach { display: flex; flex-direction: column; gap: 10px; }
.vis-coach .conv {
  display: flex; flex-direction: column; gap: 8px;
}
.vis-coach .bubble {
  padding: 10px 12px; border-radius: 12px;
  font-size: 12px; line-height: 1.4;
  max-width: 80%;
  font-family: var(--font-display);
}
.vis-coach .bubble.ai {
  background: var(--paper-soft); align-self: flex-start;
  border: 1px solid rgba(31,28,23,.08);
  border-bottom-left-radius: 4px;
}
.vis-coach .bubble.user {
  background: var(--ink); color: var(--paper); align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.vis-coach .voice {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(193,119,66,.10);
  border: 1px solid rgba(193,119,66,.25);
  border-radius: 999px;
  width: fit-content;
  align-self: flex-start;
}
.vis-coach .voice .pulse {
  display: flex; gap: 3px; align-items: flex-end;
}
.vis-coach .voice .bar {
  width: 3px; background: var(--ochre); border-radius: 2px;
  animation: voice-bar 1s ease-in-out infinite;
}
.vis-coach .voice .bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.vis-coach .voice .bar:nth-child(2) { height: 14px; animation-delay: .1s; }
.vis-coach .voice .bar:nth-child(3) { height: 18px; animation-delay: .2s; }
.vis-coach .voice .bar:nth-child(4) { height: 12px; animation-delay: .3s; }
.vis-coach .voice .bar:nth-child(5) { height: 16px; animation-delay: .4s; }
@keyframes voice-bar { 50% { transform: scaleY(.5); } }
.vis-coach .voice .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--ochre); text-transform: uppercase; letter-spacing: 1px; }

/* Palier 07 — Kanban suivi */
.vis-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; height: 100%; }
.vis-kanban .col {
  background: var(--paper-soft);
  border-radius: 8px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.vis-kanban .col-head {
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: .8px; color: var(--stone-400);
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 4px;
}
.vis-kanban .col-head .count { background: rgba(31,28,23,.08); padding: 1px 5px; border-radius: 999px; }
.vis-kanban .card {
  background: var(--paper);
  border-radius: 6px;
  padding: 8px;
  border: 1px solid rgba(31,28,23,.06);
  display: flex; flex-direction: column; gap: 4px;
}
.vis-kanban .card-title { font-family: var(--font-display); font-size: 11px; line-height: 1.2; font-weight: 400; }
.vis-kanban .card-meta { font-family: var(--font-mono); font-size: 9px; color: var(--stone-400); text-transform: uppercase; letter-spacing: .5px; }
.vis-kanban .card.ochre { border-left: 3px solid var(--ochre); }
.vis-kanban .card.moss { border-left: 3px solid var(--moss); }

/* Stepper rail */
.parcours-rail {
  position: absolute;
  left: var(--gutter);
  top: 0; bottom: 0;
  width: 2px;
  pointer-events: none;
}
.parcours-rail::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(31,28,23,.10);
}
.parcours-rail .progress {
  position: absolute; left: 0; right: 0; top: 0;
  background: var(--ochre);
  height: 0;
  transition: height .25s linear;
}

.parcours-steps {
  display: flex;
  flex-direction: column;
}
.step {
  min-height: 100vh;
  padding: 18vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-bottom: 1px solid rgba(31,28,23,.06);
}
.step:last-child { border-bottom: none; }
.step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ochre);
  display: flex; align-items: center; gap: 12px;
}
.step .num::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--ochre);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
  font-variation-settings: "opsz" 72;
}
.step h3 em { color: var(--ochre); font-style: italic; }
.step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--stone-400);
  margin: 0;
  max-width: 44ch;
}
.step-mock {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(31,28,23,.05), 0 24px 48px -28px rgba(31,28,23,.18);
  font-family: var(--font-ui);
  font-size: 13px;
  max-width: 460px;
}
.step-mock .mock-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(31,28,23,.08); }
.step-mock .mock-row:last-child { border-bottom: none; }
.step-mock .label { color: var(--stone-400); font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.step-mock .val { color: var(--ink); font-weight: 500; }
.step-mock .val.match { color: var(--ochre); font-family: var(--font-mono); }
.step-mock h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 20px; margin: 0 0 4px; letter-spacing: -.01em;
}
.step-mock .sub { font-family: var(--font-mono); font-size: 11px; color: var(--stone-400); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.step-mock .check { color: var(--moss); margin-right: 6px; }
.step-mock .warn { color: var(--ochre-deep); margin-right: 6px; }
.step-mock ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }

/* —————— Outils 3x3 —————— */
.outils {
  padding: 160px var(--gutter) 120px;
  max-width: var(--max);
  margin: 0 auto;
}
.outils-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.outils h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 92px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.outils h2 em { color: var(--ochre); font-style: italic; }
.outils-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(31,28,23,.10);
  border: 1px solid rgba(31,28,23,.10);
  border-radius: 12px;
  overflow: hidden;
}
.tool {
  background: var(--paper);
  padding: 44px 32px 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  min-height: 280px;
  cursor: pointer;
  overflow: hidden;
  transition: background .4s;
}
.tool:hover { background: var(--paper-soft); }
.tool .num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--stone-400); letter-spacing: 1.5px;
}
.tool h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; line-height: 1.1; margin: 0 0 6px;
  letter-spacing: -.02em;
}
.tool p {
  font-size: 14px; line-height: 1.5; color: var(--stone-400);
  margin: 0; max-width: 30ch;
}
.tool-visual {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 88px; height: 88px;
  opacity: .25;
  transition: opacity .4s, transform .4s;
}
.tool:hover .tool-visual { opacity: .9; transform: scale(1.05); }
.tool-visual svg { width: 100%; height: 100%; }
.tool .arrow-link {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px;
  border: 1px solid rgba(31,28,23,.15); border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-4px, 4px);
  transition: all .3s;
}
.tool:hover .arrow-link { opacity: 1; transform: translate(0, 0); }
.tool .arrow-link svg { width: 12px; height: 12px; stroke: var(--ink); }

/* —————— Stats —————— */
.stats {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.stats-marquee {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  display: flex;
  gap: 60px;
  animation: marquee 50s linear infinite;
  padding-bottom: 50px;
  font-variation-settings: "opsz" 144;
}
.stats-marquee span { display: inline-flex; align-items: center; gap: 60px; }
.stats-marquee em { color: var(--ochre); font-style: italic; }
.stats-marquee .sep { width: 8px; height: 8px; background: var(--ochre); border-radius: 50%; display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stats-grid {
  margin-top: 80px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245, 241, 234, .15);
  border-top: 1px solid rgba(245, 241, 234, .15);
  border-bottom: 1px solid rgba(245, 241, 234, .15);
}
.stat {
  background: var(--ink);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 96;
}
.stat .num em { color: var(--ochre); font-style: italic; }
.stat .num .unit { font-size: .35em; color: var(--stone-300); margin-left: 4px; font-style: normal; }
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-300);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  max-width: 28ch;
}

/* —————— Pricing —————— */
.pricing {
  padding: 160px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.pricing-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.pricing h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 92px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.pricing h2 em { color: var(--ochre); font-style: italic; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.plan {
  background: var(--paper-soft);
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 16px;
  padding: 32px 26px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1),
              box-shadow .35s ease,
              border-color .25s ease;
  position: relative;
  will-change: transform;
}
.plan:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 28px 60px -28px rgba(31,28,23,.32);
  border-color: rgba(31,28,23,.22);
  z-index: 2;
}
.plan.featured:hover { box-shadow: 0 32px 70px -28px rgba(31,28,23,.55); }
.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan.featured .stone-400, .plan.featured p { color: var(--stone-200); }
.plan.featured .label { color: var(--ochre-soft); }
.plan-name {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--stone-400);
}
.plan.featured .plan-name { color: var(--ochre-soft); }
.plan-price {
  font-family: var(--font-display); font-weight: 300;
  font-size: 56px; line-height: 1;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 72;
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price .per { font-family: var(--font-ui); font-size: 13px; color: var(--stone-400); font-weight: 400; }
.plan.featured .plan-price .per { color: var(--stone-200); }
.plan p.lead { font-size: 13.5px; line-height: 1.5; color: var(--stone-400); margin: 0; max-width: 26ch; }
.plan.featured p.lead { color: var(--stone-200); }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan li {
  font-size: 13px; line-height: 1.4;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink);
}
.plan.featured li { color: var(--paper); }
.plan li::before {
  content: ''; flex: none;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7L6 10L11 4' stroke='%23C17742' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  margin-top: 3px;
}
.plan .cta {
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all .2s;
}
.plan.featured .cta { background: var(--ochre); border-color: var(--ochre); }
.plan .cta:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); }
.plan .ribbon {
  position: absolute; top: -1px; right: 18px;
  background: var(--ochre); color: var(--paper);
  padding: 6px 12px;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* —————— Témoignages —————— */
.quotes {
  padding: 160px 0;
  background: var(--paper-deep);
  border-top: 1px solid rgba(31,28,23,.08);
  border-bottom: 1px solid rgba(31,28,23,.08);
}
.quotes-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: end; }
.quotes h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 92px); line-height: .98;
  letter-spacing: -.03em; margin: 0;
  font-variation-settings: "opsz" 96;
}
.quotes h2 em { color: var(--ochre); font-style: italic; }
.quotes-track { display: flex; gap: 24px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.quote {
  flex: 1;
  background: var(--paper);
  border: 1px solid rgba(31,28,23,.10);
  border-radius: 16px;
  padding: 38px 32px;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 320px;
  position: relative;
  transition: transform .3s;
}
.quote:hover { transform: translateY(-4px); }
.quote .mark { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--ochre); margin: 0; }
.quote p {
  font-family: var(--font-display); font-weight: 400;
  font-size: 21px; line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
  font-variation-settings: "opsz" 24;
}
.quote .who { margin-top: auto; }
.quote .who .name { font-family: var(--font-ui); font-size: 13px; font-weight: 600; }
.quote .who .role { font-family: var(--font-mono); font-size: 11px; color: var(--stone-400); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* —————— FAQ —————— */
.faq {
  padding: 160px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.faq-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; margin-bottom: 60px; align-items: end; }
.faq h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 92px); line-height: .98;
  letter-spacing: -.03em; margin: 0;
  font-variation-settings: "opsz" 96;
}
.faq h2 em { color: var(--ochre); font-style: italic; }
.faq-list { border-top: 1px solid rgba(31,28,23,.12); }
.faq-item { border-bottom: 1px solid rgba(31,28,23,.12); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em;
  transition: color .25s;
}
.faq-q:hover { color: var(--ochre); }
.faq-q .icon {
  font-family: var(--font-mono); font-size: 22px;
  color: var(--ochre); transition: transform .3s;
  width: 24px; text-align: center;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: 16px; line-height: 1.55; color: var(--stone-400);
  max-width: 60ch;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 0 32px; }

/* —————— CTA final —————— */
.cta-final {
  padding: 200px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 200px);
  line-height: .9;
  letter-spacing: -.04em;
  margin: 0 0 32px;
  font-variation-settings: "opsz" 144;
}
.cta-final h2 em { color: var(--ochre); font-style: italic; }
.cta-final p {
  font-family: var(--font-display); font-weight: 300;
  font-size: 20px; max-width: 50ch;
  margin: 0 auto 40px;
  color: var(--stone-400);
}
.cta-final .cta-row { justify-content: center; }
.cta-final .topo-bg { position: absolute; inset: 0; opacity: .25; pointer-events: none; }
.cta-final .topo-bg svg { width: 100%; height: 100%; }
.cta-final .topo-bg path { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .25; }

/* —————— Footer —————— */
footer {
  background: var(--ink);
  color: var(--stone-200);
  padding: 100px var(--gutter) 60px;
}
footer .ftop {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245,241,234,.10);
}
footer .ftop .brand { font-family: var(--font-display); font-size: 32px; color: var(--paper); font-weight: 500; }
footer .ftop p { font-size: 14px; max-width: 28ch; margin: 12px 0 0; color: var(--stone-300); }
footer h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 16px; color: var(--ochre-soft); font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: var(--stone-200); text-decoration: none; font-size: 14px; transition: color .2s; }
footer a:hover { color: var(--ochre); }
footer .fbottom {
  max-width: var(--max); margin: 30px auto 0;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--stone-300); letter-spacing: .5px;
}

/* —————— Reveal classes —————— */
.r { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.r.in { opacity: 1; transform: translateY(0); }
.r.delay-1 { transition-delay: .08s; }
.r.delay-2 { transition-delay: .16s; }
.r.delay-3 { transition-delay: .24s; }
.r.delay-4 { transition-delay: .32s; }

/* —————— Tweaks panel local —————— */
.tweaks {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 1000;
  background: var(--paper);
  border: 1px solid rgba(31,28,23,.18);
  border-radius: 16px;
  padding: 18px;
  width: 280px;
  box-shadow: 0 24px 60px -20px rgba(31,28,23,.35);
  font-family: var(--font-ui);
  font-size: 12px;
}
.tweaks h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--stone-400); margin: 0 0 14px; }
.tweaks .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.tweaks label { color: var(--stone-500); }
.tweaks .seg { display: flex; gap: 4px; background: rgba(31,28,23,.06); border-radius: 999px; padding: 3px; }
.tweaks .seg button {
  border: 0; background: transparent; padding: 5px 10px;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  border-radius: 999px; cursor: pointer; color: var(--stone-400);
}
.tweaks .seg button.on { background: var(--ink); color: var(--paper); }
.tweaks .close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; color: var(--stone-400);
}

/* mobile/tablet */
@media (max-width: 760px) {
  .nav ul { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .manifeste-head, .outils-head, .pricing-head, .quotes-head, .faq-head, .parcours-intro { grid-template-columns: 1fr; gap: 30px; }
  .manifeste-grid, .outils-grid { grid-template-columns: 1fr; }
  .stats-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .quotes-track { flex-direction: column; }
  .parcours-canvas { grid-template-columns: 1fr; }
  .parcours-left { position: relative; height: 50vh; }
  footer .ftop { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   Additions: nav surface toggle, partner logos, stats manifesto,
   pricing extras, summit pulse, demo modal, tool modal,
   reduced-motion guards.
   ============================================================ */

/* —— Nav surface toggle —— */
.surface-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(31,28,23,.18);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255,255,255,.4);
  margin-right: 4px;
}
[data-surface="dark"] .surface-toggle { background: rgba(255,255,255,.04); border-color: rgba(240,235,223,.18); }
.surface-toggle .surface-btn {
  appearance: none; border: 0; background: transparent;
  padding: 6px 9px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); opacity: .55;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease;
}
.surface-toggle .surface-btn:hover { opacity: .85; }
.surface-toggle .surface-btn.on { opacity: 1; background: var(--paper-soft); box-shadow: 0 1px 2px rgba(31,28,23,.08); }
.surface-toggle .surface-divider { width: 1px; height: 14px; background: rgba(31,28,23,.14); }
[data-surface="dark"] .surface-toggle .surface-divider { background: rgba(240,235,223,.18); }
[data-surface="dark"] .surface-toggle .surface-btn.on { background: rgba(240,235,223,.10); }

/* —— Partner logos band —— */
.logos-band {
  padding: 36px 0 32px;
  border-top: 1px solid rgba(31,28,23,.08);
  border-bottom: 1px solid rgba(31,28,23,.08);
  background: var(--paper);
  overflow: hidden;
}
[data-surface="dark"] .logos-band { border-color: rgba(240,235,223,.10); }

.logos-marquee {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logos-scroll 42s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }

/* Use margin-right (not gap) so the duplicate set keeps the same rhythm
   across the wrap-around — gap doesn't apply between the last item of set 1
   and first of set 2, which causes a visible jump. */
.logos-track .logo-svg { margin-right: 80px; }

@keyframes logos-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.logo-svg {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  opacity: .72;
  filter: grayscale(.15);
  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
  flex-shrink: 0;
}
.logo-svg:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.04);
}
/* Mode encre : chaque logo dans un badge clair (fond papier presque blanc)
   qui inverse le rapport bg/fg. Permet de garder TOUTES les couleurs
   branded intactes (rouge France Travail, jaune WTTJ, vert Greenhouse,
   violet Lever, bleu Indeed/Cadremploi) lisibles sur fond sombre.
   Pattern Stripe/Linear : trust bands avec logos sur badges blancs. */
[data-surface="dark"] .logo-svg {
  color: #1F1C17;
  opacity: 0.96;
  background: #F5F1EA;
  border: 1px solid rgba(31, 28, 23, 0.06);
  border-radius: 10px;
  padding: 10px 16px;
  filter: grayscale(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.30);
}
[data-surface="dark"] .logo-svg:hover {
  opacity: 1;
  background: #FFFFFF;
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .logos-track { animation-duration: 32s; }
  .logos-track .logo-svg { margin-right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; transform: translateX(0); flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* —— Stats: manifesto replaces the marquee —— */
.stats-manifesto {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; gap: 18px;
}
.stats-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--paper);
  margin: 0;
  max-width: 26ch;
}
.stats-quote em { color: var(--ochre); font-style: italic; }
.stat .sub-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--stone-400);
  margin-top: 6px;
}

/* —— Pricing additions —— */
.plan-then {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--stone-400);
  margin: -8px 0 14px;
}
.plan-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); opacity: .55;
  border: 1px solid rgba(31,28,23,.18);
  padding: 4px 8px; border-radius: 999px;
}

.pricing-extras {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.extra {
  border: 1px solid rgba(31,28,23,.14);
  border-radius: 4px;
  padding: 36px 32px;
  background: var(--paper-soft);
  display: flex; flex-direction: column;
}
[data-surface="dark"] .extra { border-color: rgba(240,235,223,.12); }
.extra-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
}
.extra-aside {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .04em;
  color: var(--stone-400);
}
.extra-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.extra-head .extra-eyebrow { margin-bottom: 0; }
.extra-price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.extra-price .per {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--stone-400);
  letter-spacing: .04em;
  margin-left: 4px;
}
.extra-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 14px 0 12px;
  letter-spacing: -.01em;
}
.extra-desc, .extra-note {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--stone-400);
  margin: 0 0 18px;
}
.extra-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.extra-list li {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 18px; position: relative;
}
.extra-list li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--ochre); font-family: var(--font-mono);
}
.extra-rows {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(31,28,23,.10);
  margin-bottom: 18px;
}
[data-surface="dark"] .extra-rows { border-color: rgba(240,235,223,.10); }
.extra-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(31,28,23,.10);
}
[data-surface="dark"] .extra-row { border-color: rgba(240,235,223,.10); }
.extra-row .row-label {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}
.extra-row .row-unit {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.extra-row .row-pack {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--stone-400);
  white-space: nowrap;
}
.cta-outline {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  background: transparent;
  transition: background .2s ease, color .2s ease;
  margin-top: auto;
}
.cta-outline:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 900px) {
  .pricing-extras { grid-template-columns: 1fr; }
  .extra-row { grid-template-columns: 1fr; gap: 4px; }
}

/* —— Summit pulse (replaces shake/dust) ——
   Le halo lumineux est déjà géré par .stone.summit::after (animation summit-glow).
   .summit-arrived est purement un marqueur d'état — pas d'animation override
   pour ne pas clobber le stack stone-fall + stone-breathe + summit-pulse. */

/* —— Demo modal —— */
.demo-modal, .tool-modal {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.demo-modal.open, .tool-modal.open { opacity: 1; }
.demo-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,13,10,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.demo-card, .tool-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 6px;
  padding: 56px 48px 48px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(15,13,10,.35);
  transform: translateY(12px) scale(.98);
  transition: transform .3s cubic-bezier(.34,1.2,.64,1);
}
.demo-modal.open .demo-card, .tool-modal.open .tool-card { transform: translateY(0) scale(1); }
[data-surface="dark"] .demo-card, [data-surface="dark"] .tool-card { border-color: rgba(240,235,223,.14); }
.demo-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  font-size: 24px; line-height: 1;
  cursor: pointer; color: var(--ink); opacity: .6;
}
.demo-close:hover { opacity: 1; }
.demo-eyebrow, .tool-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
  display: block;
}
.demo-card h3, .tool-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.demo-card p, .tool-card p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--stone-400);
  margin: 0 0 24px;
}
.demo-form { display: flex; flex-direction: column; gap: 14px; }
.demo-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-400); }
.demo-form input {
  font-family: var(--font-display);
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid rgba(31,28,23,.18);
  border-radius: 4px;
  background: var(--paper-soft);
  color: var(--ink);
}
[data-surface="dark"] .demo-form input { border-color: rgba(240,235,223,.18); }
.demo-form input:focus { outline: 2px solid var(--ochre); outline-offset: 2px; }
.demo-note {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--stone-400);
  margin: 16px 0 0 !important;
}
.btn.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  border: 0;
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
}

/* —— Tool modal —— */
.tool-card .tool-num {
  display: inline-block;
  background: var(--paper-soft);
  border: 1px solid rgba(31,28,23,.14);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.tool-bullets { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tool-bullets li {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 18px; position: relative;
}
.tool-bullets li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--ochre); font-family: var(--font-mono);
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-stack .stone { transform: translate(-50%, 0) rotate(var(--end-rot, 0deg)) !important; opacity: 1 !important; animation: none !important; }
  .word-i { transform: translateY(0) !important; opacity: 1 !important; }
  .summit-arrived { animation: none !important; }
}
.reduced-motion .hero-stack .stone { animation: none !important; transform: translate(-50%, 0) rotate(var(--end-rot, 0deg)) !important; opacity: 1 !important; }
.reduced-motion .summit-arrived { animation: none !important; }

/* ============================================================
   Responsive sweep — tablet, small desktop, mobile, narrow mobile
   ============================================================ */
@media (max-width: 1280px) {
  :root { --gutter: 32px; }
  .pricing-grid { gap: 12px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .outils-grid { grid-template-columns: 1fr 1fr 1fr; }
  .nav ul { gap: 20px; }
  .nav .right .pill { padding: 8px 14px; font-size: 13px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-extras { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav ul { display: none; }
  .nav .right .surface-toggle { display: none; }
  .outils-grid { grid-template-columns: 1fr 1fr; }
  .quotes-track { flex-direction: column; }
  .extra-row { grid-template-columns: 1fr; gap: 4px; }
  footer .ftop { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-quote { font-size: clamp(26px, 5.4vw, 40px); }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .nav { padding: 14px 20px; }
  .nav .right > a[href="#"] { display: none; }
  body { cursor: auto !important; }
  .cursor { display: none !important; }
  .hero { padding: 110px 20px 60px; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-grid.with-stack .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-stack { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .outils-grid { grid-template-columns: 1fr; }
  .manifeste-grid { grid-template-columns: 1fr; gap: 24px; }
  .manifeste-head, .outils-head, .pricing-head, .quotes-head, .faq-head, .parcours-intro { grid-template-columns: 1fr; gap: 20px; }
  .quote { padding: 28px 24px; }
  .demo-card, .tool-card { padding: 48px 28px 32px; }
  .demo-card h3, .tool-card h3 { font-size: 30px; }
  .extra { padding: 28px 22px; }
  .extra-price { font-size: 44px; }
  .pricing-extras { gap: 16px; }
  footer .ftop { grid-template-columns: 1fr; gap: 28px; }
  .stats { padding: 80px 0; }
  .stats-manifesto { margin-bottom: 40px; }
  .cta-final { padding: 120px 20px; }
  .pricing { padding: 80px 20px; }
  .nav .brand { font-size: 19px; gap: 8px; }
  .surface-toggle { display: none; }
}
@media (max-width: 420px) {
  .nav { padding: 12px 16px; gap: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(36px, 13vw, 52px); }
  .stats-quote { font-size: clamp(22px, 6vw, 30px); }
}

