/* ==========================================================================
   My Heart Zone — feuille de styles du site
   Partagée par toutes les langues (fr/, en/, es/) : aucun texte ici.

   Direction artistique : salle de sport de nuit.
   - sol en caoutchouc noir, tubes d'acier, grillage de cage éclairé ;
   - afficheur LED 7 segments de chrono mural ;
   - blanc « magnésie » pour le texte ;
   - les 5 couleurs de zones sont exactement celles de l'app (couleurs
     système iOS en mode sombre) et ne servent QUE à coder les zones.

   Sommaire
     1. Polices auto-hébergées
     2. Jetons (couleurs, typo, espacements)
     3. Base et accessibilité
     4. Motifs de fond (grille, grillage, grain)
     5. Typographie
     6. Boutons et badges
     7. Navigation
     8. Appareils (iPhone, Apple Watch)
     9. Afficheur LED
    10. Page d'accueil — sections
    11. Pages de contenu (confidentialité, assistance)
    12. Pied de page
    13. Animations au défilement
    14. Mouvement réduit, impression
   ========================================================================== */

/* 1. Polices auto-hébergées ------------------------------------------------
   Aucune requête vers Google : cohérent avec la promesse « zéro traceur » et
   compatible avec la CSP 'self' du .htaccess. Sous-ensemble latin = FR/EN/ES. */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("../fonts/chivo-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Jetons ------------------------------------------------------------------
   Thème unique sombre, choisi (la salle de nuit), pas hérité : toutes les
   couleurs sont peintes explicitement. */
:root {
  color-scheme: dark;

  /* Sol et métal */
  --rubber: #0b0c0e;        /* fond : dalle caoutchouc */
  --rubber-2: #0f1113;      /* fond de section alternée */
  --iron: #15181b;          /* panneaux */
  --iron-2: #1b1f23;        /* panneaux survolés */
  --steel: #2a2f35;         /* tubes, filets */
  --steel-hi: #474d55;      /* filets appuyés, contours de boutons */
  --field-border: #6e747c;  /* bordure des champs : ≥ 3:1 sur tous les fonds (WCAG 1.4.11) */
  --wire: #a3acb6;          /* fil du grillage (toujours à faible opacité) */

  /* Magnésie */
  --chalk: #eeebe3;         /* texte principal — 17:1 sur --rubber */
  --chalk-dim: #aeada6;     /* texte secondaire — 8:1 */
  --chalk-mute: #85878a;    /* mentions — 5,2:1 */

  /* Cœur (icône de l'app) */
  --heart: #ff453a;         /* rouge système iOS sombre = zone 5 */
  --heart-btn: #d7262d;     /* fond de bouton : blanc dessus = 5:1 (AA) */
  --heart-btn-hover: #e5323a;

  /* Zones — valeurs de HRZone.swift (gray, blue, green, orange, red) */
  --z1: #8e8e93;
  --z2: #0a84ff;
  --z3: #30d158;
  --z4: #ff9f0a;
  --z5: #ff453a;
  --zone: var(--z1);        /* zone courante, pilotée par le défilement */

  /* Afficheur LED */
  --led-on: #ff3b2f;
  --led-off: rgba(255, 59, 47, 0.075);
  --led-glow: rgba(255, 59, 47, 0.6);

  /* Typographie */
  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Chivo Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--2: 0.75rem;
  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --step-3: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --step-4: clamp(2.75rem, 1.7rem + 4.6vw, 5.75rem);
  --step-5: clamp(4.4rem, 2.2rem + 9vw, 9.75rem);

  /* Espacements */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --section-y: clamp(84px, 11vw, 168px);
  --nav-h: 64px;
  --radius: 3px;            /* angles d'acier, pas de pastilles molles */

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Grillage de cage : maille losange, deux fils en zigzag qui se croisent */
  --mesh-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cg fill='none' stroke='%23a3acb6' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-0.85-1 13.6 16-0.85 33'/%3E%3Cpath d='M24.85-1 10.4 16 24.85 33'/%3E%3C/g%3E%3C/svg%3E");
  /* Grain du caoutchouc */
  --grain-img: 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 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Base et accessibilité --------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  background: var(--rubber);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--rubber);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

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

::selection {
  background: var(--heart);
  color: #fff;
}

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--chalk);
  color: var(--rubber);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

/* Section sur fond alterné, bornée par deux filets d'acier */
.section--alt {
  background: var(--rubber-2);
  border-block: 1px solid var(--steel);
}

/* 4. Motifs de fond -----------------------------------------------------------
   a) grille verticale fixe : on fait défiler la page derrière les barreaux ;
   b) grillage de cage, éclairé par un projecteur (masque radial) ;
   c) grain du caoutchouc. */
.rack {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
}

.rack::before {
  content: "";
  width: 100%;
  max-width: var(--wrap);
  height: 100%;
  border-inline: 1px solid rgba(238, 235, 227, 0.045);
  background-image: linear-gradient(90deg, rgba(238, 235, 227, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  background-position: calc(100% / 6) 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  background-image: var(--grain-img);
  background-size: 160px 160px;
  opacity: 0.045;
}

.cage {
  position: relative;
  isolation: isolate;
}

.cage::before,
.cage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Le grillage n'est visible que là où tombe la lumière. */
.cage::before {
  z-index: -1;
  background-image: var(--mesh-img);
  background-size: 24px 32px;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at var(--light-x, 28%) var(--light-y, 8%), #000 0%, rgba(0, 0, 0, 0.45) 42%, transparent 78%);
  mask-image: radial-gradient(ellipse 58% 62% at var(--light-x, 28%) var(--light-y, 8%), #000 0%, rgba(0, 0, 0, 0.45) 42%, transparent 78%);
}

/* Halo du projecteur, légèrement teinté par la zone courante. */
.cage::after {
  z-index: -2;
  background:
    radial-gradient(ellipse 46% 50% at var(--light-x, 28%) var(--light-y, 8%), rgba(238, 235, 227, 0.075), transparent 72%),
    radial-gradient(ellipse 70% 60% at var(--light-x, 28%) 100%, color-mix(in srgb, var(--zone) 9%, transparent), transparent 70%);
  transition: background 0.6s linear;
}

/* 5. Typographie -------------------------------------------------------------- */
.display,
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  font-weight: 900;
  line-height: 0.84;
}

h2 {
  font-size: var(--step-4);
}

h3 {
  font-family: var(--font-body);
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

/* Petit témoin lumineux devant les sur-titres */
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--heart);
  box-shadow: 0 0 10px var(--led-glow);
}

.eyebrow--plain::before {
  content: none;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--chalk-dim);
  max-width: 38em;
}

.lead strong,
.prose strong {
  color: var(--chalk);
  font-weight: 600;
}

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

.section-head {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 60rem;
  margin-bottom: clamp(44px, 6vw, 84px);
}

/* 6. Boutons et badges ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 52px;
  padding: 0.8em 1.45em;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn--primary {
  background: var(--heart-btn);
  color: #fff;
}

.btn--primary:hover {
  background: var(--heart-btn-hover);
}

.btn--ghost {
  background: transparent;
  border-color: var(--steel-hi);
  color: var(--chalk);
}

.btn--ghost:hover {
  border-color: var(--chalk);
}

.btn:active {
  transform: translateY(1px);
}

/* Plaque « Bientôt sur l'App Store » : non cliquable tant que l'app n'est
   pas publiée. À remplacer par le badge officiel Apple (voir LISEZMOI). */
.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 20px 8px 16px;
  border: 1.5px solid var(--steel-hi);
  border-radius: var(--radius);
  background: var(--iron);
  color: var(--chalk);
  line-height: 1.15;
}

.store-soon__led {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--z4);
  box-shadow: 0 0 12px var(--z4);
  /* 3 clignotements puis fixe : pas d'animation automatique > 5 s (WCAG 2.2.2) */
  animation: blink 1.6s steps(1) 3;
}

.store-soon__text {
  display: grid;
}

.store-soon__small {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.store-soon__big {
  font-weight: 700;
  font-stretch: 108%;
  font-size: 1.05rem;
}

/* Badge officiel une fois l'app publiée */
.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  height: 52px;
  width: auto;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.6em;
  border: 1px solid var(--steel-hi);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  white-space: nowrap;
}

/* 7. Navigation ------------------------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid var(--steel);
}

/* Le flou est porté par un pseudo-élément : un backdrop-filter sur la barre
   elle-même en ferait le bloc conteneur du menu mobile (position: fixed). */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 12, 14, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.site-nav.is-open::before {
  background: var(--rubber);
}

.site-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--chalk-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--chalk);
}

.nav-links a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--heart);
}

/* Cardio de navigation : le BPM monte à mesure qu'on descend dans la page. */
.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 6px 10px 6px 9px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: #07080a;
}

.pulse__heart {
  width: 13px;
  height: 12px;
  color: var(--zone);
  transform-origin: 50% 60%;
  transition: color 0.4s;
}

.pulse__digits {
  height: 18px;
  width: auto;
}

.pulse__unit {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--chalk-mute);
}

.pulse__zone {
  min-width: 2.4em;
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--zone);
  color: #0b0c0e;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.4s;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--steel-hi);
  border-radius: var(--radius);
  background: transparent;
  color: var(--chalk);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle[aria-expanded="true"] .icon-open,
.nav-toggle[aria-expanded="false"] .icon-close {
  display: none;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .pulse {
    margin-left: auto;
  }

  .pulse + .nav-toggle {
    margin-left: 0;
  }

  .site-nav.is-open .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--rubber);
    border-top: 1px solid var(--steel);
  }

  .site-nav.is-open .nav-links li {
    border-bottom: 1px solid var(--steel);
  }

  .site-nav.is-open .nav-links a {
    display: block;
    padding-block: 16px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--chalk);
  }

  .site-nav.is-open .nav-links a[aria-current]::after {
    bottom: 12px;
    width: 40px;
    right: auto;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 1.15rem;
  }

  .pulse__unit {
    display: none;
  }
}

@media (max-width: 360px) {
  .brand__name {
    display: none;
  }
}

/* 8. Appareils --------------------------------------------------------------------
   Cadres dessinés en CSS autour des vraies captures (1206 × 2622 px, iPhone
   17 Pro). Les unités cqi se rapportent à la largeur du conteneur .device. */
.device {
  container-type: inline-size;
  width: 100%;
  max-width: 320px;
}

.phone {
  position: relative;
  padding: 3.3cqi;
  border-radius: 16.5cqi;
  background: linear-gradient(150deg, #4a4f56 0%, #1c1f23 18%, #0c0d0f 50%, #25292e 88%, #50555c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 2.2cqi #060708,
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  border-radius: 13.4cqi;
  background: #000;
}

/* Pas de Dynamic Island dessinée : les captures du simulateur l'incluent déjà. */
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Écran sans capture (visuel à fournir) */
.shot-missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 12cqi;
  text-align: center;
  background:
    var(--mesh-img) 0 0 / 24px 32px,
    #0d0f11;
  background-blend-mode: soft-light;
  color: var(--chalk-mute);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 9. Afficheur LED ------------------------------------------------------------------
   Les chiffres sont dessinés en SVG par site.js (segments allumés/éteints). */
.led {
  display: inline-block;
  line-height: 0;
}

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

.led .seg {
  fill: var(--led-off);
}

.led .lit .seg {
  fill: var(--led-color, var(--led-on));
}

.led .lit {
  filter: drop-shadow(0 0 0.06em var(--led-glow-color, var(--led-glow)));
}

.led-panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%),
    #060708;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 40px rgba(0, 0, 0, 0.8);
}

/* Vis de fixation aux quatre coins, comme un chrono mural */
.led-panel::before,
.led-panel::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b7179, #24272b 70%);
}

.led-panel::before {
  left: 8px;
}

.led-panel::after {
  right: 8px;
}

/* 10. Page d'accueil — sections ------------------------------------------------------- */

/* 10.1 Héros */
.hero {
  padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 136px);
  border-bottom: 1px solid var(--steel);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: clamp(22px, 2.8vw, 34px);
  justify-items: start;
}

.hero__title {
  display: grid;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-block: 0.02em;
}

/* Place pour la barre des zones sous « ZONE. » (sinon rognée par overflow) */
.hero__line:last-child {
  padding-bottom: 0.16em;
}

.hero__line > span {
  display: inline-block;
}

/* « ZONE. » souligné par la barre des 5 zones de l'app */
.hero__zone {
  position: relative;
}

.hero__zone::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.42em;
  bottom: -0.1em;
  height: 0.075em;
  background: linear-gradient(90deg,
      var(--z1) 0 18.4%, transparent 18.4% 20.4%,
      var(--z2) 20.4% 38.8%, transparent 38.8% 40.8%,
      var(--z3) 40.8% 59.2%, transparent 59.2% 61.2%,
      var(--z4) 61.2% 79.6%, transparent 79.6% 81.6%,
      var(--z5) 81.6% 100%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--chalk-dim);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1.5px solid var(--chalk-mute);
}

.hero__device {
  position: relative;
  display: grid;
  justify-items: center;
}

/* Pub verticale à la place de la capture : le même acier que les panneaux du
   site (angles à 3 px), au format 9/16 de la vidéo. Rien ne démarre tout seul
   (WCAG 2.2.2) et le fichier n'est téléchargé qu'au clic (preload="none") :
   seule l'affiche compte dans le premier affichage. */
.promo {
  width: 100%;
  max-width: 440px;
}

.promo__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--steel-hi);
  border-radius: var(--radius);
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.promo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* Visible seulement si le navigateur ne sait pas lire la vidéo */
.promo__repli {
  padding: 20px;
  font-size: var(--step--1);
  color: var(--chalk-dim);
}

/* Couche cliquable posée sur l'affiche : le disque, rien d'autre */
.promo__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--chalk);
  cursor: pointer;
}

.promo__disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1.5px solid var(--steel-hi);
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.62);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease-out);
  /* Pouls lent, au repos comme au survol : 23 battements par minute à l'écran.
     `scale` plutôt que `transform`, qui porte déjà l'agrandissement au survol —
     les deux propriétés se composent au lieu de s'écraser. */
  animation: pouls-disque 2.6s var(--ease-in-out) infinite;
}

/* L'onde qui s'en échappe prend `currentColor` : craie au repos, rouge au survol. */
.promo__disc::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  animation: pouls-onde 2.6s var(--ease-out) infinite;
}

@keyframes pouls-disque {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.045;
  }
}

@keyframes pouls-onde {
  0% {
    opacity: 0.45;
    scale: 1;
  }
  70%,
  100% {
    opacity: 0;
    scale: 1.45;
  }
}

.promo__disc svg {
  width: 30px;
  height: 30px;
  /* La pointe du triangle recentre le disque à l'œil */
  translate: 2px 0;
}

.promo__play:hover .promo__disc,
.promo__play:focus-visible .promo__disc {
  border-color: var(--heart);
  color: var(--heart);
  box-shadow: 0 0 26px rgba(255, 69, 58, 0.35);
  transform: scale(1.06);
}

.promo__play:active .promo__disc {
  transform: scale(0.98);
}

.readout__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-mute);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__device {
    padding-top: 12px;
  }

  .promo {
    max-width: 345px;
  }
}

/* 10.2 Bandeau capteurs */
.sensors {
  border-bottom: 1px solid var(--steel);
  background: var(--rubber-2);
}

.sensors__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 40px;
  padding-block: 26px;
}

.sensors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--chalk-dim);
}

.sensors__list li:last-child {
  color: var(--chalk);
}

@media (max-width: 760px) {
  .sensors__inner {
    grid-template-columns: 1fr;
  }
}

/* 10.3 Séance — iPhone collant et étapes */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
}

.story__stage {
  display: none;
}

.story__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.story__step {
  display: grid;
  gap: 18px;
  align-content: center;
  padding-block: clamp(40px, 7vh, 72px);
  border-top: 1px solid var(--steel);
}

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

.story__verb {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.9;
}

/* Temps de la session en chiffres mono : c'est l'ordre réel d'une session */
.story__time {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--chalk-mute);
}

.story__step p {
  color: var(--chalk-dim);
  max-width: 34em;
}

.story__list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--chalk-dim);
  font-size: 0.975rem;
}

.story__list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
}

.story__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  background: var(--chalk-mute);
}

.story__shot {
  margin-top: 8px;
}

.story__shot .device {
  max-width: 250px;
}

/* Version collante (ajoutée par site.js quand l'écran est assez large) */
@media (min-width: 900px) {
  .story.is-sticky {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .story.is-sticky .story__stage {
    position: sticky;
    top: calc(var(--nav-h) + 3vh);
    display: grid;
    place-items: center;
    height: calc(100vh - var(--nav-h) - 6vh);
    max-height: 860px;
  }

  /* L'étape en cours s'allume, les autres restent en veille */
  .story.is-sticky .story__step .story__verb {
    color: var(--chalk-mute);
    transition: color 0.4s;
  }

  .story.is-sticky .story__step.is-current .story__verb {
    color: var(--chalk);
  }

  .story.is-sticky .story__step.is-current .story__time {
    color: var(--heart);
  }

  .story.is-sticky .story__shot {
    display: none;
  }

  .story.is-sticky .story__step {
    min-height: min(82vh, 760px);
  }

  .story__stage .device {
    max-width: min(330px, calc((100vh - var(--nav-h) - 12vh) * 0.44));
  }
}

.story__stage .phone__screen img {
  clip-path: inset(100% 0 0 0);
  z-index: 1;
}

.story__stage .phone__screen img.is-active {
  clip-path: inset(0 0 0 0);
  z-index: 2;
  transition: clip-path 0.75s var(--ease-in-out);
}

.story__stage .phone__screen img.is-leaving {
  clip-path: inset(0 0 0 0);
  z-index: 1;
}

.story__stage[data-direction="up"] .phone__screen img:not(.is-active):not(.is-leaving) {
  clip-path: inset(0 0 100% 0);
}

.story__stage {
  position: relative;
}

/* Jauge d'avancement des étapes, à côté du téléphone */
.story__gauge {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  gap: 6px;
  translate: 0 -50%;
}

.story__gauge span {
  width: 4px;
  height: 22px;
  background: var(--steel);
  transition: background-color 0.3s, height 0.3s var(--ease-out);
}

.story__gauge span.is-on {
  height: 36px;
  background: var(--chalk);
}

/* 10.4 Zones — calculateur */
.zones__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.zones__copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.zones__copy p {
  color: var(--chalk-dim);
}

.calc {
  display: grid;
  gap: 26px;
}

.calc__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.calc__max {
  display: grid;
  gap: 8px;
}

.calc__max .led {
  height: clamp(58px, 8vw, 84px);
}

.calc__controls {
  display: grid;
  gap: 14px;
  min-width: min(100%, 280px);
  flex: 1 1 260px;
}

.field-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.field-label output {
  color: var(--chalk);
  font-weight: 700;
}

/* Curseur façon rail de réglage */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--rubber) 0 1px, transparent 1px 10%),
    var(--field-border);
  border-radius: 1px;
}

input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--field-border);
  border-radius: 1px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 30px;
  margin-top: -12px;
  border: 2px solid var(--rubber);
  border-radius: 2px;
  background: var(--chalk);
  box-shadow: 0 0 0 1px var(--steel-hi);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 30px;
  border: 2px solid var(--rubber);
  border-radius: 2px;
  background: var(--chalk);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--chalk-dim);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--heart);
}

.num-input {
  width: 6.5em;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--rubber);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.num-input:disabled {
  opacity: 0.45;
}

/* Bande des zones dessinée à l'échelle : de 40 % à 100 % de la FC max */
.zone-band {
  display: grid;
  gap: 10px;
}

.zone-band__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr repeat(5, 1fr);
  height: 64px;
  border: 1px solid var(--steel);
}

.zone-band__rest {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, var(--steel) 0 1px, transparent 1px 7px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-mute);
  text-align: center;
  line-height: 1.2;
}

.zone-band__z {
  display: grid;
  align-content: end;
  padding: 6px 7px;
  background: var(--zc);
  color: #0b0c0e;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  border-left: 2px solid var(--rubber);
}

.zone-band__ticks {
  display: grid;
  grid-template-columns: 1fr repeat(5, 1fr);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--chalk-dim);
}

.zone-band__ticks span {
  translate: -50% 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.zone-band__ticks span:first-child {
  visibility: hidden;
}

/* Dernière colonne : borne des 90 % à gauche, FC max à droite */
.zone-band__ticks span:last-child {
  display: flex;
  justify-content: space-between;
  translate: none;
}

.zone-band__ticks span:last-child b {
  font-weight: 400;
}

.zone-band__ticks span:last-child b:first-child {
  translate: -50% 0;
}

.zone-band__ticks span:last-child b:last-child {
  translate: 50% 0;
  color: var(--chalk);
}

.zone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.zone-table th,
.zone-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--steel);
  text-align: left;
  vertical-align: baseline;
}

.zone-table thead th {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-mute);
}

.zone-table td:last-child,
.zone-table th:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zone-table .z-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.zone-table .z-name::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--zc);
}

.zone-table .z-use {
  color: var(--chalk-dim);
}

.calc__note {
  font-size: 0.875rem;
  color: var(--chalk-mute);
}

@media (max-width: 900px) {
  .zones__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .zone-table .z-use {
    display: none;
  }

  .zone-band__bar {
    height: 52px;
  }
}

/* 10.5 Ruban LED des activités */
.activities {
  position: relative;
  padding-bottom: clamp(8px, 2vw, 24px);
}

.ribbon {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--steel);
  background: #060708;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 140px);
  pointer-events: none;
}

.ribbon::before {
  left: 0;
  background: linear-gradient(90deg, #060708, transparent);
}

.ribbon::after {
  right: 0;
  background: linear-gradient(270deg, #060708, transparent);
}

.ribbon__track {
  display: flex;
  width: max-content;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.ribbon__track li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--led-on);
  text-shadow: 0 0 18px rgba(255, 59, 47, 0.45);
}

.ribbon__track li:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 235, 227, 0.55);
  text-shadow: none;
}

.ribbon__track li::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-inline: clamp(18px, 2.6vw, 34px);
  transform: rotate(45deg);
  border: 2px solid var(--steel-hi);
}

.ribbon__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 0;
}

.ribbon__count {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.ribbon__caption p {
  color: var(--chalk-dim);
  max-width: 36em;
}

/* 10.6 Cage : grille de panneaux soudés (écosystème, confidentialité) */
.cage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--steel);
  background: var(--steel);
}

.panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--rubber);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--mesh-img);
  background-size: 24px 32px;
  opacity: 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%);
  transition: opacity 0.4s;
}

.panel:hover::before {
  opacity: 0.16;
}

.panel p {
  color: var(--chalk-dim);
}

.panel--w2 {
  grid-column: span 2;
}

.panel--w3 {
  grid-column: span 3;
}

.panel--w4 {
  grid-column: span 4;
}

.panel--w6 {
  grid-column: span 6;
}

.panel__visual {
  margin-top: 10px;
}

.panel--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 36px;
}

.panel--split > .panel__text {
  display: grid;
  gap: 14px;
}

@media (max-width: 1000px) {
  .panel--w2 {
    grid-column: span 3;
  }

  .panel--w4 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .panel--w2,
  .panel--w3,
  .panel--w4 {
    grid-column: span 6;
  }

  .panel--split {
    grid-template-columns: 1fr;
  }
}

/* Apple Watch dessinée en CSS : l'écran reproduit la vue « séance » de l'app */
.watch {
  container-type: inline-size;
  width: 190px;
  max-width: 100%;
  margin-inline: auto;
}

.watch__case {
  position: relative;
  padding: 7cqi;
  border-radius: 30cqi;
  background: linear-gradient(145deg, #5a5f66, #202327 35%, #0d0e10 60%, #3a3e44);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -30px #000;
}

.watch__case::after {
  /* couronne */
  content: "";
  position: absolute;
  right: -4cqi;
  top: 28%;
  width: 5cqi;
  height: 19%;
  border-radius: 2cqi;
  background: linear-gradient(90deg, #2d3035, #6a7078);
}

.watch__screen {
  position: relative;
  aspect-ratio: 396 / 484;
  overflow: hidden;
  border-radius: 22cqi;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Archivo", sans-serif;
}

/* Disposition reprise de ActiveSessionView.swift : moy | BPM | max,
   puis zone | chrono | cible, puis pause · activité · arrêt. */
.watch__ui {
  position: absolute;
  inset: 0;
  display: grid;
  /* Colonne bornée à la largeur de l'écran : sinon la grille s'élargit au
     contenu et tout ce qui est à droite déborde sous le bord arrondi. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1.25fr 0.8fr auto;
  padding: 5cqi 5cqi 6cqi;
}

.watch__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5cqi;
  min-width: 0;
}

.watch__btn {
  display: grid;
  place-items: center;
  width: 20cqi;
  height: 20cqi;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 0.9cqi color-mix(in srgb, var(--tint) 60%, transparent);
  color: var(--tint);
}

.watch__btn svg {
  width: 8cqi;
  height: 8cqi;
}

.watch__activity {
  width: 13cqi;
  height: 13cqi;
  color: rgba(255, 255, 255, 0.9);
}

/* Dans l'app, le BPM (100 pt) se réduit pour tenir entre moy et max. */
.watch__bpm {
  font-size: 19cqi;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.watch__stat {
  display: grid;
  justify-items: center;
  gap: 0.5cqi;
  line-height: 1;
}

.watch__stat b {
  font-size: 8.5cqi;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.watch__stat small {
  font-size: 5cqi;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.watch__time {
  font-size: 12cqi;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.watch__target {
  display: inline-block;
  width: 9cqi;
  height: 9cqi;
  border-radius: 2cqi;
  background: #30d158;
}

/* Live Activity reproduite (écran verrouillé) — d'après SessionLiveActivity.swift :
   pastille activité | BPM | cœur | chrono + max de session. */
.live-activity {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Archivo", sans-serif;
}

.la__badge {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.la__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.2);
  color: #ff9f0a;
}

.la__icon svg {
  width: 26px;
  height: 26px;
}

.la__name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.la__hr {
  display: grid;
  justify-items: center;
  line-height: 1;
}

.la__hr b {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.la__hr small {
  margin-top: 3px;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
}

.la__heart {
  width: 22px;
  height: 20px;
  color: #ff453a;
}

/* Pulsation à ~150 bpm comme dans l'app, limitée à moins de 5 s */
.motion .la__heart {
  animation: beat 0.4s 12;
}

.la__right {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.la__timer {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.la__max {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}

.la__max svg {
  width: 13px;
  height: 13px;
}

/* Dynamic Island reproduite */
.island {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 9px 16px;
  border-radius: 99px;
  background: #000;
  box-shadow: 0 0 0 1px var(--steel);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Archivo", sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.island svg {
  width: 16px;
  height: 16px;
  color: var(--z5);
}

/* Widget écran verrouillé reproduit */
.lock-widgets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.lw-circle,
.lw-rect {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Archivo", sans-serif;
}

.lw-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.lw-circle svg {
  width: 28px;
  height: 28px;
}

.lw-rect {
  grid-template-columns: auto 1fr;
  justify-items: start;
  gap: 2px 10px;
  width: 172px;
  height: 64px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.75rem;
  line-height: 1.2;
}

.lw-rect svg {
  grid-row: span 3;
  width: 22px;
  height: 22px;
}

.lw-rect b {
  font-size: 0.8125rem;
}

.lw-rect .lw-start {
  color: var(--z5);
  font-weight: 700;
}

.lock-demo {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 22px;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(10, 132, 255, 0.22), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(255, 69, 58, 0.2), transparent 60%),
    #101318;
  border: 1px solid var(--steel);
}

/* 10.7 Progrès — galerie de captures */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.shot-card {
  display: grid;
  gap: 22px;
  justify-items: center;
  will-change: transform;
}

.shot-card:nth-child(2) {
  margin-top: clamp(0px, 8vw, 120px);
}

.shot-card .device {
  max-width: 290px;
}

.shot-card figcaption {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.shot-card figcaption p {
  color: var(--chalk-dim);
  font-size: 0.975rem;
}

@media (max-width: 880px) {
  .progress-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .shot-card:nth-child(2) {
    margin-top: 0;
  }
}

/* Six caractéristiques : colonnes fixes (3, 2 puis 1) pour ne jamais laisser de
   case vide, qui prendrait la couleur des filets. */
.spec-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--steel);
  background: var(--steel);
}

.spec-list li {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  background: var(--rubber);
}

.spec-list b {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-mute);
}

.spec-list span {
  color: var(--chalk);
}

@media (min-width: 560px) {
  .spec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .spec-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Zooms sur des cartes de l'app (recadrages de vraies captures) */
.zoom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 120px);
}

.zoom {
  display: grid;
  gap: 16px;
}

.zoom img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--steel);
  background: #1c1c1e;
}

.zoom figcaption {
  color: var(--chalk-dim);
  font-size: 0.975rem;
}

.zoom figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--chalk);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

/* Trois zooms : la carte, plus haute, occupe la colonne de droite sur deux lignes ;
   répartition par zone et effort s'empilent à gauche. */
@media (min-width: 761px) {
  .zoom--haute {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .zoom-grid {
    grid-template-columns: 1fr;
  }
}

/* Petits compléments des panneaux */
.panel__big {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.8;
  color: var(--chalk);
}

.panel__big small {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--chalk-mute);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lock-demo .island {
  justify-self: center;
}

.section-link {
  margin-top: clamp(28px, 4vw, 44px);
}

/* 10.8 Tarif */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--steel);
  background: var(--steel);
}

.plan {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(26px, 4vw, 52px);
  background: var(--rubber);
}

.plan--pro {
  position: relative;
  isolation: isolate;
  background: var(--iron);
}

.plan--pro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--mesh-img);
  background-size: 24px 32px;
  opacity: 0.12;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000, transparent 75%);
}

.plan__head {
  display: grid;
  gap: 14px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 900;
  line-height: 0.85;
}

.plan__price small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--chalk-dim);
}

.check-list li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 0.45em;
  border-left: 2px solid var(--z3);
  border-bottom: 2px solid var(--z3);
  transform: rotate(-45deg);
}

.check-list li.is-limit::before {
  width: 14px;
  height: 2px;
  margin-top: 0.75em;
  border: 0;
  background: var(--z4);
  transform: none;
}

.pricing__note {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* 10.9 Départ final : décompte 3-2-1 */
.start {
  text-align: left;
}

.start__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.start__led {
  display: grid;
  place-items: center;
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 1.15;
}

.start__led .led {
  height: 62%;
}

/* « GO » passe au vert, comme le bouton Démarrer de l'app */
.start__led.is-go .led {
  --led-color: #30d158;
  --led-glow-color: rgba(48, 209, 88, 0.6);
}

.motion .start__led.is-tick .led {
  animation: tick 0.5s var(--ease-out);
}

@keyframes tick {
  from {
    transform: scale(1.12);
    opacity: 0.6;
  }
}

.start__copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}

@media (max-width: 760px) {
  .start__grid {
    grid-template-columns: 1fr;
  }

  .start__led {
    width: min(100%, 300px);
  }
}

/* 11. Pages de contenu ------------------------------------------------------------------ */
.page-hero {
  padding-block: clamp(56px, 8vw, 120px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--steel);
}

.page-hero__inner {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.page-hero h1 {
  font-size: var(--step-4);
}

.meta {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--chalk-mute);
}

/* Essentiel en 4 points, en tête de la politique de confidentialité */
.essentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--steel);
  background: var(--steel);
}

.essentials li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  background: var(--iron);
}

.essentials b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 0.95;
  text-transform: uppercase;
}

.essentials span {
  color: var(--chalk-dim);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .essentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .essentials {
    grid-template-columns: 1fr;
  }
}

.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 96px) var(--section-y);
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 14px;
  max-height: calc(100vh - var(--nav-h) - 56px);
  overflow-y: auto;
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--steel);
  color: var(--chalk-dim);
  font-size: 0.9375rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--chalk-mute);
  padding-top: 0.15em;
}

.toc a:hover,
.toc a[aria-current="true"] {
  color: var(--chalk);
  border-left-color: var(--heart);
}

@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    max-height: none;
    padding: 20px;
    border: 1px solid var(--steel);
    background: var(--iron);
  }
}

.prose {
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  max-width: 46rem;
}

.prose section {
  display: grid;
  gap: 16px;
}

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: var(--step-3);
}

.prose h2 .num {
  font-family: var(--font-mono);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--heart);
  translate: 0 -0.3em;
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: 6px;
}

.prose p,
.prose li {
  color: var(--chalk-dim);
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Puce positionnée plutôt qu'une grille : en grille, un <strong> ou un lien
   devient une cellule à part et le texte qui suit tombe dans la colonne de la
   puce, un mot par ligne. */
.prose ul li {
  position: relative;
  padding-left: 28px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--chalk-mute);
}

.prose a {
  color: var(--chalk);
}

.prose a:hover {
  color: #fff;
  text-decoration-color: var(--heart);
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--steel);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--steel);
  text-align: left;
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table thead th {
  background: var(--iron);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-mute);
}

.data-table td {
  color: var(--chalk-dim);
}

.data-table td:first-child {
  color: var(--chalk);
  font-weight: 600;
}

.callout {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--steel);
  border-left: 4px solid var(--z4);
  background: var(--iron);
}

.callout p {
  color: var(--chalk);
}

/* Assistance : FAQ en accordéons */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-nav a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--steel-hi);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--chalk-dim);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.faq-nav a:hover {
  color: var(--chalk);
  border-color: var(--chalk);
}

.support {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
  padding-block: clamp(48px, 7vw, 96px) var(--section-y);
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(28px, 5vw, 80px);
  align-items: start;
}

.faq-group h2 {
  font-size: var(--step-3);
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}

.faq-list {
  border-top: 1px solid var(--steel);
}

.faq {
  border-bottom: 1px solid var(--steel);
}

.faq summary {
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  justify-self: center;
  border-right: 2px solid var(--chalk-dim);
  border-bottom: 2px solid var(--chalk-dim);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.faq[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}

.faq summary:hover {
  color: #fff;
}

.faq__body {
  display: grid;
  gap: 12px;
  padding: 0 0 24px;
  max-width: 44rem;
}

.faq__body p,
.faq__body li {
  color: var(--chalk-dim);
}

.faq__body ul,
.faq__body ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
}

.faq__body a {
  color: var(--chalk);
}

@media (max-width: 900px) {
  .faq-group {
    grid-template-columns: 1fr;
  }

  .faq-group h2 {
    position: static;
  }
}

/* Formulaire de contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px clamp(28px, 5vw, 80px);
  align-items: start;
}

.contact__intro {
  display: grid;
  gap: 18px;
}

.contact__intro p {
  color: var(--chalk-dim);
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--steel);
  background: var(--iron);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form__field {
  display: grid;
  gap: 8px;
}

.form__field label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.form__field .hint {
  font-size: 0.875rem;
  color: var(--chalk-mute);
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--rubber);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--chalk-dim) 50%), linear-gradient(135deg, var(--chalk-dim) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.5;
}

/* Le gris par défaut des navigateurs tombe à 4,2:1 sur ce fond */
.form ::placeholder {
  color: var(--chalk-mute);
  opacity: 1;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--chalk);
  box-shadow: 0 0 0 3px rgba(238, 235, 227, 0.14);
}

.form input:user-invalid,
.form select:user-invalid,
.form textarea:user-invalid {
  border-color: var(--z4);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form__legal {
  max-width: 30em;
  font-size: 0.8125rem;
  color: var(--chalk-mute);
}

.form__legal a {
  color: var(--chalk-dim);
}

.form__status {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--steel);
  border-left-width: 4px;
}

.form__status[data-kind="info"] {
  border-left-color: var(--steel-hi);
}

.form__status[data-kind="error"] {
  border-left-color: var(--z4);
}

.form__status[data-kind="success"] {
  border-left-color: var(--z3);
}

.form__status strong {
  color: var(--chalk);
}

.form__status p {
  color: var(--chalk-dim);
}

.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

/* Piège à robots : champ invisible pour les humains */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* 12. Pied de page --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 6vw, 80px) 36px;
  border-top: 1px solid var(--steel);
  background: #07080a;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr));
  gap: 36px;
}

.site-footer__brand {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: start;
}

.site-footer__brand p {
  max-width: 28em;
  color: var(--chalk-dim);
  font-size: 0.9375rem;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--chalk-mute);
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul a {
  display: inline-block;
  padding-block: 3px; /* cible d'au moins 24 px de haut (WCAG 2.5.8) */
  color: var(--chalk-dim);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--chalk);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--steel);
  font-size: 0.8125rem;
  color: var(--chalk-mute);
}

.site-footer__legal p {
  max-width: 62em;
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* 13. Animations au défilement ------------------------------------------------------------
   Principe : le contenu est TOUJOURS lisible sans JavaScript. site.js n'ajoute
   la classe .motion sur <html> que si le mouvement est autorisé, puis « arme »
   uniquement les éléments situés sous la ligne de flottaison. */
.motion .reveal.is-armed {
  opacity: 0.001;
  translate: 0 38px;
}

.motion .reveal.is-armed.is-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.8s var(--ease-out), translate 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

/* Entrée du héros : les lignes du titre montent comme un store qu'on lève */
.motion .hero__line > span {
  animation: rise 1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 110ms + 80ms);
}

.motion .hero__device {
  animation: lift 1.2s var(--ease-out) both 0.25s;
}

@keyframes rise {
  from {
    transform: translateY(105%);
  }
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* Le cœur ne bat que pendant le défilement (classe posée par site.js),
   jamais en continu : WCAG 2.2.2. */
.motion .pulse.is-beating .pulse__heart {
  animation: beat var(--beat, 0.9s) infinite;
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.28);
  }
  26% {
    transform: scale(0.96);
  }
  38% {
    transform: scale(1.12);
  }
  56% {
    transform: scale(1);
  }
}

/* 14. Mouvement réduit, impression ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ribbon__track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    transform: none !important;
  }
}

@media print {
  .site-nav,
  .rack,
  .toc,
  .site-footer,
  body::after {
    display: none !important;
  }

  body,
  html {
    background: #fff;
    color: #000;
  }

  .prose p,
  .prose li,
  .data-table td {
    color: #000;
  }

  .doc {
    display: block;
  }
}
