/* ═══════════════════════════════════════════════════
   historique.css – Pastef Mbayène
   ═══════════════════════════════════════════════════ */

:root {
    --rouge:       #D10000;
    --rouge-sombre:#9A0000;
    --vert:        #007A3D;
    --vert-clair:  #00A652;
    --blanc:       #FFFFFF;
    --gris:        #F5F5F0;
    --gris-mid:    #E8E8E2;
    --gris-sombre: #1a1a1a;
    --texte:       #2c2c2c;
    --texte-doux:  #555;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--blanc);
    color: var(--texte);
    overflow-x: hidden;
}

/* ── UTILITAIRES ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-tag {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rouge);
    margin-bottom: 12px;
}

.divider {
    width: 56px; height: 4px;
    background: linear-gradient(90deg, var(--rouge), var(--vert));
    border-radius: 4px;
    margin: 16px auto 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--gris-sombre);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-header h2 em {
    font-style: normal;
    color: var(--vert);
}

.section-header p {
    font-size: 16px;
    font-weight: 300;
    color: var(--texte-doux);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1),
                transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible     { opacity: 1; transform: none; }
.reveal-delay-1     { transition-delay: .15s; }
.reveal-delay-2     { transition-delay: .3s;  }
.reveal-delay-3     { transition-delay: .45s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    background: rgba(209,0,0,.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0,0,0,.25);
    animation: slideDown .7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-emblem {
    width: 42px; height: 42px;
    background: var(--vert);
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 19px; font-weight: 900;
    color: var(--blanc);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
    50%      { box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--blanc);
    letter-spacing: .4px;
}

nav { display: flex; gap: 4px; }

nav a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color .2s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; right: 50%;
    height: 2px;
    background: var(--blanc);
    transition: left .3s, right .3s;
}

nav a:hover,
nav a.active { color: var(--blanc); }
nav a:hover::after,
nav a.active::after { left: 14%; right: 14%; }

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--blanc);
    border-radius: 2px;
    transition: transform .35s, opacity .35s, width .35s;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
    display: none;
    position: fixed; inset: 0;
    background: rgba(209,0,0,.97);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .35s, transform .35s;
    pointer-events: none;
}
.mobile-nav.open { opacity: 1; transform: none; pointer-events: all; }
.mobile-nav a {
    color: var(--blanc);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 30px; font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background .2s, transform .2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.12); transform: scale(1.05); }
.mobile-nav-footer {
    position: absolute; bottom: 32px;
    font-size: 12px; color: rgba(255,255,255,.35);
    letter-spacing: 2px; text-transform: uppercase;
}

/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(150deg,
            rgba(0,122,61,.88) 0%,
            rgba(26,26,26,.85) 45%,
            rgba(209,0,0,.8) 100%),
        url('')
        center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
}

@keyframes bgZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.hero-particles {
    position: absolute; inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0%   { transform: translateY(110vh) rotate(0deg);   opacity: 0; }
    8%   { opacity: .28; }
    92%  { opacity: .28; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* Large decorative year */
.hero-year {
    position: absolute;
    bottom: -30px; right: -20px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(140px, 20vw, 280px);
    font-weight: 900;
    color: rgba(255,255,255,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-content {
    position: relative; z-index: 2;
    padding: 0 24px;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.92);
    font-size: 12px; font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 22px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeUp .8s .2s both;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    color: var(--blanc);
    line-height: 1.05;
    margin-bottom: 22px;
    animation: fadeUp .8s .4s both;
}

.hero-content h1 em {
    font-style: italic;
    color: #7DFF9B;
}

.hero-content > p {
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 300;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    margin-bottom: 50px;
    animation: fadeUp .8s .6s both;
}

.hero-scroll {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    animation: fadeUp .8s 1s both;
}

.hero-scroll span {
    font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.scroll-arrow {
    width: 24px; height: 24px;
    border-right: 2px solid rgba(255,255,255,.35);
    border-bottom: 2px solid rgba(255,255,255,.35);
    transform: rotate(45deg);
    animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%,100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(7px); }
}

/* ══════════════════════════════════════════
   FONDATION
══════════════════════════════════════════ */
.section-fondation {
    padding: 110px 0;
    background: var(--blanc);
}

.fondation-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 80px;
}

.fondation-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.date-card {
    background: var(--rouge);
    color: var(--blanc);
    border-radius: 24px;
    padding: 40px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 60px rgba(209,0,0,.35);
    animation-fill-mode: both;
}

.date-card:hover { transform: translateY(-6px); transition: transform .3s; }

.date-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: .85;
    margin: 6px 0 4px;
}

.date-year {
    display: block;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: .65;
}

.fondation-deco {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(0,122,61,.12);
    bottom: -40px; right: -20px;
    z-index: 0;
    animation: morphing 9s ease-in-out infinite;
}

@keyframes morphing {
    0%,100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    50%      { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

.fondation-text p.section-tag { text-align: left; }

.fondation-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    color: var(--gris-sombre);
    line-height: 1.25;
    margin-bottom: 22px;
}

.fondation-text h2 em {
    font-style: normal;
    color: var(--vert);
}

.fondation-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--texte-doux);
    margin-bottom: 18px;
}

.fondation-text p strong { color: var(--texte); font-weight: 600; }

/* ══════════════════════════════════════════
   COORDINATEURS
══════════════════════════════════════════ */
.section-coordinateurs {
    padding: 100px 0;
    background: var(--gris);
    position: relative;
    overflow: hidden;
}

.section-coordinateurs::before {
    content: '';
    position: absolute;
    top: -80px; left: -80px;
    width: 300px; height: 300px;
    background: rgba(209,0,0,.05);
    border-radius: 50%;
}

.coord-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.coord-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    align-items: stretch;
}

.coord-line {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coord-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.coord-dot--past {
    background: rgba(209,0,0,.35);
    border: 3px solid var(--rouge);
}

.coord-dot--current {
    background: var(--vert);
    border: 3px solid var(--vert-clair);
    box-shadow: 0 0 0 6px rgba(0,122,61,.15);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 0 6px rgba(0,122,61,.15); }
    50%      { box-shadow: 0 0 0 12px rgba(0,122,61,.05); }
}

.coord-connector {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, var(--rouge), var(--vert));
    margin: 4px 0;
    opacity: .3;
}

.coord-card {
    background: var(--blanc);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}

.coord-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}

.coord-card--past { border-left: 4px solid rgba(209,0,0,.4); }
.coord-card--current { border-left: 4px solid var(--vert); }

.coord-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.coord-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(209,0,0,.12);
    color: var(--rouge);
    display: grid; place-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 16px; font-weight: 700;
    flex-shrink: 0;
}

.coord-avatar--current {
    background: rgba(0,122,61,.12);
    color: var(--vert);
}

.coord-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gris-sombre);
    margin-bottom: 4px;
}

.coord-period {
    font-size: 12px;
    color: var(--texte-doux);
    font-weight: 500;
    letter-spacing: .5px;
}

.coord-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.coord-badge--past {
    background: rgba(209,0,0,.08);
    color: var(--rouge);
}

.coord-badge--current {
    background: rgba(0,122,61,.1);
    color: var(--vert);
}

.coord-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--texte-doux);
}

.coord-card p strong { color: var(--texte); font-weight: 600; }

.coord-qualities {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.coord-qualities span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(0,122,61,.08);
    color: var(--vert);
    border: 1px solid rgba(0,122,61,.15);
}

/* ══════════════════════════════════════════
   PARCOURS ELECTORAL
══════════════════════════════════════════ */
.section-electoral {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.electoral-bg {
    position: absolute; inset: 0;
    background: var(--gris-sombre);
}

.section-electoral .container { position: relative; z-index: 1; }

.elections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.election-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s, background .3s, box-shadow .3s;
}

.election-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--rouge), var(--vert));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}

.election-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.election-card:hover::before { transform: scaleX(1); }

.election-year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.election-icon { font-size: 36px; margin-bottom: 14px; }

.election-rank {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 14px;
}

.election-rank--5 { color: rgba(255,255,255,.5); }
.election-rank--2 { color: #FFD700; }
.election-rank--1 { color: #7DFF9B; }

.election-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--blanc);
    margin-bottom: 12px;
    line-height: 1.3;
}

.election-card p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
    margin-bottom: 20px;
}

.election-bar {
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    overflow: hidden;
}

.election-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--rouge), rgba(255,255,255,.4));
    border-radius: 4px;
    transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

.election-bar-fill--win {
    background: linear-gradient(90deg, var(--vert), #7DFF9B);
}

.election-card.bar-animated .election-bar-fill {
    width: var(--w);
}

/* Progression track */
.progression {
    text-align: center;
}

.progression-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 32px;
}

.progression-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.progression-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

.prog-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.3);
}

.prog-dot--win {
    background: var(--vert-clair);
    border-color: #7DFF9B;
    box-shadow: 0 0 14px rgba(0,166,82,.5);
    animation: dotPulse 2s ease-in-out infinite;
}

.prog-rank {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--blanc);
}

.prog-year {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.4);
}

.progression-line {
    flex: 1;
    min-width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(0,166,82,.5));
    margin-top: -20px;
}

/* ══════════════════════════════════════════
   ORGANISATION
══════════════════════════════════════════ */
.section-organisation {
    padding: 110px 0;
    background: var(--blanc);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 70px;
}

.org-card {
    background: var(--gris);
    border-radius: 18px;
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,.05);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.org-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--vert), var(--vert-clair));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}

.org-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0,0,0,.1); }
.org-card:hover::after { transform: scaleX(1); }

.org-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(0,122,61,.1);
    border-radius: 16px;
    display: grid; place-items: center;
    margin-bottom: 20px;
    transition: transform .3s;
}

.org-card:hover .org-icon-wrap { transform: rotate(-8deg) scale(1.1); }

.org-icon { font-size: 32px; }

.org-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gris-sombre);
    margin-bottom: 12px;
}

.org-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--texte-doux);
}

.org-card p strong { color: var(--texte); font-weight: 600; }

/* Citation */
.citation {
    background: var(--vert);
    border-radius: 20px;
    padding: 52px 60px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.citation::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,166,82,.2), rgba(0,122,61,.4));
}

.citation-mark {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    line-height: .7;
    color: rgba(255,255,255,.12);
    position: absolute;
    top: 20px; left: 30px;
    pointer-events: none;
}

.citation p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.2vw, 26px);
    font-style: italic;
    color: var(--blanc);
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto 28px;
    position: relative; z-index: 1;
}

.citation footer {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.citation footer strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--blanc);
    letter-spacing: .5px;
}

.citation footer span {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
    background: var(--rouge);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before, .cta-band::after {
    content: 'PASTEF';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 170px;
    font-weight: 900;
    color: rgba(255,255,255,.05);
    top: 50%; transform: translateY(-50%);
    pointer-events: none;
    letter-spacing: 18px;
}
.cta-band::before { left: -40px; }
.cta-band::after  { right: -40px; }

.cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 48px);
    color: var(--blanc);
    margin-bottom: 16px;
    position: relative; z-index: 1;
}

.cta-band p {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    position: relative; z-index: 1;
}

.btn-white {
    display: inline-block;
    background: var(--blanc);
    color: var(--rouge);
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    letter-spacing: .5px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    position: relative; z-index: 1;
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.3); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
    background: var(--vert);
    color: var(--blanc);
    padding: 50px 60px 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    margin-bottom: 28px;
}

.footer-brand p {
    font-size: 14px;
    font-weight: 300;
    opacity: .7;
    max-width: 240px;
    line-height: 1.7;
    margin-top: 10px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 10px;
    transition: color .2s, transform .2s;
}

.footer-links a:hover { color: var(--blanc); transform: translateX(4px); }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    opacity: .55;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .fondation-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .fondation-visual { justify-content: center; }
    .fondation-text p.section-tag { text-align: center; }
    .fondation-text h2 { text-align: center; }
    .progression-track { gap: 4px; }
    .progression-line { min-width: 20px; }
}

@media (max-width: 768px) {
    header { padding: 14px 20px; }
    nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .logo-name { font-size: 16px; }
    .container { padding: 0 20px; }
    .section-fondation,
    .section-coordinateurs,
    .section-electoral,
    .section-organisation { padding: 70px 0; }
    .cta-band { padding: 60px 24px; }
    footer { padding: 40px 20px 24px; }
    .citation { padding: 40px 28px; }
    .coord-item { grid-template-columns: 28px 1fr; gap: 14px; }
    .coord-card { padding: 22px 20px; }
    .coord-badge { display: none; }
    .elections-grid { grid-template-columns: 1fr 1fr; }
    .progression-track { flex-direction: column; gap: 16px; }
    .progression-line { width: 2px; height: 28px; min-width: unset; margin: 0; }
}

@media (max-width: 480px) {
    .elections-grid { grid-template-columns: 1fr; }
    .date-day { font-size: 64px; }
}