/* Reforge — un seul univers : le thème clair de l'app, avec des nuances bleues qui dérivent dans le fond.
   Les écrans montrés sont de vraies captures de l'app. */
:root {
  --bg: #F4F5F8;             /* fond acier clair de l'app */
  --ink: #0F141A;
  --ink-2: #3E4752;
  --muted: #5B6571;
  --ice: #1E40AF;            /* accent de marque sur clair : cobalt du logo (détails, soleil, étape active, focus) */
  --cta: #1E40AF;            /* un seul style de bouton plein (cobalt, texte blanc : 8,6:1) */
  --on-cta: #FFFFFF;
  --danger: #C8414F;
  --surface: rgba(255, 255, 255, .72);
  --surface-2: #E7ECF7;
  --border: #DCE1E8;
  --line: #E1E5EA;

  /* Espacements : base 8. Une seule marge entre sections. */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 120px;
  --section: var(--s6);
  --r-card: 24px;
  --gutter: 20px;
  --header-h: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 960px) { :root { --section: var(--s7); } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 32px);
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
b, strong { font-weight: 500; }

a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  padding: 10px 14px; background: var(--cta); color: var(--on-cta); border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* Micro-label : la signature de l'app. */
.micro-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); animation: live 2.4s ease-out infinite; }

/* ---------- En-tête ---------- */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Fond : nuances bleues qui dérivent lentement (CSS) et suivent le défilement (main.js) ---------- */
.wash { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.wash i { position: absolute; display: block; width: 80vmax; height: 80vmax; will-change: transform; }
.wash i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.wash .w1 { top: -30vmax; right: -25vmax; }
.wash .w2 { top: 30vh; left: -35vmax; }
.wash .w3 { bottom: -40vmax; right: -10vmax; }
.wash .w1::before { background: radial-gradient(closest-side, rgba(90, 162, 246, .24), rgba(90, 162, 246, 0)); animation: drift-a 26s ease-in-out infinite alternate; }
.wash .w2::before { background: radial-gradient(closest-side, rgba(123, 111, 224, .15), rgba(123, 111, 224, 0)); animation: drift-b 32s ease-in-out infinite alternate; }
.wash .w3::before { background: radial-gradient(closest-side, rgba(127, 212, 255, .24), rgba(127, 212, 255, 0)); animation: drift-c 29s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-12vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(14vw, -8vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-10vw, -12vh) scale(1.1); } }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Fond propre (92 %) : jamais de contenu lisible à travers, logo et bouton lisibles partout. */
  background: rgba(244, 245, 248, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.brand img { display: block; width: 30px; height: 30px; border-radius: 22.5%; box-shadow: 0 2px 8px -2px rgba(30, 64, 175, .3); }
/* Mot-symbole : SF Pro Semibold, comme la planche de marque (seule exception à la règle 400/500). */
.brand span { font-weight: 600; }
.brand:hover { color: var(--ink); }
.brand-sm { font-size: 17px; gap: 8px; }
.brand-sm img { width: 24px; height: 24px; }

.lang { display: flex; gap: 2px; }
.lang a {
  display: grid; place-items: center;
  min-width: 36px; height: 32px; padding: 0 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 1.6px;
  color: var(--muted); text-decoration: none; border-radius: 8px;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--surface-2); }

/* ---------- Bouton : un seul style pour tous les CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  color: var(--on-cta);
  text-decoration: none;
  white-space: nowrap;
  background: var(--cta);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .2s;
}
.btn:hover { color: var(--on-cta); filter: brightness(1.18); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Héros ---------- */
.hero {
  display: grid;
  gap: var(--s3);
  padding-top: var(--s2);
  padding-bottom: var(--section);
}
.hero-text { position: relative; z-index: 3; }
.hero-title {
  margin: var(--s2) 0;
  font-size: clamp(44px, 11vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin: 0; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.4; color: var(--muted); }
.motion:not(.ready) [data-hero] { opacity: 0; }

.hero-visual {
  position: relative;
  order: -1;
  display: grid;
  place-items: center;
  padding: var(--s2) 0;
}
/* Halo aux couleurs du logo (dégradé bleu clair -> bleu vif), légèrement décentré vers le haut à droite. */
.hero-glow {
  position: absolute;
  top: 50%;
  left: -25%;
  width: 150%;
  margin-top: -75%; /* moitié de sa hauteur (les % de marge se calculent sur la largeur) */
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 60% 40%, rgba(47, 107, 255, .32), rgba(47, 107, 255, 0) 70%),
    radial-gradient(closest-side at 40% 62%, rgba(127, 182, 255, .35), rgba(127, 182, 255, 0) 75%);
  filter: blur(20px);
  pointer-events: none;
}
.phone.hero-phone { --phone-w: min(150px, 40vw); position: relative; z-index: 1; }
.hero { overflow-x: clip; }
main { overflow-x: clip; }

/* Badges des boutiques : désactivés, non cliquables. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.stores li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px 0 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: not-allowed;
  user-select: none;
}
.stores svg { width: 22px; height: 22px; }
.stores span { display: grid; font-size: 15px; line-height: 1.15; font-weight: 500; color: var(--ink-2); }
.stores li { background: var(--surface); }
.stores small { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Formulaire ---------- */
.signup { margin-top: var(--s4); max-width: 480px; }
.signup-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -12px rgba(15, 20, 26, .15);
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.signup-row:focus-within { border-color: var(--ice); box-shadow: 0 0 0 4px rgba(30, 64, 175, .12); }
.signup-row:has([aria-invalid="true"]) { border-color: var(--danger); }
.signup-row .btn { min-height: 46px; }
input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px; /* évite le zoom automatique sur iOS */
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
}
input[type="email"]::placeholder { color: var(--muted); opacity: 1; }
input[type="email"]:focus { outline: none; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: var(--s2);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
}
.consent label { cursor: pointer; }
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  border: 1.5px solid var(--muted);
  background: transparent center / 13px 13px no-repeat;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s var(--ease);
}
.consent input[type="checkbox"]:hover { border-color: var(--ink); }
.consent input[type="checkbox"]:active { transform: scale(.9); }
.consent input[type="checkbox"]:checked {
  background-color: var(--cta);
  border-color: var(--cta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent input[type="checkbox"][aria-invalid="true"] { border-color: var(--danger); }

.form-status { min-height: 20px; margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--ink); }
.signup.is-done .signup-row,
.signup.is-done .consent { display: none; }
.signup.is-done .form-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 20px 14px 14px;
  font-size: 16px;
  line-height: 22px;
  background: var(--surface-2);
  border: 1px solid rgba(30, 64, 175, .25);
  border-radius: var(--r-card);
  animation: rise .6s var(--ease) both;
}
.signup.is-done .form-status::before {
  content: "";
  flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  animation: pop .5s .15s var(--ease) both;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Téléphone (cadre CSS) + vraies captures ---------- */
.phone {
  --phone-w: min(280px, 72vw);
  position: relative;
  width: var(--phone-w);
  aspect-ratio: 600 / 1304;
  padding: calc(var(--phone-w) * .03);
  border-radius: calc(var(--phone-w) * .16);
  background: linear-gradient(150deg, #2A313C, #0F141A 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 40px 70px -28px rgba(15, 20, 26, .4),
    0 0 90px -20px rgba(30, 64, 175, .2);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--phone-w) * .13);
  background: #F3F4F6;
}
/* Îlot de l'écran */
.phone-screen::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 1.6%;
  left: 50%;
  width: 30%;
  height: 3.3%;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.screen { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Section « L'app » ---------- */
.app { padding-bottom: var(--section); }
.step { display: grid; justify-items: center; gap: var(--s4); padding: var(--s5) 0; }
.step-text { width: 100%; max-width: 520px; }
.step-text .section-title { margin: var(--s2) 0; }
.step-sub { margin: 0; font-size: 18px; line-height: 1.45; color: var(--muted); }
.app-stage { display: none; }

.section-title {
  margin: 0 0 var(--s4);
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.step-title {
  margin: var(--s2) 0 12px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
}
/* Tags neutres : contour gris, point de la couleur du suivi. */
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.mod-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 999px;
}
.mod-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* Animé : la scène reste fixée à droite, les textes à gauche (centrés sur le téléphone). */
.pin .app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  padding-bottom: 0;
}
.pin .app-steps { grid-column: 1; grid-row: 1; }
.pin .step { min-height: 100vh; align-content: center; justify-items: start; padding: 0; }
.pin .step > .phone { display: none; }
.pin .app-stage {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 100%;
  height: 100vh;
  padding-top: var(--header-h);
}
.stage-phone { --phone-w: min(320px, calc((100vh - 170px) * 600 / 1304)); grid-area: 1 / 1; align-self: center; justify-self: center; }
/* Transition franche : l'écran sortant disparaît entièrement avant que l'entrant arrive (slide vertical). */
.stage-phone .screen { z-index: 1; opacity: 0; visibility: hidden; transform: translateY(-5%); transition: opacity .18s ease-in, transform .18s ease-in, visibility 0s .18s; }
.stage-phone .screen.is-active { z-index: 2; opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease) .2s, transform .5s var(--ease) .2s, visibility 0s .2s; }
.app-copy { display: none; }
.pin .app-copy {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  align-items: center;
  height: 100vh;
  padding-top: var(--header-h);
}
html.pin .app-copy > .step-text.reveal {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .18s ease-in, transform .18s ease-in, visibility 0s .18s;
  pointer-events: none;
}
html.pin .app-copy > .step-text.reveal.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .32s var(--ease) .2s, transform .5s var(--ease) .2s, visibility 0s .2s;
  pointer-events: auto;
}
.pin .app-steps::after { content: ""; display: block; height: 40vh; }

/* Pagination : numéros cliquables, étape active en glace, les autres en gris à 40 %. */
.app-progress {
  position: absolute;
  bottom: 2vh;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
  transition: opacity .4s, visibility .4s;
}
.app[data-active="home"] .app-progress { opacity: 0; visibility: hidden; }
.app-progress button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: rgba(91, 101, 113, .45);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .3s;
}
.app-progress button::before {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(91, 101, 113, .2);
}
.app-progress button::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.app-progress button:hover { color: var(--muted); }
.app-progress .is-done button { color: var(--muted); --p: 1; }
.app-progress .is-active button { color: var(--ice); }

/* Mobile : une colonne. Titre au-dessus du téléphone figé, phrase dessous. */
@media (max-width: 767px) {
  .pin .app { grid-template-columns: 100%; gap: 0; }
  .pin .app-copy, .pin .app-stage { grid-column: 1; }
  .pin .app-stage { padding-top: calc(var(--header-h) + 40px); padding-bottom: 22vh; }
  .stage-phone { --phone-w: min(250px, calc((100vh - var(--header-h) - 40px - 22vh - 20px) * 600 / 1304)); }
  .pin .app-copy { z-index: 3; align-items: stretch; padding-top: 0; pointer-events: none; }
  html.pin .app-copy > .step-text.reveal {
    position: relative;
    display: block;
    height: 100vh;
    max-width: none;
    padding: calc(78vh + 4px) 0 48px;
    text-align: center;
  }
  html.pin .app-copy > .step-text.reveal.is-active { pointer-events: auto; }
  .pin .app-copy .micro-label { position: absolute; top: calc(var(--header-h) + 4px); left: 0; right: 0; justify-content: center; }
  .pin .app-copy .step-title,
  .pin .app-copy .section-title { position: absolute; top: calc(var(--header-h) + 20px); left: 0; right: 0; margin: 0; font-size: clamp(20px, 3vh, 26px); line-height: 1.12; }
  .pin .app-copy .section-title br { display: none; }
  .pin .app-copy .step-sub { font-size: 14px; line-height: 1.4; }
  .pin .app-copy .mod-chips { justify-content: center; gap: 6px; margin-top: 8px; }
  .pin .app-copy .mod-chips li { height: 26px; padding: 0 10px; font-size: 12px; }
  .app-progress { bottom: 4px; }
  .app-progress button { width: 44px; height: 32px; }
  .pin .step { min-height: 90vh; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .pin .app-copy .mod-chips { display: none; }
}

/* ---------- Manifeste ---------- */
.manifeste { padding: var(--section) 0; }
.motion .manifeste { height: 200vh; padding: 0; }
.motion .manifeste-inner { position: sticky; top: 0; display: grid; align-content: center; height: 100vh; }
.statement-text {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(38px, 10vw, 84px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.statement-text .s { display: block; text-wrap: balance; }
.statement-text .w { display: inline-block; }
.manifeste-curve { display: block; width: min(420px, 70vw); height: auto; margin-top: var(--s3); overflow: visible; }
.manifeste-curve path { fill: none; stroke: var(--ice); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 2; }
.manifeste-curve circle { fill: var(--ice); }

/* ---------- Liste d'attente ---------- */
.cta-inner { display: grid; gap: var(--s5); padding-top: var(--section); padding-bottom: var(--section); }
.cta-text { position: relative; z-index: 3; }
.cta-title { margin: var(--s2) 0 12px; font-size: clamp(32px, 6.5vw, 54px); line-height: 1.08; font-weight: 500; letter-spacing: -0.035em; }
.cta-sub { margin: 0; font-size: 18px; color: var(--muted); }

/* Trois téléphones entiers, celui du milieu un peu plus haut. */
.trio { display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 2.4vw, 24px); }
.trio .phone { --phone-w: min(200px, 28vw); flex: none; margin-top: calc(var(--phone-w) * .2); }
.trio .phone:nth-child(2) { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--section); }
.faq .section-title { margin-top: var(--s2); }
.faq-list { max-width: 720px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { min-height: 0; overflow: hidden; }
.motion .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.motion .faq details.is-open .faq-a { grid-template-rows: 1fr; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 22px 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ice); }
.faq details p { margin: 0; padding: 0 0 22px; max-width: 56ch; color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.site-footer {
  margin-top: auto;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer.wrap, .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  padding-top: var(--s4);
  padding-bottom: max(var(--s4), env(safe-area-inset-bottom));
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s3); }
.site-footer a:not(.brand) { color: var(--muted); }
.site-footer a:not(.brand):hover { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer .contact { display: flex; flex-wrap: wrap; gap: var(--s3); }
.site-footer .contact a { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .contact svg { width: 16px; height: 16px; }
.site-footer .no-cookie { margin-left: auto; }
@media (max-width: 600px) { .site-footer .no-cookie { margin: 0; flex-basis: 100%; } }

/* ---------- Apparition au défilement ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes live {
  0%   { box-shadow: 0 0 0 0 rgba(30, 64, 175, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(30, 64, 175, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

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

/* ---------- Pages légales ---------- */
.card { padding: var(--s3); background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--r-card); }
.legal { max-width: 720px; padding-top: var(--s4); padding-bottom: var(--s6); }
.legal h1 { margin: 0 0 8px; font-size: clamp(32px, 8vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -0.035em; }
.legal .updated { margin: 0 0 var(--s4); font-size: 13px; color: var(--muted); }
.legal h2 { margin: 40px 0 10px; font-size: 20px; line-height: 27px; font-weight: 500; letter-spacing: -0.3px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal .back { display: inline-block; margin-top: var(--s4); }
.legal .card { margin: var(--s2) 0; padding: 18px 20px; }
.legal .card p { margin: 0 0 6px; }
.legal .card p:last-child { margin-bottom: 0; }
/* Coordonnées de l'éditeur, repliées par défaut. */
.reveal-info { margin-top: 6px; }
.reveal-info summary { cursor: pointer; color: var(--ice); font-size: 14px; }
.reveal-info[open] summary { margin-bottom: 10px; }
.legal .card ul { margin: 0; }
.todo { padding: 1px 6px; border-radius: 6px; background: #FBF1DC; color: #8A5A00; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 768px) {
  .phone.hero-phone { --phone-w: 220px; }
  .trio .phone { --phone-w: min(210px, 24vw); }
}
@media (min-width: 960px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--s5);
    padding-top: var(--s3);
    padding-bottom: var(--s5);
  }
  .hero-visual { order: 0; padding: var(--s3) 0; }
  .phone.hero-phone { --phone-w: min(290px, calc((100svh - 150px) * 600 / 1304)); }
  .cta-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .faq > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--s5); align-items: start; }
  .faq .section-title { margin-bottom: 0; }
  .faq-list { max-width: none; }
}
