:root {
  --color-bg: #07070b;
  --color-bg-elevated: #0e0f15;
  --color-surface: #15171c;
  --color-accent: #ff9f5a;
  --color-accent-warm: #ff6f7d;
  --color-accent-cool: #8c6cf0;
  --color-on-accent: #1a0e05;
  --color-text: #f7f6f3;
  --color-text-muted: #9b9aa3;
  --color-text-subtle: #63626b;
  --color-peach: #ffb38a;
  --color-lavender: #b9aeea;
  --color-sage: #a8c7b0;
  --color-danger: #ff6b57;
  --color-alarm: #ff3b5c;
  --color-glass: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --font-body: 'Alan Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius-large: 1.5rem;
  --radius-medium: 1rem;
  --radius-small: 0.625rem;
  --gutter: 1rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Hauteur où s'épinglent les téléphones du récit (problème, solo) */
  --story-pin-top: max(4.75rem, calc(50vh - 17rem));
  color-scheme: dark;
}

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

/* Pas de scroll-behavior: smooth ici : ScrollTrigger remesure en ramenant
   le défilement en haut puis en le rendant, et le défilement doux transforme
   ce saut en animation. Toutes les révélations se calculaient alors décalées
   de la position de la page (arrivée par #telecharger, rechargement au
   milieu). Les ancres défilent en douceur par js/halo-lp.js. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
}

.padding-global {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.container-large,
.container-medium,
.container-small {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.container-large {
  max-width: 72rem;
}

.container-medium {
  max-width: 50rem;
}

.container-small {
  max-width: 40rem;
}

.padding-section-hero {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.padding-section-medium {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.padding-section-large {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.heading-style-h1 {
  font-size: clamp(2.25rem, 1.55rem + 3.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.heading-style-h2 {
  font-size: clamp(1.75rem, 1.35rem + 2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.heading-style-h2.is-small {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
}

.heading-style-h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.text-size-large {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-text-muted);
}

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

.text-color-muted {
  color: var(--color-text-muted);
}

/* Rouge d'alerte des scènes du problème : un rouge framboise vif, avec un
   léger halo de la même teinte pour qu'il brille sur le fond sombre */
.text-color-alarm {
  color: var(--color-alarm);
  text-shadow: 0 0 1.5rem rgba(255, 59, 92, 0.35);
}

.text-color-peach {
  color: var(--color-peach);
}

.text-color-lavender {
  color: var(--color-lavender);
}

.section_title {
  margin-bottom: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}

.button:hover {
  background: #ffb277;
}

.button:active {
  transform: scale(0.97);
}

.button.is-small {
  min-height: 2.5rem;
  padding: 0 1.125rem;
  font-size: 0.9375rem;
}

.nav_component {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Fond opaque plutôt qu'un flou : un backdrop-filter au-dessus de deux
     canevas WebGL animés se recalcule à chaque image */
  background: rgba(7, 7, 11, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav_component.is-scrolled {
  border-bottom-color: var(--color-border);
}

.nav_layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding-top: env(safe-area-inset-top);
}

/* Bouton du header : compact, il tient dans les 56 px de la barre */
.nav_cta.specular-button {
  --sb-radius: 12px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
}

.nav_brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav_logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.section_hero {
  position: relative;
  overflow: hidden;
}

.section_hero > .padding-global {
  position: relative;
  z-index: 1;
}

.hero-3d_component {
  display: none;
}

.hero_layout {
  display: grid;
  gap: 3rem;
}

/* Espacements du hero sur une grille de 8 px : titre > texte 24, texte > CTA 40,
   boutons > note 16 */
.hero_content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero_content > .store_component {
  margin-top: 1rem;
  gap: 1rem;
}

.hero_content .store_buttons {
  gap: 0.5rem;
}

.hero_subtitle {
  max-width: 34rem;
}

/* Mots du titre, découpés par halo-lp.js pour l'entrée en flou */
.blur-word {
  display: inline-block;
}

.store_component {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.store_component.is-center {
  align-items: center;
  text-align: center;
}

.store_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.store_component.is-center .store_buttons {
  justify-content: center;
}

.store_button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 8.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.875rem 0.375rem 0.6875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border-strong);
  background: var(--color-glass);
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.15;
  text-align: left;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, background-color 0.2s;
}

.store_button:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.store_button:active {
  transform: scale(0.97);
}

.store_button.is-primary {
  order: -1;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}

.store_button.is-primary:hover {
  background: #ffb277;
}

.store_button.is-secondary-os {
  min-width: 0;
  min-height: 2.75rem;
  opacity: 0.7;
}

.store_icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.store_text {
  display: flex;
  flex-direction: column;
}

.store_label {
  font-size: 0.6875rem;
  opacity: 0.75;
  white-space: nowrap;
}

.store_name {
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store_note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero_visual {
  display: flex;
  justify-content: center;
}

.phone_component {
  position: relative;
  width: min(17.5rem, 76vw);
  aspect-ratio: 9 / 19;
  border-radius: 2.75rem;
  padding: 0.5rem;
  background: linear-gradient(160deg, #22232a, #0d0d12 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.phone_screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2.3rem;
  overflow: hidden;
  background: var(--color-bg);
}

.phone_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo_component {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.125rem 1.25rem;
}

.demo_top {
  position: relative;
  height: 1.75rem;
  width: 100%;
}

.demo_label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.5s;
}

.demo_component[data-scene='focus'] .demo_label.is-focus,
.demo_component[data-scene='duel'] .demo_label.is-duel,
.demo_component[data-scene='blocker'] .demo_label.is-blocker {
  opacity: 1;
}

.demo_halo {
  width: 78%;
  aspect-ratio: 1;
  margin-top: 0.5rem;
}

.halo_canvas {
  width: 100%;
  height: 100%;
}

.demo_stage {
  position: relative;
  flex: 1;
  width: 100%;
}

.demo_scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
  pointer-events: none;
}

.demo_component[data-scene='focus'] .demo_scene.is-focus,
.demo_component[data-scene='duel'] .demo_scene.is-duel,
.demo_component[data-scene='blocker'] .demo_scene.is-blocker {
  opacity: 1;
  transform: none;
}

.demo_timer {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.demo_caption {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.duel-live_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-small);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

.duel-live_name {
  font-weight: 600;
}

.duel-live_pill {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.duel-live_pill.is-on {
  background: rgba(168, 199, 176, 0.14);
  color: var(--color-sage);
}

.duel-live_pill.is-off {
  background: rgba(255, 107, 87, 0.16);
  color: var(--color-danger);
}

.duel-live_win {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.duel-live_win.is-shown {
  opacity: 1;
  transform: none;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.apps-grid_tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: var(--color-text-muted);
  transition: transform 0.2s var(--ease-out);
}

.apps-grid_icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.apps-grid_icon.is-insta {
  background: linear-gradient(135deg, #5b4bd1, #d6397a 55%, #f4a04a);
}

.apps-grid_icon.is-tiktok {
  background: #111;
  box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55;
}

.apps-grid_icon.is-yt {
  background: #e33;
}

.apps-grid_tile.is-tapped {
  transform: scale(0.88);
}

.blocked_card {
  position: absolute;
  inset: 18% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: var(--radius-medium);
  background: rgba(14, 15, 21, 0.94);
  border: 1px solid var(--color-border);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}

.blocked_card.is-shown {
  opacity: 1;
  transform: none;
}

.blocked_title {
  font-size: 0.875rem;
  font-weight: 600;
}

.blocked_text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.demo_score {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(185, 174, 234, 0.1);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.demo_score-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-lavender);
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease-out);
}

.demo_score-value.is-bumped {
  transform: scale(1.25);
}

.demo_spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #fff4e0;
  box-shadow: 0 0 12px 4px rgba(255, 159, 90, 0.8);
  opacity: 0;
  pointer-events: none;
}

/* Jonction hero / corps : une vague qui dérive, sans trait. Deux couches,
   chacune masquée par une ligne ondulée très adoucie : la première floute le
   décor, la seconde le fond dans la couleur de la page. Le masque du fondu
   croise deux vagues de périodes différentes, qui glissent à des vitesses
   différentes : leur rencontre déforme la ligne en continu, sans motif
   répété. Chaque masque avance d'une période exacte par cycle, la boucle ne
   saute donc jamais. */
.section_problem {
  --wave-blur: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' preserveAspectRatio='none'><filter id='b' x='-1' y='-1' width='3' height='3'><feGaussianBlur stdDeviation='18'/></filter><path filter='url(%23b)' d='M-240 40Q-180 8 -120 40T0 40T120 40T240 40T360 40T480 40V200H-240Z'/></svg>");
  --wave-fade-a: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' preserveAspectRatio='none'><filter id='b' x='-1' y='-1' width='3' height='3'><feGaussianBlur stdDeviation='12'/></filter><path filter='url(%23b)' d='M-240 46Q-180 18 -120 46T0 46T120 46T240 46T360 46T480 46V200H-240Z'/></svg>");
  --wave-fade-b: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' preserveAspectRatio='none'><filter id='b' x='-1' y='-1' width='3' height='3'><feGaussianBlur stdDeviation='10'/></filter><path filter='url(%23b)' d='M-240 50Q-180 30 -120 50T0 50T120 50T240 50T360 50T480 50V200H-240Z'/></svg>");
  --wave-blur-size: 36rem;
  --wave-fade-a-size: 30rem;
  --wave-fade-b-size: 19rem;
  position: relative;
}

.section_problem::before,
.section_problem::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -7.4rem;
  height: 8rem;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

.section_problem::before {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: var(--wave-blur);
  mask-image: var(--wave-blur);
  -webkit-mask-size: var(--wave-blur-size) 100%;
  mask-size: var(--wave-blur-size) 100%;
  animation: wave-drift-blur 22s linear infinite;
}

.section_problem::after {
  background: var(--color-bg);
  -webkit-mask-image: var(--wave-fade-a), var(--wave-fade-b);
  mask-image: var(--wave-fade-a), var(--wave-fade-b);
  -webkit-mask-size: var(--wave-fade-a-size) 100%, var(--wave-fade-b-size) 100%;
  mask-size: var(--wave-fade-a-size) 100%, var(--wave-fade-b-size) 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: wave-drift-fade 16s linear infinite;
}

@keyframes wave-drift-blur {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: var(--wave-blur-size) 0;
    mask-position: var(--wave-blur-size) 0;
  }
}

@keyframes wave-drift-fade {
  from {
    -webkit-mask-position: 0 0, 0 0;
    mask-position: 0 0, 0 0;
  }
  to {
    -webkit-mask-position: var(--wave-fade-a-size) 0, var(--wave-fade-b-size) 0;
    mask-position: var(--wave-fade-a-size) 0, var(--wave-fade-b-size) 0;
  }
}

/* Téléphone 3D du récit (js/halo-story-phone.js) : un canvas fixe posé sur la
   page, qui dessine le téléphone sur les emplacements réservés ci-dessous */
.story-phone_canvas {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.story_slot {
  display: none;
}

.problem_title {
  max-width: 44rem;
}

/* L'écran verrouillé suit la lecture des scènes : l'horloge avance d'une
   journée, les notifications s'empilent sur le Halo du fond d'écran, qui
   passe au gris (piloté par js/halo-lp.js via --drain, de 0 à 1). Le rendu
   imite iOS : police système d'Apple (Inter ailleurs), notifications en verre
   dépoli, entrée en ressort. Sur mobile, l'écran se réduit à une barre collée
   sous la nav. */
.problem_layout {
  margin-top: 2.5rem;
}

.problem_visual {
  position: sticky;
  top: 4.5rem;
  z-index: 3;
}

.lock_component {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border-radius: 1.25rem;
  background: rgba(28, 28, 32, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
}

.lock_screen {
  display: grid;
  grid-template-columns: 3rem auto minmax(0, 1fr);
  grid-template-areas: 'halo time notif';
  align-items: center;
  gap: 0.75rem;
}

.lock_head {
  grid-area: time;
  display: flex;
  flex-direction: column;
}

.lock_date,
.lock_island,
.lock_home {
  display: none;
}

.lock_time {
  font-size: 1.625rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.lock_wallpaper {
  grid-area: halo;
  width: 3rem;
  height: 3rem;
  opacity: calc(1 - var(--drain, 0) * 0.3);
}

.lock_stack {
  grid-area: notif;
  min-width: 0;
}

.lock_notif {
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.lock_notif.is-on {
  display: flex;
  animation: lock-notif-in 0.7s cubic-bezier(0.32, 1.3, 0.5, 1) both;
}

.lock_notif.is-on ~ .lock_notif {
  display: none;
}

/* Arrivée d'une notification iOS : elle monte, grossit en ressort et sort du flou */
@keyframes lock-notif-in {
  from {
    opacity: 0;
    transform: translateY(0.9rem) scale(0.9);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.lock_notif-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #000;
  filter: saturate(calc(1 - var(--drain, 0) * 0.9));
}

.lock_notif-icon.is-light {
  background: #fff;
}

.lock_notif-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.lock_notif-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.lock_notif-title,
.lock_notif-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lock_notif-title {
  font-size: 0.75rem;
  font-weight: 600;
}

.lock_notif-time {
  flex: none;
  font-size: 0.6875rem;
  color: rgba(235, 235, 245, 0.6);
  font-variant-numeric: tabular-nums;
}

.lock_notif-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ul.problem_list : passe devant la remise à zéro ul[role='list'] */
ul.problem_list {
  display: flex;
  flex-direction: column;
  gap: 26vh;
  margin-top: 2.5rem;
}

.problem_scene {
  max-width: 34rem;
  font-size: clamp(1.3125rem, 1.1rem + 1.1vw, 1.875rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

/* ScrollReveal (js/scroll-reveal.js) : chaque mot est animé séparément */
.scroll-reveal .word {
  display: inline-block;
}

.problem_switch {
  max-width: 44rem;
  margin-top: 4rem;
  font-size: clamp(1.625rem, 1.3rem + 1.7vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

[data-reveal] {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(1rem);
}

.split_layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.split_layout.is-level {
  margin-top: 5rem;
}

.split_content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature_list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.feature_item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.feature_item p,
.mode_list li {
  color: var(--color-text-muted);
}

.mode_list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mode_list strong {
  color: var(--color-text);
  font-weight: 600;
}

.card_component {
  padding: 1.25rem;
  border-radius: var(--radius-large);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}

.card_eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.session_card {
  max-width: 22rem;
  margin: 0 auto;
}

.session_halo {
  width: 62%;
  aspect-ratio: 1;
  margin: 0 auto 0.5rem;
}

.stat_row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-top: 1px solid var(--color-border);
}

.stat_label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.stat_value {
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.meter_component {
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter_fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 1.4s var(--ease-out);
}

.meter_fill.is-lavender {
  background: var(--color-lavender);
}

.duels_grid {
  display: grid;
  gap: 1rem;
}

/* Duels : trois pistes sans carte. Chaque duel montre sa mécanique en
   s'animant à l'apparition, puis un grand mot donne l'issue. */
.duel_track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.duel_head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.duel_index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.duel_name {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.duel_who {
  width: 3rem;
  flex: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.duel_word {
  font-size: clamp(3.5rem, 2rem + 4.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.duel_word.is-lose { color: var(--color-alarm); }
.duel_word.is-win { color: var(--color-accent); }
.duel_word.is-draw { color: var(--color-text-subtle); }

.duel_line {
  max-width: 26rem;
  color: var(--color-text-muted);
}

/* 01 : deux couloirs, celui de Lina casse net et vire au rouge */
.duel_race,
.duel_day {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.duel_lane,
.duel_day-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.duel_bar,
.duel_day-track {
  position: relative;
  flex: 1;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.duel_bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--end, 100%);
  border-radius: inherit;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
}

.duel_lane.is-rival .duel_bar i {
  --end: 58%;
  background: var(--color-text-muted);
}

/* 02 : une journée, des sessions à des heures différentes */
.duel_day-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--at);
  width: var(--w);
  border-radius: inherit;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
}

.duel_day-row.is-rival .duel_day-track i {
  background: var(--color-lavender);
}

.duel_day-row b {
  width: 3.5rem;
  flex: none;
  text-align: right;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.duel_day-row.is-you b { color: var(--color-accent); }
.duel_day-row.is-rival b { color: var(--color-text-muted); }

.duel_day-scale {
  display: flex;
  justify-content: space-between;
  padding-left: 4rem;
  padding-right: 4.5rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

/* 03 : deux anneaux côte à côte, chacun se ferme à son rythme, puis le signe
   égal apparaît entre eux et ils battent ensemble */
.duel_rings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.duel_ring {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.duel_ring svg {
  width: 7rem;
  height: 7rem;
  transform: rotate(-90deg);
}

.duel_ring .duel_who {
  width: auto;
}

.duel_ring-goal {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.duel_ring-goal small {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-subtle);
}

.duel_equal {
  margin-bottom: 1.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-subtle);
}

.js .duel_equal {
  opacity: 0;
  transform: scale(0.6);
}

.duel_ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.duel_ring .duel_ring-fill {
  stroke: var(--color-text-muted);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
}

.duel_ring.is-you .duel_ring-fill { stroke: var(--color-accent); }

/* Le grand mot arrive une fois la mécanique jouée */
.js .duel_word {
  opacity: 0;
  transform: translateY(0.5rem);
}

.duel_track.is-visible .duel_word {
  animation: duel-word 0.6s var(--ease-out) forwards;
}

.duel_track.is-endurance.is-visible .duel_lane.is-you .duel_bar i { animation: duel-grow 2.4s linear 0.2s forwards; }
.duel_track.is-endurance.is-visible .duel_lane.is-rival .duel_bar i { animation: duel-grow 1.4s linear 0.2s forwards, duel-break 0.3s ease 1.6s forwards; }
.duel_track.is-endurance.is-visible .duel_word { animation-delay: 1.8s; }

.duel_track.is-async.is-visible .duel_day-track i { animation: duel-grow 0.5s var(--ease-out) forwards; }
.duel_track.is-async.is-visible .duel_day-track i:nth-child(1) { animation-delay: 0.2s; }
.duel_track.is-async.is-visible .duel_day-row.is-rival i:nth-child(1) { animation-delay: 0.5s; }
.duel_track.is-async.is-visible .duel_day-row.is-you i:nth-child(2) { animation-delay: 0.8s; }
.duel_track.is-async.is-visible .duel_day-row.is-rival i:nth-child(2) { animation-delay: 1.1s; }
.duel_track.is-async.is-visible .duel_day-row.is-you i:nth-child(3) { animation-delay: 1.4s; }
.duel_track.is-async.is-visible .duel_word { animation-delay: 1.9s; }

.duel_track.is-goal.is-visible .duel_ring-fill { animation: duel-ring 1.6s var(--ease-out) 0.2s forwards; }
.duel_track.is-goal.is-visible .duel_ring.is-rival .duel_ring-fill { animation-duration: 2s; }
.duel_track.is-goal.is-visible .duel_equal { animation: duel-equal 0.4s var(--ease-out) 2.3s forwards; }
.duel_track.is-goal.is-visible .duel_ring svg { animation: duel-beat 0.5s ease-in-out 2.5s; }
.duel_track.is-goal.is-visible .duel_word { animation-delay: 2.8s; }

@keyframes duel-grow { to { transform: scaleX(1); } }
@keyframes duel-break { to { background: var(--color-alarm); opacity: 0.55; } }
@keyframes duel-ring { to { stroke-dashoffset: 0; } }
@keyframes duel-equal { to { opacity: 1; transform: none; } }
@keyframes duel-beat { 50% { transform: rotate(-90deg) scale(1.08); } }
@keyframes duel-word { to { opacity: 1; transform: none; } }

/* Mouvement réduit : l'état final directement */
@media (prefers-reduced-motion: reduce) {
  .js .duel_word { opacity: 1; transform: none; }
  .duel_bar i, .duel_day-track i { transform: none; }
  .duel_lane.is-rival .duel_bar i { background: var(--color-alarm); opacity: 0.55; }
  .duel_ring .duel_ring-fill { stroke-dashoffset: 0; }
  .js .duel_equal { opacity: 1; transform: none; }
}

.level_visuals,
.blocker_visuals {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.result_title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.result_meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.delta {
  margin-left: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.delta.is-up {
  color: var(--color-sage);
}

.ranking_list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ranking_row {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-small);
  font-size: 0.9375rem;
}

.ranking_row.is-me {
  background: rgba(255, 159, 90, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 90, 0.35);
  font-weight: 600;
}

.ranking_pos {
  color: var(--color-text-subtle);
  font-variant-numeric: tabular-nums;
}

.ranking_elo {
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.screen-time_total {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.screen-time_total span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.usage_list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.usage_row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.375rem 1rem;
  font-size: 0.875rem;
}

.usage_name {
  font-weight: 600;
}

.usage_meta {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.usage_bar {
  grid-column: 1 / -1;
  height: 0.3125rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.usage_bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--color-text-subtle);
  transition: width 1.4s var(--ease-out);
}

.modes_switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.modes_option {
  padding: 0.5rem 0.25rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.modes_option.is-active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-border-strong);
}

.lock_row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.lock_icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.breathe_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.breathe_circle {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 199, 176, 0.6);
  background: radial-gradient(circle, rgba(168, 199, 176, 0.18), transparent 70%);
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.75);
  }
  45%,
  55% {
    transform: scale(1.1);
  }
}

.breathe_title {
  font-size: 1.375rem;
  font-weight: 700;
}

.breathe_text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.section_halo {
  position: relative;
}

/* Halo sur PC : un écran Windows, l'entité posée en bas à droite pendant le focus */
.desktop_badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 7, 11, 0.35);
  font-size: 0.8125rem;
  font-weight: 600;
}

.desktop_badge svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
}

/* Position du Halo dans la capture (1586 x 992) : sa lumière doit remplir la
   boîte 1462,823 → 1549,898. Le canvas (200 px de l'image) laisse la place à
   la lueur, et son centre est 17 px plus bas que celui de la boîte parce que
   la lumière de l'entité monte (centroïde mesuré à la sonde).
   Mêmes valeurs dans js/halo-desktop-3d.js. */
.desktop_mockup {
  position: relative;
  max-width: 60rem;
  margin: 3.5rem auto 0;
}

.desktop_screen {
  position: relative;
  aspect-ratio: 1586 / 992;
  overflow: hidden;
  border-radius: var(--radius-small);
  border: 0.5rem solid #121318;
  background: #0b0b10;
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.55), 0 0 0 1px var(--color-border-strong);
}

.desktop_shot {
  display: block;
  width: 100%;
  height: 100%;
}

.desktop_orb {
  position: absolute;
  left: calc(1505.5 / 1586 * 100%);
  top: calc(878 / 992 * 100%);
  width: calc(200 / 1586 * 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.72;
  pointer-events: none;
}

/* Survol du Halo : le panneau de la séance s'ouvre à sa gauche. Calque posé
   sur la dalle, hors de .desktop_flat qui est masqué quand la 3D est montée */
.desktop_hud {
  --bezel: 0.5rem;
  position: absolute;
  z-index: 2;
  left: var(--bezel);
  top: var(--bezel);
  width: calc(100% - var(--bezel) * 2);
  aspect-ratio: 1586 / 992;
  pointer-events: none;
}

.desktop_hotspot {
  position: absolute;
  left: calc(1462 / 1586 * 100%);
  top: calc(823 / 992 * 100%);
  width: calc(87 / 1586 * 100%);
  height: calc(75 / 992 * 100%);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
}

.desktop_panel {
  position: absolute;
  right: calc(100% + 0.5rem);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  opacity: 0;
  transform: translate(0.5rem, -50%) scale(0.96);
  transform-origin: right center;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.desktop_hotspot:hover .desktop_panel,
.desktop_hotspot:focus-visible .desktop_panel {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.desktop_panel-time {
  display: flex;
  flex-direction: column;
  margin-right: 0.75rem;
}

.desktop_panel-time span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.55);
}

.desktop_panel-time strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.desktop_panel-button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.desktop_panel-button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.desktop_panel-button svg[fill="none"] {
  fill: none;
}

.desktop_stand {
  width: 18%;
  height: 1.75rem;
  margin: 0 auto;
  background: linear-gradient(to bottom, #0c0d11, #1b1c22);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}

/* Écran 3D (desktop) : le canvas déborde de la maquette pour que la rotation
   et l'ombre ne soient pas rognées ; la version plate garde la place */
.desktop-3d_canvas {
  position: absolute;
  inset: -8% -12% -4%;
  width: 124%;
  max-width: none;
  height: 112%;
  pointer-events: none;
}

.desktop_mockup.is-3d .desktop_flat {
  visibility: hidden;
}

/* Le pied 3D descend plus bas que le pied plat : on lui garde sa hauteur */
.desktop_mockup.is-3d .desktop_stand {
  width: 100%;
  height: 0;
  padding-top: 21%;
}

.desktop_note {
  max-width: 34rem;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
}

@media (max-width: 479px) {
  .desktop_screen {
    border-width: 0.3125rem;
  }

  .desktop_hud {
    --bezel: 0.3125rem;
  }

  .desktop_panel {
    padding: 0.4rem 0.6rem;
    scale: 0.75;
  }
}

.section-header_component {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

/* Récit du Halo : le Halo reste épinglé, les temps défilent (sous lui sur
   mobile, en face de lui à partir de 992 px). D'un temps à l'autre il change
   de côté, le texte passant en face. Chaque temps lu fait apparaître autour
   de lui ce que vous avez fait ; les étiquettes volent jusqu'à son centre
   (is-fed) et il s'en nourrit. Piloté par js/halo-lp.js, qui pose is-story et
   --side (1 : Halo à droite, 0 : à gauche) ; sans lui, les temps se lisent à
   la suite. */
.hs_component {
  --hs-stage: min(22rem, 46vh, calc(100vw - 2rem));
  --side: 1;
  position: relative;
  margin-top: 2rem;
}

.hs_stage {
  display: none;
}

/* La scène est une piste qui couvre toute la section ; le Halo y est
   épinglé et ne peut pas en sortir quand la section se termine */
.hs_component.is-story .hs_stage {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hs_pin {
  position: sticky;
  top: 4.5rem;
  height: var(--hs-stage);
}

/* Le texte qui défile passe sous le Halo sans le traverser. Le voile ne
   dépasse au-dessus du Halo que de la bande entre l'en-tête et lui : à
   4,5rem, il recouvrait la fin du titre de la section, juste au-dessus */
.hs_pin::before {
  content: '';
  position: absolute;
  inset: -1rem -50vw -2rem;
  z-index: -1;
  background: linear-gradient(var(--color-bg) 82%, transparent);
}

/* Le Halo et ses étiquettes : un départ franc, une arrivée amortie. Sur
   mobile il ne fait que glisser d'un côté à l'autre de l'axe */
.hs_orb {
  position: absolute;
  top: 0;
  left: calc(50% - var(--hs-stage) / 2 + (var(--side) - 0.5) * 22%);
  width: var(--hs-stage);
  height: var(--hs-stage);
  transition:
    left 0.9s cubic-bezier(0.65, 0, 0.2, 1),
    opacity 0.9s ease,
    transform 0.9s var(--ease-out);
}

/* La sortie : revenu au centre (--side à 0,5), le Halo se dissipe */
.hs_component.is-outro .hs_orb {
  opacity: 0;
  transform: scale(0.75);
  transition:
    left 0.9s cubic-bezier(0.65, 0, 0.2, 1),
    opacity 1s ease 0.7s,
    transform 1.4s var(--ease-out) 0.6s;
}

.hs_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hs_token {
  --reach-x: 30%;
  --reach-y: 36%;
  position: absolute;
  left: calc(50% + var(--x) * var(--reach-x));
  top: calc(50% + var(--y) * var(--reach-y));
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 11rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: rgba(14, 15, 21, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition:
    opacity 0.3s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    left 0.65s cubic-bezier(0.55, 0, 0.75, 0.2),
    top 0.65s cubic-bezier(0.55, 0, 0.75, 0.2);
}

.hs_token svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: var(--color-peach);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* L'apparition : un petit rebond */
.hs_token.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* L'envol : l'étiquette accélère vers le cœur du Halo et s'y fond */
.hs_token.is-on.is-fed {
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  transition:
    opacity 0.25s ease 0.4s,
    transform 0.65s cubic-bezier(0.55, 0, 0.75, 0.2),
    left 0.65s cubic-bezier(0.55, 0, 0.75, 0.2),
    top 0.65s cubic-bezier(0.55, 0, 0.75, 0.2);
}

.hs_days {
  position: absolute;
  left: 50%;
  bottom: 2%;
  opacity: 0;
  transform: translateX(-50%) translateY(0.5rem);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), background-color 0.6s, color 0.6s;
}

.hs_days.is-on {
  opacity: 1;
  transform: translateX(-50%);
}

.hs_days.is-on.is-bump {
  animation: hs-bump 0.55s var(--ease-out);
}

@keyframes hs-bump {
  35% {
    transform: translateX(-50%) scale(1.16);
  }
}

.hs_beats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 34rem;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1875rem;
  line-height: 1.5;
}

.hs_component.is-story .hs_beats {
  gap: 55vh;
  margin-top: 0;
  padding-top: calc(var(--hs-stage) + 8vh);
  padding-bottom: 45vh;
}

/* Le texte passe du côté opposé au Halo */
.hs_component.is-story .hs_beat:nth-child(odd) {
  text-align: left;
}

.hs_component.is-story .hs_beat:nth-child(even) {
  text-align: right;
}

/* Même rendu que les scènes du problème : texte plein, révélé mot par mot
   (js/scroll-reveal.js), sans grisé d'attente */
.hs_component.is-story .hs_beat {
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

/* Le décrochage : la page entière perd ses couleurs, le temps de la lecture */
.hs_cold {
  display: none;
}

.hs_component.is-story .hs_cold {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  -webkit-backdrop-filter: grayscale(0.9);
  backdrop-filter: grayscale(0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.hs_component.is-story.is-cold .hs_cold {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.6s ease, visibility 0s;
}

@media (min-width: 992px) {
  .hs_component {
    --hs-stage: min(32rem, 70vh);
  }

  .hs_pin {
    top: calc(50vh - var(--hs-stage) / 2);
  }

  .hs_pin::before {
    display: none;
  }

  .hs_orb {
    left: calc((100% - var(--hs-stage)) * var(--side));
    transition-duration: 0.9s;
  }

  /* Trajet piloté par la révélation du texte (js/halo-lp.js) : la position
     est posée à chaque image, sans transition, et le Halo décrit un arc en
     traversant (--hs-arc vaut 1 à mi-chemin) */
  .hs_component.is-scrub:not(.is-outro) .hs_orb {
    transform: translateY(calc(var(--hs-arc, 0) * -2.5rem)) rotate(calc(var(--hs-arc, 0) * (var(--side) - 0.5) * -10deg)) scale(calc(1 - var(--hs-arc, 0) * 0.08));
    transition: opacity 0.9s ease;
  }

  .hs_token {
    --reach-x: 36%;
    --reach-y: 40%;
    max-width: none;
    white-space: nowrap;
    font-size: 0.8125rem;
  }

  .hs_component.is-story .hs_beats {
    max-width: none;
    margin: 0;
    padding: 45vh 0 70vh;
    gap: 70vh;
    font-size: clamp(1.3125rem, 1.1rem + 1.1vw, 1.875rem);
    line-height: 1.3;
  }

  .hs_component.is-story .hs_beat {
    width: min(30rem, calc(100% - var(--hs-stage) - 4rem));
    text-align: left;
  }

  .hs_component.is-story .hs_beat:nth-child(even) {
    margin-left: auto;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs_orb,
  .hs_token,
  .hs_token.is-on.is-fed,
  .hs_cold {
    transition: none;
  }

  .hs_days.is-on.is-bump {
    animation: none;
  }
}

.flame_chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.flame_chip svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.flame_chip.is-warm {
  background: rgba(255, 179, 138, 0.12);
  color: var(--color-peach);
}

.flame_chip.is-cold {
  background: rgba(155, 154, 163, 0.1);
  color: var(--color-text-subtle);
}

.halo-text_projection {
  margin-top: 1rem;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Comparatif : Halo face aux autres solutions, sur mobile et sur PC.
   Sur téléphone, le critère prend toute la ligne et les quatre colonnes
   passent dessous ; à partir de 768 px, il devient la première colonne. */
@property --vs-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.vs_table {
  --vs-cols: repeat(4, minmax(0, 1fr));
  --vs-gap: 0.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.vs_head,
.vs_row {
  position: relative;
  display: grid;
  grid-template-columns: var(--vs-cols);
  column-gap: var(--vs-gap);
  align-items: center;
}

/* La colonne Halo : un fond chaud et une bordure lumineuse qui tourne */
.vs_glow {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--vs-cols);
  grid-template-rows: 100%;
  column-gap: var(--vs-gap);
  pointer-events: none;
}

.vs_glow span {
  grid-column: -2 / -1;
  position: relative;
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 159, 90, 0.18);
  background: linear-gradient(180deg, rgba(255, 159, 90, 0.13), rgba(140, 108, 240, 0.07) 55%, rgba(255, 111, 125, 0.1));
  box-shadow: 0 0 3.5rem -1rem rgba(255, 159, 90, 0.35);
  animation: vs-breathe 5s ease-in-out infinite;
}

.vs_glow span::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--vs-angle), transparent 0 52%, var(--color-accent) 68%, var(--color-accent-warm) 80%, var(--color-accent-cool) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: vs-spin 7s linear infinite;
}

@keyframes vs-spin {
  to { --vs-angle: 360deg; }
}

@keyframes vs-breathe {
  50% { box-shadow: 0 0 4.5rem -0.5rem rgba(255, 159, 90, 0.5); }
}

.vs_corner {
  display: none;
}

.vs_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 1rem 0.25rem 0.875rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-muted);
}

.vs_col.is-halo {
  color: var(--color-text);
}

.vs_logo {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.375rem;
  border-radius: 0.5rem;
}

.vs_col-sub {
  display: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-subtle);
}

.vs_row {
  padding-bottom: 1rem;
  border-top: 1px solid var(--color-border);
  transition: background-color 0.3s ease, opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.vs_label {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
  /* le libellé s'arrête avant la colonne Halo pour ne pas passer sous sa lueur */
  padding: 1.125rem 25% 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.vs_tags {
  display: inline-flex;
  gap: 0.25rem;
}

.vs_tag {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.vs_cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
}

.vs_mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  transition-delay: calc(0.15s + var(--c) * 0.12s);
}

.vs_mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vs_cell.is-y circle {
  fill: rgba(247, 246, 243, 0.12);
}

.vs_cell.is-y path {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
}

.vs_cell.is-halo.is-y circle {
  fill: var(--color-accent);
}

.vs_cell.is-halo.is-y path {
  stroke: var(--color-on-accent);
}

.vs_cell.is-n path {
  fill: none;
  stroke: var(--color-text-subtle);
  stroke-width: 2;
  stroke-linecap: round;
}

.vs_cell.is-p circle {
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.6;
}

.vs_cell.is-p path {
  fill: var(--color-text-muted);
}

.vs_note {
  max-width: 8rem;
  font-size: 0.6875rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.vs_cell.is-halo .vs_note {
  color: var(--color-peach);
}

/* Entrée : chaque coche jaillit à son tour, et celle de Halo se trace puis
   lance une onde. Sans JS, tout est déjà affiché. */
.js .vs_row:not(.is-visible) .vs_mark {
  transform: scale(0.3);
  opacity: 0;
}

.js .vs_cell.is-y path {
  stroke-dashoffset: 16;
}

.js .vs_row.is-visible .vs_cell.is-y path {
  animation: vs-draw 0.5s var(--ease-out) forwards;
  animation-delay: calc(0.4s + var(--c) * 0.12s);
}

@keyframes vs-draw {
  to { stroke-dashoffset: 0; }
}

.vs_cell.is-halo.is-y .vs_mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  opacity: 0;
}

.js .vs_row.is-visible .vs_cell.is-halo.is-y .vs_mark::after {
  animation: vs-ripple 1.1s var(--ease-out) 0.85s;
}

@keyframes vs-ripple {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(2.4); opacity: 0; }
}

@media (hover: hover) {
  .vs_row:not(.is-score):hover {
    background-color: rgba(255, 255, 255, 0.025);
  }
}

/* Ligne du total : des jauges qui se remplissent */
.vs_row.is-score {
  padding-bottom: 1.25rem;
  border-top-color: var(--color-border-strong);
}

.vs_score strong {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vs_score small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-subtle);
}

.vs_score.is-halo strong {
  color: var(--color-accent);
}

.vs_bar {
  width: 100%;
  max-width: 5rem;
  height: 0.3125rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.vs_bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--color-text-subtle);
  transition: width 1.4s var(--ease-out) 0.3s;
}

.vs_score.is-halo .vs_bar span {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-warm));
}

.vs_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Section PC : un nuage d'apps dispersé autour de la phrase, sur trois plans
   de profondeur (petites et floues au fond, grandes et nettes devant).
   halo-pc.js fait tourner chaque plan lentement autour du texte, à sa propre
   vitesse, et le décale avec la souris d'autant plus qu'il est proche. Le
   défilement pose --p (de 0 à 1) : les apps bloquées se grisent une à une et
   le texte passe par le flou. */
.pc-wall {
  --icon: clamp(3.25rem, 4.6vw, 4.5rem);
  position: relative;
  height: 240vh;
  margin-top: 2rem;
}

/* Pleine largeur d'écran : les apps du premier plan peuvent déborder du bord */
.pc-wall_sticky {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.pc-wall_field {
  position: absolute;
  inset: 0;
}

.pc-wall_copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(28rem, 100% - 2rem);
  transform: translate(-50%, -50%) translate(var(--cx, 0px), var(--cy, 0px));
  text-align: center;
}

/* Un voile sombre derrière la phrase, pour qu'elle reste lisible sur le fond */
.pc-wall_copy::before {
  content: '';
  position: absolute;
  inset: -45% -25%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(7, 7, 11, 0.8), rgba(7, 7, 11, 0));
  pointer-events: none;
}

.pc-wall_copy .card_eyebrow {
  margin-bottom: 0.75rem;
}

.pc-wall_swap {
  display: grid;
}

.pc-wall_title {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
}

.pc-wall_title.is-first,
.pc-wall_heading {
  margin: 0;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.pc-wall_sub {
  margin: 0.75rem 0 0;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
  color: var(--color-text-muted);
}

/* Le premier texte se dissout dans le flou, le second en sort */
.pc-wall_title.is-first {
  --out: clamp(0, (var(--p, 0) - 0.34) * 5, 1);
  opacity: calc(1 - var(--out));
  filter: blur(calc(var(--out) * 12px));
  transform: scale(calc(1 - var(--out) * 0.06));
}

.pc-wall_title.is-second {
  --in: clamp(0, (var(--p, 0) - 0.5) * 5, 1);
  opacity: var(--in);
  filter: blur(calc((1 - var(--in)) * 12px));
  transform: scale(calc(1.06 - var(--in) * 0.06));
}

/* Une app : taille, flou et lumière de son plan (--s, --blur, --lb), position
   posée à chaque image par halo-pc.js */
.pc-wall_app {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--icon) * var(--s, 1));
  filter: blur(var(--blur, 0px));
  will-change: transform;
}

html:not(.js) .pc-wall_app {
  display: none;
}

.pc-icon {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22.5%;
  background: var(--bg);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
}

.pc-icon svg {
  width: 54%;
  height: 54%;
  fill: currentColor;
}

.pc-wall_app .pc-icon {
  /* Le grisage d'une app bloquée suit le défilement, chacune à son tour */
  --g: 0;
  filter: grayscale(var(--g)) brightness(calc(var(--lb, 1) - var(--g) * 0.5));
}

.pc-wall_app.is-blocked .pc-icon {
  --g: clamp(0, (var(--p, 0) - 0.15 - var(--d, 0) * 0.35) * 5, 1);
}

.pc-wall_lock {
  --g: clamp(0, (var(--p, 0) - 0.15 - var(--d, 0) * 0.35) * 5, 1);
  position: absolute;
  right: -12%;
  bottom: -12%;
  display: grid;
  place-items: center;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.5);
  opacity: var(--g);
  transform: scale(calc(0.5 + var(--g) * 0.5));
}

.pc-wall_lock svg {
  width: 58%;
  height: 58%;
  fill: currentColor;
}

.pc-wall_details {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Temps d'écran sur PC : la carte de l'app, redessinée et animée */
.pc-time_layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 6rem;
}

.pc-time_lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.st-card {
  --st-lavender: #b6a8f4;
  --st-peach: #e9a386;
  --st-bar: #4a465e;
  --st-muted: #8e8d97;
  width: 100%;
  max-width: 25rem;
  margin: 0 auto;
  padding: 1.25rem 1.125rem 1.375rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, #1c1c24, #17171e);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}

.st-card_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.st-card_title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #f4f3f7;
}

.st-card_sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6b6a74;
}

.st-card_opens {
  font-size: 0.9375rem;
  color: var(--st-muted);
  white-space: nowrap;
}

.st-card_day {
  margin-top: 1.375rem;
  font-size: 0.9375rem;
  color: #b2b1b9;
}

.st-card_total {
  margin-top: 0.125rem;
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--st-lavender);
  font-variant-numeric: tabular-nums;
}

.st-card_week {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #b9b8c0;
}

.st-card_week svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.st-card_chart {
  --plot: 5rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 0.75rem;
  padding-top: 1.75rem;
}

/* La ligne de la moyenne traverse le graphique, sous les barres */
.st-card_avg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(1.75rem + (1 - var(--avg)) * var(--plot));
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
  transition: opacity 0.6s ease 0.6s;
}

.st-card_bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.st-card_plot {
  display: flex;
  align-items: flex-end;
  height: var(--plot);
}

.st-card_fill {
  position: relative;
  display: block;
  width: 1.25rem;
  height: calc(var(--h) * var(--plot));
  border-radius: 0.5625rem;
  background: var(--st-bar);
  transition: height 0.9s var(--ease-out), background-color 0.35s ease;
  transition-delay: calc(var(--i) * 0.07s), 0s;
}

.st-card_bar:hover .st-card_fill {
  background: #5a5672;
}

.st-card_bar.is-active .st-card_fill {
  background: var(--st-peach);
}

.st-card_value {
  position: absolute;
  bottom: calc(100% + 0.375rem);
  left: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f0a580;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 0.25rem);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.st-card_bar.is-active .st-card_value {
  opacity: 1;
  transform: translate(-50%, 0);
}

.st-card_letter {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #74737c;
  transition: color 0.3s ease;
}

.st-card_bar.is-active .st-card_letter {
  font-weight: 700;
  color: #fff;
}

.st-card_apps {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.st-card_app {
  display: grid;
  grid-template-columns: 2.125rem minmax(0, 1fr) 3.25rem;
  grid-template-rows: auto auto;
  column-gap: 0.875rem;
  row-gap: 0.375rem;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
  transition-delay: calc(0.35s + var(--i) * 0.08s);
}

.st-card_icon {
  grid-row: 1 / 3;
  border-radius: 0.5625rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.st-card_name {
  font-size: 1rem;
  font-weight: 500;
  color: #f4f3f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-card_time {
  justify-self: end;
  font-size: 1rem;
  font-weight: 700;
  color: #f4f3f7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.st-card_meter {
  height: 0.25rem;
  border-radius: 999px;
  background: #2c2b36;
  overflow: hidden;
}

.st-card_meter span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--st-lavender);
  transition: width 0.9s var(--ease-out);
  transition-delay: calc(0.5s + var(--i) * 0.08s);
}

.st-card_count {
  justify-self: end;
  font-size: 0.8125rem;
  color: #6f6e78;
  font-variant-numeric: tabular-nums;
}

.st-card_more {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #b2b1b9;
}

/* Avant l'apparition : barres à plat, lignes absentes, jauges vides */
.js .st-card:not(.is-visible) .st-card_fill {
  height: 0;
}

.js .st-card:not(.is-visible) .st-card_avg,
.js .st-card:not(.is-visible) .st-card_value {
  opacity: 0;
}

.js .st-card:not(.is-visible) .st-card_app {
  opacity: 0;
  transform: translateY(0.75rem);
}

.js .st-card:not(.is-visible) .st-card_meter span {
  width: 0;
}

/* Une fois la carte apparue, changer de jour ne rejoue pas les délais */
.st-card.is-settled .st-card_fill,
.st-card.is-settled .st-card_app,
.st-card.is-settled .st-card_meter span {
  transition-delay: 0s;
}

@media (max-width: 767px) {
  .pc-wall {
    --icon: 2.875rem;
    height: 200vh;
  }

  .pc-wall_copy {
    width: 14rem;
  }

  .pc-wall_app:nth-of-type(n + 21) {
    display: none;
  }

  .pc-wall_title.is-first,
  .pc-wall_heading {
    font-size: 1.5rem;
  }

  .pc-wall_sub {
    font-size: 0.875rem;
  }

  /* Comparatif sur téléphone : tout le tableau tient dans un écran. Le
     critère a sa propre colonne, les quatre marques s'alignent à côté, et
     les précisions (lues par les lecteurs d'écran via vs_sr) s'effacent */
  .vs_table {
    --vs-cols: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
    --vs-gap: 0.125rem;
    margin-top: 1.75rem;
  }

  .vs_corner {
    display: block;
  }

  .vs_col {
    padding: 0.75rem 0.125rem 0.625rem;
    font-size: 0.6875rem;
  }

  .vs_logo {
    width: 1.375rem;
    height: 1.375rem;
    margin-bottom: 0.25rem;
    border-radius: 0.375rem;
  }

  .vs_row,
  .vs_row.is-score {
    padding-bottom: 0;
  }

  .vs_label {
    grid-column: auto;
    padding: 0.75rem 0.375rem 0.75rem 0;
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .vs_tags,
  .vs_note {
    display: none;
  }

  .vs_cell {
    padding: 0.75rem 0;
  }

  .vs_mark {
    width: 1.375rem;
    height: 1.375rem;
  }

  .vs_score strong {
    font-size: 0.9375rem;
  }

  .vs_bar {
    max-width: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-card_fill,
  .st-card_app,
  .st-card_meter span,
  .st-card_value,
  .st-card_avg {
    transition: none;
  }
}

.faq_list {
  display: flex;
  flex-direction: column;
}

.faq_item {
  border-top: 1px solid var(--color-border);
}

.faq_item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq_question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::after {
  content: '+';
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-muted);
  transition: transform 0.25s var(--ease-out);
}

.faq_item[open] .faq_question::after {
  transform: rotate(45deg);
}

.faq_answer {
  padding-bottom: 1.25rem;
  color: var(--color-text-muted);
}

/* Ouverture : la réponse se déplie en douceur (navigateurs qui animent
   ::details-content), puis s'écrit de gauche à droite, mot par mot, en
   sortant du flou (js/halo-lp.js pose .faq_word et .is-writing) */
.faq_item {
  interpolate-size: allow-keywords;
}

.faq_item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}

.faq_item[open]::details-content {
  block-size: auto;
}

.faq_word {
  display: inline-block;
}

.js .faq_answer:not(.is-writing) .faq_word {
  opacity: 0;
}

.faq_answer.is-writing .faq_word {
  animation: faq-write 0.55s var(--ease-out) both;
  animation-delay: calc(0.08s + var(--i) * 0.04s);
}

@keyframes faq-write {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateX(-0.4em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq_item::details-content {
    transition: none;
  }

  .faq_answer.is-writing .faq_word {
    animation: none;
  }
}

.section_final {
  border-top: 1px solid var(--color-border);
}

.final_component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.final_halo {
  width: min(18rem, 70vw);
  aspect-ratio: 1;
  margin-bottom: -1rem;
}

.footer_component {
  border-top: 1px solid var(--color-border);
  padding-bottom: 5.5rem;
}

.footer_layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer_links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.footer_links a {
  text-decoration: none;
}

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

.sticky-cta_component {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.625rem max(var(--gutter), env(safe-area-inset-left)) calc(0.625rem + env(safe-area-inset-bottom));
  background: rgba(14, 15, 21, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease-out);
}

.sticky-cta_component.is-shown {
  transform: none;
}

.sticky-cta_inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sticky-cta_icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
}

.sticky-cta_text {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-cta_title {
  font-weight: 700;
}

.sticky-cta_sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Le bouton porte la bordure lumineuse (css/border-glow.css) : il garde son
   centrage de bouton */
.sticky-cta_inner .button.border-glow-card {
  display: inline-grid;
  place-items: center;
}

@media (min-width: 480px) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (min-width: 768px) {
  .padding-section-hero {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }

  .padding-section-medium {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .padding-section-large {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .section_title {
    margin-bottom: 3.5rem;
  }

  .duels_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .vs_table {
    --vs-cols: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    --vs-gap: 0.5rem;
  }

  .vs_corner {
    display: block;
  }

  .vs_col {
    padding: 1.5rem 0.5rem 1.25rem;
    font-size: 0.9375rem;
  }

  .vs_col-sub {
    display: block;
  }

  .vs_row {
    padding-bottom: 0;
  }

  .vs_label {
    grid-column: auto;
    padding: 1.25rem 1rem 1.25rem 0;
    font-size: 1rem;
  }

  .vs_cell {
    padding: 1.25rem 0.5rem;
  }

  .vs_row.is-score {
    padding-bottom: 0;
  }

  .pc-time_layout {
    grid-template-columns: minmax(0, 1fr) 25rem;
    align-items: center;
    gap: 3rem;
  }

  .level_visuals {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    align-items: start;
  }

  .sticky-cta_component {
    display: none;
  }

  .footer_component {
    padding-bottom: 0;
  }
}

@media (min-width: 992px) {
  :root {
    --gutter: 2.5rem;
  }

  .hero_layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
    min-height: calc(100vh - 3.5rem - 9rem);
  }

  .hero_visual {
    justify-content: flex-end;
  }

  .hero-3d_component {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .hero-3d_canvas {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Le noir reprend la main hors du Halo : la lumière reste concentrée
     derrière lui, le reste du décor retombe vite au fond de page */
  .hero-3d_component::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 34% 52% at 66% 40%, transparent 0%, rgba(7, 7, 11, 0.55) 60%, rgba(7, 7, 11, 0.92) 100%),
      linear-gradient(90deg, rgba(7, 7, 11, 0.6), transparent 45%);
  }

  /* Le décor 3D descend jusqu'au bas du hero : c'est la vague de la section
     suivante qui le fait disparaître, plus haute et plus ample ici. */
  .section_problem {
    --wave-blur-size: 52rem;
    --wave-fade-a-size: 42rem;
    --wave-fade-b-size: 26rem;
  }

  .section_problem::before,
  .section_problem::after {
    top: -11.2rem;
    height: 12rem;
  }

  /* Desktop : l'écran verrouillé devient un vrai téléphone, épinglé à
     gauche pendant que les scènes défilent à droite. */
  .problem_layout {
    display: grid;
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: 6rem;
    align-items: start;
    margin-top: 1rem;
  }

  .problem_visual {
    top: var(--story-pin-top);
  }

  .lock_component {
    width: 17.5rem;
    aspect-ratio: 9 / 19;
    padding: 0.5rem;
    border-radius: 2.75rem;
    background: linear-gradient(160deg, #22232a, #0d0d12 60%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  }

  .lock_screen {
    display: block;
    position: relative;
    height: 100%;
    border-radius: 2.3rem;
    overflow: hidden;
    background: radial-gradient(120% 70% at 50% 42%, #14121a, var(--color-bg) 70%);
  }

  .lock_island {
    display: block;
    position: absolute;
    top: 0.625rem;
    left: 50%;
    z-index: 2;
    width: 5.25rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #000;
    transform: translateX(-50%);
  }

  .lock_home {
    display: block;
    position: absolute;
    bottom: 0.4375rem;
    left: 50%;
    z-index: 2;
    width: 6.25rem;
    height: 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(-50%);
  }

  .lock_head {
    position: absolute;
    top: 2.875rem;
    left: 0;
    right: 0;
    z-index: 1;
    align-items: center;
    gap: 0.125rem;
  }

  .lock_date {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
  }

  .lock_time {
    font-size: 4.25rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: rgba(255, 255, 255, 0.94);
  }

  .lock_wallpaper {
    position: absolute;
    left: 50%;
    top: 47%;
    width: 16rem;
    height: 16rem;
    transform: translate(-50%, -50%);
  }

  .lock_stack {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
  }

  /* Toutes les notifications restent dans le flux pour que l'arrivée d'une
     nouvelle repousse les autres ; seules les quatre plus récentes s'affichent. */
  .lock_notif,
  .lock_notif.is-on ~ .lock_notif {
    display: flex;
  }

  .lock_notif {
    align-items: flex-start;
    gap: 0.5625rem;
    max-height: 0;
    margin-top: 0;
    padding: 0 0.625rem;
    border-radius: 1.125rem;
    background: rgba(44, 44, 50, 0.42);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    opacity: 0;
    overflow: hidden;
    transform: scale(0.94);
    transition: max-height 0.5s var(--ease-out), margin-top 0.5s var(--ease-out), padding 0.5s var(--ease-out), opacity 0.35s, transform 0.5s var(--ease-out);
  }

  .lock_notif.is-on {
    max-height: 4.5rem;
    margin-top: 0.375rem;
    padding: 0.5625rem 0.625rem;
    opacity: 1;
    transform: none;
  }

  .lock_notif.is-on ~ .lock_notif.is-on ~ .lock_notif.is-on ~ .lock_notif.is-on ~ .lock_notif.is-on {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }

  .lock_notif-icon {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem;
  }

  .lock_notif-title {
    font-size: 0.75rem;
  }

  .lock_notif-time {
    font-size: 0.625rem;
  }

  .lock_notif-text {
    display: -webkit-box;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  ul.problem_list {
    gap: 24vh;
    margin-top: 0;
    padding: 18vh 0 36vh;
  }

  .section_hero.is-3d .phone_component {
    display: none;
  }

  .section_hero.is-3d .hero_layout {
    min-height: calc(100vh - 3.75rem - 6rem);
  }

  .section_hero.is-3d .padding-section-hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .phone_component {
    width: 19rem;
  }

  .split_layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .split_layout.is-level {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .level_visuals {
    grid-template-columns: 1fr 1fr;
  }

  .blocker_visuals {
    max-width: 28rem;
  }
}

/* Entrée du hero : le titre sort du flou mot par mot, puis le reste de
   l'interface suit. Animations en « backwards » : l'état de départ tient
   pendant le délai, puis la règle rend la main (le :active des boutons
   retrouve son scale). */
@keyframes intro-word {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-0.4em);
  }
  60% {
    opacity: 0.7;
    filter: blur(3px);
    transform: translateY(0.04em);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes intro-blur {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes intro-nav {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-stage {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes intro-fallback {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 992px) {
  /* Repli sans 3D : le fond d'écran du téléphone CSS, qui se désature avec la journée */
  .lock_screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/halo/lock-wallpaper.webp') center / cover;
    filter: saturate(calc(1 - var(--drain, 0) * 0.9)) brightness(calc(1 - var(--drain, 0) * 0.18));
  }

  .lock_wallpaper {
    display: none;
  }

  /* Avec le téléphone 3D : la maquette CSS ne sert plus que d'emplacement (et
     de source de l'état), la section solo réserve la colonne de droite et
     espace ses trois temps pour que le téléphone ait le temps de les jouer */
  .has-story-phone .lock_component {
    visibility: hidden;
  }

  .has-story-phone .section_solo .split_layout {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    gap: 6rem;
    align-items: stretch;
  }

  .has-story-phone .session_card {
    display: none;
  }

  .has-story-phone .story_slot {
    display: block;
    position: sticky;
    top: var(--story-pin-top);
    width: 17.5rem;
    aspect-ratio: 9 / 19;
  }

  .has-story-phone .section_solo .feature_list {
    gap: 34vh;
    padding: 16vh 0 34vh;
  }

  /* Trois temps qui se lisent comme les scènes du problème */
  .has-story-phone .section_blocker .feature_item,
  .has-story-phone .section_solo .feature_item {
    gap: 0.75rem;
    max-width: 32rem;
  }

  .has-story-phone .section_blocker .feature_item h3,
  .has-story-phone .section_solo .feature_item h3 {
    font-size: clamp(1.5rem, 1rem + 1vw, 2rem);
    line-height: 1.2;
  }

  .has-story-phone .section_blocker .feature_item p,
  .has-story-phone .section_blocker .mode_list li,
  .has-story-phone .section_solo .feature_item p {
    font-size: 1.1875rem;
    line-height: 1.5;
  }

  /* Duels, bloqueur : le téléphone reste épinglé à droite, le texte passe
     dans la colonne de gauche et ses temps s'espacent. Les anciens visuels
     (cartes de résultat, d'usage) laissent la place au téléphone. */
  .has-story-phone .section_duels .padding-section-medium,
  .has-story-phone .section_blocker .padding-section-medium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    column-gap: 5rem;
    align-items: start;
  }

  /* Duels : le téléphone de Lina à gauche, le vôtre à droite, le texte au centre */
  .has-story-phone .section_duels .padding-section-medium {
    grid-template-columns: 17.5rem minmax(0, 1fr) 17.5rem;
    column-gap: 6rem;
  }

  .has-story-phone .section_duels .padding-section-medium > *,
  .has-story-phone .section_blocker .padding-section-medium > * {
    grid-column: 1;
  }

  .has-story-phone .section_duels .story_slot,
  .has-story-phone .section_blocker .story_slot {
    grid-column: 2;
    grid-row: 1 / span 12;
    justify-self: end;
  }

  /* Halo : le téléphone s'est effacé, son emplacement ne sert plus que de
     repère à la transition et ne prend pas de place */
  .has-story-phone .section_halo .story_slot {
    position: absolute;
    top: 0;
    right: 0;
    visibility: hidden;
  }

  .has-story-phone .section_duels .padding-section-medium > * {
    grid-column: 2;
  }

  /* L'emplacement double couvre toute la largeur : ses bords donnent la place des deux téléphones */
  .has-story-phone .section_duels .story_slot {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .has-story-phone .story_slot.is-duo {
    width: 100%;
    height: calc(17.5rem * 19 / 9);
    aspect-ratio: auto;
  }

  /* Au-dessus du canvas du téléphone, pour la série affichée sous le Halo */
  .has-story-phone .story_slot {
    z-index: 5;
    pointer-events: none;
  }

  .has-story-phone .section_duels .duels_grid {
    grid-template-columns: 1fr;
    gap: 30vh;
    padding: 12vh 0 0;
  }

  .has-story-phone .section_duels .section_title,
  .has-story-phone .section_duels .split_content {
    text-align: center;
  }

  .has-story-phone .section_duels .duel_track {
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
  }

  /* Niveau : votre téléphone vient se poser sous le texte, il faut lui laisser sa hauteur */
  .has-story-phone .section_duels .split_layout.is-level {
    grid-template-columns: 1fr;
    margin-top: 30vh;
    padding-bottom: calc(17.5rem * 19 / 9 + 6rem);
  }

  .has-story-phone .section_duels .split_visual,
  .has-story-phone .section_blocker .split_visual,
  .has-story-phone .final_halo {
    display: none;
  }

  .has-story-phone .section_blocker .split_layout {
    grid-template-columns: 1fr;
  }

  .has-story-phone .section_blocker .feature_list {
    gap: 30vh;
    padding: 12vh 0 30vh;
  }

  .has-story-phone .story_slot.is-final {
    display: block;
    position: static;
    width: 17.5rem;
    aspect-ratio: 9 / 19;
  }

  /* La chute reste dans la colonne des scènes, sans passer sous le téléphone
     quand il s'est posé à droite */
  .problem_switch {
    max-width: min(34rem, calc(100% - 18.5rem));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav_component {
    animation: intro-nav 0.9s var(--ease-out) 0.05s backwards;
  }

  /* Filet si le script tarde : le titre entier apparaît après 1,2 s */
  .hero_title {
    animation: intro-fallback 0.6s ease 1.2s backwards;
  }

  .hero_title.is-split {
    animation: none;
  }

  .blur-word {
    animation: intro-word 0.9s var(--ease-out) backwards;
    animation-delay: calc(0.15s + var(--i, 0) * 0.07s);
  }

  .section_hero .hero_subtitle {
    animation: intro-blur 0.9s var(--ease-out) 0.85s backwards;
  }

  .section_hero .store_button {
    animation: intro-blur 0.8s var(--ease-out) backwards;
    animation-delay: calc(1.05s + var(--i, 0) * 0.09s);
  }

  .section_hero .store_note {
    animation: intro-blur 0.8s var(--ease-out) 1.35s backwards;
  }

  .section_hero .hero_visual {
    animation: intro-blur 1.1s var(--ease-out) 0.5s backwards;
  }

  .hero-3d_canvas {
    animation: intro-stage 1.8s var(--ease-out) backwards;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .breathe_circle {
    transform: scale(0.95);
  }
}

/* Fond animé des sections solo, duels et bloqueur : les couleurs de l'entité
   Halo en fluide lent que la souris remue (halo-flow-bg.js). */
.flow-bg_wrap {
  position: relative;
  /* Sur le fond coloré, les textes secondaires passent au blanc */
  --color-text-muted: rgba(247, 246, 243, 0.92);
  --color-text-subtle: rgba(247, 246, 243, 0.78);
}

/* Le calque couvre exactement la zone ; sa partie collante y reste enfermée */
.flow-bg_layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.flow-bg_sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.flow-bg_canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Entrée et sortie en fondu très long, au-dessus du calque, sous le texte */
.flow-bg_wrap::before,
.flow-bg_wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70vh;
  z-index: 1;
  pointer-events: none;
}

.flow-bg_wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(7, 7, 11, 0.85) 20%, rgba(7, 7, 11, 0.55) 45%, rgba(7, 7, 11, 0.22) 70%, rgba(7, 7, 11, 0) 100%);
}

.flow-bg_wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, rgba(7, 7, 11, 0.85) 20%, rgba(7, 7, 11, 0.55) 45%, rgba(7, 7, 11, 0.22) 70%, rgba(7, 7, 11, 0) 100%);
}

.flow-bg_wrap > section {
  position: relative;
  z-index: 2;
}

/* « Égalité. » reste gris, mais lisible sur le fond */
.flow-bg_wrap .duel_word.is-draw {
  color: #b4b3bc;
}

/* ==========================================================================
   Mobile : la page pensée pour le pouce
   ========================================================================== */

/* Le voile du récit du Halo, le mur d'apps et le reflet du bouton de l'en-tête
   débordent exprès sur les côtés : la page les coupe sans créer de défilement
   horizontal (clip, contrairement à hidden, laisse les éléments collants
   fonctionner) */
.page-wrapper {
  overflow-x: clip;
}

html {
  -webkit-tap-highlight-color: transparent;
}

/* Carrousels (duels, cartes du bloqueur) : points de position, posés par
   halo-lp.js, visibles seulement quand le carrousel est actif */
.snap_dots {
  display: none;
}

@media (max-width: 767px) {
  .padding-section-hero {
    padding-top: 1.25rem;
    padding-bottom: 3.5rem;
  }

  .padding-section-medium {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .padding-section-large {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section_title {
    margin-bottom: 2rem;
  }

  /* En-tête : un bouton à la taille du doigt, qui laisse la place à la barre
     du bas dès qu'elle apparaît (une seule invitation à la fois) */
  .nav_cta.specular-button {
    min-height: 2.5rem;
    padding: 0 1.125rem;
    transition: opacity 0.3s ease, transform 0.15s ease;
  }

  .has-sticky-cta .nav_cta.specular-button {
    opacity: 0;
    pointer-events: none;
  }

  /* Hero : les boutons des stores en grille pleine largeur, le téléphone
     posé dans une lueur aux couleurs du Halo */
  .hero_layout {
    gap: 2.75rem;
  }

  .hero_content {
    gap: 1.25rem;
  }

  .hero_content > .store_component {
    margin-top: 0.75rem;
  }

  .store_component {
    width: 100%;
  }

  .hero_content .store_buttons,
  .store_component.is-center .store_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    width: 100%;
  }

  /* Trois boutons (système inconnu) : le dernier prend toute la ligne */
  .store_button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .store_button,
  .store_button.is-secondary-os {
    justify-content: center;
    min-width: 0;
    min-height: 3.25rem;
    border-radius: 0.875rem;
  }

  .store_component.is-center .store_note {
    max-width: 18rem;
  }

  .hero_visual {
    position: relative;
  }

  .hero_visual::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 40%;
    width: 140%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 159, 90, 0.2), rgba(140, 108, 240, 0.12) 50%, rgba(7, 7, 11, 0) 100%);
    pointer-events: none;
  }

  .phone_component {
    width: min(16.25rem, 70vw);
  }

  /* Duels et cartes du bloqueur : un carrousel qu'on balaie du pouce, la
     carte suivante dépasse pour inviter au geste */
  .duels_grid,
  .blocker_visuals {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 0.75rem;
    width: auto;
    max-width: none;
    margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left)));
    margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right)));
    padding: 0.25rem max(var(--gutter), env(safe-area-inset-right)) 0.25rem max(var(--gutter), env(safe-area-inset-left));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left));
    scrollbar-width: none;
  }

  .duels_grid::-webkit-scrollbar,
  .blocker_visuals::-webkit-scrollbar {
    display: none;
  }

  .duels_grid > *,
  .blocker_visuals > * {
    scroll-snap-align: start;
  }

  .duel_track {
    gap: 1.25rem;
    padding: 1.5rem 1.25rem 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: rgba(14, 15, 21, 0.62);
  }

  .duel_word {
    font-size: 3.25rem;
  }

  .blocker_visuals > .card_component {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .snap_dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
  }

  .snap_dot {
    position: relative;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .snap_dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 999px;
    background: rgba(247, 246, 243, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out), background-color 0.35s;
  }

  .snap_dot.is-active::before {
    width: 1.375rem;
    background: var(--color-text);
  }

  /* Une colonne qui ne s'élargit pas au contenu d'un carrousel */
  .split_layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .split_layout.is-level {
    margin-top: 4rem;
  }

  /* Écran de PC : moins de piste à défiler pour le mur d'apps */
  .pc-wall {
    height: 165vh;
  }

  /* Barre de téléchargement : au-dessus du flou du bas de page, qui la
     brouillait (il est fixé à 1100) */
  .sticky-cta_component {
    z-index: 1200;
    padding-top: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }

  .sticky-cta_inner .button.is-small {
    min-height: 2.75rem;
    padding: 0 1.375rem;
  }

  /* Pied de page : des liens qu'on touche sans viser */
  .footer_layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer_links {
    gap: 0 1.5rem;
  }

  .footer_links a {
    display: inline-block;
    padding: 0.75rem 0;
  }
}

/* Récit du Halo en une colonne : le Halo reste au centre (il ne change plus
   de côté), le texte se lit dessous, centré, sans passer sous ses étiquettes */
@media (max-width: 991px) {
  .hs_component {
    --hs-stage: min(19rem, 38vh, calc(100vw - 2rem));
  }

  .hs_orb {
    left: calc(50% - var(--hs-stage) / 2);
  }

  /* Le Halo se soulève pendant que le texte du dessous se révèle
     (--hs-arc, posé à chaque image par js/halo-lp.js) */
  .hs_component.is-story:not(.is-outro) .hs_orb {
    transform: translateY(calc(var(--hs-arc, 0) * -0.875rem)) scale(calc(1 + var(--hs-arc, 0) * 0.06));
    transition: opacity 0.9s ease;
  }

  /* Les étiquettes restent sur une ligne et se serrent autour du Halo pour
     tenir dans la largeur d'un téléphone */
  .hs_token {
    --reach-x: 22%;
    --reach-y: 34%;
    max-width: none;
    white-space: nowrap;
    font-size: 0.6875rem;
  }

  .hs_component.is-story .hs_beats {
    gap: 50vh;
    padding-top: calc(var(--hs-stage) + 16vh);
    font-size: 1.3125rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-wrap: pretty;
  }

  .hs_component.is-story .hs_beat:nth-child(odd),
  .hs_component.is-story .hs_beat:nth-child(even) {
    text-align: center;
  }

  .hs_component.is-story .halo-text_projection {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

/* Marque : Diamix Studio dans l'en-tête sur PC, Halo sur mobile (le studio
   passe alors en toute fin de page) */
.nav_brand.is-app,
.footer_studio {
  display: none;
}

/* Hero 3D hors PC (js/halo-lp.js, mode compact) : le décor se loge derrière
   le téléphone CSS, qui garde sa place pour que rien ne saute au montage. Il
   couvre toute la largeur de l'écran et ses bords haut et bas se fondent dans
   la page. */
.hero_visual {
  position: relative;
}

.hero_visual .hero-3d_component.is-compact {
  display: block;
  position: absolute;
  inset: auto;
  top: -4rem;
  bottom: -3rem;
  left: 50%;
  z-index: 0;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 74%, transparent);
}

.hero-3d_component.is-compact::after {
  content: none;
}

.hero_visual .hero-3d_canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero_visual.is-3d .phone_component {
  visibility: hidden;
}

.hero_visual.is-3d::before {
  content: none;
}

/* Tablette tactile en paysage : le décor reste dans sa colonne */
@media (min-width: 992px) {
  .hero_visual .hero-3d_component.is-compact {
    width: 130%;
    -webkit-mask-image: radial-gradient(closest-side, #000 65%, transparent);
    mask-image: radial-gradient(closest-side, #000 65%, transparent);
  }
}

@media (max-width: 991px) {
  /* L'écran de PC 3D déborde de sa maquette pour tourner sans être rogné */
  .section_desktop {
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  .nav_brand.is-studio {
    display: none;
  }

  .nav_brand.is-app {
    display: inline-flex;
  }

  .footer_layout > span:first-child {
    display: none;
  }

  .footer_studio {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-weight: 700;
    text-decoration: none;
  }

  .footer_studio img {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4375rem;
  }

  /* Stores : sur mobile, l'App Store et Google Play passent devant ; Windows
     a sa propre section plus bas */
  .store_button[data-store="windows"] {
    display: none;
  }

  .store_button.is-mobile-pick {
    opacity: 1;
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-on-accent);
  }
}

/* Angoisse du problème (js/halo-angst.js pose --angst, de 0 à 1) : tout ce
   qui entoure les scènes grise et s'assombrit, une vignette se referme. Les
   phrases du problème gardent leur blanc et passent au-dessus de la vignette ;
   leurs mots en rouge prennent de la lumière. Le gris est un mélange de
   couleur, pas un filtre : rien à recomposer à chaque image. */
.problem_title,
.lock_head {
  color: color-mix(in srgb, var(--color-text), #34343c calc(var(--angst, 0) * 78%));
}

ul.problem_list,
.problem_switch {
  position: relative;
  z-index: 16;
}

.section_problem .text-color-alarm {
  color: color-mix(in srgb, var(--color-alarm), #ff5f7e calc(var(--angst, 0) * 70%));
  text-shadow:
    0 0 calc(1.5rem + var(--angst, 0) * 1.5rem) rgba(255, 59, 92, calc(0.35 + var(--angst, 0) * 0.5)),
    0 0 calc(var(--angst, 0) * 0.45rem) rgba(255, 120, 150, calc(var(--angst, 0) * 0.85));
}

.nav_brand,
.nav_cta,
.sticky-cta_icon,
.sticky-cta_text,
.sticky-cta_inner .button {
  filter: grayscale(var(--angst, 0)) brightness(calc(1 - var(--angst, 0) * 0.6));
}

/* Un voile gris lève les noirs au centre, les bords tombent au noir */
.angst_vignette {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 48%, transparent 30%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.9) 100%),
    rgba(92, 92, 104, 0.07);
  transition: opacity 0.25s linear;
}

/* Mobile et tablette : l'écran verrouillé devient la page elle-même. Une
   grande horloge épinglée sous l'en-tête fait défiler la journée, et les
   notifications tombent par-dessus tout, en verre dépoli, empilées comme
   sur iOS (js/halo-lp.js pose --depth, 0 pour la plus récente). Au passage
   à Halo (is-released), elles remontent et disparaissent. */
@media (max-width: 991px) {
  .problem_layout {
    margin-top: 1.5rem;
  }

  .problem_visual {
    top: 3.5rem;
    z-index: 25;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.5rem var(--gutter) 2rem;
    background: linear-gradient(to bottom, var(--color-bg) 72%, rgba(7, 7, 11, 0));
    pointer-events: none;
  }

  .lock_component {
    padding: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .lock_screen {
    display: block;
  }

  .lock_wallpaper {
    display: none;
  }

  .lock_head {
    align-items: center;
    gap: 0.125rem;
    text-align: center;
  }

  .lock_date {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    opacity: 0.7;
  }

  .lock_time {
    font-size: 4.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .lock_stack {
    position: fixed;
    top: 10.25rem;
    left: 0.625rem;
    right: 0.625rem;
    height: 4.75rem;
    transition: transform 0.6s var(--ease-out), opacity 0.4s;
  }

  .section_problem.is-released .lock_stack {
    transform: translateY(calc(-100% - 11rem));
    opacity: 0;
  }

  .lock_notif,
  .lock_notif.is-on ~ .lock_notif {
    display: flex;
  }

  .lock_notif {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: calc(10 - var(--depth, 0));
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 1.375rem;
    background: rgba(40, 40, 46, 0.94);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 14px 34px -14px rgba(0, 0, 0, 0.9);
    color: #fff;
    opacity: 0;
    transform: translateY(-140%) scale(0.92);
    transition: transform 0.65s cubic-bezier(0.32, 1.25, 0.5, 1), opacity 0.35s;
  }

  /* Les plus anciennes dépassent sous la plus récente, de plus en plus petites */
  .lock_notif.is-on {
    animation: none;
    opacity: calc(1 - var(--depth, 0) * 0.34);
    transform: translateY(calc(var(--depth, 0) * 0.5rem)) scale(calc(1 - var(--depth, 0) * 0.05));
  }

  /* Seule celle de devant floute ce qui passe dessous : un flou par image, pas trois */
  .lock_notif.is-on.is-front {
    background: rgba(44, 44, 52, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
  }

  .lock_notif-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
  }

  .lock_notif-title {
    font-size: 0.875rem;
  }

  .lock_notif-time {
    font-size: 0.75rem;
  }

  .lock_notif-text {
    display: -webkit-box;
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  ul.problem_list {
    margin-top: 4rem;
  }
}

/* Final du problème (js/halo-angst.js), entièrement lié au défilement : le
   script pose les opacités et les échelles, ce fichier ne fait que dessiner.
   Le noir passe au-dessus de tout, en-tête et barre du bas compris (1200 sur
   mobile). */
.angst_black {
  position: fixed;
  inset: 0;
  z-index: 1300;
  pointer-events: none;
  opacity: 0;
  background: #000;
}

/* La chute, seule au centre du noir. Chaque mot sort du flou selon --w (0 à
   1), la phrase entière se dissout selon --out ; la phrase rouge bat comme un
   cœur tant qu'elle est entière (is-beat). */
.angst_stage {
  position: fixed;
  inset: 0;
  z-index: 1302;
  display: grid;
  place-items: center;
  padding: 0 1.5rem;
  pointer-events: none;
  visibility: hidden;
}

.angst_phrase {
  max-width: 40rem;
  font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  color: #f7f6f3;
  opacity: calc(1 - var(--out, 0));
  filter: blur(calc(var(--out, 0) * 10px));
  transform: scale(calc(1 + var(--out, 0) * 0.06));
}

.angst_word {
  display: inline-block;
  opacity: var(--w, 0);
  filter: blur(calc((1 - var(--w, 0)) * 14px));
  transform: translateY(calc((1 - var(--w, 0)) * 0.35em)) scale(calc(0.96 + var(--w, 0) * 0.04));
}

.angst_alarm {
  color: #ff4d6d;
  text-shadow: 0 0 1.25rem rgba(255, 59, 92, 0.45);
}

.angst_stage.is-beat .angst_alarm {
  animation: angst-heartbeat 1.6s ease-in-out infinite;
}

/* Deux battements rapprochés puis un repos, la lueur suit */
@keyframes angst-heartbeat {
  0%,
  40%,
  100% {
    text-shadow: 0 0 1.25rem rgba(255, 59, 92, 0.45);
  }
  12% {
    text-shadow: 0 0 2.75rem rgba(255, 59, 92, 0.95), 0 0 0.5rem rgba(255, 130, 155, 0.9);
  }
  26% {
    text-shadow: 0 0 2.25rem rgba(255, 59, 92, 0.8), 0 0 0.4rem rgba(255, 130, 155, 0.7);
  }
}

/* La phrase du flux ne sert plus que de repère (et reste lue par les lecteurs
   d'écran). Sous elle, la marge porte le final : trois hauteurs d'écran
   (FINALE dans le script), au bout desquelles le fond fluide de la
   présentation monte du bas de l'écran. */
.section_problem.has-stage .problem_switch {
  opacity: 0;
  margin-bottom: calc(315vh - 12rem);
}

.section_problem.is-dark .problem_title,
.section_problem.is-dark .problem_visual,
.section_problem.is-dark .problem_list {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .angst_stage.is-beat .angst_alarm {
    animation: none;
  }
}

@media (max-width: 991px) {
  .section_problem.has-stage .problem_switch {
    margin-top: 50vh;
  }

  /* L'horloge colle à l'en-tête et couvre ce qui défile dessous */
  .problem_visual {
    padding-top: 0.25rem;
    background: linear-gradient(to bottom, var(--color-bg) 78%, rgba(7, 7, 11, 0));
  }

  /* L'ordre d'un vrai réveil : l'horloge se colle d'abord en haut, seule,
     puis la première notification tombe et son texte se révèle dessous */
  ul.problem_list {
    gap: 42vh;
    margin-top: 80vh;
  }
}

/* Les notifications s'assombrissent avec la journée : un voile noir dans la
   carte, pour ne pas casser le flou de celle de devant (un filtre ou une
   opacité sur elle en ferait une racine de flou) */
.lock_notif::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #000;
  opacity: calc(var(--angst, 0) * 0.55);
  pointer-events: none;
}

/* Halo dans le noir : braise endormie, puis réveillé. Le script pose son
   opacité, sa position, son échelle et --glow, la lueur qui l'entoure une fois
   allumé (un dégradé sous le canvas, composité). */
.angst_orb {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1303;
  width: min(15rem, 62vw);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.angst_orb::before {
  content: '';
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 130, 0.3), rgba(230, 120, 110, 0.1) 45%, rgba(230, 120, 110, 0) 100%);
  opacity: var(--glow, 0);
}

.angst_orb-canvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* L'onde de lumière : un disque chaud qui grandit et se dissipe */
.angst_flash {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1301;
  width: 100vmax;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 176, 140, 0.7), rgba(236, 120, 110, 0.3) 40%, rgba(180, 90, 120, 0.08) 70%, rgba(180, 90, 120, 0) 100%);
}

/* La lueur chaude qui reste une fois le noir levé, avant le fond fluide */
.angst_warmth {
  position: fixed;
  inset: 0;
  z-index: 14;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 105%, rgba(240, 130, 90, 0.24), rgba(200, 100, 110, 0.08) 55%, rgba(200, 100, 110, 0) 80%),
    radial-gradient(circle at 50% 50%, rgba(255, 160, 120, 0.09), rgba(255, 160, 120, 0) 55%);
}

/* Particules dorées (js/halo-embers.js), au-dessus de la page, sous la barre du bas */
.embers_canvas {
  position: fixed;
  inset: 0;
  z-index: 1150;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
}

.embers_canvas.is-on {
  display: block;
}

@media (min-width: 992px) {
  .lock_notif {
    position: relative;
  }
}

/* Scènes de la section solo (js/halo-solo-scenes.js), en une colonne : un
   téléphone 3D au-dessus de chaque temps, sans carte. */
.scene {
  display: none;
}

@media (max-width: 991px) {
  .section_solo.has-scenes .feature_list {
    gap: 5.5rem;
    margin-top: 3rem;
  }

  .section_solo.has-scenes .split_visual {
    display: none;
  }

  .scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
}

/* Écrans d'app en boucle (js/halo-app-motion.js) : un écran nu, sans fond
   d'écran ni coque, où un doigt rejoue le geste. Vues superposées, une seule
   visible (is-on), en fondu. */
@media (max-width: 991px) {
  .app_scene {
    margin-bottom: 2rem;
  }

  .app_screen {
    position: relative;
    width: min(17rem, 78vw);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 2.25rem;
    background: radial-gradient(120% 60% at 50% 0%, rgba(140, 108, 240, 0.12), rgba(7, 7, 11, 0) 70%), #0b0b11;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    font-size: 0.875rem;
    text-align: left;
  }

  .app_view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.125rem;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
    pointer-events: none;
  }

  .app_view.is-on {
    opacity: 1;
    transform: none;
  }

  /* Le doigt : un cercle qui se pose et s'efface */
  .app_tap {
    position: absolute;
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    margin: -1.375rem 0 0 -1.375rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
  }

  .app_tap.is-on {
    animation: app-tap 0.55s ease-out;
  }

  .app_screen button {
    font: inherit;
    border: 0;
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
  }

  .app_screen .is-pressed {
    transform: scale(0.94);
  }

  /* Focus solo : réglage de la durée */
  .app_head {
    align-self: flex-start;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .app_duration {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .app_label {
    color: var(--color-text-muted);
  }

  .app_stepper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .app_round {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    font-size: 1.375rem;
    line-height: 1;
  }

  .app_minutes {
    min-width: 6.5rem;
    text-align: center;
    color: var(--color-text-muted);
  }

  .app_minutes b {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
  }

  .app_start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    border-radius: 999px;
    background: #f7f6f3;
    color: #0b0b11;
    font-weight: 700;
  }

  .app_start svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: currentColor;
  }

  /* Focus solo : en cours, comme dans l'app, sans le fond */
  .app_view.is-running {
    justify-content: center;
  }

  .app_halo {
    width: 88%;
    aspect-ratio: 1;
    margin-top: -1rem;
  }

  .app_timer {
    margin-top: -0.5rem;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
  }

  .app_pause {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 3rem;
    margin-left: -2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .app_pause svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #f7f6f3;
  }

  /* Duel : le choix des trois modes, comme dans l'app */
  .app_view.is-menu {
    justify-content: center;
  }

  .app_card {
    width: 100%;
    padding: 0.875rem 0.75rem 0.375rem;
    border-radius: 1.25rem;
    background: #15161c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  }

  .app_card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .app_card-head svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: var(--color-peach);
    stroke-width: 2;
    stroke-linecap: round;
  }

  .app_mode {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0 -0.375rem;
    padding: 0.5rem 0.375rem;
    border-radius: 0.875rem;
    transition: background-color 0.3s ease, transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
  }

  .app_mode.is-pressed {
    background: rgba(255, 255, 255, 0.06);
  }

  .app_mode-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
  }

  .app_mode-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .app_mode.is-live .app_mode-icon {
    background: rgba(255, 159, 90, 0.16);
  }

  .app_mode.is-live svg {
    stroke: var(--color-accent);
  }

  .app_mode.is-async .app_mode-icon {
    background: rgba(185, 174, 234, 0.16);
  }

  .app_mode.is-async svg {
    stroke: var(--color-lavender);
  }

  .app_mode.is-coop .app_mode-icon {
    background: rgba(168, 199, 176, 0.16);
  }

  .app_mode.is-coop svg {
    stroke: var(--color-sage);
  }

  .app_mode-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
  }

  .app_mode-text small {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
  }

  .app_mode i {
    flex: none;
    width: 0.4375rem;
    height: 0.4375rem;
    border-top: 1.5px solid var(--color-text-subtle);
    border-right: 1.5px solid var(--color-text-subtle);
    transform: rotate(45deg);
  }

  /* Duel : recherche d'un adversaire, un arc qui tourne autour des photos */
  .app_view.is-search {
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
  }

  .app_radar {
    position: relative;
    display: grid;
    place-items: center;
    width: 8rem;
    height: 8rem;
  }

  .app_radar-spin {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--color-accent);
    animation: app-spin 0.9s linear infinite;
  }

  .is-found .app_radar-spin {
    border-color: var(--color-accent);
    animation: none;
  }

  .app_radar-photo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    object-fit: cover;
    filter: blur(3px) saturate(0.6);
    transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  }

  .is-found .app_radar-photo {
    filter: none;
    transform: scale(1.08);
  }

  .app_search-text {
    color: var(--color-text-muted);
  }

  .app_found {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  }

  .is-found .app_found {
    opacity: 1;
    transform: none;
  }

  .app_found b {
    font-size: 1.125rem;
  }

  .app_found small {
    color: var(--color-lavender);
  }

  /* Duel : face-à-face, l'adversaire en haut, vous (Halo) en bas */
  .app_view.is-match {
    justify-content: space-between;
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .app_player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
  }

  .app_avatar {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.375rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(185, 174, 234, 0.6);
    transition: filter 0.6s ease, box-shadow 0.6s ease;
  }

  .app_player-status {
    font-size: 0.75rem;
    color: var(--color-peach);
    transition: color 0.4s ease;
  }

  .app_vs {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .app_vs-time {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
  }

  .app_vs small {
    color: var(--color-text-muted);
  }

  .app_halo.is-small {
    width: 9.5rem;
    margin: -1.5rem 0 -2rem;
  }

  .is-won .is-them .app_avatar {
    filter: grayscale(1) brightness(0.6);
    box-shadow: 0 0 0 2px rgba(255, 59, 92, 0.5);
  }

  .is-won .is-them .app_player-status {
    color: var(--color-alarm);
  }

  /* Victoire : un bandeau qui monte, l'Elo gagné, le total */
  .app_win {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.875rem;
    border-radius: 1.25rem;
    background: rgba(21, 22, 28, 0.94);
    box-shadow: inset 0 0 0 1px rgba(255, 179, 138, 0.3), 0 20px 40px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(-30%) scale(0.9);
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1);
  }

  .is-won .app_win {
    opacity: 1;
    transform: translateY(-50%);
  }

  .app_win b {
    font-size: 1.25rem;
  }

  .app_win-elo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-peach);
  }

  .app_win small {
    color: var(--color-text-muted);
  }
}

@keyframes app-tap {
  0% {
    opacity: 0;
    transform: scale(1.4);
  }
  30% {
    opacity: 1;
    transform: scale(0.85);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes app-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Téléphones 3D de la section solo en une colonne (js/halo-video-phone.js) :
   la vidéo de démonstration de l'app tourne sur leur écran */
@media (max-width: 991px) {
  .scene-phone {
    width: min(18rem, 80vw);
    aspect-ratio: 3 / 5;
    margin-bottom: 1.5rem;
  }

  .scene-phone_canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* Boutons de store au format des badges officiels (Apple, Google) : fond
   noir, liseré gris, texte blanc, logo Google Play en couleurs */
.store_button,
.store_button.is-primary,
.store_button.is-secondary-os {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  border: 1px solid #a6a6a6;
  background: #000;
  color: #fff;
  opacity: 1;
}

.store_button:hover,
.store_button.is-primary:hover {
  background: #000;
  border-color: #fff;
}

.store_button .store_label {
  opacity: 1;
}

.store_icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Performances : une animation infinie d'une section hors écran ne s'arrête
   pas d'elle-même (masques qui dérivent, dégradés coniques qui tournent) et
   repeint à chaque image. halo-lp.js pose .is-offscreen loin de l'écran. */
.is-offscreen,
.is-offscreen::before,
.is-offscreen::after,
.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after {
  animation-play-state: paused !important;
}

/* Sur écran tactile, le défilement passe avant les effets que l'oeil ne
   suit pas au doigt : chaque flou se recalcule à chaque image */
@media (pointer: coarse) {
  /* La vague floutée reste dessinée, elle ne dérive plus sous un flou d'arrière-plan */
  .section_problem::before,
  .section_problem::after {
    animation: none;
  }

  /* Barre du bas presque opaque : le flou dessous ne se voyait pas */
  .sticky-cta_component {
    background: rgba(14, 15, 21, 0.95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Les jetons flottent sur un Halo animé : leur flou se recalculait à chaque image */
  .hs_token {
    background: rgba(14, 15, 21, 0.92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Les mots se révèlent en fondu et en glissé, sans flou par mot */
  .angst_word,
  .angst_phrase,
  .pc-wall_title.is-first,
  .pc-wall_title.is-second {
    filter: none;
  }
}

/* Pied de page de la landing. Garde .footer_component (pause des animations
   hors écran, js/halo-lp.js) ; le flou fixe du bas de l'écran s'efface quand
   il arrive (js/halo-lp.js, .is-hidden plus bas). */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  border-top: 0;
  /* Le lac de nuit du Halo, fondu dans la page par le haut */
  background:
    linear-gradient(180deg, var(--color-bg) 0%, rgba(7, 7, 11, 0.55) 40%, rgba(7, 7, 11, 0.35) 100%),
    url("/img/halo/decor/foret-pied.webp") center bottom / cover no-repeat,
    #0a0a10;
}

/* Filet lumineux en haut : le dégradé du Halo, qui s'éteint sur les bords */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 90, 0.55) 30%, rgba(255, 111, 125, 0.55) 50%, rgba(140, 108, 240, 0.55) 70%, transparent);
}

.site-footer_glow {
  position: absolute;
  left: 50%;
  bottom: -22rem;
  width: 64rem;
  height: 34rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 159, 90, 0.16), rgba(255, 111, 125, 0.08) 45%, rgba(140, 108, 240, 0.05) 70%, transparent);
  pointer-events: none;
}

.site-footer .container-large {
  position: relative;
}

.site-footer_top {
  display: grid;
  gap: 3rem;
  padding: 4.5rem 0 2.5rem;
}

.site-footer_brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  max-width: 22rem;
}

.site-footer_logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-footer_logo img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 0 1px var(--color-border), 0 8px 24px rgba(255, 159, 90, 0.18);
}

.site-footer_tagline {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer_mail {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-glass);
  color: var(--color-text);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.site-footer_mail svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  color: var(--color-accent);
}

.site-footer_mail:hover {
  border-color: rgba(255, 159, 90, 0.45);
  background: rgba(255, 159, 90, 0.06);
}

.site-footer_socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.site-footer_social {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.875rem;
  background: var(--color-glass);
  color: var(--color-text-muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out);
}

.site-footer_social svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.site-footer_social:hover {
  color: var(--color-text);
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.site-footer_cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
}

.site-footer_heading {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer_col ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer_col a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Store pas encore ouvert : le lien mène au bloc de téléchargement, avec une pastille */
.site-footer_col a.is-soon::after {
  content: 'Bientôt';
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 159, 90, 0.12);
  color: var(--color-peach);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Le mot Halo en très grand, qui se dissout dans le bas de la page */
.site-footer_wordmark {
  margin: 0 0 -0.18em;
  font-size: clamp(6rem, 24vw, 19rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 179, 138, 0.22) 0%, rgba(185, 174, 234, 0.08) 55%, transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.site-footer_bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  font-size: 0.8125rem;
}

.site-footer_studio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer_studio img {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.375rem;
}

.site-footer_studio strong {
  color: var(--color-text-muted);
  font-weight: 600;
}

.site-footer_studio:hover,
.site-footer_studio:hover strong {
  color: var(--color-text);
}

@media (min-width: 768px) {
  .site-footer_cols {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }

  .site-footer_col a {
    white-space: nowrap;
  }
}

/* Marque et colonnes côte à côte seulement quand les quatre colonnes tiennent
   sans revenir à la ligne (mesuré : elles débordaient à 1024 px) */
@media (min-width: 1200px) {
  .site-footer_top {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 4rem;
    padding-top: 6rem;
  }

  .site-footer_cols {
    justify-content: end;
    gap: 2.5rem 3rem;
  }
}

/* Mobile : la barre d'action collante s'efface sur le pied de page, il n'a
   donc plus à lui laisser de place ; les liens se touchent sans viser */
@media (max-width: 767px) {
  .site-footer_top {
    padding-top: 3.5rem;
  }

  .site-footer_col a {
    padding: 0.625rem 0;
  }

  .site-footer_bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* Flou fixe du bas de l'écran : il s'efface devant le pied de page */
.gradual-blur-page {
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.gradual-blur-page.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

/* Téléchargement direct en cours (js/halo-lp.js) : le bouton affiche sa progression */
.store_button[aria-busy='true'],
.site-footer_col a[aria-busy='true'] {
  cursor: progress;
}

.store_button[aria-busy='true'] .store_label {
  font-variant-numeric: tabular-nums;
}

/* Note sous le bouton Android tant que Halo s'installe par APK (js/halo-lp.js) */
.store_hint {
  max-width: 22rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-subtle);
}

.store_component.is-center .store_hint {
  margin-inline: auto;
  text-align: center;
}

.site-footer_hint {
  max-width: 13rem;
  padding: 0.125rem 0 0.375rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-subtle);
}

@media (min-width: 768px) {
  .site-footer_hint {
    white-space: normal;
  }
}

/* Mobile : fluidité d'abord (même requête que mobileLite, js/halo-lp.js).
   Les textes s'affichent sans effet d'apparition, et la page attend derrière
   un écran de chargement que tout soit prêt. */
.preloader {
  display: none;
}

@media (max-width: 767px), (max-width: 991px) and (pointer: coarse) {
  .preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    background: var(--color-bg);
    transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
    /* Filet sans script : la page apparaît quand même */
    animation: preloader-fallback 0.4s ease 12s forwards;
  }

  .preloader.is-done {
    opacity: 0;
    visibility: hidden;
  }

  .preloader_icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.125rem;
    box-shadow: 0 0 0 1px var(--color-border), 0 12px 40px rgba(255, 159, 90, 0.22);
  }

  .preloader_bar {
    width: 8rem;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .preloader_bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-warm), var(--color-accent-cool));
    transform: scaleX(var(--progress, 0.04));
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }

  html.is-preloading,
  html.is-preloading body {
    overflow: hidden;
  }

  /* Hero : titre, sous-titre, boutons et visuel sont là dès que la page se montre */
  .hero_title,
  .blur-word,
  .section_hero .hero_subtitle,
  .section_hero .store_button,
  .section_hero .store_note,
  .section_hero .hero_visual {
    animation: none;
  }

  /* Blocs qui montaient en fondu */
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  [data-reveal] {
    transition: none;
  }

  /* Phrase de chute du problème : entière d'un coup, plus mot à mot */
  .angst_word {
    opacity: 1;
    filter: none;
    transform: none;
  }

  /* Réponses de la FAQ : écrites d'emblée */
  .js .faq_answer:not(.is-writing) .faq_word {
    opacity: 1;
  }

  .faq_answer.is-writing .faq_word {
    animation: none;
  }

  /* Mur d'apps : le second titre remplace le premier, sans fondu ni flou */
  .pc-wall_title.is-first {
    opacity: clamp(0, (0.5 - var(--p, 0)) * 1000, 1);
    filter: none;
    transform: none;
  }

  .pc-wall_title.is-second {
    opacity: clamp(0, (var(--p, 0) - 0.5) * 1000, 1);
    filter: none;
    transform: none;
  }
}

@keyframes preloader-fallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Fil d'Ariane des pages secondaires */
.breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.375rem;
  color: var(--color-text-subtle);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.breadcrumb [aria-current='page'] {
  color: var(--color-text);
}

/* Liste d'attente iPhone (js/halo-waitlist.js) : idle, loading, error, success */
.waitlist {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  max-width: 26rem;
  margin-top: 1.5rem;
  text-align: left;
}

.store_component.is-center .waitlist,
.waitlist.is-center {
  margin-inline: auto;
}

.waitlist_label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.waitlist_row {
  display: flex;
  gap: 0.5rem;
}

.waitlist_input {
  flex: 1;
  min-width: 0;
  min-height: 2.875rem;
  padding: 0 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 0.875rem;
  background: var(--color-glass);
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist_input::placeholder {
  color: var(--color-text-subtle);
}

.waitlist_input:focus {
  outline: none;
  border-color: rgba(255, 159, 90, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 159, 90, 0.18);
}

.waitlist_input[aria-invalid='true'] {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 87, 0.18);
}

/* Pot de miel : hors de vue, jamais rempli par un humain */
.waitlist_trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.waitlist_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0.875rem;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}

.waitlist_button:hover {
  transform: translateY(-1px);
}

.waitlist_button:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

.waitlist_spinner {
  display: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(26, 14, 5, 0.25);
  border-top-color: var(--color-on-accent);
  border-radius: 50%;
  animation: halo-spin 0.7s linear infinite;
}

.waitlist[data-state='loading'] .waitlist_button-text {
  visibility: hidden;
}

.waitlist[data-state='loading'] .waitlist_spinner {
  display: block;
  position: absolute;
}

.waitlist_message {
  min-height: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.waitlist[data-state='error'] .waitlist_message {
  color: var(--color-danger);
}

.waitlist[data-state='success'] .waitlist_row,
.waitlist[data-state='success'] .waitlist_label {
  display: none;
}

.waitlist[data-state='success'] .waitlist_message {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(168, 199, 176, 0.35);
  border-radius: 0.875rem;
  background: rgba(168, 199, 176, 0.08);
  color: var(--color-sage);
  font-size: 0.9375rem;
}

@keyframes halo-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 479px) {
  .waitlist_row {
    flex-direction: column;
  }
}

/* Bandeau de consentement (js/halo-analytics.js), seulement si GA4 est configuré */
.consent_banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 100001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-medium);
  background: rgba(14, 15, 21, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
}

.consent_text {
  flex: 1 1 18rem;
  color: var(--color-text-muted);
}

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

.consent_actions {
  display: flex;
  gap: 0.5rem;
}

.consent_button {
  min-height: 2.5rem;
  padding: 0 1.125rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consent_button.is-primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-on-accent);
}

/* Page de téléchargement (/halo/telecharger) */
.dl_page .main-wrapper {
  padding-bottom: 5rem;
}

.dl_view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  text-align: center;
}

.dl_view[hidden] {
  display: none;
}

.dl_icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.375rem;
  box-shadow: 0 0 0 1px var(--color-border), 0 16px 48px rgba(255, 159, 90, 0.2);
}

.dl_title {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.dl_title:focus {
  outline: none;
}

.dl_lead {
  max-width: 32rem;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.dl_choices {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.dl_choice {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-medium);
  background: var(--color-glass);
  color: var(--color-text);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out);
}

.dl_choice span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.dl_choice:hover {
  border-color: rgba(255, 159, 90, 0.5);
  background: rgba(255, 159, 90, 0.06);
  transform: translateY(-2px);
}

.dl_more,
.dl_again {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.dl_more a,
.dl_again a,
.dl_link {
  color: var(--color-text);
}

.dl_steps {
  display: grid;
  gap: 0.625rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--color-text-subtle);
}

.dl_step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s;
}

.dl_step-dot {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.dl_step.is-active {
  color: var(--color-text);
}

.dl_step.is-active .dl_step-dot {
  border-color: var(--color-accent);
  border-top-color: transparent;
  animation: halo-spin 0.8s linear infinite;
}

.dl_step.is-done {
  color: var(--color-sage);
}

.dl_step.is-done .dl_step-dot {
  border-color: var(--color-sage);
  background: var(--color-sage);
}

.dl_progress {
  position: relative;
  width: 100%;
  max-width: 24rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dl_progress[hidden] {
  display: none;
}

.dl_progress-bar {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-warm), var(--color-accent-cool));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 0.25s linear;
}

/* Étape sans pourcentage (préparation, vérification) : une barre qui va et vient */
.dl_progress.is-indeterminate .dl_progress-bar {
  transform: scaleX(0.3);
  animation: dl-indeterminate 1.2s ease-in-out infinite;
}

@keyframes dl-indeterminate {
  from {
    translate: -100% 0;
  }
  to {
    translate: 340% 0;
  }
}

.dl_status {
  min-height: 1.5rem;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.dl_error {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 28rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 107, 87, 0.35);
  border-radius: var(--radius-medium);
  background: rgba(255, 107, 87, 0.07);
  color: var(--color-text);
}

.dl_error[hidden] {
  display: none;
}

.dl_actions,
.dl_next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.dl_install {
  display: grid;
  gap: 0.75rem;
  max-width: 30rem;
  margin: 0.5rem 0 0;
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-glass);
  text-align: left;
  color: var(--color-text-muted);
}

.dl_install[hidden] {
  display: none;
}

.dl_install strong {
  color: var(--color-text);
}

/* Plateforme de cet appareil, commande Linux à copier */
.dl_choice.is-suggested {
  border-color: var(--color-text-muted);
}

.dl_install code {
  font-size: 0.875em;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.dl_command {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
}

.dl_command code {
  flex: 1;
  min-width: 0;
}

.dl_copy {
  flex: none;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-medium);
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Études de cas */
.cases_grid {
  display: grid;
  gap: 1rem;
  padding-bottom: 5rem;
}

.case_card {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-glass);
}

.case_card[hidden] {
  display: none;
}

.case_card.is-invite {
  justify-items: start;
  border-color: rgba(255, 159, 90, 0.3);
}

.case_title {
  font-size: 1.375rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cases_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Page 404 */
.notfound_page {
  min-height: 100vh;
  min-height: 100dvh;
}

.notfound {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 1.25rem;
  overflow: hidden;
  text-align: center;
}

.notfound_halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(36rem, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -55%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 159, 90, 0.18), rgba(255, 111, 125, 0.08) 50%, rgba(140, 108, 240, 0.04) 75%, transparent);
  pointer-events: none;
}

.notfound > *:not(.notfound_halo) {
  position: relative;
}

.notfound_code {
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--color-peach), var(--color-lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound_title {
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem);
  letter-spacing: -0.025em;
}

.notfound_text {
  max-width: 28rem;
  color: var(--color-text-muted);
}

.notfound_actions,
.notfound_nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.notfound_actions {
  margin-top: 0.5rem;
}

.notfound_link,
.notfound_nav a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.notfound_link:hover,
.notfound_nav a:hover {
  color: var(--color-text);
}

.notfound_nav {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

/* =====================================================================
   Rebrand de l'app (octobre 2026) : la landing reprend la DA de Halo.
   Sources : lib/theme/app_colors.dart (couleurs), widgets/frosted_glass.dart
   (verre : teinte 6 %, liseré 10 %, reflet 15 %, flou 18, rayon 24, grain),
   widgets/halo_pressable.dart (appui : 90 ms, retour élastique 320 ms),
   home/home_parallax.dart (le décor du hero).
   ===================================================================== */

:root {
  --color-text-subtle: #7c7b85;
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --glass-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --glass-fill: var(--glass-grain), linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.06));
  --ease-press: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Le verre de l'app : dégradé à peine plus clair en haut, grain, liseré
   éclairé par le haut. Pas de flou ici : ces cartes passent sur un fond uni,
   et un backdrop-filter au-dessus des canevas WebGL coûte à chaque image. */
.card_component,
.case_card,
.dl_choice,
.dl_install,
.faq_item,
.site-footer_social,
.site-footer_mail,
.waitlist_input,
.store_button:not(.is-primary) {
  background: var(--glass-fill);
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.card_component,
.case_card {
  border-radius: var(--radius-large);
}

/* FAQ : des cartes de verre empilées, comme les listes de l'app */
.faq_list {
  gap: 0.625rem;
}

.faq_item,
.faq_item:last-child {
  border-radius: var(--radius-large);
  padding: 0 1.25rem;
}

/* Appui : on s'enfonce vite, on revient avec un léger rebond */
.button,
.store_button,
.dl_choice,
.specular-button {
  transition: transform 0.32s var(--ease-press), border-color 0.2s, background-color 0.2s;
}

.button:active,
.store_button:active,
.dl_choice:active,
.specular-button:active {
  transform: scale(0.96);
  transition-duration: 0.09s;
  transition-timing-function: ease-out;
}

.store_button {
  border-radius: 1rem;
}

/* ---------- Hero : le décor de l'accueil de l'app ---------- */

.nav_component {
  transition: border-color 0.3s, background-color 0.3s;
}

/* Au-dessus du décor, la barre s'efface : le ciel passe dessous */
.nav_component:not(.is-scrolled) {
  background: transparent;
}

.section_hero.is-scene {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: -3.5rem;
  background: #0b0910;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-scene_layer {
  position: absolute;
  max-width: none;
  opacity: 0;
  transition: opacity 0.7s ease-out;
  will-change: transform;
  user-select: none;
}

.section_hero.is-ready .hero-scene_layer {
  opacity: 1;
}

.hero-scene_halo {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-scene_halo .halo_canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* En haut, de quoi lire la barre sur le ciel ; en bas, le décor se fond
   dans le fond de page (comme l'accueil de l'app) */
.hero-scene_shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0) 10rem),
    linear-gradient(0deg, var(--color-bg) 0, rgba(7, 7, 11, 0.72) 5.25rem, rgba(7, 7, 11, 0) 11rem);
}

.section_hero.is-scene > .padding-global {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  pointer-events: none;
}

.section_hero.is-scene .container-large {
  display: flex;
}

.section_hero.is-scene .hero_layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 0;
  padding: calc(3.5rem + 2rem + env(safe-area-inset-top)) 0 2rem;
  text-align: center;
}

.section_hero.is-scene .hero_content {
  align-items: center;
  max-width: 34rem;
  gap: 1rem;
}

.section_hero.is-scene .hero_title {
  text-shadow: 0 2px 2rem rgba(0, 0, 0, 0.45);
}

.section_hero.is-scene .hero_subtitle {
  color: rgba(247, 246, 243, 0.78);
  text-shadow: 0 1px 1rem rgba(0, 0, 0, 0.6);
}

.section_hero.is-scene .hero_actions,
.section_hero.is-scene .hero_actions a {
  pointer-events: auto;
}

.section_hero.is-scene .store_component {
  align-items: center;
  margin: 0;
}

.section_hero.is-scene .store_buttons {
  justify-content: center;
}

/* Les boutons passent sur le décor : là, le verre floute pour de vrai */
.section_hero.is-scene .store_button:not(.is-primary) {
  background: var(--glass-grain), linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section_hero.is-scene .store_note {
  color: rgba(247, 246, 243, 0.7);
}

@media screen and (max-width: 991px) {
  /* Sur téléphone, le titre se fait plus court pour laisser Halo au centre */
  .section_hero.is-scene .heading-style-h1 {
    font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  }

  .section_hero.is-scene .hero_subtitle {
    font-size: 1rem;
  }
}

@media screen and (min-width: 992px) {
  /* Sur ordinateur, le texte tient la gauche, Halo flotte à droite sur sa
     tache de lumière */
  .section_hero.is-scene .hero_layout {
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: min(36rem, 46vw - 3rem);
    padding-bottom: 4rem;
    text-align: left;
  }

  .section_hero.is-scene .hero_content {
    align-items: flex-start;
    gap: 1.5rem;
  }

  .section_hero.is-scene .store_component {
    align-items: flex-start;
  }

  .section_hero.is-scene .store_buttons {
    justify-content: flex-start;
  }

  .hero-scene_shade {
    background:
      linear-gradient(90deg, rgba(7, 7, 11, 0.7) 0, rgba(7, 7, 11, 0.35) 32%, rgba(7, 7, 11, 0) 52%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0) 10rem),
      linear-gradient(0deg, var(--color-bg) 0, rgba(7, 7, 11, 0.72) 5.25rem, rgba(7, 7, 11, 0) 11rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene_layer {
    transition: none;
    will-change: auto;
  }
}

/* Hero à bouton unique (js/halo-lp.js) : le bouton du système reste visible,
   même là où la mise en page mobile masque Windows. Lien discret vers les
   autres plateformes ; sur iPhone, la liste d'attente prend la place du bouton */
.store_component.is-single .store_button {
  display: inline-flex;
}

.store_others {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.section_hero .waitlist {
  margin-top: 0;
}

/* ---------- Fond de page : celui des onglets de l'app ----------
   js/halo-backdrop.js pose derrière toute la page l'aura de l'app
   (stats_aura.frag via js/halo-aura.js) : noir bleuté #040407, trois nappes
   de couleur qui dérivent, voile en biais, vignettage, grain. Sans WebGL 2 ou
   sans script : le même fond en dégradé statique (docs/halo-app-backgrounds.md). */
body {
  background: #040407;
}

.halo-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 18% 12%, rgba(174, 156, 255, 0.12), transparent 70%),
    radial-gradient(55% 50% at 85% 88%, rgba(255, 143, 192, 0.085), transparent 70%),
    #040407;
}

/* Le pied de page fond dans l'aura par le haut : son image (le lac de nuit)
   passe dans un calque masqué, sans aplat ni filet au-dessus. */
.site-footer {
  isolation: isolate;
  background: none;
}

.site-footer::before {
  display: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 4, 7, 0.4) 0, rgba(4, 4, 7, 0.35) 100%),
    url("/img/halo/decor/foret-pied.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.25) 6rem, rgba(0, 0, 0, 0.7) 12rem, #000 18rem);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.25) 6rem, rgba(0, 0, 0, 0.7) 12rem, #000 18rem);
}

/* Parallaxe du décor au défilement, liée au défilement lui-même (compositeur,
   js/halo-hero-scene.js pose .has-scroll-parallax et --parallax-lag) : chaque
   calque traîne de lag × défilement sur la hauteur de l'écran, sans jamais
   prendre une image de retard. Le suivi du curseur reste en JS (transform). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .has-scroll-parallax .hero-scene [data-depth] {
      animation: hero-scroll-parallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 100vh;
    }
  }
}

@keyframes hero-scroll-parallax {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 calc(var(--parallax-lag, 0) * 100vh);
  }
}

/* Les headers à décor fondent dans l'aura par le bas (masque adouci, sans
   aplat) : aucune marche entre le décor et la suite de la page. */
.section_hero.is-scene {
  background: transparent;
}

.section_hero.is-scene .hero-scene {
  -webkit-mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.12) 2.5rem, rgba(0, 0, 0, 0.4) 6rem, rgba(0, 0, 0, 0.75) 10rem, rgba(0, 0, 0, 0.94) 13rem, #000 16rem);
  mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.12) 2.5rem, rgba(0, 0, 0, 0.4) 6rem, rgba(0, 0, 0, 0.75) 10rem, rgba(0, 0, 0, 0.94) 13rem, #000 16rem);
}

/* ---------- La forêt du pied de page, sur toutes les pages de Halo ----------
   Les pages simples (légales, téléchargement, bêta…) n'ont qu'une ligne de
   pied de page : elle gagne de la hauteur pour laisser voir le sous-bois
   (img/halo/decor/foret-pied.webp), qui monte du bas et s'efface dans la page. */
.footer_component:not(.site-footer) {
  position: relative;
  isolation: isolate;
  border-top: 0;
  padding-top: clamp(8rem, 18vw, 15rem);
}

.footer_component:not(.site-footer)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 4, 7, 0.3) 0, rgba(4, 4, 7, 0.1) 60%, rgba(4, 4, 7, 0.45) 100%),
    url("/img/halo/decor/foret-pied.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.8) 55%, #000 75%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.8) 55%, #000 75%);
}

@media (max-width: 767px) {
  .site-footer::after,
  .footer_component:not(.site-footer)::after {
    background-image:
      linear-gradient(180deg, rgba(4, 4, 7, 0.4) 0, rgba(4, 4, 7, 0.35) 100%),
      url("/img/halo/decor/foret-pied-900.webp");
  }
}

/* ---------- 404 sous /halo : la clairière ----------
   js/notfound-scope.js pose .is-halo-404 quand l'adresse introuvable est
   sous /halo. Le rayon de lumière tombe sur le rocher à droite, le texte
   reste au centre sur un voile sombre. */
.is-halo-404 .notfound {
  background:
    radial-gradient(ellipse 46% 52% at 50% 50%, rgba(4, 4, 7, 0.72), rgba(4, 4, 7, 0.38) 70%, rgba(4, 4, 7, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.35) 0, transparent 30%, transparent 70%, rgba(4, 4, 7, 0.55) 100%),
    url("/img/halo/decor/foret-clairiere.webp") 70% center / cover no-repeat,
    #040407;
}

.is-halo-404 .notfound_halo {
  opacity: 0.6;
}

@media (max-width: 767px) {
  .is-halo-404 .notfound {
    background:
      linear-gradient(180deg, rgba(4, 4, 7, 0.55) 0, rgba(4, 4, 7, 0.7) 45%, rgba(4, 4, 7, 0.4) 100%),
      url("/img/halo/decor/foret-clairiere-900.webp") 76% center / cover no-repeat,
      #040407;
  }
}

/* ---------- Les falaises face à face (img/halo/decor/falaises.webp) ----------
   Derrière une carte d'offre : la carte flotte dans la brume du ravin,
   entre les deux falaises. Le décor s'efface en haut et en bas dans le fond
   de page, et s'assombrit au centre pour garder la carte lisible. La
   section doit poser un contexte d'empilement (position + isolation). */
.canyon {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/img/halo/decor/falaises.webp") center 58% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.5) 14%, #000 30%, #000 58%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0.4) 82%, rgba(0, 0, 0, 0.12) 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.5) 14%, #000 30%, #000 58%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0.4) 82%, rgba(0, 0, 0, 0.12) 92%, transparent 100%);
}

.canyon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 30rem 70% at 50% 50%, rgba(4, 4, 7, 0.5), rgba(4, 4, 7, 0) 100%);
}

@media (max-width: 767px) {
  .canyon {
    background-image: url("/img/halo/decor/falaises-900.webp");
  }

  .canyon::after {
    background: rgba(4, 4, 7, 0.35);
  }
}

.is-canyon {
  position: relative;
  isolation: isolate;
}

/* Sur la page des tarifs : derrière les trois téléphones de « Ce que Halo+
   ouvre ». Pas de carte au centre : un voile léger sur toute la largeur
   plutôt que l'ellipse sombre. La section gagne du bas pour que le fondu
   finisse sous les légendes. */
.plus_show.is-canyon {
  padding-top: 8rem;
  padding-bottom: 9rem;
}

.plus_show .canyon {
  background-position: center 55%;
}

.plus_show .canyon::after {
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(4, 4, 7, 0.45), rgba(4, 4, 7, 0) 100%),
    rgba(4, 4, 7, 0.15);
}

/* Sur la landing (section « Gratuit », sous les avis) : le ravin prend plus
   de hauteur autour de la carte, et le fondu vers le fond de page est long,
   en haut comme en bas, pour qu'on ne voie pas où l'image commence. */
.section_free.is-canyon .padding-section-medium {
  padding-top: clamp(9rem, 16vw, 15rem);
  padding-bottom: clamp(9rem, 16vw, 15rem);
}

.section_free .canyon {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 0.65) 24%, rgba(0, 0, 0, 0.9) 32%, #000 40%, #000 60%, rgba(0, 0, 0, 0.9) 68%, rgba(0, 0, 0, 0.65) 76%, rgba(0, 0, 0, 0.3) 85%, rgba(0, 0, 0, 0.08) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 0.65) 24%, rgba(0, 0, 0, 0.9) 32%, #000 40%, #000 60%, rgba(0, 0, 0, 0.9) 68%, rgba(0, 0, 0, 0.65) 76%, rgba(0, 0, 0, 0.3) 85%, rgba(0, 0, 0, 0.08) 93%, transparent 100%);
}
