:root {
    /* Palette Rail One mise à jour */
    --blue-dark: #2f66b0;      /* Bleu foncé pour arrière-plan */
    --blue-medium: #0055A4;    /* Bleu moyen */
    --blue-light: #5c9cef;     /* Bleu clair pour zones spéciales */
    --yellow: #f9b749;         /* Jaune pour titres importants */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background-white: #FFFFFF;
    --background-gray: #F9FAFB;
    --border-light: #E5E7EB;
    --shadow-light: rgba(47, 102, 176, 0.1);
    --shadow-medium: rgba(47, 102, 176, 0.15);
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-size-xl: clamp(2.5rem, 5vw, 4rem);
    --font-size-lg: clamp(1.5rem, 3vw, 2.25rem);
    --font-size-md: clamp(1rem, 2vw, 1.25rem);
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer et Edge */
}

/* Masquer les ascenseurs WebKit (Chrome, Safari, Edge moderne) */
html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--background-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #5B9BF0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    z-index: 10001; /* Plus élevé que le menu mobile pour rester visible */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: #5B9BF0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 70px;
    position: relative;
    z-index: 10002; /* S'assurer que le wrapper reste au-dessus du menu mobile */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 10003; /* Logo encore plus haut */
}

.logo:hover {
    opacity: 0.8;
}

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

.logo-text h1 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.logo-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: block;
    line-height: 1.1;
    margin-top: -2px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: right;
}

/* Assurer que le menu soit visible sur desktop */
@media (min-width: 1101px) {
    .nav {
        display: flex;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.01em;
    height: 40px;
}

.nav-link:hover {
    color: white;
    background-color: var(--blue-medium);
}

.nav-link.active {
    outline-offset: 2px;
    background: white; /* Même fond blanc que mobile */
    color: var(--blue-dark); /* Même couleur de texte bleu que mobile */
    font-weight: 600;
    border-radius: 8px; /* Même border-radius que mobile */
    border: 1px solid white; /* Même contour que mobile */
}

.btn-primary {
    background: var(--yellow);
    border: 1px solid var(--yellow);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

/* Styles pour les boutons de navigation - Desktop uniquement */
@media (min-width: 1101px) {
    /* Le bouton Newsletter doit avoir les mêmes caractéristiques que les autres nav-links */
    .nav-link.btn-outline {
        background: transparent;
        color: white;
        border: none; /* Pas de bordure comme les autres nav-links */
        padding: 0 16px; /* Même padding que les nav-links */
        border-radius: 8px; /* Même border-radius que les nav-links */
        font-weight: 500;
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 4px;
        height: 40px; /* Même hauteur que les nav-links */
        letter-spacing: -0.01em;
    }

    .nav-link.btn-outline:hover {
        background: var(--blue-medium); /* Même hover que les nav-links */
        color: white;
        border: none;
    }
    
    .nav-link.btn-outline.active {
        background: white;
        color: var(--blue-dark);
        font-weight: 600;
        border-radius: 8px;
        border: 1px solid white;
    }
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    transform-origin: center;
}

/* Dropdown Menu Styles - Style Stripe */
.dropdown {
    position: relative;
}

/* Zone tampon invisible pour éviter la disparition */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 999;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    width: max-content;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease 0.1s, visibility 0.2s ease 0.1s, transform 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    margin: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

/* Zone tampon invisible pour éviter la disparition du dropdown */
.dropdown:hover .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.dropdown-menu .dropdown-link {
    display: block !important;
    padding: 10px 16px !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    margin: 2px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.dropdown-menu .dropdown-link:hover,
.dropdown-menu .dropdown-link:focus {
    background-color: var(--blue-medium) !important;
    color: white !important;
}

.dropdown-menu .dropdown-link.active {
    outline-offset: 2px !important;
    background: white !important; /* Même fond blanc que mobile */
    color: var(--blue-dark) !important; /* Même couleur de texte bleu que mobile */
    font-weight: 600 !important;
    border-radius: 8px !important; /* Même border-radius que mobile */
    border: 1px solid white !important; /* Même contour que mobile */
}

/* Bandeau Communiqué de presse permanent (style breaking news) */
.press-banner-integrated {
    background: var(--yellow);
    padding: 0;
    text-align: center;
    width: 100%;
    position: relative;
}

.press-banner-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    padding: 0.24em 0; /* Réduit de 40% : 0.4em * 0.6 = 0.24em */
}

.press-banner-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

.press-banner-integrated p {
    color: white;
    font-weight: 600;
    font-size: 0.9em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 1100px) {
    /* S'assurer que le header reste visible au-dessus du menu mobile */
    .header {
        z-index: 10001 !important;
        position: fixed !important;
    }
    
    .nav-wrapper {
        z-index: 10002 !important;
        position: relative !important;
    }
    
    .logo, .logo-text, .logo-img {
        z-index: 10003 !important;
        position: relative !important;
        color: white !important; /* S'assurer que le texte reste blanc */
    }
    
    .menu-toggle {
        display: flex;
        z-index: 10004; /* Plus élevé que le logo pour rester cliquable */
        position: relative;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: white;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5.5px, -5px);
        background: white;
    }

    /* Menu mobile style Rail One */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #5B9BF0; /* Même couleur que le header desktop */
        z-index: 10000;
        padding: 0;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: flex !important;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        visibility: hidden;
        /* Masquer les ascenseurs sur mobile */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer et Edge */
    }

    /* Masquer les ascenseurs WebKit (Chrome, Safari, Edge moderne) */
    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    /* Container principal du menu */
    .nav-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 80px 24px 0 24px;
        margin: 0;
        list-style: none;
        gap: 0;
        background: #5B9BF0; /* Même couleur que le header desktop */
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

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

    /* Liens principaux style Rail One - Spécificité élevée pour éviter les conflits */
    @media (max-width: 1100px) {
        .nav .nav-list .nav-link {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            padding: 0 4px !important;
            height: 50px !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            color: white !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Contour visible */
            border-radius: 8px !important;
            margin: 4px 0 !important;
            background: transparent !important;
            text-align: center !important;
            font-size: calc(var(--font-size-base) * 0.7) !important;
        }

        .nav .nav-list .nav-link:hover {
            color: white !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: rgba(255, 255, 255, 0.4) !important;
        }

        .nav .nav-list .nav-link.active {
            color: var(--blue-dark) !important;
            background: white !important;
            font-weight: 600 !important;
            border: 1px solid white !important;
            border-radius: 8px !important;
            margin: 4px 0 !important;
            padding: 0 12px !important;
            height: 50px !important;
            justify-content: center !important;
            text-align: center !important;
        }

        /* Exception spéciale pour le bouton Boutique (btn-primary) */
        .nav .nav-list .nav-link.btn-primary {
            background: var(--yellow) !important;
            color: white !important;
            border: 1px solid var(--yellow) !important;
            font-weight: 600 !important;
        }

        .nav .nav-list .nav-link.btn-primary:hover {
            background: #E6B800 !important; /* Doré plus foncé au hover */
            color: white !important;
            border-color: #E6B800 !important;
        }

        /* Le bouton Newsletter doit avoir le même style que les autres boutons */
        .nav .nav-list .nav-link.btn-outline {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            padding: 0 4px !important;
            height: 50px !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            color: white !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Même contour que les autres */
            border-radius: 8px !important;
            margin: 4px 0 !important;
            background: transparent !important;
            text-align: center !important;
            font-size: calc(var(--font-size-base) * 0.7) !important;
        }

        .nav .nav-list .nav-link.btn-outline:hover {
            color: white !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: rgba(255, 255, 255, 0.4) !important; /* Même hover que les autres */
        }

        .nav .nav-list .nav-link.btn-outline.active {
            color: var(--blue-dark) !important;
            background: white !important;
            font-weight: 600 !important;
            border: 1px solid white !important;
            border-radius: 8px !important;
            margin: 4px 0 !important;
            padding: 0 12px !important;
            height: 50px !important;
            justify-content: center !important;
            text-align: center !important;
        }
    }

    /* Suppression de la règle générale conflictuelle */
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 4px;
        height: 50px;
        font-size: 16px;
        font-weight: 500;
        color: white;
        text-decoration: none;
        transition: all 0.2s ease;
        border: none;
        border-radius: 0;
        margin: 0;
        background: transparent;
        text-align: center;
        font-size: calc(var(--font-size-base) * 0.7);
    }

    .nav-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        padding: 0 4px;
    }

    .nav-link.active {
        color: var(--blue-dark);
        background: white;
        font-weight: 600;
        border-radius: 8px;
        margin: 4px 0;
        padding: 0 12px;
        height: 50px;
        justify-content: center;
        text-align: center;
    }

    /* Dropdowns style Rail One */
    .dropdown-menu {
        position: static !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        background: #5B9BF0 !important; /* Même couleur que le menu principal */
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 1rem !important;
        padding: 0 !important;
        transform: none !important;
        visibility: visible !important;
        transition: all 0.3s ease !important;
        width: calc(100% - 2rem) !important;
    }

    /* Désactiver les effets hover desktop sur mobile */
    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover,
    .dropdown:focus-within .dropdown-menu {
        opacity: 0 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0 !important;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1 !important;
        max-height: 240px !important;
        padding: 8px 0 16px 0 !important;
        text-align: center !important;
        padding: 0 4px !important;
    }

    /* Dropdown styles avec spécificité élevée pour éviter les conflits */
    @media (max-width: 1100px) {
        .nav .dropdown-menu .dropdown-link {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            padding: 0 4px !important;
            height: 50px !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            color: white !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Contour visible */
            border-radius: 8px !important;
            margin: 4px 0 !important;
            background: transparent !important;
            text-align: center !important;
            font-size: calc(var(--font-size-base) * 0.7) !important;
            box-sizing: border-box !important;
        }

        .nav .dropdown-menu .dropdown-link:last-child {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; /* Garder le contour */
        }
        
        .nav .dropdown-menu .dropdown-link:hover {
            color: white !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: rgba(255, 255, 255, 0.4) !important;
            transform: none !important;
        }

        .nav .dropdown-menu .dropdown-link.active {
            color: var(--blue-dark) !important;
            background: white !important;
            font-weight: 600 !important;
            border: 1px solid white !important;
            border-radius: 8px !important;
            margin: 4px 0 !important;
            padding: 0 12px !important;
            height: 50px !important;
            justify-content: center !important;
            text-align: center !important;
        }
    }

    /* Styles pour les boutons dans la navigation mobile */
    .nav-link.btn-primary {
        background: var(--yellow) !important;
        color: white !important;
    }

    .nav-link.btn-primary:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }

    .nav-link.btn-outline {
        background: transparent !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .nav-link.btn-outline:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }

    /* Ajustements du logo sur mobile */
    .logo-img {
        height: 32px;
    }

    .logo-text h1 {
        font-size: 1.25rem;
    }

    .logo-text span {
        font-size: 0.75rem;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Styles supplémentaires pour les boutons dans la navigation mobile (fallback) */
    .nav-link.btn-primary {
        background: var(--yellow) !important;
        color: white !important;
        border: 1px solid var(--yellow) !important;
    }

    .nav-link.btn-primary:hover {
        background: #E6B800 !important;
        color: white !important;
        border-color: #E6B800 !important;
    }

    .nav-link.btn-outline {
        background: transparent !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Même style que les autres boutons */
        border-radius: 8px !important;
        margin: 4px 0 !important;
        height: 50px !important;
        font-weight: 500 !important;
    }

    .nav-link.btn-outline:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border-color: rgba(255, 255, 255, 0.4) !important; /* Même hover que les autres boutons */
    }
}

/* Responsive pour le bandeau communiqués */
@media (max-width: 768px) {
    .press-banner-link {
        padding: 0.18em 0; /* Réduit de 40% : 0.3em * 0.6 = 0.18em */
    }
    
    .press-banner-integrated p {
        font-size: 0.8em;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: var(--spacing-xs) 0 0 0; /* Supprime le padding-bottom */
    }
    
    .logo-text h1 {
        font-size: var(--font-size-sm);
    }
    
    .logo-text span {
        font-size: var(--font-size-xs);
    }
    
    .logo-img {
        height: 35px;
    }
}

/* Animation keyframes */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Main */
.main {
    flex: 1;
    padding-top: 80px; /* Toujours un padding-top pour le header */
}

/* Main avec hero slider - pas de padding-top, le slider gère sa position */
.main.has-hero-slider {
    padding-top: 0;
}

/* Correction du main pour éviter l'espace en bas sur la page équipe */
.main.has-hero-slider.page-equipe {
    flex: none !important;
    min-height: auto !important;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-gray) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hero-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    border: none;
    border-radius: var(--radius-xs);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--background-gray);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.train-svg {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px var(--shadow-light));
}

/* Latest Episodes Section */
.latest-episodes {
    padding: var(--spacing-xxl) 0;
    background: var(--background-white);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.episode-card {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.episode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.episode-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

.episode-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    color: var(--text-primary);
}

.episode-card p {
    color: var(--text-secondary);
    margin: 0 var(--spacing-md) var(--spacing-md);
    line-height: 1.6;
}

.episode-meta {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-light);
    font-size: var(--font-size-sm);
}

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

.category {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Stats styling */
.content-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--background-gray);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--blue-light);
    color: white;
    transform: scale(1.05);
}

.stat-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: var(--spacing-xs);
}

.stat-item:hover h4 {
    color: var(--yellow);
}

.stat-item p {
    font-size: var(--font-size-sm);
    margin: 0;
    color: var(--text-secondary);
}

.stat-item:hover p {
    color: white;
}

/* Video Preview in Hero */
.video-preview {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-width: 400px;
}

.video-preview:hover {
    transform: scale(1.05);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.play-button svg {
    width: 30px;
    height: 30px;
}

.video-preview:hover .play-button {
    transform: scale(1.1);
}

/* About Section Updates */
.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-text h2 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.about-text h3 {
    font-size: var(--font-size-md);
    color: var(--secondary-blue);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.about-text blockquote {
    background: var(--background-white);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-yellow);
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-sm);
    font-style: italic;
}

.values-showcase {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.values-showcase h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--background-gray);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--blue-light);
    color: white;
    transform: translateX(5px);
}

.value-icon {
    font-size: 1.25rem;
    width: 2rem;
    text-align: center;
}

/* Page Header Styles */
.page-header {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    color: white;
    text-align: center;
}

.page-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-md) * 1.5);
}

.page-subtitle {
    font-size: var(--font-size-md);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-medium), var(--yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.team-card {
    background: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--blue-medium);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-medium);
    border-left-color: var(--yellow);
}

.team-avatar {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.team-info h3 {
    color: var(--blue-dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-md);
}

.role {
    color: var(--blue-medium);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.specialty {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

/* Calendar Section */
.calendar-section {
    padding: var(--spacing-xxl) 0 1em 0;
    background: var(--background-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-size: var(--font-size-md);
}

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

.calendar-card {
    display: flex;
    gap: var(--spacing-md);
    background: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow-light);
}

.calendar-date {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-date .month {
    font-size: var(--font-size-sm);
    font-weight: 600;
    opacity: 0.8;
}

.calendar-date .day {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.calendar-event h4 {
    color: var(--blue-dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-md);
}

.calendar-event p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.location {
    font-size: var(--font-size-sm);
    color: var(--blue-medium);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.event-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

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

.info-card {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--yellow);
}

.info-card h3 {
    color: var(--blue-dark);
    margin-bottom: var(--spacing-md);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-info h3 {
    color: var(--blue-dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--background-gray);
    border-color: var(--blue-light);
    transform: translateX(5px);
}

.method-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: white;
    border-radius: 50%;
}

.method-info h4 {
    margin-bottom: 0.25rem;
    color: var(--blue-dark);
}

.method-info a {
    color: var(--blue-medium);
    text-decoration: none;
}

.method-info a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.method-info p {
    color: var(--blue-primary);
    font-size: var(--font-size-xs);
    margin: 0;
    opacity: 0.8;
}

/* Enhanced Form Styles */
.contact-form {
    margin-top: var(--spacing-md);
}

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

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(92, 156, 239, 0.1);
}

.form-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--background-gray);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ========================
   FOOTER STYLES
   ======================== */

/* Minimal Footer Styles */
.footer {
    background: #5B9BF0;
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-left p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.footer-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--blue-dark);
    background: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        height: auto;
        min-height: 80px;
        padding: var(--spacing-md) 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .footer-left p {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .social-links a svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================
   HERO SLIDER STYLES
   ======================== */

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    margin-top: 71px; /* Décaler le slider sous le header */
    height: calc(817px - 80px); /* Soustraire la hauteur du header */
    max-height: calc(817px - 80px);
    min-height: 420px; /* Ajusté pour la nouvelle hauteur */
    overflow: hidden;
    z-index: 1; /* Plus bas que le header */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 80%;
    width: 100%;
    padding: var(--spacing-xl);
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

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

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

.slider-prev {
    left: var(--spacing-lg);
}

.slider-next {
    right: var(--spacing-lg);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

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

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Video Background for Slides */
.slide-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slide.slide-video {
    background-image: none !important;
}

/* Assurer que la vidéo respecte la hauteur du slider */
@media (min-width: 1025px) {
    .slide-video-bg {
        max-height: 817px;
    }
}

/* Si la vidéo ne se charge pas, on utilise un fond sombre */
.slide.slide-video:not(.video-loaded) {
    background: var(--blue-dark) !important;
}

.slide.slide-video .slide-video-bg[style*="display: none"] {
    display: none !important;
}

/* Amélioration de l'overlay pour la vidéo */
.slide.slide-video .slide-overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc((600px * 1.3) - 80px); /* +30% de hauteur puis soustraire le header */
        max-height: calc((600px * 1.3) - 80px);
        min-height: 480px; /* Ajusté pour la nouvelle hauteur */
    }
    
    .slide-content {
        padding: var(--spacing-lg);
        max-width: 90%;
    }
    
    /* Réduction de 30% des tailles de texte sur mobile */
    .slide-title {
        font-size: clamp(1.75rem, 3.5vw, 2.8rem); /* Environ 30% de réduction */
    }
    
    .slide-subtitle {
        font-size: clamp(0.77rem, 1.4vw, 0.98rem); /* Environ 30% de réduction */
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-prev {
        left: var(--spacing-md);
    }
    
    .slider-next {
        right: var(--spacing-md);
    }

}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc(700px - 80px); /* Soustraire la
        max-height: calc(700px - 80px);
        min-height: 470px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc(450px - 80px); /* Soustraire la hauteur du header */
        max-height: calc(450px - 80px);
        min-height: 270px;
    }
}

/* ====================================
   ABOUT SECTION STYLES
   ==================================== */

.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-white);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--blue-dark);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.about-text p {
    font-size: var(--font-size-x);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    margin-bottom: var(--spacing-lg);
}

.about-btn {
    margin-top: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    object-fit: cover;
}

/* Responsive About Section - Photo sous le bouton sur mobile */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: center;
        padding: var(--spacing-lg) !important;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-visual {
        order: 2;

    }
    
    .about-text p {
        text-align: left;
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .about-btn {
        margin: var(--spacing-lg) auto var(--spacing-lg) auto;
        display: block;
        width: fit-content;
    }
    
    .about-image img {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: var(--spacing-md) !important;
    }
    
    .about-image img {
        max-width: 320px;
    }
}

/* ====================================
   PARTNERS SECTION STYLES
   ==================================== */

.partners-section {
    background: var(--blue-dark);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.partners-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.partners-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
    line-height: 1.2;
}

.partners-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.partners-text p {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--blue-primary);
    text-align: justify;
    margin-bottom: var(--spacing-lg);
}

.partners-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-logos-container {
    overflow: hidden;
    white-space: nowrap;
}

.partners-logos {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xl);
    animation: scroll-logos 20s linear infinite;
    padding: var(--spacing-lg) 0;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.partners-logos img {
    max-height: 60px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Animation du slider */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause l'animation au hover */
.partners-slider:hover .partners-logos {
    animation-play-state: paused;
}

/* Style pour le message "aucun logo" */
.partner-logo.no-logos {
    min-width: 100%;
    text-align: center;
}

.partner-logo.no-logos p {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Responsive animation speed based on content */
.partners-logos[data-count="1"] { animation-duration: 10s; }
.partners-logos[data-count="2"] { animation-duration: 15s; }
.partners-logos[data-count="3"] { animation-duration: 20s; }
.partners-logos[data-count="4"] { animation-duration: 25s; }
.partners-logos[data-count="5"] { animation-duration: 30s; }

/* Responsive Partners Section */
@media (max-width: 768px) {
    .partners-content {
        text-align: center;
        padding: var(--spacing-xl);
    }
    
    .partners-header {
        margin-bottom: var(--spacing-sm);
    }
    
    .partners-header h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 0;
    }
    
    /* Défilement horizontal sur mobile */
    .partners-logos-container {
        overflow: hidden;
        white-space: nowrap;
    }
    
    .partners-logos {
        display: inline-flex;
        align-items: center;
        gap: var(--spacing-lg);
        animation: scroll-logos 20s linear infinite;
        padding: var(--spacing-lg) 0;
        white-space: nowrap;
    }
    
    .partner-logo {
        min-width: 100px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .partners-logos img {
        max-height: 50px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: var(--spacing-xl) 0;
    }
    
    .partners-logos {
        gap: var(--spacing-md);
    }
    
    .partner-logo {
        min-width: 80px;
    }
    
    .partners-logos img {
        max-height: 40px;
    }
}

/* ====================================
   BLOG SECTION STYLES
   ==================================== */

.blog-section {
    background: var(--background-white);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-container {
    background: var(--blue-dark);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Ajustement des cartes pour la grille */
.blog-grid .blog-card {
    width: 100%; /* Prend toute la largeur de sa colonne */
    height: 480px; /* Hauteur fixe */
    max-width: none; /* Supprime la limitation de largeur */
}

/* Styles des cartes d'articles */
.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.blog-card-image {
    position: relative;
    height: 180px; /* Augmenté de 160px à 180px */
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Suppression de l'animation de zoom au hover */

.blog-card-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: white;
    color: var(--blue-dark);
    padding: 3px 6px; /* Réduit de 4px 8px à 3px 6px */
    border-radius: var(--radius-sm);
    font-size: 0.65rem; /* Réduit la taille de police */
    font-weight: 600;
    text-transform: capitalize; /* Changé d'uppercase à capitalize */
    letter-spacing: 0.3px; /* Réduit l'espacement des lettres */
}

/* Badge "Nouveau" pour les communiqués */
.blog-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.blog-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card-meta {
    margin-bottom: var(--spacing-sm);
}

.blog-card-date {
    color: var(--blue-primary);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.blog-card-author {
    color: var(--blue-dark);
    font-size: var(--font-size-xs);
    font-weight: 500;
    font-style: italic;
}

.blog-card-title {
    color: var(--blue-dark);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    height: calc(1.3em * 2); /* Hauteur fixe pour exactement 2 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    color: var(--blue-primary);
    font-size: var(--font-size-xs);
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Changé de 3 à 4 lignes */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.4em * 4); /* Hauteur fixe pour exactement 4 lignes */
}

/* Le bouton utilise maintenant la classe btn btn-primary standard */

/* Style spécifique pour les boutons "Lire" dans les cartes d'articles */
.blog-card .btn {
    padding: 6px 12px; /* Plus petit que les boutons standards */
    font-size: 0.75rem; /* Taille de police réduite */
    font-weight: 700; /* Texte en gras */
    align-self: flex-start;
    margin-top: auto;
}

/* Responsive Blog Section */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .blog-container {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .blog-container {
        padding: var(--spacing-lg);
    }
    
    .blog-header h2 {
        font-size: 2rem;
    }
    
    .blog-header p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: var(--spacing-xl) 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .blog-card {
        height: 400px;
    }
    
    .blog-card-image {
        height: 140px;
    }
    
    .blog-card-content {
        padding: var(--spacing-sm);
    }
}

/* ===================================
   CONTACT PAGE STYLES
=================================== */

/* Contact Hero Section (hero fixe sans slider) */
.contact-hero-single {
    position: relative;
    margin-top: 71px; /* Décaler sous le header comme le slider */
    height: calc(600px - 80px); /* Hauteur similaire au slider, soustraire le header */
    max-height: calc(600px - 80px);
    min-height: 400px;
    overflow: hidden;
    z-index: 1;
}

/* ===== RESPONSIVE - RÉDUCTION HAUTEUR ENTÊTE MOBILE ===== */
@media (max-width: 768px) {
    /* Réduire la hauteur de l'entête de la page équipe de 35% sur mobile */
    .main.page-equipe .contact-hero-single {
        height: calc((600px - 80px) * 0.65) !important; /* 520px * 0.65 = 338px */
        max-height: calc((600px - 80px) * 0.65) !important;
        min-height: 250px !important; /* Hauteur minimum pour garder la lisibilité */
    }
}

.contact-hero-single .slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 90%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-single .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-hero-single .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 80%;
    width: 100%;
    padding: var(--spacing-xl);
}

.contact-hero-single .slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.contact-hero-single .slide-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Info Section (structure similaire à about-section) */
.contact-info-section {
    background: var(--blue-dark); /* Fond bleu comme about-section */
    padding: var(--spacing-xxl) 0; /* Même padding que about-section */
}

.contact-info-content {
    background: white; /* Rectangle blanc sur fond bleu */
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* Suppression de la grille - une seule section maintenant */
}

.contact-info-content .contact-text h2 {
    color: var(--blue-dark); /* Texte bleu sur fond blanc */
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-info-content .contact-text p {
    color: rgba(0, 59, 126, 0.8); /* Texte bleu avec transparence */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.contact-platforms {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes pour afficher les 5 boutons sur une ligne */
    gap: var(--spacing-sm);
    justify-items: center;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--blue-dark); /* Boutons bleus sur fond blanc */
    border: 1px solid var(--blue-dark);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.platform-btn:hover {
    background: white; /* Fond blanc au hover */
    color: var(--blue-dark); /* Texte bleu au hover */
    text-decoration: none;
    /* Suppression du transform pour éviter le déplacement */
}

.platform-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.platform-btn span {
    font-weight: 500;
}

/* Contact Form Section (fond bleu avec rectangle blanc) */
.contact-form-section {
    background: var(--blue-dark); /* Fond bleu foncé */
    padding: var(--spacing-xxl) 0; /* Même padding que partners-section */
}

.contact-form-container {
    background: white; /* Rectangle blanc sur fond bleu */
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: var(--blue-dark); /* Titre bleu sur fond blanc */
    font-size: clamp(1.5rem, 2.5vw, 2rem); /* Titre légèrement agrandi pour être proportionnel */
    font-weight: 700;
    margin-bottom: var(--spacing-md); /* Espacement médium */
    text-align: center;
}

.success-message,
.error-message {
    padding: var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: rgb(21, 128, 61);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgb(185, 28, 28);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md); /* Espacement médium entre les éléments */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md); /* Espacement médium */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--blue-dark); /* Labels bleus sur fond blanc */
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(0, 59, 126, 0.2); /* Bordures bleues transparentes */
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white; /* Fond blanc opaque */
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-dark); /* Bordure bleue au focus */
    background: white; /* Fond blanc opaque au focus */
    box-shadow: 0 0 0 3px rgba(0, 59, 126, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px; /* Hauteur encore plus réduite pour le textarea */
    font-family: inherit;
}

.captcha-group {
    background: rgba(0, 59, 126, 0.05); /* Fond bleu très transparent sur blanc */
    padding: var(--spacing-md);
    border-radius: 6px;
    border: 1px solid rgba(0, 59, 126, 0.1); /* Bordure bleue transparente */
}

.form-note {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 59, 126, 0.2); /* Bordure bleue transparente */
}

.form-note p {
    margin: var(--spacing-xs) 0;
    color: rgba(0, 59, 126, 0.7); /* Texte bleu transparent */
}

/* ========================
   FOOTER STYLES
   ======================== */

/* Minimal Footer Styles */
.footer {
    background: #5B9BF0;
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-left p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.footer-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--blue-dark);
    background: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        height: auto;
        min-height: 80px;
        padding: var(--spacing-md) 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .footer-left p {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .social-links a svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================
   HERO SLIDER STYLES
   ======================== */

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    margin-top: 71px; /* Décaler le slider sous le header */
    height: calc(817px - 80px); /* Soustraire la hauteur du header */
    max-height: calc(817px - 80px);
    min-height: 420px; /* Ajusté pour la nouvelle hauteur */
    overflow: hidden;
    z-index: 1; /* Plus bas que le header */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 80%;
    width: 100%;
    padding: var(--spacing-xl);
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

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

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

.slider-prev {
    left: var(--spacing-lg);
}

.slider-next {
    right: var(--spacing-lg);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

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

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Video Background for Slides */
.slide-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slide.slide-video {
    background-image: none !important;
}

/* Assurer que la vidéo respecte la hauteur du slider */
@media (min-width: 1025px) {
    .slide-video-bg {
        max-height: 817px;
    }
}

/* Si la vidéo ne se charge pas, on utilise un fond sombre */
.slide.slide-video:not(.video-loaded) {
    background: var(--blue-dark) !important;
}

.slide.slide-video .slide-video-bg[style*="display: none"] {
    display: none !important;
}

/* Amélioration de l'overlay pour la vidéo */
.slide.slide-video .slide-overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc((600px * 1.3) - 80px); /* +30% de hauteur puis soustraire le header */
        max-height: calc((600px * 1.3) - 80px);
        min-height: 480px; /* Ajusté pour la nouvelle hauteur */
    }
    
    .slide-content {
        padding: var(--spacing-lg);
        max-width: 90%;
    }
    
    /* Réduction de 30% des tailles de texte sur mobile */
    .slide-title {
        font-size: clamp(1.75rem, 3.5vw, 2.8rem); /* Environ 30% de réduction */
    }
    
    .slide-subtitle {
        font-size: clamp(0.77rem, 1.4vw, 0.98rem); /* Environ 30% de réduction */
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-prev {
        left: var(--spacing-md);
    }
    
    .slider-next {
        right: var(--spacing-md);
    }

    #heroVideo {
        object-position: 88% center !important;
        object-fit: cover !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc(700px - 80px); /* Soustraire la hauteur du header */
        max-height: calc(700px - 80px);
        min-height: 470px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        margin-top: 80px; /* Collé sous le header */
        height: calc(450px - 80px); /* Soustraire la hauteur du header */
        max-height: calc(450px - 80px);
        min-height: 270px;
    }
}

/* ====================================
   ABOUT SECTION STYLES
   ==================================== */

.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-white);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--blue-dark);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.about-text p {
    font-size: var(--font-size-x);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    margin-bottom: var(--spacing-lg);
}

.about-btn {
    margin-top: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    object-fit: cover;
}

/* ====================================
   EQUIPE PAGE FINAL STYLES - Version finale compacte
   ==================================== */

/* Rectangles de présentation équipe - FINAL - Version compacte sans ascenseur */
.main.has-hero-slider.page-equipe .about-section {
    padding: var(--spacing-lg) 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-bottom: none !important;
}

.main.has-hero-slider.page-equipe .about-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    background: var(--blue-dark) !important;
    padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-xxl) var(--spacing-xxl) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--spacing-xxl) !important;
    align-items: center !important;
    overflow: hidden !important;
}

.main.has-hero-slider.page-equipe .about-text {
    overflow: hidden !important;
    max-height: none !important;
    padding-right: 0 !important;
}

.main.has-hero-slider.page-equipe .about-text h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: var(--spacing-sm) !important;
    line-height: 1.2 !important;
}

.main.has-hero-slider.page-equipe .about-text p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-md) !important;
}

/* Style simple pour le texte en italique des rôles/spécialités FINAL */
.main.has-hero-slider.page-equipe .about-text i {
    display: block !important;
    color: #FFD700 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    margin-bottom: var(--spacing-sm) !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    position: static !important;
}

.main.has-hero-slider.page-equipe .about-text i::before {
    display: none !important;
}

/* Image réduite pour l'équipe FINAL */
.main.has-hero-slider.page-equipe .about-image {
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main.has-hero-slider.page-equipe .about-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Changé de cover à contain pour éviter le zoom excessif sur Mac */
    object-position: center center !important;
}

/* Responsive pour les rectangles équipe FINAL */
@media (max-width: 768px) {
    .main.has-hero-slider.page-equipe .about-content {
        grid-template-columns: 1fr !important;
        min-height: 500px !important;
        text-align: center !important;
    }
    
    /* Texte complet affiché sur tablet - pas de limitation */
    
    .main.has-hero-slider.page-equipe .about-image {
        max-width: none !important;
    }
    
    .main.has-hero-slider.page-equipe .about-image img {
        height: 100% !important;
        object-fit: contain !important; /* Changé de cover à contain pour Mac */
        object-position: center center !important;
    }
}

@media (max-width: 480px) {
    .main.has-hero-slider.page-equipe .about-content {
        padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg) var(--spacing-lg) !important;
        min-height: 450px !important;
    }
    
    .main.has-hero-slider.page-equipe .about-text h2 {
        font-size: 1.5rem !important;
    }
    
    .main.has-hero-slider.page-equipe .about-text p {
        font-size: 0.85rem !important;
        /* Texte complet affiché sur mobile - pas de limitation */
    }
    
    .main.has-hero-slider.page-equipe .about-image {
        height: auto;
    }
    
    .main.has-hero-slider.page-equipe .about-image img {
        object-fit: contain !important; /* Changé pour Mac - évite le zoom excessif */
        object-position: center center !important;
    }
}

/* ===== RESPONSIVE ÉQUIPE - RÉDUCTION HAUTEUR ENTÊTE MOBILE ===== */
@media (max-width: 768px) {
    /* Réduire la hauteur de l'entête de la page équipe de 35% sur mobile */
    .main.page-equipe .contact-hero-single {
        height: calc((600px - 80px) * 0.65) !important; /* 520px * 0.65 = 338px */
        max-height: calc((600px - 80px) * 0.65) !important;
        min-height: 250px !important; /* Hauteur minimum pour garder la lisibilité */
    }
}

/* ===== RESPONSIVE CALENDRIER, BLOG, EMISSION, DIFFUSIONS, HISTOIRE - RÉDUCTION HAUTEUR ENTÊTE MOBILE ===== */
@media (max-width: 768px) {
    /* Réduire la hauteur de l'entête des pages calendrier, blog, émission, diffusions et histoire sur mobile */
    .main.page-calendrier .contact-hero-single,
    .main.page-blog .contact-hero-single,
    .main.page-emission .contact-hero-single,
    .main.page-diffusions .contact-hero-single,
    .main.page-histoire .contact-hero-single {
        height: calc((600px - 80px) * 0.65) !important; /* 520px * 0.65 = 338px */
        max-height: calc((600px - 80px) * 0.65) !important;
        min-height: 250px !important; /* Hauteur minimum pour garder la lisibilité */
    }
}

/* ===== DIFFUSIONS PAGE - SUPPRESSION PADDING TOP SECTION VIDÉOS ===== */
.main.page-diffusions .about-section {
    padding-top: 0;
}

/* ===== STYLES CALENDRIER ===== */

/* Calendar Section avec fond bleu foncé */
.calendar-section {
    background: var(--blue-dark);
    padding: 1px 0;
    min-height: 80vh;
}

.calendar-section .container {
    /* Override de la classe container globale pour le calendrier */
    max-width: none !important;
    padding-top: 1em;
}

/* Container principal du calendrier */
.calendrier-container {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    background: #232b45;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,58,90,0.18);
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Animation de chargement plus subtile */
#calendar-loading {
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

/* Header du calendrier */
.calendrier-header {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
    align-items: center;
    margin-bottom: 1.5em;
    background: #313a5a;
    border-radius: 12px;
    padding: 0.7em 1.2em;
    box-shadow: 0 2px 8px rgba(49,58,90,0.10);
    gap: 1em;
}

.calendrier-nav-group {
    display: flex;
    align-items: center;
    gap: 0.7em;
    justify-self: start;
}

.calendrier-title {
    color: var(--yellow);
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #232b45;
    text-align: center;
    justify-self: center;
}

.calendrier-nav-btn {
    color: var(--yellow);
    background: none;
    border: none;
    font-size: 2.1em;
    font-weight: bold;
    cursor: pointer;
    padding: 0 0.18em;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.7em;
    min-height: 0;
    line-height: 1;
}

.calendrier-nav-btn svg {
    width: 0.9em;
    height: 0.9em;
    display: block;
}

.calendrier-nav-btn:hover {
    background: var(--yellow);
    color: #232b45;
}

.calendrier-nav-btn:hover svg path {
    stroke: #232b45 !important;
}

/* Bouton Aujourd'hui */
.btn-today-month {
    font-size: 0.98em !important;
    padding: 0.18em 0.7em;
    margin-left: 0.7em;
    background: transparent;
    color: var(--yellow);
    font-weight: 500;
    border: 1.2px solid transparent;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, border 0.18s;
}

.btn-today-month:hover {
    background: var(--yellow);
    color: #232b45;
    border: 1.2px solid var(--yellow);
}

/* Légende intégrée dans l'en-tête du calendrier */
.calendrier-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0.8em;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.85em;
    white-space: nowrap;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.legend-text {
    color: #ffffff;
    font-weight: 400;
}

/* Légende des couleurs du calendrier */
.calendar-legend {
    background: #313a5a;
    border-radius: 8px;
    padding: 0.8em 1.2em;
    margin-bottom: 1.2em;
    box-shadow: 0 2px 6px rgba(49,58,90,0.08);
}

.legend-title {
    margin-bottom: 0.6em;
    text-align: center;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    justify-content: center;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.legend-color {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.legend-label {
    color: #fff;
    font-size: 0.85em;
    font-weight: 500;
}

/* Responsive pour la légende */
@media (max-width: 768px) {
    .calendar-legend {
        padding: 0.6em 0.8em;
        margin-bottom: 0.8em;
    }
    
    .legend-items {
        gap: 0.5em;
    }
    
    .legend-item {
        gap: 0.3em;
    }
    
    .legend-color {
        padding: 3px 8px;
        font-size: 0.7em;
    }
}

/* Grille du calendrier */
.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #232b45;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(49,58,90,0.10);
}

.calendar-row {
    display: flex;
}

.calendar-header-row {
    /* Ligne des jours de la semaine */
    background-color: none;
}

.calendar-header-cell {
    font-weight: bold;
    color: var(--yellow);
    background: #313a5a;
    text-align: center;
    padding: 0;
    border: none;
    margin: 0 1px;
    border-radius: 5px 5px 0 0;
    font-size: 1.08em;
    letter-spacing: 0.5px;
    min-height: 35px !important;
    max-height: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    box-sizing: border-box;
    flex: 1;
}

.calendar-header-cell.weekend {
    color: var(--yellow);
    background: #2a3350;
}

/* Cellules du calendrier */
.calendar-cell {
    flex: 1 1 0;
    min-width: 0;
    min-height: 80px;  /* Réduit de 128px à 80px */
    height: auto;      /* Hauteur automatique pour s'adapter au contenu */
    border: 1px solid #444;
    background: #232b45;
    color: var(--yellow);
    position: relative;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 2px;
    box-shadow: 0 1px 4px rgba(49,58,90,0.07);
    transition: box-shadow 0.2s;
    font-size: 0.95em;
    overflow: visible;  /* Permet à la cellule de grandir */
}

/* Scrollbar supprimée car overflow retiré */

.calendar-cell.outside {
    background: #181c2a;
    color: #b6b6b6;
    opacity: 0.3;
    border: 1px solid #222;
}

.calendar-cell.today {
    border: 2px solid var(--yellow);
    box-shadow: 0 0 0 2px rgba(255, 221, 0, 0.3);
}

.calendar-cell.weekend {
    background: #232b45;
    color: var(--yellow);
}

/* Jour du mois */
.calendar-day {
    font-size: 0.85em;  /* Réduit de 0.98em à 0.85em */
    font-weight: bold;
    margin-bottom: 2px;  /* Réduit de 4px à 2px */
    margin-top: 1px;     /* Réduit de 2px à 1px */
    color: var(--yellow);
    text-shadow: 0 1px 4px #232b45;
    padding: 1px 0;      /* Réduit de 2px à 1px */
    line-height: 1.1;    /* Réduit de 1.2 à 1.1 */
}

/* Labels des événements */
.event-label {
    display: block;
    border-radius: 4px;        /* Réduit de 7px à 4px */
    font-size: 0.75em;         /* Réduit de 0.93em à 0.75em (-20%) */
    padding: 1px 3px;          /* Réduit de 2px 6px à 1px 3px (-50%) */
    margin-bottom: 1px;        /* Réduit de 2px à 1px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 2px rgba(49,58,90,0.08);  /* Réduit l'ombre */
    border: 1px solid #fff1;   /* Border plus fine */
    font-weight: 500;
    letter-spacing: 0.1px;     /* Réduit de 0.2px à 0.1px */
    cursor: pointer;
    transition: box-shadow 0.13s, filter 0.13s;
    line-height: 1.1;          /* Hauteur de ligne plus compacte */
}

.event-label:hover {
    filter: brightness(1.2);
    opacity: 0.9;
}

/* Styles pour les événements passés (version desktop) */
.event-label.past-event {
    opacity: 0.6;
    filter: grayscale(40%);
}

.event-label.past-event:hover {
    opacity: 0.8;
    filter: grayscale(20%) brightness(1.05);
}

/* Responsive calendrier */
@media (max-width: 900px) {
    .calendrier-container {
        padding: 1em;
        margin: 0 10px;
    }
    
    .calendar-cell {
        min-height: 60px;    /* Réduit de 97px à 60px */
        height: auto;        /* Hauteur automatique */
        font-size: 0.78em;
        padding: 0 2px;
        overflow: visible;   /* Permet à la cellule de grandir */
    }
    
    .calendar-header-cell {
        font-size: 0.92em;
        min-height: 22px !important;
        max-height: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
    }
    
    .calendrier-title {
        font-size: 1.2em;
    }
    
    .calendar-day {
        margin-bottom: 2px;
        margin-top: 1px;
        padding: 1px 0;
        line-height: 1.1;
        font-size: 0.8em;    /* Plus petit sur mobile */
    }
    
    .event-label {
        font-size: 0.65em;   /* Réduit de 0.78em à 0.65em */
        padding: 1px 2px;    /* Réduit encore plus le padding */
        margin-bottom: 1px;
        line-height: 1.0;    /* Hauteur de ligne très compacte sur mobile */
    }
    
    .calendrier-nav-btn {
        font-size: 1.5em;
    }
    
    .btn-today-month {
        font-size: 0.8em !important;
        padding: 0.3em 0.5em;
    }
}

@media (max-width: 480px) {
    .calendar-section {
        padding: 1px 0;
    }
    
    .calendrier-container {
        padding: 0.8em;
        margin: 0 5px;
    }
    
    .calendar-cell {
        min-height: 50px;    /* Réduit de 80px à 50px */
        height: auto;        /* Hauteur automatique */
        padding: 0 1px;
        overflow: visible;   /* Permet à la cellule de grandir */
    }
    
    .calendrier-title {
        font-size: 1em;
    }
    
    .event-label {
        font-size: 0.7em;
        padding: 1px 3px;
    }
}

/* ===== STYLES ÉQUIPE - ALTERNANCE DES COULEURS ===== */

/* 1. Etienne Bergeon (Position 1 - Impair) - Fond blanc */
.main.has-hero-slider.page-equipe .etienne-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

/* 2. Mathis Châtillon (Position 2 - Pair) - Fond bleu avec rectangle blanc */
.main.has-hero-slider.page-equipe .mathis-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-equipe .mathis-content {
    background: white !important;
}

.main.has-hero-slider.page-equipe .mathis-content .about-text h2 {
    color: var(--blue-dark) !important;
}

.main.has-hero-slider.page-equipe .mathis-content .about-text p {
    color: rgba(0, 0, 0, 0.8) !important;
}

.main.has-hero-slider.page-equipe .mathis-content .about-text i {
    color: #FFD700 !important;
}

/* 3. Rejan Rizvani (Position 3 - Impair) - Fond blanc */
.main.has-hero-slider.page-equipe .rejan-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

/* 4. Tim Chanez (Position 4 - Pair) - Fond bleu avec rectangle blanc */
.main.has-hero-slider.page-equipe .tim-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-equipe .tim-content {
    background: white !important;
}

.main.has-hero-slider.page-equipe .tim-content .about-text h2 {
    color: var(--blue-dark) !important;
}

.main.has-hero-slider.page-equipe .tim-content .about-text p {
    color: rgba(0, 0, 0, 0.8) !important;
}

.main.has-hero-slider.page-equipe .tim-content .about-text i {
    color: #FFD700 !important;
}

/* 5. Christophe Beuret (Position 5 - Impair) - Fond blanc */
.main.has-hero-slider.page-equipe .christophe-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

/* 6. Tristan Austinat (Position 6 - Pair) - Fond bleu avec rectangle blanc */
.main.has-hero-slider.page-equipe .tristan-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-equipe .tristan-content {
    background: white !important;
}

.main.has-hero-slider.page-equipe .tristan-content .about-text h2 {
    color: var(--blue-dark) !important;
}

.main.has-hero-slider.page-equipe .tristan-content .about-text p {
    color: rgba(0, 0, 0, 0.8) !important;
}

.main.has-hero-slider.page-equipe .tristan-content .about-text i {
    color: #FFD700 !important;
}

/* 7. Ethan Chanez (Position 7 - Impair) - Fond blanc */
.main.has-hero-slider.page-equipe .ethan-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

/* 8. Evan Cherpillod (Position 8 - Pair) - Fond bleu avec rectangle blanc */
.main.has-hero-slider.page-equipe .evan-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-equipe .evan-content {
    background: white !important;
}

.main.has-hero-slider.page-equipe .evan-content .about-text h2 {
    color: var(--blue-dark) !important;
}

.main.has-hero-slider.page-equipe .evan-content .about-text p {
    color: rgba(0, 0, 0, 0.8) !important;
}

.main.has-hero-slider.page-equipe .evan-content .about-text i {
    color: #FFD700 !important;
}

/* ====================================
   PAGE ÉMISSION STYLES
   ==================================== */

/* ===== STYLES PAGE ÉMISSION - ALTERNANCE DES COULEURS ===== */

/* 1. Diffusions (Position 1 - Impair) - Fond blanc avec image en background */
.main.has-hero-slider.page-emission .diffusions-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-emission .diffusions-section .about-content {
    background-image: url('assets/photos/trains/WRS.jpg') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* 2. Histoire (Position 2 - Pair) - Fond bleu avec image en background */
.main.has-hero-slider.page-emission .histoire-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-emission .histoire-section .about-content {
    background-image: url('assets/photos/trains/Pacific.jpg') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* 3. Équipe (Position 3 - Impair) - Fond blanc avec image en background */
.main.has-hero-slider.page-emission .equipe-presentation-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-emission .equipe-presentation-section .about-content {
    background-image: url('assets/photos/equipe/touss2.jpeg') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center 42% !important; /* Remonté encore de 4% (46% - 4% = 42%) */
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Masquer complètement tous les textes et éléments internes - SUPPRIMÉ pour ajouter les voiles */
/* .main.has-hero-slider.page-emission .about-text,
.main.has-hero-slider.page-emission .about-visual,
.main.has-hero-slider.page-emission .about-btn,
.main.has-hero-slider.page-emission .about-image {
    display: none !important;
} */

/* Ajouter un voile et du contenu sur les rectangles de la page émission */
.main.has-hero-slider.page-emission .about-content {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Voile sombre comme dans le slider */
.main.has-hero-slider.page-emission .about-content::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: var(--radius-lg) !important;
    z-index: 1 !important;
}

/* Réafficher et styliser les textes par-dessus le voile - STYLE SLIDER ACCUEIL RÉDUIT */
.main.has-hero-slider.page-emission .about-text {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    color: white !important;
    display: block !important;
    padding: var(--spacing-lg) !important;
}

.main.has-hero-slider.page-emission .about-text h2 {
    font-size: clamp(1.56rem, 3.25vw, 2.34rem) !important; /* +30% par rapport à la version précédente */
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: var(--spacing-sm) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.2 !important;
}

.main.has-hero-slider.page-emission .about-text p {
    font-size: clamp(1.04rem, 1.56vw, 1.17rem) !important; /* +30% par rapport à la version précédente */
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-xs) !important; /* Encore plus réduit */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.4 !important;
    display: block !important;
}

.main.has-hero-slider.page-emission .about-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    z-index: 2 !important;
    background: var(--yellow) !important;
    color: white !important;
    padding: 10px 20px !important; /* Identique au slider */
    border-radius: 6px !important; /* Identique au slider */
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important; /* Identique au slider */
    transition: all 0.2s ease !important; /* Même transition que le slider */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--yellow) !important; /* Identique au slider */
    letter-spacing: -0.01em !important; /* Identique au slider */
}

.main.has-hero-slider.page-emission .about-btn:hover {
    background: var(--blue-medium) !important; /* Identique au slider */
    color: white !important;
    border-color: var(--blue-medium) !important; /* Identique au slider */
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Afficher et centrer les sous-titres en italique */
.main.has-hero-slider.page-emission .about-text i {
    display: none !important;
}

/* Masquer les éléments visuels (images à droite) */
.main.has-hero-slider.page-emission .about-visual,
.main.has-hero-slider.page-emission .about-image {
    display: none !important;
}

/* Responsive pour les rectangles émission */
@media (max-width: 768px) {
    .main.has-hero-slider.page-emission .about-content {
        height: 280px !important; /* Réduit proportionnellement */
        background-size: cover !important; /* Les images prennent toute la hauteur */
    }
    
    /* Décaler la photo de l'équipe sur mobile pour voir les gens à droite */
    .main.has-hero-slider.page-emission .equipe-presentation-section .about-content {
        background-position: 70% 42% !important; /* Décalé vers la gauche pour voir les gens à droite */
    }
    
    /* Réduire le padding du slide-content sur mobile */
    .main.has-hero-slider.page-emission .slide-content {
        padding-left: var(--spacing-md) !important;
        padding-right: var(--spacing-md) !important;
    }
}

@media (max-width: 480px) {
    .main.has-hero-slider.page-emission .about-content {
        height: 230px !important; /* Réduit proportionnellement */
        background-size: cover !important; /* Les images prennent toute la hauteur */
    }
    
    /* Décaler encore plus la photo de l'équipe sur petit mobile */
    .main.has-hero-slider.page-emission .equipe-presentation-section .about-content {
        background-position: 75% 42% !important; /* Encore plus décalé vers la gauche pour voir les gens à droite */
    }
    
    /* Réduire encore plus le padding du slide-content sur très petit mobile */
    .main.has-hero-slider.page-emission .slide-content {
        padding-left: var(--spacing-sm) !important;
        padding-right: var(--spacing-sm) !important;
    }
}

/* ====================================
   PAGE BLOG STYLES - COPIE DE PAGE ÉMISSION
   ==================================== */

/* ===== STYLES PAGE BLOG - ALTERNANCE DES COULEURS ===== */

/* 1. Diffusions (Position 1 - Impair) - Fond blanc avec image en background */
.main.has-hero-slider.page-blog .diffusions-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-blog .diffusions-section .about-content {
    background-image: url('assets/photos/trains/tpc.jpeg') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center 85% !important; /* Descendu de 35% (50% + 35% = 85%) */
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* 2. Histoire (Position 2 - Pair) - Fond bleu avec image en background */
.main.has-hero-slider.page-blog .histoire-section {
    background: var(--blue-dark) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-blog .histoire-section .about-content {
    background-image: url('assets/images/illustrations/trafimage.png') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* 3. Équipe (Position 3 - Impair) - Fond blanc avec image en background */
.main.has-hero-slider.page-blog .equipe-presentation-section {
    background: var(--background-white) !important;
    padding: var(--spacing-lg) 0 !important;
}

.main.has-hero-slider.page-blog .equipe-presentation-section .about-content {
    background-image: url('assets/photos/trains/Puscal.JPG') !important;
    background-size: cover !important; /* Cover pour remplir toute la hauteur */
    background-position: center 42% !important; /* Remonté encore de 4% (46% - 4% = 42%) */
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg) !important;
    height: 350px !important; /* Réduit de 400px à 350px */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Ajouter un voile et du contenu sur les rectangles de la page blog */
.main.has-hero-slider.page-blog .about-content {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Voile sombre comme dans le slider */
.main.has-hero-slider.page-blog .about-content::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: var(--radius-lg) !important;
    z-index: 1 !important;
}

/* Réafficher et styliser les textes par-dessus le voile - STYLE SLIDER ACCUEIL RÉDUIT */
.main.has-hero-slider.page-blog .about-text {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    color: white !important;
    display: block !important;
    padding: var(--spacing-lg) !important;
}

.main.has-hero-slider.page-blog .about-text h2 {
    font-size: clamp(1.56rem, 3.25vw, 2.34rem) !important; /* +30% par rapport à la version précédente */
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: var(--spacing-sm) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.2 !important;
}

.main.has-hero-slider.page-blog .about-text p {
    font-size: clamp(1.04rem, 1.56vw, 1.17rem) !important; /* +30% par rapport à la version précédente */
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-xs) !important; /* Encore plus réduit */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.4 !important;
    display: block !important;
    text-align: center;
}

.main.has-hero-slider.page-blog .about-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    z-index: 2 !important;
    background: var(--yellow) !important;
    color: white !important;
    padding: 10px 20px !important; /* Identique au slider */
    border-radius: 6px !important; /* Identique au slider */
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important; /* Identique au slider */
    transition: all 0.2s ease !important; /* Même transition que le slider */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--yellow) !important; /* Identique au slider */
    letter-spacing: -0.01em !important; /* Identique au slider */
}

.main.has-hero-slider.page-blog .about-btn:hover {
    background: var(--blue-medium) !important; /* Identique au slider */
    color: white !important;
    border-color: var(--blue-medium) !important; /* Identique au slider */
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Afficher et centrer les sous-titres en italique */
.main.has-hero-slider.page-blog .about-text i {
    display: none !important;
}

/* Masquer les éléments visuels (images à droite) */
.main.has-hero-slider.page-blog .about-visual,
.main.has-hero-slider.page-blog .about-image {
    display: none !important;
}

/* Responsive pour les rectangles blog */
@media (max-width: 768px) {
    .main.has-hero-slider.page-blog .about-content {
        height: 280px !important; /* Réduit proportionnellement */
        background-size: cover !important; /* Les images prennent toute la hauteur */
    }
    
    /* Décaler la photo de l'équipe sur mobile pour voir les gens à droite */
    .main.has-hero-slider.page-blog .equipe-presentation-section .about-content {
        background-position: 70% 42% !important; /* Décalé vers la gauche pour voir les gens à droite */
    }
    
    /* Réduire le padding du slide-content sur mobile */
    .main.has-hero-slider.page-blog .slide-content {
        padding-left: var(--spacing-md) !important;
        padding-right: var(--spacing-md) !important;
    }
}

@media (max-width: 480px) {
    .main.has-hero-slider.page-blog .about-content {
        height: 230px !important; /* Réduit proportionnellement */
        background-size: cover !important; /* Les images prennent toute la hauteur */
    }
    
    /* Décaler encore plus la photo de l'équipe sur petit mobile */
    .main.has-hero-slider.page-blog .equipe-presentation-section .about-content {
        background-position: 75% 42% !important; /* Encore plus décalé vers la gauche pour voir les gens à droite */
    }
    
    /* Réduire encore plus le padding du slide-content sur très petit mobile */
    .main.has-hero-slider.page-blog .slide-content {
        padding-left: var(--spacing-sm) !important;
        padding-right: var(--spacing-sm) !important;
    }
}

/* ==================== MODAL D'ÉVÉNEMENTS ==================== */

/* Styles pour les événements cliquables */
.event-clickable {
    cursor: pointer !important;
    transition: all 0.2s ease;
}

.event-clickable:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* Styles pour le modal d'événements */
.modal-bg {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 34, 50, 0.85);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    padding: 1em;
    box-sizing: border-box;
}

.modal-content {
    background: #232b45;
    padding: 2em;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    color: #fff;
    animation: modalFadeIn 0.3s ease-out;
    box-sizing: border-box;
}

.modal-title {
    color: var(--yellow);
    font-size: 1.4em;
    margin-bottom: 1em;
    padding-right: 2em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.7em;
    color: var(--yellow);
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.event-details-text {
    line-height: 1.8;
    color: #fff;
}

.event-details-text strong {
    color: var(--yellow);
}

.event-details-text a {
    color: #ffffff;
    text-decoration: underline;
}

.source-link {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: normal;
    display: inline-block;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    line-height: inherit;
}

.modal-close:hover {
    background-color: rgba(255, 221, 0, 0.1);
    transform: scale(1.1);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:active {
    transform: scale(0.95);
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .modal-bg {
        padding: 0.5em;
    }
    
    .modal-content {
        padding: 1.5em;
        max-height: 85vh;
        width: 100%;
        margin: 0;
    }
    
    .modal-title {
        font-size: 1.2em;
        padding-right: 2.5em;
    }
    
    .calendrier-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.8em;
    }
    
    .calendrier-nav-group {
        justify-self: center;
        order: 1;
    }
    
    .calendrier-title {
        order: 2;
        font-size: 1.6em;
    }
    
    .calendrier-legend {
        justify-self: center;
        order: 3;
        justify-content: center;
        gap: 0.6em;
    }
    
    .legend-item {
        font-size: 0.8em;
        gap: 0.3em;
    }
    
    .legend-color {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 600px) {
    .calendrier-header {
        padding: 0.6em 0.8em;
        gap: 0.6em;
    }
    
    .calendrier-title {
        font-size: 1.4em;
    }
    
    .calendrier-legend {
        gap: 0.5em;
    }
    
    .legend-item {
        font-size: 0.75em;
    }
    
    .legend-color {
        width: 8px;
        height: 8px;
    }
}

/* Responsive pour le modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 1.5em !important;
        margin: 1em !important;
        max-width: calc(100vw - 2em) !important;
    }
    
    /* Garder les labels et valeurs sur la même ligne */
    .event-details-text strong {
        display: inline;
        margin-right: 0.5em;
    }
    
    /* Spécifiquement pour le lien source, s'assurer qu'il reste inline */
    #modal-event-source-container {
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    #modal-event-source-container strong {
        display: inline;
        margin-right: 0.3em;
        flex-shrink: 0;
    }
    
    .source-link {
        display: inline-block;
        max-width: 190px; /* Augmenté pour ~10 lettres de plus */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        min-width: 0;
    }
    
    #modal-event-title {
        font-size: 1.2em !important;
        padding-right: 2.5em !important;
    }
}

/* ====================================
   CALENDRIER MOBILE - VERSION RESPONSIVE
   ==================================== */

/* Légende mobile */
.mobile-legend {
    display: none;
    background: #313a5a;
    border-radius: 8px;
    padding: 0.8em 1em;
    margin-bottom: 1em;
    box-shadow: 0 2px 6px rgba(49,58,90,0.08);
}

.mobile-legend-title {
    color: var(--yellow);
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 0.5em;
    text-align: center;
}

.mobile-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
}

.mobile-legend-item {
    display: flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.8em;
}

.mobile-legend-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.mobile-legend-text {
    color: #ffffff;
    font-weight: 400;
    white-space: nowrap;
}

/* Vue mobile du calendrier */
.mobile-calendar {
    display: none;
}

.mobile-days-container {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer et Edge */
}

.mobile-days-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari et Opera */
}

.mobile-day-card {
    width: 100%;
    background: #313a5a;
    border-radius: 12px;
    padding: 1em;
    box-shadow: 0 2px 8px rgba(49,58,90,0.10);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.mobile-day-card.today {
    border-color: var(--yellow);
    box-shadow: 0 4px 12px rgba(249, 183, 73, 0.3);
}

.mobile-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-day-number {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--yellow);
}

.mobile-day-name {
    font-size: 0.9em;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-events {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.mobile-event {
    padding: 0.6em 0.8em;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-event:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Styles pour les événements passés */
.mobile-event.past-event {
    opacity: 0.6;
    filter: grayscale(40%);
}

.mobile-event.past-event:hover {
    opacity: 0.8;
    filter: grayscale(20%) brightness(1.05);
}

.mobile-no-events {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.85em;
    text-align: center;
    padding: 1em 0;
}

/* Affichage conditionnel desktop/mobile pour le calendrier */
@media (min-width: 769px) {
    .calendrier-header {
        display: grid;
        grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
        align-items: center;
    }
    
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 0.7em;
        justify-self: start;
    }
    
    .mobile-nav-container {
        display: none;
    }
    
    .desktop-title {
        justify-self: center;
    }
    
    .desktop-legend {
        display: flex;
    }
    
    .mobile-legend {
        display: none;
    }
    
    .desktop-calendar {
        display: flex;
    }
    
    .mobile-calendar {
        display: none;
    }
}

/* Vue mobile active */
@media (max-width: 768px) {
    /* Container principal du calendrier mobile */
    .calendrier-container {
        width: auto;
    }
    
    /* Masquer les éléments desktop */
    .desktop-nav,
    .desktop-title,
    .calendrier-legend.desktop-legend {
        display: none !important;
    }
    
    .calendar-grid.desktop-calendar {
        display: none !important;
    }
    
    /* Afficher les éléments mobile */
    .mobile-legend {
        display: block;
    }
    
    .mobile-calendar {
        display: block;
    }
    
    /* Ajuster l'en-tête pour mobile */
    .calendrier-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 10px;
    }
    
    .mobile-nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        width: 100%;
        order: 0;
        gap: 0.8em 0;
        border-radius: 8px;
        margin: 0;
        margin-bottom: 0 !important;
    }

    .mobile-legend {
        order: 1;
        display: block !important;
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        padding: 0;
        background: none;
        box-shadow: none;
        border-radius: 0;
    }

    .mobile-title {
        font-size: 1.6em;
        margin: 0;
        text-align: center;
        white-space: nowrap;
        justify-self: center;
        grid-column: 2;
        grid-row: 1;
    }

    .mobile-nav-prev {
        justify-self: start;
        grid-column: 1;
        grid-row: 1;
    }

    .mobile-nav-next {
        justify-self: end;
        grid-column: 3;
        grid-row: 1;
    }

    /* Styles pour la légende mobile intégrée */
    .mobile-legend-items {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8em;
        justify-content: center;
        align-items: center;
    }

    .mobile-legend-item {
        display: flex;
        align-items: center;
        gap: 0.4em;
    }

    .mobile-legend-color {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .mobile-legend-text {
        font-size: 0.85em;
        color: white;
        white-space: nowrap;
    }
}

/* Optimisations pour petits écrans */
@media (max-width: 480px) {
    .mobile-day-card {
        padding: 0.8em;
    }
    
    .mobile-days-container {
        gap: 0.6em;
    }
    
    .mobile-day-number {
        font-size: 1.3em;
    }
    
    .mobile-day-name {
        font-size: 0.8em;
    }
    
    .mobile-event {
        padding: 0.5em 0.6em;
        font-size: 0.8em;
    }
    
    .calendrier-title {
        font-size: 1.4em;
    }
}

/* Rectangle d'avertissement calendrier */
.calendar-disclaimer {
    background: #232b45;
    border: none;
    border-radius: 12px;
    padding: 0.3em;
    margin: 1em auto;
    width: 90%;
    max-width: none;
}

.calendar-disclaimer-inner {
    background: var(--blue);
    border-radius: 8px;
    padding: 2em;
}

.calendar-disclaimer-bottom {
    background: #313a5a;
    border-radius: 6px;
    padding: 1.2em;
    text-align: center;
    color: var(--yellow);
    font-size: 1em;
    line-height: 1.6;
}

.calendar-disclaimer-bottom a {
    color: var(--yellow);
    text-decoration: underline;
    font-weight: 500;
}

.calendar-disclaimer-bottom a:hover {
    color: var(--yellow);
    text-decoration: none;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .calendar-disclaimer {
        margin: 1em 5px;
        padding: 1em;
        font-size: 0.95em;
        width: calc(100% - 10px);
    }
    .calendar-disclaimer-inner {
        background: var(--blue);
        border-radius: 8px;
        padding: 0em;
    }
}

/* Section About inversée - couleurs inversées */
.about-section-inverse {
    background: var(--blue-dark) !important;
    padding: var(--spacing-xxl) 0;
}

.about-section-inverse .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-inverse .about-content {
    background: white !important;
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.diffuseurs-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.diffuseurs-header h2 {
    color: var(--blue-dark) !important;
    font-size: var(--font-size-lg);
    margin: 0;
}

.diffuseurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    width: 100%;
}

.diffuseur-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.diffuseur-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diffuseur-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.diffuseur-info {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.diffuseur-jour {
    color: var(--blue-dark) !important;
    font-weight: 600;
    font-size: 1.1em;
    margin: 0;
}

.diffuseur-horaire {
    color: var(--blue-dark) !important;
    font-size: 1em;
    margin: 0;
}

.diffuseur-btn {
    margin-top: 0.5em;
}

@media (max-width: 768px) {
    .diffuseurs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .diffuseur-logo {
        width: 100px;
        height: 60px;
    }
}

/* Section Contact Presse */
.press-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

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

.press-info h3 {
    color: var(--blue-dark) !important;
    margin-bottom: var(--spacing-md);
    font-size: 1.2em;
}

.press-info p {
    color: var(--blue-dark) !important;
    margin-bottom: 0.5em;
}

.press-info a {
    color: var(--blue-dark) !important;
    text-decoration: underline;
}

.press-info a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .press-contact {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Grille de statistiques pour la page communiqués */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Responsive pour les statistiques */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

