/* twinsai.fr — site vitrine TwinsAI by coreshift.
   Charte : papier, encre, orange économisé (1-2 touches par écran hors logo), pêche pour la mise en avant.
   Helvetica (titres, corps) · JetBrains Mono (étiquettes) · Lora italique (accents). Pas de dégradé, pas d'emoji. */

@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/lora-latin-500-italic.woff2") format("woff2"); }

:root {
  --ink: #16120E;
  --ink-2: #211B16;
  --ink-3: #2C251F;
  --paper: #F5F1EA;
  --white: #FFFFFF;
  --cream: #FAF6F1;
  --peach: #F8E8DC;
  --peach-brand: #F2D6BD;
  --vellum: #F4F0EA;
  --hairline: #E4DDD3;
  --hairline-strong: #D6CDC1;
  --graphite: #4F4A41;
  --muted: #6F685D;
  --stone: #8A8378;
  --em: #8C8277;
  --link: #D3C9AE;
  --orange: #D55A1F;
  --orange-dark: #E99149;
  --on-dark: #F5F1EA;
  --on-dark-2: rgba(245, 241, 234, 0.66);
  --on-dark-3: rgba(245, 241, 234, 0.42);
  --on-dark-line: rgba(245, 241, 234, 0.13);

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Lora", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--peach-brand); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.small { font-size: 12px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: var(--white); text-decoration: none;
  transition: top 200ms var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------------------------------------
   Boutons et liens
   --------------------------------------------------------------------------------------------- */
.btn {
  --disc-bg: var(--paper); --disc-fg: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 24px 0 7px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform 400ms var(--ease), background-color 300ms var(--ease);
}
.btn .disc {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--disc-bg); color: var(--disc-fg);
  transition: transform 500ms var(--ease);
}
.btn .disc svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 500ms var(--ease); }
.btn:hover .disc { transform: scale(1.08); }
.btn:hover .disc svg { animation: arrow-out 600ms var(--ease); }
.btn:active { transform: scale(0.98); }
@keyframes arrow-out {
  0% { transform: translate(0, 0); }
  45% { transform: translate(14px, -14px); opacity: 0; }
  46% { transform: translate(-14px, 14px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-contrast { background: var(--paper); color: var(--ink); --disc-bg: var(--ink); --disc-fg: var(--paper); }
.btn-contrast:hover { background: var(--white); }
.btn-compact { height: 46px; padding: 0 20px 0 6px; gap: 12px; font-size: 14.5px; }
.btn-compact .disc { width: 34px; height: 34px; }
.btn-compact .disc svg { width: 13px; height: 13px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 500ms var(--ease);
}
.text-link:hover { background-size: 100% 1px; }
.text-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------------------------------------
   En-tête
   --------------------------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: var(--ink);
  transition: color 300ms var(--ease);
}
.header::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transition: opacity 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.header.is-scrolled::before { opacity: 1; }
.header[data-tone="dark"] { color: var(--on-dark); }
.header[data-tone="dark"]::before { background: var(--ink); border-color: var(--on-dark-line); }
.header[data-tone="paper"]::before { background: var(--paper); }
.header-in {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { position: relative; display: block; width: 124px; height: 35px; flex: none; }
.brand img { position: absolute; inset: 0; width: 124px; height: 35px; transition: opacity 300ms var(--ease); }
.brand .brand-light { opacity: 0; }
.header[data-tone="dark"] .brand .brand-dark { opacity: 0; }
.header[data-tone="dark"] .brand .brand-light { opacity: 1; }

.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a {
  position: relative;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; opacity: 0.78;
  transition: opacity 200ms var(--ease);
}
.nav a span { margin-left: 3px; font-family: var(--mono); font-size: 9.5px; vertical-align: super; opacity: 0.6; }
.nav a:hover, .nav a[aria-current="true"] { opacity: 1; }
.nav a[aria-current="true"]::after { content: ''; position: absolute; left: 0; right: 14px; bottom: -6px; height: 1px; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.login { font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: 0.78; transition: opacity 200ms var(--ease); }
.login:hover { opacity: 1; }
.header .btn-contrast { --disc-bg: var(--ink); --disc-fg: var(--paper); background: var(--ink); color: var(--white); }
.header[data-tone="dark"] .btn-contrast { background: var(--paper); color: var(--ink); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 400ms var(--ease), top 400ms var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  gap: 28px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--on-dark);
  animation: sheet-in 420ms var(--ease) backwards;
}
.menu-sheet[hidden] { display: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--on-dark-line);
  font-size: clamp(24px, 4.2vh, 30px); font-weight: 700; letter-spacing: -0.035em; text-decoration: none;
}
.menu-sheet nav a span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--on-dark-3); }
.menu-sheet-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.menu-sheet .login { opacity: 0.7; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; gap: 14px; }
  .menu-toggle { display: block; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header-actions .login, .header-actions .btn { display: none; }
}

/* ---------------------------------------------------------------------------------------------
   Titres de section
   --------------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(96px, 13vw, 176px) 0; }
.section-label {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px; margin-bottom: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--hairline-strong);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
}
.section-label.on-dark { border-color: var(--on-dark-line); color: var(--on-dark-3); }
.display {
  font-size: clamp(40px, 6.1vw, 92px);
  font-weight: 700; letter-spacing: -0.048em; line-height: 0.98;
  text-wrap: balance;
}
.display em { display: block; color: var(--em); font-weight: 400; letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--graphite); max-width: 34em; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); margin-bottom: 18px; }
.fineprint { margin-top: 20px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 1100ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------------------------
   Parcours 3D
   --------------------------------------------------------------------------------------------- */
.journey { position: relative; height: 640vh; background: var(--ink); color: var(--on-dark); }
.journey-anchor { position: absolute; left: 0; top: 17.5%; width: 1px; height: 1px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1200ms var(--ease); }
.scene.is-live { opacity: 1; }
.scene-fallback { position: absolute; inset: 0; display: none; }
.no-webgl .scene { display: none; }
.no-webgl .scene-fallback {
  display: block;
  background: url("../img/scene.jpg") 72% 45% / auto 78% no-repeat;
  opacity: 0.9;
}

.chapter {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(96px, 15vh, 168px);
  width: min(470px, 36vw);
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 28px, 0);
  will-change: opacity, transform;
}
.chapter.is-on { visibility: visible; }
.chapter h2 {
  font-size: clamp(38px, 4.6vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98;
  margin: 18px 0 22px;
}
.chapter h2 em, .chapter h1 em { display: block; color: var(--peach-brand); font-weight: 400; letter-spacing: -0.03em; }
.chapter .lead { color: var(--on-dark-2); font-size: 17.5px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.eyebrow .dash { width: 28px; height: 1px; background: currentColor; flex: none; }
.chapter-hero { width: min(760px, 58vw); bottom: clamp(88px, 13vh, 150px); }
.chapter-hero h1 {
  font-size: clamp(50px, 7.6vw, 124px); font-weight: 700; letter-spacing: -0.052em; line-height: 0.94;
  margin: 22px 0 28px;
}
.chapter-hero .lead { max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }

.stage-card {
  position: absolute; z-index: 2;
  left: 62%; top: 58%;
  width: min(340px, 24vw);
  padding: 18px 20px 16px;
  border-radius: 18px;
  background: var(--ink-2);
  border: 1px solid var(--on-dark-line);
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 28px, 0);
}
.stage-card.is-on { visibility: visible; }
.card-top, .card-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3);
}
.card-top { padding-bottom: 12px; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark-2); }
.card-bottom { padding-top: 12px; margin-top: 14px; border-top: 1px solid var(--on-dark-line); }
.card-q { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--on-dark); }
.card-a { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.card-a .ref, .chat-window .ref {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 16px; padding: 0 4px; margin-left: 2px;
  position: relative; top: -0.45em;
  border-radius: 5px;
  font-family: var(--mono); font-size: 10px; line-height: 1;
}
.card-a .ref { background: rgba(245, 241, 234, 0.1); color: var(--on-dark); }
.gap-card { width: min(290px, 22vw); }
.gap-card .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-dark); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

.tag {
  position: absolute; left: 0; top: 0; z-index: 1;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-3); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 600ms var(--ease);
}
.tag::before { content: ''; display: block; width: 1px; height: 18px; margin: 0 auto 8px; background: currentColor; opacity: 0.6; }
.tag.is-on { opacity: 1; }

.stage-foot {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-line { position: relative; width: 1px; height: 28px; background: var(--on-dark-line); overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--on-dark); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.stage-index { display: inline-flex; align-items: center; gap: 12px; }
.stage-index b { font-weight: 400; color: var(--on-dark); }
.stage-index-bar { position: relative; width: 88px; height: 1px; background: var(--on-dark-line); }
.stage-index-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--on-dark); }

@media (max-width: 700px), (max-aspect-ratio: 9/10) {
  .journey { height: 560vh; }
  .chapter, .chapter-hero { left: var(--gutter); right: var(--gutter); width: auto; bottom: 74px; }
  .chapter h2 { font-size: clamp(34px, 9vw, 52px); margin: 14px 0 14px; }
  .chapter .lead { font-size: 16px; }
  .chapter-hero h1 { font-size: clamp(44px, 12.4vw, 76px); margin: 16px 0 18px; }
  .chapter-hero .lead { font-size: 16px; }
  .actions { margin-top: 24px; gap: 14px 22px; }
  .stage-card { display: none; }
  .stage-foot .origin { display: none; }
  .stage-foot { bottom: 22px; right: 72px; }
  .hide-sm { display: none; }
}
@media (max-width: 420px) {
  .chapter-hero .lead { display: none; }
}
/* Paysage peu haut (petit portable, tablette, téléphone couché) : textes resserrés. */
@media (max-height: 640px) and (min-aspect-ratio: 9/10) and (min-width: 701px) {
  .chapter, .chapter-hero { bottom: 64px; }
  .chapter-hero h1 { font-size: clamp(38px, 10vh, 64px); margin: 14px 0 16px; }
  .chapter h2 { font-size: clamp(30px, 8vh, 50px); margin: 12px 0 14px; }
  .chapter .lead { font-size: 15.5px; }
  .actions { margin-top: 20px; }
  .stage-card { display: none; }
}
@media (max-height: 460px) and (min-aspect-ratio: 9/10) {
  .chapter-hero .lead, .chapter .lead { display: none; }
  .stage-foot { display: none; }
}

/* ---------------------------------------------------------------------------------------------
   Chiffres
   --------------------------------------------------------------------------------------------- */
.stats { background: var(--ink); color: var(--on-dark); padding: 12px 0 clamp(64px, 8vw, 104px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 0 0; border-top: 1px solid var(--on-dark-line); }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--on-dark-line); }
.stat strong { font-size: clamp(38px, 4.2vw, 60px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-3); max-width: 18em; }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 26px; }
}

/* ---------------------------------------------------------------------------------------------
   Constat (mise au point)
   --------------------------------------------------------------------------------------------- */
.manifesto { background: var(--white); }
.focus { position: relative; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px); margin: 0 calc(-1 * clamp(20px, 3vw, 48px)); }
.focus-copy { font-size: clamp(46px, 8.6vw, 142px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; }
.focus-line { display: block; }
.focus-copy em { color: var(--em); font-weight: 400; letter-spacing: -0.04em; }
[data-focus] { display: inline-block; transition: filter 200ms linear, opacity 200ms linear; }
.focus-frame i { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; opacity: 0.8; }
.focus-frame i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.focus-frame i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.focus-frame i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.focus-frame i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.manifesto-foot { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 32px; align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.manifesto-foot p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--graphite); }
.focus-readout { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.focus-readout b { font-weight: 500; color: var(--ink); }
@media (max-width: 720px) { .manifesto-foot { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------------------------
   Situations
   --------------------------------------------------------------------------------------------- */
.uses { background: var(--paper); }
.tabs { display: flex; gap: 8px; margin: clamp(40px, 5vw, 64px) 0 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.tab span { font-family: var(--mono); font-size: 10.5px; color: var(--stone); transition: color 300ms var(--ease); }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tab[aria-selected="true"] span { color: var(--on-dark-3); }
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 28px;
  background: var(--white);
  animation: panel-in 700ms var(--ease) backwards;
}
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.panel:focus-visible { outline-offset: 4px; }
.mono-art { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--cream); overflow: hidden; }
.mono-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.glyph { font-family: var(--sans); font-weight: 700; font-size: 230px; letter-spacing: -0.06em; text-anchor: middle; fill: var(--ink); }
.glyph.echo { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 1.4 6; stroke-linecap: round; animation: echo-draw 3.2s var(--ease) both; }
@keyframes echo-draw { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.mono-art-foot {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite);
}
.panel-copy { padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.panel-copy h3 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.042em; line-height: 1.02; margin-bottom: 20px; }
.panel-copy h3 em { display: block; color: var(--em); font-weight: 400; }
.panel-copy p:not(.kicker) { color: var(--graphite); margin-bottom: 30px; max-width: 30em; }
@media (max-width: 820px) {
  .panel { grid-template-columns: 1fr; }
  .mono-art-foot { font-size: 9px; }
}

/* ---------------------------------------------------------------------------------------------
   Application (esprit Verso)
   --------------------------------------------------------------------------------------------- */
.product { background: var(--white); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.windows { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.window {
  position: relative;
  padding: 16px;
  border-radius: 26px;
  background: var(--cream);
  --d: 120ms;
}
.window + .window { --d: 260ms; }
.window-label {
  display: flex; justify-content: space-between;
  padding: 4px 6px 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone);
}
.win-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--white); }
.win-head .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.win-head b { font-size: 16px; letter-spacing: -0.02em; }
.win-head .grow span { font-size: 13px; color: var(--muted); }
.win-head .tw-mark { width: 26px; height: 26px; flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--vellum); color: var(--graphite);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.pill.is-soft { background: var(--peach); color: var(--ink); }
.pill.is-wait { background: var(--peach); color: var(--ink); margin-top: 10px; align-self: flex-start; }
.pill.is-wait::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.tw-mark { overflow: visible; }
.tw-mark .edge { stroke: var(--link); stroke-width: 3; stroke-linecap: round; fill: none; }
.tw-mark .dot { fill: var(--ink); }
.tw-mark .dot-accent { fill: var(--orange); }
.tw-mark.is-thinking { animation: tw-quarter 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite; transform-origin: 50% 50%; }
.tw-mark.is-thinking .dot, .tw-mark.is-thinking .dot-accent { animation: tw-beat 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tw-mark.is-thinking .d1 { animation-delay: 0.15s; }
.tw-mark.is-thinking .d2 { animation-delay: 0.3s; }
.tw-mark.is-thinking .d3 { animation-delay: 0.45s; }
.tw-mark.is-thinking .edge { animation: tw-breathe 2.4s ease-in-out infinite; }
@keyframes tw-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes tw-beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.4); } }
@keyframes tw-quarter { 0%, 18% { transform: rotate(0deg); } 25%, 43% { transform: rotate(90deg); } 50%, 68% { transform: rotate(180deg); } 75%, 93% { transform: rotate(270deg); } 100% { transform: rotate(360deg); } }

.chat-window { display: flex; flex-direction: column; min-height: 470px; padding: 26px 10px 8px; }
.chat-window [data-step] { display: none; }
.chat-window [data-step].is-shown { display: flex; animation: msg-in 520ms var(--ease) backwards; }
.chat-demo:not(.is-armed) [data-step] { display: flex; }
.chat-demo:not(.is-armed) .thinking { display: none; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.msg { flex-direction: column; margin-bottom: 26px; }
.msg.is-user { align-items: flex-end; }
.msg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite);
}
.msg-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.msg.is-user .msg-eyebrow { flex-direction: row-reverse; }
.msg-eyebrow b { font-weight: 500; color: var(--ink); }
.msg-body { font-size: 15.5px; line-height: 1.65; max-width: 100%; }
.msg.is-user .msg-body { max-width: min(440px, 92%); padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--white); border: 1px solid var(--hairline); }
.msg.is-muted .msg-body { color: var(--muted); }
.chat-window .ref { background: rgba(22, 18, 14, 0.07); color: var(--ink); cursor: pointer; border: 0; transition: background-color 200ms var(--ease); }
.chat-window .ref:hover, .chat-window .ref.is-hot { background: var(--peach-brand); }
.sources { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.source { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--white); font-size: 13.5px; transition: background-color 300ms var(--ease); }
.source.is-hot { background: var(--peach); }
.source .n { font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.source .t { font-weight: 600; min-width: 0; }
.source .k { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.thinking { align-items: center; gap: 11px; padding: 2px 2px 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.thinking .tw-mark { width: 22px; height: 22px; }
.thinking span { animation: tw-breathe 1.8s ease-in-out infinite; }
.composer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px; padding: 8px 8px 8px 16px;
  border-radius: 16px; background: var(--white); border: 1px solid var(--hairline-strong);
  font-size: 15px; color: var(--stone);
}
.composer .send { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.composer svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.unit {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 12px; padding: 18px;
  border-radius: 18px; background: var(--white);
  transition: background-color 500ms var(--ease), box-shadow 500ms var(--ease);
}
.unit.is-hot { background: var(--peach); }
.unit-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.unit-head .mono { color: var(--stone); letter-spacing: 0.04em; }
.unit-title { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; }
.unit-content { font-size: 15px; line-height: 1.6; }
.quote { padding: 12px 14px; border-radius: 12px; background: var(--vellum); font-size: 14px; line-height: 1.55; color: var(--muted); }
.unit.is-hot .quote { background: rgba(255, 255, 255, 0.6); }
.quote .who { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.flag { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--graphite); }
.flag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }
.unit-actions { display: flex; gap: 8px; margin-top: 4px; }
.fake-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--hairline-strong); font-size: 14px; font-weight: 500; }
.fake-btn.is-ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fake-btn.is-ghost { border-color: transparent; color: var(--muted); }
.maturity { margin-top: 12px; padding: 16px 18px; border-radius: 18px; background: var(--white); }
.maturity-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.maturity-top .mono { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.maturity-bar { position: relative; height: 6px; margin: 12px 0 10px; border-radius: 999px; background: var(--vellum); overflow: hidden; }
.maturity-bar i { position: absolute; inset: 0 auto 0 0; width: 64%; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1400ms var(--ease) 300ms; }
.review-demo.is-in .maturity-bar i { transform: scaleX(1); }
.maturity-steps { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.maturity-steps span:nth-child(3) { color: var(--ink); }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.product-foot p { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.replay { font-size: 14px; }
@media (max-width: 980px) {
  .split-head, .windows { grid-template-columns: 1fr; }
  .chat-window { min-height: 0; }
}
@media (max-width: 560px) {
  .window { padding: 10px; border-radius: 22px; }
  .chat-window { padding: 20px 4px 4px; }
  .product-foot { flex-direction: column; align-items: flex-start; }
  .source .k { display: none; }
}

/* ---------------------------------------------------------------------------------------------
   Parcours (méthode)
   --------------------------------------------------------------------------------------------- */
.method { background: var(--paper); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.method-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.method-aside .lead { margin-top: 28px; }
.gauge { margin-top: 44px; padding: 20px 22px; border-radius: 20px; background: var(--white); max-width: 440px; }
.gauge-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gauge-top .mono { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.gauge-level { font-size: 15px; letter-spacing: -0.01em; }
.gauge-bar { position: relative; height: 6px; margin: 16px 0 12px; border-radius: 999px; background: var(--vellum); }
.gauge-bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--m, 0)); transition: transform 900ms var(--ease); }
.gauge-bar .tick { position: absolute; top: -4px; width: 1px; height: 14px; background: var(--hairline-strong); }
.gauge-bar .t30 { left: 30%; } .gauge-bar .t60 { left: 60%; } .gauge-bar .t85 { left: 85%; }
.gauge-pct { font-size: 12px; color: var(--stone); }
.gauge-pct b { font-weight: 500; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; font-family: var(--sans); }
.steps { position: relative; display: flex; flex-direction: column; }
.steps::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--hairline-strong); }
.steps::after { content: ''; position: absolute; left: 21px; top: 10px; width: 1px; height: calc((100% - 20px) * var(--line, 0)); background: var(--ink); }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding: 0 0 clamp(48px, 7vh, 88px); opacity: 0.38; transition: opacity 600ms var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.is-active, .step.is-done { opacity: 1; }
.step-n {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--hairline-strong);
  font-family: var(--mono); font-size: 12px;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease);
}
.step.is-active .step-n, .step.is-done .step-n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin: 6px 0 12px; }
.step p { color: var(--graphite); max-width: 32em; }
.loop {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: center;
  margin-top: clamp(80px, 11vw, 150px); padding: clamp(28px, 4vw, 56px);
  border-radius: 30px; background: var(--white);
}
.loop-copy h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-bottom: 20px; }
.loop-copy h3 em { color: var(--em); font-weight: 400; }
.loop-copy p:not(.kicker) { color: var(--graphite); max-width: 28em; }
.loop-art { width: 100%; height: auto; overflow: visible; }
.loop-track { fill: none; stroke: var(--hairline-strong); stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; }
.loop-runner { fill: var(--ink); }
.loop-node circle { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.loop-node text { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-anchor: middle; fill: var(--graphite); }
.loop-node.is-gap circle { stroke: var(--orange); }
.loop-node.is-lit circle { fill: var(--ink); }
.loop-node.is-gap.is-lit circle { fill: var(--orange); }
@media (max-width: 900px) {
  .method-grid, .loop { grid-template-columns: 1fr; }
  .method-aside { position: static; }
  .gauge { position: sticky; top: calc(var(--header-h) + 10px); z-index: 2; box-shadow: 0 10px 30px rgba(22, 18, 14, 0.06); }
}

/* ---------------------------------------------------------------------------------------------
   Garanties
   --------------------------------------------------------------------------------------------- */
.rules { background: var(--white); }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--hairline); }
.rule { padding: 30px 32px 44px 0; border-bottom: 1px solid var(--hairline); }
.rule:nth-child(3n + 2), .rule:nth-child(3n + 3) { padding-left: 32px; border-left: 1px solid var(--hairline); }
.rule:nth-child(3n + 2) { --d: 90ms; }
.rule:nth-child(3n + 3) { --d: 180ms; }
.rule .mono { font-size: 11px; color: var(--stone); letter-spacing: 0.08em; }
.rule h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 40px 0 12px; }
.rule p { color: var(--graphite); font-size: 16px; }
@media (max-width: 900px) {
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .rule, .rule:nth-child(3n + 2), .rule:nth-child(3n + 3) { padding: 26px 24px 34px 0; border-left: 0; }
  .rule:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--hairline); }
  .rule h3 { margin-top: 26px; }
}
@media (max-width: 560px) {
  .rules-grid { grid-template-columns: 1fr; }
  .rule:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------------------------------------------------------------------------------------------
   Offre
   --------------------------------------------------------------------------------------------- */
.offer { background: var(--paper); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.offer-card { display: flex; flex-direction: column; padding: 26px 26px 28px; border-radius: 26px; background: var(--white); }
.offer-card.is-featured { background: var(--peach); }
.offer-card:nth-child(2) { --d: 100ms; }
.offer-card:nth-child(3) { --d: 200ms; }
.offer-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.offer-card.is-featured .offer-top { border-color: rgba(22, 18, 14, 0.12); }
.offer-card h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.04em; margin: 36px 0 8px; }
.tagline { display: flex; flex-direction: column; gap: 8px; font-size: clamp(32px, 2.8vw, 42px); font-family: var(--serif); font-style: italic; letter-spacing: -0.02em; line-height: 1.05; color: var(--em); }
.tagline small { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.offer-card ul { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer-card li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--graphite); }
.offer-card li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--ink); }
.offer-card .btn { align-self: flex-start; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------------------------
   Questions
   --------------------------------------------------------------------------------------------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-line { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; color: var(--graphite); }
.copy-mail { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-mail a { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline-strong); }
.copy-mail a:hover { border-color: var(--ink); }
.copy { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--vellum); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); transition: background-color 200ms var(--ease); }
.copy:hover { background: var(--peach); }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--hairline-strong); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 500ms var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item summary:hover i { border-color: var(--ink); }
.faq-item[open] summary i { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 60px 28px 0; color: var(--graphite); animation: faq-in 500ms var(--ease) backwards; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-a { padding-right: 0; }
}

/* ---------------------------------------------------------------------------------------------
   Clôture et pied de page
   --------------------------------------------------------------------------------------------- */
.closing { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(96px, 12vw, 160px) 0 0; }
.closing-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.closing .display { font-size: clamp(46px, 7.4vw, 120px); max-width: 12ch; }
.nowrap { white-space: nowrap; }
.closing .display em { color: var(--peach-brand); display: inline; }
.closing .actions { margin-top: 0; }
.closing .text-link { color: var(--on-dark); }
.closing-word {
  margin: clamp(56px, 8vw, 110px) 0 -0.24em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 12.6vw, 250px); letter-spacing: -0.05em; line-height: 1;
  color: rgba(245, 241, 234, 0.06);
  white-space: nowrap;
  user-select: none;
}
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--on-dark-line); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .mono { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 8px; }
.footer-cols a { font-size: 15px; text-decoration: none; color: var(--on-dark-2); transition: color 200ms var(--ease); width: fit-content; }
.footer-cols a:hover { color: var(--on-dark); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.5; color: var(--on-dark-3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 88px); padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); }
.footer-bottom a { text-decoration: none; color: var(--on-dark-2); }
.footer-bottom a:hover { color: var(--on-dark); }
@media (max-width: 820px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------------------------------
   Éléments flottants
   --------------------------------------------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 41; height: 2px; pointer-events: none; }
.progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--orange); }
.motion-toggle {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 39;
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px 0 10px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline-strong);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.86; transition: opacity 200ms var(--ease);
}
.motion-toggle:hover { opacity: 1; }
.motion-icon { position: relative; width: 10px; height: 10px; }
.motion-icon::before, .motion-icon::after { content: ''; position: absolute; top: 0; width: 3px; height: 10px; background: currentColor; border-radius: 1px; }
.motion-icon::before { left: 1px; } .motion-icon::after { right: 1px; }
.motion-toggle[aria-pressed="true"] .motion-icon::before { left: 2px; width: 0; height: 0; background: none; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-radius: 0; }
.motion-toggle[aria-pressed="true"] .motion-icon::after { display: none; }
@media (max-width: 720px) { .motion-toggle .motion-label { display: none; } .motion-toggle { padding: 0 11px; } }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  padding: 11px 16px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity 300ms var(--ease), transform 400ms var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------------------------------
   Pages secondaires (mentions légales, 404)
   --------------------------------------------------------------------------------------------- */
.page-plain { background: var(--white); }
.plain-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 5vw, 64px); background: var(--paper); }
.plain-head .display { font-size: clamp(42px, 6vw, 84px); }
.plain-head .lead { margin-top: 24px; }
.legal { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: flex; flex-direction: column; gap: 10px; }
.legal-toc a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
.legal section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--hairline); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 18px; }
.legal h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--graphite); }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }
.legal dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 24px; margin: 6px 0 0; }
.legal dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); padding-top: 4px; }
.legal dd { margin: 0; color: var(--ink); }
.legal .todo { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.legal .todo::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hairline-strong); }
@media (max-width: 820px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
.notfound { min-height: 100svh; display: grid; place-items: center; background: var(--ink); color: var(--on-dark); text-align: center; padding: 120px var(--gutter) 80px; }
.notfound .display em { color: var(--peach-brand); }
.notfound p { margin: 28px auto 36px; color: var(--on-dark-2); max-width: 28em; }
.notfound-mark { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.notfound-mark img { width: 44px; height: 44px; }
.notfound-mark img + img { transform: scaleX(-1); opacity: 0.28; }

/* ---------------------------------------------------------------------------------------------
   Mouvement réduit
   --------------------------------------------------------------------------------------------- */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation-duration: 1ms !important; animation-iteration-count: 1 !important;
  transition-duration: 1ms !important; transition-delay: 0ms !important;
}
.reduce-motion .reveal { opacity: 1; transform: none; }
.reduce-motion [data-focus] { filter: none !important; opacity: 1 !important; }
