/* ==========================================================================
   asso.chasseurs-orages.com
   Feuille de style unique — thèmes clair et sombre.
   Palette dérivée du site principal (accent #9399db du thème Soledad),
   assombrie en mode clair pour respecter un contraste AA (>= 4.5:1).
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  color-scheme: light;

  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #f0f0f4;
  --border: #e4e4ea;
  --border-strong: #d3d3dd;
  --text: #17171c;
  --text-muted: #5b5c68;
  --accent: #4f56b5;
  --accent-hover: #3f46a0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(79, 86, 181, 0.09);
  --gold: #7a4f00;
  --gold-soft: rgba(255, 182, 7, 0.14);
  --shadow: 0 1px 2px rgba(20, 20, 35, 0.06), 0 8px 24px -12px rgba(20, 20, 35, 0.18);
  --shadow-lg: 0 2px 4px rgba(20, 20, 35, 0.06), 0 18px 40px -18px rgba(20, 20, 35, 0.28);
  --header-bg: rgba(246, 246, 248, 0.85);

  /* Hero : bandeau lumineux en thème clair, nuit d'orage en thème sombre */
  --hero-bg: #eceef7;
  --hero-title: #14141a;
  --hero-text: #4a4b58;
  --hero-line: rgba(23, 23, 28, 0.16);
  --hero-chip: rgba(255, 255, 255, 0.72);
  --hero-chip-text: #3c3f6b;
  --hero-glow-1: rgba(79, 86, 181, 0.22);
  --hero-glow-2: rgba(72, 96, 190, 0.16);
  --hero-glow-3: rgba(120, 90, 200, 0.14);
  --hero-stripe: rgba(23, 23, 40, 0.05);

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 68px;
  --step: clamp(3.5rem, 7vw, 6rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0f0f12;
  --surface: #17171c;
  --surface-2: #1e1e25;
  --border: #2b2b34;
  --border-strong: #3a3a46;
  --text: #eceef3;
  --text-muted: #a6a7b2;
  --accent: #9399db;
  --accent-hover: #aab0e8;
  --accent-ink: #0f0f12;
  --accent-soft: rgba(147, 153, 219, 0.14);
  --gold: #ffb607;
  --gold-soft: rgba(255, 182, 7, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --header-bg: rgba(15, 15, 18, 0.82);

  --hero-bg: #0b0b0e;
  --hero-title: #ffffff;
  --hero-text: #d3d4de;
  --hero-line: rgba(255, 255, 255, 0.22);
  --hero-chip: rgba(255, 255, 255, 0.07);
  --hero-chip-text: #e6e7f5;
  --hero-glow-1: rgba(147, 153, 219, 0.30);
  --hero-glow-2: rgba(72, 96, 190, 0.28);
  --hero-glow-3: rgba(120, 90, 200, 0.20);
  --hero-stripe: rgba(255, 255, 255, 0.045);
}

/* Sans JavaScript (ou avant son exécution), on suit la préférence système.
   Les valeurs doivent rester identiques à celles de :root[data-theme="dark"] ci-dessus. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg: #0f0f12;
    --surface: #17171c;
    --surface-2: #1e1e25;
    --border: #2b2b34;
    --border-strong: #3a3a46;
    --text: #eceef3;
    --text-muted: #a6a7b2;
    --accent: #9399db;
    --accent-hover: #aab0e8;
    --accent-ink: #0f0f12;
    --accent-soft: rgba(147, 153, 219, 0.14);
    --gold: #ffb607;
    --gold-soft: rgba(255, 182, 7, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    --header-bg: rgba(15, 15, 18, 0.82);

    --hero-bg: #0b0b0e;
    --hero-title: #ffffff;
    --hero-text: #d3d4de;
    --hero-line: rgba(255, 255, 255, 0.22);
    --hero-chip: rgba(255, 255, 255, 0.07);
    --hero-chip-text: #e6e7f5;
    --hero-glow-1: rgba(147, 153, 219, 0.30);
    --hero-glow-2: rgba(72, 96, 190, 0.28);
    --hero-glow-3: rgba(120, 90, 200, 0.20);
    --hero-stripe: rgba(255, 255, 255, 0.045);
  }
}

/* ------------------------------------------------------------ 2. Réglages */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Oswald", "Raleway", sans-serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

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

::selection { background: var(--accent-soft); }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

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

/* --------------------------------------------------------------- 3. Entête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 46px; height: auto; }
.brand b {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}
.brand .brand-text { display: block; }
.brand .brand-text > span {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--accent-soft); color: var(--accent); }
.nav a[aria-current="true"] { color: var(--accent); }
.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* icônes du bouton de thème : une seule visible selon le thème actif */
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.nav-toggle { display: none; }

/* Éléments qui n'ont de sens qu'avec JavaScript actif (classe posée par le script d'amorçage) */
.js-only { display: none !important; }
:root.js .js-only { display: inline-grid !important; }

/* ---------------------------------------------------------- 4. Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Raleway", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-row--center { justify-content: center; }

/* `inline` (et non `inline-flex`) pour que la flèche suive le dernier mot
   lorsque le libellé passe sur deux lignes. */
.arrow-link {
  display: inline;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.arrow-link::after {
  content: "\00a0→";
  display: inline-block;
  transition: transform 0.15s ease;
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ 5. Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 11vw, 120px) 0 clamp(56px, 9vw, 96px);
  color: var(--hero-text);
  background-color: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(58% 46% at 50% 0%, var(--hero-glow-1), transparent 68%),
    radial-gradient(40% 42% at 12% 92%, var(--hero-glow-2), transparent 70%),
    radial-gradient(46% 40% at 92% 76%, var(--hero-glow-3), transparent 72%);
}

/* Fines stries obliques, à peine perceptibles : évoquent la pluie sans image. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    100deg,
    var(--hero-stripe) 0px,
    var(--hero-stripe) 1px,
    transparent 1px,
    transparent 9px
  );
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000 0%, transparent 78%);
}

.hero .wrap { max-width: 880px; text-align: center; }
.hero h1 { color: var(--hero-title); }
.hero .lede { color: var(--hero-text); font-size: clamp(1.02rem, 2.2vw, 1.17rem); }
.hero .btn--ghost { color: var(--accent); border-color: var(--hero-line); }
.hero .btn--ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--hero-line);
  border-radius: 999px;
  background: var(--hero-chip);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-chip-text);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--hero-text);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: "◆"; color: var(--accent); font-size: 0.6rem; }

/* -------------------------------------------------------------- 6. Sections */

.section { padding: var(--step) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { max-width: 760px; margin-bottom: 12px; }
.section-head .kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.prose { max-width: 760px; }
.prose .lede { font-size: 1.1rem; }
.muted { color: var(--text-muted); }
.note { font-size: 0.9rem; color: var(--text-muted); }

/* ---------------------------------------------------------------- 7. Cartes */

.grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.section--alt .card { background: var(--bg); }
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin: 0; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card .links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.badge {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

/* ------------------------------------------------------------- 8. Avantages */

.perk {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section--alt .perk { background: var(--bg); }
.perk .ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 1.2rem;
}
.perk h3 { font-size: 1.02rem; margin-bottom: 4px; }
.perk p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------- 9. Étapes */

.steps { counter-reset: step; list-style: none; margin: 28px 0 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 24px 46px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 14px; top: 36px; bottom: 4px;
  width: 2px;
  background: var(--border);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--text); font-weight: 700; }

/* ------------------------------------------------------ 10. Widget HelloAsso */

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.join-card {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.section--alt .join-card { background: var(--bg); }

.join-card__eyebrow {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.join-card__price {
  margin-bottom: 16px;
  font-family: "Oswald", sans-serif;
  line-height: 1.2;
}
.join-card__price b { display: block; font-size: 2.5rem; font-weight: 500; color: var(--text); }
.join-card__price span {
  font-family: "Raleway", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.join-card__lead {
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.join-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.join-card__actions .btn { width: 100%; }

.join-card__note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------- 11. Encadrés */

.callout {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  margin-top: 32px;
}
.section--alt .callout { background: var(--bg); }
.callout h3 { color: var(--gold); }
.callout ul { margin: 0 0 18px; padding-left: 20px; color: var(--text-muted); }
.callout li { margin-bottom: 8px; }
.callout li strong { color: var(--text); }

.example {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
}
.example b { font-size: 1.5rem; font-weight: 500; }
.example .sep { color: var(--gold); }
.example small {
  font-family: "Raleway", sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------- 12. Bandeau final */

.cta-band {
  padding: var(--step) 0;
  background:
    radial-gradient(90% 120% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band .wrap { max-width: 720px; }
.cta-band p { color: var(--text-muted); }

/* ------------------------------------------------------------- 13. Pied de page */

.site-footer {
  padding: 56px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 36px;
  padding-bottom: 34px;
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-grid p { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* -------------------------------------------------- 14. Barre d'action mobile */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding-inline: 12px; }

/* ------------------------------------------------------- 15. Pages légales */

.page-legal .prose { margin-inline: auto; }
.page-legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.page-legal h2 { font-size: 1.3rem; margin-top: 2em; }
.page-legal ul { color: var(--text-muted); padding-left: 20px; }
.page-legal li { margin-bottom: 9px; }
.page-legal li strong { color: var(--text); }
.page-legal code {
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 0.86em;
}
.banner {
  padding: 16px 20px;
  margin-bottom: 28px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  font-size: 0.93rem;
}

/* ------------------------------------------------------------ 16. Responsive */

@media (max-width: 940px) {
  .join-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  :root { --header-h: 62px; }

  :root.js .nav-toggle { display: inline-grid; }

  :root.js .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  :root.js .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav a[aria-current="true"]::after { display: none; }
  .nav .btn { margin-top: 8px; }

  .header-tools { margin-left: auto; }
  .brand .brand-text > span { display: none; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .brand b { font-size: 0.92rem; }
  .brand img { width: 38px; }
  .btn { width: 100%; }
  .mobile-cta .btn { width: auto; }
  .hero-facts { flex-direction: column; align-items: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .mobile-cta, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
