/* ==========================================================================
   Dclick IA · feuille de style
   Direction « Produit et main levée » : papier crème, encre, bleu, traits à main levée.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}
/* Outfit ne sert qu'au logo : fichier réduit au poids 800 et aux lettres de « Dclick IA » (1 Ko au lieu
   de 32). Si le texte du logo change, le régénérer depuis docs/fonts/ (voir CLAUDE.md). */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-logo-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #fbf8f3;
  --panel: #f2eee6;
  --line: #e4ded2;
  --ink: #1a202c;
  --muted: #4a5568;
  --soft: #5b6577; /* 4,8:1 au moins sur blanc, papier et #e4e9f0 (audit du 31/10/2026) ; #718096 tombait à 3,3 */
  --white: #ffffff;
  --blue: #2b6cb0;
  --blue-dark: #235a94;
  --blue-light: #cfe0f5;
  --blue-pale: #e8f0fa;
  --blue-night: #8fb8e8;
  --chat-bg: #f3f6fa;
  --chat-line: #e6eaf0;
  --green: #276749;
  --green-bg: #e6f4ea;

  --font-title: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-logo: "Outfit", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 89px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pop: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-title);
  color: var(--ink);
  text-wrap: balance;
}
h2 { font-weight: 700; font-size: clamp(30px, 2.2vw + 14px, 38px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }

p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 28px; height: 28px; color: var(--blue); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Écriture à la main */
.script {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--blue);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.script-inline { font-family: var(--font-hand); font-weight: 700; font-size: 1.3em; line-height: 1; color: var(--blue); }

.lead { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px;
  font: 600 16px/1.2 var(--font-body);
  border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 10px 24px -12px rgba(43, 108, 176, 0.7); }
.btn-outline { padding-inline: 22px; border-color: #cbd5e0; color: var(--ink); font-weight: 500; background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: 15px; }
.btn-lg { min-height: 56px; padding-inline: 28px; font-size: 17px; }

/* ---------- En-tête ---------- */

.header-wrap {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  transition: box-shadow 0.3s;
}
.header-wrap.is-scrolled { box-shadow: 0 10px 24px -18px rgba(26, 32, 44, 0.35); }
.header-wrap.is-scrolled .site-header { border-bottom-color: transparent; }


.site-header {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--blue); }
.logo:hover { color: var(--ink); }
.logo-sm { font-size: 20px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { position: relative; text-decoration: none; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--blue); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; padding: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

/* ---------- Accroche ---------- */

.hero { padding-top: 72px; }

.hero-text {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.hero-kicker { align-self: center; font-size: 28px; transform-origin: center; }

.hero-title {
  max-width: 900px;
  font-weight: 700;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.mark { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.mark-stroke {
  position: absolute; left: -3%; bottom: 4%;
  width: 106%; height: 42%; z-index: -1;
  overflow: visible;
  fill: none; stroke: var(--blue-light); stroke-width: 30; stroke-linecap: round;
}

.hero-title .mark-stroke { left: 2%; width: 100%; }

.hero-lead { max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-meta { max-width: 600px; font-size: 16px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { font-size: 14px; color: var(--soft); }

/* ---------- Démo : ordinateur sur grand écran, téléphone sur mobile ---------- */

.demo-zone { position: relative; margin-top: 64px; padding-top: 40px; }

.note {
  position: absolute; z-index: 2; margin: 0;
  font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1.05;
}
.note-left { left: 6%; top: -10px; width: 360px; color: var(--ink); transform: rotate(-4deg); }
.note-right { right: 1%; top: -10px; width: 240px; text-align: right; color: var(--blue); transform: rotate(3deg); }
.note-arrow { position: absolute; z-index: 2; width: 70px; height: 56px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note-arrow-left { left: 29%; top: 30px; stroke: var(--ink); }
.note-arrow-right { right: 17%; top: 46px; stroke: var(--blue); }

.device { margin: 0 auto; }

/* Téléphone (par défaut) */
.device-screen {
  width: min(360px, 100%);
  height: 640px;
  margin: 0 auto;
  padding: 10px;
  background: var(--ink);
  border-radius: 46px;
  box-shadow: 0 30px 60px -24px rgba(26, 32, 44, 0.45);
}
.app {
  display: flex;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--chat-bg);
}
.app-side { display: none; }
.device-base { display: none; }

.chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--chat-line);
}
.chat-name { display: flex; flex-direction: column; line-height: 1.2; }
.chat-name strong { font-size: 15px; font-weight: 600; }
.chat-name small { font-size: 12px; color: var(--soft); }
.status-typing { display: none; color: var(--blue); font-weight: 500; }
.device.is-typing .status-typing { display: inline; }
.device.is-typing .status-online { display: none; }

.avatar {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px;
  font-size: 12px; font-weight: 700;
  border-radius: 50%;
  background: #f6e7c8; color: #7a5a1c;
}
.avatar-alt { background: #e2e8f0; color: var(--muted); }
.avatar-agent { border-radius: 10px; background: var(--blue); color: var(--white); }
.avatar-agent .icon { width: 18px; height: 18px; }

.chat-body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 12px 10px;
  overflow: hidden;
  font-size: 13.5px; line-height: 1.42;
}
.chat-day {
  align-self: center; margin-bottom: 4px;
  padding: 3px 10px; border-radius: 8px;
  font-size: 11px; color: var(--soft); background: #e4e9f0;
}

.msg {
  display: flex; flex-direction: column; gap: 3px; flex: none;
  max-width: 86%;
  padding: 8px 11px 5px;
}
.msg-agent {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--chat-line);
  border-radius: 4px 14px 14px 14px;
}
.msg-user {
  align-self: flex-end;
  max-width: 82%;
  background: var(--blue); color: var(--white);
  border-radius: 14px 4px 14px 14px;
}
.msg-time {
  display: inline-flex; align-items: center; gap: 3px; align-self: flex-end;
  font-size: 10.5px; color: var(--soft);
}
.msg-user .msg-time { color: rgba(255, 255, 255, 0.78); }
.msg-time .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.msg-card { width: 88%; max-width: 88%; padding: 12px 12px 6px; gap: 6px; }
.card-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.card-title { font-size: 14px; font-weight: 600; }
.card-lines { display: flex; flex-direction: column; font-size: 12.5px; }
.card-lines li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--chat-line);
}
.card-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.card-draft { padding: 8px 10px; font-size: 13px; line-height: 1.45; color: var(--muted); background: var(--chat-bg); border-radius: 8px; }
.sent {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-bottom: 2px; padding: 4px 9px;
  font-size: 12px; font-weight: 600;
  color: var(--green); background: var(--green-bg); border-radius: 10px;
}
.sent .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.card-actions { display: flex; gap: 6px; padding-top: 4px; }
.card-btn {
  flex: 1; display: grid; place-items: center;
  min-height: 34px; padding: 0 8px;
  font-size: 12.5px; font-weight: 500;
  border: 1px solid #cbd5e0; border-radius: 8px;
}
.card-btn-main { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 600; }

.msg-typing { flex-direction: row; gap: 4px; padding: 12px 13px; display: none; }
.msg-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: #9aa5b1;
  animation: blink 1.2s infinite ease-in-out;
}
.msg-typing i:nth-child(2) { animation-delay: 0.15s; }
.msg-typing i:nth-child(3) { animation-delay: 0.3s; }
.device.is-typing .msg-typing { display: flex; animation: pop 0.38s var(--pop) both; }

.chat-input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 16px;
  background: var(--chat-bg);
}
.chat-field {
  flex: 1; display: flex; align-items: center;
  height: 42px; padding: 0 16px;
  font-size: 14px; color: var(--soft);
  background: var(--white); border: 1px solid var(--chat-line); border-radius: 999px;
}
.chat-send {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--white);
}
.chat-send .icon { width: 18px; height: 18px; }

/* Lecture pilotée par main.js. Sans JS, la conversation s'affiche en entier. */
.js .device.is-armed [data-msg] { display: none; }
.js .device.is-armed [data-msg].is-shown { display: flex; animation: pop 0.38s var(--pop) both; }
.js .device.is-armed .card-lines li { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.js .device.is-armed .card-lines li.is-in { opacity: 1; transform: none; }

.demo-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.btn-replay {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  font: 500 14px var(--font-body); color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-replay:hover { color: var(--blue); border-color: var(--blue); }
.btn-replay .icon { width: 16px; height: 16px; }
/* Sans JavaScript, la conversation est affichée en entier : rien à rejouer. */
html:not(.js) .btn-replay { display: none; }
.demo-legend { font-size: 14px; color: var(--soft); text-align: center; }
.demo-legend .script-inline { font-size: 22px; }

@media (min-width: 900px) {
  /* Ordinateur portable */
  .device { max-width: 980px; }
  .device-screen {
    width: 100%; height: 580px;
    padding: 14px 14px 18px;
    border-radius: 22px 22px 6px 6px;
  }
  .app { border-radius: 6px; background: var(--white); }
  .app-side {
    display: flex; flex-direction: column;
    width: 270px; flex: none;
    background: var(--white);
    border-right: 1px solid var(--chat-line);
  }
  .app-side-title { padding: 20px 18px 14px; font-family: var(--font-title); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
  .contact { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
  .contact.is-active { background: var(--blue-pale); }
  .contact .avatar { width: 40px; height: 40px; }
  .contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .contact-text strong { font-size: 14px; font-weight: 600; }
  .contact-text small { font-size: 12.5px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat { background: var(--chat-bg); }
  .chat-head { padding: 14px 20px; }
  .chat-body { padding: 16px 24px; font-size: 14px; }
  .msg { max-width: 62%; }
  .msg-user { max-width: 56%; }
  .msg-card { width: 420px; max-width: 70%; }
  .chat-input { padding: 12px 20px 16px; }
  .device-base {
    display: block; position: relative;
    height: 20px; margin: 0 -6%;
    background: linear-gradient(#dfe5eb, #c3ccd6);
    border-radius: 2px 2px 18px 18px;
    box-shadow: 0 24px 40px -22px rgba(26, 32, 44, 0.45);
  }
  .device-base::before {
    content: ""; position: absolute; left: 50%; top: 0;
    width: 140px; height: 7px; margin-left: -70px;
    background: #b4bec9; border-radius: 0 0 8px 8px;
  }
}

@media (max-width: 1099px) {
  .nav { gap: 20px; font-size: 14px; }
  /* Le socle déborde de 6 % de chaque côté : sous 1100 px il sortait de l'écran. */
  .device-base { margin: 0 -2%; }
  .note, .note-arrow { display: none; }
  .demo-zone { padding-top: 0; margin-top: 48px; }
}

/* ---------- Sections ---------- */

.split {
  display: flex; flex-wrap: wrap; gap: 40px 64px;
  padding: 72px 0 56px;
}
.split-head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.split-body { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.split-cards .split-head { flex: 1 1 320px; gap: 14px; }
.split-cards > :last-child { flex: 2 1 540px; }

.case { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid var(--blue-light); }
.case h3 { font-size: 19px; }
.case p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }

.sep { width: 100%; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; opacity: 0.5; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-content: start; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-content: start; }

.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-3px); border-color: #d6cdbd; box-shadow: 0 18px 36px -24px rgba(26, 32, 44, 0.35); }
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.card-foot-blue { color: var(--blue); }

.block { display: flex; flex-direction: column; gap: 36px; padding: 72px 0 56px; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.block-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.block-aside { max-width: 320px; font-size: 15px; color: var(--muted); }

.cost-note { max-width: 680px; margin-top: 32px; padding: 20px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.cost-note h3 { font-family: var(--font-title); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cost-note p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Trois formules ---------- */

.levels { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 48px; }

.stairs { flex: 1 1 360px; max-width: 460px; height: auto; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.stairs-tread { stroke: var(--blue); stroke-width: 7; opacity: 0.26; }
.stairs-rise { stroke: var(--blue); }
.stairs-label { font-family: var(--font-hand); font-size: 24px; font-weight: 700; fill: var(--blue); stroke: none; }
/* Le personnage arrive entier : il monte, il ne se dessine pas. */
.climber-arm-down { opacity: 0; }

.level-list { flex: 1 1 440px; display: grid; gap: 12px; }
.level {
  display: flex; gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.level:hover { transform: translateX(4px); box-shadow: 0 14px 30px -24px rgba(26, 32, 44, 0.4); }
.level-first { border: 2px solid var(--blue); }
.level-num { width: 32px; flex: none; font-family: var(--font-hand); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--blue); }
.level-body { display: flex; flex-direction: column; gap: 6px; }
.level-body h3 .script-inline { margin-left: 6px; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.level-body p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.level-body .level-small { font-size: 14px; color: var(--soft); }
.level-price { margin-top: 2px; font-size: 14px; font-weight: 600; }
.level-note { padding: 4px 4px 0; font-size: 14px; color: var(--muted); }

.included {
  /* min(300px, 100%) : sous 390 px de large, la colonne suit l'écran au lieu d'imposer 300 px
     (le texte sortait du cadre à 360 px, audit du 11/11/2026). Même réglage pour .guarantee-items et .works. */
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 56px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.included > div { display: flex; flex-direction: column; gap: 14px; }
.included .script { font-size: 26px; }
.included-lead { font-size: 18px; line-height: 1.55; color: var(--ink); }

.checks { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.checks li { display: flex; gap: 12px; }
.checks strong { font-weight: 650; }
.check { width: 26px; height: 26px; flex: none; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checks-lg { font-size: 16px; }

.guarantee { display: flex; flex-direction: column; gap: 16px; }
.guarantee .script { font-size: 26px; }
.guarantee-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.guarantee-items article {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.guarantee-items p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.guarantee-cond { font-size: 14px; color: var(--soft); }

.solo { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.solo-text { font-family: var(--font-title); font-weight: 600; font-size: clamp(20px, 1.2vw + 14px, 26px); line-height: 1.35; letter-spacing: -0.02em; }
.solo-note { max-width: 680px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.mark-thin .mark-stroke { stroke-width: 26; bottom: 0; height: 50%; }

/* ---------- Réalisations ---------- */

.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.work {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(26, 32, 44, 0.35); }
.work-tag { font-family: var(--font-hand); font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--blue); }
.work h2, .work h3 { font-size: 20px; }
.work h2 { font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.work p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.work .work-meta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.work-meta a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.work-meta a:hover { color: var(--blue-dark); }
.work-quote { margin: 4px 0; padding: 10px 14px; border-left: 3px solid var(--blue); background: var(--blue-pale); border-radius: 0 10px 10px 0; }
.work .work-quote p { font-style: italic; color: var(--ink); }
.work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.work-link .icon { width: 14px; height: 14px; }

/* ---------- Accompagnement ---------- */

.price-box {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 8px; padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.price-box-label { font-family: var(--font-title); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.price-box p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Comment ça se passe ---------- */

.timeline { position: relative; }
.timeline-line { width: 100%; height: 90px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; margin-top: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-title { font-family: var(--font-hand); font-size: 25px; font-weight: 700; line-height: 1.1; }
.step-text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.step-dot {
  position: absolute; z-index: 1;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  background: var(--bg);
  border: 2.2px solid var(--ink);
  border-radius: 50%;
  transition: background-color 0.4s, transform 0.5s var(--pop);
}
.step:nth-child(1) .step-dot { left: 8.333%; top: 50.6px; }
.step:nth-child(2) .step-dot { left: 25%; top: 57.5px; }
.step:nth-child(3) .step-dot { left: 41.667%; top: 27.5px; }
.step:nth-child(4) .step-dot { left: 58.333%; top: 63.9px; }
.step:nth-child(5) .step-dot { left: 75%; top: 53.6px; }
.step:nth-child(6) .step-dot { left: 91.667%; top: 12.6px; }
.timeline.is-visible .step-dot { background: var(--blue); border-color: var(--blue); }
html:not(.js) .step-dot { background: var(--blue); border-color: var(--blue); }

.not-for { max-width: 900px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.not-for .script-inline { font-size: 24px; margin-right: 4px; }

/* ---------- Vos données ---------- */

.exit {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 10px; padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.exit .script { font-size: 26px; }
.exit p:not(.script) { font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Appel final ---------- */

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 24px; padding: 56px 40px;
  color: var(--white);
  background: var(--ink);
  border-radius: 24px;
}
.cta-text { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.cta .script { color: var(--blue-night); font-size: 28px; }
.cta h2 { color: var(--white); }
.cta-text p:not(.script) { font-size: 16px; line-height: 1.55; color: #cbd5e0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: 1 1 320px; max-width: 420px; }

/* Formulaire de contact : champs Brevo (version « HTML simple »), envoyé par main.js au webhook n8n */
.cta-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #cbd5e0; cursor: pointer; }
.field-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-night); }
.field-check input:focus-visible { outline: 3px solid var(--blue-night); outline-offset: 2px; }
.cta-form .btn:disabled { opacity: 0.7; cursor: wait; }
.cta-form-error { font-size: 14.5px; line-height: 1.5; color: #FBD5D5; }
.cta-form-error[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #cbd5e0; }
.field input,
.field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 500 16px/1.3 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid transparent; border-radius: 12px;
}
.field textarea { display: block; min-height: 76px; line-height: 1.4; resize: vertical; }
.field small { font-size: 13px; font-weight: 400; color: #a0aec0; }
.field input::placeholder,
.field textarea::placeholder { color: var(--soft); }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--blue-night); outline-offset: 2px; }
/* Téléphone et tâche ne partent qu'au webhook n8n, par main.js : sans JavaScript, on ne les propose pas. */
html:not(.js) .field-js { display: none; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-form .btn { margin-top: 4px; align-self: flex-start; }
.cta-form-note { font-size: 13.5px; line-height: 1.5; color: #a0aec0; }
.cta-form-note a { color: #cbd5e0; text-decoration: underline; text-underline-offset: 3px; }
.cta-form-note a:hover { color: var(--white); }
.cta-direct { font-size: 15px; color: #cbd5e0; }
.cta-direct a { display: inline-block; padding: 3px 0; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.cta-direct a:hover { color: var(--blue-night); }
/* Lien mail de l'appel final du blog (toutes les pages de blog/). Sans cette règle il héritait de
   l'encre des liens, sur le fond encre du bloc : invisible (audit du 11/11/2026). */
.cta-mail { display: inline-block; padding: 4px 0; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.cta-mail:hover { color: var(--blue-night); }

/* ---------- Pied de page ---------- */

.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 32px 0 48px;
  font-size: 13px; color: var(--soft);
}
.site-footer p { max-width: 640px; }
.footer-links a { display: inline-block; padding: 5px 0; color: var(--soft); }
.footer-links a:hover { color: var(--blue); }

/* ---------- Mentions légales ---------- */

.legal { max-width: 760px; padding: 56px 0 72px; }
.legal h1 { font-size: clamp(32px, 3vw + 12px, 44px); letter-spacing: -0.03em; margin: 12px 0 28px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--blue); }
.legal a.btn-primary { color: var(--white); }
.legal ul { margin: 0 0 20px; padding-left: 22px; color: var(--muted); }
.legal li + li { margin-top: 8px; }

/* ---------- Le carnet : listes et articles ---------- */

/* Section carnet de l'accueil : quatre cartes tiennent sur une ligne à 1200 px, là où .works en met
   trois. La liste du carnet (blog/index.html) utilise .works : cinq cartes en 3 + 2. */
.works-posts { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.work h2 a, .work h3 a { color: inherit; text-decoration: none; }
.work h2 a:hover, .work h3 a:hover { color: var(--blue); }

.who-sign { margin-top: 4px; font-size: 34px; }

/* Photo posee sur le papier : un leger angle, comme les annotations a la main. */
.portrait { max-width: 300px; margin: 6px 0 4px; }
.portrait img {
  display: block; width: 100%; height: auto;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
  transform: rotate(-1.5deg);
  box-shadow: 0 18px 36px -24px rgba(26, 32, 44, 0.45);
}

.crumb { font-size: 14px; color: var(--soft); }
.crumb a { display: inline-block; padding: 4px 0; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.crumb a:hover { color: var(--blue); }

.article { max-width: 720px; padding: 44px 0 72px; }
.article h1 { font-size: clamp(30px, 3vw + 10px, 44px); line-height: 1.12; letter-spacing: -0.03em; margin: 14px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.article-meta .sep-dot { color: var(--soft); font-weight: 400; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.article-tags li {
  padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 13px; color: var(--muted);
}
.article-lead { margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.article-body { margin-top: 8px; font-size: 17px; line-height: 1.68; color: var(--muted); }
.article-body > * + * { margin-top: 18px; }
.article-body h2 { margin-top: 44px; font-size: 25px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.article-body h3 { margin-top: 32px; font-size: 19px; color: var(--ink); }
.article-body ul { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 0; padding: 12px 18px; border-left: 3px solid var(--blue);
  background: var(--blue-pale); border-radius: 0 12px 12px 0; color: var(--ink);
}
.article-card {
  padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); font-size: 16px;
}
.article-card h3 { margin-top: 0; }
.article-card dl { margin: 0; }
.article-card dt { margin-top: 10px; font-weight: 600; color: var(--ink); }
.article-card dd { margin: 2px 0 0; }

/* Schéma à main levée dans un article. Les pages du blog ne chargent pas main.js : il est tracé
   d'emblée. Dessiné en hauteur (viewBox de 440 de large) pour rester lisible sur téléphone. */
.article-figure { margin: 28px 0 0; }
.article-sketch { display: block; width: 100%; max-width: 440px; height: auto; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.article-sketch .sketch-blue { stroke: var(--blue); }
.article-sketch text { font-family: var(--font-hand); font-size: 24px; font-weight: 700; fill: var(--blue); stroke: none; }
.article-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--soft); }

.article-faq { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-faq h2 { font-size: 25px; letter-spacing: -0.02em; }
.article-faq dl { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.article-faq dt { margin-top: 24px; font-size: 18px; font-weight: 600; color: var(--ink); }
.article-faq dd { margin: 8px 0 0; }

/* « À lire ensuite » : deux articles et une section de l'accueil, en fin d'article, avant « Tous les articles ». */
.related { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.related .script { font-size: 26px; }
.related h2 { margin-top: 6px; font-size: 25px; letter-spacing: -0.02em; }
.related ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.related li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.5; }
.related li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-light); border: 1.5px solid var(--blue);
}
.related a { display: inline-block; padding: 2px 0; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.related a:hover { color: var(--blue-dark); }

.article-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 46px; }
.article-foot a { display: inline-block; padding: 3px 0; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Apparitions et tracés ---------- */

.js [data-reveal],
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible,
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-done > * { transition-delay: 0ms; }
.js .script[data-reveal].is-visible { transform: rotate(-2deg); }

/* L'écriture à la main se trace de gauche à droite */
.js .is-visible .script,
.js .script.is-visible { animation: write 1s var(--ease) both; animation-delay: 0.15s; }
.js .hero-kicker.is-visible { animation-delay: 0s; }

/* Traits dessinés : chaque chemin a pathLength="1" */
.js .draw path,
.js svg.check {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.001;
  transition: stroke-dashoffset 1.1s var(--ease) var(--draw-delay, 0.25s);
}
.js .is-visible .draw path,
.js .draw.is-visible path,
.js .is-visible svg.check { stroke-dashoffset: 0; }

.js .mark-stroke { --draw-delay: 0.7s; }
.js .sep path { transition-duration: 1.6s; --draw-delay: 0s; }
.js .note-arrow { --draw-delay: 1.4s; }
.js .note-arrow path + path { --draw-delay: 1.9s; }
.js .demo-zone .note { opacity: 0; transition: opacity 0.6s var(--ease) 1.1s; }
.js .demo-zone.is-visible .note { opacity: 1; }

.js .stairs-line { --draw-delay: 0s; transition-duration: 1.6s; }
.js .stairs-tread { transition-duration: 0.55s; }
.js .stairs-tread-1 { --draw-delay: 1.35s; }
.js .stairs-tread-2 { --draw-delay: 2.4s; }
.js .stairs-tread-3 { --draw-delay: 3.35s; }
.js .stairs-rise-arc { --draw-delay: 4s; transition-duration: 0.9s; }
.js .stairs-rise-head { --draw-delay: 4.6s; transition-duration: 0.4s; }
.js .stairs-label { opacity: 0; transition: opacity 0.6s var(--ease); }
.js .stairs.is-visible .stairs-label { opacity: 1; }
.js .stairs-label-1 { transition-delay: 1.9s; }
.js .stairs-label-2 { transition-delay: 2.9s; }
.js .stairs-label-3 { transition-delay: 3.8s; }

/* Le personnage est hors du systeme des traces dessines. */
.js .climber path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
.js .climber { opacity: 0; }
.js .stairs.is-visible .climber { opacity: 1; }
.js .stairs.is-visible .climber-walk { animation: climb 2.8s linear 1.3s both; }
.js .stairs.is-visible .climber-hop { animation: climb-hop 2.8s ease-in-out 1.3s both; }
.js .stairs.is-visible .climber-bob { animation: climb-bob 0.4s ease-in-out 1.3s 6 both; }
.js .stairs.is-visible .climber-arm-down { animation: climb-arm-down 2.8s linear 1.3s both; }
.js .stairs.is-visible .climber-arm-up { animation: climb-arm-up 2.8s linear 1.3s both; }

.js .checks li:nth-child(1) svg.check { --draw-delay: 0.3s; }
.js .checks li:nth-child(2) svg.check { --draw-delay: 0.45s; }
.js .checks li:nth-child(3) svg.check { --draw-delay: 0.6s; }
.js .checks li:nth-child(4) svg.check { --draw-delay: 0.75s; }
.js .checks li:nth-child(5) svg.check { --draw-delay: 0.9s; }
.js .checks li:nth-child(6) svg.check { --draw-delay: 1.05s; }

.js .timeline-line path { transition-duration: 1.8s; --draw-delay: 0.1s; }
.js .step-dot { transform: scale(0); }
.js .timeline.is-visible .step-dot { transform: none; }
.js .step:nth-child(1) .step-dot { transition-delay: 0.3s; }
.js .step:nth-child(2) .step-dot { transition-delay: 0.55s; }
.js .step:nth-child(3) .step-dot { transition-delay: 0.8s; }
.js .step:nth-child(4) .step-dot { transition-delay: 1.05s; }
.js .step:nth-child(5) .step-dot { transition-delay: 1.3s; }
.js .step:nth-child(6) .step-dot { transition-delay: 1.55s; }
/* Pas de transform sur .step : il servirait de repère aux points de la frise */
.js .step { opacity: 0; transition: opacity 0.7s var(--ease); }
.js .timeline.is-visible .step { opacity: 1; }
.js .step:nth-child(2) { transition-delay: 0.15s; }
.js .step:nth-child(3) { transition-delay: 0.3s; }
.js .step:nth-child(4) { transition-delay: 0.45s; }
.js .step:nth-child(5) { transition-delay: 0.6s; }
.js .step:nth-child(6) { transition-delay: 0.75s; }

@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes write {
  from { clip-path: inset(-20% 100% -20% 0); }
  to { clip-path: inset(-20% -2% -20% 0); }
}

/* La montee : position sur les marches, saut par-dessus la contremarche,
   balancement de la marche, bras leves a l'arrivee. */
@keyframes climb {
  0% { transform: translate(40px, 318px); opacity: 0; }
  4% { transform: translate(46px, 318px); opacity: 1; }
  22% { transform: translate(140px, 318px); }
  39% { transform: translate(200px, 219px); }
  56% { transform: translate(290px, 219px); }
  73% { transform: translate(350px, 120px); }
  88%, 100% { transform: translate(428px, 120px); }
}
@keyframes climb-hop {
  0%, 22% { transform: translateY(0); }
  30% { transform: translateY(-34px); }
  39%, 56% { transform: translateY(0); }
  64% { transform: translateY(-34px); }
  73%, 100% { transform: translateY(0); }
}
@keyframes climb-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes climb-arm-down {
  0%, 86% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes climb-arm-up {
  0%, 86% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

/* ---------- Responsive ---------- */

/* Menu mobile jusqu'à 1023 px : entre 901 et 1015 px, les sept entrées passaient sur deux lignes
   (en-tête de 137 px au lieu de 89). À 1024 px (tablette en paysage), le menu complet tient sur une ligne. */
@media (max-width: 1023px) {
  :root { --header-h: 77px; }
  .site-header { padding: 16px 0; }
  .logo { font-size: 28px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -24px rgba(26, 32, 44, 0.3);
  }
  .nav.is-open { display: flex; animation: pop 0.3s var(--pop) both; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; font-size: 16px; }

  /* Sans JavaScript (ou si main.js ne se charge pas), le bouton du menu ne peut rien ouvrir :
     les liens sont affichés à plat sous le logo, et l'en-tête ne colle plus en haut de l'écran. */
  html:not(.js) .header-wrap { position: static; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav {
    display: flex; position: static; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: 2px 18px; width: 100%; padding: 0; background: none; border-bottom: 0; box-shadow: none;
  }
  html:not(.js) .nav a:not(.btn) { padding: 8px 0; font-size: 15px; border-bottom: 0; }
  html:not(.js) .nav .btn { margin-top: 4px; min-height: 44px; font-size: 15px; }
}

/* Frise verticale dès 900 px (le menu mobile, lui, va jusqu'à 1023 px). Entre 761 et 880 px (tablette en portrait), les
   six colonnes faisaient une centaine de pixels et les titres se touchaient (audit du 11/11/2026).
   max-width : sur tablette, les lignes de texte restent courtes. */
@media (max-width: 900px) {
  .timeline-line { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding-left: 8px; max-width: 640px; }
  .step { position: relative; padding: 0 0 26px 34px; border-left: 2px dashed #c9bfae; gap: 6px; }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step .step-dot,
  .step:nth-child(n) .step-dot { left: -1px; top: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .portrait { max-width: 230px; }
  .article { padding-top: 32px; }
  .article-lead { font-size: 18px; }
  .article-body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .hero-text { gap: 22px; }
  .hero-kicker { font-size: 25px; }
  .hero-lead { font-size: 18px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  /* Sur petit écran, le surligné suit les retours à la ligne */
  .mark { display: inline; white-space: normal; background: linear-gradient(transparent 60%, var(--blue-light) 60%, var(--blue-light) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .mark .mark-stroke { display: none; }
  .mark-thin { white-space: nowrap; }
  .split, .block { padding: 56px 0 44px; }
  .split-body { font-size: 17px; }
  .level { gap: 12px; padding: 18px; }
  .included { padding: 24px 20px; }
  .cta { padding: 40px 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .device-screen { height: 600px; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  /* animation-delay survit a la regle ci-dessus : sans ceci le personnage
     resterait en bas de l'escalier, puis sauterait en haut. Il y est d'emblee,
     a la position du transform pose dans le SVG, bras leves. */
  .js .stairs.is-visible .climber-walk,
  .js .stairs.is-visible .climber-hop,
  .js .stairs.is-visible .climber-bob,
  .js .stairs.is-visible .climber-arm-down,
  .js .stairs.is-visible .climber-arm-up { animation: none; }
}
