/* ============================================================
   Ads One — feuille de style unique.
   Monde visuel : « Le carnet du consultant » (ADR-0005, DESIGN.md v3).
   Le carnet de travail ouvert devant le client : imprimé rigoureux,
   annotations manuscrites rares, surligneur sur ce qui compte.
   Une seule couche : chaque sélecteur est déclaré une fois,
   les variantes responsive vivent dans les media queries en fin
   de fichier. Ne pas ajouter de bloc d'override en fin de fichier.
   ============================================================ */

/* ---------- 0. Polices auto-hébergées (aucune requête tierce) ---------- */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/caveat-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/caveat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/caveat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/caveat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/instrument-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/instrument-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/instrument-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/instrument-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces (papier) */
  --cream: #fbf8f1;
  --ivory: #f5f1e6;
  --paper: #fffdf8;
  --soft: #f6f2e7;

  /* Encre & texte */
  --ink: #26241e;
  --ink-stroke: #26241e;
  --body: #57534a;
  --muted: #6e6a5e;

  /* Accents papier (fonds) */
  --lav: #f3ecd6;
  --lav-deep: #ede3c6;
  --lav-soft: #f8f4e8;
  --teal: #f6f1e2;
  --teal-soft: #f9f5ea;
  --brand-yellow: #f3ecd6;
  --brand-coral: #c94e35;

  /* Accents utilisés comme texte (stylos, contraste AA) */
  --purple-text: #b04328;
  --teal-text: #2b4c9b;

  /* Monde carnet */
  --fluo: #ffe977;
  --stylo-r: #c94e35;
  --stylo-b: #2b4c9b;
  --font-hand: "Caveat", cursive;

  /* Traits & lignes */
  --line: #e7e1d0;
  --pill: #f3eedd;
  --stroke: 1px solid rgba(38, 36, 30, 0.25);
  --stroke-thin: 1px solid rgba(38, 36, 30, 0.15);

  /* Élévation (douce — les ombres dures sont bannies) */
  --shadow-brut: 0 2px 10px rgba(38, 36, 30, 0.07);
  --shadow-brut-sm: 0 1px 6px rgba(38, 36, 30, 0.06);
  --shadow-brut-lg: 0 12px 32px rgba(38, 36, 30, 0.09);
  --shadow-soft: 0 8px 24px rgba(38, 36, 30, 0.05);
  --shadow: 0 14px 40px rgba(38, 36, 30, 0.07);

  /* Rayons */
  --radius: 14px;
  --radius-brut: 12px;
  --radius-brut-sm: 10px;
}

/* ---------- 2. Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (pointer: fine) {
  html {
    scroll-behavior: smooth;
  }
}
p {
  text-wrap: pretty;
}
body {
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
section,
.section {
  position: relative;
}
section {
  scroll-margin-top: 96px;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
:focus-visible {
  outline: 3px solid var(--ink-stroke);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Typographie ---------- */
.h-font,
h1,
h2,
h3 {
  font-family: "Instrument Sans", system-ui, sans-serif;
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  line-height: 1.15;
  max-width: 26ch;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.accent {
  color: var(--purple-text);
}
.section {
  padding: 88px 0;
}
.section--soft {
  background: var(--ivory);
}
.sec-head {
  max-width: none;
  margin: 0 0 44px;
  text-align: left;
}
.sec-head--left {
  text-align: left;
  margin: 0 0 48px;
}
.sub {
  color: var(--body);
  font-size: 1.06rem;
  margin-top: 18px;
  max-width: 68ch;
}


/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border: var(--stroke-thin);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}
.btn:hover {
  opacity: 0.85;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-ghost {
  background: var(--paper);
  color: var(--ink-stroke);
}
.btn-lg {
  padding: 18px 34px;
  font-size: 1.02rem;
}
a.btn {
  user-select: none;
}

/* ---------- 5. Header (plat, maquette) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  padding: 0;
  transition: transform 0.3s ease;
}
.header[data-hidden="1"] {
  transform: translateY(-110%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.header.scrolled .header-inner {
  box-shadow: none;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.logo img {
  display: block;
  height: 48px;
  width: auto;
}
.footer .logo img {
  height: 64px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a,
.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}
.nav a:after,
.nav-dropdown-trigger:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--stylo-r);
  transition: width 0.25s;
}
.nav a:hover:after,
.nav-dropdown:hover .nav-dropdown-trigger:after,
.nav-dropdown.open .nav-dropdown-trigger:after {
  width: 100%;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta .btn {
  padding: 11px 20px;
  font-size: 0.88rem;
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 10px;
  box-shadow: var(--shadow-brut-sm);
  transition: background 0.2s;
}
.burger:hover {
  background: var(--soft);
  border-radius: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  margin: 3px 0;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.25s;
}
.burger.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Dropdown desktop */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 260px;
  margin-top: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  z-index: 60;
  background: var(--ivory);
  border: var(--stroke-thin);
  border-radius: var(--radius-brut-sm);
  box-shadow: var(--shadow-brut);
}
.nav-dropdown-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-stroke);
}
.nav-dropdown-menu a:hover {
  background: var(--brand-yellow);
  color: var(--ink-stroke);
}
.nav-dropdown-menu a:after {
  display: none;
}

/* Nav mobile */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  flex-direction: column;
  gap: 2px;
  padding: 8px 22px 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(38, 36, 30, 0.08);
}
.mobile-nav a {
  display: block;
  padding: 15px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover {
  color: var(--stylo-r);
  background: none;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav-cta {
  display: block;
  margin-top: 18px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-stroke);
  background: var(--brand-yellow);
  border: var(--stroke-thin);
  border-radius: 14px;
  box-shadow: var(--shadow-brut-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.mobile-nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brut);
  background: var(--brand-yellow);
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 40, 0.32);
  z-index: 49;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.mobile-nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-stroke);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: var(--stroke-thin);
}
.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  background: var(--lav-soft);
  border-bottom: var(--stroke-thin);
}
.mobile-nav-sub a {
  padding: 14px 20px;
  font-size: 0.95rem;
}
.mobile-nav-sub a:last-child {
  border-bottom: none;
}

/* ---------- 6. Hero ---------- */
.hero {
  padding: 64px 0 76px;
  background-image: radial-gradient(rgba(38, 36, 30, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: "text image" "trust image";
  gap: 10px 60px;
  align-items: center;
}
.hero-text,
.hero-grid > div:first-child:not(.hero-visual) {
  grid-area: text;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.hero-visual {
  grid-area: image;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
  overflow: visible;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(300px, 82%);
}
.hero h1 {
  font-size: clamp(2.375rem, 4.9vw, 3.625rem);
}
.h1-sub {
  display: block;
  margin-top: 18px;
  font-size: 0.33em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--body);
  text-wrap: balance;
}
.hero p.lead {
  color: var(--body);
  font-size: 1.05rem;
  margin: 18px 0 22px;
  max-width: 62ch;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body);
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 999px;
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stylo-r);
  flex: none;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  grid-area: trust;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
  padding: 14px 2px 0;
  background: none;
  border: none;
  border-top: var(--stroke-thin);
  border-radius: 0;
  box-shadow: none;
}
.hero-grid > * > .hero-trust {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 18px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-stroke);
}

/* ---------- 7. Bandeau secteurs ---------- */
.strip {
  padding: 18px 0 64px;
}
.strip-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.strip-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-stroke);
}
.strip-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-stroke);
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 999px;
  box-shadow: var(--shadow-brut-sm);
}

/* Planche de stickers plateformes (logos officiels, usage nominatif, 08.09.2026).
   Grammaire DESIGN.md « sticker scotché » : carte blanche, scotch, rotation <= 3°. */
.logo-sheet {
  list-style: none;
  margin: 8px 0 0;
  padding: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
}
.logo-sticker {
  position: relative;
  width: 92px;
  padding: 18px 6px 10px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(38, 36, 30, 0.12);
  transition: transform 0.25s ease;
}
.logo-sticker:nth-child(8n + 1) { transform: rotate(-2deg); }
.logo-sticker:nth-child(8n + 2) { transform: rotate(1.5deg); }
.logo-sticker:nth-child(8n + 3) { transform: rotate(-1deg); }
.logo-sticker:nth-child(8n + 4) { transform: rotate(2.5deg); }
.logo-sticker:nth-child(8n + 5) { transform: rotate(-1.5deg); }
.logo-sticker:nth-child(8n + 6) { transform: rotate(1deg); }
.logo-sticker:nth-child(8n + 7) { transform: rotate(-2.5deg); }
.logo-sticker:nth-child(8n + 8) { transform: rotate(2deg); }
.logo-sticker:hover {
  transform: rotate(0deg) translateY(-3px);
}
.logo-sticker .tape {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 46px;
  height: 16px;
  background: rgba(201, 78, 53, 0.22);
  border-radius: 2px;
}
.logo-sticker img {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 auto 8px;
}
.logo-sticker span:not(.tape) {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--muted);
}

/* ---------- 8. Cartes bento génériques ---------- */
.form-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: none;
}
.vs {
  background: var(--paper);
  border: var(--stroke);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.pain-card,
.duo-card,
.fit-card,
.pillar {
  background: none;
  border: none;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 0 0;
}
/* Constat */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card h3 {
  margin-bottom: 12px;
}
.pain-card .quote {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}
.pain-card p {
  color: var(--body);
  font-size: 0.96rem;
  max-width: 60ch;
}
.pain-card p strong {
  color: var(--ink);
}

/* Bascule */
.turn {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  margin: 56px 0 0;
  padding: 24px 0;
  background: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.turn img {
  width: 104px;
  flex: none;
}
.turn p {
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 500;
  max-width: 62ch;
}
.turn p strong {
  color: var(--ink-stroke);
}

/* Mécanisme */
.mech-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.mech-grid p {
  color: var(--body);
  font-size: 1.04rem;
  margin-top: 18px;
  max-width: 66ch;
}
.mech-grid p strong {
  color: var(--ink);
}
.mech-visual {
  display: flex;
  justify-content: center;
}
.mech-visual img {
  width: min(330px, 80%);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.stat {
  padding: 30px 26px;
  text-align: left;
}
.stat:nth-child(1) {
  background: var(--lav);
}
.stat:nth-child(2) {
  background: var(--brand-yellow);
}
.stat:nth-child(3) {
  background: var(--teal-soft);
}
.stat .num {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(3rem, 5.8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-stroke);
}
.stat p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-stroke);
  margin-top: 12px;
}

/* Duo média + data */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.duo-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.duo-card .tagline {
  display: none;
}
.duo-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.duo-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--body);
}
.duo-card li:before {
  content: "";
  flex: none;
  width: 7px;
  height: 1.5px;
  margin-top: 11px;
  background: var(--stylo-r);
  border-radius: 1px;
}
.duo-plus {
  align-self: center;
  flex: none;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--stylo-r);
  background: none;
  border: none;
  border-radius: 14px;
  box-shadow: none;
  transform: rotate(-4deg);
}
.duo-equals {
  text-align: left;
  margin-top: 34px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}

/* Piliers */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.pillar {
  position: relative;
  overflow: visible;
  text-align: left;
}

.pillar .icn {
  height: 130px;
  display: flex;
  align-items: flex-end;
  overflow: visible;
  margin-top: -20px;
  margin-bottom: 14px;
}
.pillar .icn img {
  height: 140px;
  width: auto;
  transform-origin: center bottom;
}
.pillar h3 {
  margin-bottom: 10px;
}
.pillar p {
  color: var(--body);
  font-size: 0.97rem;
  max-width: 52ch;
}

/* Fondations données */
.foundation {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  overflow: visible;
  padding: 28px 32px;
  color: var(--ink-stroke);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  transform: rotate(-0.3deg);
  box-shadow: none;
}
.foundation > img {
  width: 86px;
  flex: none;
  padding: 12px;
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 16px;
  box-shadow: var(--shadow-brut-sm);
}
.foundation-body strong {
  display: block;
  margin-bottom: 16px;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink-stroke);
}
.foundation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.foundation-chips span {
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-stroke);
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 10px;
  box-shadow: var(--shadow-brut-sm);
}

/* Process */
.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 64px;
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 30px;
  align-items: center;
  padding: 26px 4px;
  border-top: 1px solid var(--line);
}
.step:has(.step-visual) {
  grid-template-columns: 110px 1fr;
}
.step > * {
  /* Un enfant de grille a `min-width: auto` : sa largeur minimale est celle de son
     contenu. Un bloc de code en `white-space: pre` impose donc sa plus longue ligne
     à toute la colonne, qui déborde du viewport au lieu de défiler dans son cadre.
     `min-width: 0` rend la colonne compressible et laisse `.guide-code` scroller. */
  min-width: 0;
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-visual {
  display: flex;
  justify-content: center;
  overflow: visible;
}
.step-visual img {
  width: 88px;
  animation: none;
}
.step h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 14px;
}
.step p {
  color: var(--body);
  font-size: 1rem;
  max-width: 62ch;
}
.step p strong {
  color: var(--ink);
}

/* Mid CTA */
.midcta {
  padding: 96px 0;
  background-image: radial-gradient(rgba(38, 36, 30, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.midcta-card {
  padding: 0;
  text-align: center;
  color: var(--ink-stroke);
  background: none;
  border: none;
  box-shadow: none;
}
.midcta-card h2 {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--ink-stroke);
}
.midcta-card p {
  max-width: 60ch;
  margin: 0 auto 30px;
  color: var(--ink-stroke);
}

/* « Posée à une IA » : la même question, trois moteurs (home, bloc simulateur, 08.09.2026) */
.ai-ask {
  max-width: 560px;
  margin: 6px auto 30px;
  text-align: left;
}
.ai-ask__to {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 14px;
}
.ai-ask__avatars {
  display: inline-flex;
}
.ai-ask__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: -9px;
  background: #fff;
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(38, 36, 30, 0.14);
}
.ai-ask__avatar img {
  display: block;
  height: 20px;
  width: auto;
}
.ai-ask__names {
  margin-left: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.ai-ask__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 22px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(38, 36, 30, 0.1);
  transform: rotate(-0.4deg);
}
.ai-ask__q {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-stroke);
}
.ai-ask__send {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
}
.ai-ask__note {
  margin: 10px 0 0 26px;
  text-align: left;
}
@media (max-width: 560px) {
  .ai-ask__to {
    margin-left: 6px;
  }
  .ai-ask__bar {
    padding-left: 16px;
  }
  .ai-ask__q {
    font-size: 0.9rem;
  }
}

/* Comparatif */
.vs {
  max-width: 980px;
  margin: 0;
  overflow: hidden;
}
.vs-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.1fr;
  border-top: var(--stroke-thin);
}
.vs-row:first-child {
  border-top: none;
}
.vs-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 22px 26px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-stroke);
}
.vs-row:not(.vs-head) > div:nth-child(2) {
  background: var(--paper);
  border-right: var(--stroke-thin);
}
.vs-row .crit {
  font-weight: 700;
  background: var(--cream);
  border-right: var(--stroke-thin);
}
.vs-row .me {
  font-weight: 600;
  color: var(--ink-stroke);
  background: var(--brand-yellow);
  border-left: var(--stroke-thin);
}
.vs-head > div {
  padding: 22px 26px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink-stroke);
  border-bottom: var(--stroke);
  border-right: var(--stroke-thin);
}
.vs-head > div:last-child {
  border-right: none;
}
.vs-head .crit {
  color: var(--paper);
  background: var(--ink-stroke);
}
.vs-head .me {
  font-size: 1.2rem;
  color: var(--ink-stroke);
  background: var(--brand-yellow);
}
.cell-tag {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.me .cell-tag {
  color: var(--ink-stroke);
}
.vs-note {
  max-width: 66ch;
  margin: 22px 0 0;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-stroke);
}

/* À propos */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.about-grid p {
  color: var(--body);
  font-size: 1.03rem;
  margin-top: 18px;
  max-width: 66ch;
}
.about-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--body);
  max-width: 66ch;
}
.about-points strong {
  color: var(--ink);
}
.about-visual {
  display: flex;
  justify-content: center;
  overflow: visible;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.about-visual img {
  position: relative;
  z-index: 2;
  width: min(360px, 82%);
}

/* Pour vous / pas pour vous */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fit-card {
  padding: 30px;
}

.fit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.fit-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fit-card li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--body);
  max-width: 58ch;
}
.fit-card.no li:before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  background-color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 6.2C10.2 10.1 14.1 14 17.9 17.9'/%3E%3Cpath d='M17.8 6.3C14 10.1 10 14.1 6.2 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 6.2C10.2 10.1 14.1 14 17.9 17.9'/%3E%3Cpath d='M17.8 6.3C14 10.1 10 14.1 6.2 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Jeu d'icônes dessinées (masques SVG, trait unique 2px, tracé irrégulier
   comme à la plume). Aucun glyphe Unicode ne sert d'icône. */
.hero-trust li:before,
.about-points li:before,
.fit-card.yes li:before,
.contact-meta li:before {
  content: "";
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  background-color: var(--stylo-r);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 12.6C6 14.3 7.7 16.3 9.4 18.5C12.7 13.7 16.4 9.1 20 5.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 12.6C6 14.3 7.7 16.3 9.4 18.5C12.7 13.7 16.4 9.1 20 5.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-points li:before,
.contact-meta li:before,
.fit-card.no li:before {
  margin-top: 2px;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  overflow: hidden;
  border-radius: 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item.open {
  background: none;
  box-shadow: none;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 19px 2px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-q .pm {
  flex: none;
  width: 18px;
  height: 18px;
  background-color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.4C12 9.8 12 14.1 12 18.6'/%3E%3Cpath d='M5.4 12C9.8 12 14.2 12 18.6 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.4C12 9.8 12 14.1 12 18.6'/%3E%3Cpath d='M5.4 12C9.8 12 14.2 12 18.6 12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color 0.2s;
}
.faq-item.open .pm {
  background-color: var(--stylo-r);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.4 12C9.8 12 14.2 12 18.6 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.4 12C9.8 12 14.2 12 18.6 12'/%3E%3C/svg%3E");
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  color: var(--body);
  font-size: 0.96rem;
  max-width: 68ch;
}
.faq-a strong {
  color: var(--ink);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  padding: 40px;
  background: var(--ivory);
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.field label .opt {
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: 10px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-stroke);
  box-shadow: var(--shadow-brut-sm);
  transform: translate(-1px, -1px);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 24px;
  padding: 6px 0;
  font-size: 0.86rem;
  color: var(--body);
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--purple-text);
  flex: none;
}
.consent a {
  text-decoration: underline;
  font-weight: 600;
  color: var(--ink);
}
.form-card .btn {
  width: 100%;
}
.form-error {
  display: none;
  margin-bottom: 18px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8f2f2f;
  background: #fdf0f0;
  border: var(--stroke-thin);
  border-color: #8f2f2f;
  border-radius: 10px;
}
.form-success {
  text-align: center;
  padding: 30px 10px;
}
.form-success img {
  width: 120px;
  margin: 0 auto 18px;
}
.form-success h3 {
  margin-bottom: 10px;
}
.form-success p {
  color: var(--body);
  font-size: 0.96rem;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.contact-side h2 {
  margin-bottom: 16px;
}
.contact-side > p {
  color: var(--body);
  font-size: 1.04rem;
  max-width: 58ch;
}
.contact-side img.cavatar {
  width: min(280px, 62%);
  margin: 26px 0 8px;
  padding: 18px;
  background: var(--brand-yellow);
  border: var(--stroke);
  border-radius: var(--radius-brut);
  box-shadow: var(--shadow-brut);
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}
.contact-meta li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--body);
  max-width: 58ch;
}
.contact-meta a {
  font-weight: 700;
  color: var(--purple-text);
  text-decoration: underline;
}

/* ---------- 9. Footer ---------- */
.footer {
  padding: 72px 0 0;
  background: var(--ivory);
  border-top: var(--stroke);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}
.footer-brand p {
  color: var(--body);
  font-size: 0.93rem;
  margin-top: 18px;
  max-width: 300px;
}
.footer h3,
.footer h4 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col a,
.footer-col li {
  font-size: 0.9rem;
  color: var(--body);
}
.footer-col a {
  display: inline-block;
  padding: 9px 0;
}
.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-circle {
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--ink);
  border: none;
  border-radius: 8px;
  box-shadow: none;
  transition: opacity 0.2s ease;
}
.footer-circle:hover {
  opacity: 0.85;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: var(--stroke-thin);
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal a {
  display: inline-block;
  padding: 9px 0;
}
.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- 10. CTA sticky mobile ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(38, 36, 30, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.mobile-cta.show {
  transform: translateY(0);
}
.mobile-cta .btn {
  width: 100%;
}

/* ---------- 11. Révélations au scroll — DÉSACTIVÉES ----------
   La cascade .rv de l'ancien monde contredit DESIGN.md (« pas de cascade »)
   et entrait en conflit avec carnet-motion (double reveal = flicker).
   Les classes .rv restent dans le HTML, inertes. */
.rv,
.rv-on .rv {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- 12. Bannière cookies ---------- */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(21, 21, 26, 0.32);
  pointer-events: none;
}
.cookie-shell {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 16px;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  pointer-events: none;
}
.cookie-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 28px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-stroke);
  background: var(--ivory);
  border: var(--stroke);
  border-radius: var(--radius-brut);
  box-shadow: var(--shadow-brut-lg);
  pointer-events: auto;
}
.cookie-top {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 22px;
  align-items: center;
}
.cookie-title {
  margin: 0 0 8px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-stroke);
}
.cookie-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
}
.cookie-actions {
  display: grid;
  gap: 10px;
}
.cookie-btn {
  cursor: pointer;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  border: var(--stroke-thin);
  border-radius: 12px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.cookie-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brut-sm);
}
.cookie-primary {
  padding: 14px 18px;
  color: var(--ink-stroke);
  background: var(--lav);
  box-shadow: var(--shadow-brut-sm);
}
.cookie-row-links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.cookie-text-link {
  padding: 8px 2px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-stroke);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.cookie-text-link:hover {
  color: var(--purple-text);
}
.cookie-details {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: var(--stroke-thin);
  border-radius: var(--radius-brut-sm);
  box-shadow: var(--shadow-brut-sm);
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-stroke);
  cursor: pointer;
}
.cookie-option-disabled {
  cursor: default;
  color: var(--muted);
}
.cookie-option strong {
  color: var(--ink-stroke);
  font-weight: 700;
}
.cookie-option input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--purple-text);
}
.cookie-save {
  justify-self: start;
  padding: 11px 18px;
  font-size: 0.86rem;
  color: var(--ink-stroke);
  background: var(--lav);
  box-shadow: var(--shadow-brut-sm);
}
.cookie-legal {
  margin: 14px 0 0;
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted);
}
.cookie-legal a {
  color: var(--ink-stroke);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   12b. Bloc de code (guides techniques)
   ============================================================ */
/* Guides : colonne de lecture. Déclinaison « page de carnet en mode lecture »
   décrite dans DESIGN.md — mesure confortable, respiration entre paragraphes. */
.guide-prose {
  max-width: 68ch;
}
.guide-prose p {
  margin-bottom: 20px;
}
.guide-prose p:last-child {
  margin-bottom: 0;
}
.guide-prose h3 {
  margin: 32px 0 10px;
}
/* Liens dans le corps des guides : trait de surligneur fluo, plus soutenu
   au survol. Même famille que .k/.hl, mais interactif. */
.guide-prose a:not(.btn),
.step p a,
.faq-a a,
.pain-card p a {
  background-color: var(--fluo);
  padding: 0 3px;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--ink-stroke);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition:
    background-color 0.15s ease,
    text-decoration-thickness 0.15s ease;
}
.guide-prose a:not(.btn):hover,
.step p a:hover,
.faq-a a:hover,
.pain-card p a:hover {
  background-color: #ffdf3d;
  text-decoration-thickness: 2px;
}
.guide-prose .guide-code {
  max-width: none;
}
.guide-code {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--ivory);
  border: var(--stroke);
  border-radius: var(--radius-brut-sm);
  box-shadow: var(--shadow-brut-sm);
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
}
.guide-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink-stroke);
  white-space: pre;
  background: none;
  padding: 0;
}
.step p code,
.pain-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--brand-yellow);
  border: var(--stroke-thin);
  border-radius: 6px;
  padding: 0 5px;
}

/* ============================================================

   13. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-inner {
    position: relative;
    padding: 10px 18px;
  }
  .logo img {
    height: 44px;
  }
  .header-cta .btn-ghost {
    display: none;
  }
  .header-cta .btn-primary {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .mobile-nav.open {
    display: flex;
  }
  .pillars {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --shadow-brut: 0 2px 10px rgba(38, 36, 30, 0.07);
    --shadow-brut-lg: 0 10px 26px rgba(38, 36, 30, 0.08);
  }
  section {
    scroll-margin-top: 76px;
  }
  body {
    padding-bottom: 88px;
  }
  .header {
    padding: 0;
  }
  .header-inner {
    padding: 8px 14px;
  }
  .header-cta {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  h1 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
  }
  h2 {
    font-size: clamp(1.7rem, 5.6vw, 2.2rem);
  }
  .sec-head {
    margin-bottom: 40px;
  }

  .hero {
    padding: 18px 0 24px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "image" "trust";
    gap: 18px;
    text-align: center;
  }
  .hero-text {
    padding: 28px 24px;
  }
  .hero p.lead {
    margin: 14px auto 18px;
    font-size: 0.98rem;
  }
  .hero-ctas,
  .hero-trust {
    justify-content: center;
  }
  .hero-trust {
    gap: 8px 16px;
    margin-top: 0;
  }
  .hero-visual img {
    width: min(260px, 62%);
  }

  .pain-grid,
  .stats,
  .pillars,
  .fit-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .pain-card {
    padding: 26px 22px;
  }
  .stats {
    margin-bottom: 40px;
    gap: 16px;
  }
  .stat {
    padding: 24px 22px;
  }
  .pillars {
    margin-bottom: 40px;
  }
  .pillar {
    text-align: center;
  }
  .pillar .icn {
    justify-content: center;
  }
  .pillar .icn img {
    height: 110px;
  }
  .pillar p {
    margin: 0 auto;
  }

  .mech-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mech-visual,
  .about-visual {
    order: -1;
  }
  .mech-visual img {
    width: min(220px, 55%);
  }
  .about-visual {
    padding: 22px;
  }
  .about-visual img {
    width: min(240px, 58%);
  }

  .duo {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .duo-plus {
    justify-self: center;
  }

  .steps {
    gap: 28px;
    margin-top: 48px;
  }
  .step,
  .step:has(.step-visual) {
    /* La règle desktop `.step:has(.step-visual)` est plus spécifique que `.step`
       seul : sans la répéter ici, la colonne image de 110px survivait en mobile
       et écrasait le texte à ~168px. */
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 28px;
    text-align: center;
  }
  .step-visual img {
    width: min(170px, 44%);
  }
  .step p {
    margin: 0 auto;
  }

  .turn {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px;
    gap: 16px;
    margin-top: 40px;
  }
  .fit-card {
    padding: 26px 22px;
  }
  .foundation {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 26px 22px;
  }
  .foundation > img {
    width: 76px;
  }

  .midcta {
    padding: 0 0 72px;
  }
  .midcta-card {
    padding: 40px 24px;
  }

  .vs {
    border-radius: var(--radius-brut-sm);
  }
  .vs-row {
    grid-template-columns: minmax(96px, 1.1fr) 1fr 1fr;
  }
  .vs-row > div {
    padding: 14px 12px;
    font-size: 0.86rem;
    line-height: 1.35;
    gap: 0;
  }
  .vs-head > div {
    padding: 14px 10px;
    font-size: 0.9rem;
    text-align: center;
  }
  .vs-head > div:first-child {
    background: var(--ink-stroke);
  }
  .vs-head .me {
    font-size: 0.92rem;
  }

  .faq-q {
    padding: 18px 20px;
    font-size: 1rem;
    gap: 14px;
  }
  .faq-a p {
    padding: 0 20px 20px;
  }

  .contact-side {
    text-align: center;
  }
  .contact-side > p {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-side img.cavatar {
    margin: 22px auto 8px;
  }
  .contact-meta {
    align-items: flex-start;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .footer {
    padding-top: 56px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .footer-circle {
    justify-self: start;
    width: 150px;
    height: 150px;
    font-size: 0.98rem;
  }
  .footer-bottom {
    padding: 16px 0 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }

  .mobile-cta {
    display: block;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }
  .hero-pill {
    font-size: 0.78rem;
    padding: 7px 14px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .btn-lg {
    padding: 16px 28px;
    font-size: 0.98rem;
  }
  .midcta-card {
    padding: 36px 20px;
  }
  .form-card {
    padding: 24px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-circle {
    justify-self: center;
  }
  .cookie-card {
    padding: 22px 24px;
  }
  .cookie-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cookie-shell {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .rv-on .rv {
    opacity: 1;
    transform: none;
  }
}


/* ---------- 13. Monde carnet — composants ---------- */
/* Nouvelles pièces du monde (DESIGN.md v3). Aucun override des sections
   précédentes : uniquement des classes nouvelles. */

.hand {
  font-family: var(--font-hand);
}

/* Surligneur : l'accent du monde. Mots seulement, jamais des pavés. */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::before {
  content: "";
  position: absolute;
  inset: 10% -5px 4%;
  background: linear-gradient(100deg, transparent 1%, var(--fluo) 3%, #ffe04d 97%, transparent 99%);
  z-index: -1;
  border-radius: 2px;
  transform-origin: left center;
  animation: hl-pose 0.5s 0.35s ease-out backwards;
}
.k {
  background: linear-gradient(100deg, transparent 2%, var(--fluo) 5%, #ffe04d 95%, transparent 98%);
  padding: 0 3px;
}
@keyframes hl-pose {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Relevé encadré : données réelles uniquement. */
.releve {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 18px 22px;
  background: var(--paper);
  transform: rotate(-0.5deg);
  width: 100%;
  max-width: 330px;
  font-variant-numeric: tabular-nums;
}
.releve .releve-t {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.releve table {
  margin-top: 6px;
  border-collapse: collapse;
  width: 100%;
}
.releve td {
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(38, 36, 30, 0.09);
  color: var(--muted);
}
.releve tr:last-child td {
  border-bottom: none;
}
.releve td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

/* Sticker scotché (memoji). */
.sticker {
  background: #fff;
  border-radius: 14px;
  padding: 18px 14px 12px;
  text-align: center;
  transform: rotate(3deg);
  box-shadow: 0 2px 10px rgba(38, 36, 30, 0.12);
  position: relative;
  width: min(240px, 70%);
}
.sticker img {
  margin: 0 auto;
}
.sticker .tape {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 86px;
  height: 24px;
  background: rgba(201, 78, 53, 0.24);
  border-radius: 2px;
}
.sticker figcaption,
.sticker small {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Notes manuscrites : 2-3 par écran MAXIMUM, rotation ≤ 3°. */
.marge-note {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--stylo-b);
  transform: rotate(1.5deg);
  max-width: 260px;
}
.marge-note u {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.cta-note {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--stylo-r);
  transform: rotate(-2deg);
  align-self: center;
}

/* Marge de carnet : filet vertical rouge à gauche de la page. */
.page-marge::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(24px, calc(50% - 560px));
  width: 1px;
  background: rgba(201, 78, 53, 0.28);
  z-index: 1;
  pointer-events: none;
}

/* (onglets de tranche supprimés à la demande du propriétaire) */
.annot--gap { margin-top: 8px; }
/* Flèches dessinées des notes manuscrites */
.annot .fl,
.snote .fl {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 4px;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.4C11.7 9 12.2 14 12 19.1'/%3E%3Cpath d='M7.3 14.4C9.1 16.3 10.7 17.9 12 19.3C13.4 17.8 15 16.2 16.8 14.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.4C11.7 9 12.2 14 12 19.1'/%3E%3Cpath d='M7.3 14.4C9.1 16.3 10.7 17.9 12 19.3C13.4 17.8 15 16.2 16.8 14.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.snote .fl {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 17.7C10 14 13.7 10.3 17.5 6.6'/%3E%3Cpath d='M9.5 6.5C12.4 6.5 15.2 6.6 17.6 6.7C17.6 9.1 17.6 11.8 17.6 14.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 17.7C10 14 13.7 10.3 17.5 6.6'/%3E%3Cpath d='M9.5 6.5C12.4 6.5 15.2 6.6 17.6 6.7C17.6 9.1 17.6 11.8 17.6 14.7'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  .page-marge::before {
    display: none;
  }
  .marge-note {
    transform: rotate(0.5deg);
    max-width: none;
  }
  .releve {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl::before {
    animation: none;
  }
}

/* ---------- 14. Monde carnet — grammaire des sections ---------- */

/* Index de section : posé au-dessus des sec-heads, jamais en eyebrow verbal. */
.sec-idx {
  display: block;
  height: 1px;
  margin-bottom: 42px;
  background: var(--line);
}


/* Annotation manuscrite de section : UNE par écran maximum. */
.annot {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--stylo-b);
  transform: rotate(-1.5deg);
}
.annot--r {
  color: var(--stylo-r);
}

/* Relevé large : les stats de crédibilité comme une page de carnet. */
.releve--wide {
  max-width: 820px;
  margin: 0 0 56px;
  transform: rotate(-0.3deg);
  position: relative;
}
.ledger {
  margin-top: 10px;
}
.lg-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
}
.lg-label {
  font-size: 1rem;
  color: var(--body);
}
.lg-lead {
  flex: 1;
  min-width: 24px;
  align-self: flex-end;
  margin-bottom: 5px;
  border-bottom: 1px dotted rgba(38, 36, 30, 0.34);
}
.lg-amount {
  flex: none;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.lg-row--total {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 16px;
}
.lg-row--total .lg-amount {
  color: var(--stylo-r);
  font-size: 1.45rem;
}
.ledger-note {
  margin-top: 16px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--stylo-b);
  transform: rotate(-0.8deg);
}
.releve--wide .releve-stamp {
  position: absolute;
  top: -16px;
  right: 18px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--stylo-r);
  transform: rotate(2deg);
  background: var(--paper);
  padding: 0 8px;
}

/* Sticker mini : memoji ponctuel dans un bloc de texte. */
.sticker--mini {
  width: auto;
  padding: 10px 10px 6px;
  transform: rotate(-2.5deg);
}
.sticker--mini img {
  width: 88px;
  height: 88px;
}

@media (max-width: 620px) {
  .lg-row {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  .lg-lead {
    display: none;
  }
  .lg-amount {
    margin-left: auto;
  }
  .releve--wide {
    transform: none;
  }
}

/* ---------- 15. Monde carnet — motion (carnet-motion.js) ---------- */
/* Doctrine : chaque animation joue UNE fois, 300-700ms, ease-out.
   Le carnet s'écrit sous les yeux du lecteur — rien ne boucle, rien ne
   flotte. prefers-reduced-motion coupe tout. */

/* Surligneur qui se pose au moment où on le lit (.k et .hl pilotés au scroll) */
.js-motion .k,
.js-motion .hl::before {
  animation: none;
}
.js-motion .k {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.js-motion .k.m-on {
  background-size: 100% 100%;
}
.js-motion .hl::before {
  transform: scaleX(0);
  transition: transform 0.85s 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.js-motion .hl.m-on::before {
  transform: scaleX(1);
}

/* Annotations manuscrites : la main les ajoute après coup */
.js-motion .annot,
.js-motion .cta-note,
.js-motion .marge-note {
  opacity: 0;
  transform: rotate(-4deg) translateY(6px);
  transition:
    opacity 0.4s 0.45s ease-out,
    transform 0.4s 0.45s ease-out;
}
.js-motion .annot.m-on,
.js-motion .cta-note.m-on,
.js-motion .marge-note.m-on {
  opacity: 1;
  transform: rotate(-1.5deg) translateY(0);
}
.js-motion .marge-note.m-on {
  transform: rotate(1.5deg) translateY(0);
}

/* Tampon : se tamponne */
.js-motion .releve-stamp {
  opacity: 0;
  transform: rotate(8deg) scale(1.35);
  transition:
    opacity 0.25s 0.5s ease-out,
    transform 0.25s 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.js-motion .releve-stamp.m-on {
  opacity: 1;
  transform: rotate(2deg) scale(1);
}

/* Stickers : se collent (léger settle) + hover vivant */
.js-motion .sticker {
  opacity: 0;
  transform: rotate(6deg) translateY(10px) scale(1.02);
  transition:
    opacity 0.4s ease-out,
    transform 0.5s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.js-motion .sticker.m-on {
  opacity: 1;
  transform: rotate(3deg) translateY(0) scale(1);
}
.sticker {
  transition: transform 0.25s ease;
}
.sticker:hover {
  transform: rotate(1.5deg) translateY(-3px);
}

/* Onglet de la section visible : s'élargit */


/* Relevés : le cadre s'encre */
.js-motion .releve {
  opacity: 0;
  transform: rotate(-0.5deg) translateY(12px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.js-motion .releve.m-on {
  opacity: 1;
  transform: rotate(-0.5deg) translateY(0);
}
.js-motion .releve--wide.m-on {
  transform: rotate(-0.3deg) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .k,
  .js-motion .k.m-on {
    background-size: 100% 100%;
    transition: none;
  }
  .js-motion .hl::before,
  .js-motion .hl.m-on::before {
    transform: scaleX(1);
    transition: none;
  }
  .js-motion .annot,
  .js-motion .cta-note,
  .js-motion .marge-note,
  .js-motion .releve-stamp,
  .js-motion .sticker,
  .js-motion .releve {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .header,
  .header[data-hidden="1"] {
    transform: none;
  }
}

/* ---------- 16. Monde carnet — reveal orchestré des blocs ---------- */
/* Posé par carnet-motion.js (classe .mv + --mv-d de stagger). Compositor
   only (opacity/transform), une passe, jamais en boucle. Sans JS, rien
   n'est masqué. */
.js-motion .mv {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--mv-d, 0ms);
}
.js-motion .mv.m-on {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .mv,
  .js-motion .mv.m-on {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Éléments pilotés par GSAP : le CSS de reveal ne s'applique plus,
   GSAP est seul maître de leurs styles. */
.js-motion .gs-run,
.js-motion .gs-run.m-on {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}

/* ---------- 17. Monde carnet — matière (papier, lignes, spirale, grain) ---------- */
/* Lignes de cahier sur les sections claires */
.section--soft {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 31px,
    rgba(43, 76, 155, 0.055) 31px 32px
  );
}
/* Reliure spirale sur le relevé de carrière */
.releve--wide {
  padding-left: 46px;
}
.releve--wide::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 14px;
  width: 12px;
  background-image: radial-gradient(circle 4px, rgba(38, 36, 30, 0.35) 4px, transparent 5px);
  background-size: 12px 26px;
  background-repeat: repeat-y;
}
/* Grain papier discret sur tout le site */
@media (pointer: coarse) {
  body::after {
    display: none;
  }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* La marge rouge se trace à l'ouverture */
.js-motion .page-marge::before {
  transform-origin: top center;
  animation: marge-trace 1.1s 0.2s ease-out both;
}
@keyframes marge-trace {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .page-marge::before { animation: none; }
}

/* ---------- 18. Astuces premium ---------- */
/* Titres au rideau */
/* (effet titres-rideau supprimé : un titre ne peut jamais être invisible) */
.js-motion h2.tw,
.js-motion h2.tw.m-on {
  clip-path: none;
  transform: none;
  transition: none;
}
/* Fil rouge de progression de lecture */
#fil-rouge {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stylo-r);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 80;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-motion h2.tw,
  .js-motion h2.tw.m-on {
    clip-path: none;
    transform: none;
    transition: none;
  }
}

/* ---------- 19. Page introuvable (monde carnet) ---------- */
.nf {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--cream);
  background-image: radial-gradient(rgba(38, 36, 30, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.nf-inner {
  width: 100%;
  max-width: 620px;
}
.nf-releve {
  max-width: none;
}
.nf-releve .lg-amount a {
  color: var(--stylo-r);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nf-note {
  margin-top: 18px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--stylo-b);
  transform: rotate(-1deg);
}
