/* Politique, simplement : feuille de style unique */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("inter.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #6820fc;
  --accent-2: #9868fc;
  --accent-soft: #f3edff;
  --link: #5b17e6;
  --ok: #1d8348;
  --ok-soft: #e9f7ef;
  --ko: #c4231b;
  --ko-soft: #fdecea;
  --nav-bg: rgba(255, 255, 255, 0.74);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 44px rgba(0, 0, 0, 0.1);
  --radius: 22px;
  --radius-s: 14px;
  --max: 1000px;
  --max-wide: 1180px;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0f0f11;
    --surface: #1c1c1e;
    --surface-2: #161618;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: #3a3a3e;
    --line-soft: #2c2c2e;
    --accent: #a07bff;
    --accent-2: #bc9cfc;
    --accent-soft: #221a36;
    --link: #b598ff;
    --ok: #4cd480;
    --ok-soft: #10261a;
    --ko: #ff6b61;
    --ko-soft: #2d1311;
    --nav-bg: rgba(22, 22, 23, 0.74);
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 44px rgba(0, 0, 0, 0.6);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

.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;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font-size: 15px;
}
.skip:focus { top: 10px; text-decoration: none; }

/* Navigation */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter);
  height: 52px; display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 16px; letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand__icon { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.nav__links { display: flex; gap: 4px; margin-left: auto; list-style: none; }
.nav__links a {
  display: block; padding: 6px 12px; border-radius: 999px;
  color: var(--text); font-size: 14px; opacity: 0.86;
}
.nav__links a:hover { opacity: 1; text-decoration: none; background: var(--bg-alt); }
.nav__links a[aria-current="page"] { opacity: 1; background: var(--bg-alt); font-weight: 600; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; padding: 0;
  background: transparent; color: var(--text); cursor: pointer; border-radius: 12px;
}
.nav__toggle svg { margin: 0 auto; }
.nav__toggle .i-close { display: none; }
.nav[data-open] .nav__toggle .i-open { display: none; }
.nav[data-open] .nav__toggle .i-close { display: block; }

@media (max-width: 833px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 52px;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }
  .nav[data-open] .nav__links { display: flex; }
  .nav__links a {
    font-size: 21px; font-weight: 600; padding: 12px 4px; border-radius: 0; opacity: 1;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__links a[aria-current="page"] { background: transparent; color: var(--accent); }
  .nav__links a:hover { background: transparent; }
}

/* Mise en page */

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--max-wide); }
.container--text { max-width: 760px; }

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }
.section:not(.section--alt) + .section:not(.section--alt):not(.section--flush) { padding-top: 24px; }
@media (max-width: 734px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--accent); margin-bottom: 10px;
}
.h-display {
  font-size: clamp(42px, 7.4vw, 80px);
  line-height: 1.04; letter-spacing: -0.035em;
}
.h-1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -0.03em; line-height: 1.07; }
.h-2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.028em; line-height: 1.1; }
.h-3 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.lede {
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.42; color: var(--text-2);
  letter-spacing: -0.016em; max-width: 720px;
}
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.45; }
.section-head { margin-bottom: 44px; }
.section-head .lede { margin-top: 14px; }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* Héros */

.hero { padding: 88px 0 56px; text-align: center; overflow: hidden; }
.hero .lede { margin: 22px auto 0; }
.hero--page { padding: 76px 0 40px; }
.hero__art { margin: 48px auto 0; max-width: 660px; }
@media (max-width: 734px) {
  .hero { padding: 56px 0 40px; }
  .hero--page { padding: 48px 0 24px; }
  .hero__art { margin-top: 36px; }
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 999px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #5a12ef; }
@media (prefers-color-scheme: dark) {
  .btn--primary { color: #12091f; }
  .btn--primary:hover { background: #b597ff; }
}
.btn--ghost { color: var(--accent); border-color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent-soft); }

.link-more { font-size: 17px; font-weight: 500; }
.link-more::after { content: " ›"; }

/* Hémicycle */

.hemi { width: 100%; height: auto; }
.hemi--monochrome circle { fill: var(--line); }
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 180deg; }
.hemi--monochrome {
  -webkit-mask-image: conic-gradient(from -90deg at 50% 98%, #000 var(--sweep, 180deg), transparent 0);
  mask-image: conic-gradient(from -90deg at 50% 98%, #000 var(--sweep, 180deg), transparent 0);
}
@media (prefers-reduced-motion: no-preference) {
  .hemi--monochrome { animation: sweep 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
}
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 180deg; } }
.hemi__label { font-family: var(--font-display); fill: var(--text); font-weight: 600; }
.hemi__sub { fill: var(--text-2); }

/* Grilles et tuiles */

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); color: var(--text);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.section--alt .tile { box-shadow: none; }
.section:not(.section--alt) .tile { border: 1px solid var(--line-soft); box-shadow: none; }
a.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tile__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.tile__title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tile__text { color: var(--text-2); font-size: 16px; line-height: 1.47; }
.tile__more { margin-top: auto; padding-top: 8px; color: var(--link); font-size: 16px; font-weight: 500; }
.tile__more::after { content: " ›"; }
a.tile .tile__more { color: var(--link); }

.tile--feature { padding: 36px; }
.tile--soft { background: var(--surface-2); }

/* Chiffres clés */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  display: block; font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.35; }
@media (max-width: 734px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Situation actuelle */

.now { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.now__item { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.now__role { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 600; }
.now__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 6px; line-height: 1.2; }
.now__text { color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* Frise */

.timeline { list-style: none; position: relative; margin-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 26px 38px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-3);
}
.section--alt .timeline li::before { background: var(--bg-alt); }
.timeline li.is-next::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline__date { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); }
.timeline li.is-next .timeline__date { color: var(--accent); }
.timeline__title { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 2px; }
.timeline__text { display: block; color: var(--text-2); font-size: 16px; margin-top: 4px; }

/* Encadrés */

.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-s); padding: 18px 20px; font-size: 15px; color: var(--text-2); line-height: 1.5;
}
.section--alt .note { background: var(--surface); }
.note svg { flex: none; color: var(--accent); margin-top: 2px; }
.note strong { color: var(--text); }
.note--accent { background: var(--accent-soft); border-color: transparent; color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0; background: var(--bg-alt); color: var(--text-2);
  white-space: nowrap;
}
.section--alt .pill { background: var(--surface); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }

/* Contrôle segmenté */

.seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--bg-alt); max-width: 100%;
}
.section--alt .seg { background: var(--line-soft); }
@media (prefers-color-scheme: dark) { .section--alt .seg { background: var(--surface); } }
.seg button {
  appearance: none; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 500; padding: 8px 16px; min-height: 36px;
  border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] {
  background: var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #3a3a3e; }
}
.seg-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
@media (max-width: 734px) {
  .seg-wrap { justify-content: flex-start; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .seg-wrap::-webkit-scrollbar { display: none; }
  .seg { flex-wrap: nowrap; }
}

/* Institutions */

.inst { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); }
.inst:first-of-type { border-top: 0; padding-top: 0; }
.inst__head .h-3 { margin-top: 12px; }
.inst__badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.inst__now { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.inst__now strong { color: var(--text); display: block; font-size: 17px; }
.inst__body dl { display: grid; gap: 18px; margin: 0; }
.inst__body dt { font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.inst__body dd { margin: 0; color: var(--text-2); }
@media (max-width: 833px) {
  .inst { grid-template-columns: 1fr; gap: 20px; }
}

.powers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 833px) { .powers { grid-template-columns: 1fr; } }
.power { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.power__verb { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--accent); }
.power__name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 10px; }
.power__who { color: var(--text-2); font-size: 16px; }

/* Qui élit qui */

.flow { display: grid; gap: 14px; }
.flow__row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: start; }
.flow__from { font-weight: 600; font-size: 16px; padding-top: 12px; }
.flow__to { display: flex; flex-wrap: wrap; gap: 10px; }
.flow__chip {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 14px;
  font-size: 15px; line-height: 1.35;
}
.flow__chip b { display: block; font-size: 16px; }
.flow__chip span { color: var(--text-2); font-size: 14px; }
@media (max-width: 734px) { .flow__row { grid-template-columns: 1fr; gap: 8px; } .flow__from { padding-top: 0; } }

/* Étapes de la loi */

.steps { background: var(--surface); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.section--alt .steps { box-shadow: none; }
.steps__list { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps__item { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.steps__item:first-child { border-top: 0; padding-top: 0; }
.steps__item::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 16px;
}
.steps__title { font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.steps__text { color: var(--text-2); font-size: 16px; margin-top: 4px; }
.js .steps--interactive .steps__item { display: none; border-top: 0; padding: 0; }
.js .steps--interactive .steps__item.is-current { display: grid; }
.steps__nav { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.js .steps--interactive .steps__nav { display: flex; }
.steps__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.steps__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: 0; padding: 0; cursor: pointer; }
.steps__dot[aria-current="step"] { background: var(--accent); width: 24px; border-radius: 99px; }
.steps__btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.steps__btn:disabled { opacity: 0.35; cursor: default; }
.js .steps--interactive .steps__item.is-current { min-height: 120px; align-content: start; }
@media (max-width: 734px) { .steps { padding: 24px; } }

/* Tableau des élections */

.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.table th, .table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); font-weight: 600; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; }
.table .next { color: var(--accent); font-weight: 600; }

/* Liste à cocher */

.checklist { list-style: none; display: grid; gap: 14px; counter-reset: c; }
.checklist li {
  counter-increment: c; background: var(--surface); border-radius: var(--radius-s); padding: 22px 22px 22px 70px;
  position: relative;
}
.checklist li::before {
  content: counter(c); position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px;
}
@media (prefers-color-scheme: dark) { .checklist li::before { color: #12091f; } }
.checklist b { display: block; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 4px; }
.checklist span { color: var(--text-2); font-size: 16px; }

/* Questions fréquentes */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .faq__body { padding: 0 0 24px; color: var(--text-2); max-width: 720px; }

/* Spectre et partis */

.spectrum { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.spectrum__bloc { background: var(--surface); border-radius: var(--radius-s); padding: 14px 12px; min-width: 0; }
.spectrum__name { font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; }
.spectrum__parties { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.spectrum__party { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--text); }
.spectrum__party:hover { text-decoration: none; color: var(--accent); }
.spectrum__axis { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--text-3); font-weight: 600; }
.spectrum__axis span::before { content: "‹ "; }
.spectrum__axis span:last-child::before { content: ""; }
.spectrum__axis span:last-child::after { content: " ›"; }
@media (max-width: 833px) {
  .spectrum { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .spectrum { grid-template-columns: 1fr 1fr; }
}

.parties { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.party {
  background: var(--surface); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px;
  border-top: 5px solid var(--c, var(--line));
}
.section:not(.section--alt) .party { border: 1px solid var(--line-soft); border-top: 5px solid var(--c, var(--line)); }
.party__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.party__name { font-size: 24px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.party__sigle { color: var(--text-3); font-weight: 600; font-size: 15px; margin-top: 4px; display: block; }
.party__summary { color: var(--text-2); font-size: 16px; }
.party__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; font-size: 14px; }
.party__facts div { min-width: 0; }
.party__facts dt { color: var(--text-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.party__facts dd { margin: 2px 0 0; color: var(--text); font-weight: 500; }
.party__ideas-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); }
.party__ideas { list-style: none; display: grid; gap: 10px; }
.party__ideas li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; }
.party__ideas li::before {
  content: ""; position: absolute; left: 3px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c, var(--accent));
}
.party__note { font-size: 13px; color: var(--text-3); line-height: 1.45; }
.party__link { margin-top: auto; font-size: 15px; font-weight: 500; }
.party__link::after { content: " ↗"; }

.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.other { background: var(--surface); border-radius: var(--radius-s); padding: 16px 18px; font-size: 15px; }
.other b { display: block; font-size: 16px; }
.other span { color: var(--text-2); }

.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; justify-content: center; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.legend b { color: var(--text); font-variant-numeric: tabular-nums; }

/* Candidats */

.cands { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.cand { background: var(--surface); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.section:not(.section--alt) .cand { border: 1px solid var(--line-soft); }
.cand__top { display: flex; gap: 14px; align-items: center; }
.cand__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 600; font-size: 19px; letter-spacing: 0; color: var(--text);
  background: var(--bg-alt); border: 3px solid var(--c, var(--line));
}
.cand__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.cand__party { font-size: 15px; color: var(--text-2); margin-top: 2px; }
.cand__who { font-size: 15px; color: var(--text); }
.cand__status { font-size: 14px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; line-height: 1.45; }
.cand__bloc { margin-top: auto; }

.names { columns: 3 240px; column-gap: 28px; list-style: none; }
.names li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.names b { font-weight: 600; }
.names span { color: var(--text-2); }

/* Compte à rebours */

.countdown {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 28px; padding: 12px 22px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600;
}
.countdown__num { font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 16px; }

/* Comparateur */

.compare__panel { display: grid; gap: 12px; }
.compare__intro { margin-bottom: 18px; }
.compare__row {
  display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start;
  background: var(--surface); border-radius: var(--radius-s); padding: 18px 22px;
}
.compare__who { display: flex; gap: 12px; align-items: center; }
.compare__who b { display: block; font-size: 16px; line-height: 1.25; }
.compare__who span { display: block; color: var(--text-2); font-size: 14px; }
.compare__what { font-size: 16px; line-height: 1.5; }
.compare__row--none .compare__what { color: var(--text-3); font-style: italic; }
.compare__source { margin-top: 18px; }
.js .compare__panel[data-tab-panel]:not(.is-active) { display: none; }
.compare__panel-title { margin: 8px 0 6px; }
.js .compare__panel-title { display: none; }
@media (max-width: 734px) {
  .compare__row { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
}

/* Lexique */

.search { position: relative; max-width: 560px; margin: 0 auto 36px; }
.search input {
  width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-size: 17px; padding: 0 18px 0 48px;
  -webkit-appearance: none; appearance: none;
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search__count { text-align: center; color: var(--text-3); font-size: 14px; margin-top: -24px; margin-bottom: 28px; min-height: 20px; }
.letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 40px; list-style: none; }
.letters a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 600; font-size: 15px;
  background: var(--bg-alt); color: var(--text);
}
.letters a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.glossary { display: grid; gap: 12px; }
.glossary__letter { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 28px 0 4px; color: var(--text-3); }
.glossary__letter:first-child { margin-top: 0; }
.term { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 20px 22px; }
.term dt { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.term dd { margin: 6px 0 0; color: var(--text-2); font-size: 16px; }
.term dd + dd { margin-top: 8px; font-size: 15px; }
.term:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.term__see a { font-weight: 500; }
.empty { text-align: center; color: var(--text-2); padding: 30px 0; }

/* Quiz */

.quiz { max-width: 720px; margin: 0 auto; }
.quiz__card { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.section--alt .quiz__card { box-shadow: none; }
.quiz__progress { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-3); font-weight: 600; margin-bottom: 14px; }
.quiz__bar { height: 4px; background: var(--line-soft); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 0.4s; }
.quiz__q { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 22px; }
.quiz__options { display: grid; gap: 10px; list-style: none; }
.quiz__opt {
  width: 100%; text-align: left; appearance: none; font: inherit; font-size: 17px; color: var(--text);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 18px; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s; min-height: 52px;
}
.quiz__opt:hover:not(:disabled) { border-color: var(--accent); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt.is-right { border-color: var(--ok); background: var(--ok-soft); }
.quiz__opt.is-wrong { border-color: var(--ko); background: var(--ko-soft); }
.quiz__explain { margin-top: 18px; color: var(--text-2); font-size: 16px; }
.quiz__explain b { color: var(--text); }
.quiz__foot { display: flex; justify-content: flex-end; margin-top: 22px; min-height: 44px; }
.quiz__result { text-align: center; }
.quiz__score { font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.quiz-static { display: grid; gap: 12px; }
.quiz-static details { background: var(--surface); border-radius: var(--radius-s); padding: 18px 22px; }
.quiz-static summary { cursor: pointer; font-weight: 600; }
.quiz-static p { margin-top: 10px; color: var(--text-2); }
.js .quiz-static { display: none; }
.quiz-live { display: none; }
.js .quiz-live { display: block; }

/* Pages de texte */

.prose { font-size: 17px; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; letter-spacing: -0.022em; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0 0 1em; }
.prose dt { color: var(--text-2); }
.prose dd { margin: 0; }
@media (max-width: 734px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 12px; } }

.sources { list-style: none; display: grid; gap: 10px; }
.sources li { font-size: 15px; padding-left: 18px; position: relative; color: var(--text-2); }
.sources li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }

/* Pied de page */

.footer { background: var(--bg-alt); color: var(--text-2); font-size: 13px; line-height: 1.5; padding: 40px 0 28px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer__title { color: var(--text); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer__about p { max-width: 320px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; }
@media (max-width: 833px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* Apparition au défilement */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .seg-wrap, .search, .letters, .cta-row { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 24px 0; }
}
