/* Tela — charte : bleu #2563EB, bleu foncé #0e1016, blanc. Police système (SF Pro / Roboto), comme dans l'app. */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #0e1016;
  --ink-2: #1a1d26;
  --white: #ffffff;
  --muted: #5b6170;
  --muted-on-dark: #a3a9b8;
  --line: #e7e9ef;
  --soft: #f5f7fb;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
  --header-h: 72px;      /* hauteur du menu (fixe : pas d'effet au défilement, pour rester fluide) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo (wordmark : T bleu + "ela" blanc, weight 800, letter-spacing serré) ---------- */
.logo {
  font-weight: 800;
  letter-spacing: -0.033em;
  text-decoration: none;
  line-height: 1;
  color: var(--white);
}
.logo .t { color: var(--blue); }

/* ---------- Header ---------- */
/* Pas de blanc entre le menu et le haut de page :
   - html en bleu foncé : l'effet rebond (trackpad, iPhone) au-delà du haut ou du bas de la page reste foncé
   - la marge sous le menu fixe est peinte en bleu foncé : invisible même si le menu met un instant à regrandir */
html { background: var(--ink); }
body {
  padding-top: var(--header-h);
  background: linear-gradient(var(--ink), var(--ink)) top / 100% var(--header-h) no-repeat, var(--white);
}
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
}
/* 3 colonnes : (bouton menu mobile) | liens centrés | langue */
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.site-header .menu-toggle { grid-column: 1; justify-self: start; }
.site-header .main-nav { grid-column: 2; }
.site-header .lang-menu { grid-column: 3; justify-self: end; }
[id] { scroll-margin-top: 80px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted-on-dark);
  padding: 9px 15px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.main-nav a:last-child { color: var(--white); background: var(--blue); margin-left: 6px; }
.main-nav a:last-child:hover { background: var(--blue-dark); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid #262a35;
  border-radius: 12px;
  background: var(--ink-2);
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu des langues : bouton « drapeau + code », liste déroulante */
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #262a35;
  user-select: none;
  transition: border-color .15s ease;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: #3a4050; }
.lang-menu summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lang-menu img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.lang-menu .chev { width: 12px; height: 12px; opacity: .7; transition: transform .2s ease; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid #2a2f3b;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.lang-menu.up ul { top: auto; bottom: calc(100% + 8px); }
.lang-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted-on-dark);
}
.lang-menu li a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.lang-menu li a[aria-current="true"] { color: var(--white); background: rgba(37, 99, 235, .22); }

/* ---------- Hero ---------- */
.hero {
  color: var(--white);
  text-align: center;
  /* occupe tout l'écran sous le menu (svh = hauteur visible, barre d'adresse mobile comprise) */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 242px;
  /* fondu doux de 230px juste sous les boutons : courbe continue (OKLab + smootherstep), légère teinte bleue au milieu */
  background: linear-gradient(to bottom,
    var(--ink) 0%,
    #0e1016 calc(100% - 230px),
    #0e1016 calc(100% - 220px),
    #0f1117 calc(100% - 211px),
    #10131a calc(100% - 201px),
    #13171f calc(100% - 192px),
    #171c27 calc(100% - 182px),
    #1d2433 calc(100% - 172px),
    #242d42 calc(100% - 163px),
    #2c3955 calc(100% - 153px),
    #36476a calc(100% - 144px),
    #435781 calc(100% - 134px),
    #526998 calc(100% - 125px),
    #637cad calc(100% - 115px),
    #778fc0 calc(100% - 105px),
    #8ca3cf calc(100% - 96px),
    #a2b6db calc(100% - 86px),
    #b7c7e4 calc(100% - 77px),
    #cbd6eb calc(100% - 67px),
    #dce3f1 calc(100% - 58px),
    #e9edf6 calc(100% - 48px),
    #f3f5f9 calc(100% - 38px),
    #fafbfc calc(100% - 29px),
    #fdfefe calc(100% - 19px),
    #ffffff calc(100% - 10px),
    #ffffff calc(100% - 0px));
}
.hero .logo { font-size: clamp(64px, min(17vw, 20svh), 188px); display: inline-block; }
.hero h1 {
  font-size: clamp(30px, min(6.2vw, 8svh), 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 20px 0 18px;
}
.hero .stores { margin-top: 40px; }
@media (min-width: 861px) and (max-height: 780px) {
  .hero h1 { margin: 12px 0 12px; }
  .hero .lead { font-size: 18px; }
  .hero .stores { margin-top: 26px; }
}
@media (min-width: 861px) {
  .hero .store-btn { min-width: 236px; padding: 14px 26px 14px 20px; border-radius: 16px; }
  .hero .store-btn svg { width: 34px; height: 34px; }
  .hero .store-btn strong { font-size: 22px; }
  .hero .store-btn small { font-size: 13px; }
  .hero .gp-badge { --h: 72px; }
}
.hero .lead {
  font-size: clamp(17px, 2.2vw, 23px);
  color: var(--muted-on-dark);
  max-width: 660px;
  margin: 0 auto;
}


/* ---------- Boutons stores ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn small { display: block; font-size: 12px; font-weight: 500; line-height: 1.2; opacity: .75; }
.store-btn strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
a.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 99, 235, .35); }
a.store-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* Badge officiel Google Play : l'image (non modifiée) contient une marge transparente,
   masquée ici pour que la partie visible ait la même hauteur (--h) que le bouton App Store */
.gp-badge {
  --h: 64px;
  position: relative;
  display: inline-block;
  flex: none;
  height: var(--h);
  width: calc(var(--h) * 646 / 192);
  overflow: hidden;
  border-radius: calc(var(--h) * 0.14);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gp-badge img { position: absolute; left: 0; top: calc(var(--h) * -29 / 192); width: calc(var(--h) * 646 / 192); height: auto; max-width: none; }
/* la version anglaise du badge a une marge différente */
html[lang="en"] .gp-badge img { left: calc(var(--h) * -41 / 168); top: calc(var(--h) * -41 / 168); width: calc(var(--h) * 646 / 168); }
.gp-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 99, 235, .35); }
.gp-badge:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
/* le haut de page fait tout l'écran : la section suivante démarre juste après le fondu */
#why-tela { padding-top: 28px; }
/* Titre de section (« Comment ça marche », « FAQ ») en grand, accroche en dessous plus discrète */
.eyebrow {
  display: block;
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.section-intro h2 { color: var(--blue); }
.section-intro { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-intro p { color: var(--muted); font-size: 17px; margin: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.25; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Comment ça marche (4 étapes avec captures) ---------- */
.how { background: var(--soft); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.step { text-align: center; }
.step img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 18px 28px rgba(14, 16, 22, .16));
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Vidéo ---------- */
.demo { text-align: center; }
.demo-intro { color: var(--muted); font-size: 17px; margin: 8px 0 0; }
.video-block { margin-top: 24px; display: flex; justify-content: center; }
.video-frame {
  /* vidéo verticale 9:16 : jamais plus haute que 80 % de l'écran */
  width: min(100%, 360px, calc(80svh * 9 / 16));
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(14, 16, 22, .25), 0 0 0 1px rgba(14, 16, 22, .06);
}
.video-frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
/* plein écran : vidéo entière, centrée, bandes sur les côtés */
.video-frame video:fullscreen { object-fit: contain; background: #000; }
.video-frame video:-webkit-full-screen { object-fit: contain; background: #000; }

.punchline {
  text-align: center;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.punchline .accent { color: var(--blue); }

/* ---------- Avis ---------- */
.reviews { padding-top: 24px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: 0 10px 30px rgba(14, 16, 22, .05);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: var(--blue); }
.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.review blockquote::before { content: "« "; }
.review blockquote::after { content: " »"; }
:root:not([lang="fr"]) .review blockquote::before { content: "“"; }
:root:not([lang="fr"]) .review blockquote::after { content: "”"; }
:root[lang="de"] .review blockquote::before { content: "„"; }
:root[lang="de"] .review blockquote::after { content: "“"; }
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.review-note { font-weight: 500; font-style: italic; }
.review-note:empty { display: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--soft); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-size: 17px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 14px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta { background: var(--ink); color: var(--white); text-align: center; }
.cta h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.cta p { color: var(--muted-on-dark); margin: 0; font-size: 18px; }
.cta .stores { margin-top: 28px; }

/* ---------- Page invitation (/join/CODE) ---------- */
.join { background: var(--ink); color: var(--white); text-align: center; padding: 56px 0 72px; min-height: calc(100svh - var(--header-h)); }
.join .wrap { max-width: 640px; }
.join h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
.join-label { margin: 32px 0 6px; color: var(--muted-on-dark); font-weight: 600; }
.join-code {
  display: inline-block;
  margin: 0;
  padding: 14px 28px;
  border: 1.5px solid #3a3f4c;
  border-radius: 18px;
  background: var(--ink-2);
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  user-select: all;
}
.join-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1.5px solid #3a3f4c;
  border-radius: 14px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.join-btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.join-btn.is-primary { background: var(--blue); border-color: var(--blue); }
.join-btn.is-primary:hover { background: var(--blue-dark); }
.join-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.join-steps { text-align: left; margin: 44px 0 0; padding: 24px 24px 24px 48px; border-radius: 18px; background: var(--ink-2); }
.join-steps li { margin: 0 0 14px; padding-left: 4px; line-height: 1.55; }
.join-steps li:last-child { margin-bottom: 0; }
.join-steps li::marker { color: var(--blue); font-weight: 800; }
.join-steps .stores { justify-content: flex-start; margin: 14px 0 6px; }
.join-note { margin: 24px 0 0; color: var(--muted-on-dark); font-size: 15px; }
.join-invalid .stores { margin-top: 32px; }
@media (max-width: 480px) {
  .join-actions .join-btn { width: 100%; }
  .join-steps { padding: 20px 18px 20px 38px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  border-top: 1px solid #1f232d;
  padding: 64px 0 28px;
  font-size: 16px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
  gap: 48px;
}
.footer-brand .logo { font-size: 34px; display: inline-block; }
.footer-brand p { margin: 16px 0 0; max-width: 420px; line-height: 1.65; }
.stores-sm { justify-content: flex-start; gap: 10px; margin-top: 24px; }
.stores-sm .store-btn { min-width: 0; padding: 9px 16px 9px 13px; border-radius: 12px; gap: 10px; }
.stores-sm .store-btn svg { width: 24px; height: 24px; }
.stores-sm .store-btn small { font-size: 11px; }
.stores-sm .store-btn strong { font-size: 17px; }
.stores-sm .gp-badge { --h: 54px; }

.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 8px; }
.footer-col h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: var(--white); }

.socials { display: flex; gap: 10px; margin: 22px 0 0; list-style: none; padding: 0; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid #2a2f3b;
  color: var(--white);
  transition: background .15s ease, border-color .15s ease;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid #1f232d;
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom .tm { font-size: 12px; opacity: .7; margin-top: 4px; }
/* Crédit MbLab : même taille et couleur que le copyright ; « Lab » en italique, rouge au survol uniquement */
[data-i18n="credit"] { white-space: nowrap; } /* la mention ne se coupe jamais en deux */
.mblab { color: inherit; text-decoration: none; }
.mblab em { font-style: italic; transition: color .15s ease; }
.mblab:hover em, .mblab:focus-visible em { color: #ff1f2e; }

/* ---------- Pages légales ---------- */
.legal { padding: 40px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal p, .legal li { color: #2b2f3a; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--blue); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.todo { background: #fff4d6; padding: 1px 6px; border-radius: 6px; }

/* ---------- Responsive ---------- */
/* Menu compact (bouton à trois traits) : 7 liens ne tiennent pas confortablement sous 1024px */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px 18px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .is-open .main-nav { display: flex; }
  .main-nav a { font-size: 17px; padding: 12px; color: var(--white); }
  .main-nav a:last-child { text-align: center; margin: 8px 0 0; }
}
@media (max-width: 860px) {
  .features, .review-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .steps {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 4px 20px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 74%; scroll-snap-align: center; }
  .step img { max-width: 180px; }
}
@media (max-width: 480px) {
  /* même largeur et même hauteur que le badge Google Play placé dessous */
  .store-btn { width: calc(64px * 646 / 192); height: 64px; min-width: 0; justify-content: center; }
  .hero { padding: 20px 0 220px; }
  .hero .logo { font-size: clamp(72px, 24vw, 104px); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stores-sm .store-btn { width: auto; height: 48px; padding-top: 0; padding-bottom: 0; flex: 1 1 0; }
  .stores-sm .gp-badge { --h: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
