/* =========================================================
   PLR Vevey – Élection complémentaire à la Municipalité 2026
   Anna Iamartino-Sica · campaign landing page
   ========================================================= */

:root {
  --blue: #00a0e2;          /* PLR light blue */
  --blue-600: #0089c3;
  --navy: #074ea1;          /* PLR dark blue */
  --navy-900: #062c5e;
  --ink: #0b2240;
  --muted: #4b5261;
  --magenta: #e6007d;      /* PLR magenta */
  --magenta-600: #c4006a;
  --sky: #e9f6fd;
  --sand: #f4f7fb;
  --line: #dbe6f1;
  --white: #fff;

  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(7, 78, 161, .25);
  --shadow-lg: 0 30px 60px -25px rgba(6, 44, 94, .45);
  --container: 1200px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--accent { background: var(--magenta); color: #fff; box-shadow: 0 10px 24px -10px rgba(230,0,125,.7); }
.btn--accent:hover { background: var(--magenta-600); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .65em 1.25em; font-size: .95rem; }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: baseline;
  font-weight: 600; text-decoration: none; color: var(--navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}
.link-arrow span { color: var(--blue); transition: transform .2s ease; }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow--light { color: #fff; }
.link-arrow--light span { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(6,44,94,.45); }
.site-header .container { width: min(100% - 32px, 1360px); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: #fff; line-height: 1; }
.site-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.site-logo__title { font-family: var(--font-head); font-weight: 600; font-size: .78rem; margin-top: 3px; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-nav ul a {
  font-family: var(--font-head); font-size: .93rem; font-weight: 500;
  color: #fff; text-decoration: none; position: relative; padding: 6px 0; white-space: nowrap;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: #fff; transition: right .25s ease;
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { right: 0; }
.site-nav ul a.is-active { color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.18); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--blue); padding: 12px 16px 28px;
    box-shadow: 0 20px 30px -20px rgba(6,44,94,.6);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 1.05rem; }
  .site-nav ul a::after { display: none; }
  .site-nav__cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-900);
  padding: clamp(48px, 8vw, 110px) 0 clamp(120px, 14vw, 180px);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, #0a7fcf 45%, var(--navy) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; right: -10%; bottom: -1px; width: 75%; height: 45%;
  background: rgba(255,255,255,.05);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero__date {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 26px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(230,0,125,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230,0,125,0); } 100% { box-shadow: 0 0 0 0 rgba(230,0,125,0); } }

.hero__title {
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.85); margin-bottom: 14px;
}
.hero__name { margin-bottom: 26px; }
.hero__name-main {
  display: block; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1;
}
.hero__name-sub {
  display: inline-block; margin-top: 18px;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 700; color: #fff;
  background: var(--magenta); padding: .3em .75em; line-height: 1.2;
}
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.92); max-width: 40em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__portrait { margin: 0; position: relative; justify-self: end; width: min(100%, 460px); }
.hero__portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg); background: var(--magenta);
}
.hero__portrait-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 1; background: var(--navy);
}
.hero__portrait-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero__portrait:hover img { transform: scale(1.03); }
.hero__portrait figcaption {
  position: absolute; right: 12px; bottom: 10px; z-index: 1;
  font-size: .75rem; color: rgba(255,255,255,.85); background: rgba(6,44,94,.45);
  padding: 2px 8px; border-radius: 6px;
}

/* ---------- Bio ---------- */
.bio { position: relative; margin-top: clamp(-90px, -9vw, -60px); z-index: 2; }
.bio__grid {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.bio__quote {
  font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3;
  color: var(--navy); font-weight: 500; position: relative; padding-left: 28px; margin: 0;
  border-left: 4px solid var(--magenta);
}
.bio__text p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--magenta);
  letter-spacing: -.01em; position: relative; padding-bottom: 18px; margin-bottom: 18px;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--blue); }
.section-head--center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-title--light { color: #fff; }
.section-intro { font-size: 1.15rem; color: var(--muted); }
.section-more { margin-top: 44px; text-align: center; }

.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Election en bref ---------- */
.election { padding-top: clamp(56px, 7vw, 90px); }
.election__card {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, #0868c4 55%, var(--blue) 100%);
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-lg);
}
.election__card::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,.07);
}
.election__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.election .section-title { margin-bottom: 0; }
.election .section-title::after { background: var(--magenta); }

.countdown { display: flex; gap: 10px; }
.countdown div {
  min-width: 78px; text-align: center; padding: 12px 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
}
.countdown strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }

.facts { position: relative; list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr .7fr; gap: 0; }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 18px 24px; border-left: 1px solid rgba(255,255,255,.25); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.facts__value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.facts__value--big { font-size: 2.6rem; font-weight: 600; line-height: 1; }
.election__link { position: relative; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }

/* ---------- Action cards ---------- */
.action { background: var(--sand); }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(7,78,161,.03);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.action-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.action-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--blue)); }
.action-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.action-card__top img { width: 52px; height: 52px; padding: 8px; border-radius: 14px; background: var(--sky); flex: none; }
.action-card__top h5 { font-size: 1.05rem; font-weight: 800; color: var(--magenta); line-height: 1.2; }
.action-card__type { font-style: italic; color: var(--blue); margin-bottom: 4px; font-weight: 600; }
.action-card__title { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.action-card > p:not([class]) { color: var(--muted); flex: 1; }
.action-card .link-arrow { margin-top: 18px; align-self: flex-start; }

/* ---------- Priorities ---------- */
.priorities { position: relative; }
.prio {
  position: relative; padding: 36px 30px 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.prio::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--magenta);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.prio:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prio:hover::after { transform: scaleX(1); }
.prio__num {
  position: absolute; right: 22px; top: 14px;
  font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1;
  color: var(--sky); transition: color .3s ease;
}
.prio:hover .prio__num { color: #d3edfb; }
.prio__icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--sky);
  display: grid; place-items: center; margin-bottom: 22px; position: relative;
}
.prio__icon img { width: 56px; height: 56px; object-fit: contain; }
.prio__title { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.prio__tagline { font-style: italic; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.prio p:last-child { color: var(--muted); }

/* ---------- Event ---------- */
.event { background: var(--sand); }
.event-card {
  display: grid; grid-template-columns: 240px 1fr; border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.event-card__date {
  background: linear-gradient(160deg, var(--magenta), #b80064); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 20px; font-family: var(--font-head); text-align: center;
}
.event-card__day { font-size: 5.5rem; font-weight: 600; line-height: .9; }
.event-card__month { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .12em; }
.event-card__year { margin-top: 8px; opacity: .75; letter-spacing: .2em; }
.event-card__body { padding: clamp(28px, 4vw, 48px); }
.event-card__body > .event-card__title { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 20px; }
.event-card__meta { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.event-card__meta li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.event-card__meta svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-card__body > p { color: var(--muted); }
.event-card__note { padding: 14px 18px; background: var(--sky); border-radius: 12px; color: var(--navy) !important; font-weight: 500; margin: 20px 0 28px !important; }

/* ---------- Press ---------- */
.press__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.press .section-head { margin-bottom: 0; }
.press__list { display: grid; gap: 22px; }
.press-item {
  display: block; text-decoration: none; padding: 30px 32px; border-radius: var(--radius);
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.press-item::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(230,0,125,.55); transition: transform .4s ease;
}
.press-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.press-item:hover::after { transform: scale(1.3); }
.press-item__title { display: block; position: relative; z-index: 1; font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; line-height: 1.3; margin-bottom: 18px; }
.press-item__cta { position: relative; z-index: 1; display: inline-flex; gap: .5em; font-weight: 600; color: #9fdcf6; }

/* ---------- Docs ---------- */
.docs { padding-top: 0; }
.doc-card {
  padding: 34px 30px; border-radius: var(--radius); background: var(--sand);
  display: flex; flex-direction: column; transition: background-color .3s ease, transform .3s ease;
}
.doc-card:hover { background: var(--sky); transform: translateY(-4px); }
.doc-card__icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow); }
.doc-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc-card__title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.doc-card > p:not([class]) { color: var(--muted); flex: 1; }
.doc-card .link-arrow { margin-top: 18px; align-self: flex-start; }
.social-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr auto; gap: 32px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.3); }
.site-logo--footer { margin-bottom: 18px; }
.site-logo--footer:hover { text-decoration: none !important; }
.site-footer__social { display: flex; gap: 12px; }
.site-footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); transition: background-color .2s ease, border-color .2s ease; }
.site-footer__social a:hover { background: var(--magenta); border-color: var(--magenta); }
.site-footer__social svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem; color: rgba(255,255,255,.9); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); }
}
@media (max-width: 860px) {
  .hero__grid, .bio__grid, .press__grid { grid-template-columns: 1fr; }
  .hero__portrait { justify-self: center; width: min(82%, 380px); order: -1; margin-bottom: 18px; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__date { flex-direction: row; gap: 14px; padding: 22px; }
  .event-card__day { font-size: 3rem; }
  .event-card__year { margin-top: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .site-logo img { height: 30px; }
  .cards--3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-left: 0 !important; padding: 16px 0 !important; border-top: 1px solid rgba(255,255,255,.25); }
  .facts li:first-child { border-top: 0; }
  .countdown { width: 100%; }
  .countdown div { flex: 1; min-width: 0; padding: 10px 4px; }
  .countdown strong { font-size: 1.5rem; }
  .countdown span { font-size: .62rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; text-align: center; }
  .hero__portrait::before { inset: 14px -14px -14px 14px; }
}

/* =========================================================
   Document pages (postulat / interpellations / flyer)
   ========================================================= */
.doc-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 130px); }
.doc-hero__inner { position: relative; max-width: 900px; }
.doc-back {
  display: flex; width: fit-content; gap: .5em; align-items: center; margin-bottom: 28px;
  color: rgba(255,255,255,.9); text-decoration: none; font-family: var(--font-head); font-weight: 500;
}
.doc-back:hover { color: #fff; text-decoration: underline; }
.doc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 600; color: rgba(255,255,255,.9); }
.doc-tag { background: var(--magenta); color: #fff; padding: .35em .8em; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.doc-hero__title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin-bottom: 22px; }
.doc-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 46em; }

.doc-body { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -50px); padding-bottom: clamp(56px, 8vw, 100px); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.doc-content {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 64px); font-size: 1.12rem; color: var(--muted);
}
.doc-content h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; color: var(--navy); margin: 44px 0 18px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-intro { font-size: 1.22rem; color: var(--ink); }
.doc-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.doc-list li { position: relative; padding-left: 30px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.doc-callout {
  margin: 36px 0 !important; padding: 22px 26px; border-left: 5px solid var(--magenta);
  background: #fdf0f7; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.4;
}
.doc-quote {
  margin: 36px 0; padding: 0 0 0 28px; border-left: 4px solid var(--blue);
  font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; color: var(--navy); font-style: italic;
}
.doc-asks { list-style: none; counter-reset: ask; padding: 0; margin: 0; display: grid; gap: 14px; }
.doc-asks li {
  counter-increment: ask; position: relative; padding: 20px 22px 20px 76px;
  background: var(--sand); border-radius: var(--radius); color: var(--ink);
}
.doc-asks li::before {
  content: counter(ask); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
}
.doc-asks--questions li::before { content: "?"; background: var(--magenta); }
.doc-asks--questions li { font-weight: 600; }
.doc-conclusion { margin-top: 40px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.doc-conclusion h2 { color: #fff; margin-top: 0; }
.doc-conclusion p { color: rgba(255,255,255,.92); }
.doc-conclusion__lead { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: #fff !important; line-height: 1.4; }
.doc-signature { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-signature img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--magenta); }
.doc-signature p { margin: 0; color: var(--muted); }
.doc-signature strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.15rem; }
.doc-signature--light { border-top-color: rgba(255,255,255,.3); }
.doc-signature--light p, .doc-signature--light strong { color: #fff; }

.doc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-download {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.doc-download__icon { width: 56px; height: 56px; border-radius: 16px; background: #fdf0f7; display: grid; place-items: center; margin-bottom: 10px; }
.doc-download__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--magenta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc-download__title { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); margin: 0; }
.doc-download__meta { color: var(--muted); margin: 0 0 16px; }
.doc-download .btn { white-space: normal; }
.doc-download--wide { flex-direction: row; align-items: center; gap: 24px; }
.doc-download--wide > div:nth-child(2) { flex: 1; }
.doc-download--wide .doc-download__icon { margin: 0; flex: none; }
.doc-download--wide .doc-download__meta { margin: 0; }

.doc-related { padding: clamp(56px, 8vw, 100px) 0; background: var(--sand); }
.doc-related .cards { grid-template-columns: repeat(2, 1fr); }
.doc-related .action-card .link-arrow { margin-top: auto; padding-top: 18px; }

/* Flyer page */
.flyer-hero .doc-back { margin-bottom: 22px; }
.flyer-hero__claim { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; margin: 0 0 14px; }
.flyer-stats-wrap { position: relative; z-index: 2; margin-top: clamp(-90px, -9vw, -60px); }
.flyer-stats { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.flyer-stats__kicker { text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--magenta); font-size: 1.3rem; margin-bottom: 24px; }
.flyer-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.flyer-stats li { text-align: center; padding: 8px 16px; border-left: 1px solid var(--line); color: var(--navy); font-family: var(--font-head); }
.flyer-stats li:first-child { border-left: 0; }
.flyer-stats strong { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; color: var(--blue); }
.flyer-stat__pre, .flyer-stat__unit { font-weight: 700; font-size: 1.2rem; }
.flyer-stat__label { display: block; margin-top: 8px; color: var(--muted); font-family: var(--font-body); font-size: 1.05rem; }
.bio__grid--flat { box-shadow: none; padding: 0; }
.bio__text .flyer-tagline { font-family: var(--font-head); font-weight: 800; color: var(--magenta); font-size: 1.3rem; }
.flyer-prios { background: var(--sand); }
.flyer-letter-wrap { padding: clamp(56px, 8vw, 100px) 0 0; }
.flyer-letter-wrap .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.flyer-letter { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.flyer-letter__text { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; }
.flyer-letter__text--strong { font-weight: 700; }
.flyer-vote { background: var(--magenta); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.flyer-vote__date { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.flyer-vote__call { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.flyer-download { margin-top: 0; padding-top: clamp(40px, 6vw, 72px); }

/* Password gate */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, var(--blue) 0%, #0a7fcf 45%, var(--navy) 100%); }
.gate__card { width: min(100%, 420px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px 32px; text-align: center; }
.gate__logo { display: inline-flex; flex-direction: column; align-items: center; padding: 14px 18px; background: var(--blue); color: #fff; margin-bottom: 24px; line-height: 1; }
.gate__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.gate__logo span { font-family: var(--font-head); font-weight: 600; font-size: .75rem; margin-top: 3px; }
.gate h1 { font-size: 1.5rem; font-weight: 800; color: var(--magenta); margin-bottom: 8px; }
.gate p { color: var(--muted); }
.gate form { display: grid; gap: 12px; margin-top: 20px; text-align: left; }
.gate label { font-weight: 600; color: var(--navy); }
.gate input[type=password] { font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; }
.gate input[type=password]:focus { border-color: var(--blue); outline: none; }
.gate .btn { justify-content: center; }
.gate__error { background: #fdf0f7; color: var(--magenta-600) !important; padding: 10px 14px; border-radius: 10px; font-weight: 600; }

@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-aside { position: static; }
  .flyer-letter-wrap .container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .doc-related .cards { grid-template-columns: 1fr; }
  .doc-content { padding: 26px 20px; font-size: 1.05rem; }
  .doc-intro { font-size: 1.12rem; }
  .doc-asks li { padding: 64px 18px 18px; }
  .doc-asks li::before { top: 16px; left: 18px; }
  .flyer-stats ul { grid-template-columns: 1fr; }
  .flyer-stats li { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .flyer-stats li:first-child { border-top: 0; }
  .doc-download--wide { flex-direction: column; align-items: flex-start; }
}
