/* ==========================================
   PRESIDENTIAL CAMPAIGN WEBSITE
   Design System & Core Styles
   ========================================== */

/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */
:root {
    /* Color Palette - Presidential & Premium */
    --primary-blue: rgb(32, 83, 150);

    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --secondary-green: #059669;
    --secondary-green-light: #10b981;
    --accent-gold: #FFCC00;
    --accent-gold-light: #fbbf24;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Typography */

    --font-primary: Georgia, "Times New Roman", serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width-content: 1200px;
    --max-width-wide: 1400px;
    --header-height: 80px;
}




/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
}

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



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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}


/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-blue-light);
}

a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-wide {
    max-width: var(--max-width-wide);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: 6rem 0;
}

/* ==========================================
   GRID SYSTEM
   ========================================== */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   FLEXBOX UTILITIES
   ========================================== */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.gap-xl {
    gap: var(--spacing-xl);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-2xl);
}

/* Hero Slider Styles */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.hero-slider {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    /* Always opaque in horizontal slider */
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    animation: kenBurns 20s linear infinite alternate;
}

.slide-content {
    color: white;
    z-index: 10;
    max-width: 900px;
}

.slide h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-family: var(--font-heading);
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.slide p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--white);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Entrance Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .animate-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Ken Burns Effect */
@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* Slider Nav Dots */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
    }

    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }

    .prev-arrow {
        left: 15px;
    }

    .next-arrow {
        right: 15px;
    }
}

/* Sections alignment after full-screen hero */
#manifesto {
    padding-top: var(--spacing-3xl);
}

/* ===== Navigation - Desktop & Mobile ===== */

/* Base Navigation Styles (Desktop) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-menu>a {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.nav-menu>a:hover,
.nav-menu>a.active {
    color: var(--primary-blue);
    background-color: var(--gray-50);
}

/* Dropdown Container */
.dropdown {
    position: relative;
}

.nav-link-row>a {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.nav-link-row>a:hover {
    color: var(--primary-blue);
    background-color: var(--gray-50);
}

/* Dropdown Content (Desktop) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-sm);
    z-index: 1000;
    flex-direction: column;
}

.dropdown-content a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: var(--gray-50);
    color: var(--primary-blue);
    padding-left: calc(var(--spacing-lg) + 0.5rem);
}

/* Desktop accordion behavior (click-based, not hover) */
.dropdown.active .dropdown-content {
    display: flex;
}

@media (min-width: 769px) {

    /* Hide mobile-only elements on desktop */
    .mobile-toggle-btn,
    .mobile-only-link {
        display: none !important;
    }

    .nav-link-row {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    /* Make the main link in nav-link-row clickable for accordion */
    .nav-link-row>a {
        cursor: pointer;
        flex-grow: 1;
    }

    /* Add black chevron indicator on desktop */
    .nav-link-row>a::after {
        content: '▼';
        font-size: 0.7em;
        margin-left: 0.35rem;
        color: #000;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    /* Rotate chevron when dropdown is active */
    .dropdown.active .nav-link-row>a::after {
        transform: rotate(180deg);
    }

    /* Center navigation and ensure space between logo/button */
    nav[aria-label="Navigation principale"] {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 0 2rem;
        /* Add padding to prevent touching */
    }
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: var(--spacing-sm);
}

.menu-toggle:hover {
    opacity: 0.8;
}

/* ===== Mobile Navigation (One Bénin Style) ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    /* Menu principal vertical fixe */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        border-top: 1px solid #d1d5db;
        z-index: 999;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
        align-items: stretch;
        gap: 0;
    }

    .nav-menu.show {
        display: flex;
    }

    /* Ligne de navigation (Lien + Bouton carré) */
    .nav-link-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Liens simples (direct children) */
    .nav-menu>a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        text-transform: uppercase;
        width: 100%;
        background-color: transparent;
        border-radius: 0;
        color: var(--primary-blue);
        font-weight: 600;
    }

    .nav-menu>a:hover {
        background-color: #f8f9fa;
    }

    /* Liens dans les nav-link-row */
    .nav-link-row>a {
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 600;
        text-decoration: none;
        flex-grow: 1;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        color: var(--primary-blue);
    }

    .nav-link-row>a:hover {
        background-color: transparent;
    }

    /* BOUTON TOGGLE CARRÉ (Style One Bénin) */
    .mobile-toggle-btn {
        width: 32px;
        height: 32px;
        background-color: rgb(32, 83, 150);
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        border-radius: 3px;
        cursor: pointer;
        transition: background-color 0.3s;
        flex-shrink: 0;
    }

    .mobile-toggle-btn i {
        font-size: 12px;
    }

    /* État Actif (Ouvert) */
    .dropdown.active .mobile-toggle-btn {
        background-color: gold;
        color: rgb(32, 83, 150);
    }

    /* Contenu du dropdown sur mobile (Accordéon) */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: #f9f9f9;
        display: none;
        opacity: 1;
        transform: none;
        padding: 0;
        margin: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        font-size: 14px;
        padding: 12px 20px 12px 40px;
        color: #555;
        text-transform: uppercase;
        border-bottom: 1px solid #eee;
        font-weight: normal;
    }

    .dropdown-content a:hover {
        background-color: #e9ecef;
        padding-left: 40px;
    }
}

/* ==========================================
   ORGANIGRAMME SECTION
   ========================================== */

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-green), var(--secondary-green-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #047857, var(--secondary-green));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.card-header {
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.card-body {
    margin-bottom: var(--spacing-lg);
}

.card-footer {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

/* Glassmorphism Card */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.form-error {
    color: var(--error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

.form-checkbox,
.form-radio {
    margin-right: var(--spacing-sm);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-blue);
}

.text-secondary {
    color: var(--secondary-green);
}

.text-accent {
    color: var(--accent-gold);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--gray-600);
}

.bg-primary {
    background-color: var(--primary-blue);
}

.bg-secondary {
    background-color: var(--secondary-green);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-white {
    background-color: var(--white);
}

.mt-0 {
    margin-top: 0;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mt-2xl {
    margin-top: var(--spacing-2xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mb-2xl {
    margin-bottom: var(--spacing-2xl);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer a {
    color: var(--gray-300);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    text-align: center;
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.875rem;
        --font-size-3xl: 1.5rem;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    h1 {
        font-size: var(--font-size-4xl);
    }

    h2 {
        font-size: var(--font-size-3xl);
    }

    h3 {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .btn {
        width: 100%;
    }
}

/* Stats Grid Responsive */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
    position: relative;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon i {
    font-size: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .stat-icon i {
        font-size: 20px;
    }
}

/* News Cards Styles */
.news-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
    margin-top: auto;
}

.news-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Interactive Map Styles */
.map-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Reduced from 200px to be visible but compact, adjusted per user pref */
    margin: auto;
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

.land {
    fill: rgb(7, 17, 31);
    stroke: rgb(255, 255, 255);
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.3s ease;
}

.land:hover,
.land:focus {
    fill: #FFCC00;
}

.selected {
    fill: #2ECC71 !important;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    pointer-events: none;
    display: none;
    font-size: 14px;
    white-space: nowrap;
    z-index: 9999;
    max-width: 200px;
    word-wrap: break-word;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .tooltip {
        font-size: 12px;
        max-width: 150px;
    }
}

/* ==========================================
   BUTTON ADHÉRER (HEADER)
   ========================================== */
.btn-adherer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;

    /* Default State */
    background-color: var(--accent-gold);
    /* Jaune */
    color: var(--primary-blue);
    /* Texte bleu */
    border: 1px solid var(--primary-blue);

    /* Font size */
    font-size: 1rem;
    white-space: nowrap;
}

/* Hover State */
.btn-adherer:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .btn-adherer {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        position: absolute;
        left: 40%;
        /* Ensure it sits on top if needed, though header z-index is high */
        z-index: 1002;
    }
}

/* ==========================================
   ANIMATION "DÉVOILEMENT PROGRESSIF"
   ========================================== */
.js .rec-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .rec-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibilité OBLIGATOIRE */
@media (prefers-reduced-motion: reduce) {
    .js .rec-card {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }

    .js .rec-card.revealed {
        opacity: 1;
    }
}