:root {
  --background: #211042;
  --background-deep: #180c31;
  --card: #1d0e39;
  --card-raised: #29144f;
  --foreground: #f8f6ff;
  --muted: #b9aecf;
  --quiet: #8d82a6;
  --border: #4a326f;
  --border-strong: #6e4fa0;
  --primary: #5b35e8;
  --primary-soft: #a58eff;
  --cta: #f3451a;
  --cta-hover: #ff6039;
  --blue: #381af3;
  --teal: #51cfa5;
  --amber: #f5bd5d;
  --danger: #f27777;
  --paper: #e9e4f5;
  --ink: #1d1034;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --max: 1360px;
  --gutter: clamp(1rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background-deep); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--foreground);
  background:
    radial-gradient(circle at 78% 6%, rgb(91 53 232 / .22), transparent 28rem),
    linear-gradient(90deg, rgb(165 142 255 / .035) 1px, transparent 1px),
    linear-gradient(rgb(165 142 255 / .035) 1px, transparent 1px),
    var(--background);
  background-size: auto, 72px 72px, 72px 72px, auto;
  font-family: var(--font-sans);
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .28;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 46%, transparent 0 15%, rgb(165 142 255 / .16) 15.2% 15.5%, transparent 15.7% 23%, rgb(165 142 255 / .1) 23.2% 23.45%, transparent 23.7%),
    radial-gradient(ellipse at 92% 78%, transparent 0 10%, rgb(81 207 165 / .11) 10.2% 10.45%, transparent 10.7% 18%, rgb(81 207 165 / .08) 18.2% 18.5%, transparent 18.7%);
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, blockquote, dl, dd { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--amber);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

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

.demo-banner {
  position: relative;
  z-index: 20;
  display: flex;
  gap: .55rem;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: .35rem 1rem;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .02em;
  text-align: center;
}
.demo-pulse { width: .5rem; height: .5rem; background: var(--cta); }

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 72px;
  padding: .65rem var(--gutter);
  border-bottom: 1px solid rgb(165 142 255 / .2);
  background: rgb(24 12 49 / .9);
  backdrop-filter: blur(14px);
}
.brand-lockup { display: flex; gap: .6rem; align-items: center; text-decoration: none; }
.brand-lockup img { width: 38px; height: 38px; object-fit: contain; }
.brand-lockup img:last-child { width: 44px; height: 44px; }
.brand-divider { width: 1px; height: 28px; background: var(--border); }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2rem); justify-content: center; }
.site-header nav a { color: var(--muted); font-size: .82rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--foreground); }
.header-cta { padding: .62rem .9rem; background: var(--cta); font-size: .78rem; font-weight: 800; text-decoration: none; }
.header-cta:hover { background: var(--cta-hover); }

.hero,
.atlas-section,
.mission-section,
.proof-section,
.evidence-section,
.participation-section,
.campaign-life,
.about-section,
.faq-section {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .76fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding-block: clamp(4rem, 8vw, 8rem);
}
.eyebrow {
  margin-bottom: .7rem;
  color: var(--primary-soft);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 7.4vw, 7.8rem);
  font-weight: 630;
  letter-spacing: -.075em;
  line-height: .88;
}
.hero h1::after {
  display: inline-block;
  width: .18em;
  height: .18em;
  margin-left: .08em;
  background: var(--cta);
  content: "";
}
.hero-lead { max-width: 43rem; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); }

.hero-search {
  max-width: 45rem;
  margin-top: 2.3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
label { display: block; margin-bottom: .6rem; font-size: .9rem; font-weight: 700; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
input, select {
  width: 100%;
  min-height: 50px;
  padding: .75rem .9rem;
  color: var(--foreground);
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--background-deep);
}
input::placeholder { color: var(--quiet); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .75rem 1.1rem;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-weight: 800;
}
.button-primary { background: var(--cta); }
.button-primary:hover { background: var(--cta-hover); }
.button-secondary { border: 1px solid var(--border-strong); background: transparent; }
.field-help, .field-error { margin: .55rem 0 0; font-size: .76rem; }
.field-help { color: var(--quiet); }
.field-error { padding: .55rem .7rem; color: #fff; border-left: 3px solid var(--danger); background: rgb(242 119 119 / .16); }
.quick-search { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .8rem; }
.quick-search button, .pilot-legend button {
  padding: .4rem 0;
  color: var(--primary-soft);
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: .78rem;
}
.quick-search button:hover, .pilot-legend button:hover { color: var(--foreground); border-color: var(--cta); }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 45rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-proof div { display: flex; gap: .65rem; align-items: center; padding: .9rem .8rem .9rem 0; }
.hero-proof strong { color: var(--teal); font-family: var(--font-mono); font-size: .68rem; }
.hero-proof span { color: var(--muted); font-size: .76rem; }

.france-stage {
  position: relative;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, rgb(41 20 79 / .94), rgb(24 12 49 / .98));
  box-shadow: 18px 18px 0 rgb(15 6 31 / .72);
}
.france-stage::before {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 70px;
  height: 70px;
  border-top: 2px solid var(--cta);
  border-right: 2px solid var(--cta);
  content: "";
}
.stage-heading, .panel-heading, .commune-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.stage-heading h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.045em; line-height: 1; }
.source-chip { padding: .35rem .45rem; color: var(--quiet); border: 1px solid var(--border); font-family: var(--font-mono); font-size: .58rem; white-space: nowrap; }
.france-map { display: block; width: 100%; max-height: 560px; margin: 1rem auto; overflow: visible; background: radial-gradient(circle at 58% 67%, rgb(81 207 165 / .09), transparent 36%), #120822; }
.france-department { fill: hsl(calc(259 + var(--department-tone) * 2) 43% calc(21% + var(--department-tone) * 1.7%)); stroke: rgb(203 189 232 / .55); stroke-width: .8; vector-effect: non-scaling-stroke; }
.france-department:hover { fill: #382064; }
.france-relief ellipse { fill: none; stroke: rgb(81 207 165 / .08); stroke-width: 18; filter: blur(12px); }
.france-pilot { cursor: pointer; }
.france-pilot circle:first-child { fill: var(--background-deep); stroke-width: 4; }
.france-pilot circle:last-child { transition: transform .16s ease; transform-origin: center; }
.france-pilot:hover circle:last-child, .france-pilot:focus circle:last-child { transform: scale(1.45); }
.france-pilot text { fill: var(--foreground); font-family: var(--font-mono); font-size: 14px; font-weight: 700; paint-order: stroke; stroke: var(--background-deep); stroke-width: 5px; }
.pilot-legend { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.pilot-legend button { display: inline-flex; gap: .45rem; align-items: center; color: var(--muted); }
.map-dot { width: .55rem; height: .55rem; }
.dot-funding { background: var(--amber); }
.dot-open { background: var(--teal); }
.map-disclaimer { margin: .9rem 0 0; color: var(--quiet); font-size: .68rem; text-align: center; }

.atlas-section { padding-block: clamp(5rem, 9vw, 9rem); }
.section-kicker {
  margin-bottom: 2rem;
  padding-bottom: .75rem;
  color: var(--quiet);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .7rem;
}
.section-kicker span { margin-inline: .45rem; color: var(--cta); }
.section-kicker a, .section-kicker button { padding: 0; color: var(--primary-soft); border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; text-decoration: none; }
.section-kicker a:hover, .section-kicker button:hover { color: var(--foreground); }
.section-kicker strong { color: var(--foreground); font-weight: 620; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr); gap: 3rem; align-items: end; margin-bottom: 2.4rem; }
.section-intro h2, .selected-territory h2, .evidence-section h2, .participation-section h2, .campaign-life h2, .about-section h2, .faq-section h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: .94;
}
.section-intro > p { max-width: 35rem; margin-bottom: 0; color: var(--muted); }
.atlas-toolbar { display: flex; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.atlas-tabs { display: flex; gap: 1px; padding: 3px; background: var(--border); }
.atlas-tabs button, .participation-tabs button {
  min-height: 42px;
  padding: .6rem .85rem;
  color: var(--muted);
  border: 0;
  background: var(--background-deep);
  font-size: .78rem;
  font-weight: 700;
}
.atlas-tabs button[aria-pressed="true"], .participation-tabs button[aria-selected="true"] { color: var(--foreground); background: var(--primary); }
.atlas-key { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.atlas-key span { display: inline-flex; gap: .35rem; align-items: center; color: var(--muted); font-size: .67rem; }
.atlas-key i { width: .65rem; height: .65rem; border: 1px solid var(--border-strong); }
.key-funding { background: var(--amber); }
.key-open { background: var(--teal); }
.key-unknown { background: #2b1850; }

.atlas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.atlas-panel { min-width: 0; padding: 1rem; border: 1px solid var(--border); background: rgb(24 12 49 / .82); }
.panel-heading { align-items: end; min-height: 48px; margin-bottom: .8rem; }
.panel-heading span { color: var(--quiet); font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
.panel-heading h3 { margin-bottom: 0; font-size: 1.18rem; }
.panel-heading p { margin-bottom: 0; color: var(--quiet); font-family: var(--font-mono); font-size: .68rem; }
.epci-map { display: block; width: 100%; height: auto; min-height: 0; max-height: 680px; margin-inline: auto; background: #140929; }
.commune-shape {
  cursor: pointer;
  fill: #2b1850;
  stroke: #7254a1;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: fill .12s ease, opacity .12s ease;
}
.commune-shape.status-funding { fill: rgb(245 189 93 / .72); }
.commune-shape.status-open { fill: rgb(81 207 165 / .74); }
.commune-shape:hover, .commune-shape:focus, .commune-shape.is-highlighted { fill: var(--cta); opacity: 1; }
.commune-shape.is-selected { stroke: #fff; stroke-width: 5; }
.commune-label { pointer-events: none; color: #fff; }
.commune-label text { fill: currentColor; font-family: var(--font-mono); font-weight: 720; paint-order: stroke; stroke: #140929; stroke-width: 4px; stroke-linejoin: round; }
.commune-label .label-anchor { fill: currentColor; stroke: #140929; stroke-width: 2px; }
.commune-label .label-leader { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .72; }
.commune-label.is-selected, .commune-label.is-highlighted { color: var(--cta); }
.hover-readout { min-height: 42px; padding: .65rem .75rem; color: var(--muted); border-top: 1px solid var(--border); font-size: .76rem; }
.hover-readout strong { color: var(--foreground); }
.map-method { margin: 0; padding: .55rem .75rem; color: var(--quiet); border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: .55rem; }

.treemap { position: relative; width: 100%; min-height: 470px; overflow: hidden; background: #140929; }
.treemap-cell {
  position: absolute;
  overflow: hidden;
  padding: .45rem;
  color: var(--foreground);
  border: 2px solid #140929;
  background: #2b1850;
  text-align: left;
  transition: filter .12s ease, background .12s ease;
}
.treemap-cell.status-funding { color: var(--ink); background: var(--amber); }
.treemap-cell.status-open { color: var(--ink); background: var(--teal); }
.treemap-cell:hover, .treemap-cell:focus, .treemap-cell.is-highlighted { z-index: 3; color: #fff; background: var(--cta); filter: brightness(1.08); }
.treemap-cell.is-selected { box-shadow: inset 0 0 0 3px #fff; }
.treemap-cell strong, .treemap-cell span { display: block; }
.treemap-cell strong { overflow: hidden; font-size: clamp(.57rem, .8vw, .78rem); line-height: 1.08; text-overflow: ellipsis; }
.treemap-cell span { margin-top: .2rem; font-family: var(--font-mono); font-size: .55rem; opacity: .8; }
.treemap-cell.is-tiny strong, .treemap-cell.is-tiny span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.panel-note { min-height: 42px; margin: 0; padding: .65rem .75rem 0; color: var(--quiet); border-top: 1px solid var(--border); font-size: .68rem; }

.commune-directory { margin-top: 1rem; border: 1px solid var(--border); background: var(--background-deep); }
.commune-directory summary { display: flex; justify-content: space-between; padding: .9rem 1rem; cursor: pointer; font-size: .8rem; font-weight: 700; }
.commune-directory summary strong { color: var(--teal); font-family: var(--font-mono); }
.commune-list { display: grid; grid-template-columns: repeat(4, 1fr); max-height: 360px; overflow: auto; border-top: 1px solid var(--border); }
.commune-list button {
  display: flex;
  gap: .65rem;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: .65rem .75rem;
  color: var(--muted);
  border: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: .7rem;
  text-align: left;
}
.commune-list-main { min-width: 0; overflow: hidden; }
.commune-list-main b, .commune-list-main em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.commune-list-main b { color: inherit; font-size: .7rem; }
.commune-list-main em { margin-top: .18rem; color: var(--quiet); font-family: var(--font-mono); font-size: .52rem; font-style: normal; }
.commune-list button small { color: var(--quiet); font-family: var(--font-mono); white-space: nowrap; }
.commune-list button:hover, .commune-list button.is-highlighted { color: var(--foreground); background: var(--card-raised); }
.commune-list button.is-selected { color: #fff; background: var(--primary); }

.mission-section { padding-bottom: clamp(5rem, 9vw, 9rem); }
.selected-territory { padding: clamp(1.2rem, 3vw, 2.2rem); border-top: 4px solid var(--cta); background: var(--paper); color: var(--ink); }
.selected-territory .eyebrow { color: #6a4d8e; }
.selected-territory h2 { color: var(--ink); }
.selected-territory p { color: #665d73; }
.commune-heading { align-items: center; }
.commune-heading p { margin-bottom: 0; font-family: var(--font-mono); font-size: .7rem; }
.status-badge { padding: .45rem .55rem; color: var(--ink); font-family: var(--font-mono); font-size: .65rem; font-weight: 760; text-transform: uppercase; }
.status-badge.status-funding { background: var(--amber); }
.status-badge.status-open { background: var(--teal); }
.status-badge.status-unaudited { color: var(--foreground); background: var(--border-strong); }
.selected-intro { max-width: 50rem; margin: 1.2rem 0 0; font-size: 1.03rem; }
.status-cycle {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d1e1;
  border-bottom: 1px solid #d9d1e1;
}
.status-cycle li { min-width: 0; padding: .8rem .55rem; color: #81748e; border-right: 1px solid #d9d1e1; }
.status-cycle li:last-child { border-right: 0; }
.status-cycle span { display: block; margin-bottom: .3rem; font-family: var(--font-mono); font-size: .58rem; }
.status-cycle strong { display: block; font-size: .68rem; line-height: 1.25; }
.status-cycle .is-past { color: #665d73; background: #f4f0f7; }
.status-cycle .is-current { color: var(--ink); box-shadow: inset 0 -3px var(--cta); background: #fff0eb; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: var(--border); }
.resource-card { padding: clamp(1rem, 2vw, 1.5rem); background: var(--background-deep); }
.resource-top { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.resource-card .resource-index { color: var(--quiet); font-family: var(--font-mono); font-size: .62rem; }
.resource-card h3 { margin: .45rem 0 1.2rem; font-size: 1rem; }
.resource-value { display: flex; gap: .45rem; align-items: baseline; margin-bottom: .75rem; }
.resource-value strong { font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.resource-value span { color: var(--quiet); font-size: .7rem; }
.progress-track { height: 5px; overflow: hidden; background: var(--border); }
.progress-track i { display: block; height: 100%; background: var(--teal); }
.resource-card:nth-child(1) .progress-track i { background: var(--cta); }
.resource-card:nth-child(2) .progress-track i { background: var(--primary-soft); }
.resource-note { margin: .7rem 0 0; color: var(--muted); font-size: .7rem; }
.demo-tag { display: inline-block; margin-top: .8rem; padding: .22rem .35rem; color: var(--amber); border: 1px solid rgb(245 189 93 / .4); font-family: var(--font-mono); font-size: .54rem; text-transform: uppercase; }

.season-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  background: rgb(41 20 79 / .75);
}
.season-marker { display: grid; grid-template-columns: auto auto; align-items: end; width: 84px; color: var(--ink); background: var(--amber); font-family: var(--font-mono); }
.season-marker span { padding: .3rem; font-size: .6rem; }
.season-marker strong { padding: .2rem .45rem; font-size: 2rem; line-height: 1; }
.season-strip h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.season-bilan { margin-top: .45rem; color: var(--primary-soft); font-size: .68rem; }
.season-strip p:not(.eyebrow) { max-width: 55rem; margin-bottom: 0; color: var(--muted); font-size: .75rem; }
.season-dates { display: flex; gap: .6rem; align-items: center; font-family: var(--font-mono); font-size: .6rem; }
.season-dates i { width: 46px; height: 1px; background: var(--cta); }

.proof-section { padding-block: clamp(5rem, 9vw, 9rem); border-top: 1px solid var(--border); }
.proof-intro h2 { max-width: 21ch; }
.proof-demo { display: grid; grid-template-columns: .75fr 1.25fr; border: 1px solid var(--border); background: var(--background-deep); }
.citizen-question { padding: clamp(1.3rem, 3vw, 2.4rem); border-right: 1px solid var(--border); }
.citizen-question > span { color: var(--teal); font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
.citizen-question blockquote { margin: 2rem 0 0; font-size: clamp(1.4rem, 2.5vw, 2.3rem); font-weight: 580; letter-spacing: -.04em; line-height: 1.08; }
.answer-trace { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: center; padding: 1.5rem; }
.trace-step { text-align: center; }
.trace-step strong { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin: 0 auto .7rem; color: var(--muted); border: 1px solid var(--border-strong); font-family: var(--font-mono); }
.trace-step.active strong { color: var(--ink); border-color: var(--teal); background: var(--teal); }
.trace-step span, .trace-step small { display: block; }
.trace-step span { font-size: .76rem; font-weight: 720; }
.trace-step small { margin-top: .2rem; color: var(--quiet); font-size: .62rem; }
.trace-line { width: 34px; height: 1px; background: var(--border-strong); }
.source-excerpt { grid-column: 2; margin: 0 1.5rem 1.5rem; padding: 1rem; color: var(--ink); background: var(--paper); }
.source-excerpt p:not(.eyebrow) { margin-bottom: .7rem; }
.source-excerpt span { color: #72687d; font-family: var(--font-mono); font-size: .58rem; }

.evidence-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; padding-bottom: clamp(5rem, 9vw, 9rem); }
.evidence-card, .cost-card { padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--border); background: var(--background-deep); }
.evidence-section h2 { max-width: 17ch; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.evidence-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 2rem 0 0; border-top: 1px solid var(--border); }
.evidence-card dl div { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.evidence-card dt { color: var(--quiet); font-size: .65rem; }
.evidence-card dd { margin: .2rem 0 0; font-family: var(--font-mono); font-size: .72rem; }
.source-links { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.source-links a, .cost-card a { color: var(--primary-soft); font-size: .72rem; text-underline-offset: 3px; }
.cost-card { display: flex; flex-direction: column; justify-content: center; }
.cost-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: center; margin: 1.5rem 0; }
.cost-equation span { padding: .7rem; border: 1px solid var(--border); font-family: var(--font-mono); font-size: .65rem; text-align: center; }
.cost-equation b { color: var(--cta); }
.cost-card p:not(.eyebrow) { color: var(--muted); }

.participation-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--border);
}
.participation-copy { align-self: start; position: sticky; top: 105px; }
.participation-copy h2 { max-width: 14ch; }
.participation-copy > p:not(.eyebrow) { max-width: 36rem; color: var(--muted); }
.no-refund-note { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin-top: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.no-refund-note strong { color: var(--amber); font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; }
.no-refund-note span { color: var(--muted); font-size: .72rem; }
.participation-workbench { min-width: 0; border: 1px solid var(--border); background: var(--background-deep); }
.participation-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 3px; border-bottom: 1px solid var(--border); background: var(--border); }
.participation-panel { min-height: 480px; padding: clamp(1rem, 3vw, 2rem); }
.step-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: start; margin-bottom: 1.5rem; }
.step-heading span { color: var(--quiet); font-family: var(--font-mono); font-size: .62rem; }
.step-heading h3 { max-width: 24ch; margin: .35rem 0 0; font-size: clamp(1.45rem, 2.7vw, 2.35rem); letter-spacing: -.04em; line-height: 1.04; }
.step-heading .step-count { padding: .35rem .45rem; border: 1px solid var(--border); white-space: nowrap; }
.tier-grid, .allocation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tier-button, .allocation-button {
  min-height: 100px;
  padding: .85rem;
  color: var(--foreground);
  border: 1px solid var(--border);
  background: transparent;
  text-align: left;
}
.tier-button strong, .tier-button span, .allocation-button strong, .allocation-button span { display: block; }
.tier-button strong { font-family: var(--font-mono); font-size: 1.25rem; }
.tier-button span, .allocation-button span { margin-top: .3rem; color: var(--muted); font-size: .68rem; }
.tier-button[aria-pressed="true"], .allocation-button[aria-pressed="true"] { color: #fff; border-color: var(--cta); background: rgb(243 69 26 / .18); box-shadow: inset 0 0 0 2px var(--cta); }
.tier-button.recommended { position: relative; }
.tier-button.recommended::before { position: absolute; top: 0; right: 0; padding: .22rem .35rem; color: var(--ink); background: var(--amber); content: "à tester"; font-family: var(--font-mono); font-size: .5rem; text-transform: uppercase; }
.free-amount { display: grid; grid-template-columns: 1fr 130px; gap: .7rem; align-items: end; margin-top: 1rem; }
.free-amount label { margin-bottom: 0; color: var(--muted); font-size: .75rem; }
.free-amount input { min-height: 44px; }
.panel-action { display: flex; gap: .8rem; justify-content: flex-end; align-items: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.text-action { padding: .5rem 0; color: var(--muted); border: 0; border-bottom: 1px solid var(--border); background: transparent; font-size: .74rem; }
.text-action:hover { color: var(--foreground); border-color: var(--cta); }
.donation-rule { margin: 1rem 0 0; padding: .8rem; color: var(--muted); border-left: 3px solid var(--primary); background: rgb(91 53 232 / .1); font-size: .7rem; }
.recap-list { margin: 1.5rem 0; border-top: 1px solid var(--border); }
.recap-row { display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.recap-row span { color: var(--muted); font-size: .75rem; }
.recap-row strong { font-family: var(--font-mono); font-size: .74rem; text-align: right; }
.simulation-box { padding: 1rem; border: 1px dashed var(--border-strong); }
.simulation-box label { color: var(--muted); font-size: .75rem; }
.outcome-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.2rem; color: var(--ink); background: var(--teal); font-family: var(--font-mono); font-size: 1.5rem; font-weight: 800; }
.outcome-summary { display: grid; gap: .3rem; margin: 1rem 0; padding: .8rem; border-left: 3px solid var(--primary-soft); background: rgb(165 142 255 / .08); font-family: var(--font-mono); font-size: .68rem; }
.next-mission { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.next-mission > .button { display: flex; width: 100%; align-items: flex-start; flex-direction: column; text-align: left; }
.next-mission > .button span { margin-top: .25rem; font-size: .68rem; font-weight: 500; opacity: .86; }
.secondary-missions { display: flex; gap: 1rem; margin-top: .85rem; flex-wrap: wrap; }
.mission-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 1rem; }
.mission-choice button { min-height: 72px; padding: .75rem; color: var(--foreground); border: 1px solid var(--border); background: transparent; text-align: left; }
.mission-choice button:hover { border-color: var(--teal); background: rgb(81 207 165 / .08); }
.pledge-callout { padding: 1rem; border-left: 3px solid var(--amber); background: rgb(245 189 93 / .08); }
.pledge-callout strong { color: var(--amber); }
.pledge-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.pledge-form .full { grid-column: 1 / -1; }
.pledge-confirmation { margin-top: 1rem; padding: 1rem; color: var(--ink); background: var(--amber); }

.campaign-life { padding-block: clamp(5rem, 9vw, 9rem); border-top: 1px solid var(--border); }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.life-grid article { min-height: 220px; padding: 1.4rem; background: var(--background-deep); }
.life-grid article > span { color: var(--teal); font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
.life-grid h3 { margin: 2rem 0 .7rem; font-size: 1.35rem; }
.life-grid p { color: var(--muted); font-size: .78rem; }

.about-section { display: grid; grid-template-columns: auto 1fr .5fr; gap: 2rem; align-items: center; padding-block: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--border); }
.about-mark { display: grid; place-items: center; width: 110px; height: 110px; background: var(--card); }
.about-mark img { width: 76px; height: 76px; }
.about-section h2 { max-width: 19ch; font-size: clamp(2rem, 4vw, 3.8rem); }
.about-section p:not(.eyebrow) { max-width: 50rem; margin-bottom: 0; color: var(--muted); }
.about-section dl div { padding: .55rem 0; border-bottom: 1px solid var(--border); }
.about-section dt { color: var(--quiet); font-size: .62rem; }
.about-section dd { margin: .15rem 0 0; font-family: var(--font-mono); font-size: .72rem; }

.faq-section { padding-block: clamp(5rem, 9vw, 9rem); border-top: 1px solid var(--border); }
.faq-section h2 { margin-bottom: 2rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.faq-grid details { min-height: 100px; padding: 1rem; background: var(--background-deep); }
.faq-grid summary { cursor: pointer; font-weight: 700; }
.faq-grid p { margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--border);
  background: #120723;
}
.footer-brand { display: flex; gap: .6rem; align-items: center; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand span { color: var(--muted); font-size: .7rem; }
footer p { margin-bottom: 0; color: var(--quiet); font-size: .66rem; text-align: center; }
footer > a { color: var(--primary-soft); font-size: .7rem; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .72fr; gap: 3rem; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 6rem); }
  .commune-list { grid-template-columns: repeat(3, 1fr); }
  .participation-section { grid-template-columns: .7fr 1.3fr; gap: 2rem; }
  .tier-grid, .allocation-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .header-cta { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .france-stage { width: min(100%, 620px); margin-inline: auto; }
  .section-intro, .evidence-section, .participation-section, .about-section { grid-template-columns: 1fr; }
  .atlas-grid { grid-template-columns: 1fr; }
  .treemap { min-height: 540px; }
  .commune-list { grid-template-columns: 1fr 1fr; }
  .participation-copy { position: static; }
  .proof-demo { grid-template-columns: 1fr; }
  .citizen-question { border-right: 0; border-bottom: 1px solid var(--border); }
  .source-excerpt { grid-column: 1; }
  .about-section dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .life-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: .75rem; }
  .site-header { min-height: 62px; gap: .8rem; }
  .brand-lockup { gap: .35rem; }
  .brand-lockup img { width: 31px; height: 31px; }
  .brand-lockup img:last-child { width: 36px; height: 36px; }
  .brand-divider { height: 22px; }
  .header-cta { padding: .55rem .65rem; font-size: .68rem; }
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }
  .search-row { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { border-bottom: 1px solid var(--border); }
  .stage-heading, .commune-heading, .atlas-toolbar { display: block; }
  .source-chip { display: inline-block; margin-top: .8rem; }
  .atlas-tabs { margin-bottom: 1rem; }
  .atlas-key { justify-content: flex-start; }
  .treemap { min-height: 390px; }
  .commune-label text { font-size: 13px !important; }
  .commune-list { grid-template-columns: 1fr; max-height: 320px; }
  .status-badge { display: inline-block; margin-top: .8rem; }
  .status-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-cycle li { border-bottom: 1px solid #d9d1e1; }
  .resource-grid { grid-template-columns: 1fr; }
  .season-strip { grid-template-columns: auto 1fr; }
  .season-dates { grid-column: 1 / -1; }
  .answer-trace { grid-template-columns: 1fr; }
  .trace-line { width: 1px; height: 24px; margin: auto; }
  .evidence-card dl { grid-template-columns: 1fr; }
  .cost-equation { grid-template-columns: 1fr; }
  .cost-equation b { text-align: center; }
  .participation-tabs { grid-template-columns: 1fr; }
  .tier-grid, .allocation-grid, .mission-choice, .pledge-form { grid-template-columns: 1fr; }
  .free-amount { grid-template-columns: 1fr; }
  .panel-action { align-items: stretch; flex-direction: column-reverse; }
  .panel-action .button { width: 100%; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-mark { width: 84px; height: 84px; }
  .about-mark img { width: 58px; height: 58px; }
  .about-section dl { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
}

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