/* =========================================================
   POUR AUBONNE, OUI LE 14 JUIN
   Site de campagne — votation du 14 juin 2026
   Charte : rouge Aubonne / or / vert Vaud / crème
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* === Charte campagne === */
    /* Aubonne : gueules (rouge) sur or */
    --aubonne-red: #c8102e;
    --aubonne-red-deep: #9a0a23;
    --aubonne-gold: #e8b730;
    --aubonne-gold-soft: #f4d97f;
    --aubonne-gold-pale: #faecc4;

    /* Vaud : sinople (vert) et argent (blanc) */
    --vaud-green: #1f6e3a;
    --vaud-green-deep: #134a26;

    /* Neutres */
    --ink: #1a1f1a;
    --ink-soft: #3d3d3d;
    --paper: #fdf9f0;
    --paper-warm: #f7eed7;
    --rule: #d8cba8;
    --stone: #807865;

    /* Typographie */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Mesures */
    --max-content: 70rem;
    --max-text: 40rem;
    --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---- Bandeau date votation (très visible) ---- */
.vote-banner {
    background: var(--aubonne-red);
    color: var(--paper);
    text-align: center;
    padding: 0.6rem var(--gutter);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.vote-banner strong { font-weight: 700; }
.vote-banner a {
    color: var(--aubonne-gold-soft);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    margin-left: 0.5rem;
}
.vote-banner a:hover { color: var(--paper); }

/* ---- Lien de saut ---- */
.skip-link {
    position: absolute;
    left: -9999px;
    background: var(--ink);
    color: var(--paper);
    padding: 0.75rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* ---- En-tête ---- */
.site-header {
    border-bottom: 3px solid var(--aubonne-red);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(253, 249, 240, 0.95);
}

.header-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 1rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.brand {
    display: block;
    text-decoration: none;
    line-height: 0;
}
.brand img {
    height: 64px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
}
.main-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.is-current {
    color: var(--aubonne-red);
    border-bottom-color: var(--aubonne-gold);
}

/* ---- Conteneurs ---- */
.container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-narrow {
    max-width: var(--max-text);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- HERO d'accueil — version campagne ---- */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
    background:
        radial-gradient(circle at 90% 10%, var(--aubonne-gold-pale) 0%, transparent 55%),
        radial-gradient(circle at 5% 95%, rgba(31, 110, 58, 0.08) 0%, transparent 45%),
        var(--paper);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20px; right: -40px;
    width: 220px; height: 220px;
    background: var(--aubonne-red);
    transform: rotate(45deg);
    opacity: 0.04;
    z-index: 0;
}
.hero-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--paper);
    background: var(--aubonne-red);
    padding: 0.4rem 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 18ch;
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--aubonne-red);
    font-weight: 600;
}
.hero-lede {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 50ch;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
    line-height: 1;
}
.btn-primary {
    background: var(--aubonne-red);
    color: var(--paper);
    border-color: var(--aubonne-red);
}
.btn-primary:hover {
    background: var(--aubonne-red-deep);
    border-color: var(--aubonne-red-deep);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-secondary:hover {
    background: var(--ink);
    color: var(--paper);
}
.btn-share {
    background: var(--vaud-green);
    color: var(--paper);
    border-color: var(--vaud-green);
}
.btn-share:hover {
    background: var(--vaud-green-deep);
    border-color: var(--vaud-green-deep);
}

/* ---- 4 raisons (cartes principales sur l'accueil) ---- */
.reasons {
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.reasons-header {
    text-align: center;
    margin-bottom: 3rem;
}
.reasons-eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--aubonne-red);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.reasons-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.reason-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--aubonne-red);
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.reason-card:nth-child(2) { border-top-color: var(--vaud-green); }
.reason-card:nth-child(3) { border-top-color: var(--aubonne-gold); }
.reason-card:nth-child(4) { border-top-color: var(--aubonne-red-deep); }

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 31, 26, 0.08);
}
.reason-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 0.5rem;
}
.reason-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.reason-card:nth-child(1) .reason-title { color: var(--aubonne-red); }
.reason-card:nth-child(2) .reason-title { color: var(--vaud-green-deep); }
.reason-card:nth-child(3) .reason-title { color: var(--aubonne-red-deep); }
.reason-card:nth-child(4) .reason-title { color: var(--aubonne-red-deep); }

.reason-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.reason-text strong { color: var(--ink); font-weight: 600; }

/* ---- Bandeau soirée d'information ---- */
.event-strip {
    background: var(--vaud-green-deep);
    color: var(--paper);
    padding: clamp(2rem, 4vw, 3rem) 0;
    background-image:
        linear-gradient(135deg, var(--vaud-green-deep), var(--vaud-green));
}
.event-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}
.event-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--aubonne-gold-soft);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.event-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.event-title em { font-style: italic; color: var(--aubonne-gold-soft); }
.event-meta {
    font-size: 0.95rem;
    opacity: 0.92;
}
.event-meta strong { font-weight: 600; }
.event-action .btn {
    background: var(--aubonne-gold);
    color: var(--ink);
    border-color: var(--aubonne-gold);
}
.event-action .btn:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}
@media (max-width: 640px) {
    .event-inner { grid-template-columns: 1fr; }
}

/* ---- Section titre courant ---- */
.page-title {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    background-image: radial-gradient(circle at 95% 0%, var(--aubonne-gold-pale) 0%, transparent 40%);
}
.page-title-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--aubonne-red);
    font-weight: 600;
    margin-bottom: 0.85rem;
}
.page-title h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    line-height: 1.1;
    color: var(--ink);
    max-width: 22ch;
    letter-spacing: -0.015em;
}
.page-title h1 em { font-style: italic; color: var(--aubonne-red); }
.page-title-lede {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin-top: 1rem;
    max-width: 50ch;
}

/* ---- Sections génériques ---- */
section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
section + section:not(.event-strip):not(.share-strip) { border-top: 1px solid var(--rule); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: var(--aubonne-red-deep);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* ---- Texte courant ---- */
.prose p {
    margin-bottom: 1.1rem;
    max-width: var(--max-text);
}
.prose p.lede {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
.prose h2 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--aubonne-red-deep);
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
}
.prose h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 1.8rem 0 0.6rem;
}
.prose ul, .prose ol {
    margin: 0 0 1.1rem 1.4rem;
    max-width: var(--max-text);
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a {
    color: var(--aubonne-red);
    text-decoration: underline;
    text-decoration-color: var(--aubonne-gold);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}
.prose a:hover { color: var(--aubonne-red-deep); }

/* ---- Chiffres clés ---- */
.key-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin: 2rem 0 0;
}
.figure {
    background: var(--paper);
    padding: 1.75rem 1.5rem;
}
.figure-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    color: var(--aubonne-red);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 0.4rem;
}
.figure-unit { font-size: 0.85em; color: var(--stone); font-weight: 400; }
.figure-label { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }

/* ---- Encadrés ---- */
.callout {
    background: var(--aubonne-gold-pale);
    border-left: 3px solid var(--aubonne-gold);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    max-width: var(--max-text);
}
.callout-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--aubonne-red-deep);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.callout p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.callout p:last-child { margin-bottom: 0; }

.callout--green {
    background: rgba(31, 110, 58, 0.08);
    border-left-color: var(--vaud-green);
}
.callout--green .callout-title { color: var(--vaud-green-deep); }

/* ---- Frise chronologique ---- */
.timeline {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--rule);
}
.timeline-item {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(7rem - 5px);
    top: 1.4rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--aubonne-gold);
    border: 2px solid var(--paper);
    z-index: 1;
}
.timeline-item.is-current::before {
    background: var(--aubonne-red);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2);
}
.timeline-item.is-future::before {
    background: var(--paper);
    border: 2px solid var(--rule);
}
.timeline-date {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--aubonne-red);
    text-align: right;
    padding-top: 0.1rem;
}
.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--aubonne-red-deep);
    margin-bottom: 0.3rem;
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0;
    max-width: 50ch;
}
@media (max-width: 540px) {
    .timeline::before { left: 5rem; }
    .timeline-item { grid-template-columns: 5rem 1fr; gap: 1rem; }
    .timeline-item::before { left: calc(5rem - 5px); }
    .timeline-date { font-size: 0.82rem; }
}

/* ---- FAQ / objections ---- */
.faq-item {
    border-bottom: 1px solid var(--rule);
    padding: 1.25rem 0;
}
.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    line-height: 1;
    color: var(--aubonne-red);
    transition: transform 0.2s;
    flex-shrink: 0;
    font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--aubonne-red-deep); }
.faq-item-body {
    padding-top: 0.85rem;
    color: var(--ink-soft);
    max-width: var(--max-text);
}
.faq-item-body p { margin-bottom: 0.7rem; }
.faq-item-body p:last-child { margin-bottom: 0; }

/* ---- Carte SVG du projet ---- */
.map-figure {
    margin: 2rem 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 1.5rem;
}
.map-figure svg { width: 100%; height: auto; display: block; }
.map-caption {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-top: 0.75rem;
    text-align: center;
}
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin: 1rem 0 0;
    padding: 1rem 1.5rem;
    background: var(--paper-warm);
    font-size: 0.88rem;
}
.legend-item { display: flex; align-items: center; gap: 0.5rem; }
.legend-swatch { width: 24px; height: 4px; flex-shrink: 0; }

/* ---- Comité — grille des membres ---- */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 2rem 0;
}
.committee-grid li {
    list-style: none;
    padding: 0.5rem 0.75rem;
    border-left: 2px solid var(--aubonne-gold);
    background: var(--paper-warm);
    font-size: 0.92rem;
    color: var(--ink);
}

.contact-card {
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    padding: 1.75rem;
    margin: 2rem 0;
    max-width: 30rem;
}
.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--aubonne-red-deep);
    margin-bottom: 0.75rem;
}
.contact-card p { font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-card a {
    color: var(--aubonne-red);
    text-decoration: none;
    font-weight: 500;
}
.contact-card a:hover { text-decoration: underline; }

/* ---- Bandeau partage ---- */
.share-strip {
    background: var(--paper-warm);
    padding: clamp(2rem, 4vw, 3rem) 0;
    text-align: center;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.share-strip h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--aubonne-red-deep);
    margin-bottom: 0.5rem;
}
.share-strip p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
}
.share-btn:hover {
    background: var(--aubonne-red);
    color: var(--paper);
    border-color: var(--aubonne-red);
}
.share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Liens documents ---- */
.doc-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.doc-list li {
    border-bottom: 1px dotted var(--rule);
    padding: 0.85rem 0;
}
.doc-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--ink);
}
.doc-list a:hover { color: var(--aubonne-red); }
.doc-list-title { font-weight: 500; }
.doc-list-meta {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--stone);
    flex-shrink: 0;
}

/* ---- Glossaire ---- */
.glossary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem 2.5rem;
    margin-top: 1.5rem;
}
.glossary dt {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--aubonne-red-deep);
    margin-bottom: 0.25rem;
}
.glossary dd {
    margin-left: 0;
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---- Pied de page ---- */
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: 3rem 0 2rem;
    margin-top: 0;
}
.footer-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand img { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-inner h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
    color: var(--aubonne-gold-soft);
    letter-spacing: 0.04em;
}
.footer-inner p, .footer-inner li {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(253, 249, 240, 0.82);
}
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 0.4rem; }
.footer-inner a {
    color: var(--aubonne-gold-soft);
    text-decoration: none;
}
.footer-inner a:hover { color: var(--paper); text-decoration: underline; }
.footer-meta {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(253, 249, 240, 0.15);
    padding-top: 1.2rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(253, 249, 240, 0.55);
    font-style: italic;
}
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---- Pagination ---- */
.page-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 3rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
}
.page-nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.3;
}
.page-nav a:hover { color: var(--aubonne-red); }
.page-nav-label {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--stone);
    margin-bottom: 0.2rem;
}
.page-nav-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--aubonne-red-deep);
}
.page-nav .next { text-align: right; }

/* ---- Question référendaire mise en avant ---- */
.referendum-q {
    background: var(--aubonne-gold-pale);
    border-top: 3px solid var(--aubonne-gold);
    border-bottom: 3px solid var(--aubonne-gold);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    max-width: var(--max-text);
}
.referendum-q-label {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--aubonne-red);
    margin-bottom: 0.5rem;
}
.referendum-q-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

/* =========================================================
   HAMBURGER — bouton (caché par défaut, montré en mobile)
   ========================================================= */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 60;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}
.nav-toggle-bar {
    display: block;
    height: 2.5px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================================
   MOBILE — ≤ 820 px
   ========================================================= */
@media (max-width: 820px) {

    /* ---- Header / hamburger ---- */
    /* IMPORTANT : on neutralise le backdrop-filter, sinon il crée un
       containing block qui piège le menu fixed à l'intérieur du header */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--paper);
    }
    .header-inner {
        padding: 0.7rem var(--gutter);
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    .brand img { height: 48px; }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--paper);
        gap: 0;
        padding: 5.5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 55;
        overflow-y: auto;
    }
    .main-nav.is-open {
        transform: translateX(0);
    }
    .main-nav a {
        display: block;
        width: 100%;
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1.1rem 0.5rem;
        border-bottom: 1px solid var(--rule);
        border-top: 0;
        color: var(--ink);
    }
    .main-nav a:first-child {
        border-top: 1px solid var(--rule);
    }
    .main-nav a:hover,
    .main-nav a:focus,
    .main-nav a.is-current {
        color: var(--aubonne-red);
        border-bottom-color: var(--aubonne-red);
    }

    /* Empêche le scroll du body quand le menu est ouvert */
    body.nav-open { overflow: hidden; }

    /* ---- Vote banner ---- */
    .vote-banner {
        font-size: 0.78rem;
        padding: 0.55rem 0.85rem;
        line-height: 1.35;
    }
    .vote-banner a { display: inline-block; margin-left: 0; }

    /* ---- Hero ---- */
    .hero { padding: 2.5rem 0 2.25rem; }
    .hero::before {
        width: 130px;
        height: 130px;
        top: -30px;
        right: -50px;
    }
    .hero h1 { max-width: none; }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .hero-cta .btn { justify-content: center; width: 100%; }

    /* ---- Buttons ---- */
    .btn {
        padding: 0.95rem 1.25rem;
        font-size: 0.95rem;
    }

    /* ---- Reasons (grille) ---- */
    .reasons { padding: 2.5rem 0; }
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .reason-card { padding: 1.4rem 1.25rem; }

    /* ---- Event strip ---- */
    .event-inner { gap: 1.25rem; }
    .event-action .btn { width: 100%; justify-content: center; }

    /* ---- Page title ---- */
    .page-title h1 { max-width: none; }

    /* ---- Key figures ---- */
    .key-figures {
        grid-template-columns: 1fr 1fr;
    }
    .figure { padding: 1.25rem 1rem; }

    /* ---- FAQ ---- */
    .faq-item summary { font-size: 1rem; }

    /* ---- Doc list ---- */
    .doc-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .doc-list-meta { font-size: 0.8rem; }

    /* ---- Référendum question ---- */
    .referendum-q { padding: 1.1rem 1.2rem; }
    .referendum-q-text { font-size: 1.05rem; }

    /* ---- Callouts ---- */
    .callout { padding: 1rem 1.1rem; }

    /* ---- Share ---- */
    .share-buttons { gap: 0.6rem; }
    .share-btn {
        flex: 1 1 calc(50% - 0.3rem);
        justify-content: center;
        padding: 0.75rem 0.85rem;
    }

    /* ---- Légende carte ---- */
    .legend { gap: 0.75rem 1.25rem; padding: 0.85rem 1rem; }

    /* ---- Page nav ---- */
    .page-nav { flex-direction: column; }
    .page-nav .next { text-align: left; }
}

/* =========================================================
   PETIT MOBILE — ≤ 420 px (ajustements fins)
   ========================================================= */
@media (max-width: 420px) {
    :root { --gutter: 1rem; }
    body { font-size: 16px; }
    .brand img { height: 42px; }
    .hero-eyebrow { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
    .key-figures { grid-template-columns: 1fr; }
    .share-btn { flex: 1 1 100%; }
    .reason-card { padding: 1.2rem 1rem; }
}
