/* ============================================================
   YUNARA v2 — système clair premium
   ADN conservé : JetBrains Mono, encre chaude, grain, scanlines.
   Le blanc domine mais n'est jamais pur : papier chaud + vignette,
   graisse 400 sur fond clair (la 300 devenait illisible).
   ============================================================ */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(/fonts/jetbrains-mono-latin-300-normal.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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-400-normal.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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(/fonts/jetbrains-mono-latin-ext-300-normal.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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-ext-400-normal.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;
}
/* graisse lourde : réservée au gros titre du poster */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/jetbrains-mono-latin-700-normal.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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/jetbrains-mono-latin-ext-700-normal.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;
}

:root {
  --paper:      #F3F0E9;   /* papier chaud — jamais de blanc pur */
  --paper-2:    #EAE6DC;   /* section alternée, un cran plus dense */
  --paper-hi:   #F8F6F1;   /* surface des cartes, légèrement au-dessus */
  --night:      #0B0A08;
  --night-2:    #131110;
  --ink:        #12100C;
  --ink-soft:   rgba(18, 16, 12, 0.78);  /* remonté : la mono a besoin de densité */
  --ink-faint:  rgba(18, 16, 12, 0.52);
  --hair:       rgba(18, 16, 12, 0.16);
  --hair-soft:  rgba(18, 16, 12, 0.09);
  --cream:      #ECE8DD;
  --cream-soft: rgba(236, 232, 221, 0.70);
  --cream-faint:rgba(236, 232, 221, 0.45);
  --shadow:     0 24px 60px -34px rgba(18, 16, 12, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-weight: 400;              /* 300 était trop maigre sur fond clair */
  font-size: 14.5px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

/* grain — se lit comme du papier imprimé sur fond clair */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* vignette globale : casse la platitude du fond clair, repose l'œil */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse 78% 62% at 50% 42%, transparent 55%, rgba(18, 16, 12, 0.10) 100%);
}

/* l'attribut hidden doit gagner : sans ça, le moindre display: flex ou
   inline-block posé par une classe le neutralise en silence */
[hidden] { display: none !important; }

/* gabarit large : le contenu respire jusque vers les bords */
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 clamp(24px, 4.5vw, 76px); }
.narrow { max-width: 780px; }

/* ── blocs sombres : hero + CTA final ── */
.dark {
  background: var(--night);
  color: var(--cream-soft);
  font-weight: 300;              /* sur fond sombre le texte paraît plus gras */
  position: relative;
  overflow: hidden;
}
.dark::before { /* scanlines + vignette, ADN backrooms */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.13) 0px, rgba(0,0,0,0.13) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 52%, rgba(0, 0, 0, 0.55) 100%);
}
.dark > * { position: relative; z-index: 2; }
.dark .kicker { color: var(--cream-faint); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.dark p { color: var(--cream-soft); }
.dark .hair { border-color: rgba(236,232,221,0.18); }
.dark .stat b { color: var(--cream); }
.dark .stat span, .dark .faint { color: var(--cream-faint); }

/* ── typo ── */
.kicker {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
h1 {
  font-weight: 400;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--ink);
}
h2 {
  font-weight: 400;
  font-size: clamp(21px, 3.4vw, 33px);
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}
h3 {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.lead { font-size: 16px; line-height: 1.68; max-width: 650px; color: var(--ink-soft); }
.dark .lead { color: var(--cream-soft); }
.small { font-size: 13px; }
.faint { color: var(--ink-faint); }

.caret {
  display: inline-block;
  width: 0.46em;
  height: 0.075em;
  margin-left: 0.12em;
  background: currentColor;
  vertical-align: baseline;
  animation: caretBlink 1.1s steps(1, end) infinite;
}
@keyframes caretBlink { 0%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }

section { padding: 96px 0; scroll-margin-top: 78px; position: relative; }
section.tight { padding: 64px 0; }
.alt { background: var(--paper-2); }
.hair { border-top: 1px solid var(--hair); }
/* filet dégradé entre sections claires : plus doux qu'un trait net */
.alt::before, .alt::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hair), transparent);
}
.alt::before { top: 0; }
.alt::after { bottom: 0; }

/* ── header ── */
/* fixed et non sticky : le header se superpose au lieu d'occuper 82 px dans le
   flux, ce qui décalait le hero plein écran vers le bas et le faisait déborder */
header.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(243, 240, 233, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-soft);
}
header.top .bar {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px clamp(24px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
header.top nav { display: flex; gap: 24px; flex-wrap: wrap; }
header.top nav a {
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
header.top nav a:hover { color: var(--ink); }
@media (max-width: 820px) { header.top nav { display: none; } }

/* ── boutons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.18s ease, box-shadow 0.28s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(18,16,12,0.7); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--fill { background: var(--ink); color: var(--paper); }
.btn--fill:hover { background: transparent; color: var(--ink); }
.dark .btn { border-color: var(--cream); color: var(--cream); }
.dark .btn:hover { background: var(--cream); color: var(--night); box-shadow: 0 14px 34px -18px rgba(0,0,0,0.9); }
.dark .btn--fill { background: var(--cream); color: var(--night); }
.dark .btn--fill:hover { background: transparent; color: var(--cream); }

.link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.link:hover { border-color: var(--ink); }
.dark .link { color: var(--cream); border-color: rgba(236,232,221,0.34); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* ── grilles ── */
.grid { display: grid; gap: 26px; }
@media (min-width: 760px) {
  .g2 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 60px; }
}
/* quatre offres ou cinq étapes ne tiennent côte à côte qu'à partir du grand
   format : en dessous elles se replient en deux ou trois colonnes */
@media (min-width: 1120px) {
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .g5 { grid-template-columns: repeat(5, 1fr); }
}

/* ── entête des pages satellites : dégage le header fixe ── */
.lede { padding-top: 148px; }
@media (max-width: 760px) { .lede { padding-top: 124px; } }

/* ── cartes d'offre ── */
.offer {
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 32px 28px;
  background: var(--paper-hi);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 0 rgba(255,255,255,0.6) inset;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.offer:hover {
  border-color: rgba(18,16,12,0.36);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.offer .num { font-size: 11px; color: var(--ink-faint); margin-bottom: 16px; letter-spacing: 0.12em; text-transform: uppercase; }
.offer .price { font-size: 29px; color: var(--ink); margin: 16px 0 4px; letter-spacing: -0.01em; }
.offer .price small { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.06em; }
.offer ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.offer li {
  font-size: 13px;
  padding: 8px 0 8px 18px;
  position: relative;
  border-top: 1px solid var(--hair-soft);
}
.offer li::before { content: '→'; position: absolute; left: 0; color: var(--ink-faint); }
.tag {
  position: absolute;
  top: -11px;
  right: 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.offer--star { border-color: rgba(18,16,12,0.32); box-shadow: var(--shadow); }

/* ── phases du système (structure Comprendre → Déployer → Transformer) ── */
.phase {
  border-top: 1px solid var(--hair);
  padding-top: 22px;
  position: relative;
}
.phase .n {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 14px;
}
.phase h3 { margin-bottom: 12px; font-size: 15px; letter-spacing: 0.1em; }
.phase p { font-size: 13px; }
.phase .out {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dotted var(--hair);
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* ── schéma de cartographie ── */
.map {
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 34px 26px;
  background: var(--paper-hi);
  box-shadow: var(--shadow);
}
.map .core {
  text-align: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.map .stem { width: 1px; height: 28px; background: var(--hair); margin: 0 auto; }
.map .nodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
@media (min-width: 560px) { .map .nodes { grid-template-columns: repeat(4, 1fr); } }
.map .node {
  border: 1px solid var(--hair);
  border-radius: 11px;
  padding: 13px 8px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.map:hover .node { border-color: rgba(18,16,12,0.28); }
.map .cap { font-size: 11.5px; color: var(--ink-faint); text-align: center; margin-top: 20px; }

/* ── photos ── */
.shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.98);
}
.shot::after { /* vignette sur l'image : l'intègre au papier */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 82% 76% at 50% 45%, transparent 52%, rgba(18,16,12,0.42) 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 3px);
}
.shot--portrait { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 16 / 10; }
/* emplacement en attente d'image */
.shot.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(18,16,12,0.26);
  background: var(--paper-2);
  box-shadow: none;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 22px;
}
.shot.empty::after { display: none; }

/* ── chiffres / preuve ── */
.stat b { display: block; font-weight: 400; font-size: 34px; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; }
.stat span { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); }
.quote { border-left: 1px solid var(--hair); padding-left: 20px; }
.quote p { font-size: 13.5px; }
.quote cite { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); margin-top: 9px; }

/* ── FAQ ── */
details { border-top: 1px solid var(--hair); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13.5px;
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: opacity 0.2s ease;
}
summary:hover { opacity: 0.7; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 0;
  color: var(--ink-faint);
  transition: transform 0.28s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 13px; font-size: 13px; max-width: 660px; }

/* ── footer ── */
footer.bottom { border-top: 1px solid var(--hair); padding: 44px clamp(24px, 4.5vw, 76px) 60px; }
footer.bottom .in {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer.bottom a { color: var(--ink-faint); text-decoration: none; transition: color 0.25s ease; }
footer.bottom a:hover { color: var(--ink); }

/* ════════ HERO ════════
   La composition de l'affiche rejouée en texte, sans le cube : le titre ancre
   le bas à gauche, les marquages tiennent les bords, le centre reste vide.
   Aucune image — donc net à toutes les tailles, lisible par Google, et rien à
   télécharger avant le premier affichage. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 100svh;
  display: grid;
}

/* l'image occupe toute la section, sous le texte */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* remplit la section quel que soit l'écran */
  object-position: 50% 50%;
}

/* Voile de papier : des dégradés pleine section, donc aucune limite visible.
   Tout le texte tient dans la moitié gauche — le voile est donc un rideau qui
   part de la gauche et s'ouvre vers la droite, où la matière peut respirer. */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(243, 240, 233, 0.74) 0%,
      rgba(243, 240, 233, 0.62) 34%,
      rgba(243, 240, 233, 0.24) 74%,
      rgba(243, 240, 233, 0.32) 100%),
    linear-gradient(to top,
      rgba(243, 240, 233, 0.42) 0%,
      rgba(243, 240, 233, 0.18) 26%,
      rgba(243, 240, 233, 0.18) 100%);
}

/* Un seul bloc de texte, aligné à gauche et centré verticalement, plus une
   bande de chiffres en pied de section. La version précédente accrochait
   quatre blocs aux quatre angles : sur une section pleine hauteur, ça creuse
   forcément un trou au milieu. Ici le vide est une marge autour d'un bloc. */
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;   /* le bloc occupe la place, la bande tient le bas */
  padding-top: 78px;              /* dégage le header fixe */
}
.hero-main { align-self: center; padding-block: 48px; }
.hero-main .kicker { margin-bottom: 26px; }

.hero-lead {
  margin: 30px 0 0;
  max-width: 56ch;
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.72;
  color: var(--ink-soft);
}
.hero-act {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.hero-sig {
  margin: 34px 0 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* bande basse : elle tient le pied de la section et annonce qu'il y a
   quelque chose sous la ligne de flottaison */
.hero-band {
  align-self: end;
  padding-top: 24px;
  padding-bottom: 80px;           /* laisse passer le bouton flottant d'Hermès */
  border-top: 1px solid var(--hair);
}
.hero-band .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
}
@media (min-width: 760px) { .hero-band .stats { grid-template-columns: repeat(4, 1fr); } }
.hero-band .stat b { font-size: clamp(21px, 2vw, 28px); }

/* halo derrière le bouton : le blanc est à peine plus clair que le papier,
   c'est volontaire — il doit se sentir plus qu'il ne se voit */
.glow { position: relative; display: inline-block; }
.glow::before {
  content: '';
  position: absolute;
  inset: -44px -58px;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.48) 44%,
    rgba(255, 255, 255, 0) 72%);
  animation: glowBreath 7s ease-in-out infinite;
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

/* ── le titre ── */
/* écrit en minuscules dans le HTML et mis en capitales par le CSS : Google et
   les lecteurs d'écran reçoivent une phrase normale */
.hero-title { margin: 0; }
.hero-title .l1 {
  display: block;
  font-weight: 400;
  font-size: clamp(19px, 2.3vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.14;
  text-transform: none;           /* h1 est en capitales par défaut, pas ce vers */
  color: var(--ink);
}
.hero-title .l2 {
  display: block;
  font-weight: 700;
  font-size: clamp(32px, 5.9vw, 86px);
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── mobile ── */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-in { padding-top: 118px; }
  .hero-main { padding-block: 0 40px; }
  .hero-lead { margin-top: 24px; }
  .hero-act { margin-top: 30px; }
  .hero-sig { margin-top: 26px; }
  .hero-band { padding-top: 22px; padding-bottom: 92px; }
  /* le texte occupe toute la largeur sur mobile : le voile doit couvrir
     davantage, sinon l'image passe sous chaque ligne */
  .hero-veil {
    background: linear-gradient(to bottom,
      rgba(243, 240, 233, 0.9) 0%,
      rgba(243, 240, 233, 0.76) 44%,
      rgba(243, 240, 233, 0.84) 100%);
  }
  .glow::before { inset: -30px -40px; }
}

/* ── bandeau de chiffres sous le hero ── */
.strip { padding: 30px 0; border-bottom: 1px solid var(--hair); }
.strip .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 32px;
}
@media (min-width: 760px) { .strip .stats { grid-template-columns: repeat(4, 1fr); } }
.strip .stat b { font-size: clamp(24px, 2.4vw, 32px); }

/* ── terminal du hero : on montre l'agent au travail ── */
/* fond sombre volontaire : le terminal reste un écran, même en section claire */
.term {
  border: 1px solid rgba(18, 16, 12, 0.14);
  border-radius: 14px;
  background: var(--night);
  padding: 18px 20px 20px;
  font-size: 11.5px;
  line-height: 1.9;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.term::after { /* scanlines : cohérence avec les blocs sombres */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.13) 0px, rgba(0,0,0,0.13) 1px, transparent 1px, transparent 3px);
}
.term > * { position: relative; z-index: 1; }
.term .head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(236, 232, 221, 0.14);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.term .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #A7C4A0;
  box-shadow: 0 0 8px rgba(167, 196, 160, 0.7);
  flex: none;
}
.term ol { list-style: none; min-height: 190px; }
.term li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}
.term li.on { opacity: 1; transform: none; }
.term li .mark { flex: none; width: 1em; color: var(--cream-faint); }
.term li.ok .mark { color: #A7C4A0; }
.term li .txt { flex: 1; color: var(--cream-soft); overflow: hidden; text-overflow: ellipsis; }
.term li.ok .txt { color: var(--cream); }
.term li .at { flex: none; font-size: 10px; color: rgba(236, 232, 221, 0.34); }
.term .foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(236, 232, 221, 0.14);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* ── comparatif (approche classique vs Hermès) ── */
.vs { display: grid; gap: 20px; }
@media (min-width: 720px) { .vs { grid-template-columns: 1fr 1fr; gap: 26px; } }
.vs > div {
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--paper-hi);
}
.vs > div.now { background: transparent; border-style: dashed; }
.vs h3 { margin-bottom: 16px; }
.vs ul { list-style: none; }
.vs li {
  font-size: 13px;
  padding: 9px 0 9px 22px;
  position: relative;
  border-top: 1px solid var(--hair-soft);
}
.vs li:first-child { border-top: none; }
.vs .now li::before { content: '×'; position: absolute; left: 2px; color: var(--ink-faint); }
.vs .with li::before { content: '→'; position: absolute; left: 0; color: var(--ink); }

/* ── modules du catalogue ── */
.mods { display: grid; gap: 14px; }
@media (min-width: 620px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mods { grid-template-columns: repeat(4, 1fr); } }
.mod {
  border: 1px solid var(--hair);
  border-radius: 13px;
  padding: 20px 18px;
  background: var(--paper-hi);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.mod:hover { border-color: rgba(18,16,12,0.34); transform: translateY(-3px); }
.mod b {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}
.mod span { font-size: 12px; }

/* ── aperçu du rapport de cartographie ──
   Les libellés sont ceux du protocole réel, les valeurs restent vides : ce
   sont celles qu'on mesure chez le client. Rien à inventer, rien à promettre. */
.doc {
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--paper-hi);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.doc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.doc-to { margin: 18px 0 0; font-size: 13px; color: var(--ink-soft); }
.doc-to b { font-weight: 400; color: var(--ink); }
.doc-k {
  margin: 26px 0 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.doc-rows { list-style: none; margin: 0; padding: 0; }
.doc-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 18px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--hair-soft);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.doc-rows em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.doc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.doc-total b { font-weight: 400; font-size: 15px; letter-spacing: 0.04em; color: var(--ink); }
.doc-foot {
  margin: 20px 0 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 520px) {
  .doc-rows li { grid-template-columns: 1fr; }
}

/* ── entrées secondaires (site web, Google Ads) ── */
.aside-band {
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 26px 26px;
  display: grid;
  gap: 22px;
}
@media (min-width: 760px) { .aside-band { grid-template-columns: 1fr 1fr; gap: 40px; } }
.aside-band .item b {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.aside-band .item p { font-size: 12.5px; margin-bottom: 12px; }

/* ── apparitions au scroll ── */
/* l'état masqué n'est appliqué que si le JS a pu marquer <html class="js"> :
   sans JS (ou si le script échoue), la page reste entièrement lisible */
.js [data-rev] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  /* --rd permet d'échelonner une même volée d'apparitions (le hero s'en sert) */
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.js [data-rev].in { opacity: 1; transform: none; }
/* variantes directionnelles, pour que la page ne monte pas toujours pareil */
.js [data-rev="left"]  { transform: translateX(-26px); }
.js [data-rev="right"] { transform: translateX(26px); }
.js [data-rev="scale"] { transform: scale(0.965); }
.js [data-rev="left"].in, .js [data-rev="right"].in, .js [data-rev="scale"].in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret, .glow::before { animation: none; }
  [data-rev], [data-rev="left"], [data-rev="right"], [data-rev="scale"] {
    opacity: 1; transform: none; transition: none;
  }
  .btn, .offer, .link, .map .node { transition: none; }
  .btn:hover, .offer:hover { transform: none; }
  .hchat-panel { animation: none; }
}

/* ════════ DÉMONSTRATION ════════
   Scénarios rejoués pas à pas. Rien n'est branché sur de vraies données :
   c'est écrit noir sur blanc sur la page, une démo qui se fait passer pour
   du direct ferait perdre la confiance qu'elle cherche à gagner. */
.scenes { display: grid; gap: 14px; }
@media (min-width: 700px)  { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .scenes { grid-template-columns: repeat(4, 1fr); } }
.scene {
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--paper-hi);
  padding: 18px 18px 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.scene:hover { border-color: rgba(18, 16, 12, 0.34); transform: translateY(-3px); }
.scene[aria-pressed='true'] {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: none;
}
.scene .n { display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--ink-faint); }
.scene b {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 12px 0 7px;
}
.scene span.d { font-size: 12px; color: var(--ink-soft); }

.demo-run { display: grid; gap: 26px; }
@media (min-width: 940px) { .demo-run { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }
.demo-run .term ol { min-height: 232px; }
/* sur petit écran, tronquer les étapes viderait la démonstration de son
   contenu : on les laisse passer à la ligne plutôt que de couper */
@media (max-width: 620px) {
  .demo-run .term ol { min-height: 0; }
  .demo-run .term li { align-items: flex-start; }
  .demo-run .term li .txt { overflow: visible; text-overflow: clip; white-space: normal; }
}
.demo-side { border-top: 1px solid var(--hair); padding-top: 22px; }
.demo-side h3 { margin-bottom: 12px; }
.demo-res {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 13px;
  background: var(--paper-hi);
  animation: resIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.demo-res b {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
@keyframes resIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ════════ HERMÈS — AGENT D'ACCUEIL ════════ */
.hchat {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.hchat-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 22px;
  box-shadow: 0 16px 40px -20px rgba(18, 16, 12, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hchat-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hchat-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #A7C4A0;
  box-shadow: 0 0 8px rgba(167, 196, 160, 0.8);
  flex: none;
}
.hchat-panel {
  width: 348px;
  max-width: calc(100vw - 32px);
  height: min(72svh, 490px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--paper-hi);
  box-shadow: 0 30px 70px -30px rgba(18, 16, 12, 0.55);
  animation: hchatIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hchatIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.hchat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hair);
}
.hchat-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.hchat-x {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-faint);
  padding: 0 2px;
  transition: color 0.2s ease;
}
.hchat-x:hover { color: var(--ink); }
.hchat-log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hchat-row { display: flex; }
.hchat-row--user { justify-content: flex-end; }
.hchat-bubble {
  max-width: 86%;
  font-size: 12.5px;
  line-height: 1.62;
  padding: 10px 13px;
  border-radius: 13px;
  background: var(--paper-2);
  border: 1px solid var(--hair-soft);
  color: var(--ink-soft);
}
.hchat-row--user .hchat-bubble {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.hchat-row--wait .hchat-bubble { color: var(--ink-faint); }
.hchat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.hchat-chip {
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 13px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.hchat-chip:hover { border-color: var(--ink); color: var(--ink); }
.hchat-foot { border-top: 1px solid var(--hair); padding: 13px 16px 15px; }
.hchat-book { display: block; text-align: center; width: 100%; padding: 11px 16px; }
.hchat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  padding: 3px 5px 3px 13px;
  transition: border-color 0.25s ease;
}
.hchat-form:focus-within { border-color: var(--ink); }
.hchat-input {
  flex: 1;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  padding: 9px 0;
  min-width: 0;
}
.hchat-input::placeholder { color: var(--ink-faint); }
.hchat-send {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 8px;
  transition: opacity 0.2s ease;
}
.hchat-send:hover { opacity: 0.6; }
.hchat-note { margin: 10px 0 0; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }
