/* =========================================================================
   BUUZZ · Buuzz One · Landing de liste d'attente
   Direction : la chambre la nuit, jusqu'à l'aube. Charbon, blanc cassé, accent ambre.

   Règles du système
   - Thème : sombre uniquement (la marque vit la nuit). Pas d'inversion.
   - Trois couleurs : le charbon (fond), l'ambre (--accent : la lumière du Buuzz One,
     ses halos et les dégradés), le blanc (texte et boutons d'inscription).
     Le rouge sert seulement aux erreurs.
   - Dégradés charbon → ambre : l'aube du haut de page, la démo, l'aube de l'appel final.
     Tout le reste est noir.
   - L'ambre reste rationné : la lumière du réveil (affichage, bouton, son),
     la 2e ligne du grand titre, le focus. Icônes, puces, traits et étiquettes en gris.
     Seule exception : les icônes de la section Smart Wake, en ambre (elles parlent du Buuzz One).
     Dans les écrans de l'app : seulement ce qui vient du Buuzz One (son affichage,
     le temps de lever, la courbe, la fenêtre Smart Wake). Boutons et réglages du cell en gris.
   - Logo : le nom seul, en lettres (pas de pastille).
   - Rayons : cartes, panneaux et champ courriel 16px · boutons et puces 10px
     (le champ = bouton 10px + 6px de marge, rayons concentriques) ·
     étiquettes en pilule 999px · le réveil (objet) 1.6em.
   - Couches (z-index) : nav 50 · grain 60 · lien d'évitement 70.
   ========================================================================= */

:root {
  /* Charbon neutre */
  --bg: #0a0a0b;
  --bg-raise: #0f0f11;
  --surface: #151517;
  --surface-2: #1b1b1e;
  --line: #2b2b2f;
  --line-soft: #1f1f22;
  --line-dash: #3b3b40;

  --text: #f6f4ef;    /* blanc cassé */
  --muted: #c5c1ba;   /* texte courant : 11:1 sur le fond (AAA), lisible au lit écran au minimum */
  --dim: #a7a39c;     /* texte secondaire : 7,9:1 sur le fond (AAA) */

  /* Ambre : le voyant du réveil, le soleil de 6 h. --glow-rgb, plus orangé, sert aux halos et dégradés. */
  --accent: #ffb23f;
  --accent-hi: #ffcd7a;
  --accent-deep: #c77a12;
  --accent-ink: #1f1404;
  --accent-rgb: 255 178 63;
  --glow-rgb: 236 120 24;
  --accent-a08: rgb(var(--accent-rgb) / 0.08);
  --accent-a16: rgb(var(--accent-rgb) / 0.16);
  --accent-a40: rgb(var(--accent-rgb) / 0.4);

  /* Les dégradés charbon → ambre de la marque */
  --dawn: radial-gradient(closest-side, rgb(var(--glow-rgb) / 0.55), rgb(var(--glow-rgb) / 0.18) 45%, transparent 100%);

  --danger: #ff8a7a;

  --r-card: 16px;
  --r-ctl: 10px;
  --r-pill: 999px;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-led: "Doto", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);

  --z-nav: 50;
  --z-grain: 60;
  --z-skip: 70;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain fixe, jamais sur un conteneur qui défile */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  border-radius: var(--r-ctl);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(80px, 9vw, 128px); }

.h-display {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.accent { color: var(--accent); }

/* Textes d'accompagnement : plus grands, en deux tons. Le gris porte le contexte,
   les mots qui comptent (<b>) passent en blanc. */
.lede {
  color: var(--muted);
  font-size: clamp(1.1875rem, 1.55vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 38ch;
  text-wrap: pretty;
}
.lede + .lede { margin-top: 0.75em; }
.lede b { color: var(--text); font-weight: 500; }

.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
/* Le nom seul, en capitales espacées */
.logo__word {
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0.16em;
  margin-right: -0.16em; /* compense l'espacement après la dernière lettre */
  line-height: 1;
}

/* Logo court « BZ » : les lettres du milieu (UUZ) se replient. Ouvert sur grand écran, fermé en mobile.
   L'ouverture à l'arrivée est dans le bloc Mouvement. */
.nav .logo__word { display: inline-flex; }
.logo__mid {
  display: inline-grid;
  grid-template-columns: 1fr;
  transition: grid-template-columns 0.6s var(--ease);
}
.logo__mid-in {
  display: inline-flex;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
/* Dès qu'on défile, le nom se replie en « BZ » ; il se rouvre en revenant tout en haut */
.nav.is-scrolled .logo__mid { grid-template-columns: 0fr; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-ctl);
  font: 600 1rem/1 var(--font-body);
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn i { font-size: 1.15em; }

/* Boutons d'inscription : ambre, encre sombre (10:1). Plus clair au survol. */
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hi); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #4a4a52; background: var(--surface); }

.btn--sm { height: 40px; padding: 0 16px; font-size: 0.9375rem; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Navigation ----------
   En haut : transparente. Au défilement : plus basse (68 → 56px), fond sombre presque opaque,
   un filet à peine visible au lieu d'une bordure, bouton plus compact.
   Les liens restent centrés sur la page (grille 1fr auto 1fr) : ils ne bougent pas
   quand le logo se replie en « BZ ». Le lien de la section en cours passe en blanc (main.js). */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: 68px;
  display: flex;
  align-items: center;
  transition: height 0.35s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  height: 56px;
  background: rgb(10 10 11 / 0.84);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__inner > .logo { justify-self: start; }
.nav__inner > .btn { justify-self: end; transition: height 0.35s var(--ease), background-color 0.2s, transform 0.15s var(--ease); }
.nav.is-scrolled .nav__inner > .btn { height: 36px; }
.nav__links {
  display: flex;
  gap: 32px;
  margin: 0; padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current] { color: var(--text); }

.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; }

/* ---------- Formulaire liste d'attente ---------- */
.signup {
  display: grid;
  gap: 10px;
  max-width: 540px;
}
.signup__label { font-size: 0.875rem; font-weight: 500; }

/* Champ + bouton dans un seul contenant (rayons concentriques 16 = 10 + 6) */
.field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s;
}
.field:hover { box-shadow: inset 0 0 0 1px #3a3a41; }
.field:focus-within { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-a16); }
.field.is-invalid { box-shadow: inset 0 0 0 1px var(--danger); }
.field.is-invalid:focus-within { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px rgb(255 138 122 / 0.16); }
.field__input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 400 1rem var(--font-body);
  outline: none;
}
.field__input::placeholder { color: #93908a; }
.field__btn { height: 50px; }

.signup__error { color: var(--danger); font-size: 0.875rem; }
.signup__help { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.signup__legal { color: var(--dim); font-size: 0.8125rem; line-height: 1.5; }
.signup__legal a { color: var(--muted); text-underline-offset: 3px; }
.signup__legal a:hover { color: var(--text); }

.signup__done {
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--accent-a08);
  box-shadow: inset 0 0 0 1px var(--accent-a40);
  color: var(--text);
  line-height: 1.5;
}
.signup__ok { display: flex; align-items: flex-start; gap: 14px; }
.signup__ok i { flex: none; margin-top: 1px; font-size: 1.5rem; color: var(--accent); }
.signup__done[hidden] { display: none; }

.signup.is-done .signup__label,
.signup.is-done .field,
.signup.is-done .signup__help,
.signup.is-done .signup__legal,
.signup.is-done .signup__error { display: none; }

/* ---------- Le réveil (objet) ---------- */
.device {
  position: relative;
  width: 10em;
  height: 12em;
  padding: 1.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 1.6em;
  background: linear-gradient(165deg, #2a2a2d 0%, #19191b 42%, #0f0f11 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    inset 1px 0 0 rgb(255 255 255 / 0.03),
    0 0 0 1px rgb(255 255 255 / 0.05),
    0 2.4em 3em -1.2em rgb(0 0 0 / 0.85);
}
.device__screen {
  position: relative;
  width: 100%;
  height: 3.8em;
  padding: 0 0.7em;
  display: grid;
  place-items: center;
  border-radius: 0.7em;
  background: #060606;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05), inset 0 0.3em 0.8em rgb(0 0 0 / 0.9);
  overflow: hidden;
}
/* Reflet de la vitre */
.device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.08) 0%, rgb(255 255 255 / 0.02) 34%, transparent 36%);
  pointer-events: none;
}
.device__time {
  font-family: var(--font-led);
  font-weight: 800;
  font-size: 2.05em;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-shadow: 0 0 0.22em rgb(var(--accent-rgb) / 0.75), 0 0 0.8em rgb(var(--glow-rgb) / 0.35);
  white-space: nowrap;
}
.device__time.is-word { font-size: 1.3em; letter-spacing: 0.06em; }
/* Démo, pendant qu'on tient : « BUUZZ » s'allume lettre par lettre. Lettres éteintes en gris sombre. */
.device__time.is-buzz { font-size: 1.8em; letter-spacing: 0.05em; }
.device__time.is-buzz span { display: inline-block; color: #34322e; text-shadow: none; }
.device__time.is-buzz span.on {
  color: var(--accent);
  text-shadow: 0 0 0.22em rgb(var(--accent-rgb) / 0.75), 0 0 0.8em rgb(var(--glow-rgb) / 0.35);
}

/* Deux-points de l'affichage pixel : deux points carrés, alignés sur les chiffres Doto */
.dc {
  position: relative;
  display: inline-block;
  width: 0.3em;
  height: 0.7em;
  margin: 0 0.02em 0 -0.06em;
  vertical-align: baseline;
}
.dc::before,
.dc::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0.11em;
  height: 0.11em;
  margin-left: -0.055em;
  border-radius: 0.025em;
  background: currentColor;
  box-shadow: 0 0 0.2em rgb(var(--accent-rgb) / 0.6);
}
.dc::before { top: 0.15em; }
.dc::after { bottom: 0.15em; }

.device__btn {
  position: relative;
  width: 4.6em;
  height: 4.6em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #303034, #161618 68%);
  box-shadow:
    0 0 0 0.18em #0b0b0c,
    0 0 0 0.3em rgb(var(--accent-rgb) / 0.55),
    0 0 1.4em rgb(var(--glow-rgb) / 0.32),
    inset 0 0.15em 0.2em rgb(255 255 255 / 0.08),
    inset 0 -0.3em 0.6em rgb(0 0 0 / 0.5);
}

/* ---------- 1. Haut de page : une affiche ----------
   Le réveil en 3D, le gros titre, et une invitation à défiler. Rien d'autre :
   le texte arrive dans la section suivante. */
.hero {
  --gx: 50%;
  --gy: 30%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  padding-top: 92px;
  padding-bottom: clamp(36px, 6vh, 64px);
}
/* 1er halo de la page : la lumière du réveil dans la pièce (position calée sur le réveil en JS).
   Le cœur de la lumière est sur le mur de la scène 3D (.wall__light). */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 640px at var(--gx) var(--gy), rgb(var(--glow-rgb) / 0.11), transparent 72%),
    radial-gradient(1500px 1000px at var(--gx) var(--gy), rgb(var(--glow-rgb) / 0.05), transparent 75%);
}
/* Le dégradé de la marque : noir en haut, l'aube ambre qui monte derrière le titre,
   puis retour au noir pour enchaîner avec la section suivante */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -2;
  width: max(1500px, 150%);
  aspect-ratio: 2.6 / 1;
  transform: translate(-50%, 46%);
  border-radius: 50%;
  background: var(--dawn);
  opacity: 0.85;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vh, 40px);
}

/* Zone du visuel : prend toute la hauteur restante au-dessus du titre */
.hero__art {
  flex: 1 1 auto;
  min-height: clamp(170px, 30vh, 440px);
  display: grid;
  place-items: center;
}

/* Le titre remplit la largeur : sa taille suit celle du bloc (unités cqi) */
.hero__copy {
  container-type: inline-size;
  display: grid;
  justify-items: center;
  text-align: center;
}
.hero__title {
  margin-bottom: clamp(26px, 4.5vh, 48px);
  /* Les deux phrases tiennent sur une ligne et remplissent la largeur du bloc */
  font-size: clamp(3rem, 7.3vw, 6.6rem);
  font-size: clamp(3rem, 9.15cqi, 7.6rem);
  font-stretch: 68%;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-wrap: wrap;
}
.hero__line { display: inline-block; white-space: nowrap; }

/* Invitation à défiler : un mot, et un trait où descend une goutte de lumière */
.hero__scroll {
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  padding: 6px 14px;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.hero__scroll:hover { color: var(--text); }
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--line-dash), transparent);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--accent);
  box-shadow: 0 0 6px rgb(var(--accent-rgb) / 0.8);
  transform: translateY(-100%);
}

/* ---------- Simulation 3D : le Buuzz One fixé au mur ----------
   Tout est en CSS 3D, sans image ni librairie. La scène (mur + boîtier) pivote ensemble :
   --rx / --ry sont pilotés par main.js (souris, doigt). Sans JS : pose trois-quarts fixe.
   Unités en em du réveil (10em de large, 12em de haut, 2.64em d'épaisseur). */
.scene {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  perspective: 1000px;
  perspective-origin: 50% 40%;
  font-size: clamp(11px, 2.2vh, 21px);
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.scene.is-dragging { cursor: grabbing; }
.scene__world {
  --rx: 5deg;
  --ry: -26deg;
  position: relative;
  width: 10em;
  height: 12em;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}

/* Le mur, derrière le boîtier */
.wall {
  position: absolute;
  left: 50%; top: 50%;
  width: 56em; height: 30em;
  margin: -15em 0 0 -28em;
  pointer-events: none;
}
.wall > * { position: absolute; }
.wall__light {
  inset: 0;
  background:
    radial-gradient(12.5em 13.5em at 50% 50%, rgb(var(--accent-rgb) / 0.5), transparent 70%),
    radial-gradient(24em 15em at 50% 52%, rgb(var(--glow-rgb) / 0.18), transparent 72%),
    radial-gradient(27em 15em at 50% 50%, rgb(255 255 255 / 0.03), transparent 75%);
}
.wall__shadow {
  left: 50%; top: 50%;
  width: 10em; height: 12em;
  margin: -5.3em 0 0 -4.1em;
  border-radius: 1.6em;
  background: rgb(0 0 0 / 0.85);
  filter: blur(0.9em);
}
.wall__cable {
  left: 50%; top: calc(50% + 5.6em);
  width: 0.22em; height: 8em;
  margin-left: -0.11em;
  border-radius: 0.11em;
  background: linear-gradient(180deg, #2c2c30 0%, #1a1a1c 40%, rgb(26 26 28 / 0) 100%);
}

/* Le boîtier */
.d3 {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.d3__slab {
  position: absolute;
  inset: 0;
  border-radius: 1.6em;
  background: #151517;
  background: color-mix(in srgb, #0a0a0b, #2b2b2f calc(var(--n) * 8%));
  transform: translateZ(calc(var(--n) * 0.22em));
}
.d3__face {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  transform: translateZ(2.64em);
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    inset 1px 0 0 rgb(255 255 255 / 0.03),
    0 0 0 1px rgb(255 255 255 / 0.05);
}
/* Le bouton dépasse de la façade */
.d3__btn { transform-style: preserve-3d; }
.d3__btn > span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #111113;
  transform: translateZ(calc(var(--n) * 0.12em));
}
.d3__btn > .d3__cap {
  background: radial-gradient(circle at 50% 30%, #35353a, #18181a 68%);
  box-shadow: inset 0 0.15em 0.2em rgb(255 255 255 / 0.1), inset 0 -0.3em 0.6em rgb(0 0 0 / 0.5);
}

/* ---------- 2. Le problème ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.problem__title {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  margin-bottom: 26px;
}

/* Téléphone verrouillé : tout en gris. L'ambre, c'est le Buuzz One, pas le cell. */
.lock {
  display: grid;
  place-items: center;
}
.lock__phone {
  width: min(320px, 86%);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(160deg, #26262a, #0e0e10 40%, #18181b);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.08),
    inset 0 0 0 2px #0a0a0b,
    0 40px 80px -30px rgb(0 0 0 / 0.9);
  transform: rotate(-4deg);
}
.lock__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #19191c 0%, #08080a 100%);
}
.lock__island {
  width: 90px; height: 26px;
  border-radius: 999px;
  background: #000;
}
.lock__date {
  margin-top: 30px;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
}
.lock__time {
  margin-top: -4px;
  color: rgb(255 255 255 / 0.94);
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 5.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.lock__stack {
  width: 100%;
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.lock__stack li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.09);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
  opacity: calc(1 - var(--n) * 0.22);
}
.lock__app {
  flex: none;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e9e9e6;
  color: #111113;
  font-size: 18px;
}
.lock__txt { flex: 1; display: grid; line-height: 1.25; font-size: 0.8125rem; }
.lock__txt b { font-weight: 600; }
.lock__txt span { color: rgb(255 255 255 / 0.62); }
.lock__when { align-self: flex-start; color: rgb(255 255 255 / 0.5); font-size: 0.75rem; }

.problem { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Démo : tenir le bouton (2e halo de la page : le réveil qui sonne) ---------- */
.try {
  padding-block: clamp(48px, 6vw, 80px) clamp(72px, 8vw, 112px);
  overflow-x: clip;
}
.demo {
  --p: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.demo__kicker {
  max-width: 17ch;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1;
}
.kicker__muted { color: #808088; }

.demo__side { display: grid; justify-items: center; }
.demo__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(300px, 30vw, 400px);
  font-size: clamp(15px, 1.5vw, 20px);
}
.demo__stage > * { grid-area: 1 / 1; }

/* La lumière du réveil, centrée sur lui. Plus tu tiens, plus ça chauffe. */
.demo__stage::before,
.demo__heat {
  content: "";
  position: absolute;
  inset: -30% -45%;
  z-index: -1;
  pointer-events: none;
}
.demo__stage::before {
  background: radial-gradient(closest-side, rgb(var(--glow-rgb) / 0.2), transparent 78%);
  transition: opacity 1s var(--ease);
}
.demo__heat {
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.3), transparent 70%);
  opacity: var(--p);
}
.demo.is-stopped .demo__stage::before { opacity: 0.25; }
.demo.is-stopped .demo__heat { opacity: 0; transition: opacity 0.6s var(--ease); }

.wave {
  width: 10em;
  height: 12em;
  border-radius: 1.6em;
  box-shadow: inset 0 0 0 1.5px rgb(var(--accent-rgb) / 0.55);
  opacity: 0;
  pointer-events: none;
}

.device--demo { will-change: transform; }
.device__btn--live {
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.3s;
}
.device__btn--live:hover { box-shadow: 0 0 0 0.18em #0b0b0c, 0 0 0 0.3em rgb(var(--accent-rgb) / 0.85), 0 0 1.8em rgb(var(--glow-rgb) / 0.45), inset 0 0.15em 0.2em rgb(255 255 255 / 0.08), inset 0 -0.3em 0.6em rgb(0 0 0 / 0.5); }
.demo.is-holding .device__btn--live { transform: scale(0.94); }
.device__btn--live:focus-visible { outline-offset: 0.6em; border-radius: 50%; }

.device__ring {
  position: absolute;
  inset: -0.55em;
  width: calc(100% + 1.1em);
  height: calc(100% + 1.1em);
  max-width: none;
  transform: rotate(-90deg);
  overflow: visible;
}
.device__ring circle {
  fill: none;
  stroke: var(--accent-hi);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.45s var(--ease);
  filter: drop-shadow(0 0 4px rgb(var(--accent-rgb) / 0.8));
}

.demo.is-stopped .device__time { text-shadow: none; color: var(--accent-hi); }
.demo.is-stopped .device__btn { box-shadow: 0 0 0 0.18em #0b0b0c, 0 0 0 0.3em rgb(var(--accent-rgb) / 0.25), inset 0 0.15em 0.2em rgb(255 255 255 / 0.08); }
.demo.is-stopped .device__btn--live { cursor: default; }

.demo__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.demo__status i { font-size: 20px; color: var(--muted); }
.demo.is-holding .demo__status { color: var(--text); box-shadow: inset 0 0 0 1px #4a4a52; }
.demo.is-stopped .demo__status { color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px #4a4a52; }
.demo__reset { display: flex; margin-top: 14px; }
.demo__reset[hidden] { display: none; }

/* ---------- 3. Comment ça marche ---------- */
.how__title {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 15ch;
}
/* Deux étapes : chacune son dessin dans un panneau, le texte dessous sur le fond de la page.
   Un seul objet par panneau, rien autour. */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
}
.step__visual {
  position: relative;
  height: clamp(240px, 24vw, 320px);
  display: grid;
  place-items: center;
  border-radius: var(--r-card);
  background: #111113;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
}
.step__body { padding: 24px 4px 0; }
.step h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.step p { color: var(--muted); max-width: 40ch; }

/* Mini app : régler l'heure (le cell reste en gris) */
.mini-app {
  width: 232px;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: #1b1b1e;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07), 0 24px 40px -20px rgb(0 0 0 / 0.8);
}
.mini-app__top {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.mini-app__time {
  margin: 6px 0 16px;
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mini-app__send {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 10px;
  background: var(--text);
  color: #111113;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Volume qui monte : c'est le Buuzz One qui sonne, donc en ambre */
.ramp { display: grid; justify-items: center; gap: 22px; width: 240px; }
.ramp__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 100%;
  height: 92px;
}
.ramp__bars span {
  flex: 1;
  height: calc(14% + var(--k) * 6.6%);
  border-radius: 3px;
  background: var(--accent);
  opacity: calc(0.35 + var(--k) * 0.05);
}
.led {
  font-family: var(--font-led);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 0.25em rgb(var(--accent-rgb) / 0.55);
  font-variant-numeric: tabular-nums;
}
.ramp__time { font-size: 1.9rem; }

/* Étiquette (ex. « Bêta » dans Smart Wake) */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-dash);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- 4. L'app : trois moments ---------- */
.app__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.app__title { font-size: clamp(2.5rem, 5.2vw, 4.6rem); max-width: 11ch; }

.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.moment {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.moment__copy { padding-bottom: 36px; }
.moment__when {
  margin-bottom: 14px;
  color: var(--dim);
  font-size: 0.9375rem;
  font-weight: 500;
}
.moment h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.moment__copy p:last-child { color: var(--muted); max-width: 36ch; }

/* Téléphone coupé : le haut de l'écran, qui se fond dans le noir */
.phone {
  flex: none;
  width: min(300px, 100%);
  height: 580px;
  margin: auto auto 0;
  padding: 9px 9px 0;
  border-radius: 46px 46px 0 0;
  background: linear-gradient(160deg, #26262a, #0e0e10 40%, #18181b);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.phone__screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 18px 0;
  border-radius: 38px 38px 0 0;
  background: #0c0c0e;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.phone__screen > * { flex: none; }
.phone__island {
  align-self: center;
  width: 78px; height: 22px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #000;
}

/* Le Buuzz One dans l'app : le composant .device, en petit */
.ui-device {
  display: grid;
  place-items: center;
  padding: 4px 0 22px;
  font-size: 11px;
}
.ui-device--lit { background: radial-gradient(closest-side, rgb(var(--glow-rgb) / 0.2), transparent 100%); }
.device--mini {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    0 0 0 1px rgb(255 255 255 / 0.05),
    0 1.6em 2em -1.2em rgb(0 0 0 / 0.9);
}
/* Alarme arrêtée : l'affichage ne brille plus, l'anneau du bouton s'éteint (comme la démo) */
.device--done .device__time { color: var(--accent-hi); text-shadow: none; }
.device--done .device__btn { box-shadow: 0 0 0 0.18em #0b0b0c, 0 0 0 0.3em rgb(var(--accent-rgb) / 0.25), inset 0 0.15em 0.2em rgb(255 255 255 / 0.08); }

.ui-over {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ui-over--split { display: flex; justify-content: space-between; gap: 10px; }
.ui-over--split span:last-child { color: var(--text); letter-spacing: 0.02em; text-transform: none; font-size: 0.75rem; font-weight: 500; }
.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-block: 1px solid #1e1e21;
  color: var(--dim);
}
.ui-row b { color: var(--text); font-weight: 500; }
.ui-row--past { margin-top: 14px; border-bottom: 0; }
.ui-row--next { border-top: 0; }
.ui-quote + .ui-row { margin-top: 18px; }
.ui-dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--text);
  vertical-align: 0.1em;
}
.ui-q { margin: 5px 0 9px; color: var(--text); font-weight: 500; }
.ui-note {
  min-height: 82px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #141416;
  box-shadow: inset 0 0 0 1px #26262a;
  color: var(--text);
}
.ui-big {
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-size: 2.6rem;
}
.ui-sub { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.ui-sub b { color: var(--accent); font-weight: 700; }
.ui-quote { margin-top: 6px; color: var(--text); font-size: 0.9375rem; font-weight: 500; line-height: 1.35; }
.ui-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 0;
  border-block: 1px solid #1e1e21;
}
.ui-stats b {
  display: block;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ui-stats p:first-child b { color: var(--accent); }
.ui-stats span { color: var(--dim); font-size: 0.6875rem; }
.ui-chart { width: 100%; height: 84px; margin-top: 10px; overflow: visible; }
.ui-chart path { fill: none; }
.ui-chart__grid { stroke: #1e1e21; stroke-width: 1; }
.ui-chart__line {
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
}
.ui-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 4px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1e1e21;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ui-cal span { position: relative; padding-bottom: 11px; color: #6b6b73; }
.ui-cal .h { padding-bottom: 6px; font-size: 0.6875rem; }
.ui-cal .ok { color: var(--text); }
.ui-cal .ok::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}
.ui-cal .no { text-decoration: line-through; }

/* ---------- 5. Smart Wake (d'après la maquette « Landing · Section Smart Wake ») ----------
   Deux colonnes : le texte et ses trois étapes à gauche, le panneau à droite.
   Le panneau : une barre par minute de la fenêtre. Gris = ton sommeil ; ambre = le moment où
   le Buuzz sonne ; sombre = après, ce qui ne s'est pas passé. Les icônes de cette section sont
   en ambre : elles parlent de ce que fait le Buuzz One. */
.wake__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: start;
}
.wake__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.tag--beta {
  padding: 2px 9px;
  background: var(--accent);
  box-shadow: none;
  color: var(--accent-ink);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}
.wake__title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  margin-bottom: 26px;
}
.wake__lede { max-width: 44ch; }

.wake__steps {
  margin: clamp(36px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-soft);
}
.wake__steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.wake__steps .ph { color: var(--accent); font-size: 23px; line-height: 1.15; }
.wake__icon { width: 23px; height: 23px; color: var(--accent); margin-top: 1px; }
.wake__steps h3 { margin-bottom: 4px; font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.wake__steps p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

/* Le panneau, aligné sur le haut du titre */
.wake__side { margin-top: 36px; }
.sw {
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sw__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
}
.sw__label {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sw__value {
  margin-top: 6px;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.sw__picks { display: flex; gap: 8px; }
.sw__pick {
  min-width: 76px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.sw__pick:hover { color: var(--text); box-shadow: inset 0 0 0 1px #4a4a52; }
.sw__pick[aria-pressed="true"] { background: var(--text); box-shadow: none; color: var(--bg); }

/* Les barres : la hauteur (--h, 0 → 1) vient du HTML ; la place du « 5:52 » est gardée en haut */
.sw__chart { margin-top: clamp(20px, 2.4vw, 28px); }
.sw__bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(2px, 0.36vw, 5px);
  height: clamp(200px, 17vw, 246px);
  padding-top: 36px;
}
.sw__bar {
  position: relative;
  flex: 1;
  min-width: 0;
  height: calc(var(--h) * 100%);
  border-radius: 3px 3px 1px 1px;
  background: #4f4f56;
}
.sw__bar.is-after { background: #26262a; }
.sw__bar.is-ring { background: var(--accent); box-shadow: 0 0 18px rgb(var(--glow-rgb) / 0.35); }
.sw__bar.is-ring span {
  position: absolute;
  left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sw__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--dim);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

/* Le moment où il sonne : le Buuzz One en petit, « DEBOUT » sur l'affichage */
.sw__ring {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.sw__device { flex: none; font-size: 5.4px; }
.sw__ring p { color: var(--muted); line-height: 1.5; }
.sw__ring strong { display: block; color: var(--text); font-size: 1.0625rem; font-weight: 600; }

/* Le filet de sécurité : teinté ambre, c'est le Buuzz qui sonne quand même */
.wake__safe {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: rgb(var(--accent-rgb) / 0.05);
  box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.2);
  color: var(--muted);
  line-height: 1.55;
}
.wake__safe .ph { flex: none; color: var(--accent); font-size: 22px; line-height: 1.2; }
.wake__safe b { color: var(--text); font-weight: 600; }

.wake__fine {
  max-width: 110ch;
  margin-top: clamp(48px, 6vw, 80px);
  color: var(--dim);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ---------- 6. Construit en public ---------- */
.public__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.public__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 24px;
}
.public__copy .lede { margin-bottom: 36px; }

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.reel { margin: 0; }
.reel--a { margin-top: 64px; }
.reel--c { margin-top: 32px; }
.reel__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.reel--a .reel__frame { background: radial-gradient(80% 50% at 50% 70%, rgb(var(--glow-rgb) / 0.22), transparent 70%), #111113; }
.reel--b .reel__frame { background: radial-gradient(70% 45% at 30% 30%, rgb(var(--glow-rgb) / 0.16), transparent 70%), linear-gradient(180deg, #19191c, #0f0f11); }
.reel--c .reel__frame { background: radial-gradient(90% 40% at 70% 100%, rgb(var(--glow-rgb) / 0.14), transparent 70%), #141416; }
.reel__play {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 20px;
}
.reel figcaption { margin-top: 12px; color: var(--muted); font-size: 0.875rem; }

/* ---------- 7. FAQ ---------- */
.faq__inner { max-width: 860px; }
.faq__title {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  margin-bottom: 40px;
}
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: none;
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary i { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p {
  max-width: 62ch;
  padding-bottom: 26px;
  color: var(--muted);
}

/* ---------- 8. Appel final ---------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(120px, 15vw, 200px) clamp(110px, 13vw, 170px);
  text-align: center;
}
.final__dawn {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: max(1400px, 140%);
  aspect-ratio: 2.4 / 1;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: var(--dawn);
}
.final__title {
  max-width: 17ch;
  margin: 0 auto 26px;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
}
.final__lede { margin: 0 auto 44px; max-width: 46ch; }
.signup--center { margin-inline: auto; text-align: left; }

/* ---------- Pied de page ---------- */
.footer {
  padding-block: 56px 36px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__top,
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.footer .logo__word { font-size: 1.0625rem; color: var(--text); }

.footer__social {
  display: flex;
  gap: 10px;
  margin: 0; padding: 0;
  list-style: none;
}
.footer__social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 19px;
  transition: color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.footer__social svg { width: 20px; height: 20px; display: block; }
.footer__social a:hover { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px #4a4a52; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0; padding: 0;
  list-style: none;
}
.footer__links a { text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--dim); }

/* =========================================================================
   Mouvement (respecte prefers-reduced-motion)
   Rien n'est caché en attendant le défilement : pas de fondu générique.
   Seules restent les animations qui racontent le produit, jouées une fois.
   La démo est le seul élément qui bouge en continu (le réveil sonne).
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* Entrée du haut de page : courte */
  .hero [data-enter] {
    opacity: 0;
    transform: translateY(10px);
    animation: enter 0.5s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 60ms + 80ms);
  }
  .hero__glow { animation: light-on 1.4s ease-out 0.3s both; }
  .hero__scroll-line::after { animation: scroll-drop 2.2s var(--ease) 1.4s infinite; }
  /* L'affichage du réveil s'allume, et la scène 3D pivote de face vers sa pose trois-quarts (main.js) */
  .device--hero .device__time { animation: led-on 1.1s linear 0.7s both; }
  .device__colon { animation: colon 2s steps(1) infinite; }
  .wall__light { animation: light-on 1.2s ease-out 0.5s both; }
  .js .scene__world { --rx: 2deg; --ry: -4deg; }

  /* Logo : on arrive sur « BZ », puis le nom s'ouvre (en mobile, il reste fermé) */
  .nav .logo__mid { animation: logo-open 0.8s var(--ease) 0.7s backwards; }
  .nav .logo__mid-in > span {
    animation: logo-letter 0.5s var(--ease) backwards;
    animation-delay: calc(0.78s + var(--l) * 70ms);
  }
  /* Le nom est un son : une fois ouvert, le logo vibre deux fois (« bzz-bzz »).
     À l'arrivée, c'est le lien qui vibre ; au survol et au focus, c'est le mot.
     Deux éléments différents, pour que quitter le survol ne rejoue pas l'arrivée. */
  .nav .logo { animation: logo-buzz 0.7s linear 1.75s both; }
  .logo:hover .logo__word,
  .logo:focus-visible .logo__word { animation: logo-buzz 0.7s linear; }

  /* Les snoozes s'empilent */
  .js .lock .lock__stack li { opacity: 0; transform: translateY(-10px); }
  .js .lock.is-in .lock__stack li {
    animation: stack-in 0.35s var(--ease) forwards;
    animation-delay: calc((3 - var(--n)) * 180ms + 150ms);
  }

  /* Le volume monte, une fois */
  .js .step--ring .ramp__bars span { background: #2a2a2f; opacity: 1; }
  .js .step--ring.is-in .ramp__bars span {
    animation: ramp-on 0.3s ease-out forwards;
    animation-delay: calc(var(--k) * 70ms + 200ms);
  }

  /* Le réveil sonne */
  .demo.is-ringing .wave { animation: wave 2.4s var(--ease) infinite; }
  .demo.is-ringing .wave:nth-of-type(2) { animation-delay: 0.8s; }
  .demo.is-ringing .wave:nth-of-type(3) { animation-delay: 1.6s; }
  .demo.is-ringing .device--demo { animation: buzz 1.3s linear infinite; }
  .demo.is-ringing .device--demo .device__time { animation: blink 1s steps(1) infinite; }
  .demo.is-holding .device--demo { animation: none; }
  .demo.is-holding .wave { animation-duration: 1.2s; }
  .demo.is-holding .device--demo .device__time { animation: none; }
  .device__time.is-buzz span.on { animation: letter-on 0.28s var(--ease); }

  /* La courbe du temps de lever se trace, une fois */
  .js .moment--progress .ui-chart__line { stroke-dashoffset: 100; }
  .js .moment--progress.is-in .ui-chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }

  /* Smart Wake : la nuit se trace, puis le moment où il sonne apparaît, une fois */
  .js .sw:not(.is-in) .sw__bar { height: 0; }
  .js .sw.is-in .sw__bar {
    animation: bar-grow 0.55s var(--ease) backwards;
    animation-delay: calc(var(--i) * 22ms + 100ms);
  }
  .js .sw.is-in .sw__bar.is-ring span { animation: light-on 0.3s ease-out backwards; animation-delay: calc(var(--i) * 22ms + 500ms); }

  /* L'aube se lève */
  .js .final .final__dawn { transform: translate(-50%, 82%); transition: transform 1.4s var(--ease) 0.1s; }
  .js .final.is-in .final__dawn { transform: translate(-50%, 50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo__mid { transition: none; }
}

@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes bar-grow { from { height: 0; } }
@keyframes light-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes led-on {
  0% { opacity: 0; }
  18% { opacity: 0.9; }
  24% { opacity: 0.15; }
  40% { opacity: 1; }
  46% { opacity: 0.5; }
  60%, 100% { opacity: 1; }
}
@keyframes logo-open { from { grid-template-columns: 0fr; } }
@keyframes logo-letter { from { opacity: 0; transform: translateX(-0.35em); } }
@keyframes letter-on { from { transform: scale(1.35); color: var(--accent-hi); } }
@keyframes scroll-drop { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }
@keyframes logo-buzz {
  0%, 36%, 50%, 86%, 100% { transform: none; }
  5%, 55% { transform: translateX(-1.5px) rotate(-1.2deg); }
  10%, 60% { transform: translateX(1.5px) rotate(1.2deg); }
  15%, 65% { transform: translateX(-1.5px) rotate(-0.9deg); }
  20%, 70% { transform: translateX(1.5px) rotate(0.9deg); }
  25%, 75% { transform: translateX(-1px) rotate(-0.5deg); }
  30%, 80% { transform: translateX(1px) rotate(0.5deg); }
}
@keyframes colon { 50% { opacity: 0.15; } }
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes stack-in { to { opacity: calc(1 - var(--n) * 0.22); transform: none; } }
@keyframes ramp-on { to { background: var(--accent); opacity: calc(0.35 + var(--k) * 0.05); } }
@keyframes wave {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.75); opacity: 0; }
}
@keyframes buzz {
  0%, 34%, 100% { transform: none; }
  4% { transform: translateX(-2px) rotate(-0.8deg); }
  8% { transform: translateX(2px) rotate(0.8deg); }
  12% { transform: translateX(-2px) rotate(-0.6deg); }
  16% { transform: translateX(2px) rotate(0.6deg); }
  20% { transform: translateX(-1px) rotate(-0.3deg); }
  24% { transform: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links { display: none; }

  /* Titre sur deux lignes */
  .hero { padding-top: 84px; padding-bottom: 28px; }
  .hero__art { min-height: clamp(150px, 22vh, 300px); }
  .scene { font-size: clamp(11px, 1.9vh, 19px); }
  .hero__title { font-size: clamp(2.9rem, 15vw, 6.4rem); font-size: clamp(2.9rem, 17cqi, 6.4rem); }
  .hero__line { display: block; }

  .problem__grid { grid-template-columns: 1fr; }
  .lock { order: 2; }

  .demo { grid-template-columns: 1fr; gap: 24px; }

  .app__head { grid-template-columns: 1fr; align-items: start; }
  /* Un moment par ligne : le texte à gauche, son écran à droite */
  .moments { grid-template-columns: 1fr; gap: 0; }
  .moment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(300px, 46%);
    gap: 32px;
    align-items: start;
    padding-top: 28px;
  }
  .phone { width: 100%; height: 490px; margin: 0; }
  .wake__grid { grid-template-columns: 1fr; }
  .wake__side { margin-top: 0; }

  .public__grid { grid-template-columns: 1fr; }
  .public__copy { order: -1; }
}

@media (max-width: 640px) {
  /* Logo court : « BZ » seul */
  .nav .logo__mid { grid-template-columns: 0fr; }
  .nav .logo { animation-delay: 0.9s; } /* pas d'ouverture à attendre */

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step__visual { height: 240px; }
  .step__body { padding-top: 20px; }
  .sw__picks { width: 100%; }
  .sw__pick { flex: 1; min-width: 0; min-height: 44px; }
  .wake__safe { padding: 18px 20px; }

  .moment { display: flex; }
  .moment__copy { padding-bottom: 28px; }
  .phone { width: min(300px, 100%); height: 480px; margin-inline: auto; }
  .moment + .moment { margin-top: 8px; }

  .reels { gap: 10px; }
  .reel--a { margin-top: 40px; }
  .reel--c { margin-top: 20px; }
  .reel__play { width: 40px; height: 40px; font-size: 16px; }
  .reel figcaption { font-size: 0.8125rem; }

  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav .btn--sm { padding: 0 14px; }
  .field { flex-direction: column; align-items: stretch; }
  .field__input { flex: none; }
  .field__btn { width: 100%; }
  .demo__status { padding: 10px 14px; border-radius: var(--r-card); font-size: 0.875rem; text-align: left; }
  .hero { padding-top: 76px; }
  .hero__title { margin-bottom: 22px; }
}
