/* ==========================================================================
   LitterUp — site vitrine
   Tokens repris de LitterUp/docs/design-system.md (mobile/lib/core/theme).
   ========================================================================== */

:root {
  /* Brand */
  --brand-green: #64c173;
  --brand-teal: #47b5b7;
  --brand-blue: #2aaed9;
  --mint: #79d1a8;
  --emerald: #4ac28b;
  --brand-gradient: linear-gradient(90deg, #64c173 0%, #47b5b7 55%, #2aaed9 100%);
  --action-gradient: linear-gradient(90deg, #2b7f43 0%, #237f83 55%, #1a7ba0 100%);

  /* Échelles */
  --green-50: #eff8f1;
  --green-100: #d7efdc;
  --green-300: #94d5a0;
  --green-700: #2b7f43;
  --green-900: #1b5a2d;
  --teal-50: #ebf7f7;
  --teal-700: #237f83;
  --blue-50: #e8f6fc;
  --blue-100: #c6eaf7;
  --blue-700: #1a7ba0;

  /* Neutres */
  --bg: #f9fbfa;
  --surface: #ffffff;
  --surface-muted: #f1f5f3;
  --border: #e2eae6;
  --divider: #edf2ef;
  --text: #41564d;
  --text-2: #6e8279;
  --text-3: #9aaba3;
  --ink: #1c2823;
  --ink-soft: #2a3833;

  /* Sémantique */
  --warning: #e9a23b;
  --danger: #c9443f;
  --warning-bg: #fdf3e3;
  --warning-border: #f3d39a;
  --warning-text: #8a5a10;

  /* Surfaces translucides et effets (redéfinis en mode sombre) */
  --header-bg: rgba(249, 251, 250, 0.85);
  --halo-opacity: 0.45;
  --logo-filter: none;

  /* Espacements base 4 */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  /* Rayons */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
  --shadow-card: 0 1px 2px rgba(28, 40, 35, 0.04), 0 8px 24px rgba(28, 40, 35, 0.06);
  --shadow-float: 0 12px 40px rgba(28, 40, 35, 0.14);
}

/* Mode sombre. data-theme est posé par le script inline du <head> de chaque page
   (choix mémorisé > préférence du système > clair) puis par le bouton .theme-toggle (site.js).
   Palette tirée de la famille ink du design system (ink, ink-soft, textes de .section-ink) :
   pas de nouvelle teinte, seulement deux nuances intermédiaires et des transparences du vert brand. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --green-50: rgba(100, 193, 115, 0.14);
  --green-300: rgba(148, 213, 160, 0.45);
  --green-700: #94d5a0;            /* = green-300 : texte coloré, liens verts (AA sur fond sombre) */
  --blue-700: #2aaed9;             /* = brand-blue : liens */
  --bg: #1c2823;                   /* = ink */
  --surface: #2a3833;              /* = ink-soft */
  --surface-muted: #232f2a;        /* entre ink et ink-soft */
  --border: #3a4a44;               /* bordure des cartes de .section-ink */
  --divider: #33423c;
  --text: #e6ede9;                 /* textes de .section-ink */
  --text-2: #c9d4ce;
  --text-3: #9aaba3;
  --ink: #131b18;                  /* la section communauté reste plus sombre que la page */
  --warning-bg: rgba(233, 162, 59, 0.08);
  --warning-border: rgba(233, 162, 59, 0.4);
  --warning-text: #e9a23b;         /* = warning */
  --header-bg: rgba(28, 40, 35, 0.85);
  --halo-opacity: 0.16;
  --logo-filter: brightness(2.3) saturate(0.85);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 300; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 300; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); }
strong { font-weight: 700; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 2 * var(--s-4)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 2 * var(--s-8)); } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Texte dégradé (reprend le logo) */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Wordmark « LitterUp » : linéale fine en dégradé, comme le logo */
.wordmark {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Halos (page d'attente litterup.fr)
   -------------------------------------------------------------------------- */
.halo-bg { position: relative; isolation: isolate; overflow: hidden; }
.halo-bg::before, .halo-bg::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--halo-opacity);
  pointer-events: none;
}
.halo-bg::before { width: 520px; height: 520px; left: -160px; top: -120px; background: var(--mint); }
.halo-bg::after { width: 460px; height: 460px; right: -140px; bottom: -160px; background: var(--emerald); }

/* --------------------------------------------------------------------------
   Boutons (pilule, dégradé « action » pour le contraste)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-6);
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--action-gradient); color: #fff; box-shadow: 0 6px 18px rgba(35, 127, 131, 0.28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(35, 127, 131, 0.34); }
.btn-secondary { background: var(--surface); color: var(--green-700); border-color: var(--green-300); }
.btn-secondary:hover { background: var(--green-50); }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-50); }
.btn-sm { min-height: 40px; padding: 0 var(--s-4); font-size: 0.9rem; }
.btn-lg { min-height: 60px; padding: 0 var(--s-8); font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; filter: var(--logo-filter); }
.brand .wordmark { font-size: 1.75rem; }
.nav-links { display: none; align-items: center; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); }
.nav-links a:hover { background: var(--green-50); color: var(--green-700); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle, .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle:hover { background: var(--green-50); color: var(--green-700); }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-mobile { display: none; padding: var(--s-2) 0 var(--s-4); border-top: 1px solid var(--divider); }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.nav-mobile a { display: block; padding: var(--s-3) var(--s-2); color: var(--text); font-weight: 500; border-radius: var(--r-md); }
.nav-mobile a:hover { background: var(--green-50); text-decoration: none; }
.nav-mobile .btn { margin-top: var(--s-3); width: 100%; }
.nav-actions { display: inline-flex; align-items: center; gap: var(--s-2); }

/* Sélecteur de langue : <details> natif (aucun JS requis), noms de langues dans leur propre langue. */
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex; align-items: center; gap: var(--s-1);
  height: 44px; padding: 0 var(--s-3); border-radius: var(--r-pill); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  list-style: none; cursor: pointer; user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--green-50); color: var(--green-700); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + var(--s-2)); z-index: 60; min-width: 160px;
  margin: 0; padding: var(--s-2); list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-float);
}
.lang-switch li a { display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); color: var(--text); font-weight: 500; }
.lang-switch li a:hover { background: var(--green-50); text-decoration: none; }
.lang-switch a[aria-current] { color: var(--green-700); font-weight: 700; }

/* 1100 px et non 900 : avec le sélecteur de langue et les libellés allemands, la barre ne tient pas plus étroit. */
@media (min-width: 1100px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: var(--s-2); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--s-16) 0; }
@media (min-width: 768px) { .section { padding: var(--s-24) 0; } }
.section-tight { padding-block: var(--s-12); }
.section-muted { background: var(--surface-muted); }
.section-ink { background: var(--ink); color: #e6ede9; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #c9d4ce; }

.eyebrow {
  display: inline-block; margin-bottom: var(--s-3);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
}
.section-ink .eyebrow { color: var(--mint); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.section-ink .lead { color: #c9d4ce; }
.section-head { max-width: 760px; margin-bottom: var(--s-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Grilles */
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-16); } .split.rev > :first-child { order: 2; } }

/* Cartes */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: var(--s-4); font-size: 1.4rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* Photo arrondie */
.photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); background: var(--surface-muted); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-3x2 { aspect-ratio: 3 / 2; }
.photo-1x1 { aspect-ratio: 1 / 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: var(--s-12) 0 var(--s-16); overflow: hidden; }
@media (min-width: 900px) { .hero { padding: var(--s-16) 0 var(--s-24); } }
.hero-grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-16); } }
.hero .slogan {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.85rem;
  color: var(--green-700); margin-bottom: var(--s-6);
}
.hero .slogan::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand-gradient); }
.hero h1 { margin-bottom: var(--s-6); max-width: 14ch; }
.hero h1 strong { font-weight: 700; }
.hero .lead { margin-bottom: var(--s-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero-note { margin-top: var(--s-4); font-size: 0.9rem; color: var(--text-3); }

.hero-visual { position: relative; }
.hero-visual .photo { aspect-ratio: 4 / 3.3; border-radius: 28px; box-shadow: var(--shadow-float); }
.hero-visual .photo img { object-position: 50% 35%; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-3) var(--s-4); box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: var(--s-3); min-width: 180px;
}
.float-card .emoji { font-size: 1.5rem; line-height: 1; }
.float-card .k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.float-card .v { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.float-card.a { left: -12px; bottom: 32px; }
.float-card.b { right: -8px; top: 28px; }
@media (max-width: 600px) { .float-card { min-width: 0; } .float-card.a { left: 8px; bottom: 12px; } .float-card.b { right: 8px; top: 12px; } }
.float-progress { height: 6px; border-radius: 3px; background: var(--surface-muted); overflow: hidden; margin-top: 6px; }
.float-progress span { display: block; height: 100%; width: 68%; background: var(--brand-gradient); border-radius: 3px; }

/* --------------------------------------------------------------------------
   Chiffres (enjeux)
   -------------------------------------------------------------------------- */
.stat-big { display: grid; gap: var(--s-2); }
.stat-big .num {
  font-size: clamp(2.8rem, 7vw, 4.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-big .label { font-size: 1.1rem; color: var(--text-2); max-width: 28ch; }
.stat-row { display: grid; gap: var(--s-8); }
@media (min-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; gap: var(--s-12); } }

/* Bandeau ambition */
.band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--action-gradient); color: #fff; padding: var(--s-12) var(--s-6);
  text-align: center;
}
@media (min-width: 768px) { .band { padding: var(--s-16) var(--s-12); } }
.band::before {
  content: ""; position: absolute; inset: -40%; background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 40%);
  pointer-events: none;
}
.band > * { position: relative; }
.band .eyebrow { color: rgba(255,255,255,0.8); }
.band .num { font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s-4); }
.band p { color: rgba(255,255,255,0.9); max-width: 60ch; margin-inline: auto; font-size: 1.15rem; }

/* Manifeste */
.manifesto p { font-size: 1.25rem; line-height: 1.5; }
.manifesto .big { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; }
.checklist { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-3); }
.checklist li { position: relative; display: flex; gap: var(--s-3); align-items: flex-start; font-size: 1.05rem; }
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: var(--green-50); border: 1.5px solid var(--green-300);
}
.checklist li::after {
  content: ""; position: absolute; left: 8px; top: 9px; width: 8px; height: 5px;
  border-left: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700);
  transform: rotate(-45deg);
}

/* Étapes */
.steps { counter-reset: step; }
.step { position: relative; }
.step .photo { margin-bottom: var(--s-4); }
.step .n {
  position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); color: var(--green-700); font-weight: 700; display: grid; place-items: center;
  box-shadow: var(--shadow-card); font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: var(--s-1); }
.step p { color: var(--text-2); margin: 0; }

/* Liste de fonctionnalités (section app) */
.feature-list { display: grid; gap: var(--s-4); }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: start; }
.feature .card-icon { margin: 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: 2px; }
.feature p { margin: 0; color: var(--text-2); }

/* Citation confiance */
.quote {
  border-left: 4px solid transparent;
  border-image: var(--brand-gradient) 1;
  padding: var(--s-2) var(--s-6);
  font-size: 1.25rem; font-weight: 300; line-height: 1.45; letter-spacing: -0.01em;
}
.quote footer { font-size: 0.9rem; color: var(--text-2); margin-top: var(--s-2); font-weight: 500; }

/* Proposition de valeur */
.value-card { overflow: hidden; padding: 0; display: grid; grid-template-rows: auto 1fr; }
.value-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.value-card .body { padding: var(--s-6); }
.value-card ul { margin: var(--s-3) 0 0; padding-left: 1.1em; color: var(--text-2); }
.value-card li + li { margin-top: var(--s-1); }

/* Goodies */
.goodies { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 700px) { .goodies { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.goodie { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); aspect-ratio: 1; }
.goodie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.goodie:hover img { transform: scale(1.04); }
.goodie.tall { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 699px) { .goodie.tall { grid-row: auto; aspect-ratio: 1; } }

/* Plogging facts */
.fact .num { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: var(--s-2); }
.fact p { color: var(--text-2); margin: 0; }

/* Téléchargement */
.download-card {
  display: grid; gap: var(--s-6); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s-8); box-shadow: var(--shadow-float);
}
@media (min-width: 900px) { .download-card { grid-template-columns: 1.1fr 0.9fr; padding: var(--s-12); } }
.download-card h2 { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.download-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 var(--s-6); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--surface-muted); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.tag.ok { background: var(--green-50); border-color: var(--green-300); color: var(--green-700); }
.tag.warn { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
.tag.off { opacity: 0.7; }
.download-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: var(--s-3); }
.install-steps li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-3); align-items: start; }
.install-steps li::before {
  counter-increment: s; content: counter(s);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--action-gradient); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.install-steps li p { margin: 0; color: var(--text-2); }
.install-steps li > div > strong { color: var(--text); display: block; }
.release-notes { margin-top: var(--s-6); padding: var(--s-4); background: var(--surface-muted); border-radius: var(--r-md); font-size: 0.95rem; }
.release-notes h4 { margin: 0 0 var(--s-2); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.release-notes ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.sha { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; color: var(--text-3); word-break: break-all; margin-top: var(--s-3); }

/* Communauté */
.audience { display: grid; gap: var(--s-4); }
.audience .card { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; }
.audience .card-icon { margin: 0; width: 56px; height: 56px; font-size: 1.6rem; }
.audience h3 { margin-bottom: 4px; }
.audience p { margin: 0; color: var(--text-2); }
.section-ink .card { background: var(--ink-soft); border-color: #3a4a44; box-shadow: none; }
.section-ink .audience p { color: #c9d4ce; }
.section-ink .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.section-ink .btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--s-12) 0 var(--s-8); background: var(--surface); }
.footer-grid { display: grid; gap: var(--s-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand .wordmark { font-size: 1.6rem; }
.footer-tagline { color: var(--text-2); margin-top: var(--s-3); max-width: 36ch; }
.site-footer h4 { margin: 0 0 var(--s-3); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-footer li a { color: var(--text); }
.footer-bottom { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: 0.9rem; color: var(--text-3); }

/* --------------------------------------------------------------------------
   Page simple (mentions légales, etc.)
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: var(--s-6); }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin-top: var(--s-8); }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Apparition au scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .goodie img { transition: none; }
}
