/* Site de Flip : papier crème, encre espresso, titres en Instrument Serif, texte en Geist.
   Les animations ne touchent que transform et opacity, et s'arrêtent si le visiteur réduit les animations. */
@import url("springs.css");

@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #8b7cf6;
}

:root {
  --paper: #fbf8f3;
  --cream: #f4ede2;
  --sand: #e9dccb;
  --ink: #16110e;
  --ink-2: #4a3a30;
  --ink-3: #7d6a5c;
  --line: rgba(22, 17, 14, 0.1);
  --espresso: #1d1410;
  --roast: #4b3226;
  --crema: #e8874c;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
}

a {
  color: inherit;
}

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

h1 em,
h2 em {
  font-style: italic;
  color: var(--roast);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
}

.eyebrow {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

.fineprint {
  font-size: 13px;
  color: var(--ink-3);
}

/* ─── Boutons ──────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 420ms var(--spring-bouncy),
    box-shadow 300ms var(--ease-out),
    background 200ms;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.97);
  transition-duration: 120ms;
}

.button.dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(22, 17, 14, 0.6);
}

.button.dark:hover {
  box-shadow: 0 16px 36px -12px rgba(22, 17, 14, 0.55);
}

.button.ghost {
  color: var(--ink-2);
}

.button.ghost:hover {
  background: rgba(22, 17, 14, 0.05);
}

.button.small {
  padding: 10px 16px;
  font-size: 14px;
}

.button.wide {
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--crema);
  outline-offset: 3px;
}

/* ─── Navigation ───────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  transition:
    background 300ms,
    box-shadow 300ms;
}

.nav.scrolled {
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 400 26px/1 var(--serif);
}

.links {
  display: flex;
  gap: 28px;
}

.links a {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
}

.links a:hover {
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sélecteur de langue : la pastille glisse d'une langue à l'autre. */
.lang {
  position: relative;
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(22, 17, 14, 0.06);
}

.lang button {
  position: relative;
  z-index: 1;
  width: 38px;
  padding: 6px 0;
  border: 0;
  background: none;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 200ms;
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
}

.lang-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 38px;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(22, 17, 14, 0.15);
  transition: transform 520ms var(--spring-bouncy);
}

html[lang="fr"] .lang-pill {
  transform: translateX(38px);
}

/* ─── Hero ─────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(56px, 10vh, 120px) var(--gutter) 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero h1 {
  font-size: clamp(48px, 8.6vw, 116px);
  line-height: 0.95;
  max-width: 11em;
}

.hero .lead {
  max-width: 30em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

/* ─── Démo : fenêtre Flip ─────────────────────────────────────────── */

.demo {
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.stagewrap {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  border-radius: 22px;
  position: relative;
}

/* La fenêtre est dessinée à 1100 px puis réduite à la largeur disponible. */
.mock {
  --accent: #8b7cf6;
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  height: 688px;
  transform: scale(var(--s, 1)); /* --s : largeur disponible / 1100, calculée par app.js */
  transform-origin: 0 0;
  display: flex;
  padding: 10px;
  border-radius: 22px;
  background:
    radial-gradient(
      120% 80% at 0% 0%,
      color-mix(in oklab, var(--accent) 34%, transparent),
      transparent 60%
    ),
    linear-gradient(
      170deg,
      color-mix(in oklab, var(--accent) 22%, #2a1d17),
      #170f0c
    );
  box-shadow:
    0 60px 120px -30px rgba(60, 35, 20, 0.45),
    0 0 0 1px rgba(22, 17, 14, 0.08);
  overflow: hidden;
  transition: --accent 700ms var(--ease-out);
}

.m-side {
  flex: none;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 6px 8px 8px;
  color: #efe4d6;
  transition:
    margin-left 620ms var(--spring-smooth),
    opacity 300ms;
}

.mock.hidden .m-side {
  margin-left: -260px;
  opacity: 0;
}

.m-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 0 6px;
}

.m-lights,
.m-arrows {
  display: flex;
  gap: 8px;
}

.m-lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.m-lights i:nth-child(2) {
  background: #febc2e;
}

.m-lights i:nth-child(3) {
  background: #28c840;
}

.m-arrows i {
  width: 14px;
  height: 2px;
  margin: 6px 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.m-url {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.m-favs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.m-favs i {
  height: 46px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.m-favs i b,
.m-tab b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font: 700 10px/1 var(--sans);
  color: #fff;
  background: var(--c);
}

.m-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 10px;
  font-size: 16px;
}

.m-glyph {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}

.m-lists {
  flex: 1;
  overflow: hidden;
}

.m-tabs {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  overflow: hidden;
  /* Entrée en cascade à chaque changement de space. */
  animation: tab-in 640ms var(--spring-smooth) both;
  animation-delay: calc(var(--k) * 35ms);
}

.m-tab.on {
  background: rgba(255, 255, 255, 0.14);
}

.m-tab.folder {
  color: rgba(255, 255, 255, 0.7);
}

.m-tab.folder::before {
  content: "";
  width: 16px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  margin-right: 2px;
}

.m-tab.child {
  padding-left: 30px;
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateX(calc(var(--dir, 1) * 24px));
  }
}

.m-sep {
  height: 1px;
  margin: 10px 8px;
  background: rgba(255, 255, 255, 0.12);
}

.m-new {
  padding: 8px 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.m-spaces {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}

.m-spaces button {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 30px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.m-spaces button i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c);
  transition: background 300ms;
}

.m-spaces button.on i {
  background: var(--c);
}

.m-pill {
  position: absolute;
  top: 10px;
  left: 0;
  width: 34px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 560ms var(--spring-bouncy);
}

.m-page {
  flex: 1;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.m-site {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: page-in 700ms var(--spring-smooth) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.m-hero {
  height: 200px;
  border-radius: 16px;
  background:
    radial-gradient(
      60% 90% at 80% 20%,
      color-mix(in oklab, var(--accent) 60%, white),
      transparent 70%
    ),
    linear-gradient(
      135deg,
      color-mix(in oklab, var(--accent) 35%, #f4ede2),
      #efe5d7
    );
}

.m-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-lines i {
  height: 14px;
  border-radius: 7px;
  background: #ece2d4;
}

.m-lines i:first-child {
  height: 28px;
  width: 58%;
  background: #e0d0bd;
}

.m-lines i.short {
  width: 40%;
}

.m-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.m-cards i {
  height: 120px;
  border-radius: 12px;
  background: #f1e9de;
  box-shadow: inset 0 0 0 1px rgba(22, 17, 14, 0.05);
}

/* Barre de commande de la démo. */
.m-palette {
  position: absolute;
  left: 50%;
  top: 110px;
  width: 560px;
  margin-left: -280px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(251, 248, 243, 0.96);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(22, 17, 14, 0.08);
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 220ms var(--ease-out),
    transform 560ms var(--spring-bouncy);
}

.mock.palette .m-palette {
  opacity: 1;
  transform: none;
}

.m-input {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 14px;
  font-size: 20px;
  color: var(--ink);
}

.caret {
  width: 2px;
  height: 24px;
  margin-left: 2px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.m-results {
  list-style: none;
  padding: 6px 0 0;
  border-top: 1px solid var(--line);
}

.m-results li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-2);
  animation: tab-in 500ms var(--spring-smooth) both;
  animation-delay: calc(var(--k) * 60ms);
}

.m-results li.on {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--ink);
}

.m-results li small {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12.5px;
}

.m-results li b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c);
}

/* Boutons « essaie » sous la démo. */
.try {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.try button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: 500 14px/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition:
    transform 420ms var(--spring-bouncy),
    border-color 200ms,
    background 200ms;
}

.try button:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 17, 14, 0.2);
}

.try button.on {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.try span {
  margin-left: 4px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  font: 500 12.5px/1 var(--sans);
  background: linear-gradient(180deg, #fff, #f1e9de);
  color: var(--ink);
  box-shadow:
    inset 0 -1px 0 rgba(22, 17, 14, 0.12),
    0 1px 2px rgba(22, 17, 14, 0.15);
}

/* ─── Sections ─────────────────────────────────────────────────────── */

section {
  scroll-margin-top: 70px;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1;
  max-width: 14em;
}

.features {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}

/* Nouveautés 0.1.5 : cinq cartes, la première (la plus attendue) sur deux colonnes, en espresso. */
.news {
  padding: clamp(80px, 12vw, 150px) var(--gutter) 0;
}

.news-lead {
  max-width: 36em;
  color: var(--ink-2);
  font-size: 17px;
}

.news-grid .card {
  gap: 12px;
}

.news-grid .card.wide {
  grid-column: span 2;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(232, 135, 76, 0.28), transparent 55%),
    var(--espresso);
  color: var(--cream);
}

.news-grid .card.wide p {
  color: rgba(244, 237, 226, 0.75);
  max-width: 34em;
}

.news-grid .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
}

.news-grid .card.wide .ico {
  background: rgba(244, 237, 226, 0.1);
  color: var(--crema);
}

.news-grid .ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-grid h3 kbd {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-2);
  font: 500 13px/1.4 var(--sans);
  vertical-align: middle;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.card {
  padding: 28px;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(22, 17, 14, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  font-size: 30px;
  line-height: 1.05;
}

.card p {
  font-size: 15.5px;
  color: var(--ink-2);
}

.vis {
  height: 120px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
}

.vis-spaces i {
  font-style: normal;
  font-size: 34px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 520ms var(--spring-bouncy);
}

.vis-spaces i:nth-child(1) {
  background: #8b7cf6;
  font-family: var(--serif);
  font-style: italic;
}

.vis-spaces i:nth-child(2) {
  background: #36c5a8;
  font-family: var(--sans);
  font-weight: 600;
}

.vis-spaces i:nth-child(3) {
  background: #f2a541;
  font-family: var(--mono);
}

.card:hover .vis-spaces i:nth-child(1) {
  transform: translateY(-6px) rotate(-6deg);
}

.card:hover .vis-spaces i:nth-child(3) {
  transform: translateY(-6px) rotate(6deg);
}

.vis-sidebar {
  justify-content: flex-start;
  padding: 14px;
  gap: 8px;
}

.vis-sidebar i {
  width: 70px;
  height: 100%;
  border-radius: 10px;
  background: var(--sand);
  animation: peek 4s var(--spring-smooth) infinite;
}

.vis-sidebar b {
  flex: 1;
  height: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(22, 17, 14, 0.06);
}

@keyframes peek {
  0%,
  35% {
    margin-left: 0;
  }
  50%,
  85% {
    margin-left: -86px;
  }
}

.vis-keys kbd {
  min-width: 56px;
  height: 56px;
  font-size: 24px;
  border-radius: 14px;
  animation: press 2.4s ease-in-out infinite;
}

.vis-keys kbd + kbd {
  animation-delay: 80ms;
}

@keyframes press {
  10%,
  22% {
    transform: translateY(3px);
    box-shadow: inset 0 -1px 0 rgba(22, 17, 14, 0.12);
  }
  32% {
    transform: none;
  }
}

.vis-tidy {
  flex-direction: column;
  gap: 6px;
}

.vis-tidy i {
  width: 150px;
  height: 14px;
  border-radius: 7px;
  background: var(--sand);
  animation: tidy 4.5s var(--ease-out) infinite;
}

.vis-tidy i:nth-child(2) {
  animation-delay: 0.25s;
}

.vis-tidy i:nth-child(3) {
  animation-delay: 0.5s;
}

.vis-tidy b {
  width: 60px;
  height: 18px;
  border-radius: 4px 4px 9px 9px;
  border: 2px solid var(--ink-3);
  border-top-width: 4px;
  margin-top: 6px;
}

@keyframes tidy {
  0%,
  40% {
    transform: none;
    opacity: 1;
  }
  70% {
    transform: translateY(40px) scale(0.4);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 0;
  }
}

.vis-spring i {
  width: 120px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 10px 20px rgba(22, 17, 14, 0.25);
  animation: lift 2.6s var(--spring-bouncy) infinite alternate;
}

@keyframes lift {
  from {
    transform: translate(-40px, 16px);
  }
  to {
    transform: translate(40px, -16px) rotate(-3deg);
  }
}

.vis-lock svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.vis-lock svg path {
  transform-origin: 32px 21px;
  animation: shackle 3s var(--spring-bouncy) infinite;
}

@keyframes shackle {
  0%,
  40% {
    transform: translateY(-5px);
  }
  55%,
  100% {
    transform: none;
  }
}

.vis-lock svg circle {
  fill: var(--ink);
  stroke: none;
}

/* ─── Promesse (section sombre) ───────────────────────────────────── */

.promise {
  background:
    radial-gradient(
      70% 60% at 85% 0%,
      rgba(139, 124, 246, 0.22),
      transparent 60%
    ),
    radial-gradient(
      60% 50% at 0% 100%,
      rgba(232, 135, 76, 0.2),
      transparent 60%
    ),
    var(--espresso);
  color: var(--cream);
  padding: clamp(90px, 14vw, 180px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.promise .eyebrow {
  color: rgba(244, 237, 226, 0.55);
}

.promise h2 em {
  color: #e9b896;
}

.vows {
  list-style: none;
  padding: 0;
  margin-top: clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 1160px;
  text-align: left;
}

.vow {
  display: block;
  font: italic 400 clamp(40px, 4.6vw, 64px) / 1 var(--serif);
  margin-bottom: 18px;
}

.vows p {
  color: rgba(244, 237, 226, 0.7);
  font-size: 16.5px;
  max-width: 24em;
}

/* ─── Arc ──────────────────────────────────────────────────────────── */

.arc {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1240px;
  margin: 0 auto;
}

.arc-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.arc .others {
  font-size: 15px;
  color: var(--ink-2);
}

.arc .note {
  font-size: 14px;
  color: var(--ink-3);
  border-left: 2px solid var(--crema);
  padding-left: 12px;
}

/* Dessinée à 520 px : le trajet des titres va du centre d'une tuile à l'autre. */
.arc-vis {
  position: relative;
  width: 520px;
  height: 320px;
  justify-self: center;
}

.arc-vis .tile {
  position: absolute;
  bottom: 30px;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  display: grid;
  place-items: center;
}

.arc-vis .from {
  left: 0;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(22, 17, 14, 0.08);
  font: italic 400 34px/1 var(--serif);
  color: var(--ink-3);
}

.arc-vis .to {
  right: 0;
}

.arc-vis .to img {
  width: 120px;
  height: 120px;
  max-width: none;
}

.arc-vis .flight span {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px -8px rgba(60, 35, 20, 0.3);
  font-size: 13.5px;
  white-space: nowrap;
  offset-path: path("M 52 238 C 150 10, 370 10, 468 238");
  offset-rotate: 0deg;
  opacity: 0;
  animation: fly 3.6s var(--ease-out) infinite;
}

.arc-vis .flight span:nth-child(2) {
  animation-delay: 0.6s;
}

.arc-vis .flight span:nth-child(3) {
  animation-delay: 1.2s;
}

.arc-vis .flight span:nth-child(4) {
  animation-delay: 1.8s;
}

.arc-vis .flight span:nth-child(5) {
  animation-delay: 2.4s;
}

.arc-vis .flight span:nth-child(6) {
  animation-delay: 3s;
}

@keyframes fly {
  0% {
    offset-distance: 0%;
    opacity: 0;
    transform: scale(0.6);
  }
  12%,
  62% {
    opacity: 1;
    transform: scale(1);
  }
  86%,
  100% {
    offset-distance: 100%;
    opacity: 0;
    transform: scale(0.4);
  }
}

/* ─── Prix ─────────────────────────────────────────────────────────── */

.pricing {
  padding: 40px var(--gutter) clamp(80px, 12vw, 160px);
  display: grid;
  place-items: center;
}

.price-card {
  width: min(480px, 100%);
  padding: 44px 36px 32px;
  border-radius: 28px;
  background: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(22, 17, 14, 0.06),
    0 40px 80px -40px rgba(60, 35, 20, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.price-card h2 {
  font-size: clamp(34px, 4vw, 46px);
}

.cup {
  width: 96px;
  height: 96px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cup .mug {
  fill: var(--paper);
}

.cup .steam {
  stroke: var(--ink-3);
  stroke-width: 2.5;
  animation: steam 3s ease-in-out infinite;
}

.cup .steam:nth-child(2) {
  animation-delay: 0.5s;
}

.cup .steam:nth-child(3) {
  animation-delay: 1s;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 400 76px/1 var(--serif);
  letter-spacing: -0.03em;
}

.price small {
  font: italic 400 26px/1 var(--serif);
  word-spacing: 0.1em;
  color: var(--ink-3);
}

.perks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 10px;
  color: var(--ink-2);
}

.perks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--crema);
  font-weight: 700;
}

/* ─── FAQ ──────────────────────────────────────────────────────────── */

.faq {
  padding: 0 var(--gutter) clamp(80px, 12vw, 160px);
  max-width: 860px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  margin: 0 auto 48px;
}

.qa details {
  border-top: 1px solid var(--line);
}

.qa details:last-child {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font: 400 24px/1.2 var(--serif);
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  font: 300 26px/1 var(--sans);
  color: var(--ink-3);
  transition: transform 420ms var(--spring-bouncy);
}

.qa details[open] summary::after {
  transform: rotate(45deg);
}

.qa details p {
  padding: 0 0 24px;
  color: var(--ink-2);
  max-width: 40em;
  animation: answer 520ms var(--spring-smooth);
}

@keyframes answer {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ─── Fin et pied de page ──────────────────────────────────────────── */

.final {
  padding: 40px var(--gutter) clamp(90px, 12vw, 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.final img {
  width: 120px;
  height: 120px;
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter) 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 32px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-3);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.foot-brand span {
  font: 400 22px/1 var(--serif);
}

.foot-brand small {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 8px;
}

.foot-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.foot-links a {
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
}

.disclaimer {
  grid-column: 1 / -1;
  font-size: 12.5px;
}

/* ─── V2 : pastille du hero ───────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  transition: transform 420ms var(--spring-bouncy), box-shadow 200ms;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(22, 17, 14, 0.2);
}

.pill b {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 600 12px/1 var(--sans);
}

.pill i {
  font-style: normal;
  transition: transform 420ms var(--spring-bouncy);
}

.pill:hover i {
  transform: translateX(3px);
}

/* ─── Mobile dans la démo : la page change de forme, floutée le temps du passage ─── */

.m-page {
  clip-path: inset(0 round 12px);
  transition: clip-path 640ms var(--spring-smooth);
}

.mock.phone .m-page {
  clip-path: inset(22px calc(50% - 150px) 22px calc(50% - 150px) round 38px);
}

.m-site {
  transition:
    filter 220ms var(--ease-out),
    opacity 220ms var(--ease-out);
}

.m-page.morphing .m-site {
  filter: blur(10px);
  opacity: 0.45;
}

.m-site.narrow {
  width: 300px;
  margin: 22px auto 0;
  padding: 34px 22px;
  gap: 18px;
}

.m-site.narrow .m-hero {
  height: 150px;
}

.m-site.narrow .m-cards {
  grid-template-columns: minmax(0, 1fr);
}

.m-site.narrow .m-cards i {
  height: 70px;
}

/* ─── Chiffres ─────────────────────────────────────────────────────── */

.proof {
  padding: clamp(40px, 6vw, 72px) var(--gutter) 0;
}

.stats {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.stats > div {
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats > div + div {
  border-left: 1px solid var(--line);
}

.stats dt {
  font: 400 clamp(52px, 6vw, 80px) / 0.9 var(--serif);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stats dt small {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 6px;
}

.stats dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 22em;
}

/* ─── Sections en deux colonnes (mémoire, appels) ─────────────────── */

.split {
  padding: clamp(80px, 12vw, 150px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1240px;
  margin: 0 auto;
}

.split-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fbf8f3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--crema);
}

/* Panneaux sombres, comme la fenêtre de Flip. */
.mem-vis,
.call-vis {
  --accent: #8b7cf6;
  position: relative;
  border-radius: 24px;
  padding: 18px;
  color: #efe4d6;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 60%),
    linear-gradient(170deg, color-mix(in oklab, var(--accent) 20%, #2a1d17), #170f0c);
  box-shadow:
    0 50px 100px -30px rgba(60, 35, 20, 0.45),
    0 0 0 1px rgba(22, 17, 14, 0.08);
}

/* Mémoire : les onglets oubliés s'endorment un à un, la jauge descend. */
.mem-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 8px 12px;
  font: 600 13px/1 var(--sans);
}

.mem-head small {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.mem-vis ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mem-vis li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-rows: auto 3px;
  align-items: center;
  column-gap: 10px;
  row-gap: 7px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  transition: background 400ms, opacity 500ms;
}

.mem-vis li.awake {
  background: rgba(255, 255, 255, 0.12);
}

.mem-vis li b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font: 600 11px/1 var(--sans);
  transition: filter 500ms;
}

.mem-vis li span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mem-vis li em {
  font: 500 11px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity 400ms;
}

.mem-vis li.live em::before {
  content: "●";
  color: #ff5f57;
  margin-right: 6px;
  animation: pulse 1.6s ease-in-out infinite;
}

.mem-vis li.nap em {
  opacity: 0;
}

.mem-vis li.nap em::before {
  content: "☾ ";
}

.mem-vis li i {
  grid-column: 2 / -1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.mem-vis li i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: inherit;
  background: color-mix(in oklab, var(--accent) 70%, white);
  transform-origin: left;
  transition: transform 900ms var(--spring-smooth);
}

.mem-vis.slept li.nap {
  opacity: 0.55;
}

.mem-vis.slept li.nap b {
  filter: grayscale(1);
}

.mem-vis.slept li.nap em {
  opacity: 0.8;
}

.mem-vis.slept li.nap i::after {
  transform: scaleX(0.03);
}

.mem-vis.slept li.nap:nth-child(5),
.mem-vis.slept li.nap:nth-child(5) i::after {
  transition-delay: 180ms;
}

.mem-vis.slept li.nap:nth-child(6),
.mem-vis.slept li.nap:nth-child(6) i::after {
  transition-delay: 360ms;
}

.mem-total {
  margin: 14px 8px 4px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mem-total i {
  display: block;
  height: 100%;
  width: 88%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--crema), #f2a541);
  transform-origin: left;
  transition: transform 1100ms var(--spring-smooth) 300ms;
}

.mem-vis.slept .mem-total i {
  transform: scaleX(0.55);
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

/* Appel : la bulle d'accord apparaît, puis l'onglet est partagé. */
.call-vis {
  --accent: #36c5a8;
  display: grid;
  gap: 12px;
}

.call-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  font: 600 13px/1 var(--sans);
}

.call-top small {
  margin-left: auto;
  font: 500 11px/1 var(--mono);
  opacity: 0.5;
}

.call-top .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  animation: pulse 1.6s ease-in-out infinite;
}

.call-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 10px;
}

.call-share {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide {
  width: 78%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 7% 8%;
  display: flex;
  flex-direction: column;
  gap: 8%;
  opacity: 0.18;
  transform: scale(0.94);
  transition:
    opacity 500ms var(--ease-out),
    transform 700ms var(--spring-bouncy);
}

.slide b {
  font: 400 clamp(18px, 2.4vw, 28px) / 1 var(--serif);
}

.slide i {
  height: 7px;
  border-radius: 4px;
  background: rgba(22, 17, 14, 0.14);
}

.slide i.short {
  width: 55%;
}

.call-share .badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #36c5a8;
  color: #0d2a24;
  font: 600 11.5px/1 var(--sans);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 300ms,
    transform 500ms var(--spring-bouncy);
}

.call-vis.sharing .slide {
  opacity: 1;
  transform: none;
}

.call-vis.sharing .badge {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
}

.call-people {
  display: grid;
  gap: 10px;
  align-content: start;
}

.call-people i {
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 400 26px/1 var(--serif);
  font-style: normal;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--c) 70%, white), var(--c));
}

.call-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.call-bar i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.call-bar i.on {
  background: #36c5a8;
}

.call-bar i.end {
  width: 52px;
  border-radius: 999px;
  background: #ff5f57;
}

/* Bulle de permission de Flip, sous l'adresse. */
.call-bubble {
  position: absolute;
  top: 46px;
  left: 18px;
  width: min(270px, 70%);
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #fbf9f6;
  color: var(--ink);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  display: grid;
  gap: 2px;
  transform-origin: 20% 0;
  transition:
    opacity 260ms var(--ease-out),
    transform 520ms var(--spring-bouncy);
}

.call-bubble b {
  font: 400 19px/1.1 var(--serif);
}

.call-bubble div {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
}

.call-bubble em,
.call-bubble strong {
  font: 600 12px/1 var(--sans);
  font-style: normal;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(22, 17, 14, 0.06);
}

.call-bubble strong {
  background: #36c5a8;
  color: #0d2a24;
}

.call-vis.sharing .call-bubble {
  opacity: 0;
  transform: scale(0.92) translateY(-6px);
}

/* ─── Devs et IA ───────────────────────────────────────────────────── */

.makers {
  padding: clamp(90px, 13vw, 170px) var(--gutter) 0;
}

.makers .lead {
  text-align: center;
}

.tools .card h3 {
  font-size: 27px;
}

.vis pre {
  margin: 0;
  font: 500 12.5px/1.6 var(--mono);
  color: var(--ink-2);
  text-align: left;
}

.vis-md pre b {
  color: var(--roast);
}

.vis-ask {
  flex-wrap: wrap;
  align-content: center;
  padding: 0 18px;
  gap: 8px;
}

.vis-ask span,
.vis-local span,
.vis-clear span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 12.5px/1 var(--sans);
  transition: transform 420ms var(--spring-bouncy), background 200ms;
}

.card:hover .vis-ask span:nth-child(2) {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

.vis-phone i {
  width: 150px;
  height: 92px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: linear-gradient(var(--sand) 0 26%, var(--paper) 26%);
  animation: to-phone 4.5s var(--spring-smooth) infinite;
}

@keyframes to-phone {
  0%,
  30% {
    width: 150px;
    height: 92px;
    border-radius: 10px;
  }
  50%,
  80% {
    width: 52px;
    height: 100px;
    border-radius: 14px;
  }
}

.vis-json pre b {
  color: #7c5cff;
}

.vis-json pre s {
  text-decoration: none;
  color: #0a8f6a;
}

.vis-json pre u {
  text-decoration: none;
  color: #c2185b;
}

.vis-json pre em {
  font-style: normal;
  color: #d4621b;
}

.vis-local {
  flex-direction: column;
  gap: 6px;
}

.vis-local span {
  font-family: var(--mono);
}

.vis-local span::before {
  content: "●";
  color: #22a06b;
  margin-right: 7px;
  font-size: 10px;
}

.card:hover .vis-clear span {
  transform: translateY(-4px) rotate(-3deg);
  background: transparent;
  text-decoration: line-through;
}

.card:hover .vis-clear span:nth-child(2) {
  transition-delay: 60ms;
}

.card:hover .vis-clear span:nth-child(3) {
  transition-delay: 120ms;
}

/* Aperçu : une carte flotte au-dessus de la page, voilée. */
.vis-peek {
  background: color-mix(in oklab, var(--ink) 18%, var(--paper));
}

.vis-peek i {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(22, 17, 14, 0.08) 14px 18px);
}

.vis-peek b {
  position: relative;
  width: 62%;
  height: 74%;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 18px 40px -12px rgba(22, 17, 14, 0.45);
  transition: transform 520ms var(--spring-bouncy);
}

.card:hover .vis-peek b {
  transform: translateY(-4px) scale(1.04);
}

/* Vue partagée : deux moitiés, la poignée glisse au survol. */
.vis-split {
  gap: 6px;
  padding: 14px;
}

.vis-split i {
  height: 100%;
  border-radius: 8px;
  background: var(--sand);
  flex: 1;
  transition: flex 620ms var(--spring-smooth);
}

.vis-split i + i {
  background: color-mix(in oklab, #4f9cf9 30%, var(--paper));
}

.card:hover .vis-split i:first-child {
  flex: 0.55;
}

/* Routage : un lien part vers l'un des spaces. */
.vis-route {
  gap: 14px;
}

.vis-route b {
  font: 600 22px/1 var(--sans);
  color: var(--roast);
  transition: transform 620ms var(--spring-bouncy);
}

.vis-route i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #8b7cf6;
  opacity: 0.35;
  transition: opacity 300ms, transform 520ms var(--spring-bouncy);
}

.vis-route i:nth-child(3) {
  background: #36c5a8;
}

.vis-route i:nth-child(4) {
  background: #f2a541;
}

.card:hover .vis-route b {
  transform: translateX(18px) rotate(45deg);
}

.card:hover .vis-route i:nth-child(3) {
  opacity: 1;
  transform: scale(1.15);
}

/* ─── Petits détails ───────────────────────────────────────────────── */

.details {
  padding: clamp(90px, 13vw, 170px) var(--gutter) clamp(80px, 12vw, 150px);
}

.small-things {
  list-style: none;
  padding: 0;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 40px;
}

.small-things li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.small-things .glyph {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 15px/1 var(--mono);
  color: var(--roast);
}

.small-things b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.small-things p {
  font-size: 15px;
  color: var(--ink-2);
}

/* ─── Apparition au défilement ─────────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 600ms var(--ease-out),
    transform 900ms var(--spring-smooth);
  transition-delay: calc(var(--k, 0) * 70ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ─── Petits écrans ────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .links {
    display: none;
  }
  .grid,
  .vows,
  .split,
  .small-things {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-grid .card.wide {
    grid-column: auto;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  /* Le visuel des appels passe sous son texte. */
  .calls .call-vis {
    order: 1;
  }
  .arc {
    grid-template-columns: minmax(0, 1fr);
  }
  .arc-vis {
    justify-self: start;
    transform: scale(0.8);
    transform-origin: left top;
    margin-bottom: -64px;
  }
  .footer {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .nav [data-buy] {
    display: none;
  }
  .pill span {
    font-size: 13px;
  }
  .stats > div {
    padding: 22px 16px 24px;
  }
  .call-stage {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .foot-brand small {
    display: none;
  }
  .try span {
    display: none;
  }
  .try button {
    padding-right: 8px;
  }
  .arc-vis {
    transform: scale(0.6);
    margin-bottom: -128px;
  }
}

/* Animations réduites sur le Mac : tout se fige, sauf si le visiteur a demandé à les voir (html.motion-on). */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html:not(.motion-on) *,
  html:not(.motion-on) *::before,
  html:not(.motion-on) *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .arc-vis .flight span:nth-child(-n + 2) {
    opacity: 1;
  }
}
