/* ============================================================
   BYM Classic — page de présentation
   Direction « éditorial premium » :
   grands titres serif, filets d'un pixel, filets or,
   index numéroté, frise de versions, pellicule de captures.
   Tokens hérités de la palette « Veillée » de l'application.
   ============================================================ */

/* ===== Tokens — thème sombre (défaut) ===== */
:root {
  --bg:        #15110c;
  --bg-alt:    #1b1610;
  --surface:   #221c15;
  --surface-2: #2a2219;
  --ink:       #f5efe4;
  --ink-soft:  #d6cbbc;
  --muted:     #97897a;
  --accent:    #d9a55a;
  --accent-2:  #f0c384;
  --on-accent: #17120b;
  --ring:      rgba(245, 239, 228, .11);
  --line-gold: rgba(217, 165, 90, .34);
  --glow:      rgba(217, 165, 90, .08);
  --nav-bg:    rgba(21, 17, 12, .82);
  --shadow:    0 40px 90px -40px rgba(0, 0, 0, .78);
  --shadow-sm: 0 26px 60px -32px rgba(0, 0, 0, .7);
  --radius:    3px;
  --max:       1180px;
  color-scheme: dark;
}

/* ===== Tokens — thème clair ===== */
[data-theme="light"] {
  --bg:        #faf6ed;
  --bg-alt:    #f3ecdd;
  --surface:   #fffdf7;
  --surface-2: #f6f0e2;
  --ink:       #241a10;
  --ink-soft:  #4b3e2f;
  --muted:     #7a6650;
  --accent:    #8f5f13;
  --accent-2:  #7d5310;
  --on-accent: #fffdf7;
  --ring:      rgba(36, 26, 16, .14);
  --line-gold: rgba(143, 95, 19, .36);
  --glow:      rgba(154, 103, 22, .07);
  --nav-bg:    rgba(250, 246, 237, .85);
  --shadow:    0 36px 70px -40px rgba(60, 42, 20, .5);
  --shadow-sm: 0 22px 48px -30px rgba(60, 42, 20, .4);
  color-scheme: light;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  /* aucun debordement horizontal (barre de defilement fantome sur telephone) */
  overflow-x: hidden;
  overflow-x: clip; /* les navigateurs qui le gèrent : sans conteneur de defilement */
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  /* hors champ par transform (pas de largeur hors-canvas => aucun panoramique horizontal) */
  position: absolute; left: .6rem; top: .6rem; z-index: 90;
  transform: translateY(-300%);
  background: var(--accent); color: var(--on-accent);
  padding: .65rem 1.2rem; font-weight: 600; letter-spacing: .06em;
}
.skip-link:focus { transform: none; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--line-gold); border: 3px solid var(--bg-alt); border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* ===== Barre de progression ===== */
#progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 66px;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0 clamp(18px, 4vw, 46px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--ring);
}
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; min-width: 0; }
.brand-logo { height: 27px; width: 27px; border-radius: 7px; border: 1px solid var(--line-gold); }
.brand-name, .brand-name-lg {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; font-size: 1.06rem; letter-spacing: .02em;
  white-space: nowrap;
}
.brand-name-lg { display: none; }
.nav-side { display: flex; gap: .5rem; align-items: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 2px;
  background: transparent; border: 1px solid var(--ring); color: var(--ink-soft);
  transition: color .2s ease, border-color .2s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--line-gold); }
.icon-btn svg { width: 16px; height: 16px; }
.burger { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }

.nav-links { display: flex; gap: clamp(.9rem, 2vw, 1.7rem); align-items: center; }
.nav-links a {
  color: var(--muted); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.is-active { color: var(--accent); border-bottom-color: var(--line-gold); }
.nav-cta {
  background: var(--accent); color: var(--on-accent) !important;
  padding: .58rem 1.1rem; border-radius: 2px; border-bottom: none !important;
  transition: background-color .25s ease, transform .25s ease;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(126px, 17vh, 180px) clamp(20px, 4vw, 46px) clamp(74px, 10vh, 116px);
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(44px, 6vw, 84px); align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: -8% -30% 30% -30%; pointer-events: none;
  background: radial-gradient(60% 55% at 32% 22%, var(--glow), transparent 70%);
}
.hero-text { position: relative; z-index: 1; }
.overline {
  display: flex; align-items: center; gap: 1rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent);
}
.overline::before { content: ""; width: 46px; height: 1px; background: var(--line-gold); flex: none; }
.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  line-height: 1.05; letter-spacing: -.015em;
  margin: 1.7rem 0 1.6rem;
}
.hero-text h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.lead {
  color: var(--ink-soft); font-size: 1.05rem; line-height: 1.85;
  max-width: 56ch; margin: 0;
}
.lead strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 1.9rem; border-radius: 2px;
  font-size: .76rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border: 1px solid var(--ring); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--line-gold); color: var(--accent); }
.hero-note { color: var(--muted); font-size: .76rem; letter-spacing: .1em; margin: 1.9rem 0 0; }
.hero-note span { color: var(--line-gold); margin: 0 .55rem; }

/* Capture du hero : double filet */
.shot { position: relative; margin: 0; justify-self: center; z-index: 1; }
.shot::before {
  content: ""; position: absolute; inset: -26px -26px 34px;
  border: 1px solid var(--line-gold); border-radius: 34px; pointer-events: none;
}
.shot img {
  width: 100%; max-width: 330px; margin: 0 auto; border-radius: 26px;
  border: 1px solid var(--ring);
  box-shadow: var(--shadow), 0 10px 40px -20px rgba(0, 0, 0, .5);
}
.shot figcaption {
  margin-top: 1.5rem; text-align: center;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}

/* ===== Chiffres ===== */
.stats {
  background: var(--bg-alt);
  border-top: 1px solid var(--ring);
  border-bottom: 1px solid var(--ring);
}
.stats ul {
  max-width: var(--max); margin: 0 auto; padding: 0;
  list-style: none; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--ring);
}
.stats li { background: var(--bg-alt); padding: 2.25rem .9rem; text-align: center; }
.stats strong {
  display: block; font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; font-size: clamp(1.55rem, 2.6vw, 2.35rem); line-height: 1;
  color: var(--ink);
}
.stats span {
  display: block; margin-top: .75rem;
  font-size: .62rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* ===== Sections ===== */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(76px, 11vh, 132px) clamp(20px, 4vw, 46px);
}
.sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.9rem; align-items: baseline;
  padding-bottom: 1.75rem; margin-bottom: clamp(40px, 6vh, 66px);
  border-bottom: 1px solid var(--ring);
}
.sec-num {
  grid-row: 1;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .78rem; letter-spacing: .18em; color: var(--accent);
}
.sec-head h2 {
  grid-row: 1; margin: 0;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.012em;
  color: var(--ink);
}
.sec-head p {
  grid-column: 2; margin: .9rem 0 0;
  color: var(--muted); font-size: 1rem; max-width: 64ch;
}

/* ===== Index des fonctionnalités ===== */
.index {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(34px, 5vw, 70px);
  border-bottom: 1px solid var(--ring);
}
.entry {
  display: grid; grid-template-columns: 46px 1fr; gap: .9rem;
  padding: 1.7rem 0; border-top: 1px solid var(--ring);
}
.entry .n {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .72rem; letter-spacing: .1em; color: var(--accent);
  padding-top: .4rem; opacity: .9;
}
.entry h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: 1.16rem; letter-spacing: .004em; color: var(--ink);
  transition: color .3s ease, transform .3s ease;
}
.entry p { margin: .55rem 0 0; font-size: .92rem; line-height: 1.72; color: var(--muted); }
.entry:hover h3 { color: var(--accent); transform: translateX(4px); }

/* ===== Aperçus ===== */
.feature-shot {
  display: grid; grid-template-columns: 1.35fr .85fr;
  gap: clamp(26px, 4vw, 54px); align-items: center;
  margin-bottom: clamp(44px, 6vh, 64px);
}
.feature-shot .shot-link {
  display: block; border: 1px solid var(--ring); border-radius: 4px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .3s ease;
}
.feature-shot .shot-link:hover { border-color: var(--line-gold); }
.feature-shot img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feature-shot .shot-link:hover img { transform: scale(1.02); }
.cap .kicker {
  font-size: .66rem; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent);
}
.cap h4 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.2;
  margin: .9rem 0 .75rem; color: var(--ink);
}
.cap p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }

.strip-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem;
  padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--ring);
}
.strip-head + .strip, .strip-head + .grid-shot { margin-bottom: clamp(40px, 6vh, 58px); }
.strip-head h4 {
  margin: 0; font-size: .7rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.strip-head .hint { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Pellicule horizontale (téléphone) */
.strip {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 222px);
  gap: 1.3rem; overflow-x: auto; padding-bottom: 1.2rem;
  scroll-snap-type: x proximity;
}
.strip figure { margin: 0; scroll-snap-align: start; }
.strip figure a { display: block; }
.strip img {
  width: 100%; border-radius: 16px; border: 1px solid var(--ring);
  aspect-ratio: 9/16; object-fit: cover;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .3s ease;
}
.strip figure a:hover img {
  transform: translateY(-7px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-gold);
}
.strip figcaption {
  margin-top: .85rem; font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); line-height: 1.5;
}

/* Grille (tablette) */
.grid-shot {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.15rem;
}
.grid-shot a {
  display: block; border: 1px solid var(--ring); border-radius: 4px;
  overflow: hidden; background: var(--surface);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.grid-shot a:hover {
  transform: translateY(-5px); border-color: var(--line-gold); box-shadow: var(--shadow-sm);
}
.grid-shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ===== Installation ===== */
.steps-ed { list-style: none; margin: 0; padding: 0; }
.steps-ed li {
  display: grid; grid-template-columns: clamp(72px, 9vw, 124px) 1fr;
  gap: clamp(18px, 3vw, 42px);
  padding: 2rem 0; border-top: 1px solid var(--ring); align-items: start;
}
.steps-ed li:last-child { border-bottom: 1px solid var(--ring); }
.steps-ed .num {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.9rem); line-height: .85; color: var(--muted);
}
@supports (-webkit-text-stroke: 1px red) {
  .steps-ed .num { color: transparent; -webkit-text-stroke: 1px var(--line-gold); }
}
.steps-ed p { margin: 0; color: var(--ink-soft); line-height: 1.85; max-width: 72ch; font-size: 1rem; }
.steps-ed strong { font-weight: 600; color: var(--ink); }
.steps-ed em { color: var(--accent); font-style: italic; }
.steps-note {
  margin-top: 2.1rem; padding-left: 1.25rem; border-left: 2px solid var(--line-gold);
  color: var(--muted); font-size: .9rem; line-height: 1.8; max-width: 70ch;
}

/* ===== Changelog (frise) ===== */
.changelog {
  border-left: 1px solid var(--line-gold); padding-left: 46px; margin-left: 6px;
  display: grid; gap: 2.4rem;
}
.release { position: relative; }
.release::before {
  content: ""; position: absolute; left: -52px; top: .55rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--line-gold);
}
.release-head { display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap; }
.release-tag {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: 1.6rem; color: var(--ink);
}
.release-date {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.release ul { margin: 1.1rem 0 1.25rem; padding-left: 1.2rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.9; }
.release ul::marker { color: var(--accent); }
.release-link {
  display: inline-block;
  font-size: .74rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--line-gold); padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.release-link:hover { color: var(--accent-2); border-bottom-color: var(--accent); text-decoration: none; }
.releases-live-note { margin-top: 2.2rem; font-size: .8rem; color: var(--muted); }
.releases-live-note a { color: var(--accent); border-bottom: 1px solid var(--line-gold); }
.releases-live-note a:hover { text-decoration: none; }
.downloads-total {
  margin-top: 1.6rem; font-size: .82rem; color: var(--muted);
  letter-spacing: .02em;
}
.downloads-total strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; font-size: 1.15rem; color: var(--ink);
  margin-right: .2rem;
}

/* ===== Contact ===== */
.contact-card {
  border: 1px solid var(--ring); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent 90%);
  padding: clamp(40px, 6vw, 68px) clamp(24px, 4vw, 56px);
  text-align: center;
}
.contact-title {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.35;
  max-width: 24ch; margin: 0 auto; color: var(--ink);
}
.contact-text { margin: 1.4rem auto 0; color: var(--muted); max-width: 56ch; line-height: 1.8; font-size: .97rem; }
.contact-card .btn { margin-top: 2.1rem; }
.contact-alt { margin: 1.6rem 0 0; color: var(--muted); font-size: .87rem; }
.contact-alt a { color: var(--accent); border-bottom: 1px solid var(--line-gold); }
.contact-alt a:hover { text-decoration: none; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--ring);
  padding: 3.75rem clamp(20px, 4vw, 46px) 2.75rem;
}
.footer-in {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem;
}
.footer strong {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: 1.12rem; display: block; margin-bottom: .6rem; color: var(--ink);
}
.footer p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.footer h5 {
  margin: 0 0 .9rem; font-size: .66rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { line-height: 2; }
.footer a { color: var(--ink-soft); font-size: .88rem; transition: color .25s ease; }
.footer a:hover { color: var(--accent); }
.footer-copy {
  max-width: var(--max); margin: 2.75rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--ring);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .72rem; letter-spacing: .1em; color: var(--muted);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 7, 4, .94);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: .6rem; padding: 1.2rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .7rem; min-width: 0; }
.lb-img {
  max-width: min(92vw, 1100px); max-height: 82vh;
  width: auto; height: auto; border-radius: 6px;
  border: 1px solid rgba(217, 165, 90, .3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.lb-caption { color: #d6cbbc; font-size: .9rem; text-align: center; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #f5efe4; }
.lightbox .icon-btn:hover { color: #d9a55a; border-color: #d9a55a; }
.lightbox .icon-btn svg { width: 20px; height: 20px; }

/* ===== Révélation au défilement =====
   Masquée uniquement si le JS tourne (classe « js » posée en tête
   d document) : sans JS, tout le contenu reste visible. */
.js .rv {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.2, .7, .2, 1), transform .85s cubic-bezier(.2, .7, .2, 1);
}
.js .rv.in { opacity: 1; transform: none; }
.stats li:nth-child(2) { transition-delay: .07s; }
.stats li:nth-child(3) { transition-delay: .14s; }
.stats li:nth-child(4) { transition-delay: .21s; }
.stats li:nth-child(5) { transition-delay: .28s; }
.stats li:nth-child(6) { transition-delay: .35s; }
.index .entry:nth-child(even) { transition-delay: .09s; }

/* ===== Responsive ===== */
@media (min-width: 1280px) {
  /* bureau large : nom complet dans le menu (sinon il percute les liens) */
  .brand-name { display: none; }
  .brand-name-lg { display: inline; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  /* cibles tactiles confortables sur téléphone (44 px) */
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .nav-links {
    display: none; position: fixed; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--ring);
    padding: .5rem 0 1rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: .95rem clamp(18px, 4vw, 46px);
    border-top: 1px solid var(--ring); border-bottom: none;
    font-size: .78rem;
  }
  .nav-links a.is-active { background: var(--surface); }
  .nav-cta { margin: .9rem clamp(18px, 4vw, 46px) 0; text-align: center; padding: 1rem; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: clamp(110px, 14vh, 140px); }
  .shot { margin-top: 1.6rem; }
  .shot::before { inset: -18px -18px 30px; }
  .stats ul { grid-template-columns: repeat(3, 1fr); }
  .feature-shot { grid-template-columns: 1fr; }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 860px) {
  .index { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* pied de page : la marque prend toute la largeur, liens à deux colonnes */
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .steps-ed li { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 560px) {
  .footer-in { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 1.6rem .6rem; }
  .changelog { padding-left: 30px; }
  .release::before { left: -36px; }
  .lb-prev, .lb-next { display: none; }
}
