/**
 * pakito.ai — système de design.
 *
 * Tout est servi par le même serveur que l'application : polices comprises,
 * aucune requête vers un tiers. Rien ne casse si un CDN tombe, rien ne part
 * chez un tiers sans que le visiteur l'ait demandé, et il n'y a pas d'étape de
 * build avant de déployer.
 */

/* ── Polices (Geist, SIL OFL — voir fonts/OFL.txt) ──────────────────────── */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.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.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 Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-latin.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;
}

/* ── Jetons ────────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  --bg: #08090c;
  --bg-lift: #0d0f14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #edeff4;
  --text-2: #b7bdc9;
  --muted: #8b93a3;
  --faint: #626a79;

  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.16);
  --mint: #00e5c0;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-lift:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --max: 1180px;

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Rien ne doit pouvoir faire glisser la page latéralement. `clip` plutôt
     que `hidden` : `hidden` transformerait la racine en conteneur de
     défilement et casserait les ancres et le position: sticky. La ligne
     `hidden` reste en repli pour les navigateurs qui ignorent `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Texture : un grain très léger, qui empêche les aplats sombres de « baver ». */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

code,
.mono {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  letter-spacing: -0.01em;
}

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

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 28px;
}

.narrow {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.eyebrow .pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

/* ── Révélation au défilement ──────────────────────────────────────────── */

/**
 * Purement additif : le contenu est visible par défaut, et ne part de l'état
 * masqué que si le script a marqué le document. Si le JavaScript échoue, ne
 * s'exécute pas, ou si la page est lue par un robot, tout reste lisible.
 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.topbar.is-stuck {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #8b6bff, #5b3fd6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 6px 18px -6px rgba(124, 92, 255, 0.9);
}

.brand-mark svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 4px;
  font-size: 0.9375rem;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

/* La connexion ne vit pas dans le menu : celui-ci disparaît sous 720 px, et un
   client sur téléphone se retrouvait sans aucun moyen d'atteindre son compte. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-signin {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-signin:hover {
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(180deg, #8f72ff, #6a48f0);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 28px -12px rgba(124, 92, 255, 0.95);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 20px 40px -14px rgba(124, 92, 255, 1);
}

.btn-light {
  background: var(--text);
  color: #0a0b0f;
}

.btn-light:hover {
  transform: translateY(-1px);
  background: #fff;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--surface-2);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

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

.section {
  padding: 116px 0;
}

/* Une ancre ne doit pas atterrir sous la barre collante. */
section[id] {
  scroll-margin-top: 88px;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.022),
    rgba(255, 255, 255, 0)
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
}

.kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.hero {
  position: relative;
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    45% 50% at 50% 50%,
    rgba(124, 92, 255, 0.22),
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  font-weight: 620;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.hero .lead {
  margin-top: 26px;
  max-width: 33rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

.gradient-text {
  background: linear-gradient(100deg, #b9a6ff 0%, #7c5cff 45%, #00e5c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.875rem;
  color: var(--faint);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: var(--mint);
}

/* ── Visuel produit : téléphone + carte de prompt ──────────────────────── */

.showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(124, 92, 255, 0.35),
    rgba(0, 229, 192, 0.18),
    rgba(124, 92, 255, 0.35)
  );
  filter: blur(60px);
  opacity: 0.55;
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase::before {
    animation: none;
  }
}

.phone {
  position: relative;
  width: 286px;
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    var(--shadow-lift),
    0 60px 120px -50px rgba(0, 0, 0, 1);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(170deg, #1a1430 0%, #0b0d16 55%, #101a1d 100%);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3;
}

/* Une silhouette abstraite : le produit, pas un faux visage. */
.phone-subject {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      70% 50% at 50% 0%,
      rgba(124, 92, 255, 0.5),
      transparent 72%
    ),
    radial-gradient(
      60% 40% at 18% 88%,
      rgba(0, 229, 192, 0.24),
      transparent 70%
    ),
    linear-gradient(175deg, #221a44 0%, #12131f 52%, #0b1418 100%);
}

/* Une silhouette abstraite, pas un faux visage : le produit se montre, sans
   prétendre montrer une personne qui n'existe pas. */
.phone-subject svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phone-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    75% 60% at 50% 45%,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.phone-chip {
  position: absolute;
  top: 44px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.phone-chip .rec {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b6b;
  animation: pulse 2s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .phone-chip .rec {
    animation: none;
  }
}

.phone-scan {
  position: absolute;
  inset-inline: 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 229, 192, 0.12),
    transparent
  );
  animation: scan 4.5s var(--ease) infinite;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-40%);
  }
  50% {
    transform: translateY(150%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-scan {
    animation: none;
    opacity: 0.4;
  }
}

.phone-ui {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75) 45%);
  z-index: 2;
}

.phone-caption {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  margin-top: 12px;
}

.wave i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--mint), rgba(0, 229, 192, 0.35));
  animation: bounce 1.35s var(--ease) infinite;
}

@keyframes bounce {
  0%,
  100% {
    height: 18%;
  }
  50% {
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave i {
    animation: none;
    height: 45%;
  }
}

.phone-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Cartes flottantes autour du téléphone. */
.float {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(13, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
  font-size: 0.8125rem;
  color: var(--text-2);
  max-width: 260px;
}

.float-prompt {
  left: -16px;
  top: 14%;
  animation: floaty 7s ease-in-out infinite;
}

.float-status {
  right: -22px;
  bottom: 7%;
  animation: floaty 7s ease-in-out infinite 1.6s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-prompt,
  .float-status {
    animation: none;
  }
}

.float .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.float-status .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.float-status svg {
  width: 13px;
  height: 13px;
  color: var(--mint);
  flex-shrink: 0;
}

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

.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.metrics div {
  padding: 30px 26px;
  background: var(--bg);
}

.metrics dt {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

.metrics dd {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Cartes et grilles ─────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 560;
}

.card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(
    160deg,
    rgba(124, 92, 255, 0.22),
    rgba(124, 92, 255, 0.04)
  );
  color: #c3b4ff;
}

.icon svg {
  width: 20px;
  height: 20px;
}

.icon-mint {
  background: linear-gradient(
    160deg,
    rgba(0, 229, 192, 0.2),
    rgba(0, 229, 192, 0.03)
  );
  color: #7ff0dc;
}

/* Bento : une carte large, des cartes normales. */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.bento .span-2 {
  grid-column: span 2;
}

.bento .tall {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* ── Galerie de démonstrations ─────────────────────────────────────────── */

.demos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.demo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
  overflow: hidden;
}

.demo video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  display: block;
}

.demo-body {
  padding: 18px;
}

.demo-body h3 {
  font-size: 0.9375rem;
  font-weight: 560;
}

.demo-prompt {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  color: var(--text-2);
}

.demo-prompt .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.demo-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.6875rem;
  color: var(--faint);
}

/* ── Comparaison ───────────────────────────────────────────────────────── */

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.versus-col {
  padding: 34px;
}

.versus-col h3 {
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.versus-col ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.versus-col li {
  display: flex;
  gap: 12px;
  font-size: 0.9375rem;
}

.versus-col li strong {
  display: block;
  color: var(--text);
  font-weight: 550;
}

.versus-col li span {
  color: var(--muted);
  font-size: 0.875rem;
}

.versus-old {
  background: rgba(255, 255, 255, 0.012);
}

.versus-old .dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--faint);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.versus-new {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), transparent);
}

.versus-new h3 {
  color: #c3b4ff;
}

.versus-new .dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(0, 229, 192, 0.16);
  display: grid;
  place-items: center;
}

.versus-new .dot svg {
  width: 11px;
  height: 11px;
  color: var(--mint);
}

.versus-rule {
  width: 1px;
  background: var(--line);
}

/* ── Étapes ────────────────────────────────────────────────────────────── */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  background: var(--accent-soft);
  color: #c3b4ff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 560;
}

.step p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.snippet {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.8125rem;
  color: #a9b4c6;
  overflow-x: auto;
  white-space: nowrap;
}

.snippet .tok {
  color: #c3b4ff;
}

/* ── Tarifs ────────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 56px auto 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
}

.plan-featured {
  border-color: rgba(124, 92, 255, 0.45);
  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.11),
    rgba(255, 255, 255, 0.012)
  );
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.12),
    0 40px 80px -40px rgba(124, 92, 255, 0.55);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 34px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f72ff, #6a48f0);
  font-size: 0.75rem;
  font-weight: 550;
  color: #fff;
}

.plan h3 {
  font-size: 1.125rem;
  font-weight: 560;
}

.plan .pitch {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
}

.plan-price .amount {
  font-size: 2.75rem;
  font-weight: 620;
  letter-spacing: -0.045em;
  color: var(--text);
}

.plan-price .currency {
  font-size: 1.125rem;
  font-weight: 550;
  color: var(--text-2);
}

.plan-price .period {
  font-size: 0.875rem;
  color: var(--faint);
}

.plan-volume {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan-features {
  flex: 1;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.plan-features li {
  display: flex;
  gap: 11px;
}

.plan-features svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--mint);
}

.plan .btn {
  margin-top: 30px;
}

.fineprint {
  margin: 28px auto 0;
  max-width: 660px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--faint);
}

/* ── Confiance ─────────────────────────────────────────────────────────── */

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.07),
    rgba(255, 255, 255, 0.012)
  );
}

.trust h2 {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
}

.trust p {
  margin-top: 14px;
  color: var(--muted);
}

.trust-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.trust-facts li {
  display: flex;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.trust-facts svg {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--mint);
}

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

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 52px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.2s var(--ease);
}

.faq details[open] {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 520;
  color: var(--text);
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq p {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ── Appel final ───────────────────────────────────────────────────────── */

.finale {
  position: relative;
  padding: 88px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(
      60% 120% at 50% 0%,
      rgba(124, 92, 255, 0.22),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01)
    );
  text-align: center;
  overflow: hidden;
}

.finale h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.finale p {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--muted);
}

/* ── Pied de page ──────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 64px 0 48px;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--text);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--faint);
}

/* ── Assistant ─────────────────────────────────────────────────────────── */

.chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 520;
  cursor: pointer;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 1);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chat-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.chat-toggle svg {
  width: 17px;
  height: 17px;
  color: var(--mint);
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  flex-direction: column;
  width: min(392px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: rgba(13, 15, 20, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 1);
  overflow: hidden;
}

.chat-panel.open {
  display: flex;
  animation: rise 0.35s var(--ease);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-head .who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--text);
}

.chat-head .pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.chat-head button {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 44vh;
  overflow-y: auto;
  padding: 18px;
  font-size: 0.9375rem;
}

.bubble-user {
  align-self: flex-end;
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px 16px 5px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: #ece8ff;
}

.bubble-bot {
  max-width: 92%;
  padding: 11px 15px;
  border-radius: 16px 16px 16px 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
}

.chat-form input:focus {
  border-color: rgba(124, 92, 255, 0.6);
}

.chat-form button {
  padding: 11px 18px;
  border: none;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #8f72ff, #6a48f0);
  color: #fff;
  font-family: inherit;
  font-weight: 550;
  font-size: 0.9375rem;
  cursor: pointer;
}

/* ── Pages de contenu ──────────────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 1;
  padding: 56px 0 96px;
}

.page h1 {
  margin-top: 34px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
}

.page .updated {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--faint);
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 1.1875rem;
  font-weight: 560;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
  font-weight: 550;
  color: var(--text-2);
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin-top: 10px;
}

.legal li {
  margin-bottom: 7px;
}

.legal a {
  color: #9d87ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal th,
.legal td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface);
  color: var(--text);
  font-weight: 550;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.back-link:hover {
  color: var(--text);
}

/* ── Activation ────────────────────────────────────────────────────────── */

.notice {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
}

.notice + .notice {
  margin-top: 16px;
}

.notice .title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 560;
  color: var(--text);
}

.notice p + p,
.notice .copy-row + p {
  margin-top: 12px;
}

.notice p:not(.title) {
  font-size: 0.9375rem;
  color: var(--muted);
}

.notice ol {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.notice-warn {
  border-color: rgba(255, 196, 84, 0.34);
  background: linear-gradient(
    180deg,
    rgba(255, 196, 84, 0.07),
    rgba(255, 255, 255, 0.012)
  );
}

.notice-error {
  border-color: rgba(255, 120, 120, 0.34);
  background: linear-gradient(
    180deg,
    rgba(255, 120, 120, 0.06),
    rgba(255, 255, 255, 0.012)
  );
}

.notice-accent {
  border-color: rgba(124, 92, 255, 0.4);
  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.1),
    rgba(255, 255, 255, 0.012)
  );
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.45);
}

.copy-row code {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  color: #7ff0dc;
}

.copy-row button {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.copy-row button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hidden {
  display: none !important;
}

.centered {
  text-align: center;
}

/* ── Écrans étroits ────────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .showcase {
    min-height: 500px;
  }
  .bento,
  .grid-3,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento .span-2 {
    grid-column: span 2;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
  .nav-links {
    display: none;
  }
  /* Le nom de marque, la connexion et l'appel à l'action doivent tenir côte à
     côte sur 320 px sans pousser la page. */
  .nav-signin {
    padding: 8px 6px;
    font-size: 0.875rem;
  }
  .nav .btn-light {
    padding-inline: 16px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .hero .lead {
    font-size: 1.0625rem;
  }
  .section-head h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
  .section {
    padding: 76px 0;
  }
  .container {
    padding-inline: 20px;
  }
  .hero {
    padding: 40px 0 72px;
  }
  .grid-2,
  .grid-3,
  .bento,
  .steps,
  .plans,
  .metrics {
    grid-template-columns: 1fr;
  }
  .bento .span-2 {
    grid-column: span 1;
  }
  .versus {
    grid-template-columns: 1fr;
  }
  .versus-rule {
    width: auto;
    height: 1px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .finale {
    padding: 56px 24px;
  }
  /* Les cartes flottantes débordent du téléphone par choix esthétique. Sur un
     écran de téléphone, ce choix sort de la page : elles rentrent dans le
     cadre et leur largeur est plafonnée par rapport à l'écran, pas en pixels
     fixes. */
  .float-prompt {
    left: 0;
    max-width: min(210px, 54vw);
  }
  .float-status {
    right: 0;
    max-width: min(200px, 52vw);
  }
  .chat-toggle,
  .chat-panel {
    right: 16px;
    bottom: 16px;
  }
}

/* --- Library: what the customer has already made --- */

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.library-card {
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.library-card video,
.library-card img,
.library-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.5);
}

.library-placeholder {
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  color: var(--faint);
}

.library-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
  overflow: hidden;
  font-size: 0.8125rem;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-card figcaption span {
  font-size: 0.75rem;
  color: var(--faint);
}

/* La phrase dite dans le clip. Sur deux lignes au plus : le but est de
   reconnaître la vidéo d'un coup d'œil, pas de relire le texte. */
.library-card .library-script {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  white-space: normal;
}

/* Une voix n'a pas d'image : le lecteur audio prend la place du cadre 9/16
   plutôt que de laisser un rectangle noir. */
.library-card .library-audio {
  display: block;
  width: 100%;
  padding: 12px;
}

.library-card .library-download {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
}

.library-card .library-download:hover {
  text-decoration: underline;
}

.library-title {
  margin: 20px 0 12px;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.library-title:first-of-type {
  margin-top: 14px;
}

/* --- Formulaires de compte et studio -------------------------------------
   Les pages d'inscription, de connexion et de création partagent les mêmes
   champs. Ils étaient écrits en style en ligne, répétés d'une page à l'autre
   et divergents ; les voici une fois pour toutes. */

.field {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.16s ease;
}

.field:focus {
  border-color: var(--accent-2);
}

.field::placeholder {
  color: var(--faint);
}

textarea.field {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.field-label {
  display: block;
  font-weight: 550;
  color: var(--text);
}

.field-hint {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--faint);
}

/* Une ligne qui ne dit rien tant qu'il n'y a rien à dire : pas de place
   réservée qui fait sauter la mise en page à la première erreur. */
.form-message {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-message:empty {
  display: none;
}

.form-message.is-error {
  color: #ff9a8b;
}

.form-message.is-ok {
  color: var(--accent-2);
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.field-row > * {
  flex: 1;
  min-width: 180px;
}

/* --- Studio de création --------------------------------------------------- */

.studio-steps {
  display: flex;
  gap: 8px;
  margin: 18px 0 28px;
  font-size: 0.8125rem;
  color: var(--faint);
  flex-wrap: wrap;
}

.studio-steps span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.studio-steps span.is-current {
  color: var(--text);
  border-color: var(--accent-2);
}

.studio-steps span.is-done {
  color: var(--accent-2);
}

.preview-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 18px;
}

.preview-portrait {
  width: 190px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.preview-side {
  flex: 1;
  min-width: 240px;
}

.preview-side audio {
  width: 100%;
  margin-top: 12px;
}

.progress-track {
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-track i {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 999px;
  background: var(--accent-2);
  animation: progress-slide 1.6s ease-in-out infinite;
}

@keyframes progress-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(340%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track i {
    animation: none;
    width: 100%;
    opacity: 0.6;
  }
}

.result-video {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-top: 16px;
  display: block;
}

/* Le second lecteur de la boucle sans couture : même cadre, fondu croisé. */
.phone-subject video.is-behind {
  opacity: 0;
}

.phone-subject video {
  transition: opacity 0.7s linear;
}

@media (prefers-reduced-motion: reduce) {
  .phone-subject video {
    transition: none;
  }
}

/* La vidéo du téléphone remplace l'illustration : mêmes contraintes de cadre.

   L'affiche compte autant que la vidéo : iOS refuse la lecture automatique en
   mode économie d'énergie, et sans image d'attente le cadre reste noir — ce
   qui, sur la page qui vend des vidéos, est le pire endroit possible pour
   n'avoir rien à montrer. */
.phone-subject video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Barre du haut sur très petit écran -----------------------------------
   À 375 px, la marque, la connexion et l'appel à l'action ne tenaient pas :
   l'ensemble finissait neuf pixels au-delà du bord, ce qui suffit à rendre la
   page glissante. Rien n'est masqué, tout est resserré. */
@media (max-width: 480px) {
  .nav {
    gap: 10px;
  }
  .brand {
    font-size: 1rem;
  }
  .nav-signin {
    padding: 8px 2px;
    font-size: 0.8125rem;
  }
  .nav .btn-light {
    padding-inline: 14px;
    font-size: 0.875rem;
  }
}
