@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url('../assets/fonts/Outfit-700.ttf') format('truetype'); }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url('../assets/fonts/Nunito-400.ttf') format('truetype'); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url('../assets/fonts/Nunito-600.ttf') format('truetype'); }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --line: #2a2a2a;
  --text: #ffffff;
  --soft: #d4d4d4;
  --muted: #a3a3a3;
  --faint: #8a8a8a;
  --strava: #fc5200;
  --metal: linear-gradient(90deg, #fff, #a1a1aa 30%, #3f3f46 52%, #e4e4e7 76%, #fff);
  --neon: #ff3344;
  --good: #4ade80;
  --watch: #ff9800;
  --gutter: clamp(16px, 4vw, 56px);
  --band: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  scrollbar-color: #3a3a3a var(--bg);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { background: var(--bg); color: var(--text); font: 400 1.125rem/1.55 Nunito, system-ui, sans-serif; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: var(--faint); }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: Outfit, sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.15; }
[id] { scroll-margin-top: 72px; }
.strava-word { color: var(--strava); font-weight: 600; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px; background: linear-gradient(#0a0a0a 62%, #0a0a0a00); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.3rem Outfit, sans-serif; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__end { display: flex; align-items: center; gap: 24px; }
.nav__end > a:not(.pill) { text-decoration: none; font-weight: 600; }
.nav__end > .nav__strava { color: var(--strava); }

/* Boutons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 99px; border: 1px solid transparent; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transition: transform 0.25s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill--small { min-height: 40px; padding: 0 18px; font-size: 1rem; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.store[aria-disabled='true'] { background: #0a0a0a99; color: var(--soft); border-color: #ffffff4d; cursor: default; }
.store[aria-disabled='true']:hover { transform: none; }
.note { color: var(--faint); font-size: 0.95rem; margin-top: 12px; }

/* Accueil */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.slides, .slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.slide { object-fit: cover; opacity: 0; transition: opacity 1.4s ease; filter: contrast(1.05) saturate(1) brightness(0.88); }
.slide.on { opacity: 1; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }

.slides::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 50%, #0a0a0aa8, #0a0a0a40), linear-gradient(#0a0a0a00 65%, var(--bg)); }

.hero__text { position: relative; padding: 72px var(--gutter) 24px; }
.hero h1 { font-size: clamp(3.8rem, 11vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
.tagline { font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 Outfit, sans-serif; letter-spacing: -0.02em; color: var(--soft); }
.promise { font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.15 Outfit, sans-serif; letter-spacing: -0.02em; margin-top: clamp(24px, 5svh, 48px); text-wrap: balance; }
.hero .stores { margin-top: clamp(24px, 4svh, 36px); }
.hero .note { color: var(--soft); }

/* Bandes */
.band { padding: var(--band) var(--gutter); }
.band--line { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.band--line .grid { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.band--line h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.wrap, .grid { max-width: 1328px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px clamp(32px, 6vw, 90px); }
.prose { color: var(--soft); max-width: 34rem; }
.strava { margin-top: 24px; width: 190px; height: auto; }

/* Strava : trois étapes */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding-top: 16px; }
.flow li::after { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--metal); }
.flow li::before { content: counter(f); display: block; margin-bottom: 28px; font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 Outfit, sans-serif; color: var(--text); font-variant-numeric: tabular-nums; }
.flow h3 { margin-bottom: 6px; }
.flow p, .facts p { color: var(--muted); }

/* Compteur : les kilomètres montent pendant que la section défile */
.sync { position: relative; }
.sync__pin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; max-width: calc(1328px + 2 * var(--gutter)); margin: 0 auto; padding: var(--band) var(--gutter); }
.sync__demo { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.6vw, 30px); }
/* Notification push qui apparaît sous le titre, centrée, quand une pièce passe sous le seuil */
.sync__text { display: grid; justify-items: center; width: fit-content; max-width: 100%; }
.notif { margin-top: 28px; width: min(480px, 100%); display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #1f1f1fee; border: 1px solid #3a3a3a; border-radius: 18px; box-shadow: 0 14px 36px #000000b3; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(-16px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.notif.on { opacity: 1; transform: none; }
.notif img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.notif p { margin: 0; }
.notif__head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; color: var(--muted); }
.notif__head b { color: var(--text); font-weight: 600; }
.notif__body { font-size: 1.15rem; line-height: 1.35; }
.notif__body strong { color: #ff5a66; font-weight: 600; margin-right: 4px; }
.sync__bar { display: flex; justify-content: space-between; padding-bottom: 12px; color: var(--muted); }
.sync__bar span:first-child { color: var(--text); font: 700 1.1rem Outfit, sans-serif; }
.health { list-style: none; padding: 0; }
.health li { padding: 13px 0; border-top: 1px solid var(--line); }
.health li div:first-child { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.health .val { font-weight: 600; font-variant-numeric: tabular-nums; }
.health i, .health em { font-style: normal; }
.bar { height: 6px; border-radius: 3px; background: #1d1d1d; overflow: hidden; }
.bar u { display: block; height: 100%; border-radius: 3px; background: currentColor; text-decoration: none; transition: width 0.5s ease-out; }
.km { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.km b { font: 700 clamp(2.8rem, 6vw, 4.6rem)/1 Outfit, sans-serif; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.km span { color: var(--muted); }

/* Offres */
/* Photo fixe du Meta derrière les offres, sur toute la largeur */
.plans-stage { position: relative; padding: clamp(64px, 10vw, 160px) 0; }
.plans-bg { position: absolute; inset: 0 calc(50% - 50vw); overflow: hidden; z-index: 0; }
.bgslide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; filter: saturate(1) contrast(1.05) brightness(0.62); }
.bgslide.on { opacity: 1; }
.plans-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), #0a0a0a00 22%, #0a0a0a00 78%, var(--bg)), radial-gradient(80% 70% at 50% 50%, #0a0a0a59, #0a0a0a1a); }
.plans { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
/* Chaque offre est un bloc détouré, éclairé par le haut, posé sur le fond */
.plan { --accent: #fff; position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 55% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), linear-gradient(180deg, #1c1c1c 0%, #121212 45%, #0b0b0b 100%);
  border: 1px solid #ffffff24;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.6),
    0 1px 0 rgba(255,255,255,0.04),
    0 18px 30px -12px rgba(0,0,0,0.85),
    0 50px 80px -30px rgba(0,0,0,0.95);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
@media (hover: hover) {
  .plan:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, #2e2e2e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 32px 60px -22px rgba(0,0,0,0.95), 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
}
.plan > * { position: relative; }
/* Bouton S'abonner aligné en bas des offres payantes */
.plan__end { margin-top: auto; padding-top: 24px; }
.plan--strava { --accent: #e4e4e7; }
.plan h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.price { font: 700 1.6rem Outfit, sans-serif; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.price span { font: 400 1.05rem Nunito, sans-serif; color: var(--muted); }
.for { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.plan--strava .for { color: var(--soft); }
.plan ul, .facts, .terms { list-style: none; padding: 0; }
.plan li, .terms li { padding: 12px 0; border-top: 1px solid var(--line); }
.plan li { border-top-color: rgba(255,255,255,0.07); }
.plan .plan__strava { color: var(--text); }
/* Reflet qui balaie le mot, puis une pause */
.shine { font-weight: 600; color: var(--text); background: linear-gradient(110deg, #a1a1aa 35%, #e4e4e7 48%, #ffffff 50%, #e4e4e7 52%, #a1a1aa 65%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 3.2s var(--ease) infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
/* Reflet coloré dans le mot seulement, façon Finary (pas de halo autour) */
.shine--relief {
  display: inline;
  font-weight: 700;
  filter: none;
  background: linear-gradient(
    105deg,
    #cfcfd4 12%,
    #7dd3fc 28%,
    #a78bfa 42%,
    #f9a8d4 50%,
    #67e8f9 62%,
    #e4e4e7 78%,
    #cfcfd4 100%
  ) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-relief 3s linear infinite;
}
@keyframes shine-relief {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* Offre gratuite : le chat de l'app et son anneau métal */
.plan--free { --accent: #a1a1aa; }
.plan--free::before { background: linear-gradient(90deg, #fff, #a1a1aa 30%, #3f3f46 52%, #e4e4e7 76%, #fff); }
.plan--free .note { margin-top: 12px; }
.chat__title { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.chat { margin-bottom: clamp(48px, 7vw, 88px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.6vw, 30px); }
.chat__top { display: grid; justify-items: center; gap: 14px; padding: 6px 0 18px; }
.ai-ring { position: relative; width: clamp(120px, 13vw, 160px); aspect-ratio: 1; }
.ai-ring::after { content: ''; position: absolute; left: 16%; right: 16%; bottom: -2%; height: 12%; border-radius: 50%; background: #000; filter: blur(8px); opacity: 0.7; z-index: -1; }
.ai-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-ring__glow { position: absolute; inset: 19%; border-radius: 50%; background: #fff; filter: blur(24px); opacity: 0.06; }
.chat__state { color: var(--muted); font-size: 0.95rem; min-height: 1.55em; text-align: center; transition: opacity 0.3s; }
.chat__state.swap, .chat__bike b.swap { opacity: 0; }
.chat__bike { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 0; border-block: 1px solid var(--line); }
.chat__bike span { color: var(--faint); font-size: 0.95rem; }
.chat__bike b { font-weight: 600; transition: opacity 0.35s; }
.chat__thread { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; min-height: 20rem; transition: opacity 0.4s; }
.chat__thread.out { opacity: 0; }
.bubble { max-width: min(90%, 44rem); border-radius: 22px; padding: 12px 18px; font-size: 1.02rem; line-height: 1.45; animation: rise 0.45s var(--ease) both; }
.bubble--me { align-self: flex-end; background: var(--text); color: var(--bg); }
.bubble--ai { align-self: flex-start; background: #181818; border: 1px solid var(--line); }
.bubble--ai b { display: block; margin-bottom: 4px; font: 700 0.85rem Outfit, sans-serif; color: var(--muted); }
.bubble--ai p.typing::after { content: ''; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 4px; border-radius: 50%; background: var(--soft); animation: blink 0.9s ease-in-out infinite; }
.chat__cta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 99px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.95rem; animation: rise 0.45s var(--ease) both; }
.chat__note { color: var(--faint); font-size: 0.9rem; margin-top: 14px; text-align: right; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes blink { 50% { opacity: 0.2; } }

/* Revente : le certificat à joindre à l'annonce */
.resale__grid { max-width: 1328px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px clamp(32px, 7vw, 110px); align-items: start; }
.lead { color: var(--soft); font-size: clamp(1.15rem, 1.6vw, 1.4rem); max-width: 34rem; margin-top: 18px; }
.resale__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--text); }
.resale__price b { font: 700 clamp(2.2rem, 4vw, 3rem)/1 Outfit, sans-serif; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.resale__price span { color: var(--muted); }
.resale__sell { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); }
.resale__sell h3 { margin-bottom: 6px; }
.resale__sell ul { list-style: none; padding: 0; color: var(--muted); }
.resale__sell li { padding: 8px 0; }
.cert { justify-self: center; width: min(440px, 100%); }
.cert__paper { background: #fff; color: #0a0a0a; border-radius: 24px; padding: clamp(22px, 3vw, 30px); box-shadow: 0 30px 80px #000000d9; transform: rotate(-1.5deg); transition: transform 1.1s var(--ease), opacity 0.7s; }
.cert.pre .cert__paper { opacity: 0; transform: rotate(-5deg) translateY(40px); }
.cert p { margin: 0; }
.cert__brand { font: 700 1.25rem Outfit, sans-serif; letter-spacing: -0.02em; }
.cert .cert__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.62; margin-bottom: 8px; }
.cert__verdict { display: flex; align-items: center; gap: 10px; font: 700 2.2rem/1.05 Outfit, sans-serif; letter-spacing: -0.03em; }
.cert__verdict::before { content: '✓'; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1e824c; color: #fff; font-size: 1rem; letter-spacing: 0; }
.cert .cert__date { font-weight: 600; opacity: 0.85; margin-top: 4px; }
.cert .cert__label { margin-top: 16px; padding-top: 14px; border-top: 1px solid #0a0a0a26; }
.cert .cert__label { font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.cert__parts { list-style: none; padding: 0; display: grid; gap: 12px; }
.cert__parts li { display: flex; align-items: center; gap: 12px; }
.cert__thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #1d1d1d url('../assets/img/velo-studio.jpg') var(--x) var(--y) / 570px auto no-repeat; }
.cert__parts div { display: grid; gap: 1px; }
.cert__parts b { font-weight: 600; }
.cert__parts span { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.cert .good { color: #1e824c; }
.cert .watch { color: #b35c00; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
/* Barème du contrôle, comme sur un procès-verbal de contrôle technique */
.cert__scale { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.cert__scale li { padding: 8px 4px; border-radius: 10px; background: #f0f0f0; color: #6b6b6b; font-size: 0.85rem; font-weight: 600; text-align: center; }
.cert__scale li.on { background: #1e824c; color: #fff; }
.cert__note { font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }
.cert figcaption { text-align: center; color: var(--faint); font-size: 0.9rem; margin-top: 20px; }

/* Contrôle : le vélo reste fixe, les étapes défilent */
.tour { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 52% 60% at 50% 42%, #0a0a0a00 52%, var(--bg) 100%), linear-gradient(var(--bg), #0a0a0a00 15%, #0a0a0a00 66%, #0a0a0af2 80%, var(--bg)); }
.shot { position: absolute; top: 0; left: 0; aspect-ratio: 4073 / 2291; transform-origin: 0 0; transition: transform 1.2s var(--ease); }
.shot img, .shot svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.shot img { filter: brightness(0.8) contrast(1.08); }
.stop__strava { width: 170px; height: auto; margin: 16px auto 0; }
.ring { fill: none; stroke: var(--neon); stroke-width: var(--ring, 2); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 7px var(--neon)); transition: stroke-dashoffset 1.2s var(--ease) 0.3s, opacity 0.3s; }
.ring.on { stroke-dashoffset: 0; opacity: 1; }
.stops { position: relative; margin-top: -100vh; margin-top: -100svh; padding: 0 var(--gutter); }
.stop { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding-bottom: clamp(24px, 6svh, 64px); }
.stop__text { width: min(40rem, 100%); }
.stop h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 10px; }
.ask { color: #e5e5e5; font-size: 1.2rem; }
.reading { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.reading b { font: 700 2rem Outfit, sans-serif; font-variant-numeric: tabular-nums; }
.reading small { flex-basis: 100%; color: var(--muted); font-size: 0.9rem; }
.good { color: var(--good); }
.watch { color: var(--watch); }
.bad { color: #ff5a66; }

/* Avis et mentions */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts li { border-top: 2px solid var(--text); padding-top: 14px; }
.facts h3 { margin-bottom: 6px; }
.terms { color: var(--muted); font-size: 0.95rem; }
.terms li { padding: 8px 0; }
.terms li:first-child { border-top: 0; padding-top: 0; }

/* Fin de page */
.close { text-align: center; }
.mark { width: 96px; margin: 0 auto 24px; border-radius: 22px; }
.close h2 { margin-bottom: 8px; }
.close .stores { margin-top: 28px; }
.qr-note { margin-top: 10px; }
.qr { width: 132px; margin: 28px auto 0; border-radius: 12px; padding: 8px; background: #fff; }
.footer { padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--faint); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Pages simples */
.page { padding: 120px var(--gutter) 80px; max-width: 46rem; margin: 0 auto; min-height: 80vh; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 20px; }
.page h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.page p { color: var(--soft); }
.page p + p { margin-top: 8px; }
.page ul { color: var(--soft); padding-left: 1.2em; margin: 8px 0; }
.page li { margin: 4px 0; }
.page b { color: var(--text); font-weight: 600; }
.page code { font-size: 0.95em; }

@media (max-width: 860px) {
  .nav__end > a:not(.pill) { display: none; }
  .nav__end > a.nav__strava { display: block; }
  .nav__end { gap: 14px; }
  .grid, .flow, .plans, .facts, .plan--free, .resale__grid { grid-template-columns: 1fr; }
  .chat__thread { min-height: 25rem; }
  .cert__paper { transform: rotate(-1deg); }
  .flow li::before { margin-bottom: 10px; }
  .sync__pin { grid-template-columns: 1fr; gap: 16px; align-content: center; }
  .sync h2 { font-size: 2rem; }
  .notif { margin-top: 12px; }
  .sync__demo { padding: 14px; }
  .health li { padding: 9px 0; }
  .km b { font-size: 2.8rem; }
  .qr, .qr-note { display: none; }
  .shot img, .shot svg { -webkit-mask-image: linear-gradient(#000 82%, #0000); mask-image: linear-gradient(#000 82%, #0000); }
}

@media (max-width: 420px) {
  .brand { font-size: 1.1rem; gap: 8px; }
  .nav__end { gap: 10px; }
  .pill--small { padding: 0 12px; font-size: 0.9rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shine { animation: none; background-position: 100% 0; }
  .shine--relief { animation: none; background-position: 35% 0; filter: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}


/* Repère de chapitre, même style partout */
.eyebrow { font: 600 0.95rem Nunito, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; flex: 0 0 28px; background: var(--metal); }
.hero .eyebrow { margin: 0; }
.center-head { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.center-head .chat__title { margin-bottom: 0; }
/* Menus de section centrés : un trait égal de chaque côté */
.center-head .eyebrow {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}
.center-head .eyebrow::after { content: ''; width: 28px; height: 2px; flex: 0 0 28px; background: var(--metal); }
.chapter__head { max-width: 46rem; margin-inline: auto; }
.breather__text.center-head { margin-bottom: 0; }
.breather__text p { margin-inline: auto; }
.suivi__head { text-align: center; }
.parts__note { margin-inline: auto; text-align: center; }
.stats { text-align: center; }
.stats span { margin-inline: auto; }
.flow { text-align: center; }

/* Respiration : une grande photo fixe entre deux chapitres */
.breather { position: relative; min-height: 88vh; min-height: 88svh; display: grid; align-items: end; overflow: hidden; padding: var(--band) var(--gutter); }
.breather__img { position: absolute; inset: -12% 0; width: 100%; height: 124%; max-width: none; object-fit: cover; filter: contrast(1.05) brightness(0.8); will-change: transform; }
.breather::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), #0a0a0a00 24%, #0a0a0a33 55%, var(--bg)); }
.breather__text { position: relative; z-index: 1; max-width: 1328px; width: 100%; margin: 0 auto; }
.breather h2 { font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -0.045em; }
.breather p { font: 700 clamp(1.25rem, 2.2vw, 1.8rem)/1.25 Outfit, sans-serif; letter-spacing: -0.02em; color: var(--soft); max-width: 30ch; margin-top: 14px; text-wrap: balance; }

/* Prix des contrôles à l'unité */
.prices { display: flex; flex-wrap: wrap; gap: 0 clamp(24px, 4vw, 48px); }
.prices .resale__price { flex: 1 1 10rem; }
.oneshot { position: relative; z-index: 1; text-align: center; margin-top: 24px; color: var(--soft); }
.oneshot b { color: var(--text); font-family: Outfit, sans-serif; }

/* Fin de page sur la photo des copains */
.close { position: relative; overflow: hidden; min-height: 92vh; min-height: 92svh; display: grid; align-items: center; }
.close__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: contrast(1.05) brightness(0.7); }
.close::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(var(--bg), #0a0a0a59 30%, #0a0a0a8c 70%, var(--bg)); }
.close .wrap { position: relative; z-index: 2; }

/* Apparition au défilement, la même partout */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .flow li[data-reveal]:nth-child(2) { transition-delay: 0.12s; }
.js .flow li[data-reveal]:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .slide.on { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .breather__img { transform: none !important; }
}


/* ---------- Texture : grain argentique très léger sur toute la page ---------- */
body::after { content: ''; position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------- Chapitres numérotés ---------- */
.eyebrow b { font: 700 1rem Outfit, sans-serif; letter-spacing: 0.04em; color: var(--text); }
.chapter__head { max-width: 46rem; margin-inline: auto; }
.chapter__title { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.045em; line-height: 0.98; }
.chapter__title span { color: var(--muted); }
#comment .flow { margin-top: clamp(40px, 6vw, 72px); }

/* Chiffres clés du contrôle */
.stats { list-style: none; padding: 0; margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stats li { padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 28px); display: grid; gap: 6px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font: 700 clamp(2.6rem, 5.4vw, 4.6rem)/1 Outfit, sans-serif; letter-spacing: -0.045em; background: linear-gradient(180deg, #fff 30%, #9a9aa2); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); max-width: 16rem; }

/* ---------- Le suivi : les pièces suivies, avec les icônes de l'app ---------- */
.breather .eyebrow { margin-bottom: 18px; }
.suivi__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.suivi__head h2 { max-width: 14ch; }
.suivi__head .strava { margin: 0 0 10px; }
.parts { list-style: none; padding: 0; margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.parts li { display: grid; justify-items: center; gap: 12px; padding: 20px 8px 18px; border-radius: 22px; border: 1px solid #ffffff17; background: linear-gradient(180deg, #151515, #0d0d0d); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); text-align: center; font-weight: 600; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.parts li:hover { transform: translateY(-3px); border-color: #ffffff38; }
.pring { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2c2c2c, #141414 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 2px #2e2e2e; }
.pring::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--good) 0 var(--p, 72%), transparent 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pring img { width: 58%; height: 58%; object-fit: contain; }
.parts__vtt .pring::after { background: conic-gradient(var(--watch) 0 46%, transparent 0); }
.parts__vtt { position: relative; }
.parts__vtt::before { content: 'VTT'; position: absolute; top: 10px; right: 10px; font: 700 0.7rem Outfit, sans-serif; letter-spacing: 0.08em; color: var(--muted); }
.parts__note { margin-top: 16px; color: var(--muted); max-width: 46rem; }
#pieces .flow { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Notre vision : compacte, en bas, sur la photo du col ---------- */
.vision { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.vision__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: contrast(1.05) brightness(0.42) saturate(0.9); }
.vision::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), #0a0a0a33 30%, #0a0a0a59 70%, var(--bg)); }
.vision__inner { position: relative; z-index: 1; max-width: 1328px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px clamp(32px, 6vw, 90px); align-items: center; }
.vision h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.vision .lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.duo { list-style: none; padding: 0; display: grid; gap: 12px; }
.duo li { position: relative; padding: clamp(18px, 2vw, 24px); border-radius: 20px; border: 1px solid #ffffff1f; background: linear-gradient(180deg, #161616b3, #0d0d0dcc); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden; }
.duo li::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--metal); }
.duo__tag { font: 600 0.8rem Nunito, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.duo h3 { font-size: 1.25rem; margin-bottom: 4px; }
.duo p:last-child { color: var(--soft); }

@media (max-width: 1100px) { .parts { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .parts { grid-template-columns: repeat(3, 1fr); }
  .vision__inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
.parts li:nth-child(1) .pring { --p: 52%; }
.parts li:nth-child(2) .pring { --p: 67%; }
.parts li:nth-child(3) .pring { --p: 81%; }
.parts li:nth-child(4) .pring::after { background: conic-gradient(var(--watch) 0 17%, transparent 0); }
.parts li:nth-child(5) .pring { --p: 64%; }

/* Forfaits : le Pro légèrement surélevé, liseré métal, sans badge commercial */
.plans { align-items: stretch; }
.plan:not(.plan--free):not(.plan--strava) { --accent: #e4e4e7; transform: translateY(-14px); }
.plan:not(.plan--free):not(.plan--strava)::before { background: var(--metal); height: 3px; }
@media (hover: hover) {
  .plan:not(.plan--free):not(.plan--strava):hover { transform: translateY(-18px); }
}
.plan .price { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
/* Contrôles sans abonnement : une pastille lisible sur la photo */
.oneshot { display: table; margin: 28px auto 0; padding: 12px 20px; border-radius: 99px; background: #0e0e0ee6; border: 1px solid #ffffff1f; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.9); }
@media (max-width: 860px) {
  .plans { align-items: stretch; }
  .plan:not(.plan--free):not(.plan--strava) { transform: none; }
  .oneshot { display: block; border-radius: 18px; }
}

/* Notre vision : en bas de page, en taille normale */
.vision { padding: var(--band) var(--gutter); }
.vision__inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
.vision h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.vision .lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.duo { gap: 16px; }
.duo li { padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: linear-gradient(180deg, #1a1a1a, #0d0d0d); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 48px -24px rgba(0,0,0,0.9); }
.duo h3 { font-size: 1.5rem; margin-bottom: 6px; }
.duo__tag { font-size: 0.85rem; }


/* ================= Remise au propre (échelle et cohérence) ================= */
/* Une seule échelle de titres sur toute la page */
.chapter__title, .breather h2, .vision h2, .suivi__head h2, .center-head h2, .resale h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); letter-spacing: -0.035em; line-height: 1.04; }
.chapter__title span { color: var(--muted); }
.breather h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }

/* Contrôle : titre, chiffres et étapes serrés, sans grand vide */
#comment { padding-bottom: clamp(48px, 6vw, 80px); }
.stats { margin-top: clamp(28px, 3.5vw, 44px); }
.stats li { padding: clamp(16px, 2vw, 24px) clamp(12px, 2vw, 24px); }
.stats b { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
#comment .flow { margin-top: clamp(28px, 3.5vw, 44px); }
.flow li::before { margin-bottom: 14px; font-size: clamp(2rem, 3vw, 2.6rem); }

/* Respiration : moins haute, le cycliste bien cadré */
.breather { min-height: 72vh; min-height: 72svh; padding-bottom: clamp(40px, 6vw, 72px); }

/* Suivi : le logo Strava sous le titre, pas isolé à droite */
.suivi__head { display: block; text-align: center; }
.suivi__head h2 { max-width: none; }
.suivi__head .strava { margin: 14px auto 0; }
.sync .sync__text { justify-items: start; }
.sync .sync__text .eyebrow { margin-bottom: 14px; }

/* Offres : les cartes juste sous le titre, la photo en fond derrière */
.plans-stage { padding: clamp(28px, 3vw, 44px) 0 clamp(40px, 5vw, 64px); }
#offres > .wrap > .center-head { margin-bottom: 0; }
#offres .resale { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
#offres .resale .center-head { margin-bottom: clamp(28px, 4vw, 48px); }
#offres .resale .lead { margin: 18px auto 0; text-align: center; }
.resale .prices .resale__price { margin-top: 0; }

/* Vision : une bande comme les autres, filet en haut, texte et cartes alignés */
.vision { background: none; padding: var(--band) var(--gutter); }
.vision::after { content: none; }
.vision__inner { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); align-items: start; }

/* Fin de page : texte lisible au centre de la photo */
.close::before { background: linear-gradient(var(--bg), #0a0a0ab3 35%, #0a0a0ab3 65%, var(--bg)); }
.sync__lead { margin: 0 0 20px; max-width: 30rem; }
@media (max-width: 860px) {
  .vision__inner { grid-template-columns: 1fr; }
}
/* Téléphone : rien ne doit élargir la page */
html { overflow-x: clip; }
.cert, .cert__paper { min-width: 0; max-width: 100%; }
@media (max-width: 420px) {
  .cert__paper { transform: none; padding: 18px; }
  .cert__scale li { font-size: 0.72rem; padding: 7px 2px; }
  .cert__verdict { font-size: 1.8rem; }
}

/* ================= Parcours forfaits (10 nov. 2026) ================= */
/* Accueil : le Meta face aux montagnes, le texte en bas pour laisser voir le vélo */
.hero { place-items: end center; }
.hero .slide { object-position: 50% 32%; filter: contrast(1.04) brightness(0.92); }
.slides::after { background: linear-gradient(#0a0a0a99, #0a0a0a00 18%, #0a0a0a00 42%, #0a0a0ad9 74%, var(--bg)); }
.hero__text { padding-bottom: clamp(28px, 6svh, 64px); }
.hero h1 { font-size: clamp(3.2rem, 8vw, 5rem); }
.hero .promise { margin-top: clamp(14px, 2.5svh, 28px); }
.hero__plans { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--faint); }
@media (max-aspect-ratio: 4/5) { .hero .slide { object-position: 50% 40%; } }

/* Le problème : juste après l'accueil, une seule colonne */
.vision__inner { grid-template-columns: 1fr; max-width: 52rem; text-align: center; border-top: 0; padding-top: 0; }
.vision .lead { margin-inline: auto; max-width: 44rem; }
.vision .lead + .lead { margin-top: 12px; color: var(--text); }

/* Liens vers les forfaits à la fin du suivi et du contrôle */
.bridge { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.bridge a { display: inline-block; padding: 12px 22px; line-height: 1.4; border-radius: 99px; border: 1px solid #ffffff2e; background: #111111e6; color: var(--soft); text-decoration: none; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.bridge a::after { content: '→'; margin-left: 8px; color: var(--text); }
#offres { padding-top: clamp(40px, 5vw, 72px); }
.bridge a:hover { border-color: #ffffff80; transform: translateY(-2px); }
.bridge b { color: var(--text); font-weight: 600; }
.tour .bridge { background: var(--bg); padding-top: 8px; }

/* Forfaits : deux cartes, Pro en avant */
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
.plan--pro { --accent: #e4e4e7; transform: translateY(-14px); }
.plan--pro::before { background: var(--metal); }
@media (hover: hover) { .plan--pro:hover { transform: translateY(-18px); } }
.plan--pro .pill { box-shadow: 0 0 0 1px #fff, 0 10px 30px -8px #ffffff59; }
.plan--strava .pill { background: transparent; color: var(--text); border-color: #ffffff59; }
.compare { position: relative; z-index: 1; text-align: center; margin: 28px auto 0; color: var(--soft); font-weight: 600; }
.compare span { color: var(--muted); font-weight: 400; }

/* Chat gratuit */
.chat__free { margin: 14px auto 0; text-align: center; max-width: 40rem; }
.chat__free b { color: var(--text); font-weight: 600; }

/* Menu : section en cours */
.nav__end > a.is-on:not(.pill) { text-decoration: underline; text-decoration-color: var(--text); text-underline-offset: 0.45em; }

/* Téléphone : accès direct aux forfaits */
.dock { display: none; }
@media (max-width: 860px) {
  .plan--pro { transform: none; }
  .plans { grid-template-columns: 1fr; }
  .dock { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 99px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; box-shadow: 0 14px 34px #000000b3; transition: opacity 0.3s, transform 0.35s var(--ease); }
  .dock[hidden] { display: flex; opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
}

/* Forfaits alignés : Gratuit, Basique, Pro à la même hauteur (10 nov. 2026, soir) */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1328px; }
.plan--pro, .plan:not(.plan--free):not(.plan--strava) { transform: none; }
@media (hover: hover) { .plan--pro:hover, .plan:not(.plan--free):not(.plan--strava):hover { transform: translateY(-4px); } }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Photos libres (Unsplash) : lumière chaude, plus d'émotion */
.hero .slide { object-position: 58% 55%; filter: contrast(1.05) saturate(1.08) brightness(0.95); }
@media (max-aspect-ratio: 4/5) { .hero .slide { object-position: 62% 50%; } }
.slides::after { background: linear-gradient(#0a0a0a8c, #0a0a0a00 20%, #0a0a0a00 45%, #0a0a0acc 76%, var(--bg)); }
.breather__img, .close__img { filter: contrast(1.05) saturate(1.05) brightness(0.82); }
.breather .eyebrow { font: 600 0.95rem Nunito, sans-serif; letter-spacing: 0.14em; color: var(--soft); max-width: none; }
.close__img { filter: contrast(1.05) saturate(1.1) brightness(0.95); }
.close::before { background: linear-gradient(var(--bg), #0a0a0a33 28%, #0a0a0a73 60%, var(--bg)); }
.close { align-items: end; padding-bottom: clamp(48px, 8vw, 96px); }
.close__img { object-position: 48% 40% !important; }

/* Accueil : cadrage de la photo */
.hero .slide { object-position: 50% 45%; filter: contrast(1.04) saturate(1.06) brightness(0.92); }
@media (max-aspect-ratio: 4/5) { .hero .slide { object-position: 50% 55%; } }

/* Accueil : le texte se met à côté du cycliste, jamais dessus. */
.hero .slide { object-position: 50% 50%; filter: contrast(1.05) saturate(1.05) brightness(0.9); }
@media (min-width: 861px) {
  .hero { place-items: end start; text-align: left; }
  .hero__text { max-width: min(40vw, 620px); padding-left: var(--gutter); padding-bottom: clamp(40px, 8svh, 96px); }
  .hero .stores { justify-content: flex-start; }
  .slides::after { background: linear-gradient(90deg, #0a0a0ae6, #0a0a0a99 30%, #0a0a0a00 52%), linear-gradient(#0a0a0a80, #0a0a0a00 18%, #0a0a0a00 70%, var(--bg)); }
}
@media (max-width: 860px) {
  .hero { place-items: start center; }
  .hero__text { padding-top: calc(72px + 2svh); }
  .hero .slide { object-position: 50% 62%; }
  .slides::after { background: linear-gradient(#0a0a0af2, #0a0a0acc 34%, #0a0a0a00 55%, #0a0a0a00 85%, var(--bg)); }
}
/* Téléphone : l'accueil plus haut que l'écran, le texte en haut, le cycliste juste en dessous */
@media (max-width: 860px) {
  .hero { height: auto; min-height: 128svh; }
  .hero .slide { object-position: 50% 50%; }
  .slides::after { background: linear-gradient(#0a0a0af2, #0a0a0ad9 26%, #0a0a0a00 42%, #0a0a0a00 86%, var(--bg)); }
}
@media (min-width: 861px) { .hero .slide { object-position: 50% 60%; } }
@media (max-width: 860px) { .hero .slide { object-position: 72% 50%; } }

/* Accueil : cycliste face au glacier (Unsplash 2KD4IY-L9-o). Texte à gauche sur ordinateur, en haut sur téléphone. */
@media (min-width: 861px) { .hero .slide { object-position: 50% 62%; filter: contrast(1.04) saturate(1.04) brightness(0.92); } }
@media (max-width: 860px) { .hero .slide { object-position: 50% 50%; filter: contrast(1.04) saturate(1.04) brightness(0.92); } }
/* Téléphone : le texte sur le noir, la photo dessous avec un fondu, rien ne cache le cycliste */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: hidden; }
  .hero__text { order: 1; padding-top: calc(72px + 2svh); padding-bottom: 0; position: relative; z-index: 1; }
  .hero .slides { order: 2; position: relative; inset: auto; height: 78svh; margin-top: -10svh; -webkit-mask-image: linear-gradient(#0000, #000 22%); mask-image: linear-gradient(#0000, #000 22%); }
  .hero .slides picture, .hero .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero .slide { object-position: 50% 40%; }
  .slides::after { background: linear-gradient(#0a0a0a00 75%, var(--bg)); }
}

/* Accueil : col suisse au coucher du soleil (Unsplash i1TP8hZX8c4), sans personne */
.hero .slide { object-position: 50% 55%; filter: contrast(1.04) saturate(1.05) brightness(0.95); }
@media (max-width: 860px) { .hero .slide { object-position: 50% 50%; } }
.hero .slide { object-position: 50% 78%; }
@media (max-width: 860px) { .hero .slide { object-position: 50% 92%; } }

/* Accueil : texte au centre pour attirer l'œil (plus de cycliste à éviter) */
@media (min-width: 861px) {
  .hero { place-items: center; text-align: center; }
  .hero__text { max-width: min(52rem, 90vw); margin-inline: auto; padding: 72px var(--gutter) 24px; }
  .hero .stores { justify-content: center; }
  .slides::after {
    background:
      radial-gradient(58% 48% at 50% 42%, #0a0a0acc, #0a0a0a33 55%, #0a0a0a00 72%),
      linear-gradient(#0a0a0a99, #0a0a0a00 22%, #0a0a0a00 58%, #0a0a0acc 82%, var(--bg));
  }
}

/* ========== Centrage forcé des titres de section (01, 02, 03…) ========== */
.vision__inner,
.vision__text,
.center-head,
.chapter__head,
.suivi__head,
.breather__text,
.chat__title {
  text-align: center;
}
.vision__inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  max-width: 52rem;
  margin-inline: auto;
  width: 100%;
}
.vision__text,
.chapter__head,
.center-head {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}
.vision h2,
.center-head h2,
.chapter__title,
.breather h2,
.suivi__head h2 {
  text-align: center;
  margin-inline: auto;
}
.vision .lead,
.center-head .lead,
.center-head p,
.breather__text p {
  text-align: center;
  margin-inline: auto;
}
.center-head .eyebrow,
.vision__text .eyebrow,
.chapter__head .eyebrow,
.breather__text .eyebrow {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  text-align: center;
}
.center-head .eyebrow::after,
.vision__text .eyebrow::after,
.chapter__head .eyebrow::after,
.breather__text .eyebrow::after {
  content: '';
  width: 28px;
  height: 2px;
  flex: 0 0 28px;
  background: var(--metal);
}

/* ================= Langue (20 nov. 2026) : globe + code, en haut à droite ================= */
.nav .brand { margin-right: auto; }
.lang { position: relative; margin-left: 24px; }
.lang__toggle { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid #ffffff2e; border-radius: 99px; background: #0a0a0acc; color: var(--soft); font: 700 0.85rem Outfit, sans-serif; letter-spacing: 0.04em; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { border-color: #ffffff66; color: var(--text); }
.lang__toggle svg:last-child { transition: transform 0.2s; }
.lang__toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #151515f2; border: 1px solid #ffffff26; border-radius: 14px; box-shadow: 0 14px 34px #000000cc; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lang__menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: var(--soft); font: 600 1rem Nunito, sans-serif; text-align: left; cursor: pointer; }
.lang__menu button b { width: 22px; font: 700 0.8rem Outfit, sans-serif; color: var(--faint); letter-spacing: 0.04em; }
.lang__menu button:hover { background: #ffffff14; color: var(--text); }
.lang__menu button[aria-current] { color: var(--text); }
.lang__menu button[aria-current] b { color: var(--text); }
.legal-note { font-size: 0.95rem; color: var(--muted) !important; font-style: italic; }
@media (max-width: 860px) {
  .lang { margin-left: 12px; }
  .lang__toggle { min-height: 38px; padding: 0 10px; }
}

/* ================= Bêta iPhone (20 nov. 2026) : bouton TestFlight + places restantes ================= */
.beta-btn { gap: 8px; }
.beta-btn[aria-disabled="true"] { background: transparent; color: var(--muted); border-color: #ffffff33; cursor: default; transform: none; }
.seats { width: min(320px, 100%); margin: 14px auto 0; text-align: center; }
.seats p { margin: 8px 0 0; color: var(--soft); font-size: 0.95rem; }
.seats p b { color: var(--text); font: 700 1.05rem Outfit, sans-serif; }
.seats__bar { height: 4px; border-radius: 99px; background: #ffffff1f; overflow: hidden; }
.seats__bar u { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--text); transition: width 1.2s var(--ease); }
.hero .seats + .note, .close .seats + .note { margin-top: 10px; }
.pill[hidden], .seats[hidden] { display: none; }
/* Ordinateur : App Store · bêta · Google Play sur une seule ligne, la bêta au centre. */
@media (min-width: 861px) {
  .stores:has(.beta-btn:not([hidden])) { flex-wrap: nowrap; }
  .stores .pill { white-space: nowrap; }
  .hero__text .stores { width: max-content; max-width: none; margin-left: auto; margin-right: auto; }
}

/* Bêta Android : les deux étapes */
.steps { list-style: none; counter-reset: step; margin: 24px auto 0; padding: 0; width: min(420px, 100%); display: grid; gap: 18px; text-align: left; }
.steps li { counter-increment: step; display: grid; gap: 10px; padding: 18px; border: 1px solid #ffffff1f; border-radius: 16px; }
.steps li p { margin: 0; }
.steps li p::before { content: counter(step) ". "; font: 700 1rem Outfit, sans-serif; }
.steps .pill { justify-self: start; }
