:root {
  --page: #ebebeb;
  --bg: #fff;
  --bg-tint: #f7f7f7;
  --soft: #d1d1d1;
  --ink: #262626;
  --ink-2: #333333;
  --ink-3: #5c5c5c;
  --line: #e7e7eb;
  --line-2: #dcdde2;
  --accent: #2e7df2;
  --accent-deep: #1f66d6;
  --accent-soft: #eaf1fe;
  --fill: #eeeef1;
  --fill-2: #e5e5ea;
  --indigo: #5b5bd6;
  --teal: #0e9baa;
  --shadow-sm: 0 1px 2px rgba(24, 38, 77, 0.05);
  --shadow: 0 16px 40px -18px rgba(24, 38, 77, 0.22);
  --shadow-lg: 0 40px 80px -34px rgba(24, 38, 77, 0.3);
  --shell: 1280px;
  --body: 16px;
  --r: 12px;
  --r-lg: 32px;
  --r-btn: 99px;
  --r-md: 8px; /* hover liens / burger — équiv. rounded-md */
  --r-lg-ctl: 10px; /* CTA navbar — équiv. rounded-lg */
  --nav-shrink: 1120px; /* largeur de la nav une fois rétractée */
  --nav-ease-dur: 0.55s; /* durée unique partagée par toute la rétraction */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* --sans:
    "General Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; */
  --sans: "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "System Default", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (et pas hidden) : clippe l'horizontale sans casser position:sticky */
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
 
/* accès clavier */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
 
/* ---------- colonne structurée + filets ---------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--bg);
}
.inner {
  padding: clamp(64px, 8vw, 80px) clamp(24px, 6vw, 80px);
}
 
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--body);
  padding: 12px 20px;
  border-radius: var(--r-btn);
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.18s var(--spring),
    background 0.2s var(--ease-out),
    box-shadow 0.2s,
    border-color 0.2s;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-secondary {
  background: var(--fill);
  color: var(--ink);
}
.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(20, 20, 30, 0.5);
  }
  .btn-secondary:hover {
    background: var(--fill-2);
    transform: translateY(-2px);
  }
  .btn-soft:hover {
    background: #dbe8fd;
    transform: translateY(-2px);
  }
  .btn-light:hover {
    transform: translateY(-2px);
    border-color: var(--ink-3);
  }
}
.btn:active {
  transform: scale(0.97);
}
.learn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 15px;
  border-radius: var(--r-btn);
}
 
/* ---------- layout : panneau figé à gauche, tout le site défile à droite ---------- */
.layout {
  --gap: clamp(12px, 1.6vw, 22px);
  background: #efeff1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  align-items: start;
}

/* le bloc blanc : sticky => reste figé tant que la colonne droite défile,
   se relâche pile en fin de contenu (mieux que position:fixed) */
.brand-panel {
  position: sticky;
  top: var(--gap);
  height: calc(100dvh - var(--gap) * 2);
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 52px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hero-card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-logo {
  width: clamp(54px, 6vw, 74px);
  height: auto;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.hero-name {
  margin-top: 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.08s forwards;
}
.brand-panel h1 {
  margin-top: 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--ink);
  max-width: 16ch;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.16s forwards;
}
/* ---- badge officiel Apple ---- */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 192px;
  height: 56px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    transform 0.18s var(--spring),
    background 0.2s var(--ease-out);
}
.appstore-badge svg {
  width: 30px;
  height: auto;
  flex: none;
}
.appstore-badge .as-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.appstore-badge .as-small {
  font-size: 12px;
  font-weight: 400;
}
.appstore-badge .as-big {
  font-size: 24px;
  font-weight: 600;
  margin-top: -1px;
  letter-spacing: -0.01em;
}
@media (hover: hover) {
  .appstore-badge:hover {
    background: #1a1a1a;
  }
}
.appstore-badge:active {
  transform: scale(0.96);
}
.brand-panel .appstore-badge {
  margin-top: clamp(28px, 3.4vw, 40px);
  opacity: 0;
  animation: fadeInOnly 0.8s var(--ease-out) 0.26s forwards;
}


@keyframes fadeInOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
.hero-foot a {
  color: var(--ink-3);
  transition: color 0.18s var(--ease-out);
}
@media (hover: hover) {
  .hero-foot a:hover { color: var(--ink); }
}

/* colonne droite : tout le contenu défile ici */
.content {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
/* premier écran : le téléphone, posé sur le gris (façon capture) */
.stage-phone {
  min-height: calc(100dvh - var(--gap) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet {
  container-type: inline-size;
  container-name: rail;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sheet > main { display: block; }


.hp {
  width: clamp(232px, 25vw, 300px);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}
.hp-screen {
  position: relative;
  height: 100%;
  border-radius: clamp(32px, 3.6vw, 44px);
  background: #0c0d11;
  overflow: hidden;
}
.hp-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 22px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}
.hp-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 0;
}
.hp-time {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.hp-sig {
  width: 30px;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
}
.hp-body {
  position: relative;
  z-index: 2;
  padding: 30px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hp-line {
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.hp-line.w70 { width: 64%; }
.hp-line.w40 { width: 40%; }
.hp-line.sub {
  height: 9px;
  background: rgba(255, 255, 255, 0.1);
}
.hp-block {
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}
.hp-block.tall {
  height: 120px;
  background: rgba(46, 125, 242, 0.16);
}
.hp-block.short { height: 44px; }
.hp-mark {
  position: absolute;
  right: -22px;
  bottom: -18px;
  width: 130px;
  color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.hp-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    100deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 65%
  );
  background-size: 220% 100%;
  animation: hpShimmer 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes hpShimmer {
  from { background-position: 140% 0; }
  to { background-position: -60% 0; }
}

/* ---- responsive : sous 900px on désépingle et on empile ---- */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .brand-panel {
    position: static;
    height: auto;
    min-height: 84dvh;
    padding: 40px 24px;
  }
  .stage-phone {
    min-height: auto;
    padding: 6px 0 4px;
  }
  .hp { width: min(270px, 70vw); }
  .sheet { max-width: none; }
}

/* ---- mouvement réduit : on force la visibilité (le bloc global coupe les anims) ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-name,
  .brand-panel h1,
  .hero-dl,
  .hp {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hp-screen::after { animation: none; }
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 8px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.announce svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
/* ---------- vitrine encadrée (grille blueprint) ---------- */
.showcase .inner {
  padding-bottom: clamp(48px, 6vw, 84px);
}
.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: #fafafb;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 54px 22px 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 430px;
}
.frame::before,
.frame::after {
  position: absolute;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1;
  opacity: 0.7;
}
.frame::before {
  content: "+";
  top: 9px;
  left: 11px;
}
.frame::after {
  content: "+";
  bottom: 9px;
  right: 11px;
}
.phone-wrap {
  position: relative;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}
 
/* ---------- téléphone ---------- */
.phone {
  width: 286px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #fff, #dde2ec);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 3;
}
.screen {
  background: #fbfcfe;
  border-radius: 37px;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: #0c0d11;
  border-radius: 20px;
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
}
.island .ring {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}
.island .ring circle {
  fill: none;
  stroke-width: 3;
}
.island .ring .bg {
  stroke: rgba(255, 255, 255, 0.2);
}
.island .ring .fg {
  stroke: #6fa0ff;
  stroke-linecap: round;
  stroke-dasharray: 45;
  animation: tick 4s linear infinite;
}
@keyframes tick {
  from {
    stroke-dashoffset: 45;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.island .t {
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
}
.island .lab {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.screen .top {
  padding: 58px 17px 5px;
}
.screen .top .sess {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.screen .top .meta {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 2px;
}
.screen .body {
  flex: 1;
  overflow: hidden;
  padding: 6px 13px 0;
}
.focuscard {
  border-radius: 20px;
  background: linear-gradient(150deg, var(--accent), #5c92ff);
  padding: 13px;
  box-shadow: 0 14px 28px -18px rgba(46, 125, 242, 0.85);
  margin-bottom: 11px;
}
.fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fc-name {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}
.fc-prog {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 8px;
  border-radius: 7px;
}
.surface {
  background: #fff;
  border-radius: 13px;
  padding: 9px 10px;
}
.setrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(20, 23, 28, 0.06);
}
.setrow:last-of-type {
  border-bottom: none;
}
.pill {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  font-size: 11px;
}
.pill.done {
  background: var(--accent);
  color: #fff;
}
.pill.done svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.6;
  fill: none;
}
.pill.now {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.pill.todo {
  background: var(--soft);
  color: var(--ink-3);
}
.setrow .reps {
  font-weight: 500;
  font-size: 13.5px;
}
.setrow .kg {
  margin-left: auto;
  font-weight: 700;
  font-size: 13.5px;
}
.setrow .kg small {
  font-weight: 500;
  color: var(--ink-3);
}
.last {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.last .trend {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
}
.last .trend svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
}
.exrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: var(--soft);
  margin-bottom: 7px;
}
.exrow .ico {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.exrow .ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
}
.exrow .nm {
  font-weight: 600;
  font-size: 13.5px;
}
.exrow .sub {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 1px;
}
.exrow .cnt {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.restbar {
  margin: 5px 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.restbar .rt {
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
}
.restbar .rl {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.restbar .bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--soft);
  overflow: hidden;
}
.restbar .bar i {
  display: block;
  height: 100%;
  width: 60%;
  background: var(--accent);
  border-radius: 3px;
  animation: rest 4s linear infinite;
}
@keyframes rest {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
.restbar .skip {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
}
 
/* carte flottante */
.float-card {
  position: absolute;
  right: -26px;
  bottom: 96px;
  z-index: 4;
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: pop 0.7s var(--spring) 1s forwards;
}
.float-card .fi {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .fi svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  stroke-width: 1.9;
  fill: none;
}
.float-card .lab {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 600;
}
.float-card .val {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 520px) {
  .float-card {
    right: -8px;
  }
}
 
/* ---------- l'essentiel (bloc façon Aboard : titre + liste + bande) ---------- */
.basics .kicker {
  margin-bottom: 14px;
}
.basics h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  max-width: 13ch;
  margin-bottom: 22px;
}
.basics-lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 30px;
}
.basics .btn {
  margin-bottom: 40px;
}
.basics-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 44px;
  max-width: 560px;
}
.basics-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.basics-list svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  stroke-width: 1.7;
  fill: none;
  flex: none;
}
.basics-band {
  margin-top: 40px;
  /* background: var(--accent-soft); */
}
.basics-band img {
  border-radius: var(--r);
}
@container rail (max-width: 600px) {
  .basics-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
 
/* ---------- section header générique ---------- */
.sec-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  padding: 4px 12px;
  color: #122368;
  background-color: #c0d5ff;
  border-radius: 9999px;
}
.k-indigo {
  color: var(--indigo);
}
.k-teal {
  color: var(--teal);
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  max-width: 18ch;
}
.sec-head p {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 54ch;
  margin-top: 14px;
}
 
/* ---------- bento bordée (cœur structuré) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cell {
  background: var(--bg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out),
    background 0.25s;
}
.cell.in {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) {
  .cell:hover {
    background: #fbfcff;
  }
}
.cell .ci {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.cell .ci svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
}
.cell h3 {
  font-size: 19px;
  margin-bottom: 7px;
}
.cell p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.cell .demo {
  margin-top: auto;
  padding-top: 20px;
}
.c4 {
  grid-column: span 4;
}
.c3 {
  grid-column: span 3;
}
.c2 {
  grid-column: span 2;
}
@container rail (max-width: 820px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .c4,
  .c3,
  .c2 {
    grid-column: span 1;
  }
}
 
/* mini-démos dans la bento */
.demo-island {
  background: #0c0d11;
  border-radius: 16px;
  height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-sm);
}
.demo-island .ring {
  width: 28px;
  height: 28px;
  transform: rotate(-90deg);
}
.demo-island .ring circle {
  fill: none;
  stroke-width: 3.4;
}
.demo-island .ring .bg {
  stroke: rgba(255, 255, 255, 0.18);
}
.demo-island .ring .fg {
  stroke: #6fa0ff;
  stroke-linecap: round;
  stroke-dasharray: 75.4;
  animation: tick2 5s linear infinite;
}
@keyframes tick2 {
  from {
    stroke-dashoffset: 75.4;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.demo-island .t {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.demo-island .l {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.watch {
  width: 88px;
  height: 106px;
  background: linear-gradient(160deg, #1a1c22, #0a0b0e);
  border-radius: 26px;
  padding: 9px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}
.watch .wf {
  position: relative;
  background: #0c0d11;
  border-radius: 19px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.watch .wring {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
}
.watch .wring circle {
  fill: none;
  stroke-width: 5;
}
.watch .wring .bg {
  stroke: rgba(255, 255, 255, 0.16);
}
.watch .wring .fg {
  stroke: #6fa0ff;
  stroke-linecap: round;
  stroke-dasharray: 104;
  animation: tick4 5s linear infinite;
}
@keyframes tick4 {
  from {
    stroke-dashoffset: 104;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.watch .wt {
  position: absolute;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}
/* — cartes exercice (réplique de l'app : badge nombre + tendance) — */
.exo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exo {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--fill);
  border-radius: 22px;
  padding: 14px 16px;
}
.exo .num {
  flex: none;
  min-width: 50px;
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.exo .body {
  flex: 1;
  min-width: 0;
}
.exo .nm {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exo .meta {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 2px;
}
.exo .trend {
  flex: none;
  width: 22px;
  display: grid;
  place-items: center;
}
.exo .trend svg {
  width: 20px;
  height: 20px;
  stroke: #34c759;
  stroke-width: 2.4;
  fill: none;
}
.exo .trend.flat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.4;
}
 
/* — badge « bientôt » — */
.cell.coming {
  position: relative;
}
.soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 7px;
  padding: 4px 9px;
  margin-left: 8px;
  vertical-align: middle;
}
 
/* — carte volume (réplique du graphique de l'app) — */
.volcard {
  background: var(--fill);
  border-radius: 20px;
  padding: 4px;
}
.volhead {
  padding: 12px 12px 0 12px;
}
.vlabel {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.vtitle {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 2px 0 14px;
}
.vfilters {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
  mask-image: linear-gradient(to right, #000 82%, transparent);
}
.vfilter {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e3e3e7;
  color: var(--ink-2);
}
.vfilter.on {
  background: var(--accent-soft);
  color: var(--accent);
}
.vinner {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
}
.vbig {
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.vbig small {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-2);
  margin-left: 2px;
}
.vsub {
  font-size: 13px;
  color: var(--ink-3);
  margin: 4px 0 16px;
}
.vchart {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 8px;
}
.vyaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  font-size: 10px;
  color: var(--ink-3);
}
.vbars {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(33.33% - 1px),
    var(--line) calc(33.33% - 1px),
    var(--line) 33.33%
  );
}
.vbar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 1px 1px;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.7s var(--ease-out);
}
.vbars.in .vbar {
  transform: scaleY(1);
}
.vbar:nth-child(1) {
  transition-delay: 0.04s;
}
.vbar:nth-child(2) {
  transition-delay: 0.09s;
}
.vbar:nth-child(3) {
  transition-delay: 0.14s;
}
.vbar:nth-child(4) {
  transition-delay: 0.19s;
}
.vbar:nth-child(5) {
  transition-delay: 0.24s;
}
.vbar:nth-child(6) {
  transition-delay: 0.29s;
}
.vbar:nth-child(7) {
  transition-delay: 0.34s;
}
.vbar:nth-child(8) {
  transition-delay: 0.39s;
}
.vxaxis {
  grid-column: 2;
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.vxaxis span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--ink-3);
  white-space: nowrap;
}
 
/* — échelle d'effort (RPE codé couleur) — */
.effort-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ef {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 12px;
}
.ef::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.ef .ef-rpe {
  margin-left: auto;
  font-weight: 500;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
.ef-easy {
  background: #e7f7ee;
  color: #1a9e54;
}
.ef-mod {
  background: var(--accent-soft);
  color: var(--accent);
}
.ef-hard {
  background: #fff2e0;
  color: #d9810f;
}
.ef-max {
  background: #fde9e7;
  color: #db3f36;
}
.flist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  margin-top: 6px;
}
.fitem {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.fitem svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink);
  stroke-width: 1.7;
  fill: none;
  flex: none;
}
 
/* ---------- vitalité ---------- */
.vit-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.vit-grid > div {
  padding: clamp(30px, 4vw, 44px);
}
.vit-text {
  border-right: 1px solid var(--line);
}
.vit-tag {
  display: inline-block;
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.vit-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 12px;
}
.vit-text p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 42ch;
}
.vp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin-top: 11px;
}
.vp svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
}
.vit-gauge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
}
.gauge {
  width: 172px;
  height: 172px;
  position: relative;
}
.gauge svg {
  transform: rotate(-90deg);
}
.gauge circle {
  fill: none;
  stroke-width: 13;
}
.gauge .bg {
  stroke: #fff;
}
.gauge .fg {
  stroke: url(#vg);
  stroke-linecap: round;
  stroke-dasharray: 455;
  stroke-dashoffset: 455;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.gauge.in .fg {
  stroke-dashoffset: 114;
}
.gauge .v {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge .v b {
  font-size: 44px;
  font-weight: 700;
}
.gauge .v span {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  font-weight: 600;
}
@container rail (max-width: 760px) {
  .vit-grid {
    grid-template-columns: 1fr;
  }
  .vit-text {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}
 
/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta .announce {
  margin-bottom: 6px;
}
.cta h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  margin: 14px auto 24px;
  max-width: 16ch;
}
.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(34px, 5vw, 52px);
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-align: left;
}
.cta-grid .it {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}
.cta-grid .it:first-child {
  border-left: none;
}
.cta-grid .it h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cta-grid .it h4 svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
}
.cta-grid .it p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}
@container rail (max-width: 760px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-grid .it:nth-child(3) {
    border-left: none;
  }
  .cta-grid .it:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@container rail (max-width: 460px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid .it {
    border-left: none;
  }
  .cta-grid .it:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
}
 
/* ---------- footer ---------- */
.sheet footer {
  max-width: none;
  border-left: none;
  border-right: none;
  margin: 0;
}
footer {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: clamp(36px, 5vw, 48px) clamp(22px, 5vw, 72px) 0;
}
.foot .tagline {
  color: var(--ink-3);
  font-size: 14px;
  max-width: 26ch;
  margin-top: 10px;
}
.foot-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.foot-col h5 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 13px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  color: var(--ink-2);
  font-size: 14.5px;
  margin-bottom: 9px;
  font-weight: 500;
  transition: color 0.2s;
}
@media (hover: hover) {
  .foot-col a:hover {
    color: var(--ink);
  }
}
.foot-bottom {
  margin-top: 36px;
  padding: 20px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
}
 
/* ---------- reveal + accessibilité mouvement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .cell {
    opacity: 1 !important;
    transform: none !important;
  }
  .float-card {
    opacity: 1 !important;
  }
  .vbars .vbar {
    transform: scaleY(1) !important;
  }
  .gauge .fg {
    stroke-dashoffset: 114 !important;
  }
}