/* ===== STYLE CSS PERSONNALISÉ AVANCÉ ===== */
/* Fichier : assets/css/style.css */
/* Description : Styles personnalisés avancés pour index */
        /* Variables de couleurs */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--nav-height);
        }
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --light-color: #ecf0f1;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --green-accent: #2ecc71;
            --nav-height: 80px;
        }
        
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: #333;
            overflow-x: hidden;
            padding-top: var(--nav-height);
            background: #f8fafc;
            -webkit-text-size-adjust: 100%;
            -webkit-tap-highlight-color: transparent;
        }
        body.member-layout {
            padding-top: 0; /* plus de navbar fixed-top, donc on enlève l'espace */
        }

        #memberLayout {
            min-height: 100vh;
        }

        
        /* Navigation améliorée */
        .navbar {
            background: #ffffff;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 12px 0;
            border-bottom: 1px solid rgba(15, 23, 42, 0.08);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1030;
            overflow: visible;
        }

        .navbar::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(140px 80px at 12% 10%, rgba(46, 204, 113, 0.18), transparent 70%),
                radial-gradient(200px 90px at 85% 0%, rgba(16, 154, 54, 0.12), transparent 70%),
                linear-gradient(90deg, rgba(16, 154, 54, 0.05), rgba(46, 204, 113, 0.05));
            opacity: 0.55;
            pointer-events: none;
        }

        .navbar .container {
            position: relative;
            z-index: 1;
        }
        
        .navbar.scrolled {
            padding: 8px 0;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        }
        
        .navbar-brand img {
            display: block;
            height: 32px;
            width: auto;
            object-fit: contain;
        }
        
        .navbar.scrolled .navbar-brand img {
            margin-right: 1rem;
        }
        
        .nav-link {
            font-weight: 500;
            margin: 0 12px;
            position: relative;
            color: #1f2937 !important;
            transition: all 0.3s ease;
            padding: 8px 16px !important;
            border-radius: 8px;
        }
        
        .nav-link:hover {
            background: rgba(16, 154, 54, 0.12);
            color: #0f5132 !important;
            transform: translateY(-2px);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(90deg, #169a36, #2ecc71);
            transition: width 0.3s ease;
            border-radius: 2px;
        }
        
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }
        
        .nav-link.active {
            background: rgba(16, 154, 54, 0.16);
            color: #0f5132 !important;
            box-shadow: 0 6px 18px rgba(16, 154, 54, 0.18);
        }

        /* Zone utilisateur + CTA Ã  droite */
        .nav-user {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-weight: 600;
            color: #0f5132;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(16, 154, 54, 0.12);
        }

        .navbar-nav.ms-auto .nav-link {
            background: linear-gradient(135deg, #169a36, #2ecc71);
            color: #fff !important;
            border-radius: 999px;
            padding: 0.45rem 1.1rem !important;
            margin: 0 0 0 8px;
            box-shadow: 0 10px 18px rgba(16, 154, 54, 0.25);
            border: 1px solid rgba(16, 154, 54, 0.2);
        }

        .navbar-nav.ms-auto .nav-link::after {
            display: none;
        }

        .navbar-nav.ms-auto .nav-link:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 26px rgba(16, 24, 40, 0.16);
        }

        .navbar-nav.ms-auto .nav-item:nth-last-child(2) .nav-link {
            background: #ffffff;
            color: #0f5132 !important;
            border: 1px solid rgba(16, 154, 54, 0.35);
            box-shadow: none;
        }

        .navbar-nav.ms-auto .nav-item:nth-last-child(2) .nav-link:hover {
            background: rgba(16, 154, 54, 0.1);
            color: #0f5132 !important;
            border-color: rgba(16, 154, 54, 0.5);
        }

        .navbar-nav.ms-auto a[href*="logout"] {
            background: #ffffff;
            color: #0f5132 !important;
            border: 1px solid rgba(16, 154, 54, 0.35);
            box-shadow: none;
        }

        .navbar-nav.ms-auto a[href*="logout"]:hover {
            background: rgba(16, 154, 54, 0.1);
            color: #0f5132 !important;
            border-color: rgba(16, 154, 54, 0.5);
        }

        .dropdown-menu-compact {
            min-width: 210px;
            padding: 8px;
            border-radius: 12px;
            border: 1px solid rgba(46, 204, 113, 0.2);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        }

        .dropdown-menu-compact .dropdown-item {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 8px;
            font-weight: 600;
            color: var(--dark-color);
        }

        .dropdown-menu-compact .dropdown-item:hover {
            background: rgba(46, 204, 113, 0.12);
            color: var(--dark-color);
        }

        .navbar .dropdown-toggle::after {
            margin-left: 0.5rem;
            transition: transform 0.2s ease;
        }

        .navbar .dropdown.show .dropdown-toggle::after,
        .navbar .dropdown-toggle[aria-expanded="true"]::after {
            transform: rotate(180deg);
        }

        @media (min-width: 992px) {
            .navbar .nav-item.dropdown:hover > .dropdown-menu {
                display: block;
                margin-top: 0.25rem;
            }

            .navbar .nav-item.dropdown:hover > .dropdown-toggle::after {
                transform: rotate(180deg);
            }
        }

        .dropdown-submenu {
            position: relative;
        }

        .dropdown-submenu > .dropdown-toggle::after {
            transform: rotate(-90deg);
        }

        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-left: 0.5rem;
            min-width: 210px;
            border-radius: 12px;
            border: 1px solid rgba(46, 204, 113, 0.2);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
            display: none;
            z-index: 1060;
        }

        .navbar .dropdown-menu {
            z-index: 1050;
        }

        .dropdown-submenu.show > .dropdown-menu {
            display: block;
        }


        /* Hero Section avec Carousel amélioré */
        .hero-carousel {
            position: relative;
            height: 100vh;
            overflow: hidden;
        }
        
        .carousel-inner, .carousel-item {
            height: 100vh;
        }
        
        .carousel-item {
            background-size: cover;
            background-position: center;
        }
        
        .carousel-caption {
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            transform: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, rgba(35, 4, 65, 0.7) 0%, rgba(52, 152, 219, 0.5) 100%);
            border-radius: 0;
            max-width: none;
            margin: 0;
            padding: 20px;
            text-align: center;
        }
        
        .hero-carousel h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
            line-height: 1.2;
        }
        
        .hero-carousel p {
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-bottom: 30px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
            line-height: 1.4;
        }
        
        /* Sections générales améliorées */
section {
    padding: 50px 0;
    position: relative;
}
        
        section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 20%, rgba(52, 152, 219, 0.03) 0%, transparent 50%),
                       radial-gradient(circle at 70% 80%, rgba(46, 204, 113, 0.03) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 36px;
            position: relative;
        }
        
        .section-header h2 {
            font-size: clamp(1.9rem, 3.4vw, 2.6rem);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 14px;
            position: relative;
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--secondary-color), var(--green-accent));
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .section-header p {
            color: #666;
            font-size: clamp(1rem, 2vw, 1.1rem);
            max-width: 680px;
            margin: 22px auto 0;
            line-height: 1.6;
        }

        /* CTA alignés en bas des sections */
        .home-cta-group {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .home-cta-btn {
            min-width: 220px;
            padding: 0.75rem 1.8rem;
            border-radius: 999px;
            font-weight: 600;
            letter-spacing: 0.01em;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .home-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
        }

        @media (max-width: 768px) {
            .home-cta-group {
                width: 100%;
            }

            .home-cta-btn {
                width: 100%;
                min-width: 0;
            }
        }
        
        /* Cartes de domaines améliorées */
        .card {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            margin-bottom: 20px;
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary-color), var(--green-accent));
        }
        
        .card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }
        
        .card-img-top {
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .card:hover .card-img-top {
            transform: scale(1.05);
        }
        
        /* Étapes de demande améliorées (HOME ONLY) */
        .home-steps .steps {
            position: relative;
            padding-left: 30px;
        }

        .home-steps .steps::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(180deg, var(--secondary-color), var(--green-accent));
        }

        .home-steps .step {
            position: relative;
            margin-bottom: 30px;
        }

        .home-steps .step::before {
            content: '';
            position: absolute;
            left: -33px;
            top: 5px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: var(--green-accent);
            border: 3px solid white;
            box-shadow: 0 0 0 3px var(--green-accent);
        }

        
        /* Actualités améliorées */
        .news-card {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-top: 6px solid var(--secondary-color);
            position: relative;
            margin-bottom: 20px;
        }
        
        .news-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            border-top-color: var(--green-accent);
        }
        
        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            border-radius: 0 0 0 100%;
            opacity: 0.05;
            transition: all 0.4s ease;
        }
        
        .news-card:hover::before {
            transform: scale(1.2);
        }
        
        .news-date {
            font-size: 0.85rem;
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 15px;
            display: inline-block;
            padding: 5px 15px;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
            border-radius: 20px;
            border: 1px solid rgba(52, 152, 219, 0.2);
        }
        
        /* Formulaire de connexion amélioré */
        #connexion {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        
        .login-card {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border: none;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        }
        
        .required::after {
            content: '*';
            color: var(--accent-color);
            margin-left: 4px;
        }
        
        /* Contact amélioré - SUPPRESSION DE LA MARGE */
        #contact {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
            margin-bottom: 0 !important;
            padding-bottom: 80px !important;
        }
        
        /* Statistiques améliorées */
        .stat-item {
            text-align: center;
            padding: 30px 20px;
            border-radius: 20px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border-top: 6px solid var(--secondary-color);
            margin-bottom: 20px;
        }
        
        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            border-radius: 0 0 0 100%;
            opacity: 0.05;
            transition: all 0.4s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            border-top-color: var(--green-accent);
        }
        
        .stat-item:hover::before {
            transform: scale(1.2);
        }
        
        .stat-number {
            font-size: clamp(2rem, 5vw, 2.5rem);
            font-weight: 700;
            color: var(--green-accent);
            margin-bottom: 10px;
        }
        
        /* Témoignages améliorés */
        .testimonial-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 20px;
            padding: 30px 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            margin: 15px 0;
            position: relative;
            overflow: hidden;
            border-top: 6px solid var(--secondary-color);
        }
        
        .testimonial-card::before {
            content: '"';
            font-size: 5rem;
            color: var(--green-accent);
            opacity: 0.2;
            position: absolute;
            top: 10px;
            left: 20px;
            line-height: 1;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            margin-top: 20px;
        }
        
        .testimonial-author img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
            border: 2px solid var(--green-accent);
        }
        
        /* Boutons améliorés */
        .btn-primary {
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            font-size: clamp(0.9rem, 2vw, 1rem);
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--secondary-color);
            color: var(--secondary-color);
            background: transparent;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }
        
        .btn-outline-primary:hover {
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            color: white;
            border-color: transparent;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
        }
        
        .btn-outline-light:hover {
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            border-color: var(--secondary-color);
        }
        
/* ====================================
   FOOTER
   ==================================== */

.site-footer {
    background: linear-gradient(135deg, #02220b 0%, var(--primary-color) 100%);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

/* CTA Footer */
.footer-cta {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.footer-cta-text h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cta-btn {
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.footer-cta .btn-light {
    color: #0f172a;
}

.footer-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
}

        /* Section Contact supérieure */
        .footer-contact-section {
            padding: 60px 0 40px;
            position: relative;
            z-index: 2;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

/* Messages flash */
.flash-stack {
    position: fixed;
    top: 96px;
    right: 20px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(360px, calc(100vw - 40px));
}

.flash-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
    border: none;
}

.flash-item .btn-close {
    margin: 0;
    filter: none;
    opacity: 0.6;
}

.flash-item .btn-close:hover {
    opacity: 1;
}

.flash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    color: inherit;
}

.flash-content {
    margin: 0;
    font-weight: 600;
}

.flash-item.alert-success {
    background: #e9f9f0;
    color: #0f5132;
}

.flash-item.alert-warning {
    background: #fff6e6;
    color: #8a4b0f;
}

.flash-item.alert-danger,
.flash-item.alert-error {
    background: #feecec;
    color: #8b1a1a;
}

.flash-item.alert-info {
    background: #e7f1ff;
    color: #0b3d91;
}

@media (max-width: 576px) {
    .flash-stack {
        top: 80px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

.footer-contact-header {
    text-align: left;
}

.footer-section-title {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Box wrapper pour égaliser les hauteurs */
.footer-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Formulaire footer */
.footer-contact-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.footer-form-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.footer-form-label::after {
    content: ' *';
    color: #e74c3c;
}

.footer-contact-form .form-control {
    background: white;
    border: 1px solid #ddd;
    color: #2c3e50;
    font-size: 0.9rem;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-contact-form .form-control::placeholder {
    color: #95a5a6;
}

.footer-contact-form .form-control:focus {
    background: white;
    border-color: var(--secondary-color);
    color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.footer-contact-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-footer-submit {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #17a2b8, #1abc9c);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-footer-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #1abc9c, #17a2b8);
}

/* Coordonnées */
.footer-coordinates {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
}

.footer-coord-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-coord-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-coord-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-coord-item strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-coord-item p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-coord-item a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-coord-item a:hover {
    color: var(--green-accent);
}

/* Réseaux sociaux */
.footer-social-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Section inférieure */
.footer-main {
    padding: 50px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo img {
    filter: none;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.8;
    margin-top: 15px;
}

.footer-widget-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--green-accent));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--green-accent);
    transform: translateX(5px);
}

/* Newsletter */
.footer-newsletter-text {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
}

.footer-newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    padding: 10px 15px;
}

.footer-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    outline: none;
    color: white;
}

.btn-newsletter {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Copyright */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .footer-cta-actions .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-contact-section {
        padding: 40px 0 30px;
    }

    .footer-section-title {
        font-size: 1.6rem;
    }

    .footer-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-contact-form {
        padding: 20px;
    }

    .footer-coordinates {
        padding: 20px;
    }

    .footer-main {
        padding: 30px 0 20px;
    }

    .btn-footer-submit {
        width: 100%;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .btn-newsletter {
        width: 100%;
    }
}








        
        /* les fleche du caressol Membre conventionnée */
        /* =================================== */

        #membres-conventionnes .carousel-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 24px;
        }
        
        #membres-conventionnes .carousel-btn {
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.8);
            width: 54px;
            height: 54px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 10px 24px rgba(14, 122, 74, 0.35);
            font-size: 1.25rem;
        }
        
        #membres-conventionnes .carousel-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(14, 122, 74, 0.45);
        }
        
        #membres-conventionnes .carousel-btn:disabled {
            background: #d7dedb;
            color: #7b8b86;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
            border-color: transparent;
        }
        

        
        /* ===== OPTIMISATIONS MOBILE AVANCÉES CARESOL ===== */
        
        /* Correction du viewport pour tous les appareils */
        @viewport {
            width: device-width;
            zoom: 1.0;
        }
        
        /* Optimisation pour les très petits écrans (téléphones) */
        @media (max-width: 480px) {
            .container {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            .hero-carousel {
                height: 70vh;
            }
            
            .carousel-inner, 
            .carousel-item {
                height: 70vh;
            }
            
            .carousel-caption {
                padding: 15px;
            }
            
            .btn {
                display: block;
                width: 100%;
                margin-bottom: 10px;
            }
            
            .btn-group .btn {
                width: auto;
            }

            
            /* Ajustements spécifiques pour Contact et Footer sur mobile */
            #contact {
                padding-bottom: 60px !important;
            }
            
            footer {
                padding: 60px 0 20px;
            }
        }
        
        /* Optimisation pour les téléphones en mode paysage */
        @media (max-height: 500px) and (orientation: landscape) {
            .hero-carousel {
                height: 120vh;
            }
            
            .carousel-inner, 
            .carousel-item {
                height: 120vh;
            }
        }
        
        /* Amélioration de la navigation mobile */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
                backdrop-filter: blur(10px);
                margin-top: 15px;
                border-radius: 15px;
                padding: 20px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.15);
                border: 1px solid rgba(255, 255, 255, 0.8);
                max-height: calc(100vh - var(--nav-height));
                overflow: auto;
                -webkit-overflow-scrolling: touch;
            }
            
            .nav-link {
                margin: 8px 0 !important;
                text-align: center;
                padding: 12px 20px !important;
            }

            .navbar-nav.ms-auto {
                padding-top: 10px;
                margin-top: 6px;
                border-top: 1px solid rgba(15, 23, 42, 0.08);
            }

            .navbar-nav.ms-auto .nav-link {
                width: 100%;
                margin: 6px 0 0;
            }

            .nav-user {
                width: 100%;
                justify-content: center;
            }
            
            .dropdown-menu {
                text-align: center;
            }

            .dropdown-menu .dropdown-item {
                padding: 12px 16px;
            }
        }
        
        /* Correction du zoom sur iOS */
@media (max-width: 768px) {
    input, 
    select, 
    textarea {
        font-size: 16px !important;
    }

    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 0;
        margin-top: 6px;
        box-shadow: none;
        border: 1px solid rgba(46, 204, 113, 0.15);
    }

    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0deg);
    }

    .dropdown-submenu.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

}
        
        /* Optimisation des images sur mobile */
        img {
            max-width: 100%;
            height: auto;
        }
        
        /* Amélioration de la lisibilité */
        @media (max-width: 768px) {
            body {
                font-size: 14px;
                line-height: 1.5;
            }
            
            h1, h2, h3, h4, h5, h6 {
                line-height: 1.3;
            }
            
            .section-header h2 {
                font-size: 1.8rem !important;
            }
            
            .card-body {
                padding: 20px 15px;
            }
            
            .login-card .card-body {
                padding: 30px 20px;
            }
        }
        
        /* Correction des cartes sur mobile */
        @media (max-width: 768px) {
            .card {
                margin-bottom: 20px;
            }
            
            .card-img-top {
                height: 150px !important;
            }
        }
        
        /* Optimisation des formulaires */
        @media (max-width: 768px) {
            .form-control {
                font-size: 16px; /* Empêche le zoom automatique sur iOS */
            }
        }
        
        /* Amélioration du footer sur mobile */
        @media (max-width: 768px) {
            footer .row > div {
                margin-bottom: 30px;
                text-align: center;
            }
            
            footer h5::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-bottom {
                margin-top: 30px;
                padding-top: 20px;
            }
        }
        
        /* Support des écrans très haute résolution */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .navbar-brand img {
                image-rendering: -webkit-optimize-contrast;
            }
        }
        
        /* Correction pour les appareils avec encoches */
        @supports(padding: max(0px)) {
            .container, section {
                padding-left: max(15px, env(safe-area-inset-left));
                padding-right: max(15px, env(safe-area-inset-right));
            }
            
            .hero-carousel {
                padding-left: max(15px, env(safe-area-inset-left));
                padding-right: max(15px, env(safe-area-inset-right));
            }
        }
        
        /* Amélioration des performances de défilement */
        @media (max-width: 768px) {
            .hero-carousel {
                -webkit-transform: translate3d(0,0,0);
                transform: translate3d(0,0,0);
            }
        }
        
        /* Support des gestes tactiles */
        @media (max-width: 768px) {
            .carousel-item {
                touch-action: pan-y;
            }
            
            .btn, .nav-link {
                -webkit-tap-highlight-color: transparent;
            }
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Délais d'animation pour les cartes */
        .card:nth-child(1) { animation-delay: 0.1s; }
        .card:nth-child(2) { animation-delay: 0.2s; }
        .card:nth-child(3) { animation-delay: 0.3s; }
        .card:nth-child(4) { animation-delay: 0.4s; }
        .card:nth-child(5) { animation-delay: 0.5s; }
        .card:nth-child(6) { animation-delay: 0.6s; }
        
        /* Optimisation pour les écrans larges */
        @media (min-width: 1200px) {
            .container {
                max-width: 1140px;
            }
        }
        
        /* CORRECTION SPÉCIALE POUR CONTACT ET FOOTER COLLÉS */
        /* Suppression de tous les espaces entre contact et footer */
        #contact + footer {
            margin-top: 0 !important;
        }
        
        /* Assurer que le contact n'a pas de marge inférieure */
        #contact {
            margin-bottom: 0 !important;
        }
        
        /* Assurer que le footer n'a pas de marge supérieure */
        footer {
            margin-top: 0 !important;
        }

        /* Animation subtile pour les cartes */
        @keyframes subtleFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }



        
        /* ============================
        Section Membres Conventionnés améliorée
        ============================ */
        .membres-conventionnes-section {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
        }

        .membres-conventionnes-container {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: transform;
            padding-bottom: 10px;
        }

        .membre-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 20px;
            padding: 22px 20px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            position: relative;
            overflow: hidden;
            flex: 0 0 calc(33.333% - 20px);
            margin: 0 10px;
            min-height: 320px;
            height: 320px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-top: 6px solid var(--secondary-color);
        }

        .membre-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
            border-radius: 0 0 0 100%;
            opacity: 0.05;
            transition: all 0.4s ease;
        }

        .membre-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
            border-top-color: var(--green-accent);
        }

        .membre-card:hover::before {
            transform: scale(1.2);
        }

        .membre-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: contain;
            box-sizing: border-box;
            padding: 10px;
            background: #f2f6f4;
            margin: 0 auto 15px;
            display: block;
            border: 2px solid #d8e5e1;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
        }

        .membre-card:hover .membre-img {
            border-color: var(--green-accent);
            transform: scale(1.05);
        }

        .membre-name {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 5px;
            font-size: 1.15rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .membre-role {
            color: #5a6a66;
            font-weight: 500;
            margin-bottom: 10px;
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .membre-promotion {
            color: #666;
            font-size: 0.85rem;
            margin-bottom: 15px;
            background-color: #f8f9fa;
            padding: 5px 15px;
            border-radius: 20px;
            display: inline-block;
        }

        .membre-description {
            color: #555;
            font-size: 0.9rem;
            flex-grow: 1;
            line-height: 1.4;
        }

        /* Responsive pour mobile */
        @media (max-width: 768px) {
            .membres-conventionnes-container {
                flex-wrap: nowrap;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 12px;
            }
            
            .membre-card {
                flex: 0 0 85% !important;
                scroll-snap-align: start;
                margin: 0 10px;
                min-height: 260px;
                height: 260px;
                padding: 18px 16px;
            }

            .membre-img {
                width: 80px;
                height: 80px;
                padding: 6px;
            }

            .membre-name {
                font-size: 1rem;
                margin-bottom: 4px;
            }

            .membre-role {
                font-size: 0.85rem;
                margin-bottom: 6px;
                -webkit-line-clamp: 2;
            }
            
            .carousel-controls,
            .carousel-indicators {
                display: none !important;
            }

            #membres-conventionnes .carousel-controls {
                display: flex !important;
                margin-top: 16px;
            }
        }

        .membre-card:nth-child(5) { animation-delay: 0.5s; }
        .membre-card:nth-child(6) { animation-delay: 0.6s; }


/* Section des Anciens Présidents */
.presidents-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.anciens-presidents-section {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.anciens-presidents-carousel {
    position: relative;
    overflow: hidden;
}

.anciens-presidents-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding-bottom: 10px;
}





/* ============================
   SECTION PRÉSIDENTS (scopé)
   ============================ */

#bureau-precedent .presidents-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Le viewport */
#bureau-precedent .presidents-carousel {
    position: relative;
    overflow: hidden;
    padding: 12px 60px; /* espace pour les boutons gauche/droite */
}

/* Le "track" */
#bureau-precedent .presidents-container {
    display: flex;
    gap: 18px;
    align-items: stretch;
    will-change: transform;
    transform: translateX(0);
}

/* Carte */
#bureau-precedent .president-card {
    flex: 0 0 260px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 22px 18px;
    text-align: center;

    position: relative;
    overflow: hidden;

    border-top: 6px solid var(--secondary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

#bureau-precedent .president-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
    border-radius: 0 0 0 100%;
    opacity: 0.06;
    transition: transform 0.25s ease;
}

#bureau-precedent .president-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
    border-top-color: var(--green-accent);
}

#bureau-precedent .president-card:hover::before {
    transform: scale(1.15);
}

/* Image */
#bureau-precedent .president-img {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 14px;

    border: 3px solid var(--secondary-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

#bureau-precedent .president-card:hover .president-img {
    transform: scale(1.04);
    border-color: var(--green-accent);
}

/* Textes */
#bureau-precedent .president-name {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    font-size: 1.05rem;
}

#bureau-precedent .president-role {
    margin: 0 0 12px 0;
    color: var(--green-accent);
    font-weight: 600;
    font-size: 0.95rem;
}

#bureau-precedent .president-period {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;

    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.10), rgba(46, 204, 113, 0.10));
    border: 1px solid rgba(52, 152, 219, 0.20);
}

/* Contrôles (SCOPÉS) */
#bureau-precedent .presidents-carousel .carousel-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#bureau-precedent .presidents-carousel .carousel-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;

    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);

    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#bureau-precedent .presidents-carousel .carousel-btn:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 30px rgba(0,0,0,0.20);
}

#bureau-precedent .presidents-carousel #prevPresident { left: 10px; }
#bureau-precedent .presidents-carousel #nextPresident { right: 10px; }

/* Indicateurs */
#bureau-precedent .presidents-carousel .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

#bureau-precedent .presidents-carousel .carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfcfcf;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#bureau-precedent .presidents-carousel .carousel-indicator.active {
    background: var(--green-accent);
    transform: scale(1.25);
}

/* Pause */
#bureau-precedent .presidents-carousel.is-paused .presidents-container {
    transition: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    #bureau-precedent .presidents-carousel {
        padding: 10px 0;
    }

    /* Sur mobile: on laisse défiler au doigt, et on cache les boutons */
    #bureau-precedent .presidents-carousel .carousel-controls,
    #bureau-precedent .presidents-carousel .carousel-indicators {
        display: none !important;
    }

    #bureau-precedent .presidents-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    #bureau-precedent .presidents-container {
        padding: 0 14px;
    }

    #bureau-precedent .president-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
}


    .cta-final {
        background: linear-gradient(
            135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--green-accent) 100%
        );
            color: #fff;
            position: relative;
            overflow: hidden;
        }

        .cta-final h2,
        .cta-final p {
            position: relative;
            z-index: 1;
        }

        .cta-final::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 100%, rgba(255,255,255,0.1) 0%, transparent 50%);
            opacity: 0.9;
            pointer-events: none;
        }

        .form-step {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .form-step.d-none {
            opacity: 0;
            transform: translateX(10px);
        }

.member-sidebar {
    background: #011812fa; /* vert foncé */
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

/* Couleur par défaut des liens de la sidebar */
.member-sidebar a,
.member-sidebar .nav-link {
    color: #ffffff !important; /* texte blanc par défaut */
    color: #ffffff59;
}

/* Survol */
.member-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.411);
    color: #ffffff;
}

/* Lien actif */
.member-sidebar .nav-link.active {
    background: #056d96; /* vert un peu plus vif */
    color: #ffffff;
}

/* Texte en bas (user, déconnexion) déjà blanc grâce à .member-sidebar a */
.member-sidebar hr {
    border-color: rgb(255, 255, 255);
}



/* Layout admin : pas d'espace pour navbar */
body.admin-layout {
    padding-top: 0;
}

/* S'assurer que le layout admin occupe toute la hauteur */
#adminLayout {
    min-height: 100vh;
}

/* Sidebar admin : bleu foncé par exemple */
.admin-sidebar {
    background: #111827;  /* ou var(--primary-color) si tu préfères */
    color: #ffffff;
}

/* Liens admin toujours blancs */
.admin-sidebar .nav-link {
    color: #ffffff !important;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

.admin-sidebar .nav-link.active {
    background: #2563eb;  /* bleu plus vif pour l'élément actif */
    color: #ffffff !important;
}

.admin-sidebar hr {
    border-color: rgba(255, 255, 255, 0.2);
}





/* ============================
   CONSEIL CONSULTATIF (scopé)
   ============================ */

#conseil-consultatif .conseil-consultatif-section {
  position: relative;
}

/* Le viewport */
#conseil-consultatif .conseil-consultatif-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px 60px; /* espace pour les boutons gauche/droite */
}

/* Le "track" */
#conseil-consultatif .conseil-consultatif-container {
  display: flex;
  gap: 18px;
  align-items: stretch;
  will-change: transform;
  transform: translateX(0);
}

/* Carte */
#conseil-consultatif .conseil-card {
  flex: 0 0 260px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;

  position: relative;
  overflow: hidden;

  border-top: 6px solid var(--secondary-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

#conseil-consultatif .conseil-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--secondary-color), var(--green-accent));
  border-radius: 0 0 0 100%;
  opacity: 0.06;
  transition: transform 0.25s ease;
}

#conseil-consultatif .conseil-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
  border-top-color: var(--green-accent);
}

#conseil-consultatif .conseil-card:hover::before {
  transform: scale(1.15);
}

/* Image */
#conseil-consultatif .conseil-img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;

  border: 3px solid var(--secondary-color);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

#conseil-consultatif .conseil-card:hover .conseil-img {
  transform: scale(1.04);
  border-color: var(--green-accent);
}

/* Textes */
#conseil-consultatif .conseil-name {
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}

#conseil-consultatif .conseil-role {
  margin: 0 0 12px 0;
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.95rem;
}

#conseil-consultatif .conseil-expertise {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;

  color: var(--secondary-color);
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.10), rgba(46, 204, 113, 0.10));
  border: 1px solid rgba(52, 152, 219, 0.20);
}

/* Contrôles (SCOPÉS, donc pas de conflit avec tes autres .carousel-controls/.carousel-btn) */
#conseil-consultatif .conseil-consultatif-carousel .carousel-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#conseil-consultatif .conseil-consultatif-carousel .carousel-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;

  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);

  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#conseil-consultatif .conseil-consultatif-carousel .carousel-btn:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.20);
}

#conseil-consultatif .conseil-consultatif-carousel #prevConseil { left: 10px; }
#conseil-consultatif .conseil-consultatif-carousel #nextConseil { right: 10px; }

/* Indicateurs (si tu les utilises plus tard) */
#conseil-consultatif .conseil-consultatif-carousel .carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

#conseil-consultatif .conseil-consultatif-carousel .carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfcfcf;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#conseil-consultatif .conseil-consultatif-carousel .carousel-indicator.active {
  background: var(--green-accent);
  transform: scale(1.25);
}

/* Pause */
#conseil-consultatif .conseil-consultatif-carousel.is-paused .conseil-consultatif-container {
  transition: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  #conseil-consultatif .conseil-consultatif-carousel {
    padding: 10px 0;
  }

  /* Sur mobile: on laisse défiler au doigt, et on cache les boutons */
  #conseil-consultatif .conseil-consultatif-carousel .carousel-controls,
  #conseil-consultatif .conseil-consultatif-carousel .carousel-indicators {
    display: none !important;
  }

  #conseil-consultatif .conseil-consultatif-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  #conseil-consultatif .conseil-consultatif-container {
    padding: 0 14px;
  }

  #conseil-consultatif .conseil-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}



/* ============================
   COMMISSAIRES AUX COMPTES (scopé)
   ============================ */

#commissaires-comptes .commissaires-section {
    position: relative;
}

/* Le viewport */
#commissaires-comptes .commissaires-carousel {
    position: relative;
    overflow: hidden;
    padding: 12px 60px; /* espace pour les boutons gauche/droite */
}

/* Le "track" */
#commissaires-comptes .commissaires-container {
    display: flex;
    gap: 18px;
    align-items: stretch;
    will-change: transform;
    transform: translateX(0);
}

/* Groupe par année */
#commissaires-comptes .commissaire-group {
    flex: 0 0 560px;
    max-width: 560px;
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#commissaires-comptes .commissaire-group:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

#commissaires-comptes .commissaire-group-year {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d2e2b;
    background: #e9f3ef;
    border: 1px solid #d3e7de;
}

#commissaires-comptes .commissaire-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

/* Carte personne */
#commissaires-comptes .commissaire-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#commissaires-comptes .commissaire-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Image */
#commissaires-comptes .commissaire-img {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 14px;

    border: 3px solid var(--secondary-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

#commissaires-comptes .commissaire-card:hover .commissaire-img {
    transform: scale(1.04);
    border-color: var(--green-accent);
}

/* Textes */
#commissaires-comptes .commissaire-name {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    font-size: 1.05rem;
}

#commissaires-comptes .commissaire-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    margin: 4px 0 0;
    font-weight: 600;
    font-size: 0.85rem;
}

#commissaires-comptes .commissaire-role.badge-principal {
    background: #eaf4ef;
    color: #1f3a32;
    border: 1px solid #d2e6dd;
}

#commissaires-comptes .commissaire-role.badge-adjoint {
    background: #f1f3f2;
    color: #3a4a46;
    border: 1px solid #d8dfdc;
}

/* Contrôles (SCOPÉS) */
#commissaires-comptes .commissaires-carousel .carousel-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#commissaires-comptes .commissaires-carousel .carousel-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;

    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);

    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#commissaires-comptes .commissaires-carousel .carousel-btn:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 30px rgba(0,0,0,0.20);
}

#commissaires-comptes .commissaires-carousel #prevCommissaire { left: 10px; }
#commissaires-comptes .commissaires-carousel #nextCommissaire { right: 10px; }

/* Indicateurs */
#commissaires-comptes .commissaires-carousel .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

#commissaires-comptes .commissaires-carousel .carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfcfcf;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#commissaires-comptes .commissaires-carousel .carousel-indicator.active {
    background: var(--green-accent);
    transform: scale(1.25);
}

/* Pause */
#commissaires-comptes .commissaires-carousel.is-paused .commissaires-container {
    transition: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    #commissaires-comptes .commissaires-carousel {
        padding: 10px 0;
    }

    /* Sur mobile: on laisse défiler au doigt, et on cache les boutons */
    #commissaires-comptes .commissaires-carousel .carousel-controls,
    #commissaires-comptes .commissaires-carousel .carousel-indicators {
        display: none !important;
    }

    #commissaires-comptes .commissaires-container {
        padding: 0 14px;
        gap: 14px;
    }

    #commissaires-comptes .commissaire-group {
        display: contents;
    }

    #commissaires-comptes .commissaire-group-year {
        display: none;
    }

    #commissaires-comptes .commissaire-group-grid {
        display: contents;
    }

    #commissaires-comptes .commissaire-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    #commissaires-comptes .commissaire-card::after {
        content: attr(data-year);
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
        color: #1d2e2b;
        background: #e9f3ef;
        border: 1px solid #d3e7de;
    }

    #commissaires-comptes .commissaires-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
}



/* ============================================
   SECTION ACTUALITÉS & ÉVÉNEMENTS (HOME)
   ============================================ */

/* Sous-titres de section */
.section-title-wrapper {
    margin-bottom: 25px;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    letter-spacing: -0.01em;
}

/* Cartes de contenu */
.content-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

/* Image de la carte */
.content-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(1.02);
}

.content-card:hover .content-card-image img {
    transform: scale(1.12);
}

/* Badge sur image */
.content-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.badge-new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-full {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

/* Corps de la carte */
.content-card-body {
    padding: 24px;
}

.content-card-body > *:last-child {
    margin-bottom: 0;
}

/* Métadonnées */
.content-meta {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.content-meta i {
    color: var(--secondary-color);
}

/* Titre */
.content-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.content-card:hover .content-title {
    color: var(--secondary-color);
}

/* Localisation */
.content-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.content-location i {
    color: var(--green-accent);
}

/* Statistiques participants */
.content-stats {
    background: #f7fafc;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.stats-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.stats-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.stats-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.stats-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}

.fill-success {
    background: linear-gradient(90deg, #38b2ac, #48bb78);
}

.fill-warning {
    background: linear-gradient(90deg, #ed8936, #ecc94b);
}

.fill-danger {
    background: linear-gradient(90deg, #f56565, #fc8181);
}

/* Extrait */
.content-excerpt {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Lien "Lire la suite" */
.content-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-link:hover {
    color: var(--green-accent);
    gap: 10px;
}

.content-link i {
    transition: transform 0.3s ease;
}

.content-link:hover i {
    transform: translateX(4px);
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .col-lg-6:first-child {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .content-card-image {
        height: 180px;
    }
    
    .content-card-body {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.05rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
}

/* ===== ACCUEIL : ACTUALITÉS & ÉVÉNEMENTS ===== */
#actualites_evenements {
    --section-accent: #109a36;
    --section-dark: #0b3f32;
    --section-gradient: linear-gradient(135deg, var(--section-dark) 0%, var(--section-accent) 100%);
}

#actualites_evenements .content-card {
    border: 1px solid #e6ecf2;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

#actualites_evenements .news-card-home,
#actualites_evenements .event-card-home {
    --card-accent: var(--section-accent);
}

#actualites_evenements .content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--section-dark), var(--card-accent));
}

#actualites_evenements .content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

#actualites_evenements .content-card-image {
    height: 220px;
}

#actualites_evenements .content-card-image {
    border-bottom: 1px solid #e2e8f0;
}

#actualites_evenements .content-card-image.has-default {
    background: linear-gradient(135deg, #e9f7ef 0%, #d7f2e2 100%);
}

#actualites_evenements .content-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
}

#actualites_evenements .content-card-image.has-default::after {
    display: none;
}

#actualites_evenements .content-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#actualites_evenements .content-meta {
    min-height: 32px;
}

#actualites_evenements .content-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

#actualites_evenements .meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

#actualites_evenements .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #1f2937;
    border: 1px solid #e2e8f0;
}

#actualites_evenements .meta-chip i {
    color: var(--section-accent);
}

#actualites_evenements .meta-chip-light {
    background: rgba(16, 154, 54, 0.12);
    color: #0f5132;
    border-color: rgba(16, 154, 54, 0.25);
}

#actualites_evenements .content-excerpt {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#actualites_evenements .content-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#actualites_evenements .content-cta {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    color: var(--section-dark);
    background: rgba(16, 154, 54, 0.12);
    border: 1px solid rgba(16, 154, 54, 0.3);
}

#actualites_evenements .content-cta:hover {
    background: rgba(16, 154, 54, 0.2);
}

#actualites_evenements .content-badge {
    left: 12px;
    right: auto;
}

#actualites_evenements .default-image {
    background: linear-gradient(135deg, rgba(16, 154, 54, 0.22), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(16, 154, 54, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
}

#actualites_evenements .default-image i {
    color: rgba(6, 95, 70, 0.85);
}

@media (max-width: 768px) {
    #actualites_evenements .content-card-image {
        height: 190px;
    }

    #actualites_evenements .content-card {
        min-height: auto;
    }

    #actualites_evenements .content-cta {
        width: 100%;
        justify-content: center;
    }

    #actualites_evenements .content-card-footer {
        justify-content: stretch;
    }
}




/* ============================================
   IMAGES PAR DÉFAUT - ACTUALITÉS & ÉVÉNEMENTS
   ============================================ */

/* Container pour l'image par défaut */
.default-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Icône centrale */
.default-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    position: relative;
    animation: pulseIcon 2s ease-in-out infinite;
}

.default-image .default-logo {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

/* Animation de l'icône */
@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Gradient pour les actualités (Bleu) */
.default-news {
    background: linear-gradient(135deg, #e9f7ef 0%, #d7f2e2 100%);
    position: relative;
}


.default-news::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* Gradient pour les événements (Vert) */
.default-event {
    background: linear-gradient(135deg, #e9f7ef 0%, #d7f2e2 100%);
    position: relative;
}

.default-event::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Effet hover sur les images par défaut */
.content-card:hover .default-image i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .default-image {
        min-height: 200px;
    }
    
    .default-image i {
        font-size: 4rem;
    }
}

/* ============================================
   AMÉLIORATION DES CARDS
   ============================================ */

/* Card avec ombre plus marquée */
.content-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Image de la card */
.content-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 250px;
}

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

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

/* Badge NEW ou COMPLET */
.content-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideInRight 0.5s ease;
}

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

.badge-new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-full {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

/* Corps de la card */
.content-card-body {
    padding: 1.5rem;
}

.content-meta {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.content-location i {
    color: #dc3545;
}

/* Lien "Lire la suite" */
.content-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-link:hover {
    color: #0a58ca;
    gap: 0.75rem;
}

.content-link i {
    transition: transform 0.3s ease;
}

.content-link:hover i {
    transform: translateX(5px);
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Stats des participants */
.content-stats {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stats-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-info i {
    color: #0d6efd;
}

.stats-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.stats-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.fill-success {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.fill-warning {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.fill-danger {
    background: linear-gradient(90deg, #dc3545, #e83e8c);
}



/* Menu hamburger moderne avec animation */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem !important;
    background: transparent !important;
    position: relative;
    width: 40px;
    height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Créer les 3 barres en CSS pur */
.navbar-toggler-icon {
    position: relative;
    background: transparent !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: #1f2937;
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Animation quand le menu est ouvert */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

/* Sur fond blanc */
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: #169a36;
}

/* Shared password toggle */
.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 120px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #dbe4ef;
    background: #f6f8fb;
    color: #334155;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-toggle i {
    font-size: 0.95rem;
}

.password-toggle:hover {
    background: #eef3f8;
    color: var(--secondary-color);
    border-color: #c7d6e5;
}

.password-toggle:focus-visible {
    outline: 3px solid rgba(46, 204, 113, 0.35);
    outline-offset: 2px;
}
