/* ============================================
   TABLE DES MATIÈRES
   ============================================
   1. Variables & Reset
   2. Typographie
   3. Layout & Utilitaires
   4. Composants globaux (Boutons, Sections, Badges)
   5. Topbar
   6. Navbar
   7. Hero / Slider
   8. Section Présentation
   9. Feature / AllerVers
   10. About / Historique
   11. Service / Événements
   12. Blog / Actualités
   13. Médiathèque
   14. FAQ
   15. Team / Équipe
   16. Partenaires
   17. Footer
   18. Pages spécifiques
   19. Animations & Spinner
   20. Responsive
   ============================================ */

/* --------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------- */
:root {
    /* Couleurs institutionnelles */
    --primary: #ef6700 !important;
    --primary-dark: #c95500;
    --primary-light: #E84A6A;
    --secondary: #00692f;
    --secondary-light: #004d22;
    --accent: #D4A84B;
    --accent-light: #E8C86A;
    --dark: #0A1A2E;
    --dark-light: #1A2A4A;
    --cream: #f9f5ef;

    /* Nuances de gris */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Couleurs de base */
    --white: #FFFFFF;
    --black: #000000;

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Rayons */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'DM Sans', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

/* --------------------------------------------
   2. TYPOGRAPHIE
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.display-1 { font-size: 4.5rem; font-weight: 900; }
.display-2 { font-size: 3.5rem; font-weight: 800; }
.display-3 { font-size: 2.8rem; font-weight: 800; }
.display-4 { font-size: 2.2rem; font-weight: 800; }

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }

/* --------------------------------------------
   3. LAYOUT & UTILITAIRES
   -------------------------------------------- */
.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}
.container-fluid { padding: 0; }

.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }

.section-title {
    margin-bottom: 50px;
}
.section-title .subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.section-title .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.text-center .section-title .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 8px;
}
.section-title p {
    color: var(--gray-600);
    max-width: 680px;
    margin-top: 15px;
}
.text-center .section-title p {
    margin-left: auto;
    margin-right: auto;
}

/* Utilitaires généraux */
.wow { visibility: hidden; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: var(--radius) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-pill { border-radius: 50px !important; }
.rounded-4 { border-radius: 1.5rem !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-hover:hover { box-shadow: var(--shadow-hover) !important; }
.transition { transition: var(--transition); }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.bg-opacity-10 { background-color: rgba(200, 16, 46, 0.1); }
.bg-opacity-20 { background-color: rgba(200, 16, 46, 0.2); }

.list-unstyled li {
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.list-unstyled li:hover {
    background-color: rgba(200, 16, 46, 0.05);
    padding-left: 8px;
}
.list-unstyled li a {
    color: var(--gray-700);
}
.list-unstyled li a:hover {
    color: var(--primary);
}

.hover-primary {
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.hover-primary:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

.blockquote {
    font-size: 1rem;
}
.blockquote i {
    color: var(--primary);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* --------------------------------------------
   4. COMPOSANTS GLOBAUX
   -------------------------------------------- */
/* Boutons */
.btn {
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.btn-primary:hover {
    background-color: var(--secondary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26, 58, 92, 0.3);
}
.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 58, 92, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}
.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
}

/* Badges */
.badge {
    font-weight: 600;
    letter-spacing: 0.3px;
    animation: fadeInBadge 0.5s ease-in-out;
}
@keyframes fadeInBadge {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------
   5. TOPBAR
   -------------------------------------------- */
.topbar {
    background: var(--secondary);
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.topbar a {
    color: rgba(255, 255, 255, 0.7);
}
.topbar a:hover {
    color: var(--white);
}
.topbar .text-primary { color: var(--primary) !important; }

.topbar .btn-search {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.topbar .btn-search:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* --------------------------------------------
   6. NAVBAR
   -------------------------------------------- */
.nav-bar {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 100px;
}

.nav-bar.sticky-top {
    padding: 8px 0;
    box-shadow: var(--shadow);
}

.navbar-brand img {
    max-height: 55px ;
    width: auto;
    transition: var(--transition);
}
.nav-bar.sticky-top .navbar-brand img {
    max-height: 45px;
}

.navbar-nav .nav-item .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link.activep::after {
    width: 60%;
}
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.activep {
    color: var(--primary);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 220px;
}
.dropdown-menu .dropdown-item {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}
.dropdown-menu .dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 30px;
}

.nav-btn .btn-primary {
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-phone .btn-light {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary);
    border: none;
    transition: var(--transition);
}
.navbar-phone .btn-light:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}



/* --------------------------------------------
   7. HERO / SLIDER
   -------------------------------------------- */
.carousel-item {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 26, 46, 0.85) 0%, rgba(10, 26, 46, 0.3) 100%);
    z-index: 1;
}
.carousel-item img {
    min-height: 500px;
    max-height: 800px;
    object-fit: cover;
    width: 100%;
    animation: heroZoom 25s ease-in-out infinite;
}

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

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}
.carousel-caption .sub-title {
    display: inline-block;
    background: rgba(200, 16, 46, 0.25);
    color: var(--primary-light);
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(200, 16, 46, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}
.carousel-caption .sub-title i {
    color: var(--primary-light);
}
.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.carousel-caption h1 .highlight {
    color: var(--primary);
    display: inline-block;
}
.carousel-caption h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.carousel-caption p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}
.text-white-80 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.carousel-caption .slogan-wrapper {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 4px 30px rgba(200, 16, 46, 0.4);
}
.carousel-caption .slogan-wrapper h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}
.carousel-caption .slogan-wrapper h3 i {
    opacity: 0.7;
}

.carousel-caption .carousel-buttons .btn {
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.carousel-caption .carousel-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.carousel-caption .carousel-buttons .btn-primary {
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.4);
}
.carousel-caption .carousel-buttons .btn-light {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.carousel-caption .carousel-buttons .btn-light:hover {
    background: var(--gray-100);
    color: var(--dark);
}

.carousel-control-prev,
.carousel-control-next {
    width: 55px;
    height: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.85;
    transition: var(--transition);
    border: none;
    z-index: 5;
}
.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-dark);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    bottom: 30px;
    gap: 10px;
    z-index: 5;
}
.carousel-indicators button {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    border: 2px solid var(--white) !important;
    background: transparent !important;
    opacity: 0.6;
    transition: var(--transition);
    margin: 0 !important;
    padding: 0 !important;
}
.carousel-indicators button.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    opacity: 1;
    transform: scale(1.25);
}

/* --------------------------------------------
   8. SECTION PRÉSENTATION
   -------------------------------------------- */
.section-presentation {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}
.section-presentation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.04) 0%, transparent 70%);
    z-index: 0;
}
.section-presentation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.03) 0%, transparent 70%);
    z-index: 0;
}
.section-presentation .container {
    position: relative;
    z-index: 1;
}

.divider-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 200px;
}
.divider-custom .divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.divider-custom .divider-icon {
    font-size: 0.8rem;
    color: var(--primary);
}

.slogan-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}
.slogan-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(200, 16, 46, 0.35);
}
.slogan-box .slogan-pattern {
    pointer-events: none;
}
.slogan-box .slogan-pattern i {
    color: rgba(255, 255, 255, 0.05);
}

.stat-item {
    transition: var(--transition);
    cursor: default;
    border: 1px solid transparent;
}
.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}
.stat-item .display-6 {
    font-size: 2.2rem;
}

.presentation-actions .btn {
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.presentation-actions .btn:hover {
    transform: translateY(-3px);
}
.presentation-actions .btn-primary {
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.presentation-actions .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}
.presentation-actions .btn-outline-primary {
    border-width: 2px;
}
.presentation-actions .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* --------------------------------------------
   9. FEATURE / ALLERVERS
   -------------------------------------------- */
.feature {
    background: var(--gray-100);
    padding: 60px 0;
}
.feature-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px 35px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary) !important;
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.feature-item:hover::before {
    transform: scaleX(1);
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.feature-item:hover h4,
.feature-item:hover p {
    color: var(--white) !important;
}
.feature-item:hover .feature-icon {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotateY(180deg);
}
.feature-item:hover .btn-primary {
    background: var(--white) !important;
    color: var(--dark) !important;
}

.feature .feature-item:hover {
    background: var(--secondary) !important;
}
.feature .feature-item .feature-icon {
    color: var(--primary) !important;
}

.feature-image-wrapper {
    padding: 10px !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(200, 16, 46, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 32px;
    transition: var(--transition);
}
.feature-item img {
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    transition: var(--transition);
}
.feature-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 15px;
    transition: var(--transition);
}
.feature-item .btn {
    border-radius: 50px;
    padding: 8px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}
.feature-item:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.feature-image-wrapper {
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.feature-image-wrapper img {
    transition: var(--transition-slow);
}
.feature-item:hover .feature-image-wrapper img {
    transform: scale(1.05);
}

.feature-image-placeholder {
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.feature-image-placeholder .bg-secondary {
    background-color: var(--gray-200) !important;
}
.feature-image-placeholder i {
    color: var(--gray-400);
}

/* --------------------------------------------
   10. ABOUT / HISTORIQUE
   -------------------------------------------- */
.about {
    padding: 80px 0;
    background: var(--white);
}
.about-item-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    height: 100%;
    transition: var(--transition);
}
.about-item-content:hover {
    box-shadow: var(--shadow-hover);
}
.about-item-content h4 {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
.about-item-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0 20px;
    color: var(--dark);
}
.about-item-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.8;
}
.about-item-content .fa-check {
    color: var(--primary);
    margin-right: 10px;
}
.about-item-content .highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-text p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text .fa-check-circle {
    font-size: 1.1rem;
}
.about-text strong {
    color: var(--dark);
}

.about-highlight {
    background: rgba(200, 16, 46, 0.06);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}
.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
    background: var(--primary);
}
.counter-item:hover .h1,
.counter-item:hover h4 {
    color: var(--white);
}
.counter-item .h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}
.counter-item h4 {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 10px;
    font-weight: 600;
}

/* --------------------------------------------
   11. SERVICE / ÉVÈNEMENTS
   -------------------------------------------- */
.service {
    padding: 80px 0;
    background: var(--white);
}

.service-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--white);
    /*height: 100%;*/
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    position: relative;
    overflow: hidden;
    background-color: #ebe9e9;
    min-height: 250px;
}
.service-img img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 380px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-item:hover .service-img img {
    transform: scale(1.08);
}

.service-item a:hover {
    color: var(--primary) !important;
}
.service-content {
    padding: 25px;
    background: var(--white);
}
.service-content .service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 55px;
}
.service-content .service-title:hover {
    color: var(--primary);
}
.service-content .service-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 12px 0 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px;
}
.service-content .service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}
.service-content .service-meta .date {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.service-content .service-meta .date i {
    color: var(--primary);
    margin-right: 5px;
}
.service-content .btn-read-more {
    padding: 8px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    background: var(--primary);
    color: var(--white);
    border: none;
}
.service-content .btn-read-more:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}
.service-content .btn-read-more i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}
.service-content .btn-read-more:hover i {
    transform: translateX(5px);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(200, 16, 46, 0.3);
}

/* Slider Événements */
.events-slider .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
}
.events-slider .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.events-slider .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.events-slider .owl-nav button.owl-prev {
    margin-right: 10px;
}
.events-slider .owl-dots {
    margin-top: 20px;
}
.events-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: var(--transition);
}
.events-slider .owl-dots .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}

/* --------------------------------------------
   12. BLOG / ACTUALITÉS
   -------------------------------------------- */
.blog-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}
.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
    height: 220px;
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-item:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    z-index: 2;
}

.blog-content {
    padding: 20px 25px 25px;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 10px;
}
.blog-meta i {
    width: 16px;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}
.blog-item:hover .blog-title {
    color: var(--primary) !important;
}

.blog-excerpt {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 65px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-read-more:hover {
    color: var(--primary-dark) !important;
}
.btn-read-more .transition-icon {
    transition: transform 0.3s ease;
}
.btn-read-more:hover .transition-icon {
    transform: translateX(5px);
}

/* Blog Slider */
.blog-slider .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
}
.blog-slider .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.blog-slider .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.blog-slider .owl-nav button.owl-prev {
    margin-right: 10px;
}
.blog-slider .owl-dots {
    margin-top: 20px;
}

/* Blog Badge Nouveau */
.blog-badge-new .badge {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --------------------------------------------
   13. MÉDIATHÈQUE
   -------------------------------------------- */
.mediatheque {
    padding: 80px 0;
    background: var(--white);
}
.mediatheque .service-item .service-img {
    height: 220px;
}

.mediatheque-wrapper {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}
.mediatheque-wrapper:hover {
    box-shadow: var(--shadow-hover);
}

.media-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.media-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.media-item .media-img {
    overflow: hidden;
    background: #ebe9e9;
    position: relative;
    min-height: 250px;
}
.media-item .media-img img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 380px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.media-item:hover .media-img img {
    transform: scale(1.05);
}
.media-item .media-content {
    padding: 20px 25px;
    background: var(--white);
}
.media-item .media-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 45px;
}
.media-item .media-content .media-date {
    font-size: 0.7rem;
    color: var(--gray-500);
    display: block;
    margin-top: 5px;
}
.media-item .media-content .media-date i {
    color: var(--primary);
    margin-right: 5px;
}
.media-item .media-content .media-author {
    font-size: 0.7rem;
    color: var(--gray-500);
}
.media-item .media-content .media-author i {
    color: var(--primary);
    margin-right: 5px;
}

.media-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.media-badge.photo {
    background: var(--primary);
    color: var(--white);
}
.media-badge.video {
    background: #FF0000;
    color: var(--white);
}
.media-badge.video i {
    margin-right: 5px;
}

.media-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.media-item:hover .media-play-overlay {
    opacity: 1;
}
.media-play-overlay .play-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}
.media-play-overlay .play-icon:hover {
    transform: scale(1.15);
    background: #FF0000;
}

.media-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.media-section-header .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}
.media-section-header .icon-wrapper.photo-icon {
    background: var(--primary);
}
.media-section-header .icon-wrapper.video-icon {
    background: #FF0000;
}
.media-section-header h4 {
    margin: 0;
    font-weight: 700;
}

/* --------------------------------------------
   14. FAQ
   -------------------------------------------- */
.faq-section {
    background: var(--gray-100);
    padding: 80px 0;
}
.faq-section .accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    background: var(--white);
    transition: var(--transition);
}
.faq-section .accordion-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.faq-section .accordion-button {
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 25px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: var(--radius) !important;
    transition: var(--transition);
}
.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}
.faq-section .accordion-button:not(.collapsed) .fa-circle-question {
    color: var(--white) !important;
}
.faq-section .accordion-button:not(.collapsed) .badge {
    background: var(--white) !important;
    color: var(--primary) !important;
}
.faq-section .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
.faq-section .accordion-button .fa-circle-question {
    transition: transform 0.3s ease;
}
.faq-section .accordion-button:not(.collapsed) .fa-circle-question {
    transform: rotate(90deg);
}
.faq-section .accordion-button .badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    background: var(--gray-200);
    color: var(--gray-600);
}
.faq-section .accordion-body {
    padding: 25px 30px;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.8;
    border-radius: 0 0 var(--radius) var(--radius);
}
.faq-section .accordion-body .faq-answer {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* --------------------------------------------
   15. TEAM / ÉQUIPE
   -------------------------------------------- */
.team {
    padding: 80px 0;
    background: var(--white);
}

.team-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    margin: 10px 0;
}
.team-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-img {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
}
.team-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition-slow);
}
.team-item:hover .team-img img {
    transform: scale(1.05);
}
.team-img .badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.team-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px 15px 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    transform: translateY(100%);
    transition: var(--transition);
}
.team-item:hover .team-icon {
    transform: translateY(0);
}
.team-icon .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
}
.team-icon .btn:hover {
    background: var(--secondary);
    transform: scale(1.15) translateY(-3px);
    color: var(--white);
}

.team-title {
    padding: 20px 15px 25px;
    background: var(--white);
}
.team-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--dark);
}
.team-title p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}
.team-title .team-bio {
    margin-top: 8px;
    line-height: 1.5;
    color: var(--gray-600);
}

/* Team Carousel */
.team-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
}
.team-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.team-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.team-carousel .owl-nav button.owl-prev {
    margin-right: 10px;
}
.team-carousel .owl-dots {
    margin-top: 25px;
}
.team-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: var(--transition);
}
.team-carousel .owl-dots .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}

/* --------------------------------------------
   16. PARTENAIRES
   -------------------------------------------- */
.partenaires {
    padding: 60px 0;
    background: var(--gray-100);
}
.partenaires .partenaire-item {
    padding: 5px;
}
.partenaires .testimonial-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.partenaires .testimonial-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.partenaires .testimonial-item img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-slow);
    padding: 5px;
}
.partenaires .testimonial-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.partenaire-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 25px 15px 10px;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.partenaires .testimonial-item:hover .partenaire-overlay {
    opacity: 1;
}
.partenaire-overlay .badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: var(--transition);
}
.partenaires .testimonial-item:hover .partenaire-overlay .badge {
    transform: translateY(0);
}

.partenaire-placeholder {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
}
.partenaire-item-grid {
    transition: var(--transition);
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partenaire-item-grid:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.partenaires-carousel .owl-nav {
    position: absolute;
    top: -55px;
    right: 0;
}
.partenaires-carousel .owl-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.partenaires-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.partenaires-carousel .owl-nav button.owl-prev {
    margin-right: 8px;
}
.partenaires-carousel .owl-dots {
    margin-top: 25px;
}
.partenaires-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: var(--transition);
}
.partenaires-carousel .owl-dots .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}

.bg-primary.bg-opacity-10 {
    background: var(--cream) !important;
}

/* --------------------------------------------
   17. FOOTER
   -------------------------------------------- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 12px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer .footer-link:hover {
    color: var(--primary);
    padding-left: 8px;
}
.footer .footer-link i {
    transition: var(--transition);
}
.footer .footer-link:hover i {
    transform: translateX(3px);
}

.footer .btn-md-square {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: var(--transition);
    padding: 0;
    border: none;
    text-decoration: none;
}
.footer .btn-md-square:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}
.footer .btn-md-square i {
    font-size: 1rem;
}

.footer .btn-xl-square {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}
.footer .btn-xl-square:hover {
    background: var(--secondary);
    transform: scale(1.05);
    color: var(--white);
}

.footer-instagram {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.footer-instagram:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}
.footer-instagram img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    transition: var(--transition-slow);
    padding: 5px;
}
.footer-instagram .footer-search-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 16, 46, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.footer-instagram:hover .footer-search-icon {
    opacity: 1;
}
.footer-instagram .footer-search-icon a {
    color: var(--white);
    font-size: 20px;
    padding: 0;
    text-decoration: none;
    transition: var(--transition);
}
.footer-instagram .footer-search-icon a:hover {
    transform: scale(1.2);
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.footer .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.slogan-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 15px 30px;
    border-radius: var(--radius);
    display: inline-block;
    box-shadow: 0 4px 30px rgba(200, 16, 46, 0.3);
    font-size: 1.4rem;
}
.slogan-banner i {
    opacity: 0.7;
}

.copyright {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}
.copyright a {
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}
.copyright a:hover {
    color: var(--primary);
}
.copyright .hover-primary:hover {
    color: var(--primary) !important;
}
.hover-white:hover {
    color: var(--white) !important;
}

/* --------------------------------------------
   18. PAGES SPÉCIFIQUES
   -------------------------------------------- */
/* --- Breadcrumb général --- */
.bg-breadcrumb {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.bg-breadcrumb::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.1) 0%, transparent 70%);
}
.bg-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
}
.bg-breadcrumb .container {
    position: relative;
    z-index: 1;
}
.bg-breadcrumb h4 {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.breadcrumb-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.custom-breadcrumb {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}
.custom-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}
.custom-breadcrumb .breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}
.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}
.custom-breadcrumb .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}
.custom-breadcrumb .total-badge {
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Mot du Président --- */
.president-photo-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.president-photo-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.president-photo-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-slow);
}
.president-photo-wrapper:hover img {
    transform: scale(1.03);
}
.president-photo-wrapper .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 30px 20px 20px;
    opacity: 0;
    transition: var(--transition);
}
.president-photo-wrapper:hover .photo-overlay {
    opacity: 1;
}
.president-photo-wrapper .photo-overlay .badge {
    font-size: 0.8rem;
    padding: 8px 20px;
}

.citation-block {
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.05) 0%, rgba(200, 16, 46, 0.02) 100%);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    position: relative;
    margin-top: 20px;
}
.citation-block::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}
.citation-block i {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.points-list {
    list-style: none;
    padding: 0;
}
.points-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.points-list li:hover {
    padding-left: 8px;
    background: rgba(200, 16, 46, 0.02);
    border-radius: var(--radius-sm);
}
.points-list li:last-child {
    border-bottom: none;
}
.points-list li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* --- Représentations --- */
.representation-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}
.representation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.representation-card .card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gray-200);
}
.representation-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.representation-card:hover .card-img img {
    transform: scale(1.08);
}
.representation-card .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    z-index: 2;
}
.representation-card .card-body {
    padding: 25px;
}
.representation-card .card-body .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    transition: var(--transition);
}
.representation-card:hover .card-body .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}
.representation-card .card-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.representation-card .card-body p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}
.representation-card .card-body .card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}
.representation-card .card-body .card-meta span {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.representation-card .card-body .card-meta span i {
    color: var(--primary);
    margin-right: 5px;
}
.representation-card .card-body .btn-read {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
}
.representation-card .card-body .btn-read:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    color: var(--white);
}

.representation-map {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}
.representation-map .map-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-300);
}

/* --- Événements (page) --- */
.event-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.event-stats .stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.event-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.event-stats .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.event-stats .stat-item .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
}

.event-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.event-filters .filter-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}
.event-filters .filter-btn:hover,
.event-filters .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.featured-event {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.featured-event::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}
.featured-event .featured-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.featured-event h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}
.featured-event p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 20px;
}
.featured-event .btn-light-custom {
    background: var(--white);
    color: var(--primary);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}
.featured-event .btn-light-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

/* --- Événement détail --- */
.event-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.event-wrapper .event-header {
    position: relative;
    overflow: hidden;
    height: 450px;
    background: var(--gray-200);
}
.event-wrapper .event-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-wrapper .event-header .event-badge {
    position: absolute;
    bottom: 25px;
    left: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.event-wrapper .event-header .event-date-badge {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(5px);
    min-width: 80px;
}
.event-wrapper .event-header .event-date-badge .day {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}
.event-wrapper .event-header .event-date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}
.event-wrapper .event-body {
    padding: 35px 40px;
}
.event-wrapper .event-body .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}
.event-wrapper .event-body .event-meta span {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.event-wrapper .event-body .event-meta span i {
    color: var(--primary);
    margin-right: 5px;
}
.event-wrapper .event-body .event-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}
.event-wrapper .event-body .event-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}
.event-wrapper .event-body .event-content {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.9;
}
.event-wrapper .event-body .event-content p {
    margin-bottom: 20px;
}
.event-wrapper .event-body .event-content strong {
    color: var(--dark);
}

.social-share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid var(--gray-200);
    margin-top: 20px;
}
.social-share-bar .share-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.social-share-bar .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: none;
}
.social-share-bar .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.social-share-bar .share-btn.facebook { background: #1877F2; }
.social-share-bar .share-btn.twitter { background: #000000; }
.social-share-bar .share-btn.linkedin { background: #0A66C2; }
.social-share-bar .share-btn.whatsapp { background: #25D366; }

.comments-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}
.comments-wrapper .comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}
.comments-wrapper .comments-title i {
    color: var(--primary);
    margin-right: 8px;
}

/* --- Médiathèque - Photos --- */
.photo-album-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}
.photo-album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.photo-album-card .album-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--gray-200);
}
.photo-album-card .album-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.photo-album-card:hover .album-img img {
    transform: scale(1.08);
}
.photo-album-card .album-img .album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 16, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.photo-album-card:hover .album-img .album-overlay {
    opacity: 1;
}
.photo-album-card .album-img .album-overlay .view-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
    transform: scale(0.8);
}
.photo-album-card:hover .album-img .album-overlay .view-icon {
    transform: scale(1);
}
.photo-album-card .album-img .album-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    z-index: 2;
}
.photo-album-card .album-img .album-badge i {
    margin-right: 5px;
}
.photo-album-card .album-body {
    padding: 20px 22px 25px;
}
.photo-album-card .album-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}
.photo-album-card:hover .album-body h5 {
    color: var(--primary);
}
.photo-album-card .album-body p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}
.photo-album-card .album-body .album-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}
.photo-album-card .album-body .album-meta span {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.photo-album-card .album-body .album-meta span i {
    color: var(--primary);
    margin-right: 5px;
}
.photo-album-card .album-body .btn-photo {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}
.photo-album-card .album-body .btn-photo:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    color: var(--white);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.photo-grid .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--gray-200);
}
.photo-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.photo-grid .grid-item:hover img {
    transform: scale(1.1);
}
.photo-grid .grid-item .grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 20px 15px 12px;
    opacity: 0;
    transition: var(--transition);
}
.photo-grid .grid-item:hover .grid-overlay {
    opacity: 1;
}
.photo-grid .grid-item .grid-overlay span {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
}

/* --- Vidéothèque --- */
.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.video-card .video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gray-900);
    cursor: pointer;
}
.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}
.video-card .video-thumbnail .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.video-card:hover .video-thumbnail .play-overlay {
    background: rgba(0, 0, 0, 0.2);
}
.video-card .video-thumbnail .play-overlay .play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
}
.video-card:hover .video-thumbnail .play-overlay .play-btn {
    transform: scale(1.15);
    background: #FF0000;
}
.video-card .video-thumbnail .duration-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.video-card .video-thumbnail .video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}
.video-card .video-thumbnail .video-badge i {
    margin-right: 5px;
}
.video-card .video-body {
    padding: 18px 22px 22px;
}
.video-card .video-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}
.video-card:hover .video-body h5 {
    color: var(--primary);
}
.video-card .video-body p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}
.video-card .video-body .video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}
.video-card .video-body .video-meta span {
    font-size: 0.75rem;
    color: var(--gray-500);
}
.video-card .video-body .video-meta span i {
    color: var(--primary);
    margin-right: 5px;
}
.video-card .video-body .btn-video {
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}
.video-card .video-body .btn-video:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    color: var(--white);
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.video-stats .stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.video-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.video-stats .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF0000;
}
.video-stats .stat-item .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
}

.featured-video {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.featured-video::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}
.featured-video .featured-badge {
    display: inline-block;
    background: #FF0000;
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.featured-video h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}
.featured-video p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 20px;
}
.featured-video .btn-featured {
    background: #FF0000;
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}
.featured-video .btn-featured:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
    color: var(--white);
}

/* --- Vidéo détail --- */
.video-player-wrapper {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.video-player-wrapper iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

.video-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}
.video-info .video-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}
.video-info .video-author {
    font-size: 0.9rem;
    color: var(--gray-500);
}
.video-info .video-author i {
    color: var(--primary);
    margin-right: 5px;
}

.social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.playlist-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    max-height: 600px;
    overflow-y: auto;
}
.playlist-wrapper::-webkit-scrollbar {
    width: 5px;
}
.playlist-wrapper::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}
.playlist-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.playlist-wrapper .playlist-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 15px;
}
.playlist-wrapper .playlist-title i {
    color: var(--primary);
    margin-right: 8px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    margin-bottom: 8px;
}
.playlist-item:hover {
    background: rgba(200, 16, 46, 0.05);
    border-color: var(--gray-200);
    transform: translateX(5px);
}
.playlist-item.active {
    background: rgba(200, 16, 46, 0.08);
    border-color: var(--primary);
}
.playlist-item .playlist-thumb {
    width: 80px;
    min-width: 80px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-200);
    position: relative;
}
.playlist-item .playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.playlist-item .playlist-thumb .play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.playlist-item:hover .playlist-thumb .play-icon-overlay {
    opacity: 1;
}
.playlist-item .playlist-thumb .play-icon-overlay i {
    color: var(--white);
    font-size: 18px;
}
.playlist-item .playlist-info {
    flex: 1;
    min-width: 0;
}
.playlist-item .playlist-info .pl-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.playlist-item .playlist-info .pl-author {
    font-size: 0.65rem;
    color: var(--gray-500);
}
.playlist-item .playlist-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.55rem;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Fichiers à télécharger --- */
.file-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.file-stats .stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.file-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.file-stats .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.file-stats .stat-item .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
}

.file-search {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.file-search .search-input {
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    padding: 12px 20px;
    width: 100%;
    transition: var(--transition);
    font-size: 0.95rem;
}
.file-search .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    outline: none;
}
.file-search .search-btn {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}
.file-search .search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.file-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.file-filters .filter-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}
.file-filters .filter-btn:hover,
.file-filters .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.file-list {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.file-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    flex-wrap: wrap;
    gap: 10px;
}
.file-list .file-item:last-child {
    border-bottom: none;
}
.file-list .file-item:hover {
    background: rgba(200, 16, 46, 0.03);
    padding-left: 30px;
}
.file-list .file-item .file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.file-list .file-item .file-info .file-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.file-list .file-item .file-info .file-icon.pdf {
    background: rgba(220, 50, 50, 0.1);
    color: #DC3232;
}
.file-list .file-item .file-info .file-icon.doc {
    background: rgba(43, 87, 154, 0.1);
    color: #2B579A;
}
.file-list .file-item .file-info .file-icon.xls {
    background: rgba(33, 115, 70, 0.1);
    color: #217346;
}
.file-list .file-item .file-info .file-icon.ppt {
    background: rgba(210, 72, 54, 0.1);
    color: #D24836;
}
.file-list .file-item .file-info .file-icon.zip {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
}
.file-list .file-item .file-info .file-icon.img {
    background: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}
.file-list .file-item .file-info .file-details h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}
.file-list .file-item .file-info .file-details span {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.file-list .file-item .file-info .file-details span i {
    margin-right: 3px;
    color: var(--primary);
}
.file-list .file-item .file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.file-list .file-item .file-actions .file-size {
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 50px;
}
.file-list .file-item .file-actions .btn-download {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}
.file-list .file-item .file-actions .btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    color: var(--white);
}
.file-list .file-item .file-actions .btn-download i {
    margin-right: 5px;
}

.file-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.file-pagination .page-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}
.file-pagination .page-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.file-pagination .page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Blog/Actualité --- */
.featured-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    transition: var(--transition);
}
.featured-article:hover {
    box-shadow: var(--shadow-hover);
}
.featured-article .featured-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}
.featured-article .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.featured-article:hover .featured-img img {
    transform: scale(1.05);
}
.featured-article .featured-img .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}
.featured-article .featured-body {
    padding: 30px 35px;
}
.featured-article .featured-body .featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.featured-article .featured-body .featured-meta span {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.featured-article .featured-body .featured-meta span i {
    color: var(--primary);
    margin-right: 5px;
}
.featured-article .featured-body h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.featured-article:hover .featured-body h2 {
    color: var(--primary);
}
.featured-article .featured-body p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.featured-article .featured-body .btn-featured {
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}
.featured-article .featured-body .btn-featured:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    color: var(--white);
}

.blog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.blog-stats .stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.blog-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.blog-stats .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.blog-stats .stat-item .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.blog-categories .cat-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}
.blog-categories .cat-btn:hover,
.blog-categories .cat-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.blog-newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
    text-align: center;
    margin-top: 40px;
}
.blog-newsletter h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.blog-newsletter .newsletter-input {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.blog-newsletter .newsletter-input input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    min-width: 200px;
}
.blog-newsletter .newsletter-input button {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}
.blog-newsletter .newsletter-input button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* --- Contact --- */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.contact-card .contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.contact-card:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}
.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}
.contact-card p a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}
.contact-card p a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-wrapper .form-title {
    margin-bottom: 30px;
}
.contact-form-wrapper .form-title h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}
.contact-form-wrapper .form-title p {
    color: var(--gray-500);
    font-size: 0.95rem;
}
.contact-form-wrapper .form-floating {
    margin-bottom: 15px;
}
.contact-form-wrapper .form-control {
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    padding: 14px 18px;
    height: 58px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}
.contact-form-wrapper textarea.form-control {
    height: 140px;
    resize: vertical;
}
.contact-form-wrapper .form-floating label {
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.contact-form-wrapper .btn-submit {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    width: 100%;
}
.contact-form-wrapper .btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.3);
}
.contact-form-wrapper .btn-submit i {
    margin-right: 8px;
}

.contact-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}
.contact-logo-wrapper img {
    max-width: 80%;
    height: auto;
    transition: var(--transition);
}
.contact-logo-wrapper img:hover {
    transform: scale(1.02);
}

#retourMessage {
    margin-top: 20px;
}
#retourMessage .alert {
    border-radius: var(--radius-sm);
    padding: 15px 20px;
}

/* --- RDV --- */
.calendar-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.calendar-wrapper:hover {
    box-shadow: var(--shadow-hover);
}
.calendar-wrapper .calendar-header {
    text-align: center;
    margin-bottom: 25px;
}
.calendar-wrapper .calendar-header .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--primary);
}
.calendar-wrapper .calendar-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}
.calendar-wrapper .calendar-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.rdv-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.rdv-btn-wrapper .btn-rdv {
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.rdv-btn-wrapper .btn-rdv:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(200, 16, 46, 0.4);
}
.rdv-btn-wrapper .btn-rdv i {
    font-size: 1.2rem;
}

.rdv-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.rdv-info-cards .info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}
.rdv-info-cards .info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.rdv-info-cards .info-card .info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}
.rdv-info-cards .info-card:hover .info-icon {
    background: var(--primary);
    color: var(--white);
}
.rdv-info-cards .info-card h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}
.rdv-info-cards .info-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.calendar-iframe-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.calendar-iframe-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* --- Contenu News / Standard --- */
.article-description {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.9;
}
.article-description .description-content p {
    margin-bottom: 16px;
}
.article-description .description-content strong {
    color: var(--dark);
}
.article-description .description-content ul,
.article-description .description-content ol {
    padding-left: 25px;
    margin-bottom: 16px;
}
.article-description .description-content li {
    margin-bottom: 8px;
}

.article-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid transparent;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.article-card .card-img {
    overflow: hidden;
}
.article-card .card-img img {
    transition: var(--transition-slow);
}
.article-card:hover .card-img img {
    transform: scale(1.05);
}
.article-card .card-body {
    transition: var(--transition);
}
.article-card:hover .card-body {
    background: rgba(200, 16, 46, 0.02) !important;
}

.article-image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.article-image-wrapper:hover {
    box-shadow: var(--shadow-hover);
}
.article-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}
.article-image-wrapper:hover img {
    transform: scale(1.02);
}

.article-meta-bar {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 15px;
}
.article-meta-bar .badge {
    font-weight: 600;
    letter-spacing: 0.3px;
}
.article-meta-bar .text-muted {
    font-size: 0.85rem;
}
.article-meta-bar .text-muted i {
    width: 18px;
}

.article-content-text {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.9;
}
.article-content-text p {
    margin-bottom: 16px;
}
.article-content-text strong {
    color: var(--dark);
}
.article-content-text ul,
.article-content-text ol {
    padding-left: 25px;
    margin-bottom: 16px;
}
.article-content-text li {
    margin-bottom: 8px;
}

.article-share .btn {
    transition: var(--transition);
    min-width: 38px;
}
.article-share .btn:hover {
    transform: translateY(-2px);
}
.article-share .btn-outline-primary:hover {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
}
.article-share .btn-outline-dark:hover {
    background: #000000;
    color: var(--white);
    border-color: #000000;
}
.article-share .btn-outline-success:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.article-image-placeholder .bg-light {
    background-color: var(--gray-100) !important;
}
.article-image-placeholder i {
    color: var(--gray-400);
}

/* --- Pagination générique --- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.pagination-wrapper .pagination {
    gap: 5px;
    flex-wrap: wrap;
}
.pagination-wrapper .pagination .page-item .page-link {
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    padding: 8px 16px;
    color: var(--gray-700);
    font-weight: 600;
    transition: var(--transition);
    background: var(--white);
}
.pagination-wrapper .pagination .page-item .page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pagination-wrapper .pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pagination-wrapper .pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Empty state --- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}
.empty-state h4 {
    color: var(--gray-600);
    font-weight: 600;
}
.empty-state p {
    color: var(--gray-500);
}

/* --- Facebook Comments --- */
.fb-comments-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}
.fb-comments-wrapper .comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}
.fb-comments-wrapper .comments-title i {
    color: var(--primary);
    margin-right: 8px;
}

/* --------------------------------------------
   19. ANIMATIONS & SPINNER
   -------------------------------------------- */
.tada {
    animation-name: tada;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}
@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(200, 16, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
#spinner.show {
    opacity: 1;
    visibility: visible;
}
#spinner .spinner-border {
    width: 50px;
    height: 50px;
    border-width: 4px;
    color: var(--primary) !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--white);
}

/* --------------------------------------------
   20. RESPONSIVE
   -------------------------------------------- */
/* --- Owl Carousel Overrides --- */
.owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}
.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 6px;
}
.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: var(--gray-300);
    transition: var(--transition);
}
.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}
.owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--primary-light);
}

/* --- Responsive Navbar --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--gray-100);
        border-radius: var(--radius-sm);
        padding: 15px;
        margin-top: 10px;
    }
    .navbar-nav .nav-item .nav-link {
        padding: 10px 15px;
    }
    .navbar-nav .nav-item .nav-link::after {
        display: none;
    }
    .navbar-toggler {
        border: 2px solid var(--primary);
        padding: 8px 12px;
        border-radius: var(--radius-sm);
        color: var(--primary);
    }
    .navbar-toggler .fa-bars {
        font-size: 1.2rem;
    }
    .nav-btn {
        width: 100%;
        margin-top: 10px;
    }
    .nav-btn .btn-primary {
        width: 100%;
        text-align: center;
    }
    .dropdown-menu {
        background: var(--white);
        box-shadow: none;
        padding: 5px 0 5px 15px;
    }
    .navbar-phone {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .topbar {
        display: none !important;
    }
    .navbar-brand img {
        max-height: 40px;
    }
}

/* --- Responsive général --- */
@media (max-width: 1199.98px) {
    .carousel-caption h1 { font-size: 3.5rem; }
    .carousel-caption h2 { font-size: 1.8rem; }
}

@media (max-width: 991.98px) {
    .section-padding { padding: 60px 0; }
    .section-title h1, .section-title h2 { font-size: 2rem; }
    .about-item-content h1 { font-size: 2rem; }
    .display-1 { font-size: 3.5rem; }
    .display-2 { font-size: 2.8rem; }
    
    .carousel-item { min-height: 400px; }
    .carousel-item img { min-height: 400px; }
    .carousel-caption h1 { font-size: 2.8rem; }
    .carousel-caption h2 { font-size: 1.5rem; }
    .carousel-caption p { font-size: 1rem; }
    .carousel-caption .slogan-wrapper h3 { font-size: 1.2rem; }
    .carousel-caption .carousel-buttons .btn {
        padding: 12px 30px;
        font-size: 0.8rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .section-presentation .display-3 { font-size: 2.8rem; }
    .slogan-box h3.display-6 { font-size: 1.6rem; }
    .stat-item .display-6 { font-size: 1.8rem; }
    .stat-item p { font-size: 0.8rem; }

    .about-item-content { padding: 30px; }
    .about-item-content h1.display-6 { font-size: 1.8rem; }
    .counter-item .fs-1 { font-size: 2.5rem !important; }

    .service-img { min-height: 200px; }
    .service-img img { min-height: 200px; max-height: 300px; }
    .service-content .service-title { font-size: 1rem; min-height: 45px; }

    .blog-content { padding: 18px 20px 20px; }
    .blog-title { font-size: 0.95rem; min-height: 42px; }
    .blog-excerpt { font-size: 0.85rem; min-height: 55px; }

    .mediatheque-wrapper { padding: 20px; }
    .media-item .media-img { min-height: 200px; }
    .media-item .media-img img { min-height: 200px; max-height: 300px; }
    .media-item .media-content h6 { font-size: 0.9rem; min-height: 40px; }

    .faq-section .accordion-button { font-size: 0.9rem; padding: 15px 20px; }
    .faq-section .accordion-body { padding: 20px; }
    .faq-sidebar { margin-top: 30px; }

    .team-title { padding: 15px 12px 20px; }
    .team-title h4 { font-size: 1rem; }
    .team-title p { font-size: 0.8rem; }

    .partenaires .testimonial-item { min-height: 120px; padding: 12px; }
    .partenaires .testimonial-item img { max-height: 80px; }
    .partenaire-item-grid { min-height: 100px; }

    .footer { padding: 60px 0 20px; }
    .footer h4::after { width: 30px; }
    .slogan-banner { font-size: 1.2rem; padding: 12px 20px; }

    .bg-breadcrumb { padding: 60px 0 40px; }
    .bg-breadcrumb h4 { font-size: 2.5rem; }

    .featured-event { padding: 30px; }
    .featured-event h2 { font-size: 1.8rem; }

    .event-wrapper .event-header { height: 300px; }
    .event-wrapper .event-body { padding: 25px 30px; }
    .event-wrapper .event-body .event-title { font-size: 1.8rem; }
    .event-wrapper .event-header .event-date-badge {
        top: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    .event-wrapper .event-header .event-date-badge .day { font-size: 1.6rem; }

    .photo-album-card .album-img { height: 200px; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

    .video-card .video-thumbnail { height: 180px; }
    .featured-video { padding: 30px; }
    .featured-video h2 { font-size: 1.5rem; }

    .contact-form-wrapper { padding: 30px; }
    .contact-logo-wrapper img { max-width: 60%; }

    .calendar-wrapper { padding: 20px; }
    .calendar-wrapper .calendar-header h2 { font-size: 1.5rem; }
    .calendar-iframe-wrapper iframe { height: 500px; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 40px 0; }
    .section-title h1, .section-title h2 { font-size: 1.6rem; }
    .section-title .subtitle { font-size: 0.75rem; }
    .about-item-content { padding: 25px; }
    .about-item-content h1 { font-size: 1.6rem; }
    .counter-item .h1 { font-size: 2.2rem; }
    .display-1 { font-size: 2.8rem; }
    .display-2 { font-size: 2.2rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.6rem; }
    .footer { padding: 50px 0 20px; }

    .carousel-item { min-height: 350px; }
    .carousel-item img { min-height: 350px; }
    .carousel-caption h1 { font-size: 2.2rem; }
    .carousel-caption h2 { font-size: 1.2rem; }
    .carousel-caption p { font-size: 0.9rem; }
    .carousel-caption .sub-title { font-size: 0.7rem; padding: 5px 18px; }
    .carousel-caption .slogan-wrapper { padding: 8px 20px; }
    .carousel-caption .slogan-wrapper h3 { font-size: 1rem; }
    .carousel-caption .carousel-buttons .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
        margin: 0 5px;
    }
    .carousel-control-prev,
    .carousel-control-next { display: none; }
    .carousel-indicators button { width: 10px !important; height: 10px !important; }

    .section-presentation { padding: 50px 0; }
    .section-presentation .display-3 { font-size: 2.2rem; }
    .section-presentation .lead { font-size: 1rem; }
    .slogan-box { padding: 15px 20px !important; }
    .slogan-box h3.display-6 { font-size: 1.3rem; }
    .presentation-actions .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin: 0 5px 10px;
    }
    .stat-item { padding: 12px !important; }
    .stat-item .display-6 { font-size: 1.5rem; }
    .divider-custom { width: 150px; }

    .about-item-content { padding: 20px; }
    .about-item-content h1.display-6 { font-size: 1.5rem; }
    .about-item-content h4 { font-size: 0.9rem; }
    .counter-item { padding: 15px !important; }
    .counter-item .fs-1 { font-size: 2rem !important; }
    .about-actions .btn { width: 100%; text-align: center; }

    .service-img { min-height: 180px; }
    .service-img img { min-height: 180px; max-height: 250px; }
    .service-content { padding: 20px; }
    .service-content .service-title { font-size: 0.95rem; min-height: 40px; }
    .service-content .service-excerpt { font-size: 0.85rem; min-height: 60px; }

    .blog-content { padding: 15px; }
    .blog-title { font-size: 0.9rem; min-height: 38px; }
    .blog-excerpt { font-size: 0.8rem; min-height: 48px; }
    .blog-slider .owl-nav {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-top: 15px;
    }

    .mediatheque-wrapper { padding: 15px; }
    .media-item .media-img { min-height: 180px; }
    .media-item .media-img img { min-height: 180px; max-height: 250px; }
    .media-item .media-content { padding: 15px 18px; }
    .media-item .media-content h6 { font-size: 0.85rem; min-height: 35px; }
    .media-play-overlay .play-icon { width: 50px; height: 50px; font-size: 22px; }
    .media-section-header .icon-wrapper { width: 40px; height: 40px; font-size: 18px; }

    .faq-section .accordion-button { font-size: 0.85rem; padding: 12px 16px; }
    .faq-section .accordion-button .fa-circle-question { margin-right: 10px !important; font-size: 0.9rem; }
    .faq-section .accordion-body { padding: 16px 18px; font-size: 0.9rem; }
    .faq-section .display-4 { font-size: 1.8rem; }

    .team-item .team-img img { height: 280px !important; }
    .team-title { padding: 12px 10px 16px; }
    .team-title h4 { font-size: 0.95rem; }
    .team-carousel .owl-nav {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-top: 15px;
    }

    .partenaires .testimonial-item { min-height: 100px; padding: 10px; }
    .partenaires .testimonial-item img { max-height: 70px; }
    .partenaire-overlay .badge { font-size: 0.6rem; padding: 3px 10px; }
    .partenaires-carousel .owl-nav {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-top: 15px;
    }
    .partenaire-item-grid { min-height: 80px; }

    .footer { padding: 40px 0 15px; }
    .footer h4 { font-size: 1rem; margin-bottom: 15px; }
    .footer .btn-xl-square { width: 50px; height: 50px; }
    .footer .btn-xl-square i { font-size: 1.2rem; }
    .slogan-banner { font-size: 1rem; padding: 10px 16px; }
    .footer-instagram img { height: 60px; }

    .bg-breadcrumb { padding: 40px 0 30px; }
    .bg-breadcrumb h4 { font-size: 2rem; }
    .breadcrumb-subtitle { font-size: 0.95rem; }

    .featured-event { padding: 20px; }
    .featured-event h2 { font-size: 1.5rem; }
    .featured-event p { font-size: 0.95rem; }
    .featured-event .event-date-large { flex-wrap: wrap; }
    .featured-event .event-date-large .date-box .day { font-size: 1.4rem; }
    .event-filters .filter-btn { padding: 6px 16px; font-size: 0.75rem; }
    .event-stats { grid-template-columns: repeat(2, 1fr); }
    .event-stats .stat-item .number { font-size: 2rem; }

    .event-wrapper .event-header { height: 220px; }
    .event-wrapper .event-header .event-badge {
        bottom: 15px;
        left: 20px;
        font-size: 0.65rem;
        padding: 6px 18px;
    }
    .event-wrapper .event-header .event-date-badge {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        min-width: 60px;
    }
    .event-wrapper .event-header .event-date-badge .day { font-size: 1.3rem; }
    .event-wrapper .event-header .event-date-badge .month { font-size: 0.6rem; }
    .event-wrapper .event-body { padding: 18px 20px; }
    .event-wrapper .event-body .event-title { font-size: 1.4rem; }
    .event-wrapper .event-body .event-subtitle { font-size: 0.95rem; }
    .event-wrapper .event-body .event-content { font-size: 0.95rem; }
    .event-wrapper .event-body .event-meta { gap: 12px; }
    .event-wrapper .event-body .event-meta span { font-size: 0.75rem; }
    .social-share-bar { gap: 10px; }
    .social-share-bar .share-btn { padding: 6px 14px; font-size: 0.7rem; }

    .photo-album-card .album-img { height: 180px; }
    .photo-album-card .album-body { padding: 15px 18px 20px; }
    .photo-album-card .album-body h5 { font-size: 0.95rem; min-height: 42px; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

    .video-card .video-thumbnail { height: 160px; }
    .video-card .video-body { padding: 15px 16px 18px; }
    .video-card .video-body h5 { font-size: 0.9rem; min-height: 42px; }
    .video-card .video-thumbnail .play-overlay .play-btn { width: 50px; height: 50px; font-size: 22px; }
    .video-stats { grid-template-columns: repeat(2, 1fr); }
    .video-stats .stat-item .number { font-size: 2rem; }

    .contact-card { padding: 20px 15px; }
    .contact-card .contact-icon { width: 55px; height: 55px; font-size: 22px; }
    .contact-form-wrapper { padding: 20px; }
    .contact-form-wrapper .form-title h4 { font-size: 1.2rem; }
    .contact-form-wrapper .form-control { height: 50px; font-size: 0.9rem; }
    .contact-form-wrapper textarea.form-control { height: 120px; }
    .contact-logo-wrapper img { max-width: 50%; }

    .calendar-wrapper { padding: 15px; }
    .calendar-wrapper .calendar-header .icon-circle { width: 60px; height: 60px; font-size: 24px; }
    .calendar-wrapper .calendar-header h2 { font-size: 1.3rem; }
    .rdv-btn-wrapper .btn-rdv { padding: 14px 35px; font-size: 1rem; }
    .calendar-iframe-wrapper iframe { height: 400px; }
    .rdv-info-cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .about-item-content { padding: 20px !important; }
    .about-item-content .event-description { font-size: 0.95rem; }
    .about-item-content .d-flex.gap-3 { flex-direction: column; align-items: flex-start; }
    .event-card .card-body h5 { font-size: 0.85rem !important; min-height: 38px !important; }

    .events-slider .owl-nav {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-top: 15px;
    }
    .events-slider .service-img { height: 180px; }
    .events-slider .service-content { padding: 15px 18px; }
    .events-slider .service-content .service-title { font-size: 0.9rem; min-height: 40px; }
    .events-slider .service-content .service-excerpt { font-size: 0.85rem; min-height: 38px; }

    .video-player-wrapper iframe { height: 280px; }
    .video-info { padding: 18px 20px; }
    .video-info .video-title { font-size: 1.1rem; }
    .playlist-wrapper { max-height: 400px; margin-top: 20px; }
    .playlist-item .playlist-thumb { width: 60px; min-width: 60px; height: 40px; }
    .playlist-item .playlist-info .pl-title { font-size: 0.7rem; }
    .comments-wrapper { padding: 15px; }
}

@media (max-width: 480px) {
    .section-padding { padding: 30px 0; }
    .section-title h1, .section-title h2 { font-size: 1.4rem; }
    .display-1 { font-size: 2.2rem; }
    .display-2 { font-size: 1.8rem; }
    .display-3 { font-size: 1.6rem; }
    .display-4 { font-size: 1.3rem; }
    .feature-item img { height: 140px; }
    .service-item .service-img { height: 200px; }
    .blog-item .blog-img { height: 180px; }
    .team-item .team-img img { height: 250px; }
    .footer { padding: 30px 0 10px; }
    .footer h4 { font-size: 0.9rem; }
    .footer .btn-md-square { width: 36px; height: 36px; }
    .footer .btn-md-square i { font-size: 0.8rem; }
    .slogan-banner { font-size: 0.85rem; padding: 8px 12px; border-radius: var(--radius-sm); }
    .footer-instagram img { height: 50px; }
    .copyright { font-size: 0.7rem; }

    .carousel-item { min-height: 280px; }
    .carousel-item img { min-height: 280px; }
    .carousel-caption { padding: 0 15px; }
    .carousel-caption h1 { font-size: 1.8rem; }
    .carousel-caption h2 { font-size: 1rem; }
    .carousel-caption p { font-size: 0.8rem; margin-bottom: 15px; }
    .carousel-caption .sub-title { font-size: 0.6rem; padding: 4px 14px; margin-bottom: 12px; }
    .carousel-caption .slogan-wrapper { padding: 6px 16px; margin-bottom: 15px; }
    .carousel-caption .slogan-wrapper h3 { font-size: 0.85rem; }
    .carousel-caption .carousel-buttons .btn {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin: 0 3px;
    }
    .carousel-indicators { bottom: 15px; gap: 6px; }
    .carousel-indicators button { width: 8px !important; height: 8px !important; }

    .section-presentation .display-3 { font-size: 1.8rem; }
    .section-presentation .lead { font-size: 0.9rem; }
    .slogan-box h3.display-6 { font-size: 1.1rem; }
    .slogan-box .fa-quote-left,
    .slogan-box .fa-quote-right { font-size: 0.8rem; }
    .presentation-actions .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
        width: 100%;
        margin: 5px 0;
    }
    .stat-item .display-6 { font-size: 1.3rem; }
    .stat-item p { font-size: 0.7rem; }
    .stat-item { padding: 10px !important; }
    .divider-custom { width: 100px; gap: 10px; }

    .about-item-content { padding: 15px; }
    .about-item-content h1.display-6 { font-size: 1.2rem; }
    .about-text p { font-size: 0.9rem; }
    .about-highlight { padding: 12px 15px; font-size: 0.9rem; }
    .counter-item .fs-1 { font-size: 1.8rem !important; }

    .service-img { min-height: 150px; }
    .service-img img { min-height: 150px; max-height: 200px; }
    .service-content { padding: 15px; }
    .service-content .service-title { font-size: 0.9rem; min-height: 38px; }
    .service-content .service-excerpt { font-size: 0.8rem; min-height: 50px; }
    .service-content .btn-read-more { padding: 6px 18px; font-size: 0.7rem; }

    .blog-content { padding: 12px 15px; }
    .blog-title { font-size: 0.85rem; min-height: 35px; }
    .blog-excerpt { font-size: 0.75rem; min-height: 40px; }
    .blog-category { font-size: 0.6rem; padding: 4px 12px; }
    .btn-read-more { font-size: 0.8rem; }

    .mediatheque-wrapper { padding: 10px; }
    .media-item .media-img { min-height: 150px; }
    .media-item .media-img img { min-height: 150px; max-height: 200px; }
    .media-item .media-content { padding: 12px 15px; }
    .media-item .media-content h6 { font-size: 0.8rem; min-height: 32px; }
    .media-badge { font-size: 0.6rem; padding: 4px 12px; top: 10px; left: 10px; }
    .media-play-overlay .play-icon { width: 40px; height: 40px; font-size: 18px; }

    .faq-section .accordion-button { font-size: 0.8rem; padding: 10px 14px; }
    .faq-section .accordion-button .badge { display: none; }
    .faq-section .accordion-body { padding: 14px 16px; font-size: 0.85rem; }
    .faq-section .display-4 { font-size: 1.5rem; }
    .faq-section .accordion-item { margin-bottom: 10px; }

    .team-item .team-img img { height: 250px !important; }
    .team-title { padding: 10px 8px 14px; }
    .team-title h4 { font-size: 0.9rem; }
    .team-title p { font-size: 0.75rem; }
    .team-icon .btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .team-img .badge { font-size: 0.6rem; padding: 3px 10px; }

    .partenaires .testimonial-item { min-height: 80px; padding: 8px; }
    .partenaires .testimonial-item img { max-height: 60px; }
    .partenaire-item-grid { min-height: 70px; padding: 8px !important; }
    .partenaire-item-grid img { max-height: 50px !important; }

    .bg-breadcrumb h4 { font-size: 1.6rem; }

    .featured-event { padding: 15px; }
    .featured-event h2 { font-size: 1.2rem; }
    .featured-event p { font-size: 0.85rem; }
    .featured-event .btn-light-custom { padding: 10px 25px; font-size: 0.85rem; }
    .event-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .event-stats .stat-item { padding: 12px; }
    .event-stats .stat-item .number { font-size: 1.5rem; }
    .event-stats .stat-item .label { font-size: 0.7rem; }

    .event-wrapper .event-header { height: 180px; }
    .event-wrapper .event-body { padding: 14px 16px; }
    .event-wrapper .event-body .event-title { font-size: 1.2rem; }
    .event-wrapper .event-body .event-content { font-size: 0.9rem; line-height: 1.7; }
    .event-wrapper .event-header .event-badge {
        font-size: 0.55rem;
        padding: 4px 14px;
        bottom: 10px;
        left: 15px;
    }
    .event-wrapper .event-header .event-date-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        min-width: 50px;
    }
    .event-wrapper .event-header .event-date-badge .day { font-size: 1.1rem; }
    .event-wrapper .event-header .event-date-badge .month { font-size: 0.5rem; }
    .event-wrapper .event-body .event-meta span { font-size: 0.7rem; }
    .social-share-bar { flex-direction: column; align-items: stretch; }
    .social-share-bar .share-btn { justify-content: center; }

    .photo-album-card .album-img { height: 150px; }
    .photo-album-card .album-body { padding: 12px 14px 16px; }
    .photo-album-card .album-body h5 { font-size: 0.85rem; min-height: 38px; }
    .photo-album-card .album-body p { font-size: 0.8rem; min-height: 35px; }
    .photo-album-card .album-body .album-meta span { font-size: 0.7rem; }
    .photo-album-card .album-body .btn-photo { padding: 6px 18px; font-size: 0.7rem; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }

    .video-card .video-thumbnail { height: 140px; }
    .video-card .video-body { padding: 12px 14px 15px; }
    .video-card .video-body h5 { font-size: 0.85rem; min-height: 38px; }
    .video-card .video-body p { font-size: 0.8rem; min-height: 35px; }
    .video-card .video-body .video-meta span { font-size: 0.65rem; }
    .video-card .video-body .btn-video { padding: 5px 14px; font-size: 0.65rem; }
    .video-card .video-thumbnail .play-overlay .play-btn { width: 40px; height: 40px; font-size: 18px; }
    .video-card .video-thumbnail .duration-badge { font-size: 0.6rem; padding: 2px 10px; }
    .video-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .video-stats .stat-item { padding: 12px; }
    .video-stats .stat-item .number { font-size: 1.5rem; }
    .video-stats .stat-item .label { font-size: 0.7rem; }
    .featured-video { padding: 15px; }
    .featured-video h2 { font-size: 1.1rem; }
    .featured-video .btn-featured { padding: 10px 25px; font-size: 0.85rem; }

    .bg-breadcrumb h4 { font-size: 1.3rem; }
    .about-item-content { padding: 15px !important; }
    .about-item-content .event-description { font-size: 0.9rem; line-height: 1.7; }

    .video-player-wrapper iframe { height: 200px; }
    .video-info { padding: 12px 15px; }
    .video-info .video-title { font-size: 0.95rem; }
    .video-info .video-author { font-size: 0.75rem; }
    .playlist-wrapper { max-height: 300px; padding: 12px; }
    .playlist-item { padding: 8px 10px; }
    .playlist-item .playlist-thumb { width: 50px; min-width: 50px; height: 35px; }
    .playlist-item .playlist-info .pl-title { font-size: 0.65rem; }
    .playlist-item .playlist-info .pl-author { font-size: 0.55rem; }
    .social-bar { gap: 10px; }
    .comments-wrapper { padding: 12px; }

    .custom-breadcrumb { padding: 10px 15px; flex-direction: column; gap: 10px; text-align: center; }
    .custom-breadcrumb .total-badge { font-size: 0.65rem; padding: 3px 12px; }
    .pagination-wrapper .pagination .page-item .page-link { padding: 4px 10px; font-size: 0.75rem; }

    .contact-card { padding: 15px 10px; }
    .contact-card .contact-icon { width: 45px; height: 45px; font-size: 18px; margin-bottom: 12px; }
    .contact-card h4 { font-size: 0.95rem; }
    .contact-card p { font-size: 0.8rem; }
    .contact-form-wrapper { padding: 15px; }
    .contact-form-wrapper .form-control { height: 45px; font-size: 0.85rem; padding: 10px 14px; }
    .contact-form-wrapper textarea.form-control { height: 100px; }
    .contact-form-wrapper .btn-submit { padding: 12px 25px; font-size: 0.9rem; }
    .contact-logo-wrapper img { max-width: 70%; }

    .calendar-wrapper { padding: 10px; }
    .calendar-wrapper .calendar-header .icon-circle { width: 50px; height: 50px; font-size: 20px; }
    .calendar-wrapper .calendar-header h2 { font-size: 1.1rem; }
    .calendar-wrapper .calendar-header p { font-size: 0.85rem; }
    .rdv-btn-wrapper .btn-rdv { padding: 12px 25px; font-size: 0.9rem; width: 100%; justify-content: center; }
    .calendar-iframe-wrapper iframe { height: 350px; }
    .rdv-info-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .rdv-info-cards .info-card { padding: 12px; }
    .rdv-info-cards .info-card .info-icon { width: 40px; height: 40px; font-size: 16px; }
    .rdv-info-cards .info-card h6 { font-size: 0.8rem; }
    .rdv-info-cards .info-card p { font-size: 0.7rem; }
}


<style>
        /* ============================================
           STYLES SPÉCIFIQUES - PAGE ÉQUIPE DIRIGEANTE
           ============================================ */
        
        /* --- Présentation Équipe --- */
        .team-intro {
            padding: 50px 0 20px;
        }
        .team-intro .stat-number {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--primary);
            line-height: 1.2;
            display: block;
        }
        .team-intro .stat-label {
            color: var(--gray-600);
            font-size: 0.85rem;
            font-weight: 500;
        }
        .team-intro .stat-divider {
            width: 1px;
            height: 50px;
            background: var(--gray-300);
        }

        /* --- Carte d'information --- */
        .info-card {
            background: linear-gradient(135deg, rgba(200, 16, 46, 0.05) 0%, rgba(200, 16, 46, 0.02) 100%);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(200, 16, 46, 0.08);
            transition: all 0.3s ease;
        }
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
        }
        .info-card .icon-wrapper {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: var(--primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: var(--white);
            margin-bottom: 15px;
            box-shadow: 0 8px 30px rgba(200, 16, 46, 0.2);
        }
        .info-card h5 {
            font-weight: 700;
            color: var(--dark);
        }
        .info-card p {
            color: var(--gray-600);
            font-size: 0.9rem;
        }

        /* --- Team Grid --- */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .team-member {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid rgba(0, 0, 0, 0.04);
            position: relative;
        }
        .team-member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            transform: scaleX(0);
            transition: transform 0.4s ease;
            transform-origin: left;
            z-index: 2;
        }
        .team-member:hover::before {
            transform: scaleX(1);
        }
        .team-member:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 60px rgba(200, 16, 46, 0.12);
            border-color: rgba(200, 16, 46, 0.1);
        }

        .team-member .member-img {
            position: relative;
            overflow: hidden;
            height: 320px;
            background: var(--gray-200);
        }
        .team-member .member-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .team-member:hover .member-img img {
            transform: scale(1.08);
        }

        .team-member .member-img .member-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--white);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            z-index: 2;
            animation: fadeInBadge 0.6s ease;
        }
        @keyframes fadeInBadge {
            from { opacity: 0; transform: translateY(-10px) scale(0.9); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .team-member .member-img .member-badge.president {
            background: linear-gradient(135deg, #dc3545, #bd2130);
        }
        .team-member .member-img .member-badge.vice {
            background: linear-gradient(135deg, #ffc107, #d39e00);
            color: var(--dark);
        }
        .team-member .member-img .member-badge.secretaire {
            background: linear-gradient(135deg, #17a2b8, #117a8b);
        }
        .team-member .member-img .member-badge.tresorier {
            background: linear-gradient(135deg, #28a745, #1e7e34);
        }
        .team-member .member-img .member-badge.default {
            background: linear-gradient(135deg, var(--primary), #c95500);
        }

        .team-member .member-img .member-social {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
            padding: 40px 20px 20px;
            display: flex;
            justify-content: center;
            gap: 10px;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .team-member:hover .member-img .member-social {
            transform: translateY(0);
        }
        .team-member .member-img .member-social a {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.15);
            color: var(--white);
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 0.9rem;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .team-member .member-img .member-social a:hover {
            background: var(--primary);
            transform: translateY(-5px) scale(1.1);
            border-color: var(--primary);
            box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
        }
        .team-member .member-img .member-social a i {
            transition: transform 0.3s ease;
        }
        .team-member .member-img .member-social a:hover i {
            transform: scale(1.2);
        }

        .team-member .member-info {
            padding: 22px 25px 25px;
            text-align: center;
        }
        .team-member .member-info h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 4px;
            transition: color 0.3s ease;
        }
        .team-member:hover .member-info h4 {
            color: var(--primary);
        }
        .team-member .member-info .member-role {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 8px;
        }
        .team-member .member-info .member-bio {
            font-size: 0.85rem;
            color: var(--gray-600);
            line-height: 1.6;
            margin-bottom: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .team-member .member-info .member-bio-expand {
            display: none;
        }

        /* --- Section statistiques --- */
        .stats-team {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        .stats-team .stat-item {
            text-align: center;
            padding: 25px 20px;
            background: var(--white);
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .stats-team .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border-color: var(--primary);
        }
        .stats-team .stat-item .number {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            line-height: 1;
        }
        .stats-team .stat-item .label {
            font-size: 0.85rem;
            color: var(--gray-600);
            margin-top: 8px;
        }
        .stats-team .stat-item .label i {
            color: var(--primary);
            margin-right: 5px;
        }

        /* --- CTA --- */
        .cta-team {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border-radius: 24px;
            padding: 50px 40px;
            position: relative;
            overflow: hidden;
        }
        .cta-team::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
            animation: pulseGlow 12s ease-in-out infinite;
        }
        .cta-team .cta-content {
            position: relative;
            z-index: 1;
        }
        .cta-team h3 {
            color: var(--white);
            font-size: 2rem;
        }
        .cta-team p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.05rem;
        }
        .cta-team .btn-cta {
            background: var(--white);
            color: var(--secondary);
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            border: none;
            text-decoration: none;
            display: inline-block;
        }
        .cta-team .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            color: var(--primary);
        }
        .cta-team .btn-cta i {
            transition: transform 0.3s ease;
        }
        .cta-team .btn-cta:hover i {
            transform: translateX(5px);
        }

        /* --- Responsive --- */
        @media (max-width: 991.98px) {
            .stats-team { grid-template-columns: repeat(2, 1fr); }
            .team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
            .team-intro .stat-divider { display: none; }
            .cta-team { padding: 35px 25px; }
            .cta-team h3 { font-size: 1.6rem; }
        }
        @media (max-width: 575.98px) {
            .stats-team { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stats-team .stat-item .number { font-size: 1.8rem; }
            .team-grid { grid-template-columns: 1fr; }
            .team-member .member-img { height: 280px; }
            .team-intro .stat-number { font-size: 2rem; }
        }


        /* --- Statistiques --- */
        .stats-rep {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: -40px 0 30px;
            position: relative;
            z-index: 2;
        }
        .stats-rep .stat-item {
            text-align: center;
            padding: 30px 20px;
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid rgba(0, 0, 0, 0.04);
        }
        .stats-rep .stat-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(200, 16, 46, 0.12);
            border-color: rgba(200, 16, 46, 0.1);
        }
        .stats-rep .stat-item .number {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            line-height: 1.2;
        }
        .stats-rep .stat-item .number .suffix {
            font-size: 1.8rem;
            color: var(--gray-400);
        }
        .stats-rep .stat-item .label {
            font-size: 0.9rem;
            color: var(--gray-600);
            margin-top: 8px;
            font-weight: 500;
        }
        .stats-rep .stat-item .label i {
            color: var(--primary);
            margin-right: 6px;
        }
        .stats-rep .stat-item .stat-icon {
            font-size: 2rem;
            color: var(--gray-200);
            margin-bottom: 10px;
            display: block;
        }

        /* --- Section d'introduction --- */
        .rep-intro-wrapper {
            padding: 20px 0 10px;
        }

        /* --- Styles pour le contenu de apercu_representation.php --- */
        .representation-intro {
            border: 1px solid rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
        }
        .representation-intro:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
        }

        .rep-detail-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid rgba(0, 0, 0, 0.04);
            position: relative;
            height: 100%;
        }
        .rep-detail-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            transform: scaleX(0);
            transition: transform 0.5s ease;
            transform-origin: left;
            z-index: 2;
        }
        .rep-detail-card:hover::before {
            transform: scaleX(1);
        }
        .rep-detail-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(200, 16, 46, 0.12);
            border-color: rgba(200, 16, 46, 0.1);
        }

        .rep-detail-card .rep-header {
            padding: 20px 25px 0;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .rep-detail-card .rep-header .rep-number {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.1rem;
            color: var(--white);
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }
        .rep-detail-card .rep-header .rep-number.color-primary { background: linear-gradient(135deg, var(--primary), #c95500); }
        .rep-detail-card .rep-header .rep-number.color-success { background: linear-gradient(135deg, #28a745, #1e7e34); }
        .rep-detail-card .rep-header .rep-number.color-info { background: linear-gradient(135deg, #17a2b8, #117a8b); }
        .rep-detail-card .rep-header .rep-number.color-warning { background: linear-gradient(135deg, #ffc107, #d39e00); }
        .rep-detail-card .rep-header .rep-number.color-danger { background: linear-gradient(135deg, #dc3545, #bd2130); }

        .rep-detail-card .rep-header h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0;
            color: var(--dark);
            transition: color 0.3s ease;
        }
        .rep-detail-card:hover .rep-header h4 {
            color: var(--primary);
        }
        .rep-detail-card .rep-header h4 i {
            margin-right: 8px;
            opacity: 0.7;
        }

        .rep-detail-card .rep-image-wrapper {
            padding: 15px 25px 0;
        }
        .rep-detail-card .rep-image-wrapper .image-container {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            background: var(--gray-100);
            height: 200px;
        }
        .rep-detail-card .rep-image-wrapper .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .rep-detail-card:hover .rep-image-wrapper .image-container img {
            transform: scale(1.08);
        }
        .rep-detail-card .rep-image-wrapper .image-container .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
            opacity: 0;
            transition: all 0.4s ease;
        }
        .rep-detail-card:hover .rep-image-wrapper .image-container .image-overlay {
            opacity: 1;
        }

        .rep-detail-card .rep-body {
            padding: 15px 25px 25px;
        }
        .rep-detail-card .rep-body .rep-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .rep-detail-card .rep-body .rep-list li {
            padding: 8px 0;
            font-size: 0.92rem;
            color: var(--gray-700);
            line-height: 1.6;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .rep-detail-card .rep-body .rep-list li:last-child {
            border-bottom: none;
        }
        .rep-detail-card .rep-body .rep-list li:hover {
            padding-left: 8px;
            background: rgba(200, 16, 46, 0.02);
            border-radius: 8px;
        }
        .rep-detail-card .rep-body .rep-list li i {
            margin-top: 4px;
            flex-shrink: 0;
            font-size: 0.9rem;
        }

        .rep-detail-card .rep-body .rep-list li .icon-primary { color: var(--primary); }
        .rep-detail-card .rep-body .rep-list li .icon-success { color: #28a745; }
        .rep-detail-card .rep-body .rep-list li .icon-info { color: #17a2b8; }
        .rep-detail-card .rep-body .rep-list li .icon-warning { color: #d39e00; }
        .rep-detail-card .rep-body .rep-list li .icon-danger { color: #dc3545; }

        .rep-detail-card.full-width {
            grid-column: 1 / -1;
            max-width: 50%;
            margin: 0 auto;
        }
        @media (max-width: 991.98px) {
            .rep-detail-card.full-width {
                max-width: 100%;
            }
        }

        /* --- Badge de section --- */
        .section-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin: 40px 0 30px;
        }
        .section-divider .line {
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
            max-width: 200px;
        }
        .section-divider .badge-section {
            background: rgba(200, 16, 46, 0.08);
            color: var(--primary);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 1px;
            border: 2px solid rgba(200, 16, 46, 0.15);
            text-transform: uppercase;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        .section-divider .badge-section:hover {
            background: var(--primary);
            color: var(--white);
            transform: scale(1.05);
        }
        .section-divider .badge-section i {
            margin-right: 10px;
        }

        /* --- CTA --- */
        .cta-rep {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border-radius: 24px;
            padding: 60px 40px;
            position: relative;
            overflow: hidden;
            margin: 40px 0 30px;
        }
        .cta-rep::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
            animation: pulseGlow 12s ease-in-out infinite;
        }
        .cta-rep .cta-content {
            position: relative;
            z-index: 1;
        }
        .cta-rep h3 {
            color: var(--white);
            font-size: 2.2rem;
            font-weight: 800;
        }
        .cta-rep p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 25px;
        }
        .cta-rep .btn-cta {
            background: var(--white);
            color: var(--secondary);
            padding: 16px 45px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.05rem;
            transition: all 0.4s ease;
            border: none;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }
        .cta-rep .btn-cta:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
            color: var(--primary);
        }
        .cta-rep .btn-cta i {
            transition: transform 0.3s ease;
        }
        .cta-rep .btn-cta:hover i {
            transform: translateX(6px);
        }

        /* --- Responsive --- */
        @media (max-width: 991.98px) {
            .stats-rep {
                grid-template-columns: repeat(2, 1fr);
                margin-top: -30px;
            }
            .stats-rep .stat-item .number {
                font-size: 2.2rem;
            }
            .bg-breadcrumb .display-4 {
                font-size: 3rem;
            }
            .bg-breadcrumb {
                padding: 80px 0 60px;
            }
            .cta-rep {
                padding: 40px 25px;
            }
            .cta-rep h3 {
                font-size: 1.8rem;
            }
            .rep-detail-card.full-width {
                max-width: 100%;
            }
        }
        @media (max-width: 767.98px) {
            .section-divider {
                flex-direction: column;
                gap: 10px;
            }
            .section-divider .line {
                max-width: 100%;
                width: 100%;
            }
            .section-divider .badge-section {
                font-size: 0.9rem;
                padding: 10px 20px;
            }
            .rep-detail-card .rep-image-wrapper .image-container {
                height: 180px;
            }
        }
        @media (max-width: 575.98px) {
            .stats-rep {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
                margin-top: -20px;
            }
            .stats-rep .stat-item {
                padding: 18px 12px;
            }
            .stats-rep .stat-item .number {
                font-size: 1.8rem;
            }
            .stats-rep .stat-item .label {
                font-size: 0.75rem;
            }
            .bg-breadcrumb .display-4 {
                font-size: 2.2rem;
                letter-spacing: 1px;
            }
            .bg-breadcrumb .badge-hero {
                font-size: 0.7rem;
                padding: 6px 18px;
            }
            .bg-breadcrumb .breadcrumb-subtitle {
                font-size: 0.95rem;
            }
            .bg-breadcrumb {
                padding: 60px 0 40px;
            }
            .rep-detail-card .rep-header {
                padding: 15px 18px 0;
                flex-wrap: wrap;
            }
            .rep-detail-card .rep-header h4 {
                font-size: 0.95rem;
            }
            .rep-detail-card .rep-image-wrapper {
                padding: 10px 18px 0;
            }
            .rep-detail-card .rep-image-wrapper .image-container {
                height: 160px;
            }
            .rep-detail-card .rep-body {
                padding: 12px 18px 18px;
            }
            .rep-detail-card .rep-body .rep-list li {
                font-size: 0.85rem;
                padding: 6px 0;
            }
            .cta-rep {
                padding: 30px 20px;
                border-radius: 16px;
            }
            .cta-rep h3 {
                font-size: 1.4rem;
            }
            .cta-rep p {
                font-size: 0.95rem;
            }
            .cta-rep .btn-cta {
                padding: 12px 30px;
                font-size: 0.9rem;
                width: 100%;
            }
        }
/* --- Mission Cards --- */
        .mission-card {
            background: var(--white);
            border-radius: 20px;
            padding: 35px 30px 30px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
            height: 100%;
            border: 1px solid rgba(0, 0, 0, 0.04);
        }
        .mission-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            transform: scaleX(0);
            transition: transform 0.4s ease;
            transform-origin: left;
        }
        .mission-card:hover::before {
            transform: scaleX(1);
        }
        .mission-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 60px rgba(200, 16, 46, 0.12);
            border-color: rgba(200, 16, 46, 0.1);
        }
        .mission-card .mission-number {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 3.5rem;
            font-weight: 900;
            color: rgba(200, 16, 46, 0.06);
            line-height: 1;
            font-family: 'Inter', sans-serif;
            transition: all 0.4s ease;
        }
        .mission-card:hover .mission-number {
            color: rgba(200, 16, 46, 0.12);
            transform: scale(1.1);
        }
        .mission-card .mission-icon {
            width: 65px;
            height: 65px;
            border-radius: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--white);
            margin-bottom: 20px;
            transition: all 0.4s ease;
            position: relative;
        }
        .mission-card .mission-icon::after {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border-radius: 18px;
            background: inherit;
            opacity: 0.15;
            transform: scale(1.2);
            transition: all 0.4s ease;
        }
        .mission-card:hover .mission-icon::after {
            transform: scale(1.4);
            opacity: 0.1;
        }
        .mission-card .mission-icon.icon-primary { background: linear-gradient(135deg, var(--primary), #c95500); }
        .mission-card .mission-icon.icon-success { background: linear-gradient(135deg, #28a745, #1e7e34); }
        .mission-card .mission-icon.icon-warning { background: linear-gradient(135deg, #ffc107, #d39e00); }
        .mission-card .mission-icon.icon-info { background: linear-gradient(135deg, #17a2b8, #117a8b); }
        .mission-card .mission-icon.icon-danger { background: linear-gradient(135deg, #dc3545, #bd2130); }
        .mission-card .mission-icon.icon-secondary { background: linear-gradient(135deg, #6c757d, #495057); }
        
        .mission-card h4 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            transition: color 0.3s ease;
        }
        .mission-card:hover h4 {
            color: var(--primary);
        }
        .mission-card p {
            color: var(--gray-600);
            font-size: 0.92rem;
            line-height: 1.7;
            margin-bottom: 18px;
        }
        .mission-card .mission-tag {
            display: inline-flex;
            align-items: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary);
            background: rgba(200, 16, 46, 0.08);
            padding: 5px 16px;
            border-radius: 50px;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }
        .mission-card:hover .mission-tag {
            background: var(--primary);
            color: var(--white);
            transform: translateX(5px);
        }

        /* --- Valeurs --- */
        .values-section {
            background: var(--gray-100);
            border-radius: 24px;
            padding: 50px 40px;
            margin-top: 20px;
        }
        .value-item {
            text-align: center;
            padding: 25px 15px;
            border-radius: 16px;
            background: var(--white);
            transition: all 0.4s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            border: 1px solid transparent;
        }
        .value-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
            border-color: var(--primary);
        }
        .value-item .value-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--white);
            margin-bottom: 15px;
            transition: all 0.4s ease;
        }
        .value-item:hover .value-icon {
            transform: scale(1.1) rotate(5deg);
        }
        .value-item .value-icon.bg-primary { background: linear-gradient(135deg, var(--primary), #c95500); }
        .value-item .value-icon.bg-success { background: linear-gradient(135deg, #28a745, #1e7e34); }
        .value-item .value-icon.bg-warning { background: linear-gradient(135deg, #ffc107, #d39e00); }
        .value-item .value-icon.bg-danger { background: linear-gradient(135deg, #dc3545, #bd2130); }
        .value-item h5 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 4px;
        }
        .value-item p {
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-bottom: 0;
        }

        /* --- CTA Section --- */
        .cta-mission {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border-radius: 24px;
            padding: 50px 40px;
            position: relative;
            overflow: hidden;
        }
        .cta-mission::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
            animation: pulseGlow 12s ease-in-out infinite;
        }
        .cta-mission .cta-content {
            position: relative;
            z-index: 1;
        }
        .cta-mission h3 {
            color: var(--white);
            font-size: 2rem;
        }
        .cta-mission p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.05rem;
        }
        .cta-mission .btn-cta {
            background: var(--white);
            color: var(--secondary);
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            border: none;
            text-decoration: none;
            display: inline-block;
        }
        .cta-mission .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            color: var(--primary);
        }
        .cta-mission .btn-cta i {
            transition: transform 0.3s ease;
        }
        .cta-mission .btn-cta:hover i {
            transform: translateX(5px);
        }

        /* --- Statistiques --- */
        .stats-mission {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        .stats-mission .stat-item {
            text-align: center;
            padding: 20px;
            background: var(--white);
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
        }
        .stats-mission .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        }
        .stats-mission .stat-item .number {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            line-height: 1;
        }
        .stats-mission .stat-item .label {
            font-size: 0.85rem;
            color: var(--gray-600);
            margin-top: 8px;
        }
        .stats-mission .stat-item .label i {
            color: var(--primary);
            margin-right: 5px;
        }

        @media (max-width: 991.98px) {
            .stats-mission { grid-template-columns: repeat(2, 1fr); }
            .values-section { padding: 30px 20px; }
            .cta-mission { padding: 35px 25px; }
            .cta-mission h3 { font-size: 1.6rem; }
        }
        @media (max-width: 575.98px) {
            .stats-mission { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stats-mission .stat-item .number { font-size: 1.8rem; }
            .mission-card { padding: 25px 20px; }
            .mission-card .mission-number { font-size: 2.5rem; }
        }