/* ═══════════════════════════════════════════════════════════════════════
   BrivoX Legal — Stylesheet partagé
   
   Charte BrivoX (mode clair) :
   - Fond #F7F7F5 (jamais blanc pur)
   - Bordures 0.5px via box-shadow inset
   - Border-radius 8px (composants) / 12px (cards)
   - Emerald #1D9E75 réservé CTA + data positive
   - Typo Geist + Geist Mono (jamais d'italique 900)
   - Espacements 4 / 8 / 16 / 24 / 40 / 64 / 96
   - Animations cubic-bezier(.22,1,.36,1)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  /* Primaires emerald — CTA & data positive uniquement */
  --emerald:      #1D9E75;
  --emerald-dark: #0F6E56;
  --emerald-light:#E1F5EE;
  --emerald-dim:  rgba(29,158,117,0.08);
  --emerald-bd:   rgba(29,158,117,0.22);

  /* Fonds & surfaces */
  --bg:           #F7F7F5;
  --surface:      #FFFFFF;
  --surface-alt:  #F1EFE8;

  /* Texte (ink scale) */
  --ink:          #111210;
  --ink-mid:      #4A4A48;
  --ink-low:      #7A7A78;
  --ink-xlow:     #ABABAA;

  /* Bordures (toujours via box-shadow inset 0.5px) */
  --bd:           rgba(17,18,16,0.10);
  --bd-mid:       rgba(17,18,16,0.16);
  --bd-strong:    rgba(17,18,16,0.22);

  /* Accents */
  --coral:        #D85A30;
  --amber:        #BA7517;

  /* Typographie */
  --font-display: 'Geist', system-ui, -apple-system, sans-serif;
  --font-body:    'Geist', system-ui, -apple-system, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', monospace;

  /* Easing */
  --ease:         cubic-bezier(.22, 1, .36, 1);
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: hidden;
  line-height: 1.6;
}
a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--emerald) !important;
  outline: none;
}

/* ── PROGRESS BAR ─────────────────────────────────────────────────────── */
#progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 0%;
  background: var(--emerald);
  transition: width .1s linear;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 2px; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(247,247,245,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 -0.5px 0 var(--bd);
  display: flex; align-items: center;
  padding: 0 clamp(16px, 5vw, 40px);
  gap: 12px;
}
.logo {
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.025em;
  margin-right: auto;
}
.logo em { color: var(--emerald); font-style: normal; }

.doc-badge {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  color: var(--ink-mid);
  padding: 4px 10px;
  border-radius: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease), color 180ms var(--ease);
}
.nav-pill:hover {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd-mid);
  color: var(--ink);
}
.nav-pill svg { transition: transform 200ms var(--ease); }
.nav-pill:hover svg { transform: translateX(-3px); }

/* ── LAYOUT SHELL ─────────────────────────────────────────────────────── */
.shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  padding-top: 66px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── SIDEBAR ──────────────────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  overflow-y: auto;
  box-shadow: inset -0.5px 0 0 var(--bd);
  padding: 32px 0;
  background: var(--surface);
  scrollbar-width: thin;
  scrollbar-color: var(--bd-strong) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--bd-strong); border-radius: 2px; }

.sb-header {
  padding: 0 24px 20px;
  box-shadow: inset 0 -0.5px 0 var(--bd);
  margin-bottom: 20px;
}
.sb-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.sb-meta {
  font-size: 11px;
  color: var(--ink-low);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  gap: 3px;
  letter-spacing: -0.005em;
}

.sb-section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-low);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  padding: 12px 24px 8px;
  margin-top: 4px;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
  position: relative;
  letter-spacing: -0.005em;
}
.sb-link:hover {
  color: var(--ink);
  background: var(--surface-alt);
}
.sb-link.active {
  color: var(--ink);
  background: var(--surface-alt);
  box-shadow: inset 2px 0 0 var(--ink);
  font-weight: 500;
}
.sb-link .n,
.sb-link .art-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-low);
  margin-left: auto;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.sb-link.active .n,
.sb-link.active .art-num { color: var(--ink-mid); }

.sb-divider {
  height: 0.5px;
  background: var(--bd);
  margin: 16px 24px;
}

.sb-cta {
  margin: 24px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.sb-cta-primary,
.sb-cta-p {
  background: var(--emerald);
  color: #fff;
}
.sb-cta-primary:hover,
.sb-cta-p:hover { background: var(--emerald-dark); }

.sb-cta-ghost,
.sb-cta-g {
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  color: var(--ink);
}
.sb-cta-ghost:hover,
.sb-cta-g:hover {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd-mid);
}

/* ── MAIN ─────────────────────────────────────────────────────────────── */
main {
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 64px);
  max-width: 820px;
}

/* ── PAGE HERO ────────────────────────────────────────────────────────── */
.page-hero {
  margin-bottom: 56px;
  position: relative;
  padding: 24px 0 0;
  animation: fadeUp 700ms var(--ease) both;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  padding: 6px 12px 6px 8px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.chip-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 24px;
  color: var(--ink);
}
.page-title .grad,
.page-title span:not(.tag) {
  color: var(--ink-low);
}

.page-intro {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 24px;
}

.meta-row,
.page-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
  box-shadow: inset 0 0.5px 0 var(--bd), inset 0 -0.5px 0 var(--bd);
}
.meta-item,
.page-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-low);
  font-family: var(--font-mono);
  letter-spacing: -0.005em;
}
.meta-item svg { opacity: 0.6; }

/* Eyebrow / Label (mentions légales) */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}

/* ── ALERT IMPORTANT ──────────────────────────────────────────────────── */
.alert-important {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  margin-bottom: 48px;
}
.alert-important-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.alert-important p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 0;
}
.alert-important strong {
  color: var(--ink);
  font-weight: 500;
}

/* ── SECTION ──────────────────────────────────────────────────────────── */
.section {
  margin-bottom: 56px;
  scroll-margin-top: 88px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.section.visible { opacity: 1; transform: none; }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  box-shadow: inset 0 -0.5px 0 var(--bd);
  position: relative;
}
.section-head::after {
  content: '';
  position: absolute;
  bottom: -0.5px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: var(--ink);
  transition: width 700ms var(--ease);
}
.section.visible .section-head::after { width: 32%; }

.art-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
  letter-spacing: -0.005em;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-low);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  box-shadow: inset 0 -0.5px 0 var(--bd);
}

/* ── PROSE ────────────────────────────────────────────────────────────── */
p {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
p:last-child { margin-bottom: 0; }
strong {
  color: var(--ink);
  font-weight: 500;
}
a.il, a.inline {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--bd-mid);
  transition: border-color 180ms var(--ease);
  font-weight: 500;
}
a.il:hover, a.inline:hover { border-bottom-color: var(--ink); }

/* ── HIGHLIGHT BOX ────────────────────────────────────────────────────── */
.hl-box,
.highlight-box {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hl-box-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink);
}
.hl-box p,
.highlight-box p {
  font-size: 14px;
  margin: 0;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── BULLET LIST ──────────────────────────────────────────────────────── */
ul.blist,
ul.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
ul.blist li,
ul.styled-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.7;
}
ul.blist li::before,
ul.styled-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 11px;
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── DATA GRID / DATA MAP ─────────────────────────────────────────────── */
.data-grid,
.data-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px var(--bd);
  margin: 24px 0;
}
.data-map { grid-template-columns: repeat(3, 1fr); }

.dc, .dm-cell {
  background: var(--surface);
  padding: 16px 18px;
  transition: background 200ms var(--ease);
  position: relative;
}
.dc:hover, .dm-cell:hover { background: var(--surface-alt); }

/* Borders entre cellules */
.data-grid .dc:nth-child(odd) { box-shadow: inset -0.5px 0 0 var(--bd); }
.data-grid .dc:nth-child(-n+2) { box-shadow: inset -0.5px 0 0 var(--bd), inset 0 -0.5px 0 var(--bd); }
.data-grid .dc:nth-child(2n) { box-shadow: none; }
.data-grid .dc:nth-child(2n):not(:nth-last-child(-n+2)) { box-shadow: inset 0 -0.5px 0 var(--bd); }
.data-grid .dc:nth-child(2n+1):not(:nth-last-child(-n+2)) { box-shadow: inset -0.5px 0 0 var(--bd), inset 0 -0.5px 0 var(--bd); }

.data-map .dm-cell {
  box-shadow: inset -0.5px 0 0 var(--bd), inset 0 -0.5px 0 var(--bd);
}
.data-map .dm-cell:nth-child(3n) { box-shadow: inset 0 -0.5px 0 var(--bd); }
.data-map .dm-cell:nth-last-child(-n+3) { box-shadow: inset -0.5px 0 0 var(--bd); }
.data-map .dm-cell:nth-last-child(-n+3):nth-child(3n) { box-shadow: none; }

.dc-label, .dm-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-low);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.dc-val, .dm-val {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.dm-val strong, .dc-val strong { color: var(--ink); font-weight: 500; }

/* ── STEPS ────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  margin: 24px 0;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  overflow: hidden;
}
.step {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  position: relative;
}
.step:not(:last-child) {
  box-shadow: inset 0 -0.5px 0 var(--bd);
}
.step-n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.step h4 {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.65;
}

/* ── RIGHTS GRID ──────────────────────────────────────────────────────── */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.right-card {
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  padding: 16px;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.right-card:hover {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd-mid);
  transform: translateY(-1px);
}
.right-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--ink);
}
.right-card h4 {
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.right-card p {
  font-size: 12.5px;
  color: var(--ink-low);
  margin: 0;
  line-height: 1.55;
}

/* ── INFO CARD (mentions légales) ─────────────────────────────────────── */
.info-card {
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.info-card-header,
.ic-header {
  padding: 12px 20px;
  box-shadow: inset 0 -0.5px 0 var(--bd);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
}
.info-card-header-dot,
.ic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
.info-card-header-label,
.ic-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.info-card-body,
.ic-body {
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.info-field-label,
.if-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-low);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.info-field-value,
.if-val {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.info-field-value a,
.if-val a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--bd-mid);
  transition: border-color 180ms var(--ease);
  font-weight: 500;
}
.info-field-value a:hover,
.if-val a:hover { border-bottom-color: var(--ink); }
.info-field-full,
.if-full { grid-column: 1 / -1; }

/* ── CONTACT CARD ─────────────────────────────────────────────────────── */
.contact-card {
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  transition: box-shadow 240ms var(--ease);
}
.contact-card:hover { box-shadow: 0 0 0 0.5px var(--bd-mid); }
.contact-card-icon,
.cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-card p {
  font-size: 13.5px;
  color: var(--ink-mid);
  margin: 0 0 14px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 180ms var(--ease);
}
.contact-btn:hover { background: var(--emerald-dark); }

/* ── FAB BACK TO TOP ──────────────────────────────────────────────────── */
.fab-back {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--bd-mid), 0 8px 16px -4px rgba(17,18,16,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), background 180ms var(--ease);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  text-decoration: none;
  color: var(--ink);
}
.fab-back.show { opacity: 1; transform: none; pointer-events: all; }
.fab-back:hover {
  background: var(--surface-alt);
  transform: translateY(-2px);
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer {
  box-shadow: inset 0 0.5px 0 var(--bd);
  background: var(--ink);
  padding: 32px clamp(16px, 5vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  font-family: var(--font-mono);
  margin: 0;
  letter-spacing: -0.005em;
}
.fl, .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.fl a, .footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 180ms var(--ease);
  letter-spacing: -0.005em;
}
.fl a:hover, .footer-links a:hover { color: #fff; }

/* ── MOBILE TOC ───────────────────────────────────────────────────────── */
.mob-toc-btn {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--bd);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 24px;
  transition: background 180ms var(--ease);
  letter-spacing: -0.005em;
}
.mob-toc-btn:hover { background: var(--surface-alt); }
.mob-toc-btn svg { color: var(--ink-mid); transition: transform 240ms var(--ease); }

.mob-toc-panel {
  display: none;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--bd);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.mob-toc-panel.open { display: block; }
.mob-toc-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 13.5px;
  border-radius: 8px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
  letter-spacing: -0.005em;
}
.mob-toc-panel a:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

/* ── ANIMATIONS ───────────────────────────────────────────────────────── */
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr !important; }
  .sidebar { display: none; }
  .mob-toc-btn { display: flex; }
  main { padding: 24px 20px 48px; max-width: 100%; }
  .data-grid, .data-map, .rights-grid { grid-template-columns: 1fr !important; }
  .info-card-body, .ic-body { grid-template-columns: 1fr !important; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .fab-back { bottom: 20px; right: 20px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .shell { grid-template-columns: 220px 1fr; }
  main { padding: 40px 32px; }
  .data-map { grid-template-columns: 1fr 1fr !important; }
  .rights-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .section { opacity: 1 !important; transform: none !important; }
}