/* Athreel — accueil et pages fonctionnalités.
   Direction : fond presque noir de l'app (#08070d), texte blanc, un seul accent (le violet du A), le vert lime pour « vérifié ».
   Une seule chorégraphie d'entrée (le héros), puis le téléphone 3D qui raconte l'app au scroll. */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body.home,
body.feat {
  background: var(--bg);
  color: var(--on-night);
}
.home .top {
  position: fixed;
  left: 0;
  right: 0;
}

/* ---------- Scène du téléphone (fixée derrière le héros et la visite) ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stage canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.stage.ready canvas {
  opacity: 1;
}
/* Lumière violette derrière le téléphone, comme un projecteur de salle */
.stage-glow {
  position: absolute;
  left: var(--gx, 66%);
  top: var(--gy, 48%);
  width: min(80vmax, 1100px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 70, 255, 0.34), rgba(118, 70, 255, 0.12) 42%, rgba(118, 70, 255, 0.03) 64%, transparent 74%);
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.stage.ready .stage-glow {
  opacity: var(--go, 1);
}
.home main > section {
  position: relative;
  z-index: 1;
}
.pin {
  position: relative;
  height: 100vh;
  height: 100svh;
}

/* ---------- Héros ---------- */
.s-hero .pin {
  display: grid;
  align-items: center;
}
.hero-title {
  margin: 0;
  font-size: clamp(46px, 5.9vw, 106px);
  line-height: 0.9;
  font-weight: 900;
  font-stretch: 72%;
  letter-spacing: -0.012em;
}
.hero-title .ln {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.08em;
  margin: -0.04em 0 -0.08em;
  white-space: nowrap;
  will-change: transform, filter, opacity;
}
.hero-title .ln > span {
  display: inline-block;
}
.hero-sub {
  max-width: 36ch;
  margin: 30px 0 0;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--on-night-2);
}
.hero-sub strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
/* Entrée : les lignes montent derrière un masque, puis le texte et les boutons (CSS, sans attendre le JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .ln > span {
    animation: hero-rise 1.15s var(--ease-out) backwards;
  }
  .hero-title .ln:nth-child(1) > span {
    animation-delay: 0.08s;
  }
  .hero-title .ln:nth-child(2) > span {
    animation-delay: 0.17s;
  }
  .hero-title .ln:nth-child(3) > span {
    animation-delay: 0.26s;
  }
  .hero-sub,
  .hero-actions,
  .cue-in {
    animation: fade-up 1.1s var(--ease-out) backwards;
  }
  .hero-sub {
    animation-delay: 0.42s;
  }
  .hero-actions {
    animation-delay: 0.52s;
  }
  .cue-in {
    animation-delay: 1s;
  }
}
@keyframes hero-rise {
  from {
    transform: translateY(108%);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
}
.cue-in {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(243, 240, 250, 0.5);
}
.cue i {
  position: relative;
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 1.5px solid rgba(243, 240, 250, 0.32);
}
.cue i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 1.9s var(--ease-out) infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  80% {
    transform: translateY(11px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Trois apps en une ---------- */
.s-concept .pin {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.k-title {
  position: absolute;
  top: 12vh;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 var(--pad);
  text-align: center;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1;
  font-stretch: 72%;
}
.k-title span {
  display: block;
}
.k-after {
  position: absolute;
  inset: 0 var(--pad);
  color: #a98bff;
  opacity: 0;
}
.k-apps {
  position: absolute;
  inset: 0;
}
.k-app {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(34, 30, 48, 0.92), rgba(19, 17, 28, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 34px 70px -24px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  will-change: transform, opacity;
}
.k-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: linear-gradient(160deg, #2b2442, #16131f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(139, 92, 255, 0.28);
}
.k-ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #dccfff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.k-txt {
  display: grid;
  gap: 3px;
}
.k-txt b {
  font-size: 18px;
  font-weight: 800;
}
.k-txt small {
  max-width: 22ch;
  font-size: 14px;
  line-height: 1.35;
  color: var(--on-night-2);
}
.k-a {
  left: max(4vw, calc(50% - 600px));
  top: 41vh;
}
.k-b {
  right: max(4vw, calc(50% - 600px));
  top: 30vh;
}
.k-c {
  right: max(7vw, calc(50% - 540px));
  top: 62vh;
}
.k-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.k-pulse i {
  position: absolute;
  left: -32vmin;
  top: -32vmin;
  width: 64vmin;
  height: 64vmin;
  border-radius: 50%;
  border: 1.5px solid rgba(155, 107, 255, 0.7);
  box-shadow: 0 0 40px rgba(139, 92, 255, 0.35), inset 0 0 40px rgba(139, 92, 255, 0.25);
  opacity: 0;
  transform: scale(0.3);
}

/* ---------- Visite de l'app ---------- */
.tour {
  position: relative;
  height: 100%;
}
.step {
  position: absolute;
  top: 50%;
  width: min(470px, 36vw);
  opacity: 0;
  filter: blur(10px);
  translate: 0 -50%;
  transform: translateY(26px);
  pointer-events: none;
  transition:
    opacity 0.6s var(--ease-out),
    filter 0.6s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.step:nth-child(odd) {
  left: var(--pad);
}
.step:nth-child(even) {
  right: var(--pad);
}
.step.on {
  opacity: 1;
  filter: none;
  transform: none;
  pointer-events: auto;
}
.step-n {
  font: 800 13px/1 var(--font);
  letter-spacing: 0.1em;
  color: var(--violet-hi);
}
.step h2 {
  margin: 14px 0 18px;
  font-size: clamp(50px, 5.8vw, 96px);
  line-height: 0.9;
  font-stretch: 72%;
}
.step p {
  margin: 0;
  max-width: 32ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--on-night-2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #ebe6f8;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.step .more {
  margin-top: 26px;
}
/* Chapitres de la visite : comme la barre d'une vidéo */
.rail {
  position: absolute;
  left: 50%;
  bottom: 30px;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.s-tour.active .rail {
  opacity: 1;
}
.rail li {
  display: grid;
  gap: 10px;
  width: 116px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(243, 240, 250, 0.4);
  transition: color 0.3s;
}
.rail i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.rail i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.rail li.on {
  color: #fff;
}
.dots {
  display: none;
}

/* ---------- Écran verrouillé et Dynamic Island ---------- */
.s-live {
  padding: clamp(110px, 14vw, 190px) 0 clamp(90px, 11vw, 150px);
  overflow-x: hidden;
  overflow-x: clip;
}
/* Aucun débordement horizontal (sinon Safari dézoome la page sur iPhone) */
.home main {
  overflow-x: clip;
}
.live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.live-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(42px, 4.9vw, 80px);
  line-height: 0.93;
  font-stretch: 72%;
}
.live-copy > p:not(.live-cap) {
  margin: 0;
  max-width: 42ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--on-night-2);
}
/* Bascule écran verrouillé / Dynamic Island : la pastille glisse avec un léger rebond */
.live-switch {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-top: 32px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.live-switch::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(180deg, #a07bff, #7446f6);
  box-shadow:
    0 10px 26px -10px rgba(139, 92, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: translate 0.6s cubic-bezier(0.34, 1.32, 0.64, 1);
}
.live-switch.is-island::before {
  translate: 100% 0;
}
.live-switch button {
  position: relative;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 13px 22px;
  border-radius: 999px;
  background: none;
  color: var(--on-night-2);
  font: 800 15px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s;
}
.live-switch button:hover,
.live-switch button[aria-pressed='true'] {
  color: #fff;
}
.live-switch button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.live-cap {
  display: grid;
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(243, 240, 250, 0.62);
}
.live-cap span {
  grid-area: 1 / 1;
  opacity: 0;
  translate: 0 8px;
  transition:
    opacity 0.35s ease,
    translate 0.5s var(--ease-out);
}
.live-cap span.on {
  opacity: 1;
  translate: none;
  transition-delay: 0.12s;
}
.live-media {
  position: relative;
  justify-self: center;
  /* Le téléphone tient toujours en entier dans l'écran, île comprise */
  width: min(330px, 70vw, 37vh);
}
.live-media::before {
  /* Halo violet derrière le téléphone, plus intense quand l'île s'ouvre */
  content: '';
  position: absolute;
  inset: 8% -30% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 255, 0.34), transparent);
  filter: blur(30px);
  opacity: 0.55;
  transition: opacity 0.8s ease;
}
.live-media:has(.is-island)::before {
  opacity: 1;
}
.live-lock {
  rotate: 3deg;
}
.live-lock > .ll-app {
  position: absolute;
  inset: 11px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.55s ease,
    transform 0.9s var(--ease-out);
}
.live-lock.is-island > .ll-app {
  opacity: 1;
  transform: none;
}
/* La Dynamic Island du cadre s'ouvre en vraie Live Activity (proportions de l'iPhone : 94,3 % de la largeur de l'écran) */
.isl-wrap {
  position: absolute;
  z-index: 2;
  top: calc(11px + 1.25%);
  left: 50%;
  width: calc((100% - 22px) * 0.943);
  translate: -50% 0;
  pointer-events: none;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  transition: filter 0.6s ease;
}
.is-island .isl-wrap {
  filter: drop-shadow(0 0 0.7px rgba(255, 255, 255, 0.32)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
}
.isl {
  position: relative;
  width: 100%;
  aspect-ratio: 1112 / 459;
  container-type: inline-size;
  background: #000;
  clip-path: inset(0 32.9% 75.6% 32.9% round 5% / 12.2%);
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.isl.open {
  clip-path: inset(0 0 0 0 round 12% / 29%);
  transition: clip-path 0.85s cubic-bezier(0.34, 1.32, 0.64, 1);
}
.isl img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.94);
  transform-origin: 50% 0;
  transition:
    opacity 0.25s ease,
    transform 0.5s var(--ease-out);
}
.isl.open img {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease 0.18s,
    transform 0.8s var(--ease-out) 0.12s;
}
.isl-time {
  position: absolute;
  left: 66.2cqi;
  top: 5.45cqi;
  width: 17.4cqi;
  height: 7.1cqi;
  background: #000;
  color: #fff;
  font: 700 6.93cqi/1 'InterDigits', var(--font);
  font-variant-numeric: tabular-nums;
  text-align: right;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.isl.open .isl-time {
  opacity: 1;
  transition: opacity 0.4s ease 0.3s;
}

/* ---------- Cadre de téléphone (vraies captures) ---------- */
.device {
  position: relative;
  aspect-ratio: 1180 / 2556;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(150deg, #4a4a52, #18171c 55%, #2e2d34);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.device > img,
.device > video,
.device .layer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 43px;
  background: #08070d;
}
.device::after {
  /* Dynamic Island aux proportions de l'iPhone 15 Pro (126,7 × 37,3 pt sur 393 pt) */
  content: '';
  position: absolute;
  top: calc(11px + 1.25%);
  left: 50%;
  width: calc((100% - 22px) * 0.322);
  aspect-ratio: 126.7 / 37.3;
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}

/* ---------- Liens « Découvrir » ---------- */
.pro-cta .more {
  margin-top: 0;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--on-night);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(var(--violet-hi), var(--violet-hi)) 0 100% / 100% 2px no-repeat;
  pointer-events: auto;
  transition: background-size 0.45s var(--ease-out), color 0.2s;
}
.more::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
  transition: translate 0.35s var(--ease-out);
}
.more:hover {
  color: #fff;
  background-size: 40% 2px;
}
.more:hover::after {
  translate: 3px 0;
}
.step .more {
  margin-top: 22px;
}

/* ---------- Ce que fait l'app (cartes) ---------- */
/* Pas de captures d'écran ici : chaque carte reprend un élément réel de l'app,
   dessiné net, dans le thème par défaut (noir et violet). Les grands chiffres
   étroits rappellent un tableau d'affichage de salle. */
.s-feats {
  color: var(--on-night);
}
.ft-title {
  max-width: 14ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 14px;
}
.ft {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 26px;
  border: 1px solid transparent;
  background:
    linear-gradient(#13111c, #13111c) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 60%) border-box;
  overflow: hidden;
}
.ft h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 0.94;
}
.ft-txt p {
  margin: 10px 0 0;
  max-width: 36ch;
  color: var(--on-night-2);
  font-size: 16px;
  line-height: 1.45;
}
.ft-txt .more {
  margin-top: 16px;
}
.ft-proof {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 32px;
  background:
    radial-gradient(90% 60% at 50% 38%, #221637 0%, #13111c 70%) padding-box,
    linear-gradient(180deg, rgba(155, 107, 255, 0.35), rgba(255, 255, 255, 0.03) 70%) border-box;
}
.ft-route {
  grid-column: span 2;
}
.ft-rank,
.ft-muscle {
  grid-column: span 2;
}

/* Preuve */
.pc {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: clamp(12px, 3vw, 40px) 0;
}
.pc-k {
  margin: 0;
  color: var(--violet-hi);
  font-weight: 700;
  font-size: 15px;
}
.pc-v {
  margin: 6px 0 0;
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(120px, 15vw, 250px);
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.pc-v span {
  font-size: 0.38em;
  margin-left: 0.08em;
  letter-spacing: 0;
}
.pc-s {
  margin: 14px 0 0;
  color: var(--on-night-2);
  font-size: 17px;
}
.pc-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: #c6ff3d;
  color: #142000;
  font-weight: 750;
  font-size: 15px;
}
.pc-ok svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Parcours */
.rt {
  display: grid;
  gap: 14px;
}
.rt-map {
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 220;
  max-height: 210px;
  border-radius: 18px;
  background: #0f0d17;
}
.rt-topo path {
  fill: none;
  stroke: #231f30;
  stroke-width: 1.4;
}
.rt-glow {
  fill: none;
  stroke: rgba(139, 92, 255, 0.22);
  stroke-width: 14;
  stroke-linejoin: round;
}
.rt-path {
  fill: none;
  stroke: #8b5cff;
  stroke-width: 4.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.rt-dot {
  fill: #fff;
  stroke: #8b5cff;
  stroke-width: 4;
}
.rt-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 32px;
  margin: 0;
}
.rt-stats dt {
  color: var(--on-night-2);
  font-size: 13px;
}
.rt-stats dd {
  margin: 2px 0 0;
  font-stretch: 75%;
  font-weight: 850;
  font-size: clamp(22px, 2vw, 28px);
  white-space: nowrap;
}

/* Calories */
.cal {
  display: grid;
  gap: 18px;
}
.cal-ring {
  position: relative;
  width: 128px;
  aspect-ratio: 1;
}
.cal-ring svg {
  width: 100%;
  height: 100%;
  rotate: -90deg;
}
.cal-ring circle {
  fill: none;
  stroke-width: 11;
}
.cal-bg {
  stroke: #221e2d;
}
.cal-fg {
  stroke: #8b5cff;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 25;
}
.cal-ring p {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  margin: 0;
}
.cal-ring b {
  font-stretch: 75%;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
}
.cal-ring span {
  color: var(--on-night-2);
  font-size: 11px;
  margin-top: 3px;
}
.cal-m {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cal-m li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  font-size: 13px;
  color: var(--on-night-2);
}
.cal-m b {
  color: var(--on-night);
  font-weight: 700;
}
.cal-m i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(var(--c), var(--c)) 0 0 / var(--w) 100% no-repeat, #221e2d;
}

/* Séries */
.sets {
  display: grid;
  gap: 12px;
}
.sets-ex {
  margin: 0;
  font-weight: 750;
  font-size: 17px;
}
.sets ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sets li {
  display: grid;
  grid-template-columns: 1fr auto 22px;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #1b1826;
  font-size: 14px;
  color: var(--on-night-2);
}
.sets li b {
  color: var(--on-night);
}
.sets li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #8b5cff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.5 10.5l3 3 6-6.5" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 16px no-repeat;
}
.sets-rest {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--on-night-2);
}
.sets-rest b {
  color: var(--on-night);
  font-stretch: 75%;
  font-weight: 850;
  font-size: 20px;
}
.sets-rest i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(#8b5cff, #8b5cff) 0 0 / 62% 100% no-repeat, #221e2d;
}

/* Classement */
.ft-rank {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.pod {
  display: grid;
  gap: 14px;
  align-self: stretch;
  align-content: end;
}
.pod-ex {
  margin: 0;
  color: var(--on-night-2);
  font-size: 13px;
}
.pod-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
}
.pod-c {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 4px;
  font-size: 13px;
}
.pod-c .av {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25222f;
  font-weight: 800;
}
.pod-c.p1 .av {
  width: 48px;
  height: 48px;
  background: #8b5cff;
}
.pod-c .sc {
  color: var(--on-night-2);
}
.pod-c i {
  display: grid;
  place-items: start center;
  width: 100%;
  height: var(--h);
  margin-top: 6px;
  padding-top: 10px;
  border-radius: 14px 14px 4px 4px;
  background: #221e2d;
  font-style: normal;
  font-stretch: 62%;
  font-weight: 900;
  font-size: 34px;
  color: var(--on-night-2);
}
.pod-c.p1 i {
  background: linear-gradient(180deg, #6d3bf5, #3d1fa8);
  color: #fff;
}
.pod-me {
  display: inline-block;
  margin: 0 0 16px !important;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.16);
  color: #c9b6ff !important;
  font-weight: 700;
  font-size: 14px !important;
}

/* Muscles */
.ft-muscle {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: end;
  padding-right: 0;
  padding-bottom: 0;
}
.ft-muscle .ft-txt {
  padding-bottom: clamp(22px, 2.4vw, 32px);
}
.ft-muscle img {
  order: 2;
  align-self: end;
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}

/* Entrée des cartes : le tracé se dessine, l'anneau et les barres se remplissent (une seule fois) */
.feats.wait .rt-path {
  stroke-dashoffset: 1;
}
.feats.wait .cal-fg {
  stroke-dashoffset: 100;
}
.feats.wait .cal-m i,
.feats.wait .sets-rest i {
  background-size: 0 100%, auto;
}
.feats.wait .pod-c i {
  height: 0;
  padding-top: 0;
  color: transparent;
}
.feats.in .rt-path {
  transition: stroke-dashoffset 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.2s;
}
.feats.in .cal-fg {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.3, 0, 0.2, 1) 0.3s;
}
.feats.in .cal-m i,
.feats.in .sets-rest i {
  transition: background-size 1.2s cubic-bezier(0.3, 0, 0.2, 1) 0.5s;
}
.feats.in .pod-c i {
  transition: height 1s cubic-bezier(0.3, 0, 0.2, 1), padding 1s, color 0.4s 0.8s;
}
.feats.in .pod-c.p1 i {
  transition-delay: 0.15s, 0.15s, 0.95s;
}
.feats.in .pod-c.p3 i {
  transition-delay: 0.3s, 0.3s, 1.1s;
}

@media (max-width: 1080px) {
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-proof {
    grid-row: span 1;
  }
}
@media (max-width: 680px) {
  .feats {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .ft-proof,
  .ft-route,
  .ft-rank,
  .ft-muscle {
    grid-column: auto;
  }
  .ft-rank,
  .ft-muscle {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-muscle img {
    order: 0;
    max-height: 260px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
  .ft-muscle {
    padding: 0;
  }
  .ft-muscle .ft-txt {
    padding: 0 22px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feats.in * {
    transition: none !important;
  }
}

/* ---------- FAQ ---------- */
.s-faq {
  padding-top: clamp(40px, 6vw, 80px);
}
.faq {
  max-width: 860px;
}
.faq h2 {
  margin: 0 0 32px;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 0.95;
  font-stretch: 72%;
}
.faq details {
  border-top: 1px solid var(--hair);
}
.faq details:last-child {
  border-bottom: 1px solid var(--hair);
}
.faq summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 800;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: #fff;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet-hi);
  transition: transform 0.45s var(--ease-out);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq details[open] summary::before {
  transform: rotate(180deg);
}
.faq .ans {
  overflow: hidden;
}
.faq details p {
  margin: 0;
  padding: 0 56px 26px 0;
  color: var(--on-night-2);
  font-size: 17px;
  line-height: 1.6;
}
.faq a {
  color: var(--on-night);
}

/* ---------- Dernier écran : réserver son pseudo ---------- */
.s-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vw, 210px) 0 0;
  text-align: center;
}
.s-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(1400px, 140vw);
  aspect-ratio: 1.6;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109, 59, 245, 0.42), rgba(109, 59, 245, 0.14) 48%, transparent 72%);
  pointer-events: none;
}
.cta {
  position: relative;
  z-index: 2;
}
.cta h2 {
  margin: 0;
  font-size: clamp(56px, 8.4vw, 140px);
  line-height: 0.86;
  font-stretch: 68%;
}
.cta > p {
  max-width: 40ch;
  margin: 24px auto 0;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--on-night-2);
}
.claim {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s;
}
.claim:focus-within {
  box-shadow:
    inset 0 0 0 1px rgba(155, 107, 255, 0.75),
    0 0 0 5px rgba(139, 92, 255, 0.16);
}
.claim-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 0 6px 0 20px;
  cursor: text;
}
.claim-at {
  font-weight: 800;
  font-size: 19px;
  color: var(--violet-hi);
}
.claim input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: none;
  color: #fff;
  font: 700 19px/1 var(--font);
}
.claim input::placeholder {
  color: rgba(243, 240, 250, 0.32);
}
.claim .btn {
  height: 50px;
  flex: 0 0 auto;
}
.claim-hint {
  margin: 16px auto 0;
  font-size: 13px;
  color: rgba(243, 240, 250, 0.45);
  transition: color 0.2s;
}
.claim-hint.err {
  color: #ff9db0;
}
.claim.shake {
  animation: shake 0.42s;
}
@keyframes shake {
  20%,
  60% {
    transform: translateX(-7px);
  }
  40%,
  80% {
    transform: translateX(7px);
  }
}
.cta-phones {
  position: relative;
  height: clamp(320px, 40vw, 560px);
  margin-top: clamp(64px, 8vw, 120px);
}
.cp {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(210px, 22vw, 330px);
  will-change: transform;
}
.cp-c {
  z-index: 2;
  margin-left: calc(clamp(210px, 22vw, 330px) / -2);
}
.cp-l {
  margin-left: calc(clamp(210px, 22vw, 330px) * -1.42);
  top: 9%;
  rotate: -7deg;
  filter: brightness(0.72);
}
.cp-r {
  margin-left: calc(clamp(210px, 22vw, 330px) * 0.42);
  top: 9%;
  rotate: 7deg;
  filter: brightness(0.72);
}

/* ---------- Muscles 3D ---------- */
.s-muscles {
  background: var(--bg);
}
.s-muscles .pin {
  overflow: hidden;
}
#muscles-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.m-caps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cap {
  position: absolute;
  top: 50%;
  width: min(440px, 36vw);
  margin-top: -90px;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition:
    opacity 0.45s,
    filter 0.45s,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cap.left {
  left: calc(var(--pad) + 3vw);
}
.cap.right {
  right: calc(var(--pad) + 3vw);
}
.cap.center {
  top: auto;
  bottom: 9vh;
  left: 0;
  right: 0;
  width: auto;
  margin: 0 auto;
  max-width: 720px;
  padding: 0 var(--pad);
  text-align: center;
}
.cap.on {
  opacity: 1;
  filter: none;
  transform: none;
}
.cap .kick {
  font-size: 14px;
  font-weight: 800;
  color: var(--violet-hi);
}
.cap h2 {
  margin: 10px 0 14px;
  font-size: clamp(42px, 5.2vw, 86px);
  line-height: 0.92;
  font-stretch: 75%;
}
.cap h3 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1;
  font-stretch: 80%;
  color: #fff;
}
.cap p {
  margin: 0;
  font-size: 18px;
  color: var(--on-night-2);
}
.cap .note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #8a83a0;
}
.cap .deep {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: #0b0a10;
  font-size: 12px;
  font-weight: 800;
}
.m-credit {
  position: absolute;
  left: var(--pad);
  bottom: 16px;
  margin: 0;
  font-size: 11px;
  color: #6f6885;
}


/* Légendes des muscles 3D (page Séance) sur petit écran */
@media (max-width: 820px) {
  .cap,
  .cap.left,
  .cap.right,
  .cap.center {
    top: auto;
    bottom: 8vh;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 0 var(--pad);
    text-align: left;
  }
  .cap h2 {
    font-size: 44px;
  }
  .cap h3 {
    font-size: 32px;
  }
  .cap p {
    font-size: 16px;
  }
}
/* ---------- Pages par fonctionnalité ---------- */
.fx-hero {
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.fx-hero-grid,
.fx-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.fx-kick {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 800;
  color: var(--violet-hi);
}
.fx-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.6vw, 110px);
  line-height: 0.9;
  font-stretch: 75%;
}
.fx-hero p {
  margin: 24px 0 0;
  max-width: 40ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-night-2);
}
.fx-hero .device {
  width: min(340px, 78vw);
  justify-self: center;
  transform: rotate(4deg);
}
.fx-story {
  padding: 40px 0 clamp(80px, 10vw, 140px);
}
.fx-story-grid {
  align-items: start;
}
.fx-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.4s;
}
.fx-step.on {
  opacity: 1;
}
.fx-step h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.95;
  font-stretch: 76%;
}
.fx-step p {
  margin: 0;
  max-width: 42ch;
  font-size: 18px;
  color: var(--on-night-2);
}
.fx-step .extra {
  margin-top: 22px;
  width: min(380px, 100%);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.fx-inline {
  display: none;
}
.fx-sticky {
  position: sticky;
  top: calc(50vh - min(36vh, 370px));
  display: grid;
  justify-items: center;
}
.fx-sticky .device {
  width: min(340px, 34vh);
}
.fx-sticky .layer {
  position: absolute;
  inset: 11px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  opacity: 0;
  transition: opacity 0.45s;
}
.fx-sticky .layer.on {
  opacity: 1;
}
.fx-muscles {
  position: relative;
  background: var(--bg);
}
.fx-next {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--night-line);
}
.fx-next h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.6vw, 52px);
  font-stretch: 78%;
}
.fx-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.fx-links a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--night-line);
  background: var(--night-2);
  color: var(--on-night);
  font-weight: 800;
  text-decoration: none;
}
.fx-links a:hover {
  border-color: var(--violet);
}

@media (max-width: 860px) {
  .k-app {
    width: min(300px, 78vw);
    font-size: 15px;
  }
  .k-a {
    left: 6vw;
    top: 30vh;
  }
  .k-b {
    right: 6vw;
    top: 48vh;
  }
  .k-c {
    left: 10vw;
    right: auto;
    top: 66vh;
  }
  .live,
  .fx-hero-grid,
  .fx-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fx-hero .device {
    transform: none;
    width: min(300px, 74vw);
  }
  .fx-sticky {
    display: none;
  }
  .fx-step {
    min-height: auto;
    padding: 40px 0;
    opacity: 1;
  }
  .fx-inline {
    display: block;
    width: min(300px, 76vw);
    margin-top: 26px;
  }
}
@media (max-width: 860px) {
  .home .hero-title {
    font-size: clamp(36px, 9.6vw, 64px);
  }
  .home .hero-title .ln {
    white-space: normal;
  }
}
.band .btn-primary {
  background: #fff;
  color: #17121f;
}
.band .btn-primary:hover {
  background: #ffe9ea;
}


/* ---------- Petits écrans (accueil) ---------- */
@media (max-width: 820px) {
  .s-hero .pin {
    align-items: start;
    padding-top: 104px;
  }
  .hero-title {
    font-size: clamp(42px, 12.4vw, 72px);
  }
  .hero-title .ln {
    white-space: normal;
  }
  .hero-sub {
    margin-top: 18px;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-actions .btn {
    height: 48px;
    padding: 0 20px;
    font-size: 15px;
  }
  .cue {
    display: none;
  }
  .k-title {
    top: 9vh;
    font-size: clamp(30px, 8.6vw, 44px);
  }
  .k-app {
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border-radius: 18px;
  }
  .k-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .k-ico svg {
    width: 21px;
    height: 21px;
  }
  .k-txt b {
    font-size: 15px;
  }
  .k-txt small {
    display: none;
  }
  .k-a {
    left: 5vw;
    top: 15vh;
  }
  .k-b {
    right: 5vw;
    top: 27vh;
  }
  .k-c {
    left: 9vw;
    right: auto;
    top: 76vh;
  }
  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    top: auto;
    bottom: 64px;
    left: var(--pad);
    right: var(--pad);
    width: auto;
    translate: none;
  }
  .step h2 {
    margin: 8px 0 8px;
    font-size: 44px;
  }
  .step p {
    font-size: 16px;
  }
  .chips {
    margin-top: 14px;
  }
  .chips li {
    padding: 6px 11px;
    font-size: 13px;
  }
  .step .more {
    margin-top: 14px;
  }
  .rail {
    bottom: 26px;
    gap: 6px;
  }
  .rail li {
    width: 34px;
    gap: 0;
    font-size: 0;
  }
  .live {
    grid-template-columns: minmax(0, 1fr);
  }
  .live-media {
    width: min(290px, 74vw, 37vh);
    margin-top: 28px;
  }
  .live-switch button {
    padding: 12px 16px;
    font-size: 14px;
  }
  .claim {
    padding: 6px;
  }
  .claim-field {
    padding-left: 14px;
  }
  .claim input {
    font-size: 17px;
  }
  .claim .btn {
    padding: 0 18px;
  }
  .cta-phones {
    height: 380px;
  }
  .cp {
    width: 200px;
  }
  .cp-c {
    margin-left: -100px;
  }
  .cp-l {
    margin-left: -236px;
    top: 14%;
    filter: brightness(0.5);
  }
  .cp-r {
    margin-left: 36px;
    top: 14%;
    filter: brightness(0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .cap {
    transition: opacity 0.2s;
    filter: none;
    transform: none;
  }
  .cue i::after {
    animation: none;
  }
  .isl,
  .isl img {
    transition: none;
  }
}

/* ---------- Bêta : héros et dernier écran ---------- */
.hero-note {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(243, 240, 250, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-note {
    animation: fade-up 1.1s var(--ease-out) 0.62s backwards;
  }
}
.beta-inline {
  max-width: 520px;
  margin: 0 auto;
}
.beta-inline .claim {
  margin-top: 40px;
}
.beta-inline .claim input {
  padding-left: 2px;
}
.beta-inline .claim-hint + .claim-hint {
  margin-top: 8px;
}
.beta-inline [data-beta-msg] {
  color: #ff9db0;
  font-size: 14px;
}
.beta-done-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px auto 0;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(198, 255, 61, 0.07);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 61, 0.22);
  text-align: left;
}
.beta-done-inline .bd-check {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
}
.beta-done-inline p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--on-night-2);
}
.beta-done-inline b {
  color: #fff;
}
.cta-alt {
  margin-top: 26px;
  font-size: 15px;
}
.beta-done-inline {
  flex-wrap: wrap;
}
.beta-done-inline p {
  flex: 1 1 220px;
}
.beta-done-inline .beta-again {
  flex-basis: 100%;
  margin: 2px 0 0;
  padding: 0;
  text-align: left;
}

/* ---------- Écran tactile : une étape par geste ---------- */
html.story-lock,
html.story-lock body {
  overflow: hidden;
}
html.story .rail i::after {
  transition: transform 0.7s var(--ease-out);
}
@media (max-width: 820px) {
  html.story .k-title {
    top: 11svh;
  }
  html.story .k-a {
    top: 18svh;
  }
  html.story .k-b {
    top: 31svh;
  }
  html.story .k-c {
    top: 76svh;
  }
}

@media (max-width: 820px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
  }
  .hero-actions .btn {
    justify-content: center;
  }
}
