/* ========================================
   VARIABLES CSS - MODIFIER LES COULEURS ICI
   ======================================== */
:root {
    /* Couleurs principales - Modifier selon vos préférences */
    --color-primary: #1a4d8f;      /* Bleu principal */
    --color-primary-dark: #0f3566;
    --color-primary-light: #4a7fc1;
    --color-accent: #d4af37;       /* Or/accent */
    --color-accent-light: #f0d887;
    
    /* Couleurs neutres */
    --color-dark: #1a1a1a;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --color-white: #ffffff;
    
    /* Typographie */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Espacement */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   BANDEAU ANNONCE (temporaire)
   ======================================== */
.announcement-banner {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8941f 100%);
    color: var(--color-white);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.announcement-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.announcement-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.announcement-text strong {
    font-weight: 700;
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

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

.no-wrap {
    white-space: nowrap;
}


/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 60px; /* Augmenté pour éviter le chevauchement avec le bandeau */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    display: grid;
    grid-template-columns: 180px 1fr 50px;
    align-items: center;
    padding: 0.5rem var(--spacing-md);
    gap: 2rem;
    min-height: 85px;
}

.logo {
    justify-self: start;
    display: flex;
    align-items: center;
    height: 85px;
}

.logo-img {
    height: 80px; /* Légèrement réduit pour plus de marge */
    width: auto;
    display: block;
    margin: auto 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem; /* Augmenté l'espacement entre les items */
    justify-content: center; /* Menu centré */
    margin: 0;
}

.nav-menu a {
    font-weight: 600;
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    position: relative;
    font-size: 1.3rem; /* Augmenté de 1.1rem à 1.3rem */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION AVEC VIDÉO
   ======================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 160px; /* Ajusté pour bandeau (60px) + navbar (85px) + marge (15px) */
    overflow: hidden;
    /* Effet parallax désactivé - fond fixe pour éviter de recouvrir les textes */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.hero-text {
    animation: slideInLeft 1s ease;
}

.election-badge {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem; /* Augmenté de 1rem 1.5rem */
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: var(--spacing-md);
}

.election-badge span {
    color: var(--color-accent-light);
    font-size: 1.2rem; /* Augmenté de 0.9rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px; /* Augmenté de 1px */
}

.election-badge strong {
    color: var(--color-white);
    font-size: 1.6rem; /* Augmenté de 1.2rem */
    font-weight: 700;
    margin-top: 0.5rem; /* Augmenté de 0.25rem */
    letter-spacing: 1px; /* Ajouté pour plus d'espace */
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem); /* Augmenté de 3-6rem à 3.5-7rem */
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.8rem; /* Augmenté de 1.5rem à 1.8rem */
    color: var(--color-white);
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-location {
    font-size: 1.8rem; /* Augmenté de 1.4rem à 1.8rem */
    color: var(--color-accent-light);
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    letter-spacing: 2px; /* Ajouté pour plus d'espacement */
    margin-top: 0.5rem; /* Ajouté pour séparer du sous-titre */
}

/* VIDÉO EN VEDETTE */
.video-featured {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: var(--spacing-md); /* Réduit le padding pour plus d'espace vidéo */
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease;
    max-width: 100%; /* Prend toute la largeur disponible */
    width: 100%;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    border-radius: 16px; /* Coins plus arrondis */
    overflow: hidden;
    background: var(--color-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    color: var(--color-white);
    text-align: center;
    margin-top: var(--spacing-sm);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-white));
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(20px); opacity: 1; }
}

/* ========================================
   SECTION INTRODUCTION
   ======================================== */
.intro-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem); /* Augmenté de 2-3.5rem à 2.5-4rem */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.intro-text {
    font-size: 1.35rem; /* Augmenté de 1.2rem à 1.35rem */
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.intro-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(26, 77, 143, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(26, 77, 143, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-size: 1rem; /* Augmenté de 0.9rem à 1rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-badge {
    background: var(--color-accent);
}

blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: var(--spacing-sm);
    font-style: italic;
    color: var(--color-gray);
    margin-top: var(--spacing-sm);
}

/* ========================================
   SECTION CANDIDAT AVEC PHOTO
   ======================================== */
.candidate-section {
    padding: var(--spacing-lg) 0; /* Réduit de xl à lg */
    background: var(--color-white);
}

/* Deux cartes côte à côte */
.candidate-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md); /* Réduit de lg à md */
    max-width: 1400px;
    margin: 0 auto;
}

/* CARTE CHEF DE FILE */
.candidate-card-main {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 77, 143, 0.15);
    overflow: hidden;
}

.candidate-photo {
    position: relative;
    width: 100%;
}

.candidate-photo img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px; /* Limite la hauteur de la photo */
    object-fit: cover;
}

.candidate-badge-large {
    position: absolute;
    top: 15px; /* Réduit de 20px à 15px */
    left: 15px; /* Réduit de 20px à 15px */
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem; /* Réduit */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem; /* Réduit de 1.1rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.candidate-info-compact {
    padding: var(--spacing-sm) var(--spacing-md); /* Réduit le padding vertical */
}

.candidate-name {
    font-family: var(--font-display);
    font-size: 2.2rem; /* Réduit de 2.5rem */
    color: var(--color-primary);
    margin-bottom: 0.25rem; /* Réduit */
    font-weight: 900;
}

.candidate-title {
    font-size: 1.1rem; /* Réduit de 1.2rem */
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-xs); /* Réduit */
}

.candidate-description {
    font-size: 1rem; /* Réduit de 1.1rem */
    color: var(--color-gray);
    line-height: 1.6; /* Réduit de 1.8 */
}

.candidate-description p {
    margin-bottom: 0.5rem; /* Réduit */
}

/* CARTE SOUTENU PAR */
.candidate-card-support {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-white) 100%);
    padding: var(--spacing-md); /* Réduit de lg à md */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-badge-top {
    margin-bottom: var(--spacing-sm); /* Réduit de md à sm */
}

.candidate-card-support h3 {
    font-family: var(--font-display);
    font-size: 2.2rem; /* Réduit de 2.5rem */
    color: var(--color-dark);
    margin-bottom: 0.25rem; /* Réduit */
}

.support-role {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem; /* Réduit de 1.2rem */
    margin-bottom: var(--spacing-sm); /* Réduit de md à sm */
}

.support-quote {
    border-left: none;
    padding: 0;
    font-style: italic;
    font-size: 1.05rem; /* Réduit de 1.2rem */
    color: var(--color-gray);
    line-height: 1.6; /* Réduit de 1.8 */
}

/* ========================================
   BOUTONS PDF
   ======================================== */
.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    margin-top: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(26, 77, 143, 0.2);
}

.pdf-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.3);
}

.pdf-btn svg {
    flex-shrink: 0;
}

.pdf-btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
}

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

/* ========================================
   BOUTON BUREAU DE VOTE
   ======================================== */
.voting-cta {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.btn-bureau-vote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-normal);
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(26, 77, 143, 0.25);
}

.btn-bureau-vote:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(26, 77, 143, 0.35);
}

.btn-bureau-vote svg {
    flex-shrink: 0;
}


/* ========================================
   PHOTO DE GROUPE DE CAMPAGNE
   ======================================== */
.team-photo-section {
    padding: var(--spacing-lg) 0; /* Réduit de xl à lg */
    background: var(--color-light-gray);
}

.team-photo-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
    max-height: 70vh; /* Limite la hauteur à 70% de l'écran */
}

.team-photo {
    width: 100%;
    height: 100%;
    max-height: 70vh; /* Limite la hauteur */
    display: block;
    object-fit: contain; /* Garde le ratio et s'adapte à l'écran */
}

.team-photo-caption {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--spacing-sm) var(--spacing-md); /* Réduit le padding vertical */
    text-align: center;
}

.team-photo-caption p {
    color: var(--color-white);
    font-size: 1.1rem; /* Réduit de 1.3rem */
    font-weight: 600;
    margin: 0;
}

/* ========================================
   SECTION ÉQUIPE
   ======================================== */
.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Augmenté de 2-3rem à 2.5-3.5rem */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.35rem; /* Augmenté de 1.2rem à 1.35rem */
    color: var(--color-dark);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3/4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    cursor: pointer;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7) 60%, transparent);
    padding: 1rem;
    transform: translateY(0); /* Toujours visible par défaut */
    transition: var(--transition-normal);
}

.team-member:hover .team-member-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.85) 60%, transparent);
}

.team-member-overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000; /* Très élevé pour passer au-dessus du bandeau */
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex !important; /* Force l'affichage */
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.lightbox-image {
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.lightbox-age {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lightbox-description {
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.lightbox-description p {
    margin-bottom: 0.75rem;
}

/* Sections repliables pour mobile */
.lightbox-section {
    margin-bottom: 1rem;
}

.lightbox-section-title {
    display: none; /* Caché sur desktop */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.lightbox-section-content {
    color: var(--color-gray);
}

/* Sur mobile, séparer les infos en sections */
@media (max-width: 768px) {
    .lightbox-section-title {
        display: block;
    }
    
    .lightbox-description {
        font-size: 0.95rem;
    }
    
    /* Espacement entre les sections */
    .lightbox-section {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid #eee;
    }
    
    .lightbox-section:last-child {
        border-bottom: none;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: var(--color-white);
    cursor: pointer;
    z-index: 100001; /* Au-dessus de la lightbox */
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: none;
    font-size: 30px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
    border-radius: 8px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   SECTION PROGRAMME
   ======================================== */
.program-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.program-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.program-section .section-header h2 {
    color: var(--color-primary);
}

.program-section .section-subtitle {
    color: #1a1a1a;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.program-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 2rem; /* Augmenté de 1.8rem à 2rem */
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.program-card p {
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 1.15rem; /* Ajouté pour plus de lisibilité */
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-light-gray);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter-form button {
    white-space: nowrap;
}

/* ========================================
   SECTION BUREAUX DE VOTE (CENTRÉ)
   ======================================== */
.voting-section-simple {
    background: #f8fafc;
    padding: var(--spacing-xl) 0;
}

.voting-centered {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.voting-map-centered {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .voting-map-centered {
        border-radius: 12px;
        border-width: 2px;
    }
}

/* ========================================
   SECTION RÉSEAUX SOCIAUX (MISE EN AVANT)
   ======================================== */
.social-callout-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.social-callout-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.social-callout-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-callout-content h2 {
    color: white;
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.social-callout-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

.social-callout-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.facebook-btn {
    background: #1877F2;
    color: white;
}

.facebook-btn:hover {
    background: #0d65d9;
}

.instagram-btn {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: white;
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #c72958, #a82a6e, #6d2e94);
}

@media (max-width: 768px) {
    .social-callout-content h2 {
        font-size: 2rem;
    }
    
    .social-callout-text {
        font-size: 1rem;
    }
    
    .social-callout-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-btn {
        justify-content: center;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* Bandeau annonce mobile */
    .announcement-banner {
        padding: 0.5rem 0.25rem;
    }
    
    .announcement-content {
        gap: 0;
        padding: 0 0.5rem;
    }
    
    .announcement-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .announcement-text strong {
        font-weight: 600;
    }
    
    .navbar {
        top: 50px; /* Réduit car le bandeau est plus petit */
    }
    
    .hero {
        padding-top: 130px; /* Ajusté pour le bandeau plus petit */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .video-featured {
        order: 1;
        padding: var(--spacing-sm); /* Padding réduit sur mobile pour maximiser la vidéo */
        max-width: 100%;
        width: 100%;
    }
    
    .video-caption {
        font-size: 0.95rem;
    }
    
    .nav-container {
        grid-template-columns: 1fr 50px;
        padding: 0.5rem var(--spacing-sm);
    }
    
    .logo-img {
        height: 70px; /* Réduit pour mobile */
    }
    
    .nav-menu {
        position: fixed;
        top: 130px; /* Ajusté pour la nouvelle hauteur de navbar */
        left: -100%;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-normal);
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .burger {
        display: flex;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    /* Jean-Philippe (premier membre) seul et centré */
    .team-member:first-child {
        grid-column: 1 / -1;
        max-width: 150px;
        margin: 0 auto 1rem auto;
    }
    
    /* Réduire la taille des noms pour mieux voir les visages */
    .team-member-overlay {
        padding: 0.4rem 0.5rem;
    }
    
    .team-member-overlay span {
        font-size: 0.65rem;
        font-weight: 500;
        line-height: 1.2;
    }
    
    /* Photo de groupe mobile */
    .team-photo-section {
        padding: var(--spacing-md) 0;
    }
    
    .team-photo-container {
        max-height: 60vh; /* Plus petit sur mobile */
        margin: 0 var(--spacing-sm);
    }
    
    .team-photo {
        max-height: 60vh;
        object-fit: contain;
    }
    
    .team-photo-caption {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .team-photo-caption p {
        font-size: 0.95rem;
    }
    
    .election-badge {
        padding: 1rem 1.5rem;
    }
    
    .election-badge span {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .election-badge strong {
        font-size: 1.3rem;
    }
    
    .hero-location {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    /* Cartes candidat en colonne sur mobile */
    .candidate-cards-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm); /* Réduit l'espace entre les cartes */
    }
    
    .candidate-section {
        padding: var(--spacing-md) 0; /* Réduit encore plus sur mobile */
    }
    
    .candidate-photo img {
        max-height: 300px; /* Limite la hauteur de la photo sur mobile */
    }
    
    .candidate-info-compact {
        padding: var(--spacing-sm); /* Réduit le padding */
    }
    
    .candidate-name {
        font-size: 1.8rem; /* Réduit de 2rem */
    }
    
    .candidate-title {
        font-size: 1rem; /* Réduit de 1.1rem */
    }
    
    .candidate-description {
        font-size: 0.95rem; /* Réduit de 1rem */
        line-height: 1.5;
    }
    
    .candidate-card-support {
        padding: var(--spacing-sm); /* Réduit le padding */
    }
    
    .candidate-card-support h3 {
        font-size: 1.8rem; /* Réduit de 2rem */
    }
    
    .support-role {
        font-size: 1rem;
    }
    
    .support-quote {
        font-size: 1rem; /* Réduit de 1.1rem */
        line-height: 1.5;
    }
    
    /* Boutons PDF sur mobile */
    .pdf-btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
        width: 100%;
        justify-content: center;
    }
    
    .pdf-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Bouton bureau vote mobile */
    .btn-bureau-vote {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    /* Responsive lightbox */
    .lightbox.active {
        padding: 0;
    }
    
    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        margin: 0;
    }
    
    .lightbox-image {
        max-height: 50vh;
        min-height: 300px;
    }
    
    .lightbox-info {
        padding: 1.5rem;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    .lightbox-info h2 {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .lightbox-age {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .lightbox-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .lightbox-description p,
    .lightbox-description br {
        margin-bottom: 0.5rem;
    }
    
    .lightbox-close {
        position: fixed;
        top: 10px;
        right: 15px;
        font-size: 35px;
        background: rgba(0, 0, 0, 0.7);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    .lightbox-prev,
    .lightbox-next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.5rem 0.75rem;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* ========================================
   PROGRAMME - DESIGN MODERNE
   ======================================== */

/* Classe utilitaire pour empêcher le retour à la ligne */
.no-break {
    white-space: nowrap;
}

/* Section Programme sur l'accueil */
.program-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.program-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(26, 77, 143, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header h2 {
    color: var(--color-primary);
}

.section-subtitle {
    color: var(--color-dark);
}

.program-themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.program-theme-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 77, 143, 0.08);
    display: flex;
    flex-direction: column;
}

.program-theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

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

.theme-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.theme-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.15;
}

.theme-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(26, 77, 143, 0.2);
}

.program-theme-card:hover .theme-icon {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(26, 77, 143, 0.3);
}

.theme-icon svg {
    stroke: var(--color-white);
}

.program-theme-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.theme-description {
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.theme-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.theme-points li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-dark);
    line-height: 1.5;
    font-weight: 500;
}

.theme-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.theme-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 77, 143, 0.1);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.program-theme-card:hover .theme-cta {
    color: var(--color-accent);
    padding-left: 10px;
}

.theme-cta svg {
    transition: transform 0.3s ease;
}

.program-theme-card:hover .theme-cta svg {
    transform: translateX(5px);
}

/* Couleurs spécifiques par thème */
.card-finances .theme-icon {
    background: linear-gradient(135deg, #1a4d8f 0%, #4a7fc1 100%);
}

.card-finances h3 {
    color: #1a4d8f;
}

.card-solidarite .theme-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #c39bd3 100%);
}

.card-solidarite .theme-number {
    background: linear-gradient(135deg, #9b59b6 0%, #c39bd3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-solidarite h3 {
    color: #8e44ad;
}

.card-solidarite .theme-cta {
    color: #9b59b6;
}

.card-solidarite:hover .theme-cta {
    color: #c39bd3;
}

.card-environnement .theme-icon {
    background: linear-gradient(135deg, #27ae60 0%, #52be80 100%);
}

.card-environnement .theme-number {
    background: linear-gradient(135deg, #27ae60 0%, #52be80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-environnement h3 {
    color: #1e8449;
}

.card-environnement .theme-cta {
    color: #27ae60;
}

.card-environnement:hover .theme-cta {
    color: #52be80;
}

/* Bouton principal */
.program-full-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.btn-xl {
    padding: 1.3rem 3.5rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(26, 77, 143, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 77, 143, 0.35);
}

/* ========================================
   SECTION TÉLÉCHARGEMENTS PDF - DESIGN PREMIUM
   ======================================== */

.pdf-download-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.pdf-download-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 77, 143, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pdf-download-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pdf-download-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pdf-download-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pdf-download-header p {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.pdf-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.pdf-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pdf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.pdf-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(26, 77, 143, 0.2);
    transition: all 0.4s ease;
}

.pdf-card:hover .pdf-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(26, 77, 143, 0.3);
}

.pdf-card-icon svg {
    stroke: var(--color-white);
}

.pdf-card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pdf-theme-label {
    display: inline-block;
    background: rgba(26, 77, 143, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.pdf-card-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.pdf-card-content p {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.pdf-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.25);
}

.pdf-download-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 77, 143, 0.35);
}

.pdf-download-btn svg {
    transition: transform 0.3s ease;
}

.pdf-download-btn:hover svg {
    transform: translateY(3px);
}

/* Variantes couleurs par thème */
.card-theme-1 .pdf-card-icon {
    background: linear-gradient(135deg, #1a4d8f 0%, #4a7fc1 100%);
}

.card-theme-1 .pdf-theme-label {
    background: rgba(26, 77, 143, 0.1);
    color: #1a4d8f;
}

.card-theme-1 .pdf-download-btn {
    background: #1a4d8f;
}

.card-theme-1 .pdf-download-btn:hover {
    background: #0f3566;
}

.card-theme-2 .pdf-card-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #c39bd3 100%);
}

.card-theme-2 .pdf-theme-label {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.card-theme-2 .pdf-card-content h3 {
    color: #9b59b6;
}

.card-theme-2 .pdf-download-btn {
    background: #9b59b6;
}

.card-theme-2 .pdf-download-btn:hover {
    background: #8e44ad;
}

.card-theme-3 .pdf-card-icon {
    background: linear-gradient(135deg, #27ae60 0%, #52be80 100%);
}

.card-theme-3 .pdf-theme-label {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.card-theme-3 .pdf-card-content h3 {
    color: #27ae60;
}

.card-theme-3 .pdf-download-btn {
    background: #27ae60;
}

.card-theme-3 .pdf-download-btn:hover {
    background: #1e8449;
}

/* Page programme.html */
.program-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.program-hero-content {
    position: relative;
    z-index: 1;
}

.program-hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.program-hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

.program-toc {
    padding: 5rem 0;
    background: var(--color-light-gray);
}

.program-toc h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.toc-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--color-primary);
}

.toc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.toc-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.2;
    line-height: 1;
}

.toc-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.toc-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.program-theme {
    padding: 5rem 0;
}

.program-theme:nth-child(even) {
    background: var(--color-light-gray);
}

.theme-header {
    text-align: center;
    margin-bottom: 4rem;
}

.theme-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.25);
}

.theme-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.theme-intro {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.theme-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-pdf-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.25);
}

.theme-pdf-btn svg {
    transition: transform 0.3s ease;
}

.theme-pdf-btn:hover svg {
    transform: translateY(2px);
}

.theme-download-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.theme-poster-btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.theme-poster-btn:hover {
    background: #b8941f;
    border-color: #b8941f;
}

.program-content {
    max-width: 900px;
    margin: 0 auto;
}

.program-pillar {
    margin-bottom: 4rem;
}

.program-pillar h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--color-accent);
    font-weight: 700;
}

.program-pillar h4 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin: 2.5rem 0 1.2rem;
    font-weight: 600;
}

.program-pillar > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--color-dark);
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.program-list li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1.3rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.program-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.4rem;
}

.program-list li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.program-highlight {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 4rem 0;
    border-left: 6px solid var(--color-accent);
}

.program-highlight h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.program-highlight h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 2.5rem 0 1.2rem;
    font-weight: 600;
}

.program-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.program-cta h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.program-cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .program-section {
        padding: 4rem 0;
    }

    .program-themes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .program-theme-card {
        padding: 2rem;
    }

    .theme-number {
        font-size: 2.5rem;
    }

    .theme-icon {
        width: 56px;
        height: 56px;
    }

    .theme-icon svg {
        width: 40px;
        height: 40px;
    }

    .program-theme-card h3 {
        font-size: 1.3rem;
    }

    .btn-xl {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
    }

    .pdf-download-section {
        padding: 4rem 0;
    }

    .pdf-download-header h2 {
        font-size: 2rem;
    }

    .pdf-download-header p {
        font-size: 1rem;
    }

    .pdf-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pdf-card {
        padding: 2rem;
    }

    .pdf-card-icon {
        width: 70px;
        height: 70px;
    }

    .pdf-card-icon svg {
        width: 40px;
        height: 40px;
    }

    .pdf-card-content h3 {
        font-size: 1.3rem;
    }

    .program-hero-content h1 {
        font-size: 2.2rem;
    }

    .program-hero-subtitle {
        font-size: 1.1rem;
    }

    .toc-grid {
        grid-template-columns: 1fr;
    }

    .theme-header h2 {
        font-size: 2rem;
    }

    .program-pillar h3 {
        font-size: 1.6rem;
    }

    .program-highlight {
        padding: 2rem;
    }

    .program-cta h2 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .theme-card-header {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .theme-number {
        font-size: 2rem;
    }

    .program-hero {
        padding: 4rem 0 3rem;
    }
}




/* ========================================
   SECTION VIDÉO PRÉSENTATION CANDIDAT
   ======================================== */

.video-presentation-section {
    padding: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.video-presentation-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.video-presentation-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: transparent;
    position: relative;
}

.video-presentation-left::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.video-presentation-left h2 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--color-white);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.video-presentation-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: transparent;
}

.youtube-short-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.youtube-short-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

@media (max-width: 968px) {
    .video-presentation-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .video-presentation-left {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .video-presentation-left h2 {
        font-size: 3rem;
    }
    
    .video-presentation-right {
        padding: 3rem 2rem;
    }
    
    .youtube-short-container {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .video-presentation-left {
        padding: 2.5rem 1.5rem;
    }
    
    .video-presentation-left h2 {
        font-size: 2.5rem;
    }
    
    .video-presentation-right {
        padding: 2rem 1rem;
    }
}

/* Bouton CTA sous vidéo YouTube */
.video-cta-button {
    text-align: center;
    margin-top: 2rem;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
    background: #b8941f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-accent svg {
    transition: transform 0.3s ease;
}

.btn-accent:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .btn-accent {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .video-cta-button {
        padding: 0 1rem;
    }
    
    .btn-accent {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   CORRECTIONS MOBILE - COULEURS COHÉRENTES
   ======================================== */

@media (max-width: 768px) {
    /* S'assurer que les couleurs restent cohérentes */
    .program-section .section-header h2 {
        color: var(--color-primary) !important;
    }
    
    .program-section .section-subtitle {
        color: #1a1a1a !important;
    }
    
    .video-presentation-section {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    }
    
    .video-presentation-left h2 {
        color: var(--color-white) !important;
    }
    
    .btn-accent {
        background: var(--color-accent) !important;
        color: var(--color-white) !important;
    }
}

/* ========================================
   SECTION RÉUNIONS DE QUARTIER
   ======================================== */

.reunions-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.reunions-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.reunions-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.reunions-header p {
    font-size: 1.2rem;
    color: var(--color-dark);
    line-height: 1.8;
}

.reunions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.reunions-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reunions-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.reunions-card-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8941f 100%);
    color: var(--color-dark);
    border: none;
}

.reunions-card-accent h3,
.reunions-card-accent p {
    color: var(--color-dark);
}

.reunions-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(26, 77, 143, 0.3);
}

.reunions-card-accent .reunions-icon {
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reunions-icon svg {
    stroke: var(--color-white);
}

.reunions-card-accent .reunions-icon svg {
    stroke: var(--color-accent);
}

.reunions-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.reunions-card p {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-reunions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 77, 143, 0.2);
}

.btn-reunions:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 77, 143, 0.35);
}

.btn-reunions-primary {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.btn-reunions-primary:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-reunions svg {
    transition: transform 0.3s ease;
}

.btn-reunions:hover svg {
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .reunions-section {
        padding: 4rem 0;
    }
    
    .reunions-header h2 {
        font-size: 2.2rem;
    }
    
    .reunions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reunions-card {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .reunions-header h2 {
        font-size: 1.8rem;
    }
    
    .reunions-header p {
        font-size: 1rem;
    }
    
    .reunions-card {
        padding: 2rem;
    }
    
    .reunions-icon {
        width: 80px;
        height: 80px;
    }
    
    .reunions-card h3 {
        font-size: 1.5rem;
    }
    
    .btn-reunions {
        width: 100%;
        justify-content: center;
    }
}
