/* ============================================================
   WILL — Charte graphique v1
   Variables, typographie, composants partagés entre / et /lancer.
   Référence : charte-graphique-will.html
   ============================================================ */

/* ── FONTS ───────────────────────────────────────────── */
@font-face {
  font-family: 'AV Estiana';
  src: url('/fonts/AVEstiana.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  /* VIOLET — univers participant */
  --violet-900: #4C0FB3;
  --violet-700: #5E1AD6;
  --violet-600: #7B2FFF;   /* principal */
  --violet-500: #9356FF;
  --violet-300: #C4A6FF;
  --violet-100: #EDE4FF;
  --violet-050: #F5F3FF;   /* fond de page */

  /* ROSE — univers organisateur */
  --orga-600: #F4A6FF;
  --orga-800: #D96BE8;
  --orga-100: #FCE6FF;

  /* COULEURS EVENTS (overlays photos, cyclique) */
  --evt-green:  #16B364;
  --evt-blue:   #2E7DF6;
  --evt-amber:  #F2A60C;
  --evt-violet: #7B2FFF;
  --evt-pink:   #EC4899;
  --evt-teal:   #0E9D9D;

  /* NEUTRES */
  --ink-900: #1A1426;      /* texte — jamais noir pur */
  --ink-600: #5A5468;
  --ink-400: #918BA0;
  --ink-200: #E4E0EC;
  --white:   #FFFFFF;

  /* SÉMANTIQUES */
  --success: #16B364;
  --warning: #F2A60C;
  --error:   #EF4444;

  /* RAYONS — Alignement radius mobile (decision user 2026-06-04).
     App.js utilise 12/14/16 comme valeurs principales (39/33/18 occurrences).
     Vars site etaient 20/28/36 = plus arrondies. Reduction pour matcher
     visuellement le rendu mobile. */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* OMBRES */
  --shadow-card: 0 8px 28px rgba(76,15,179,0.10);
  --shadow-soft: 0 4px 16px rgba(26,20,38,0.06);
  --shadow-violet-cta: 0 6px 20px rgba(123,47,255,0.35);
  --shadow-orga-cta: 0 6px 20px rgba(244,166,255,0.50);
  --shadow-hero-block: 0 16px 44px rgba(94,26,214,0.40);

  /* TYPO */
  --font-display: 'AV Estiana', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── RESET / BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--violet-050);   /* règle non-négociable */
  color: var(--ink-900);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--violet-600);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

button { font-family: inherit; }

::selection { background: var(--violet-300); color: var(--violet-900); }

/* ── TYPO ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-600);
  line-height: 1.55;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin-bottom: 18px;
}
.eyebrow.orga { color: var(--orga-800); }

/* ── LAYOUT ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { max-width: 640px; margin: 0 auto; }

/* ── BOUTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;            /* pilule, toujours */
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--violet-300); outline-offset: 3px; }

.btn-primary {
  background: var(--violet-600);
  color: var(--white);
  box-shadow: var(--shadow-violet-cta);
}
.btn-primary:hover { background: var(--violet-700); box-shadow: 0 10px 28px rgba(123,47,255,0.45); }

.btn-orga {
  background: var(--orga-600);
  color: #5A1166;
  box-shadow: var(--shadow-orga-cta);
}
.btn-orga:hover { background: var(--orga-800); color: var(--white); box-shadow: 0 10px 28px rgba(217,107,232,0.55); }

/* Pastille rose principale (charte) + texte blanc, pour les CTA "Lancer mon event". */
.btn-orga-pill {
  background: var(--orga-600);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(244,166,255,0.55);
}
.btn-orga-pill:hover {
  background: var(--orga-800);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(217,107,232,0.55);
}

.btn-secondary {
  background: var(--violet-100);
  color: var(--violet-700);
}
.btn-secondary:hover { background: var(--violet-300); color: var(--violet-900); }

.btn-ghost {
  background: transparent;
  color: var(--violet-600);
  border: 2px solid var(--violet-300);
  padding: 14px 26px;             /* compense les 2px de bordure */
}
.btn-ghost:hover { background: var(--violet-100); border-color: var(--violet-500); }

.btn-white {
  background: var(--white);
  color: var(--violet-700);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--violet-050); }

.btn-lg { padding: 18px 34px; font-size: 17px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── PILLS ───────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--violet-100);
  color: var(--violet-700);
}
.pill-orga { background: var(--orga-100); color: var(--orga-800); }
.pill-white { background: var(--white); color: var(--violet-700); box-shadow: var(--shadow-soft); }

/* ── HERO BLOCK (signature "Un selfie suffit") ─────────── */
.hero-block {
  background: linear-gradient(135deg, #7B2FFF 0%, #5E1AD6 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-hero-block);
  position: relative;
  overflow: hidden;
}
.hero-block::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero-block::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.hero-block h1, .hero-block h2, .hero-block h3 { color: var(--white); }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(76,15,179,0.14); }

.card-soft {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

/* ── EVENT CARDS (photo + overlay couleur en diagonale) ── */
.evcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  box-shadow: var(--shadow-card);
  background-size: cover;
  background-position: center;
}
.evcard .ov {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.evcard .ct {
  position: relative;
  z-index: 2;
}
.evcard .date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 4px;
}
.evcard .nm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  margin: 0;
}
.evcard .loc { font-size: 14px; opacity: 0.9; margin-top: 4px; }

.ov-green  { background: linear-gradient(105deg, var(--evt-green)  30%, rgba(22,179,100,0.45)  100%); }
.ov-blue   { background: linear-gradient(105deg, var(--evt-blue)   30%, rgba(46,125,246,0.45)  100%); }
.ov-amber  { background: linear-gradient(105deg, var(--evt-amber)  30%, rgba(242,166,12,0.45)  100%); }
.ov-violet { background: linear-gradient(105deg, var(--evt-violet) 30%, rgba(123,47,255,0.45)  100%); }
.ov-pink   { background: linear-gradient(105deg, var(--evt-pink)   30%, rgba(236,72,153,0.45)  100%); }
.ov-teal   { background: linear-gradient(105deg, var(--evt-teal)   30%, rgba(14,157,157,0.45)  100%); }

/* ── PRINCIPLE (petit bloc avec icône) ─────────────────── */
.principle {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.principle:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.principle .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--violet-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.principle .ic svg { width: 22px; height: 22px; stroke: var(--violet-600); fill: none; stroke-width: 2; }
.principle.orga .ic { background: var(--orga-100); }
.principle.orga .ic svg { stroke: var(--orga-800); }
.principle b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  display: block;
  margin-bottom: 4px;
}
.principle p { font-size: 15px; color: var(--ink-600); margin: 0; }

/* ── NAV ─────────────────────────────────────────────── */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(123, 47, 255, 0.08);
}
nav.top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
nav.top .auth-nav { margin-left: auto; }
nav.top .nav-toggle { margin-left: 8px; }
nav.top .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--violet-600);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a:not(.btn) {
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:not(.btn):hover {
  background: var(--violet-100);
  color: var(--violet-700);
  text-decoration: none;
}
.nav-links .btn,
.auth-nav .btn {
  font-size: 14px;
  padding: 12px 20px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-900);
}

/* ── AUTH NAV (slot connecté / déconnecté) ───────────── */
.auth-nav { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 130px; }

/* Mutual exclusion stricte : Se connecter (anonyme) OU avatar (connecté),
   jamais les deux. Le head-script (defini inline avant render) ajoute
   la classe .will-runner-loggedin sur <html> si will:auth:token existe
   en localStorage. Le CSS pilote display via la classe — pas via attribut
   hidden, pour eviter qu'une regle component avec display: inline-flex
   prenne le dessus. */
.auth-nav-login   { display: inline-flex; }
.auth-nav-account { display: none; }
.will-runner-loggedin .auth-nav-login   { display: none; }
.will-runner-loggedin .auth-nav-account { display: inline-block; }

/* Defense supplementaire : un noeud explicitement marque hidden ne doit
   JAMAIS s'afficher, meme si un component plus tard le set en display:flex. */
[hidden] { display: none !important; }

/* Avatar + dropdown panneau compte runner (calque mobile
   ProfileMenuModal, ~/WillApp/App.js:7488). Partagé entre toutes les
   pages du site qui incluent will-auth-nav.js. */
.auth-nav-account { position: relative; }
.auth-nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--violet-100);
  color: var(--violet-600);
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}
.auth-nav-avatar:hover,
.auth-nav-avatar[aria-expanded="true"] {
  background: var(--violet-300);
  color: #fff;
}
.auth-nav-avatar:focus-visible {
  outline: 3px solid var(--violet-300);
  outline-offset: 2px;
}

.auth-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--violet-100);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(76,15,179,0.18);
  padding: 18px 16px;
  z-index: 200;
  animation: authMenuIn 160ms ease-out;
}
@keyframes authMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-nav-greeting {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--violet-300);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.auth-nav-card {
  background: var(--violet-050);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.auth-nav-selfie-card {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-nav-selfie-thumb {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--violet-100);
  color: var(--violet-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  /* Bouton clickable : retake selfie au tap (mirror app ProfileMenuModal). */
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.auth-nav-selfie-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 2px 8px rgba(123, 47, 255, 0.25);
}
.auth-nav-selfie-thumb:active {
  transform: scale(0.97);
}
.auth-nav-selfie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auth-nav-selfie-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.auth-nav-selfie-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.auth-nav-selfie-status {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
}
.auth-nav-selfie-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.auth-nav-selfie-link {
  background: transparent;
  border: none;
  padding: 2px 0;
  color: var(--violet-600);
  font-family: 'Montserrat', var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.auth-nav-selfie-link:hover { color: var(--violet-700); text-decoration: underline; }
.auth-nav-selfie-link[hidden] { display: none; }

/* Lightbox viewer du selfie : fullscreen overlay tap-to-close. */
.will-selfie-viewer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 24px;
  animation: will-selfie-viewer-fade 0.18s ease;
}
.will-selfie-viewer img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.will-selfie-viewer-close {
  position: absolute;
  top: env(safe-area-inset-top, 20px);
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.will-selfie-viewer-close:hover { background: rgba(255, 255, 255, 0.25); }
@keyframes will-selfie-viewer-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-nav-infos { padding: 4px 14px; }
.auth-nav-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--violet-100);
  font-size: 14px;
}
.auth-nav-info-row:last-child { border-bottom: none; }
.auth-nav-info-row span:first-child {
  color: var(--ink-500);
  flex-shrink: 0;
}
.auth-nav-info-row span:last-child {
  color: var(--ink-900);
  font-weight: 500;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-nav-logout {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #DC2626;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.12s ease;
}
.auth-nav-logout:hover { background: rgba(220,38,38,0.06); }

.auth-nav-link-violet,
.auth-nav-link-muted {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
  text-align: center;
}
.auth-nav-link-violet {
  color: var(--violet-600);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}
.auth-nav-link-muted {
  color: var(--ink-500);
  font-size: 12px;
}
.auth-nav-link-violet:hover,
.auth-nav-link-muted:hover { background: var(--violet-050); border-radius: 8px; }

/* ── FOOTER ──────────────────────────────────────────── */
footer.site {
  padding: 32px 0 40px;
  border-top: 1px solid var(--ink-200);
  margin-top: 0;
}
footer.site .container { display: grid; gap: 32px; }
footer.site .foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer.site .foot-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-900);
  max-width: 380px;
  margin: 0;
}
footer.site .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
footer.site .foot-links a { color: var(--ink-600); }
footer.site .foot-links a:hover { color: var(--violet-600); }
footer.site .foot-legal {
  font-size: 13px;
  color: var(--ink-400);
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
}
footer.site .foot-legal a { color: var(--ink-400); }
footer.site .foot-legal a:hover { color: var(--violet-600); }

/* ── REVEAL AU SCROLL ────────────────────────────────── */
/* Progressive enhancement : sans JS (ou avant son exécution), tout est visible.
   La classe .js est posée par un script en <head> avant le rendu. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--ink-200);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open a { padding: 12px 16px; }
  .nav-toggle { display: inline-flex; }
  .hero-block { padding: 28px; border-radius: var(--radius-lg); }
  .card { padding: 24px; }
  footer.site .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  section { padding: 56px 0; }
  .container, .container-narrow { padding: 0 20px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
  .btn-row > .btn { flex: 1 1 100%; }
}
