/* SamaRide · page de présentation. DA de l'app : bleu électrique, corail, menthe, soleil, rose, lilas ;
   Bricolage Grotesque (titres) + Figtree (texte) ; grands arrondis ; animations douces (désactivées si « réduire les animations »). */
:root {
  --ink: #0E1222; --ink-2: #4B5068; --paper: #F4F5F9; --line: #E4E6EE; --white: #fff; --surface: #fff; --night: #0E1222;
  --bleu: #2541FF; --bleu-deep: #0F1A66; --bleu-soft: #E7EBFF;
  --corail: #FF6B4A; --corail-soft: #FFE8E1;
  --menthe: #12B886; --menthe-deep: #0A7A59; --menthe-soft: #D9F6EB;
  --soleil: #FFC53D; --soleil-soft: #FFF3D1;
  --rose: #FF4F8B; --lilas: #7C68FF; --lilas-soft: #ECE8FF;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 18px 40px -22px rgb(14 18 34 / .35);
  color-scheme: light;
}
/* Mode nuit : choisi avec le bouton soleil/lune (mémorisé), jour par défaut comme dans l'app. */
:root[data-theme="dark"] {
  --ink: #EEF0F8; --ink-2: #A9AEC8; --paper: #0C0E1A; --line: #262A42; --surface: #151931; --night: #1A1F3D;
  --bleu-soft: #1A2150; --corail-soft: #3A1E17; --menthe-soft: #0E2F25; --soleil-soft: #33290C; --lilas-soft: #231D4A;
  --shadow: 0 18px 40px -22px rgb(0 0 0 / .8);
  color-scheme: dark;
}
body { transition: background-color .5s var(--ease), color .5s var(--ease); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

/* ---------------------------------------------------------------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 999px; font-weight: 800; font-family: var(--text); white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; will-change: transform; }
.btn svg { width: 1.3em; height: 1.3em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 1.05rem; }
.btn-blue { background: var(--bleu); color: #fff; box-shadow: 0 10px 24px -12px var(--bleu); }
.btn-white { background: #fff; color: var(--bleu); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .45); }
.btn-ghost-white { color: #fff; border: 2px solid rgb(255 255 255 / .45); }
.btn-ghost-white:hover { background: rgb(255 255 255 / .12); }
.btn-soleil { background: var(--soleil); color: var(--ink); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .5); }

/* ---------------------------------------------------------------- En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100% - 1160px) / 2)); transition: background .3s, box-shadow .3s, backdrop-filter .3s; color: #fff; }
.top.scrolled { background: var(--bleu); box-shadow: 0 10px 24px -18px rgb(0 0 0 / .5); }
.top.light { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 24px -20px rgb(14 18 34 / .35); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }
.brand img { border-radius: 12px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: .95rem; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.top .btn-blue { background: #fff; color: var(--bleu); box-shadow: none; }
.top.light .btn-blue { background: var(--bleu); color: #fff; }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------------------------------------------------------------- Ouverture */
.hero { position: relative; overflow: hidden; background: var(--bleu); color: #fff; padding: 128px 0 150px; border-radius: 0 0 48px 48px; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.blob-menthe { width: 560px; height: 560px; background: var(--menthe); right: -180px; top: -240px; animation: drift 16s ease-in-out infinite alternate; }
.blob-corail { width: 440px; height: 440px; background: var(--corail); left: -200px; bottom: -220px; animation: drift 19s ease-in-out infinite alternate-reverse; }
.blob-soleil { width: 120px; height: 120px; background: var(--soleil); left: 46%; top: 16%; opacity: .95; animation: bob 7s ease-in-out infinite; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.06); } }
@keyframes bob { 50% { transform: translateY(-18px); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .22); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 0 0 rgb(255 197 61 / .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(255 197 61 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 197 61 / 0); } }
h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 800; margin: 22px 0 20px; }
.gold { color: var(--soleil); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 34ch; color: #E7EBFF; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.crew { display: flex; align-items: center; margin-top: 34px; }
.crew img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--bleu); margin-right: -12px; transition: transform .3s var(--ease); }
.crew img:hover { transform: translateY(-6px); }
.crew span { margin-left: 26px; font-size: .95rem; color: #E7EBFF; }
.hero-phone { position: relative; justify-self: center; }
.phone { position: relative; width: min(320px, 78vw); aspect-ratio: 480 / 982; border-radius: 46px; padding: 10px; background: var(--ink); box-shadow: 0 50px 80px -40px rgb(0 0 0 / .65), inset 0 0 0 2px #2A2F45; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--surface); color: var(--ink); padding: 12px 16px 12px 12px; border-radius: 22px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.25; }
.chip small { display: block; color: var(--ink-2); }
.chip img { width: 44px; height: 44px; border-radius: 50%; }
.chip-a { left: -70px; top: 26%; animation: bob 5.5s ease-in-out infinite; }
.chip-b { right: -60px; bottom: 18%; animation: bob 6.5s ease-in-out -2s infinite; }
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; flex: none; }
.tile svg { width: 26px; height: 26px; }
.chip .tile { width: 44px; height: 44px; border-radius: 15px; }
.t-bleu { background: var(--bleu); } .t-corail { background: var(--corail); } .t-menthe { background: var(--menthe); }
.t-soleil { background: var(--soleil); } .t-rose { background: var(--rose); } .t-lilas { background: var(--lilas); }
.road { position: absolute; left: 0; right: 0; bottom: 18px; height: 120px; pointer-events: none; }
.road svg { width: 100%; height: 100%; }
.road svg path { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }
.drive { position: absolute; top: 0; left: 0; width: 110px; offset-path: path("M-20 90 C 200 20, 380 120, 600 60 S 1000 10, 1220 70"); offset-rotate: auto; animation: drive 14s linear infinite; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .25)); }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (min-width: 1240px) { .drive { offset-path: none; animation: drive-x 14s linear infinite; top: 30px; } }
@keyframes drive-x { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 40px)); } }

/* ---------------------------------------------------------------- Bandeau des villes */
.marquee { overflow: hidden; padding: 30px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.track span { font-family: var(--display); font-weight: 800; font-size: 1.15rem; padding: 10px 20px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 0 var(--line); white-space: nowrap; }
.track span:nth-child(3n+1)::before { content: "●"; color: var(--corail); margin-right: 10px; }
.track span:nth-child(3n+2)::before { content: "●"; color: var(--menthe); margin-right: 10px; }
.track span:nth-child(3n)::before { content: "●"; color: var(--bleu); margin-right: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.soft { background: var(--surface); }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bleu); margin-bottom: 14px; }
.eb-lilas { color: var(--lilas); } .eb-soleil { color: var(--soleil); } .eb-white { color: #fff; opacity: .85; }

/* Comment ça marche */
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 34px 0 40px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.switch button { position: relative; z-index: 1; border: 0; background: none; font: 800 1rem var(--text); padding: 14px 24px; border-radius: 999px; cursor: pointer; color: var(--ink-2); transition: color .3s; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-bg { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--night); transition: transform .45s var(--ease); }
.switch[data-on="cond"] .switch-bg { transform: translateX(100%); }
.how { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps[hidden] { display: none; }
.steps li { display: flex; gap: 18px; background: var(--surface); padding: 24px; border-radius: 30px; box-shadow: 0 1px 0 var(--line); }
.steps p { color: var(--ink-2); margin-top: 6px; }
.num { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 18px; color: #fff; font: 800 1.4rem var(--display); }
.n-bleu { background: var(--bleu); } .n-corail { background: var(--corail); } .n-menthe { background: var(--menthe); }
.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.how-phone { justify-self: center; }
.phone-sm { width: min(290px, 74vw); }
.screen { position: absolute; inset: 10px; width: calc(100% - 20px) !important; height: calc(100% - 20px) !important; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.screen.on { opacity: 1; transform: none; }

/* Atouts */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--paper); border-radius: 32px; padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--ink-2); }
.card:hover .tile { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg); } }

/* Sécurité */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.checks li { display: flex; gap: 16px; }
.checks b { display: block; font-size: 1.1rem; }
.checks span:not(.tick) { color: var(--ink-2); }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lilas-soft); position: relative; margin-top: 2px; }
.tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px; border: solid var(--lilas); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.shield { position: relative; aspect-ratio: 1; width: min(440px, 86vw); justify-self: center; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 2px dashed rgb(124 104 255 / .35); }
.r1 { inset: 0; animation: spin 40s linear infinite; } .r2 { inset: 16%; animation: spin 28s linear infinite reverse; } .r3 { inset: 32%; background: var(--lilas-soft); border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core { position: relative; width: 26%; aspect-ratio: 1; display: grid; place-items: center; background: var(--surface); border-radius: 34%; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.shield-core svg { width: 62%; }
.orbit { position: absolute; width: 17%; border-radius: 50%; border: 4px solid var(--surface); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.o1 { top: 6%; left: 22%; } .o2 { top: 40%; right: 2%; animation-delay: -2s; } .o3 { bottom: 6%; left: 14%; animation-delay: -4s; }

/* Conducteurs */
.drivers { background: var(--night); color: #fff; border-radius: 48px; margin: 0 12px; overflow: hidden; isolation: isolate; }
.blob-d1 { width: 420px; height: 420px; background: var(--bleu); right: -160px; bottom: -200px; opacity: .9; }
.lead-dark { color: #C9CDE0; font-size: 1.15rem; margin: 20px 0 32px; max-width: 46ch; }
.cars { position: relative; height: 340px; }
.car { position: absolute; width: 62%; }
.c1 { left: 0; top: 10px; animation: rollx 7s var(--ease) infinite alternate; }
.c2 { right: 0; top: 120px; animation: rollx 8s var(--ease) -3s infinite alternate-reverse; }
.c3 { left: 12%; top: 232px; animation: rollx 9s var(--ease) -5s infinite alternate; }
@keyframes rollx { from { transform: translateX(-14px); } to { transform: translateX(14px); } }

/* Téléchargement */
.dl { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--bleu); color: #fff; border-radius: 44px; padding: clamp(32px, 6vw, 64px); }
.blob-dl1 { width: 320px; height: 320px; background: var(--corail); right: -110px; top: -140px; animation: drift 14s ease-in-out infinite alternate; }
.blob-dl2 { width: 220px; height: 220px; background: var(--menthe); left: 38%; bottom: -150px; }
.dl-text p:not(.eyebrow) { color: #E7EBFF; font-size: 1.15rem; margin: 16px 0 28px; }
.dl-meta { display: block; margin-top: 14px; color: #C8D0FF; }
.install { list-style: none; counter-reset: s; margin: 0; padding: 26px; display: grid; gap: 14px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .2); border-radius: 30px; backdrop-filter: blur(6px); }
.install li { counter-increment: s; display: flex; gap: 14px; color: #E7EBFF; }
.install li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: #fff; color: var(--bleu); font: 800 1rem var(--display); }
.install b { color: #fff; }

/* Questions */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 24px; padding: 0 24px; transition: background .25s; }
.faq details[open] { background: var(--bleu-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 800; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--bleu); font-size: 1.3rem; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; animation: pop .4s var(--ease); }

/* Pied de page */
.foot { padding: 56px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--ink-2); }
.foot-in small { margin-left: auto; }
.brand-light { color: var(--ink); }

/* ---------------------------------------------------------------- Apparitions */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Téléphone et tablette */
@media (max-width: 960px) {
  .hero { padding: 108px 0 140px; border-radius: 0 0 36px 36px; }
  .hero-grid, .how, .split, .dl { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .lead, h2 { margin-inline: auto; }
  .cta, .crew { justify-content: center; }
  .chip-a { left: -14px; } .chip-b { right: -14px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .section h2, .section .eyebrow { text-align: center; }
  #comment .wrap { display: flex; flex-direction: column; }
  .switch { align-self: center; }
  .how-phone { order: -1; }
  .checks { max-width: 560px; margin-inline: auto; }
  .drivers .split > div:last-child { text-align: center; }
  .lead-dark { margin-inline: auto; }
  .cars { height: 260px; max-width: 520px; width: 100%; margin-inline: auto; }
  .c2 { top: 90px; } .c3 { top: 176px; }
  .dl-text { text-align: center; }
  .blob-soleil { left: 80%; top: 7%; width: 64px; height: 64px; }
  /* Sur téléphone, les disques restent dans les coins : jamais sous le titre. */
  .blob-menthe { width: 300px; height: 300px; right: -190px; top: -170px; }
  .blob-corail { width: 260px; height: 260px; left: -170px; bottom: -150px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .switch button { padding: 12px 14px; font-size: .92rem; }
  .steps li { padding: 20px; border-radius: 26px; }
  .chip { font-size: .8rem; padding: 10px 12px 10px 10px; }
  .chip img, .chip .tile { width: 36px; height: 36px; }
  .chip-a { top: 20%; } .chip-b { bottom: 12%; }
  .crew span { font-size: .85rem; }
  .btn-lg { height: 54px; padding: 0 22px; font-size: 1rem; }
  .cta .btn { width: 100%; }
  .drivers { margin: 0 8px; border-radius: 36px; }
  .foot-in small { margin-left: 0; }
}

/* ---------------------------------------------------------------- Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .drive { display: none; }
}

/* ================================================================ Ajouts : progression, galerie, frise, fluidité, publics, communauté */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--soleil), var(--corail), var(--rose)); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* Galerie d'écrans */
.gallery-sec { background: var(--bleu-deep); color: #fff; overflow: hidden; isolation: isolate; border-radius: 48px; margin: 0 12px; }
.blob-g1 { width: 420px; height: 420px; background: var(--bleu); left: -160px; top: -180px; }
.blob-g2 { width: 300px; height: 300px; background: var(--rose); right: -120px; bottom: -150px; opacity: .85; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.g-nav { display: flex; gap: 10px; }
.g-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--bleu); cursor: pointer; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.g-btn svg { width: 24px; height: 24px; }
.g-btn:hover { transform: scale(1.08); }
.g-btn:active { transform: scale(.94); }
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 44px max(16px, calc((100% - 1160px) / 2)) 26px; scrollbar-width: none; cursor: grab; outline: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery { scroll-padding-inline: max(16px, calc((100% - 1160px) / 2)); }
.gallery.grab { cursor: grabbing; scroll-snap-type: none; }
.gallery.grab img { pointer-events: none; }
.shot { margin: 0; flex: none; scroll-snap-align: start; width: 250px; transition: transform .5s var(--ease), opacity .5s var(--ease); opacity: .88; transform: scale(.95); }
.shot.focus { opacity: 1; transform: none; }
.phone-g { width: 100%; aspect-ratio: 480 / 1039; border-radius: 40px; padding: 9px; }
.phone-g img { border-radius: 31px; }
.shot figcaption { margin-top: 18px; color: #C9D2FF; font-size: .95rem; line-height: 1.4; }
.shot figcaption b { display: block; color: #fff; font-family: var(--display); font-size: 1.2rem; margin-bottom: 4px; }
.g-dots { display: flex; justify-content: center; gap: 8px; padding-bottom: 8px; }
.g-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgb(255 255 255 / .3); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.g-dots i.on { width: 28px; background: var(--soleil); }

/* Frise « Une course » */
.timeline { list-style: none; margin: 44px 0 0; padding: 0 0 0 46px; position: relative; display: grid; gap: 34px; }
.tl-line { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tl-line i { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(var(--bleu), var(--corail), var(--menthe), var(--lilas), var(--soleil)); }
.timeline li { position: relative; }
.timeline small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: var(--ink-2); }
.timeline h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.timeline p { color: var(--ink-2); max-width: 56ch; }
.tl-dot { position: absolute; left: -44px; top: 2px; width: 28px; height: 28px; border-radius: 50%; border: 5px solid var(--paper); background: var(--line); transition: background .4s, transform .5s var(--ease); }
.timeline li.lit .tl-dot { transform: scale(1.15); }
.timeline li.lit .d-bleu { background: var(--bleu); }
.timeline li.lit .d-corail { background: var(--corail); }
.timeline li.lit .d-menthe { background: var(--menthe); }
.timeline li.lit .d-lilas { background: var(--lilas); }
.timeline li.lit .d-soleil { background: var(--soleil); }

/* Rapide et fluide + jour/nuit */
.split-rev { grid-template-columns: .95fr 1.05fr; }
.perks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.perks li { display: flex; gap: 14px; }
.perks b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.perks span:not(.pk) { color: var(--ink-2); font-size: .95rem; }
.pk { flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.pk svg { width: 22px; height: 22px; }
.perks li:hover .pk { transform: rotate(-8deg) scale(1.1); }
.daynight { position: relative; display: grid; justify-items: center; gap: 26px; padding: 34px 20px; border-radius: 40px; background: var(--soleil-soft); transition: background .7s var(--ease); }
.daynight[data-mode="nuit"] { background: #12152A; }
.dn-switch { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); z-index: 2; }
.dn-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 800 .95rem var(--text); color: var(--ink-2); cursor: pointer; transition: background .35s, color .35s; }
.dn-btn svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.dn-btn.on[data-mode="jour"] { background: var(--soleil); color: var(--ink); }
.dn-btn.on[data-mode="nuit"] { background: #0E1222; color: #fff; }
.dn-btn.on[data-mode="jour"] svg { transform: rotate(90deg) scale(1.1); }
.dn-btn.on[data-mode="nuit"] svg { transform: rotate(-20deg) scale(1.1); }
.dn-phones { position: relative; width: min(400px, 100%); height: 520px; }
.dn-phone { position: absolute; width: 230px; }
.p-back { left: 0; top: 30px; transform: rotate(-7deg); opacity: .95; }
.p-front { right: 0; top: 0; transform: rotate(4deg); }
.dn-img { position: absolute; inset: 9px; width: calc(100% - 18px) !important; height: calc(100% - 18px) !important; opacity: 0; transition: opacity .7s var(--ease); }
.dn-img.on { opacity: 1; }

/* Pour qui */
.who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.who-card { border-radius: 30px; padding: 26px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.who-card img { width: 72px; height: 72px; border-radius: 50%; border: 4px solid var(--surface); margin-bottom: 18px; transition: transform .5s var(--ease); }
.who-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.who-card:hover img { transform: scale(1.1) rotate(-6deg); }
.who-card p { color: var(--ink-2); margin-top: 8px; font-size: .95rem; }
.w-bleu { background: var(--bleu-soft); }
.w-menthe { background: var(--menthe-soft); }
.w-corail { background: var(--corail-soft); }
.w-soleil { background: var(--soleil-soft); }
.w-lilas { background: var(--lilas-soft); }

/* Communauté (bento) */
.eb-rose { color: var(--rose); }
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-top: 44px; }
.bt { border-radius: 32px; padding: 30px; color: #fff; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.bt:hover { transform: translateY(-6px); }
.bt p { margin-top: 10px; opacity: .92; }
.bt-big { grid-row: span 2; display: flex; flex-direction: column; }
.b-rose { background: var(--rose); }
.b-bleu { background: var(--bleu); }
.b-menthe { background: var(--menthe); }
.b-soleil { background: var(--soleil); color: var(--ink); }
.bt-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; background: rgb(255 255 255 / .22); margin-bottom: 18px; }
.bt-ic.ink { background: rgb(14 18 34 / .1); }
.bt-ic svg { width: 26px; height: 26px; }
.bt-crew { display: flex; margin-top: auto; padding-top: 34px; }
.bt-crew img { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--rose); margin-right: -14px; animation: bob 5s ease-in-out infinite; }
.bt-crew img:nth-child(2) { animation-delay: -1s; }
.bt-crew img:nth-child(3) { animation-delay: -2s; }
.bt-crew img:nth-child(4) { animation-delay: -3s; }
.bt-crew img:nth-child(5) { animation-delay: -4s; }
.bento .bt:last-child { grid-column: span 2; }

@media (max-width: 1100px) { .who { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .gallery-sec { margin: 0 8px; border-radius: 36px; }
  .gallery-head { flex-direction: column; align-items: center; text-align: center; }
  .shot { width: 220px; }
  .split-rev { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bt-big { grid-row: auto; grid-column: span 2; }
  .who { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .shot { width: 72vw; scroll-snap-align: center; }
  .gallery { padding-inline: 14vw; gap: 18px; }
  .dn-phones { height: 430px; }
  .dn-phone { width: 190px; }
  .who { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bt-big, .bento .bt:last-child { grid-column: auto; }
  .timeline { padding-left: 40px; }
  .tl-dot { left: -38px; }
  .g-btn { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot { opacity: 1; transform: none; }
  .tl-line i { transform: none; }
  .timeline .tl-dot { transform: none; }
}

/* ================================================================ Bouton jour/nuit (comme dans l'app) */
.theme-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--soleil); color: var(--night); box-shadow: 0 8px 20px -10px rgb(255 197 61 / .9); transition: background .4s, transform .3s var(--ease); }
.theme-btn:hover { transform: scale(1.06); }
.theme-btn svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .3s; }
.theme-btn .moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-btn { background: var(--lilas); color: #fff; box-shadow: 0 8px 20px -10px rgb(124 104 255 / .9); }
:root[data-theme="dark"] .theme-btn .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .theme-btn .moon { opacity: 1; transform: none; }
@media (min-width: 901px) { .nav { margin-right: 6px; } }
/* Le logo pousse le menu, le bouton jour/nuit et « Télécharger » à droite (PC et téléphone). */
.top .brand { margin-right: auto; }
.top .nav { margin-left: 0; }
@media (max-width: 900px) { .top .btn { margin-left: 0; } .top { gap: 12px; } }
:root[data-theme="dark"] .card { background: var(--paper); }
:root[data-theme="dark"] .track span { box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="dark"] .daynight[data-mode="nuit"] { background: #070912; }
:root[data-theme="dark"] .eyebrow:not(.eb-lilas):not(.eb-soleil):not(.eb-white):not(.eb-rose) { color: #8B9AFF; }
:root[data-theme="dark"] .switch-bg { background: var(--bleu); }
:root[data-theme="dark"] .faq details[open] { background: #1A2150; }
:root[data-theme="dark"] .faq summary::after { color: #8B9AFF; }
