/* ===== VARIABLES ET RESET ===== */
:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #38a169;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #e53e3e;
    --dark-color: #1a202c;
    --gray: #4a5568;
    --light-gray: #a0aec0;
    --light-color: #f7fafc;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-color: #2d3748;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* ===== NAVIGATION ===== */
header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== BANDEAU DÉFILANT ===== */
.bandeau-actualites {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
}

.bandeau-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.bandeau-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    font-weight: 500;
}

.bandeau-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== BOUTONS ===== */
.hero-buttons .btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 1.1rem;
    /* TOUS LES 3 BOUTONS ONT LE MÊME STYLE QUE btn-primary */
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
}

.hero-buttons .btn:hover {
    background: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.5);
}

/* Suppression des styles différenciés */
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-outline {
    /* Tous héritent du style de base défini ci-dessus */
    background: var(--accent-color);
    color: white;
    border: none;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-outline:hover {
    background: #2f855a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.5);
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header {
    background: var(--light-color);
    text-align: center;
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== CONSTATS SECTION ===== */
.constats-section {
    background: white;
}

.constats-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.constats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.constat-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.constat-item:hover {
    transform: translateY(-5px);
}

.constat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.constat-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.constat-item p {
    color: var(--text-color);
}

/* ===== CALENDRIER ===== */
.calendrier-section {
    background: var(--light-color);
}

.calendrier-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.event-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateY(-3px);
}

.event-item.urgent {
    border-left: 4px solid var(--error-color);
}

.event-date {
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 70px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
}

.event-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-color);
}

/* ===== INFO ÉLECTIONS ===== */
.info-elections {
    background: white;
}

.info-elections h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.info-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--accent-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* ===== PROGRAMME ===== */
/* ===== STYLES SPÉCIFIQUES PROGRAMME ===== */

/* Vision générale - Style carte comme candidat principal */
.vision-generale {
    padding: 4rem 0;
    background: white;
}

.vision-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: var(--light-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.vision-text {
    flex: 2;
}

.vision-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.vision-description p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.vision-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.vision-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-weight: 500;
}

/* Axes du programme - Style grille candidats */
.axes-programme {
    padding: 4rem 0;
    background: var(--light-color);
}

.axes-programme h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.axe-programme {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.axe-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.axe-icon {
    font-size: 3rem;
    background: var(--light-color);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.axe-title h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.axe-title p {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Grille des mesures - Style candidats */
.mesures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.mesure-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s;
    position: relative;
}

.mesure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mesure-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mesure-card p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.mesure-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Budget - Style contact candidat */
.budget-section {
    padding: 4rem 0;
    background: white;
}

.budget-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.budget-content h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.budget-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.budget-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.budget-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.budget-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.engagement-financier {
    margin-top: 2rem;
}

.engagement-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.engagement-box h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Timeline - Style événements */
.timeline-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-color);
}

.timeline-year {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
    height: fit-content;
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Call to action - Style hero */
.cta-programme {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-top: 2rem;
}

/* RESPONSIVE POUR PROGRAMME */
@media (max-width: 768px) {
    .vision-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .vision-text h2 {
        font-size: 2rem;
    }

    .vision-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
        margin: 0 0.5rem;
    }

    .axe-header {
        flex-direction: column;
        text-align: center;
    }

    .axe-title h2 {
        text-align: center;
        font-size: 1.6rem;
    }

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

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-year {
        min-width: auto;
        width: fit-content;
        margin: 0 auto;
    }

    .budget-details {
        grid-template-columns: 1fr;
    }

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

    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .vision-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        margin: 0;
    }

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

    .axe-programme {
        padding: 1.5rem;
    }

    .axe-icon {
        font-size: 2.5rem;
        padding: 0.8rem;
    }

    .mesure-card {
        padding: 1.5rem;
    }

    .mesure-tag {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .budget-content {
        padding: 1.5rem;
    }

    .engagement-box {
        padding: 1.5rem;
    }

    .cta-programme {
        padding: 3rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Animations spécifiques programme */
.axe-programme,
.timeline-item,
.stat-item {
    animation: slideInUp 0.6s ease-out;
}

.mesure-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.mesure-card:nth-child(3n) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2n) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3n) {
    animation-delay: 0.4s;
}

/* ===== CANDIDAT PRINCIPAL ===== */
.candidat-principal {
    padding: 4rem 0;
    background: white;
}

.principal-card {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
    text-align: left;
    background: var(--light-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.photo-container {
    flex-shrink: 0;
}

/* ===== PHOTO KEVIN AGRANDIE ET À GAUCHE ===== */
.main-photo {
    width: 180px !important;
    height: 220px !important;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
    margin-right: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

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

.main-info {
    flex: 1;
}

.main-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* ===== BADGE CANDIDAT MAIRE PLUS GRAND ===== */
.main-info .position,
.badge-candidat {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color)) !important;
    color: white !important;
    padding: 0.8rem 1.8rem !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4) !important;
}

.badge-candidat {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-info h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.age-profession {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.bio {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.bio p {
    margin-bottom: 1rem;
}

.bio strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-candidat {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.contact-info {
    color: var(--text-color);
    font-weight: 500;
}

/* ===== AUTRES CANDIDATS ===== */
.autres-candidats {
    padding: 4rem 0;
    background: var(--light-color);
}

.autres-candidats h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.candidat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.candidat-card:hover {
    transform: translateY(-5px);
}

.candidat-photo {
    width: 120px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary-color);
}

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

.candidat-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.candidat-card .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.candidat-card .info {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.candidat-card .bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .principal-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .main-photo {
        width: 240px;
        height: 280px;
        margin: 0 auto;
    }

    .main-info h2 {
        font-size: 2rem;
    }

    .candidats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .constats-grid,
    .info-grid,
    .programme-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calendrier-events {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

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

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-photo {
        width: 200px;
        height: 240px;
    }

    .candidat-photo {
        width: 100px;
        height: 120px;
    }

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

    .main-info h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

.candidat-card,
.constat-item,
.event-item,
.programme-card {
    animation: slideInUp 0.6s ease-out;
}

.candidat-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.candidat-card:nth-child(3n) {
    animation-delay: 0.2s;
}

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

.page-transition {
    animation: fadeIn 0.5s ease-in;
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.bg-white { background: white; }
.bg-light { background: var(--light-color); }
.bg-primary { background: var(--primary-color); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* ===== PLACEHOLDER IMAGES ===== */
.main-photo img[src*="placeholder"],
.candidat-photo img[src*="placeholder"] {
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.main-photo img[src*="placeholder"]::before,
.candidat-photo img[src*="placeholder"]::before {
    content: "👤";
}

/* ===== PRINT STYLES ===== */
@media print {
    .bandeau-actualites,
    .burger,
    .hero-buttons {
        display: none !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* ===== STYLES SPÉCIFIQUES CONTACT ===== */

/* Actions contact - Style vision générale */
.contact-actions {
    padding: 4rem 0;
    background: white;
}

.contact-actions .container {
    max-width: 1000px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.action-item {
    background: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.action-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.action-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-color);
}

.action-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.action-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Section formulaire - Style candidat principal */
.contact-form-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.form-container h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.form-container > p {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

/* Formulaire - Style uniforme */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--text-color);
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Bouton formulaire */
.contact-form .btn {
    margin-top: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
    min-width: 200px;
}

.contact-form .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 82, 130, 0.3);
}

/* Réponses du formulaire - Style badges */
.form-response {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-response.success {
    background: #d1fae5;
    color: #047857;
    border: 2px solid #10b981;
}

.form-response.error {
    background: #fed7d7;
    color: #dc2626;
    border: 2px solid #ef4444;
}

/* Section infos pratiques - Style axe programme */
.infos-pratiques {
    padding: 4rem 0;
    background: white;
}

.infos-pratiques h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.info-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.info-card p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.info-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* RESPONSIVE POUR CONTACT */
@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .form-container h2 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .action-item {
        padding: 2rem 1.5rem;
    }

    .action-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    .infos-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .info-card,
    .social-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .form-container h2 {
        font-size: 1.6rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
    }

    .contact-form .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: auto;
        width: 100%;
    }

    .action-item {
        padding: 1.5rem;
    }

    .action-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .action-item h3 {
        font-size: 1.2rem;
    }

    .action-item p {
        font-size: 1rem;
    }

    .info-card,
    .social-card {
        padding: 1.5rem;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
}

/* Animations spécifiques contact */
.action-item,
.info-card,
.social-card {
    animation: slideInUp 0.6s ease-out;
}

.action-item:nth-child(2) {
    animation-delay: 0.1s;
}

.action-item:nth-child(3) {
    animation-delay: 0.2s;
}

.form-container {
    animation: slideInUp 0.8s ease-out;
}

/* Validation temps réel */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success-color);
    background: #f0fff4;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--error-color);
    background: #fef2f2;
}

/* Indicateur de champ obligatoire */
.form-group label::after {
    content: " *";
    color: var(--error-color);
    font-weight: bold;
}

.form-group.optional label::after {
    display: none;
}

/* ===== CTA ÉQUIPE - Style programme ===== */
.cta-equipe {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-equipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,20"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: white;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-actions .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-actions .btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
}

.cta-actions .btn-primary:hover {
    background: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.6);
}

/* Responsive pour CTA équipe */
@media (max-width: 768px) {
    .cta-equipe {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cta-equipe {
        padding: 2.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-actions .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===== LOGO NAVIGATION ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

/* Responsive logo */
@media (max-width: 968px) {
    .logo h2 {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 30px;
    }
}

@media (max-width: 768px) {
    .logo h2 {
        display: none;
    }
    
    .logo-img {
        height: 35px;
    }
}

/* Style pour les messages de retour formulaire */
.form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}
/* ===== SECTION RÉSEAUX SOCIAUX ===== */
.social-follow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.social-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.social-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon-wrapper {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.social-link:hover .social-icon-wrapper {
    transform: scale(1.1);
}

.social-icon {
    font-size: 2.5rem;
}

.social-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.social-subtitle {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    opacity: 0.8 !important;
    font-style: italic;
}

/* Couleurs spécifiques */
.social-link.facebook .social-icon-wrapper {
    background: #1877f2;
}

.social-link.facebook .social-icon {
    color: white;
}

.social-link.instagram .social-icon-wrapper {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link.instagram .social-icon {
    color: white;
}

/* RESPONSIVE RÉSEAUX SOCIAUX */
@media (max-width: 768px) {
    .social-follow {
        padding: 3rem 0;
    }
    
    .social-content h2 {
        font-size: 2rem;
    }
    
    .social-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-link {
        flex-direction: row;
        padding: 1rem 2rem;
        min-width: 200px;
        max-width: 250px;
    }
    
    .social-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .social-icon {
        font-size: 1.8rem;
    }
    
    .social-name {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .social-follow {
        padding: 2.5rem 0;
    }
    
    .social-content h2 {
        font-size: 1.8rem;
    }
    
    .social-link {
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
    
    .social-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .social-icon {
        font-size: 1.6rem;
    }
    
    .social-name {
        font-size: 1rem;
    }
}
    .social-link.facebook .social-icon {
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 2rem;
}

/* ===== CTA PROGRAMME AVEC RÉSEAUX SOCIAUX ===== */
.cta-programme .cta-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3rem !important;
    flex-wrap: wrap !important;
}

.cta-programme .social-links {
    display: flex !important;
    gap: 1.5rem !important;
    margin: 0 !important;
}

.cta-programme .social-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s !important;
    padding: 0.5rem !important;
}

.cta-programme .social-link:hover {
    transform: translateY(-5px) !important;
}

.cta-programme .social-icon-wrapper {
    width: 50px !important;
    height: 50px !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s !important;
}

.cta-programme .social-link:hover .social-icon-wrapper {
    background: white !important;
    color: var(--primary-color) !important;
}

.cta-programme .social-icon {
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.cta-programme .social-name {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-programme .cta-actions {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .cta-programme .social-links {
        justify-content: center !important;
    }
}

/* ===== CTA ÉQUIPE AVEC RÉSEAUX SOCIAUX ===== */
.cta-equipe .cta-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.cta-equipe .social-links {
    display: flex !important;
    gap: 1.5rem !important;
    margin: 0 !important;
}

.cta-equipe .social-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s !important;
    padding: 0.5rem !important;
}

.cta-equipe .social-link:hover {
    transform: translateY(-5px) !important;
}

.cta-equipe .social-icon-wrapper {
    width: 50px !important;
    height: 50px !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s !important;
}

.cta-equipe .social-link:hover .social-icon-wrapper {
    background: white !important;
    color: var(--primary-color) !important;
}

.cta-equipe .social-icon {
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.cta-equipe .social-name {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* ===== SÉPARATEUR "OU" ÉQUIPE ===== */
.cta-equipe .cta-separator {
    display: flex !important;
    align-items: center !important;
    margin: 0 1rem !important;
}

.cta-equipe .separator-text {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

/* RESPONSIVE ÉQUIPE */
@media (max-width: 768px) {
    .cta-equipe .cta-actions {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .cta-equipe .social-links {
        justify-content: center !important;
    }
    
    .cta-equipe .cta-separator {
        margin: 0 !important;
    }
}
/* ===== STYLE DES DOMAINES/FONCTIONS ===== */
.candidat-card .fonction {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important; /* Police réduite */
    margin-bottom: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    /* border-bottom: supprimé - plus de surlignage */
    /* padding-bottom: supprimé - plus de surlignage */
    display: inline-block !important;
}

}

/* Alternative si vous voulez un style badge comme "Candidat Maire" */
.candidat-card .fonction-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 0.8rem !important;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.3) !important;
}

/* Style spécifique pour Kevin (candidat maire) */
.candidat-principal .position {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color)) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 3px 10px rgba(56, 161, 105, 0.4) !important;
}

/* ===== RESPONSIVE KEVIN ===== */
@media (max-width: 768px) {
    .candidat-principal .principal-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }
    
    .candidat-principal .main-photo {
        margin: 0 auto 1.5rem auto !important;
        width: 150px !important;
        height: 180px !important;
    }
    
    .badge-candidat,
    .main-info .position {
        font-size: 1.1rem !important;
        padding: 0.7rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .candidat-principal .main-photo {
        width: 130px !important;
        height: 160px !important;
    }
    
    .badge-candidat,
    .main-info .position {
        font-size: 1rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}
/* ===== COMPTES-RENDUS RÉUNIONS ===== */
.comptes-rendus {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.comptes-rendus h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.document-card {
    background: var(--light-color);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.15);
    border-color: var(--primary-color);
}

.document-card.upcoming {
    opacity: 0.7;
    border-style: dashed;
}

.document-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.document-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.document-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.document-actions {
    flex-shrink: 0;
}

.btn-download {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.btn-download:hover {
    background: var(--success-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
}

.file-size {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.btn-disabled {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-align: center;
    min-width: 120px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn.btn-outline {
        order: 3;
    }
}
/* Section Presse */
.presse-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.article-presse {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.source-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.source-logo {
    width: 60px;
    height: auto;
}

.source-details h3 {
    color: #2c5530;
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
}

.publication-date {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0 0 0;
}

.badge-new {
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.article-title {
    color: #2c5530;
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

.article-image {
    text-align: center;
    margin: 25px 0;
}

.article-photo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.partage-article {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 15px;
    }
}
/* Section Invitation Cérémonie */
.invitation-ceremonie {
    padding: 30px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.invitation-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 3px solid #f8d147;
    position: relative;
    z-index: 1;
}

.invitation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.badge-event {
    background: linear-gradient(45deg, #f8d147, #ffd700);
    color: #2c5530;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(248, 209, 71, 0.3);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(248, 209, 71, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 5px 15px rgba(248, 209, 71, 0.5); }
}

.countdown-text {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1em;
    animation: pulse 2s infinite;
}

.invitation-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.invitation-text h2 {
    color: #2c5530;
    font-size: 2.2em;
    margin: 0 0 10px 0;
}

.invitation-text h3 {
    color: #666;
    font-size: 1.3em;
    margin: 0 0 25px 0;
    font-weight: normal;
}

.event-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    border-left: 5px solid #f8d147;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 1.2em;
    width: 25px;
    text-align: center;
}

.invitation-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.invitation-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-size: 1.05em;
}

.diffusion-info {
    background: #e8f5e8;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
}

.diffusion-info p {
    margin: 0;
    color: #155724;
    text-align: center;
}

.flyer-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flyer-container:hover {
    transform: scale(1.02);
}

.flyer-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 2px solid #f8d147;
}

.flyer-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flyer-container:hover .flyer-overlay {
    opacity: 1;
}

.partage-flyer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.social-mini:hover {
    transform: scale(1.1);
}

.social-mini.facebook { background: #1877f2; }
.social-mini.instagram { background: #E4405F; }

/* Responsive */
@media (max-width: 768px) {
    .invitation-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .invitation-actions {
        flex-direction: column;
    }
    
    .invitation-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .invitation-text h2 {
        font-size: 1.8em;
    }
    
    .detail-item {
        font-size: 1em;
    }
}

/* Clic pour agrandir le flyer */
.flyer-image:hover {
    cursor: zoom-in;
}
/* Menu mobile - hamburger */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        height: calc(100vh - 70px);
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .burger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .burger span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .burger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .burger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Logo responsive */
    .logo-img {
        height: 40px;
        width: auto;
    }

    #site-title {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
}

/* ===== RECTANGLES DE MÊME TAILLE ===== */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* 🎯 HAUTEUR FIXE POUR UNIFORMITÉ */
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.document-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.document-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.document-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.document-description {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.document-actions {
    margin-top: auto;
    text-align: center;
}

.btn-download {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-download:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-disabled {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.document-card.upcoming {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .document-card {
        min-height: 250px;
        padding: 1.2rem;
    }
}
/* ===== CORRECTION LOGO CLIQUABLE ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

/* ===== CORRECTION TAILLE EN-TÊTE UNIFORME ===== */
header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* 🎯 HAUTEUR FIXE POUR UNIFORMITÉ */
    min-height: 70px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    /* 🎯 HAUTEUR FIXE */
    height: 70px;
}

.logo {
    /* 🎯 TAILLE FIXE */
    height: 50px;
    display: flex;
    align-items: center;
}

.logo-img {
    /* 🎯 TAILLE UNIFORME */
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
}

#site-title {
    /* 🎯 TAILLE UNIFORME */
    font-size: 1.2rem !important;
    margin: 0 !important;
    white-space: nowrap;
}

/* ===== NAVIGATION ACTIVE - AMÉLIORATION ===== */
.nav-links a.active {
    color: var(--primary-color) !important;
    background: rgba(44, 82, 130, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

/* ===== RESPONSIVE - CORRECTION ===== */
@media (max-width: 768px) {
    nav {
        height: 60px; /* Plus petit sur mobile */
        padding: 0.8rem 1rem;
    }
    
    .logo-img {
        height: 35px !important;
    }

    #site-title {
        font-size: 1rem !important;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-link {
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    #site-title {
        font-size: 0.9rem !important;
        max-width: 150px;
    }
}
/* ===== CORRECTION SPÉCIFIQUE PAGE ÉQUIPE ===== */
body.equipe-page header,
.equipe-page nav,
body:has(.equipe-section) header,
body:has(.equipe-section) nav {
    min-height: 70px !important;
    max-height: 70px !important;
}

body.equipe-page nav,
body:has(.equipe-section) nav {
    height: 70px !important;
    padding: 1rem 2rem !important;
}

body.equipe-page .logo,
body:has(.equipe-section) .logo {
    height: 50px !important;
}

body.equipe-page .logo-img,
body:has(.equipe-section) .logo-img {
    height: 40px !important;
    max-height: 40px !important;
}

body.equipe-page #site-title,
body:has(.equipe-section) #site-title {
    font-size: 1.2rem !important;
    margin: 0 !important;
}

/* Force la taille sur TOUTES les pages */
header {
    min-height: 70px !important;
    max-height: 70px !important;
}

nav {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
}

.logo {
    height: 50px !important;
    max-height: 50px !important;
}

.logo-img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
}

#site-title {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* Mobile - même correction */
@media (max-width: 768px) {
    header {
        min-height: 60px !important;
        max-height: 60px !important;
    }
    
    nav {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0.8rem 1rem !important;
    }
    
    .logo {
        height: 40px !important;
        max-height: 40px !important;
    }
    
    .logo-img {
        height: 35px !important;
        max-height: 35px !important;
    }

    #site-title {
        font-size: 1rem !important;
    }
}
