/* ============================================
   Site Campagne - Meme approche que Budget
   HTML/CSS statique, pas de build
   ============================================ */

:root {
    /* Palette extraite du rendu de images/banner.svg (violet -> corail -> jaune -> vert -> rose) */
    --violet: #942DAC;
    --violet-fonce: #6A1F7E;
    --jaune: #FFEC00;
    --jaune-fonce: #C9B800;
    --orange: #E84A3C;
    --orange-fonce: #C43528;
    --primary: #EA1B75;
    --primary-light: #F04D96;
    --primary-dark: #B8145C;
    --primary-light-bg: #FCE8F1;
    --palette-vert: #3FA87A;
    --palette-vert-clair: #5BC49A;
    --ecolvert: #4FB281;
    --fdmmauve: #942DAC;
    --prgyellow: #FFEC00;
    --gradient-palette: linear-gradient(
        to right,
        var(--violet) 0%,
        var(--orange) 26%,
        var(--jaune) 48%,
        var(--palette-vert) 72%,
        var(--primary) 100%
    );
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-tap-highlight-color: rgba(234, 27, 117, 0.15);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Titre page pour accessibilite / SEO (banniere deja lisible a l'ecran) */
.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;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 16px 20px;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    max-width: none;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
    text-decoration: none;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
    padding-right: 12px;
}

/* Menu horizontal */
.nav-horizontal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
}

.nav-elec {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.header-election {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    max-width: 200px;
}

.nav-inscription-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    white-space: nowrap;
    background: #fff;
    transition: background 0.15s, color 0.15s;
}

.nav-inscription-btn:hover {
    background: var(--primary-light-bg);
    color: var(--primary-dark);
}

@media (min-width: 769px) {
    .nav-elec {
        padding-right: 16px;
        margin-right: 4px;
        border-right: 1px solid var(--gray-200);
    }

    .header-election {
        max-width: none;
    }
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Fond blanc : evite la bande grise (body gray-50) entre le header fixe et la banniere */
.main-wrap {
    padding-top: 64px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
    overflow-x: hidden;
    background: #fff;
}

main {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero : meme ratio que banner.svg (viewBox 1500 x 360) pour eviter le zoom cover qui coupe les cotes */
.hero-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1500 / 360;
    min-height: 160px;
    overflow: hidden;
    background: #fff;
}

.hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 0;
}

.hero-palette-bar {
    height: 6px;
    background: var(--gradient-palette);
}

/* Boutons hero sous la bande coloree */
.hero-cta-band {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0 24px;
}

.hero-cta-band .container {
    text-align: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: transform 0.2s, opacity 0.2s;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.hero-cta-secondary {
    margin-top: 14px;
    text-align: center;
}

.hero-cta-electoral-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    line-height: 1.3;
}

.hero-cta-electoral-note {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.92;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary {
    background: var(--jaune);
    color: #2a2200;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    background: var(--jaune-fonce);
    color: #1a1500;
    transform: translateY(-1px);
}

/* 2e couleur du degrade (apres jaune) */
.btn-secondary {
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--orange-fonce);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--orange-fonce);
    color: #fff;
    border-color: #9A2419;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-light-bg);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Sections */
.section {
    padding: 60px 0;
    background: white;
    scroll-margin-top: 96px;
}

.section-alt {
    background: var(--gray-50);
}

.section h2 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-intro {
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: none;
    width: 100%;
    text-align: justify;
    hyphens: auto;
}

/* Programme (inspire example_program) */
.programme-section .container {
    max-width: 960px;
    width: 100%;
}

.programme-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--gradient-palette);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.programme-subtitle:empty {
    display: none;
}

.programme-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: none;
    width: 100%;
    text-align: justify;
    hyphens: auto;
}

.programme-intro {
    background: var(--primary-light-bg);
    padding: 28px 32px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.programme-intro p {
    color: var(--gray-800);
    margin-bottom: 12px;
    text-align: justify;
    hyphens: auto;
}

.programme-intro p:last-child {
    margin-bottom: 0;
}

.programme-list li {
    text-align: justify;
    hyphens: auto;
}

.programme-download {
    margin-bottom: 36px;
}

.btn-download {
    background: var(--primary);
    color: white;
}

.btn-download:hover {
    background: var(--primary-dark);
    color: white;
}

.programme-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar {
    padding: 28px 24px;
    border-radius: var(--radius);
}

.pillar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar p {
    font-size: 1rem;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
}

.pillar-1 {
    background: var(--jaune);
    color: #3d3200;
}
.pillar-1 h3, .pillar-1 p { color: #3d3200; }

.pillar-2 {
    background: var(--orange);
    color: #fff;
}
.pillar-2 h3, .pillar-2 p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pillar-3 {
    background: var(--primary);
    color: white;
}
.pillar-3 h3, .pillar-3 p {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Programme - propositions (style cartes moderne) */
.programme-propositions {
    display: none;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.propositions-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.propositions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.proposition-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.proposition-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(234, 27, 117, 0.08);
}

.proposition-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-palette);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.proposition-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-800);
    text-align: justify;
    hyphens: auto;
}

/* Equipe - tetes de liste (mises en avant) */
.equipe-tetes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.equipe-tete {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.equipe-tete-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gray-100);
    overflow: hidden;
}

.equipe-tete-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipe-tete-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light-bg) 0%, var(--fdmmauve) 30%, var(--ecolvert) 100%);
    opacity: 0.9;
}

.equipe-tete-body {
    padding: 28px 24px;
    flex: 1;
}

.equipe-tete-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.2;
}

.equipe-tete-role {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 14px;
}

.equipe-tete-bio {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    hyphens: auto;
}

/* Equipe - vignettes (reste de l'equipe) */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.equipe-vignette {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.equipe-vignette-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-100);
    overflow: hidden;
}

.equipe-vignette-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipe-vignette-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light-bg) 0%, var(--gray-100) 100%);
}

.equipe-vignette-body {
    padding: 20px;
    flex: 1;
}

.equipe-vignette-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.equipe-vignette-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.equipe-vignette-bio {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
    text-align: justify;
    hyphens: auto;
}

/* Cards (generiques) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.card h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card p {
    color: var(--gray-700);
    font-size: 0.9375rem;
}

/* Agenda */
.agenda-list {
    list-style: none;
}

.agenda-list li,
.agenda-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.agenda-list li:last-child {
    border-bottom: none;
}

.agenda-item-head {
    font-size: 1rem;
    line-height: 1.45;
    text-align: justify;
    hyphens: auto;
}

.agenda-detail {
    margin: 12px 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
    max-width: none;
    width: 100%;
    text-align: justify;
    hyphens: auto;
}

.agenda-links {
    margin: 10px 0 0;
    font-size: 0.9375rem;
}

.agenda-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.agenda-list a:hover {
    text-decoration: underline;
}

.agenda-events-cta-wrap {
    margin: 0 0 24px;
}

.agenda-events-btn {
    display: inline-flex;
}

/* FAQ */
#faq-intro:empty {
    display: none;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.faq-summary {
    padding: 16px 44px 16px 18px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.45;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
}

.faq-item[open] .faq-summary::after {
    content: "-";
}

.faq-answer {
    padding: 0 18px 16px;
    border-top: 1px solid var(--gray-100);
}

.faq-answer p {
    margin: 12px 0 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-700);
    text-align: justify;
    hyphens: auto;
}

/* Impact elections consulaires */
.impact-consulaires-body {
    max-width: none;
    width: 100%;
}

.impact-consulaires-body p {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
}

.impact-consulaires-body p:last-child {
    margin-bottom: 0;
}

.impact-consulaires-body strong {
    font-weight: 700;
    color: var(--gray-900);
}

.impact-consulaires-diagrams {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
    max-width: none;
    width: 100%;
}

.impact-diagram-figure {
    margin: 0;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.impact-diagram-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Second schema (chiffres) : meme largeur que le premier */
.impact-diagram-chiffres {
    width: 100%;
    max-width: none;
}

/* Contact */
#contact .section-intro,
#contact #contact-content {
    max-width: none;
    width: 100%;
    text-align: justify;
    hyphens: auto;
}

#contact a {
    color: var(--primary);
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--palette-vert);
    color: rgba(255, 255, 255, 0.9);
    padding: 24px 0;
    font-size: 0.875rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.footer-social-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-social-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Bandeau partage fixe en bas */
.share-bandeau {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--gradient-palette);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.share-bandeau-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 8px 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.bandeau-spacer {
    flex: 1;
    min-width: 0;
}

.bandeau-election {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bandeau-share-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.share-label {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-right: 2px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transition: background 0.2s;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.45);
}

.share-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.share-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-logo {
    max-width: 280px;
    width: auto;
    height: auto;
    display: block;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-vertical {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
    }

    .nav-vertical.is-open {
        transform: translateX(0);
    }

    .main-wrap {
        margin-left: 0;
        padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    }

    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Menu hamburger : la nav horizontale ne doit plus etre inline (chevauchement logo) */
    .nav-horizontal {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        margin: 0;
        background: #fff;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        z-index: 200;
    }

    .nav-horizontal.is-open {
        display: flex;
    }

    .nav-horizontal .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid var(--gray-100);
        border-left: 3px solid transparent;
    }

    .nav-horizontal .nav-link:last-child {
        border-bottom: none;
    }

    .nav-horizontal .nav-link.active {
        border-bottom-color: var(--gray-100);
        border-left-color: var(--primary);
    }

    .nav-horizontal .nav-elec {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 12px;
        margin: 0;
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
        gap: 12px;
    }

    .header-election {
        max-width: none;
        font-size: 0.875rem;
    }

    .nav-inscription-btn {
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.875rem;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

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

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Bandeau partage : 2 lignes (date puis partage) pour eviter chevauchement sur iPhone */
    .share-bandeau-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        row-gap: 10px;
        padding: 10px 12px;
    }

    .bandeau-spacer {
        display: none;
    }

    .bandeau-election {
        order: 1;
        text-align: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        width: 100%;
    }

    .bandeau-share-wrap {
        order: 2;
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .share-label {
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .hero-cta-band {
        padding: 16px 0 20px;
    }

    .section {
        padding: 40px 0;
    }
}
