/* Polices servies par le site lui-même (site complet seulement) : aucun appel à Google Fonts.
   Fichiers : paquets @fontsource-variable/newsreader et @fontsource-variable/geist 5.3.0, licence SIL OFL 1.1 (voir LICENCE-*.txt).
   Les adresses sont relatives à assets/site.css. L'aperçu claude.ai garde Google Fonts (build.mjs). */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-ext-opsz-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: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-opsz-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: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-ext-opsz-italic.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: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-opsz-italic.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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/geist-latin-ext-wght-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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/geist-latin-wght-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;
}

/* ===== tokens.css ===== */
/* Jetons du site ItClicks.
   Parti pris : un ciel pastel (bleu, lilas, pêche, rose) sur un blanc froid, une encre bleu nuit,
   des titres en Newsreader et une interface en Geist. Le site ne garde qu'un thème, clair. */
:root {
  color-scheme: light;

  /* Fonds et encre */
  --paper: #fbfcff;
  --surface: #ffffff;
  --mist: #f3f6fc;
  --ink: #101b36;
  --ink-soft: #4a5673;
  --ink-faint: #5f6b87;
  --line: #dfe6f2;
  --line-strong: #c9d4e6;

  /* Les quatre tons du ciel */
  --sky: #cfe2fb;
  --sky-deep: #a9c8f6;
  --lilac: #dcd3fb;
  --peach: #ffdcc8;
  --rose: #f9cfe0;

  /* Couleur d'action : liens, barres, bulles */
  --blue: #2f5be0;
  --blue-soft: #e6edfd;

  /* Typographie */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Geist", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem);

  /* Mise en page */
  --max: 1200px;
  --gutter: 20px;
  --nav-h: 68px;
  --section: clamp(72px, 9vw, 116px);

  /* Rayons : petit pour les contrôles, moyen pour les cartes, grand pour les scènes */
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;

  /* Ombres teintées de bleu, jamais de gris neutre */
  --shadow-card: 0 1px 2px rgba(16, 27, 54, 0.04), 0 4px 12px rgba(16, 27, 54, 0.05), 0 16px 40px rgba(47, 91, 224, 0.07);
  --shadow-device: 0 2px 4px rgba(16, 27, 54, 0.05), 0 18px 48px rgba(16, 27, 54, 0.1), 0 48px 96px rgba(47, 91, 224, 0.12);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ===== base.css ===== */
/* Base : remise à zéro légère, texte, liens, utilitaires. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sur téléphone, la bande au-dessus de la barre de navigation reste de la couleur de la page. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

.page {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Colonne de contenu : la marge latérale respecte aussi les bords du téléphone. */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section {
  padding-block: var(--section);
}
/* Une section qui prolonge la précédente : pas d'espace en haut. */
.section.section--tight {
  padding-top: 0;
}

@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===== components.css ===== */
/* Composants partagés : marque, navigation, boutons, en-têtes de section, formulaire, pied de page. */

/* Marque */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mark__a {
  fill: var(--ink);
}
.mark__b {
  fill: var(--blue);
}

/* Navigation */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--nav-h);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
/* Après le premier défilement, la barre devient une pastille de verre flottante. */
.nav.is-open {
  background: rgba(251, 252, 255, 0.96);
}
.nav__row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 22px;
  transition:
    max-width 0.6s var(--ease-out),
    height 0.4s var(--ease-out),
    margin-top 0.4s var(--ease-out),
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
@media (min-width: 861px) {
  .nav.is-stuck .nav__row {
    max-width: 1020px;
    height: 56px;
    margin-top: 10px;
    padding-inline: 20px 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
    backdrop-filter: blur(22px) saturate(1.8);
    -webkit-backdrop-filter: blur(22px) saturate(1.8);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.7),
      0 0 0 1px rgba(16, 27, 54, 0.05),
      0 8px 30px rgba(84, 104, 160, 0.18);
  }
}
@media (max-width: 860px) {
  .nav.is-stuck {
    background: rgba(251, 252, 255, 0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(16, 27, 54, 0.07);
  }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--r-s);
  color: var(--ink-soft);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-here,
.nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__links a.is-here,
.nav__links a[aria-current="page"] {
  background: rgba(16, 27, 54, 0.06);
}
.nav__sep {
  width: 1px;
  height: 18px;
  margin-inline: 10px;
  background: var(--line-strong);
}
.nav__end {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-s);
  background: transparent;
  cursor: pointer;
}
.nav__bars,
.nav__bars::before {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.nav__bars {
  transform: translateY(-3px);
}
.nav__bars::before {
  content: "";
  transform: translateY(6px);
}
.nav.is-open .nav__bars {
  transform: rotate(45deg);
}
.nav.is-open .nav__bars::before {
  transform: rotate(-90deg);
}

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-left, 0px)) 20px;
    background: rgba(251, 252, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 24px rgba(16, 27, 54, 0.08);
    font-size: 1.0625rem;
  }
  .nav.is-open .nav__links {
    display: flex;
  }
  .nav__links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__links a.is-here,
  .nav__links a[aria-current="page"] {
    background: none;
  }
  .nav__sep {
    display: none;
  }
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    filter 0.2s ease,
    background-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--ink {
  color: #fff;
  background: linear-gradient(#22315a, #101b36 78%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(16, 27, 54, 0.2),
    0 6px 16px rgba(16, 27, 54, 0.16);
}
.btn--ink:hover {
  filter: brightness(1.22);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(16, 27, 54, 0.12),
    0 1px 2px rgba(16, 27, 54, 0.04);
}
.btn--ghost:hover {
  background: #fff;
}
.btn--small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

/* En-tête de section : le mot-clé (What, Why, How) puis une phrase complète. */
.lead {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.lead__key {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1;
  color: var(--blue);
}
.lead__title {
  font-size: var(--step-3);
  line-height: 1.06;
}
.lead__text {
  max-width: 58ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.lead--center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

/* Appel final et formulaire */
.cta {
  position: relative;
  padding-block: clamp(88px, 12vw, 160px) clamp(56px, 8vw, 96px);
  text-align: center;
}
.cta__inner {
  display: grid;
  justify-items: center;
  gap: 20px;
}
.cta__title {
  font-size: var(--step-4);
  line-height: 1;
}
.cta__text {
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--ink-soft);
}
.waitlist {
  width: min(100%, 640px);
  margin-top: 12px;
}
.waitlist__row {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(16, 27, 54, 0.08),
    var(--shadow-card);
  backdrop-filter: blur(12px);
}
.field {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
}
.field::placeholder {
  color: var(--ink-faint);
}
.field--select {
  flex: 0 0 auto;
  padding-right: 8px;
  color: var(--ink-soft);
  cursor: pointer;
}
.waitlist__pilot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}
.waitlist__pilot input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
.waitlist__note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.waitlist[data-state="error"] .waitlist__note {
  color: #a8324a;
}
.waitlist[data-state="done"] .waitlist__note,
.waitlist[data-state="preview"] .waitlist__note {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 620px) {
  .waitlist__row {
    flex-direction: column;
  }
  .field,
  .field--select {
    flex: none;
    width: 100%;
  }
}

/* Pied de page : sobre, sur le fond de la page. Le nom, immense, se cale contre le bord du bas. */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}
.footer__about {
  display: grid;
  gap: 16px;
  max-width: 34ch;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 72px;
  font-size: 0.9375rem;
}
.footer__cols div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__cols h3 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.footer__cols a:hover {
  color: var(--blue);
}
/* La confidentialité : trois phrases, en bas de page. */
.footer__privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 2fr);
  gap: 12px 40px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 27, 54, 0.12);
  font-size: 0.9375rem;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.footer__privacy h3 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.footer__privacy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 32px;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .footer__privacy,
  .footer__privacy ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.footer__word {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  pointer-events: none;
  user-select: none;
}
.footer__word span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 25.5vw, 25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  /* Le mot est coupé par le bord : un tiers de sa hauteur passe sous la page. */
  margin-bottom: -0.36em;
  /* Une seule couleur, qui se dissout vers le bas. */
  color: rgba(16, 27, 54, 0.22);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 55%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 55%, transparent 94%);
}

/* ---------- Corrections issues de la revue du 26 novembre ---------- */
/* Le logo ne s'écrase plus sur les très petits écrans. */
.mark {
  flex: none;
}
/* Le bouton du menu précède la liste dans le code (ordre de tabulation), mais reste affiché à droite. */
.nav__row > .nav__toggle {
  order: 3;
}
.nav__row > .nav__end {
  order: 2;
}
@media (max-width: 860px) {
  .nav__row > .brand {
    margin-right: auto;
  }
}
/* Sur l'accueil des variantes, What / Why / How appartiennent à chaque parcours : on ne les montre pas ici. */
.site-c.page-home .nav__links [data-spy],
.site-c.page-home .nav__sep {
  display: none;
}
/* Champs du formulaire : un contour lisible. */
.waitlist__row {
  box-shadow:
    inset 0 0 0 1px rgba(16, 27, 54, 0.32),
    var(--shadow-card);
}
.footer__cols a,
.footer__privacy li {
  min-height: 24px;
}

/* Où en est ItClicks : les faits qui donnent une raison de croire, juste avant le formulaire. */
.belief {
  padding-top: var(--section);
}
.belief__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
}
.belief__lead {
  display: grid;
  align-content: start;
  gap: 14px;
  color: var(--ink-soft);
}
.belief__title {
  font-size: var(--step-3);
  line-height: 1.04;
  color: var(--ink);
}
.belief__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(16px, 3vw, 32px);
}
.belief__facts li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.belief__facts strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (max-width: 860px) {
  .belief__inner,
  .belief__facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .belief__facts {
    gap: 16px;
  }
}

/* Les deux boutons de la section finale : essayer l'app, ou nous écrire. */
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}


/* ===== screens.css ===== */
/* Écrans simulés de l'app : une fenêtre d'ordinateur et un téléphone, construits en HTML.
   PROVISOIRE : quand les vraies vues existeront, remplacer le contenu de .win__main et .phone__screen
   par des images ou par les vrais composants. Les cadres (.win, .phone) peuvent rester. */

.devices {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-right: clamp(0px, 15%, 168px);
  padding-bottom: clamp(24px, 5%, 56px);
}

/* Fenêtre d'ordinateur */
.win {
  display: block;
  overflow: hidden;
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(16, 27, 54, 0.07),
    var(--shadow-device);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.win__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.win__body {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 400px;
}
.win__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: var(--mist);
}
.win__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
}
.win__brand .mark {
  width: 20px;
  height: 20px;
}
.win__menu {
  display: grid;
  gap: 2px;
  color: var(--ink-soft);
}
.win__menu li {
  padding: 7px 8px;
  border-radius: 8px;
}
.win__menu .is-on {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  font-weight: 500;
}
.win__lock {
  margin-top: auto;
  padding: 8px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}
.win__main {
  display: block;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 28px);
}

/* Contenu d'un écran */
.panel {
  display: grid;
  gap: 18px;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
}
.panel__meta {
  font-size: 0.8125rem;
  color: var(--ink-faint);
}
.panel__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip--private {
  background: var(--blue-soft);
  box-shadow: none;
  color: var(--blue);
}
.chip--live {
  background: #e4f5ec;
  box-shadow: none;
  color: #1c7a4d;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: var(--mist);
}
.metric__label {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.metric__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.metric__hint {
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.bar {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e8f5;
}
.bar > i {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #8c7df0);
  transform-origin: left center;
}

.advice {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(100deg, #fff1e8, #fce8f0 60%, #efeafd);
}
.advice__label,
.blockline__label,
.filed__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.advice--lock {
  background: var(--blue-soft);
}

.blockline {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.blockline:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.plainlist {
  display: grid;
  gap: 4px;
  padding-left: 1.2em;
  list-style: decimal;
}
.filed {
  display: grid;
  gap: 8px;
}
.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.taglist li {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #23449f;
  font-size: 0.8125rem;
}

.draft {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
}
.draft__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.draft__note {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}
.fakebtn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 500;
}
.fakebtn--ink {
  background: var(--ink);
  box-shadow: none;
  color: #fff;
}

.trends {
  display: grid;
  gap: 8px;
}
.trend {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(60px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--mist);
}
.trend__label {
  color: var(--ink-soft);
}
.trend__value {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.spark {
  width: 100%;
  height: 32px;
  overflow: visible;
}
.spark polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Onde sonore : des traits réguliers, découpés par une enveloppe. */
.wave {
  height: 44px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 3px, transparent 3px 8px);
  clip-path: polygon(
    0 46%, 6% 30%, 12% 40%, 18% 12%, 25% 34%, 32% 4%, 40% 28%, 47% 16%, 55% 38%, 62% 8%, 70% 30%, 78% 20%, 86% 40%, 93% 26%, 100% 44%,
    100% 56%, 93% 74%, 86% 60%, 78% 80%, 70% 70%, 62% 92%, 55% 62%, 47% 84%, 40% 72%, 32% 96%, 25% 66%, 18% 88%, 12% 60%, 6% 70%, 0 54%
  );
  opacity: 0.85;
}

/* Téléphone */
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: clamp(190px, 25%, 264px);
  aspect-ratio: 9 / 18.6;
  padding: 7px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: var(--shadow-device);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 1;
  width: 64px;
  height: 18px;
  border-radius: 99px;
  background: var(--ink);
  transform: translateX(-50%);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow: hidden;
  padding: 50px 12px 14px;
  border-radius: 33px;
  background: linear-gradient(180deg, #f1f6fe, #fff 45%);
}
.phone__screen > .stage__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat__who {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-align: center;
}
.bubble {
  align-self: flex-start;
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 16px 16px 16px 5px;
  background: #e9eff9;
}
.bubble--me {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: var(--blue);
  color: #fff;
}
.bubble--action {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-weight: 500;
}
.bubble--me:has(.voice) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice {
  width: 78px;
  height: 16px;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px);
  clip-path: polygon(0 40%, 14% 20%, 28% 44%, 42% 0, 56% 34%, 70% 12%, 84% 40%, 100% 26%, 100% 74%, 84% 60%, 70% 88%, 56% 66%, 42% 100%, 28% 56%, 14% 80%, 0 60%);
}
.voice__time {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.pcard {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(16, 27, 54, 0.06),
    0 6px 16px rgba(16, 27, 54, 0.06);
}
.pcard--quiet {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pcard__meta {
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.pcard__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}
.pcard .fakebtn {
  margin-top: 4px;
}
.pstats {
  display: grid;
  gap: 6px;
  width: 100%;
}
.pstats li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-soft);
}
.pstats strong {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rec {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.rec__meta,
.rec__hint {
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.rec__time {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wave--phone {
  width: 100%;
  height: 56px;
  animation: wave-breathe 1.6s ease-in-out infinite;
}
.rec__stop {
  width: 52px;
  height: 52px;
  margin-top: 8px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 0 6px rgba(229, 72, 77, 0.18);
}
@keyframes wave-breathe {
  50% {
    transform: scaleY(0.62);
  }
}

/* Sur petit écran : la fenêtre perd sa colonne de menu, le téléphone passe devant plus petit. */
@media (max-width: 760px) {
  .win__body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .win__side {
    display: none;
  }
  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .metric {
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }
  .metric .bar,
  .metric__hint {
    grid-column: 1 / -1;
  }
  .trend {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .trend .spark {
    display: none;
  }
}

/* Mention système dans la conversation : l'accord de l'autre personne est toujours visible. */
.chat__sys {
  align-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e4f5ec;
  color: #1c7a4d;
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: center;
}

/* Liste des personnes rencontrées pendant un événement */
.rows {
  display: grid;
}
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.rows li:last-child {
  border-bottom: 1px solid var(--line);
}
.rows__name {
  font-weight: 500;
}
.rows__what {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}
.rows .chip {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Fiche d'une personne */
.person {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--mist);
  font-size: 0.9375rem;
}
.person__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
}
.person__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.person__meta {
  color: var(--ink-soft);
}
.person__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 20px;
  margin: 0;
}
.person__facts dt,
.person__facts dd {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line-strong);
}
.person__facts dt {
  color: var(--ink-soft);
}

/* ---------- Le contenu d'un téléphone se met à l'échelle du téléphone ----------
   Un vrai écran de téléphone affiche de petits caractères. Tout ce qui est dans .phone__screen
   est donc exprimé par rapport à la largeur du téléphone, et non plus à la taille de la page. */
.phone {
  container-type: inline-size;
  padding: 6px;
  border-radius: 15% / 7.25%;
}
.phone::before {
  top: 2.6%;
  width: 26%;
  height: auto;
  aspect-ratio: 3.5 / 1;
}
.phone__screen {
  gap: 0.8em;
  padding: 18cqi 4.4cqi 5cqi;
  border-radius: 12.6cqi;
  /* Jamais sous 9 px : les petits téléphones doivent rester lisibles. */
  font-size: clamp(9px, 4.2cqi, 11.5px);
  line-height: 1.4;
}
.phone__screen > .stage__panel {
  gap: 0.8em;
}
.phone__screen .chat {
  gap: 0.65em;
}
.phone__screen .chat__who {
  margin-bottom: 0.3em;
  font-size: 0.92em;
}
.phone__screen .chat__sys {
  padding: 0.4em 0.9em;
  font-size: 0.85em;
}
.phone__screen .bubble {
  padding: 0.6em 0.85em;
  border-radius: 1.25em 1.25em 1.25em 0.4em;
}
.phone__screen .bubble--me {
  border-radius: 1.25em 1.25em 0.4em 1.25em;
}
.phone__screen .pcard {
  gap: 0.45em;
  padding: 1.1em;
  border-radius: 1.4em;
}
.phone__screen .pcard__meta {
  font-size: 0.9em;
}
.phone__screen .pcard__title {
  font-size: 1.55em;
}
.phone__screen .fakebtn {
  min-height: 2.7em;
  margin-top: 0.3em;
  padding: 0 1.1em;
  border-radius: 0.8em;
  font-size: 0.95em;
}
.phone__screen .pstats {
  gap: 0.45em;
}
.phone__screen .rec {
  gap: 0.8em;
}
.phone__screen .rec__meta,
.phone__screen .rec__hint {
  font-size: 0.9em;
}
.phone__screen .rec__time {
  font-size: 3.4em;
}
.phone__screen .wave--phone {
  height: 4.4em;
}
.phone__screen .rec__stop {
  width: 4em;
  height: 4em;
  margin-top: 0.6em;
  box-shadow: 0 0 0 0.45em rgba(229, 72, 77, 0.18);
}

/* Revue du 26 novembre : aucun texte de téléphone sous 9,5 px, même les légendes. */
.phone__screen {
  font-size: clamp(9.5px, 4.2cqi, 11.5px);
}
.phone__screen .chat__who,
.phone__screen .chat__sys,
.phone__screen .pcard__meta,
.phone__screen .rec__meta,
.phone__screen .rec__hint {
  font-size: 1em;
}
.phone__screen .chat__who,
.phone__screen .pcard__meta,
.phone__screen .rec__meta,
.phone__screen .rec__hint {
  color: var(--ink-soft);
}


/* ===== sections.css ===== */
/* Sections de la page d'accueil, dans l'ordre : ouverture, What, Why, How, le choix, la fin. */

/* ---------- Le ciel : dégradés pastel et grandes formes floues ---------- */
.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #d5e5fc 0%, #e4eafd 38%, #f4f1fd 66%, var(--paper) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.orb--blue {
  top: -18%;
  left: -8%;
  width: 46vw;
  height: 46vw;
  background: #b9d5fa;
}
.orb--lilac {
  top: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--lilac);
}
/* Les deux formes du déclic : elles se rapprochent derrière le titre. */
.orb--peach,
.orb--rose {
  top: clamp(120px, 20vh, 220px);
  width: clamp(180px, 24vw, 340px);
  height: clamp(180px, 24vw, 340px);
  filter: blur(46px);
  opacity: 0.85;
}
.orb--peach {
  left: 22%;
  background: var(--peach);
}
.orb--rose {
  right: 22%;
  background: var(--rose);
}
/* La lueur du déclic (à ne pas confondre avec .spark, les petites courbes des écrans). */
.clickglow {
  position: absolute;
  top: clamp(150px, 24vh, 270px);
  left: 50%;
  width: 280px;
  height: 280px;
  margin-left: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 34%, transparent 68%);
  opacity: 0;
}

/* ---------- Ouverture ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-h) - env(safe-area-inset-top, 0px));
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 9vw, 112px));
}
.hero__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}
.hero__title {
  max-width: 15ch;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__sub {
  max-width: 52ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.hero__note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.hero__stagewrap {
  margin-top: clamp(48px, 7vw, 88px);
}
/* Comme un objet qui monte du bas de l'écran : les appareils sont coupés en bas et se fondent dans la page.
   Rien n'est coupé en haut ni sur les côtés, pour que chaque couche puisse glisser librement au défilement. */
.devices--hero {
  position: relative;
  max-height: clamp(360px, 38vw, 500px);
  padding-bottom: 0;
  clip-path: inset(-600px -200px 0 -200px);
}
.devices--hero::after {
  content: "";
  position: absolute;
  right: -200px;
  bottom: 0;
  left: -200px;
  z-index: 4;
  height: 30%;
  background: linear-gradient(180deg, rgba(251, 252, 255, 0), var(--paper));
  pointer-events: none;
}
.devices--hero .win__body {
  min-height: 620px;
}
.devices--hero .phone {
  top: 0;
  bottom: auto;
  z-index: 2;
}
/* Deux cartes posées devant les appareils : la couche la plus proche de l'œil. */
.float--hero-a {
  top: 46%;
  left: -7%;
  z-index: 3;
}
.float--hero-b {
  top: -9%;
  right: 21%;
  z-index: 3;
  justify-items: start;
  width: auto;
}
@media (max-width: 1100px) {
  .float--hero-a {
    left: -2%;
  }
}

/* ---------- What : la scène interactive ---------- */
.stage {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.stage__tabs {
  display: grid;
}
.stage__tab {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.stage__tab:last-child {
  border-bottom: 1px solid var(--line);
}
.stage__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-faint);
  transition: color 0.25s ease;
}
.stage__tab:hover .stage__name,
.stage__tab.is-on .stage__name {
  color: var(--ink);
}
/* La description ne s'ouvre que pour l'onglet actif. */
.stage__desc {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  transition:
    max-height 0.45s var(--ease-out),
    opacity 0.3s ease;
}
.stage__tab.is-on .stage__desc {
  max-height: 6em;
  opacity: 1;
}
.stage__progress {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: hidden;
}
.stage__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}
.stage__tab.is-on .stage__progress i {
  transform: scaleX(1);
}
.stage.is-auto .stage__tab.is-on .stage__progress i {
  animation: stage-fill var(--stage-auto, 7000ms) linear forwards;
}
.stage.is-auto.is-paused .stage__tab.is-on .stage__progress i {
  animation-play-state: paused;
}
@keyframes stage-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.stage__now {
  display: none;
}
.stage__view {
  position: relative;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 3.5vw, 44px) clamp(16px, 2.4vw, 28px);
  border-radius: var(--r-l);
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(207, 226, 251, 0.95), transparent 70%),
    radial-gradient(55% 60% at 100% 10%, rgba(220, 211, 251, 0.9), transparent 70%),
    radial-gradient(60% 60% at 70% 100%, rgba(255, 220, 200, 0.8), transparent 70%),
    #f4f1fd;
}
.stage__view .win__body {
  min-height: 440px;
}
.stage__caption {
  margin-top: 16px;
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 960px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Les onglets deviennent une rangée que l'on fait défiler ; la description passe dessous. */
  .stage__tabs {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 6px;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 10px;
    scrollbar-width: none;
  }
  .stage__tab,
  .stage__tab:last-child {
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--line-strong);
  }
  .stage__tab.is-on {
    background: var(--ink);
    box-shadow: none;
  }
  .stage__tab.is-on .stage__name {
    color: #fff;
  }
  .stage__name {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0;
  }
  .stage__tab .stage__desc,
  .stage__progress {
    display: none;
  }
  .stage__now {
    display: block;
    min-height: 3em;
    margin-top: -8px;
    color: var(--ink-soft);
  }
  .never {
    margin-top: 0;
  }
}
@media (max-width: 760px) {
  .devices {
    padding-right: 0;
    padding-bottom: 0;
  }
  .stage__view .phone {
    display: none;
  }
  .stage__view .win__body {
    min-height: 0;
  }
  /* En ouverture sur téléphone, c'est le téléphone qui parle : la fenêtre passe derrière. */
  .devices--hero {
    display: grid;
    justify-items: center;
  }
  .devices--hero .win {
    display: none;
  }
  .devices--hero .phone {
    position: relative;
    width: min(74vw, 280px);
  }
  .devices--hero .float {
    display: none;
  }
}

/* ---------- Why : trois raisons, chacune face à l'écran qui y répond ---------- */
.reason {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  padding-block: clamp(40px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.reason:first-child {
  padding-top: 0;
  border-top: 0;
}
.reason:last-child {
  padding-bottom: 0;
}
.reason:nth-child(even) .reason__copy {
  order: 2;
}
.reason__copy {
  display: grid;
  gap: 18px;
  max-width: 31rem;
}
.reason__title {
  font-size: var(--step-3);
  line-height: 1.05;
}
.reason__pain {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-faint);
}
.reason__fix {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: var(--step-1);
  line-height: 1.45;
}
.reason__visual {
  padding: clamp(20px, 3.6vw, 48px);
  border-radius: var(--r-l);
}
.reason__visual--a {
  background:
    radial-gradient(70% 70% at 0% 0%, #cfe2fb, transparent 70%),
    radial-gradient(70% 70% at 100% 100%, #e2dafc, transparent 70%),
    #e9eefc;
}
.reason__visual--b {
  background:
    radial-gradient(70% 70% at 100% 0%, #ffdcc8, transparent 70%),
    radial-gradient(70% 70% at 0% 100%, #f9cfe0, transparent 70%),
    #fdeee9;
}
.reason__visual--c {
  background:
    radial-gradient(70% 70% at 0% 0%, #e2dafc, transparent 70%),
    radial-gradient(70% 70% at 100% 100%, #cfe2fb, transparent 70%),
    #eeeafd;
}
@media (max-width: 860px) {
  .reason {
    grid-template-columns: minmax(0, 1fr);
  }
  .reason:nth-child(even) .reason__copy {
    order: 0;
  }
}

/* ---------- How : un sommaire fixe, des scènes qui défilent ---------- */
.walk {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 96px);
}
.walk__index {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: grid;
}
.walk__index a {
  --p: 0;
  position: relative;
  padding: 12px 0;
  color: var(--ink-faint);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.4s ease;
}
.walk__index a::before,
.walk__index a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
/* Le trait de l'étape en cours se remplit avec le défilement. */
.walk__index a::after {
  background: var(--ink);
  opacity: 0;
  transform: scaleX(var(--p));
  transform-origin: left center;
  transition: opacity 0.4s ease;
}
.walk__index a:hover,
.walk__index a.is-on {
  color: var(--ink);
}
.walk__index a.is-on::after {
  opacity: 1;
}
.walk__scenes {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}
.scene {
  display: grid;
  gap: 12px;
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.scene__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(440px, 46vw, 560px);
  margin-bottom: 16px;
  padding: 40px 20px 0;
  overflow: hidden;
  border-radius: var(--r-l);
}
.scene__stage--a {
  background:
    radial-gradient(60% 70% at 15% 10%, #ffe1d2, transparent 70%),
    radial-gradient(60% 70% at 90% 90%, #f9cfe0, transparent 70%),
    #fdeee9;
}
.scene__stage--b {
  background:
    radial-gradient(60% 70% at 85% 10%, #cfe2fb, transparent 70%),
    radial-gradient(60% 70% at 10% 90%, #e2dafc, transparent 70%),
    #e9eefc;
}
.scene__stage--c {
  background:
    radial-gradient(60% 70% at 15% 10%, #e2dafc, transparent 70%),
    radial-gradient(60% 70% at 90% 90%, #ffdcc8, transparent 70%),
    #f2ecfc;
}
.scene__stage--d {
  background:
    radial-gradient(60% 70% at 85% 10%, #f9cfe0, transparent 70%),
    radial-gradient(60% 70% at 10% 90%, #cfe2fb, transparent 70%),
    #f1ebfb;
}
/* Le téléphone est posé dans le flux, coupé par le bas de la scène. */
.phone--scene {
  position: relative;
  right: auto;
  bottom: auto;
  align-self: end;
  width: clamp(220px, 24vw, 264px);
  margin-bottom: -56px;
}
.float {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: clamp(200px, 23vw, 264px);
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(16, 27, 54, 0.05),
    0 4px 12px rgba(16, 27, 54, 0.06),
    0 24px 56px rgba(47, 91, 224, 0.14);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}
.float--left {
  top: 22%;
  left: clamp(12px, 5%, 56px);
}
.float--right {
  right: clamp(12px, 5%, 56px);
  bottom: 18%;
}
.float .draft {
  padding: 0;
  background: none;
  box-shadow: none;
}
.float .rows li {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 0;
}
.float .rows li:last-child {
  border-bottom: 0;
}
.float .rows .chip {
  grid-row: auto;
}
.float__big {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.scene__title {
  max-width: 24ch;
  font-size: var(--step-2);
  line-height: 1.1;
}
.scene__text {
  max-width: 56ch;
  color: var(--ink-soft);
}
.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--blue);
  vertical-align: -0.14em;
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
@media (max-width: 960px) {
  .walk {
    grid-template-columns: minmax(0, 1fr);
  }
  .walk__index {
    display: none;
  }
}
/* Sur téléphone, les cartes ne flottent plus : elles s'alignent sous le téléphone. */
@media (max-width: 760px) {
  .scene__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 24px 16px;
  }
  .phone--scene {
    order: -1;
    width: min(64vw, 240px);
    margin-bottom: 4px;
  }
  .float {
    position: static;
    width: 100%;
    transform: none !important;
  }
}

/* ---------- What you get : cinq engagements concrets ---------- */
/* Pas de fond : un titre à gauche, cinq lignes à droite, séparées par des filets. */
.get__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
}
.get__title {
  font-size: var(--step-3);
  line-height: 1.04;
}
.get__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 6px clamp(16px, 3vw, 40px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.get__list li:first-child {
  padding-top: 0;
  border-top: 0;
}
.get__list h3 {
  font-size: 1.625rem;
  line-height: 1.12;
}
.get__list p {
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .get__panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  .get__list li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Le choix : deux portes, deux univers ---------- */
.split {
  display: flex;
  gap: 16px;
}
.door {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(480px, 46vw, 600px);
  overflow: hidden;
  border-radius: var(--r-l);
  isolation: isolate;
  transition: flex-grow 0.7s var(--ease-out);
}
.door--you {
  background:
    radial-gradient(70% 60% at 0% 0%, #ffe6d6, transparent 70%),
    radial-gradient(70% 70% at 100% 100%, #e7dcfc, transparent 70%),
    #fbdbe6;
  view-transition-name: door-you;
}
.door--team {
  background:
    radial-gradient(70% 60% at 100% 0%, #e2dafc, transparent 70%),
    radial-gradient(70% 70% at 0% 100%, #bcd7fa, transparent 70%),
    #d5e5fc;
  view-transition-name: door-team;
}
.door__copy {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 30rem;
  padding: clamp(24px, 3.4vw, 44px);
}
.door__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.door__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.door__text {
  color: var(--ink-soft);
}
.door__go {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.4s var(--ease-out);
}
.door__visual {
  position: relative;
  flex: 1;
  display: block;
  min-height: 220px;
  transition: transform 0.7s var(--ease-out);
}
.phone--door {
  top: 8px;
  right: clamp(20px, 8%, 72px);
  bottom: auto;
  width: clamp(190px, 44%, 250px);
}
.win--door {
  position: absolute;
  top: 8px;
  left: clamp(24px, 3.4vw, 44px);
  width: 640px;
  max-width: none;
}
.win--door .win__main {
  padding: 22px;
}
@media (hover: hover) and (min-width: 861px) {
  .split:hover .door {
    flex-grow: 0.86;
  }
  .split .door:hover {
    flex-grow: 1.18;
  }
  .door:hover .door__visual {
    transform: translateY(-14px);
  }
  .door:hover .door__go {
    transform: translateX(4px);
  }
}
@media (max-width: 860px) {
  .split {
    flex-direction: column;
  }
  .door {
    min-height: 460px;
  }
}

/* ---------- La fin : l'appel, puis un pied de page sobre ---------- */
.endsky {
  position: relative;
  overflow: hidden;
}

/* ---------- Où on s'en sert : trois situations, sur une grille à filets ---------- */
.where {
  padding-top: clamp(40px, 6vw, 72px);
}
.where__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.where__grid > li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 28px 28px 0;
}
.where__grid > li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.where__intro {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.where__grid h3 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue);
}
/* Une affirmation en encre, sa précision en gris : la phrase se lit en deux temps. */
.claim {
  color: var(--ink-faint);
}
.claim strong {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 860px) {
  .where__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .where__grid > li,
  .where__grid > li + li {
    padding: 20px 0;
    border-left: 0;
  }
  .where__grid > li + li {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Deux faits sous la scène : ce qu'il mesure, ce qu'il retient ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 6vw, 72px);
}
.fact {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-card);
}
.fact__title {
  font-size: var(--step-2);
  line-height: 1.1;
}
.fact__text {
  max-width: 48ch;
  color: var(--ink-soft);
}
.measures {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.measures li {
  --tone: 47, 91, 224;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--tone), 0.1), rgba(var(--tone), 0));
  box-shadow: inset 0 0 0 1px rgba(var(--tone), 0.55);
  color: rgb(var(--tone));
  font-size: 0.9375rem;
  font-weight: 500;
}
.measures li:nth-child(3n + 2) {
  --tone: 124, 92, 214;
}
.measures li:nth-child(3n) {
  --tone: 196, 84, 128;
}
@media (max-width: 860px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Coming next ---------- */
.next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.next__grid li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 28px 0 0;
}
.next__grid li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.next__grid h3 {
  font-size: var(--step-2);
  line-height: 1.1;
}
.next__grid p {
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .next__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .next__grid li,
  .next__grid li + li {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Corrections issues de la revue du 26 novembre ---------- */
/* Ouverture : le téléphone ne recouvre plus le contenu de la fenêtre, et la coupe est nette. */
.devices--hero {
  padding-right: clamp(0px, 21%, 230px);
}
.devices--hero::after {
  height: 14%;
}
.hero__caption {
  margin-top: 14px;
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-align: center;
}
/* Un seul objet dans l'ouverture d'un parcours : le téléphone pour une personne, la fenêtre pour une équipe. */
.devices--one {
  display: grid;
  justify-items: center;
  padding-right: 0;
}
.devices--one .phone {
  position: relative;
  width: clamp(240px, 26vw, 300px);
}
.devices--one .win {
  width: 100%;
  max-width: 900px;
}
/* Mesures : des teintes assez sombres pour être lues. */
.measures li:nth-child(3n + 2) {
  --tone: 98, 68, 196;
}
.measures li:nth-child(3n) {
  --tone: 168, 52, 104;
}
/* La scène : bouton pause, et sur petit écran un fondu qui montre que la rangée d'onglets défile. */
.stage__pause {
  justify-self: start;
  margin-top: 16px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.stage__pause:hover {
  color: var(--ink);
}
.stage > .stage__tabs,
.stage > .stage__now,
.stage > .stage__pause {
  grid-column: 1;
}
.stage > .stage__view {
  grid-column: 2;
  grid-row: 1 / span 3;
}
@media (max-width: 960px) {
  .stage > .stage__view {
    grid-column: 1;
    grid-row: auto;
  }
  .stage__tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
    padding-right: 64px;
  }
  .stage__now {
    margin-top: 6px;
  }
  .stage__pause {
    margin-top: 0;
  }
}
/* Les deux portes : la fenêtre se fond au lieu d'être coupée en plein mot. */
.door--team .door__visual {
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 96%);
  mask-image: linear-gradient(90deg, #000 62%, transparent 96%);
}
@media (max-width: 760px) {
  .devices--hero {
    padding-right: 0;
  }
}


/* ===== pages.css ===== */
/* Pages intérieures : « For individuals » et « For teams ».
   Même squelette que l'accueil, mais chaque page a son ciel : chaud pour une personne, bleu pour une équipe.
   Le ciel reprend la couleur de la porte cliquée sur l'accueil, pour donner l'impression d'y entrer. */

.hero__where {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(16, 27, 54, 0.08);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero--sub .hero__title {
  max-width: 16ch;
}

.sky--you {
  background: linear-gradient(180deg, #ffe6d6 0%, #fbdbe6 34%, #efe6fc 64%, var(--paper) 100%);
  view-transition-name: door-you;
}
.sky--you .orb--blue {
  background: #ffd9c4;
}
.sky--you .orb--lilac {
  background: #e7dcfc;
}
.sky--you .orb--peach {
  background: #fff0c9;
}
.sky--you .orb--rose {
  background: #cfe2fb;
}
.sky--team {
  background: linear-gradient(180deg, #bcd7fa 0%, #d5e5fc 34%, #e2dafc 64%, var(--paper) 100%);
  view-transition-name: door-team;
}
.sky--team .orb--blue {
  background: #a9c8f6;
}
.sky--team .orb--lilac {
  background: #cfc4f8;
}
.sky--team .orb--peach {
  background: #cfe2fb;
}
.sky--team .orb--rose {
  background: #f9cfe0;
}
::view-transition-old(door-you),
::view-transition-new(door-you),
::view-transition-old(door-team),
::view-transition-new(door-team) {
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cas d'usage : ce que l'on obtient, à côté de l'écran correspondant. */
.stage__view--you {
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(255, 220, 200, 0.95), transparent 70%),
    radial-gradient(55% 60% at 100% 20%, rgba(249, 207, 224, 0.9), transparent 70%),
    radial-gradient(60% 60% at 60% 100%, rgba(220, 211, 251, 0.85), transparent 70%),
    #fbeef2;
}
.stage__view--team {
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(188, 215, 250, 0.95), transparent 70%),
    radial-gradient(55% 60% at 100% 20%, rgba(220, 211, 251, 0.9), transparent 70%),
    #e4ecfd;
}
.usecase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 460px;
}
.usecase__get {
  display: grid;
  gap: 18px;
}
.usecase__label,
.never__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.usecase__get li {
  padding: 18px 0;
  border-top: 1px solid rgba(16, 27, 54, 0.12);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* Un téléphone posé dans le flux de la page, et non par-dessus une fenêtre. */
.phone--flow {
  position: relative;
  right: auto;
  bottom: auto;
  width: clamp(200px, 22vw, 250px);
}
.win--flow {
  width: 100%;
}
.devices--solo {
  padding-right: 0;
  padding-bottom: 0;
}

/* Ce qu'un manager ne voit jamais : sous les deux onglets. */
.stage__side {
  display: grid;
  align-content: start;
  min-width: 0;
}
.never {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
}
.never .never__label {
  color: #f9cfe0;
}
.never li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
}

/* Téléphone et ordinateur côte à côte */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}
.duo__item {
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px) 0;
  border-radius: var(--r-l);
}
.duo__item--phone {
  background:
    radial-gradient(80% 60% at 0% 0%, #ffe6d6, transparent 70%),
    #fbdbe6;
}
.duo__item--desk {
  background:
    radial-gradient(80% 60% at 100% 0%, #e2dafc, transparent 70%),
    #d5e5fc;
}
.duo__copy {
  display: grid;
  gap: 8px;
  max-width: 34ch;
}
.duo__copy h3 {
  font-size: var(--step-2);
  line-height: 1.1;
}
.duo__copy p {
  color: var(--ink-soft);
}
.duo__visual {
  display: flex;
  justify-content: center;
  margin-top: auto;
  /* L'appareil dépasse par le bas de la carte, qui le coupe. */
  margin-bottom: -80px;
}
.duo__item--desk .duo__visual {
  margin-bottom: -24px;
}

/* Les trois façons de l'adopter */
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.offer {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-card);
}
.offer__title {
  font-size: var(--step-2);
  line-height: 1.1;
}
.offer__who {
  color: var(--ink-soft);
}
.offer dl {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
}
.offer dt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
}
.offer dd {
  margin: 0;
}

/* Le pilote */
.pilot {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-l);
  background:
    radial-gradient(70% 80% at 0% 0%, #bcd7fa, transparent 70%),
    radial-gradient(60% 80% at 100% 100%, #e2dafc, transparent 70%),
    #d5e5fc;
}
.pilot__lead {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
}
.pilot__title {
  font-size: var(--step-3);
  line-height: 1.04;
}
.pilot__lead p {
  max-width: 40ch;
  color: var(--ink-soft);
}
.pilot__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
}
.pilot__facts li {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-top: 1px solid rgba(16, 27, 54, 0.14);
}
.pilot__facts strong {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.pilot__facts span {
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .offers,
  .duo,
  .pilot {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  .usecase {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .usecase .phone--flow {
    display: none;
  }
  .pilot__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Variante B : l'accueil se résume au choix entre les deux parcours ---------- */
.hero--choice {
  padding-bottom: clamp(48px, 7vw, 96px);
}
.hero--choice .hero__title {
  max-width: 18ch;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
}
.hero__choice {
  margin-top: clamp(36px, 5vw, 64px);
}
.hero--choice .sky {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}

/* Revue du 26 novembre : « ce qu'un manager ne voit jamais » passe en bas de page, sur un fond clair. */
.never--light {
  margin-top: 0;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-l);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}
.never--light .never__label {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.never--light ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(16px, 3vw, 32px);
}
.never--light li {
  padding: 14px 0 0;
  border-top: 1px solid var(--line-strong);
  font-size: var(--step-0);
}
@media (max-width: 760px) {
  .never--light ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}


/* ===== shots.css ===== */
/* Vrais écrans de l'app (version C) : une image dans chaque cadre.
   Les images viennent de src/images/app/ (captures de l'app en ligne avec ses données d'exemple).
   Sur ordinateur : la capture « ordinateur » dans une fenêtre, et parfois un téléphone posé devant.
   Sur téléphone : la même fenêtre prend la forme d'un téléphone et montre la capture « téléphone »,
   seule lisible à cette largeur. Le changement d'image est fait par <picture> (partials/screens/shot.html). */

/* Le fond de l'app, visible pendant le chargement de l'image. */
.win--shot,
.phone--shot {
  --app-paper: #f6f7fd;
}

/* ---------- Fenêtre ---------- */
.win__shot {
  display: block;
  background: var(--app-paper);
}
.win__shot picture,
.win__shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Téléphone ---------- */
/* La capture commence tout en haut de l'écran : pas d'encoche par-dessus. La hauteur suit l'image. */
.phone--shot {
  aspect-ratio: auto;
}
.phone--shot::before {
  display: none;
}
.phone--shot .phone__screen {
  display: block;
  height: auto;
  padding: 0;
  background: var(--app-paper);
}
.phone--shot .phone__screen > .stage__panel {
  display: block;
}
.phone--shot .phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ouverture : la fenêtre et le téléphone montent du bas et sont coupés par le fondu, comme avant. */
.devices--hero .win--shot {
  position: relative;
}
.devices--one .win--shot {
  max-width: 900px;
}

/* Une raison (« Why ») montre l'écran sur téléphone : à cette taille, une capture d'ordinateur ne se lit pas. */
.reason__visual--phone {
  display: grid;
  justify-items: center;
}
.reason__visual--phone .phone--flow {
  width: clamp(220px, 24vw, 270px);
}

/* Le téléphone d'une scène « How » : assez large pour que l'écran se lise. */
.phone--scene.phone--shot {
  width: clamp(220px, 24vw, 280px);
}

/* Une porte de l'accueil : le téléphone dépasse vers le bas, la carte le coupe. */
.phone--door.phone--shot {
  aspect-ratio: auto;
}

/* Les notes d'une conversation, telles que l'app les affiche (carte « It remembers the people »). */
.noteshot {
  overflow: hidden;
  margin-top: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #f6f7fd;
}
.noteshot img {
  display: block;
  width: min(100%, 350px);
  height: auto;
}

/* Un écran qui n'existe pas encore dans l'app (la vue d'équipe) reste un dessin, et le dit dans son cadre. */
.win__bar--preview {
  gap: 7px;
}
.win__tag {
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 760px) {
  /* La fenêtre devient un téléphone. */
  .win--shot {
    width: min(290px, 80%);
    margin-inline: auto;
    padding: 6px;
    border-radius: 42px;
    background: var(--ink);
    box-shadow: var(--shadow-device);
  }
  .win--shot .win__bar {
    display: none;
  }
  .win--shot .win__shot {
    overflow: hidden;
    border-radius: 36px;
  }
  .devices--shots {
    padding-right: 0;
    padding-bottom: 0;
  }
  .devices--one .win--shot {
    width: min(290px, 80%);
  }
}

/* « Coming next » ne compte plus que deux lignes : les événements existent déjà dans l'app. */
@media (min-width: 861px) {
  .next__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== docs.css ===== */
/* Pages de texte : confidentialité, conditions, mentions légales, traceurs, personnes citées, contact, 404.
   Même ciel, mêmes titres et mêmes jetons que le reste du site ; une colonne de lecture étroite et un sommaire. */

/* Lien d'évitement : premier arrêt du clavier, visible seulement quand il a le focus. */
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
main:focus {
  outline: none;
}

/* Sur les pages communes des variantes, What / Why / How appartiennent aux parcours : on ne les montre pas. */
.site-b.page-commune .nav__links [data-spy],
.site-b.page-commune .nav__sep,
.site-c.page-commune .nav__links [data-spy],
.site-c.page-commune .nav__sep {
  display: none;
}

/* ---------- En-tête de page ---------- */
.dochead {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-h) - env(safe-area-inset-top, 0px));
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(32px, 5vw, 56px);
}
.dochead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 70% at 4% 0%, rgba(185, 213, 250, 0.9), transparent 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(220, 211, 251, 0.85), transparent 70%),
    linear-gradient(180deg, #e1eafd 0%, #f1f0fd 60%, var(--paper) 100%);
}
.dochead__in {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin-inline: 0;
}
.dochead__kind {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1;
  color: var(--blue);
}
.dochead__title {
  font-size: var(--step-3);
  line-height: 1.04;
}
.dochead__lead {
  max-width: 60ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
/* Brouillon : dit en tête de chaque page juridique, sans détour. */
.draftnote {
  max-width: 64ch;
  margin-top: 8px;
  padding: 14px 18px;
  border: 1px solid #e9b99c;
  border-radius: var(--r-s);
  background: #fff1e8;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}
.draftnote strong {
  font-weight: 600;
}

/* ---------- Corps : sommaire à gauche, texte à droite ---------- */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-block: clamp(24px, 4vw, 48px) var(--section);
}
.doc--plain {
  grid-template-columns: minmax(0, 1fr);
}
.doc__toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 12px;
  font-size: 0.9375rem;
}
.doc__toc h2 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.doc__toc ol {
  display: grid;
  gap: 2px;
}
.doc__toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
}
.doc__toc a:hover {
  color: var(--blue);
}

/* ---------- Texte ---------- */
.prose {
  max-width: 70ch;
  min-width: 0;
}
.prose > section + section {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.prose h2 {
  scroll-margin-top: calc(var(--nav-h) + 24px);
  margin-bottom: 16px;
  font-size: var(--step-2);
  line-height: 1.12;
}
.prose h3 {
  margin: 28px 0 8px;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.prose p,
.prose ul,
.prose ol,
.prose dl {
  margin-top: 12px;
  color: var(--ink-soft);
}
.prose h2 + p,
.prose h3 + p {
  margin-top: 0;
}
.prose strong {
  font-weight: 600;
  color: var(--ink);
}
.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-left: 1.25em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li::marker {
  color: var(--ink-faint);
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-thickness: 2px;
}
/* Ce qui manque encore : visible, jamais discret. */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--peach);
  color: var(--ink);
  font-size: 0.9375em;
  font-weight: 500;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Une fiche d'identité : libellé à gauche, valeur à droite. */
.idlist {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 0 24px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.idlist dt,
.idlist dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.idlist dt {
  font-weight: 500;
  color: var(--ink);
}

/* Tableaux : sur téléphone, chaque ligne devient une fiche, sans défilement de côté. */
.doctable {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.doctable caption {
  padding-bottom: 8px;
  font-size: 0.875rem;
  color: var(--ink-faint);
  text-align: left;
}
.doctable th,
.doctable td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doctable thead th {
  border-bottom-color: var(--line-strong);
  font-weight: 500;
  color: var(--ink-faint);
}
.doctable tbody th {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Contact : quelques portes d'entrée ---------- */
.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}
.way {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink-soft);
}
.way h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--ink);
}
.way a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Page introuvable ---------- */
.lost {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-h) - env(safe-area-inset-top, 0px));
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 9vw, 112px));
  padding-bottom: var(--section);
}
.lost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 12% 0%, rgba(185, 213, 250, 0.9), transparent 70%),
    radial-gradient(36% 56% at 92% 4%, rgba(220, 211, 251, 0.85), transparent 70%),
    radial-gradient(24% 30% at 42% 34%, rgba(255, 220, 200, 0.7), transparent 70%),
    radial-gradient(24% 30% at 60% 36%, rgba(249, 207, 224, 0.7), transparent 70%),
    linear-gradient(180deg, #e1eafd 0%, #f1f0fd 60%, var(--paper) 100%);
}
.lost__in {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}
.lost__code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1;
  color: var(--blue);
}
.lost__title {
  max-width: 16ch;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.lost__text {
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--ink-soft);
}
.lost__next {
  width: min(100%, 720px);
  margin-top: clamp(24px, 4vw, 48px);
  text-align: left;
}
.lost__next h2 {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.lost__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
}
.lost__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}
.lost__links a::after {
  content: "→";
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink-faint);
  transition: transform 0.2s var(--ease-out);
}
.lost__links a:hover {
  color: var(--blue);
}
.lost__links a:hover::after {
  transform: translateX(4px);
}

/* Pied de page : la colonne des pages juridiques, et le lien vers la politique complète. */
.footer__privacy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer__privacy a:hover {
  color: var(--blue);
}
.footer__more {
  grid-column: 2;
}

/* Le titre de la grille « Where you use it » est un vrai titre, sans changer d'allure. */
.where__intro h2 {
  font: inherit;
  letter-spacing: inherit;
}

@media (max-width: 960px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .doc__toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    background: var(--surface);
  }
  .doc__toc a {
    padding: 7px 0;
  }
}
@media (max-width: 760px) {
  .footer__more {
    grid-column: 1;
  }
  .ways,
  .lost__links {
    grid-template-columns: minmax(0, 1fr);
  }
  .idlist {
    grid-template-columns: minmax(0, 1fr);
  }
  .idlist dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .idlist dd {
    padding-top: 4px;
  }
  .doctable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .doctable,
  .doctable tbody,
  .doctable tr,
  .doctable th,
  .doctable td {
    display: block;
  }
  .doctable tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .doctable th,
  .doctable td {
    padding: 2px 0;
    border: 0;
  }
  .doctable td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 500;
    color: var(--ink);
  }
}
