/* Ancien css */
 
 :root {
            --primary: #6a0dad;
            --primary-dark: #4d0a8f;
            --secondary: #d4af37;
            --tertiary: #00843D;
            --light: #f9f7f5;
            --dark: #1a1a2e;
            --gray: #5a5a72;
            --natif0:#EEE6D8;
            --natif1:#DAAB3A;
            --natif2:#B67332;
            --natif3:#730016;
            --natif4:#5A0012;
            --natif5:#A7001E;
            --natif6:#730016;
            --light-gray: #eaeaea;
            --transition: all 0.3s ease;
        }
    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark);
            line-height: 1.6;
            background-color: var(--natif0);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            color: var(--dark);
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 28px;
            background: var(--natif1);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border: 1px solid var(--natif3);
        }
        
        .btn:hover {
            background: var(--natif2);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .btn-secondary {
            background: var(--natif1);
            border-color: var(--natif3);
        }
        
        .btn-secondary:hover {
            color: white;
        }
        
        .btn-tertiary {
            background: var(--natif1);
            border-color: var(--natif3);
        }
        
        .btn-tertiary:hover {
            color: white;
        }
        
        /* Top Social Bar */
        .top-bar {
            background: var(--natif6);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }
        
        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icons a {
            color: var(--natif0);
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            color: var(--natif1);
            transform: translateY(-2px);
        }
        
        .contact-info {
            display: flex;
            gap: 20px;
        }
        
        .contact-info span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* Main Navigation */
        .navbar {
            background: var(--natif0);
            font-size:12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 0;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: center;
            padding: 5px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            width: 100px;
            height: 70px;
        }
        
        .logo h1 {
            font-size: 1.3rem;
            color: var(--natif3);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            font-size: 12px;
        }
        
        .nav-links > li {
            font-size: 12px;
            position: relative;
        }
        
        .nav-links > li > a {
            font-size: 12px;
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            padding: 15px 20px;
            display: block;
            transition: var(--transition);
        }
        
        .nav-links > li > a:hover {
            color: var(--natif3);
            background: rgba(218, 171, 58, 0.1);
        }
        
        .nav-links > li > a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: var(--natif1);
            transition: var(--transition);
        }
        
        .nav-links > li > a:hover::after {
            width: 70%;
        }
        
        /* Dropdown Styles */
        .dropdown-content {
            font-size: 12px;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-radius: 0 0 8px 8px;
            min-width: 250px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s ease;
            z-index: 100;
        }
        
        .dropdown:hover .dropdown-content {
            max-height: 500px;
            opacity: 1;
            transform: translateY(0);
        }
        
        .dropdown-content a {
            display: block;
            padding: 12px 20px;
            text-decoration: none;
            color: var(--dark);
            transition: var(--transition);
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .dropdown-content a:hover {
            background: rgba(182, 115, 50, 0.1);
            color: var(--natif3);
            padding-left: 25px;
        }
        
        .dropdown-content a:last-child {
            border-bottom: none;
        }
        
        .dropdown > a::after {
            content: '\f107';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            margin-left: 8px;
            font-size: 0.9rem;
            transition: transform 0.3s;
        }
        
        .dropdown:hover > a::after {
            transform: rotate(180deg);
        }
        
        /* Hero Section */
        .hero {
            position: relative;
            height: 500px;
            display: flex;
            align-items: relative;
            justify-content: relative;
            text-align: relative;
            overflow: hidden;
            color: white;
        }
        
        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('images/presidente1.jpg');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }
        
        .hero-content {
            max-width: 800px;
            padding: 20px;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 2.0rem;
            margin-bottom: 20px;
            color: white;
            text-shadow: 0 2px 30px rgba(255, 255, 255, 1);
        }
        
        .hero p {
            font-size: 1.2rem;
            font-weight:bold;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        /* Programs Animation */
        .programs-animation {
            position: absolute;
            bottom: 30px;
            left: 0;
            width: 100%;
            background: rgba(147, 68, 26, 0.7);
            padding: 15px 0;
            backdrop-filter: blur(5px);
        }
        
        .program-slider {
            display: flex;
            animation: slidePrograms 30s linear infinite;
            white-space: nowrap;
        }
        
        .program-item {
            padding: 0 30px;
            font-size: 1.4rem;
            font-weight: 600;
            color: white;
            display: flex;
            align-items: center;
        }
        
        .program-item::before {
            content: "•";
            margin-right: 10px;
            color: var(--natif1);
            font-size: 1.8rem;
        }
        
        @keyframes slidePrograms {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
/* Carrousel Styles */
.carousel-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 25px;
    width: 100%;
    max-width: 100%;
}

.carousel-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: auto;
    background: linear-gradient(135deg, #f9f7f5 0%, #ffffff 100%);
}

.carousel-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(167, 0, 30, 0.15);
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item:hover .carousel-image img {
    transform: scale(1.1);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(115, 0, 22, 0.95) 0%, 
        rgba(115, 0, 22, 0.8) 50%,
        transparent 100%);
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
}

.carousel-item:hover .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #daab3a;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Contrôles de navigation */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 20;
    padding: 0 15px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: linear-gradient(135deg, #730016 0%, #A7001E 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #A7001E 0%, #730016 100%);
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(0) scale(0.95);
}

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #730016;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #730016 0%, #A7001E 100%);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.indicator.active::before {
    transform: translateX(100%);
}

.indicator.active {
    transform: scale(1.3);
    border-color: #daab3a;
}

.indicator:hover {
    transform: scale(1.2);
    border-color: #daab3a;
}

.indicator:hover::before {
    transform: translateX(0);
}

/* Animation de transition */
@keyframes slideIn {
    from {
        opacity: 0.6;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-slide.active {
    animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Effet de profondeur */
.carousel-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(218, 171, 58, 0.1) 0%, rgba(115, 0, 22, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(15px);
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .carousel-section {
        padding: 10px 0;
    }
    
    .carousel-container {
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .carousel-grid {
        grid-template-columns: 1fr !important; /* Une seule image sur mobile */
        gap: 15px;
    }
    
    .carousel-image {
        position: relative;
        width: 75%;
        height: 100%;
        overflow: hidden;
    }
    
    .carousel-slide {
        padding: 15px;
    }
    
    .carousel-item {
        margin: 0 auto;
        max-width: auto;
        height: auto;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .carousel-caption {
        transform: translateY(0);
        padding: 20px;
        background: linear-gradient(to top, 
            rgba(115, 0, 22, 0.98) 0%, 
            rgba(115, 0, 22, 0.9) 100%);
    }
    
    .carousel-caption h3 {
        font-size: 1.1rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        margin-top: 25px;
        gap: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* Tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-grid {
        grid-template-columns: 1fr !important; /* 2 images sur tablette */
        gap: 20px;
    }
    
    .carousel-item {
        height: auto;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .carousel-grid {
        grid-template-columns: 1fr !important; /* 3 images sur desktop */
    }
}

/* Grands écrans */
@media (min-width: 1400px) {
    .carousel-container {
        max-width: 1400px;
    }
    
    .carousel-item {
        height: auto;
    }
}

/* Animation de chargement */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-section {
    animation: fadeIn 0.8s ease-out;
}

/* États de focus pour accessibilité */
.carousel-prev:focus,
.carousel-next:focus,
.indicator:focus {
    outline: 3px solid #daab3a;
    outline-offset: 2px;
}

/* Prévention du layout shift */
.carousel-image {
    aspect-ratio: 4/3;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


        /* About Section */
        .about {
            padding: 100px 0;
            background-color: white;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--natif3);
        }
        
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        /* Programs Section */
        .programs {
            padding: 100px 0;
            background-color: var(--light);
        }
        
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .program-card {
            background: var(--natif6);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        
        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .program-image {
            height: 200px;
            overflow: hidden;
        }
        
        .program-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .program-card:hover .program-image img {
            transform: scale(1.1);
        }
        
        .program-content {
            padding: 25px;
        }
        
        .program-content h3 {
            margin-bottom: 15px;
            color: var(--natif1);
        }
        
        .program-content p {
            margin-bottom: 20px;
            color: white;
        }
        
        /* Calls Section */
        .calls {
            padding: 100px 0;
            background: linear-gradient(to right, var(--natif2), var(--natif3));
            color: white;
        }
        
        .calls .section-title h2 {
            color: white;
        }
        
        .calls-container {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 40px;
            backdrop-filter: blur(10px);
        }
        
        .call-item {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 25px;
            transition: var(--transition);
        }
        
        .call-item:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateX(10px);
        }
        
        .call-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .call-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .call-date {
            background: var(--secondary);
            color: var(--dark);
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 600;
        }
        
        .call-desc {
            margin-bottom: 20px;
        }
        
        /* Stats Section */
        .stats {
            padding: 80px 0;
            background: var(--natif3);
            color: white;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
        }
        
        .stat-item {
            padding: 30px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            backdrop-filter: blur(5px);
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--natif1);
            margin-bottom: 10px;
        }
        
        .stat-text {
            font-size: 1.1rem;
        }
        
        /* Footer */
        footer {
            background: var(--natif6);
            color: white;
            padding: 70px 0 0;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }
        
        .footer-col h3 {
            color: var(--natif1);
            margin-bottom: 25px;
            font-size: 1.4rem;
        }
        
        .footer-col ul {
            list-style: none;
        }
        
        .footer-col ul li {
            margin-bottom: 15px;
        }
        
        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-col ul li a:hover {
            color: var(--natif1);
            padding-left: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background: var(--natif1);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding: 25px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        
        /* Mobile Navigation */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--dark);
        }
        
        .mobile-logo {
            display: none;
            text-align: center;
            padding: 1px 0;
            background: var(--natif0);
            border-bottom: 1px solid var(--light-gray);
        }
        
        .mobile-logo img {
            width: 80px;
            height: 80px;
        }
        
        .mobile-logo h1 {
            font-size: 1.3rem;
            color: var(--natif3);
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--natif0);
                flex-direction: column;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
                padding: 20px 0;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .dropdown-content {
                position: static;
                box-shadow: none;
                max-height: 0;
                opacity: 1;
                transform: none;
                transition: max-height 0.4s ease;
                background: rgba(218, 171, 58, 0.1);
                border-radius: 0;
            }
            
            .dropdown:hover .dropdown-content {
                max-height: 500px;
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .logo {
                display: none;
            }
            
            .mobile-logo {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .program-slider {
                animation: slidePrograms 15s linear infinite;
            }
            
            .program-item {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                height: 400px;
            }
            
            .hero h1 {
                font-size: 2.3rem;
            }
            
            .hero-btns {
                flex-direction: column;
                gap: 15px;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .carousel-image {
                height: 350px;
            }
            
            .top-bar .container {
                flex-direction: column;
                gap: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .carousel-image {
                height: 300px;
            }
        }
        /* Section Actualités */
        .news {
            padding: 100px 0;
            background-color: white;
        }
        
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .news-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            border: 1px solid var(--light-gray);
        }
        
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .news-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .news-date {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--natif3);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .news-card:hover .news-image img {
            transform: scale(1.1);
        }
        
        .news-content {
            padding: 25px;
        }
        
        .news-content h3 {
            margin-bottom: 15px;
            color: var(--natif3);
        }
        
        .news-content p {
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .news-more {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
        /* Section FAQ */
        .faq {
            padding: 100px 0;
            background-color: var(--light);
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        .faq-question {
            padding: 20px 25px;
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--natif3);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(167, 0, 30, 0.05);
            transition: var(--transition);
        }
        
        .faq-question:hover {
            background: rgba(167, 0, 30, 0.1);
        }
        
        .faq-question::after {
            content: '\f107';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
        }
        
        .faq-question.active::after {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            padding: 0 25px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            background: white;
        }
        
        .faq-answer.show {
            padding: 0 25px 25px;
            max-height: 500px;
        }
        
        .faq-answer p {
            margin-bottom: 15px;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
        }
        
    /* Ajout du style pour le popup de développement */
        #dev-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(167, 0, 30, 0.75); /* var(--natif3) avec transparence */
            color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            z-index: 2000;
            max-width: 90%;
            width: 500px;
            text-align: center;
            animation: fadeIn 0.5s ease-out;
        }
        
        #dev-popup h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--natif0);
        }
        
        #dev-popup p {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        #dev-popup .countdown {
            font-weight: bold;
            color: var(--natif1);
            font-size: 1.2rem;
            margin: 15px 0;
        }
        
        .popup-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        .popup-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
        }
        
        .popup-btn.close-now {
            background-color: var(--natif1);
            color: white;
        }
        
        .popup-btn.close-now:hover {
            background-color: var(--natif2);
        }
        
        .popup-btn.understand {
            background-color: transparent;
            border: 1px solid var(--natif0);
            color: var(--natif0);
        }
        
        .popup-btn.understand:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        /* Animation d'apparition */
        @keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -45%); }
            to { opacity: 1; transform: translate(-50%, -50%); }
        }
        
        /* Animation de disparition */
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; visibility: hidden; }
        }
        
        /* Overlay d'arrière-plan */
        #popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1999;
            backdrop-filter: blur(3px);
        }
        /* Nouvelle section Formulaire de Contact */
        .contact-form-section {
            padding: 100px 0;
            background: var(--light);
        }
        
        .contact-form-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .contact-form-title {
            text-align: center;
            margin-bottom: 40px;
            color: var(--natif3);
        }
        
        .contact-form-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
            color: var(--natif3);
        }
        
        .contact-form-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--natif1);
        }
        
        .contact-form {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-group label {
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--dark);
        }
        
        .form-control {
            padding: 12px 15px;
            border: 1px solid var(--light-gray);
            border-radius: 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--natif1);
            outline: none;
            box-shadow: 0 0 0 3px rgba(218, 171, 58, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .topics-group {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .topics-title {
            font-weight: 500;
            color: var(--dark);
            margin-bottom: 5px;
        }
        
        .topics-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .topic-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .topic-item input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: var(--natif3);
        }
        
        .topic-item label {
            font-weight: 400;
            cursor: pointer;
        }
        
        .submit-btn {
            background: var(--natif3);
            color: white;
            border: none;
            padding: 14px 25px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Montserrat', sans-serif;
        }
        
        .submit-btn:hover {
            background: var(--natif2);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(167, 0, 30, 0.2);
        }
        
        .submit-btn:active {
            transform: translateY(0);
        }
        
        .submit-btn i {
            margin-left: 8px;
        }
        
        .form-note {
            font-size: 0.9rem;
            color: var(--gray);
            text-align: center;
            margin-top: 10px;
        }
        
        .form-success {
            display: none;
            background: rgba(0, 132, 61, 0.1);
            border: 1px solid var(--tertiary);
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            margin-top: 20px;
        }
        
        .form-success.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        .form-success i {
            color: var(--tertiary);
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .form-success h3 {
            color: var(--tertiary);
            margin-bottom: 10px;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
    
        @media (max-width: 768px) {
            .contact-form-container {
                padding: 25px;
            }
            
            .topics-container {
                grid-template-columns: 1fr;
            }
            
            .contact-form-title h2 {
                font-size: 2rem;
            }
        }
        
        
/* Hero Section */
.language-switcher {
    text-align: right;
    padding: 10px 15px;
    font-family: Arial, sans-serif;
}

.language-switcher .container {
    display: inline-block;
}

.language-switcher a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.language-switcher a:hover {
    color: #000;
}

.language-switcher a.active {
    font-weight: bold;
    color: #B67332; /* Couleur d’accent pour la langue active */
    border-bottom: 2px solid #730016; /* Optionnel pour un indicateur visuel */
}

.language-switcher .separator {
    color: #999;
    margin: 0 4px;
    font-weight: normal;
}


.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-btns .btn {
    font-size: 1.2rem;
    padding: 15px 35px;
}

/* Programs Animation */
.programs-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(115, 0, 22, 0.8); /* var(--natif6) with transparency */
    padding: 15px 0;
    backdrop-filter: blur(5px);
}

.program-slider {
    display: flex;
    animation: slidePrograms 30s linear infinite;
    white-space: nowrap;
}

.program-item {
    padding: 0 30px;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
}

.program-item::before {
    content: "•";
    margin-right: 10px;
    color: var(--natif1);
    font-size: 1.8rem;
}

@keyframes slidePrograms {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Vidéo d'introduction */
.intro-video {
    padding: 60px 0; /* réduit sur petits écrans */
    background-color: white;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

/* Wrapper responsive avec ratio 16:9 */
.video-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9; /* moderne */
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contenu texte */
.video-content {
    flex: 1;
    min-width: 280px;
}

.video-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--natif3);
}

.video-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .intro-video {
        padding: 40px 15px;
    }

    .video-container {
        flex-direction: column;
        gap: 20px;
    }

    .video-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .video-content p {
        font-size: 0.95rem;
        text-align: center;
    }

    .video-content a.btn {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}



/* Programs Overview */
.programs-overview {
    padding: 100px 0;
    background-color: var(--light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--natif1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--natif3);
}

.program-card p {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--natif3);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--natif1);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(167, 0, 30, 0.1);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--natif1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--natif3);
}

/* Latest News */
.latest-news {
    padding: 100px 0;
    background-color: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    margin-bottom: 15px;
    color: var(--natif3);
}

.news-content p {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Partners */
.partners {
    padding: 100px 0;
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
}

/* Highlight Newsletter */
.highlight-newsletter {
    padding: 80px 0;
    background: linear-gradient(to right, var(--natif2), var(--natif3));
    color: white;
}

.newsletter-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(5px);
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.newsletter-form form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--natif1);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--natif2);
}

.newsletter-message {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    display: none;
}

.newsletter-message.success {
    display: block;
    background: rgba(0, 132, 61, 0.2);
    border: 1px solid var(--tertiary);
}

.newsletter-message.error {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-item {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form form {
        flex-direction: column;
    }
}

/* header */
.header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
}

.header-col {
    padding: 1px;
}

/* Footer */
footer {
    background: var(--natif6);
    color: white;
    padding: 70px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    padding: 15px;
}

.footer-col h3 {
    color: var(--natif1);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--natif1);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-col ul li a:hover {
    color: var(--natif1);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--natif1);
    transform: translateY(-5px);
}

/* Newsletter */
.newsletter-form {
    margin-top: 30px;
}

.newsletter-form h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--natif1);
}

.newsletter-form p {
    margin-bottom: 15px;
    color: #ccc;
}

.newsletter-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #ddd;
}

.newsletter-form button {
    background: var(--natif1);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.newsletter-form button:hover {
    background: var(--natif2);
}

.newsletter-message {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    display: none;
}

.newsletter-message.success {
    display: block;
    background: rgba(0, 132, 61, 0.2);
    border: 1px solid var(--tertiary);
}

.newsletter-message.error {
    display: block;
    background: rgba(167, 0, 30, 0.2);
    border: 1px solid var(--natif3);
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
    background: rgba(0, 0, 0, 0.2);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--natif1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr;
        gap:5px;
    }
    
    .header-col {
        padding: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        padding: 0;
    }
    
    .newsletter-form form {
        flex-direction: column;
    }
}

/* ================ PAGE PROGRAMMES (LISTE) ================ */
.programs-list-page {
  background-color: var(--light);
}

.programs-list-header {
  padding: 50px 0;
  text-align: center;
  margin-bottom: 50px;
}

.programs-list-header h1 {
  font-size: 2.8rem;
  color: var(--natif3);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.programs-list-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--natif1);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-card-img {
  height: 200px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.05);
}

.program-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-card-content h3 {
  margin-bottom: 15px;
  color: var(--natif3);
}

.program-card-content p {
  margin-bottom: 20px;
  color: var(--dark);
  flex-grow: 1;
}

.program-card-footer {
  padding: 0 25px 25px;
}

/* ================ PAGE DÉTAIL PROGRAMME ================ */
.program-detail-page {
  background-color: var(--light);
}

.program-detail-header {
  padding: 50px 0;
  margin-bottom: 40px;
  text-align: center;
}

.program-detail-header h1 {
  font-size: 2.8rem;
  color: var(--natif3);
  margin-bottom: 15px;
}

.program-breadcrumb {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.program-breadcrumb a {
  color: var(--natif3);
  text-decoration: none;
  transition: var(--transition);
}

.program-breadcrumb a:hover {
  color: var(--natif1);
}

.program-breadcrumb span {
  margin: 0 10px;
  color: var(--natif1);
}

.program-detail-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.program-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.program-section {
  margin-bottom: 40px;
}

.program-section h2 {
  color: var(--natif3);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--natif1);
}

.program-section p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.program-cta {
  margin-top: 50px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .program-detail-header h1 {
    font-size: 2.2rem;
  }
}

/* Page À Propos */
.about-page .section-title h1 {
    font-size: 3rem;
    color: var(--natif3);
}

.history-section {
    padding: 50px 0;
    background-color: var(--light);
}

.history-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.history-text {
    flex: 1;
    min-width: 300px;
}

.history-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.founder-box {
    background: rgba(167, 0, 30, 0.05);
    border-left: 4px solid var(--natif3);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.founder-quote {
    position: relative;
    padding: 20px;
}

.founder-quote i.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: rgba(167, 0, 30, 0.1);
}

.founder-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 40px;
}

.founder-signature {
    text-align: right;
}

.founder-signature strong {
    display: block;
    font-size: 1.2rem;
    color: var(--natif3);
}

.history-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.history-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.history-years {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
}

.year-item {
    text-align: center;
    background: var(--natif3);
    color: white;
    padding: 15px;
    border-radius: 8px;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.year-item:hover {
    transform: translateY(-10px);
}

.year {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.year-text {
    font-size: 0.9rem;
}

/* Mission, Vision, Valeurs */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(to right, var(--natif2), var(--natif3));
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 40px 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--natif1);
}

.value-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.values-list {
    margin-top: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.value-item i {
    color: var(--natif1);
}

/* Équipe */
.team-section {
    padding: 100px 0;
    background-color: var(--light);
}

.team-group {
    margin-bottom: 60px;
}

.team-group-title {
    font-size: 1.8rem;
    color: var(--natif3);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--natif1);
    display: inline-block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(167, 0, 30, 0.7);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social a {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.member-social a:hover {
    background: var(--natif1);
}

.member-info {
    padding: 25px;
}

.member-info h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--natif3);
}

.position {
    color: var(--natif1);
    font-weight: 500;
    margin-bottom: 15px;
}

.bio {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Rapports d'activité */
.reports-section {
    padding: 100px 0;
    background-color: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.report-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--natif3);
    color: white;
    padding: 15px 25px;
}

.report-year {
    font-size: 1.8rem;
    font-weight: 700;
}

.report-language {
    background: var(--natif1);
    color: var(--natif6);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.report-card h3 {
    padding: 20px 25px 10px;
    color: var(--natif3);
}

.report-card p {
    padding: 0 25px 20px;
    color: var(--dark);
}

.report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(167, 0, 30, 0.05);
    border-top: 1px solid var(--light-gray);
}

.report-size {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .history-content {
        flex-direction: column;
    }
    
    .history-years {
        position: relative;
        bottom: auto;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-page .section-title h1 {
        font-size: 2.5rem;
    }
    
    .history-years {
        flex-direction: column;
        gap: 15px;
    }
}

/* Styles pour le contenu formaté (Summernote) */
.actualite-content {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.actualite-content h1, 
.actualite-content h2, 
.actualite-content h3, 
.actualite-content h4, 
.actualite-content h5, 
.actualite-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 700;
    color: #2c3e50;
}

.actualite-content p {
    margin-bottom: 1.2em;
}

.actualite-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.actualite-content ul,
.actualite-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.actualite-content li {
    margin-bottom: 0.5em;
}

.actualite-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    color: #555;
}

.actualite-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.actualite-content th,
.actualite-content td {
    padding: 0.8em;
    border: 1px solid #ddd;
    text-align: left;
}

.actualite-content th {
    background-color: #f8f9fa;
    font-weight: 700;
}

.actualite-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.actualite-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Page de don */
.donate-hero {
    background: linear-gradient(to right, var(--natif1), var(--natif2));
    color: white;
    padding: 30px 0 80px;
    text-align: center;
}


.donate-hero h1 {
    font-size: 3.0rem;
    margin-bottom: 10px;
    color: white;
}

.donate-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.donate-form-section {
    padding: 80px 0;
}

.donate-steps {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    font-size: 13px;
}

.donate-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--light-gray);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid var(--light-gray);
    font-weight: 500;
    color: var(--gray);
}

.step.active {
    background: var(--natif1);
    color: white;
    border-color: var(--natif1);
}

.form-step {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-step.active {
    display: block;
}

.form-step h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--natif3);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.amount-option {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-option:hover,
.amount-option.active {
    border-color: var(--natif1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(167, 0, 30, 0.1);
}

.amount-option span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--natif3);
    display: block;
    margin-bottom: 5px;
}

.amount-option small {
    font-size: 0.9rem;
    color: var(--gray);
}

.custom-amount {
    margin-bottom: 30px;
}

.custom-amount label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.input-group {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.input-group input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: right;
}

.input-group .currency {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--natif3);
}

.recurring-donation {
    margin-bottom: 30px;
    text-align: center;
}

.recurring-donation label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.recurring-donation input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--natif3);
}

.recurring-donation i {
    color: var(--natif1);
    cursor: help;
}

.form-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.project-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-option input {
    display: none;
}

.project-option input:checked + .project-card {
    border-color: var(--natif1);
    box-shadow: 0 5px 15px rgba(167, 0, 30, 0.1);
}

.project-card {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.project-card:hover {
    border-color: var(--natif1);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--natif1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--natif3);
}

.project-card p {
    color: var(--dark);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    min-height: 120px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-option input {
    display: none;
}

.payment-option input:checked + .payment-card {
    border-color: var(--natif1);
    background: rgba(167, 0, 30, 0.05);
}

.payment-card {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.payment-card:hover {
    border-color: var(--natif1);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--natif3);
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-card h3 {
    margin-bottom: 10px;
    color: var(--natif3);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 132, 61, 0.1);
    border: 1px solid var(--tertiary);
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.security-badge i {
    color: var(--tertiary);
    font-size: 1.5rem;
}

.donation-success {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.donation-success h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--tertiary);
}

.success-details {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.form-errors {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    background: rgba(167, 0, 30, 0.1);
    border: 1px solid var(--natif3);
    border-radius: 8px;
}

.form-errors h3 {
    color: var(--natif3);
    margin-bottom: 10px;
}

.form-errors ul {
    padding-left: 20px;
}

.donation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--natif1);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--natif3);
}

.donor-testimonials {
    padding: 50px 0;
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(167, 0, 30, 0.1);
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    padding-left: 40px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--natif3);
}

.btn-donate:hover {
    background: var(--natif4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .donate-hero h1 {
        font-size: 2.5rem;
    }
    
    .donate-steps {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .donate-steps::before {
        display: none;
    }
    
    .step {
        width: 100%;
        text-align: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* Receipt Styles */
.receipt-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background: white;
}

.receipt-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 1rem;
}

.receipt-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.receipt-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.receipt-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.receipt-details {
    margin: 2rem 0;
}

.receipt-item {
    display: flex;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.receipt-label {
    font-weight: bold;
    width: 200px;
    color: #2c3e50;
}

.receipt-signature {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    text-align: right;
}

.receipt-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Galerie Newsletters */
.newsletters-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/newsletters-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.newsletters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.newsletter-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.newsletter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.newsletter-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.newsletter-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.newsletter-card:hover .newsletter-cover img {
    transform: scale(1.05);
}

.placeholder-cover {
    height: 100%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.placeholder-cover i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.placeholder-cover h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.newsletter-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.newsletter-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.newsletter-date {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.newsletter-language {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.newsletter-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #343a40;
    flex-grow: 1;
}

.newsletter-subject {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-download {
    background: #28a745;
    color: white;
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-preview {
    background: #17a2b8;
    color: white;
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-download:hover, .btn-preview:hover {
    color: white;
    opacity: 0.9;
}

.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.empty-icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-gallery h3 {
    color: #495057;
    margin-bottom: 15px;
}

.empty-gallery p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-subscribe {
    background: #f8f9fa;
    padding: 80px 0;
    margin-top: 60px;
}

.subscribe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.subscribe-content {
    flex: 1;
    padding: 40px;
}

.subscribe-image {
    flex: 1;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.subscribe-image img {
    max-width: 100%;
    height: auto;
}

.subscribe-form .input-group {
    margin-bottom: 15px;
}

.subscribe-form .form-control {
    height: 50px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.subscribe-form .btn {
    height: 50px;
    border-radius: 0 8px 8px 0;
    padding: 10px 20px;
}

.newsletter-iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .subscribe-card {
        flex-direction: column;
    }
    
    .subscribe-image {
        order: -1;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .newsletters-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-actions {
        flex-direction: column;
    }
    
    .newsletter-preview {
        padding: 10px;
    }
}

.newsletter-cover {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.newsletter-card:hover .newsletter-cover img {
    transform: scale(1.05);
}

.placeholder-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.placeholder-cover i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.placeholder-cover h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* archives.php */
.archives-page {
    background-color: var(--light);
}

.archive-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    color: #333;
    text-decoration: none;
    height: 100%;
}

.archive-card:hover {
    transform: translateY(-10px);
    color: #0066cc;
}

.archive-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #007bff;
}

.archive-card h3 {
    margin: 0;
}

/* Galerie Styles */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/gallery-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.gallery-navigation {
    background-color: #f8f9fa;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-navigation li {
    margin: 0 10px;
}

.gallery-navigation a {
    color: #495057;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.gallery-navigation a i {
    margin-right: 8px;
}

.gallery-navigation li.active a,
.gallery-navigation a:hover {
    background-color: var(--natif3);
    color: white;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.article-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-image {
    position: relative;
    padding-top: 100%; /* Format carré */
    overflow: hidden;
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
            padding: 25px;
        }
        
        .article-content h3 {
            margin-bottom: 15px;
            color: var(--natif3);
        }
    
        .article-content p {
            margin-bottom: 20px;
            color: var(--dark);
        }
        
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.gallery-image {
    position: relative;
    padding-top: 100%; /* Format carré */
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.image-info {
    text-align: center;
    color: white;
    padding: 0 15px;
}

.image-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.image-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.gallery-video {
    position: relative;
    padding-top: 56.25%; /* Format 16:9 */
}

.gallery-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 15px;
    background: white;
}

.video-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.video-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #495057;
    margin-bottom: 15px;
}

.no-results p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.gallery-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-pagination li {
    margin: 0 5px;
}

.gallery-pagination a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
}

.gallery-pagination li.active a,
.gallery-pagination a:hover {
    background-color: #007bff;
    color: white;
}

.gallery-info {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-top: 50px;
}

.info-card {
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.info-icon {
    width: 30%;
    background-color: var(--natif3);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.info-icon i {
    font-size: 4rem;
}

.info-content {
    width: 70%;
    padding: 10px;
}

.info-content h3 {
    margin-top: 0;
    color: #343a40;
}

.info-content p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .info-card {
        flex-direction: column;
    }
    
    .info-icon,
    .info-content {
        width: 100%;
    }
    
    .info-icon {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}

/* Page Nous Rejoindre */
.join-us-page {
    background-color: var(--light);
    padding: 50px 0;
}

.join-us-page .section-title h2 {
    color: var(--natif3);
    margin-bottom: 15px;
}

/* Offres d'emploi */
.job-offers {
    padding: 50px 0;
    background-color: var(--light);
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--natif3);
    color: white;
    border-color: var(--natif3);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.offer-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.offer-type {
    background: var(--natif1);
    color: var(--natif6);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.offer-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.offer-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--natif3);
}

.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.offer-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.offer-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.offer-footer {
    display: flex;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--natif1);
    color: var(--natif1);
}

.btn-outline:hover {
    background: var(--natif1);
    color: white;
}

.no-offers {
    text-align: center;
    padding: 50px;
    grid-column: 1 / -1;
}

.no-offers i {
    font-size: 4rem;
    color: var(--natif1);
    margin-bottom: 20px;
}

.no-offers h3 {
    color: var(--natif3);
    margin-bottom: 15px;
}

/* Bénévolat */
.volunteering {
    padding: 100px 0;
    background-color: white;
}

.volunteering-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.volunteering-text {
    flex: 1;
    min-width: 300px;
}

.volunteering-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--natif3);
}

.volunteering-text p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: rgba(167, 0, 30, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--natif1);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--natif3);
}

.volunteering-opportunities {
    flex: 1;
    min-width: 300px;
    background: var(--light);
    border-radius: 10px;
    padding: 30px;
}

.opportunities-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.opportunity-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--natif1);
}

.opportunity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.opportunity-header h4 {
    font-size: 1.1rem;
    color: var(--natif3);
}

.opportunity-type {
    background: var(--natif3);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.opportunity-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.opportunity-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Candidature spontanée */
.spontaneous-application {
    padding: 100px 0;
    background-color: var(--light);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--natif1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 171, 58, 0.2);
}

.form-hint {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-label {
    display: block;
    padding: 30px;
    background: rgba(167, 0, 30, 0.05);
    border: 2px dashed var(--natif1);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: rgba(167, 0, 30, 0.1);
}

.file-label i {
    font-size: 2.5rem;
    color: var(--natif1);
    margin-bottom: 10px;
}

.file-text {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.file-hint {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.file-preview {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background: rgba(167, 0, 30, 0.05);
    display: none;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
}

.consent-group input {
    margin-top: 5px;
}

.btn-submit {
    background: var(--natif3);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--natif2);
    transform: translateY(-3px);
}

/* Alertes */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    background: rgba(0, 132, 61, 0.1);
    border: 1px solid var(--tertiary);
    color: var(--tertiary);
}

.alert-danger {
    background: rgba(167, 0, 30, 0.1);
    border: 1px solid var(--natif3);
    color: var(--natif3);
}

/* Responsive */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteering-content {
        flex-direction: column;
    }
    
    .application-form-container {
        padding: 25px;
    }
}

/* Page Contact */
.contact-page .section-title h1 {
    font-size: 3rem;
    color: var(--natif3);
}

.contact-section {
    padding: 80px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--light);
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-card h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--natif3);
    position: relative;
    padding-bottom: 10px;
}

.contact-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--natif1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--natif3);
    min-width: 25px;
    padding-top: 4px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--natif3);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-container {
    background: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--natif3);
    position: relative;
    padding-bottom: 10px;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--natif1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--natif1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 171, 58, 0.2);
}

.topics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topic-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--natif3);
}

.topic-item label {
    font-weight: 400;
    cursor: pointer;
    margin: 0;
}

.form-success {
    background: rgba(0, 132, 61, 0.1);
    border: 1px solid var(--tertiary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.form-success i {
    color: var(--tertiary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.form-success h3 {
    color: var(--tertiary);
    margin-bottom: 10px;
}

.form-errors {
    background: rgba(167, 0, 30, 0.1);
    border: 1px solid var(--natif3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.form-errors h3 {
    color: var(--natif3);
    margin-bottom: 10px;
}

.form-errors ul {
    padding-left: 20px;
    margin: 0;
}

.btn-primary {
    background: var(--natif3);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--natif2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(167, 0, 30, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-card,
    .contact-form-container {
        padding: 25px;
    }
    
    .topics-container {
        grid-template-columns: 1fr;
    }
}

/* ================ PAGE ACTUALITES & MEDIAS ================ */
.news-media-page {
    background-color: var(--light);
}

.articles-section, 
.photos-section, 
.videos-section, 
.communiques-section, 
.newsletters-section {
    padding: 80px 0;
}

.articles-section {
    background-color: white;
}

.photos-section {
    background-color: var(--light);
}

.videos-section {
    background-color: white;
}

.communiques-section {
    background-color: var(--light);
}

.newsletters-section {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--natif3);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--natif1);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Grids communs */
.articles-grid,
.gallery-grid,
.videos-grid,
.communiques-list,
.newsletters-grid {
    display: grid;
    gap: 30px;
}

/* Articles Grid */
.articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin-bottom: 15px;
    color: var(--natif3);
}

.article-content p {
    margin-bottom: 20px;
    color: var(--dark);
}

.article-footer {
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

/* Gallery Grid */
.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(115, 0, 22, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Videos Grid */
.videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/*
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
*/

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    color: var(--natif3);
}

.video-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Communiqués List */
.communiques-list {
    grid-template-columns: 1fr;
}

.communique-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.communique-date {
    flex: 0 0 150px;
    color: var(--natif3);
    font-weight: 500;
}

.communique-content {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.communique-content h3 {
    margin-bottom: 10px;
    color: var(--natif3);
}

.communique-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

/* Newsletters Grid */
.newsletters-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.newsletter-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.newsletter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--natif6);
    color: white;
}

.newsletter-date {
    font-weight: 500;
}

.newsletter-language {
    background: var(--natif1);
    color: var(--natif6);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.newsletter-card h3 {
    padding: 20px;
    color: var(--natif3);
    margin: 0;
}

.newsletter-preview {
    height: 200px;
    overflow: hidden;
}

.newsletter-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-footer {
    padding: 15px 20px;
    text-align: center;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--natif1);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--natif3);
}

.btn:hover {
    background: var(--natif2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid,
    .gallery-grid,
    .videos-grid,
    .newsletters-grid {
        grid-template-columns: 1fr;
    }
    
    .communique-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .communique-date,
    .communique-content,
    .communique-actions {
        flex: 1 0 100%;
    }
    
    .communique-content {
        padding: 15px 0;
    }
    
    .communique-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

/* Communiqués - Date à droite comme les articles */
.communique-item {
    position: relative;
    padding: 25px;
}

.communique-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 0 0 auto;
}

.communique-content {
    padding-right: 120px; /* Espace pour la date */
}

/* Newsletters - Date à gauche */
.newsletter-card {
    position: relative;
}

.newsletter-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.newsletter-header {
    padding-top: 50px; /* Espace pour la date */
    background: var(--natif6);
    position: relative;
}

.newsletter-language {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif1);
    color: var(--natif6);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Supprimer les anciens styles qui pourraient interférer */
.communiques-list .communique-item {
    display: block; /* Remplacer le flex */
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    margin-bottom: 30px;
}

.communique-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.communique-content {
    padding: 25px;
    padding-right: 120px; /* Conserver l'espace pour la date */
}

.communique-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
}

/* Adaptation responsive */
@media (max-width: 768px) {
    .communique-date,
    .newsletter-date {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .communique-content {
        padding-right: 25px;
    }
    
    .newsletter-header {
        padding-top: 15px;
    }
    
    .newsletter-language {
        position: static;
        display: inline-block;
        margin-left: 10px;
    }
    
    .video-date {
        position: static;
        display: inline-block;
        margin: 15px 0;
    }
    
    .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

/* Vidéos - Date comme les articles */
.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    background: white;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.video-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

/*
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
*/

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    color: var(--natif3);
}

/* ================ PAGE DÉTAIL ACTUALITÉ ================ */
.actualite-detail-page {
    background-color: var(--light);
}

.actualite-detail {
    padding: 50px 0;
}

/* En-tête */
.actualite-detail header {
    margin-bottom: 40px;
    text-align: center;
}

.actualite-detail h1 {
    font-size: 2.8rem;
    color: var(--natif3);
    margin-bottom: 20px;
    line-height: 1.3;
}

.actualite-date {
    display: inline-block;
    background: var(--natif3);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.actualite-detail img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}



/* Boutons */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--natif3);
    color: var(--natif3);
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--natif3);
    color: white;
}

.share-buttons {
    margin-top: 30px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-facebook {
    background: #3b5998;
    color: white;
}

.btn-twitter {
    background: #1da1f2;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
}

/* ================ SECTION ACTUALITÉS SIMILAIRES ================ */
.related-news {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(115, 0, 22, 0.1);
}

.related-news h3 {
    font-size: 2rem;
    color: var(--natif3);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.related-news h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--natif1);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.related-image {
    height: 400px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--natif3);
}

.related-date {
    display: inline-block;
    background: var(--natif6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.related-excerpt {
    margin-bottom: 20px;
    color: var(--dark);
    flex-grow: 1;
}

.related-link {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-news h3 {
        font-size: 1.8rem;
    }
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.2rem;
    color: var(--natif3);
    margin-bottom: 15px;
}

.card-text {
    color: var(--dark);
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--natif3);
    border: none;
}

.btn-primary:hover {
    background: var(--natif2);
}

/* Responsive */
@media (max-width: 992px) {
    .actualite-detail h1 {
        font-size: 2.3rem;
    }
    
    .actualite-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .actualite-detail h1 {
        font-size: 2rem;
    }
    
    .actualite-date {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .related-news .col-md-4 {
        margin-bottom: 30px;
    }
}

/* ================ PAGE LISTE ACTUALITÉS ================ */
.actualites-page {
    background-color: var(--light);
}

.actualites-section {
    padding: 50px 0;
}

/* Cartes d'actualités */
.card {
    background: white;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
   
}

.card-body {
    padding: 25px;
    background: white; /* Fond blanc forcé */
}

.card-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--light-gray);
    background: white !important;
}

/* Date toujours visible */
.news-date {
    display: block;
    background: var(--natif3);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    width: fit-content;
}

.news-date i {
    margin-right: 5px;
}

/* Titre et texte */
.card-title {
    font-size: 1.2rem;
    color: var(--natif3);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.card-text {
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Bouton */
.btn-primary {
    background: var(--natif3);
    border: none;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--natif2);
}

/* Espacement entre les cartes */
.row > [class*="col-"] {
    padding: 15px; /* Espace entre les cartes */
}

/* Pagination */
.pagination {
    margin-top: 50px;
}

.page-item.active .page-link {
    background-color: var(--natif3);
    border-color: var(--natif3);
}

.page-link {
    color: var(--natif3);
    margin: 0 5px;
    border-radius: 5px !important;
}

.page-link:hover {
    color: var(--natif2);
}

/* Responsive*/
@media (max-width: 768px) {
    .actualites-section {
        padding: 50px 0;
    }
    
    .row > [class*="col-"] {
        padding: 10px;
    }
    
    .card {
        margin-bottom: 20px;
    }
}

/* ================ PAGE DÉTAIL COMMUNIQUÉ ================ */
.communique-detail-page {
    background-color: var(--light);
    padding-top: 40px;
}

/* Carte principale */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 40px;
}

.card-body {
    padding: 40px;
}

/* Titre */
.display-5 {
    font-size: 2.3rem;
    color: var(--natif3);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Extrait */
.lead {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Style de la date positionnée en haut à droite */
.card {
    position: relative; /* Nécessaire pour le positionnement absolu de la date */
    overflow: hidden; /* Cache tout débordement */
}

.d-flex.align-items-center {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--natif3);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.d-flex.align-items-center i {
    color: var(--natif1);
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Ajustement du padding pour le contenu */
.card-body {
    padding-top: 60px; /* Ajoute de l'espace pour la date */
}

/* Version responsive */
@media (max-width: 768px) {
    .d-flex.align-items-center {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .card-body {
        padding-top: 50px;
    }
}

/* Contenu */
.communique-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark);
}

.communique-content h2 {
    color: var(--natif3);
    font-size: 1.6rem;
    margin: 1.8em 0 1em;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 10px;
}

.communique-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--natif1);
}

/* Boutons */
.mt-5 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--natif3);
    border: none;
    padding: 12px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--natif2);
    transform: translateY(-3px);
}

.btn-outline-secondary {
    border: 2px solid var(--natif3);
    color: var(--natif3);
    padding: 12px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background: var(--natif3);
    color: white;
}

/* Section autres communiqués */
.bg-light {
    background-color: var(--natif0) !important;
}

.text-center.mb-4 {
    font-size: 2rem;
    color: var(--natif3);
    margin-bottom: 40px !important;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.text-center.mb-4::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--natif1);
}

/* Cartes autres communiqués */
.card.h-100 {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card.h-100:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-body {
    padding: 25px;
}

.small.text-muted {
    display: inline-block;
    background: var(--natif3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    color: var(--natif3);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.card-text {
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-footer {
    background: white !important;
    border-top: 1px solid var(--light-gray) !important;
    padding: 20px 25px !important;
}

.btn-sm.btn-outline-primary {
    border: 2px solid var(--natif3);
    color: var(--natif3);
    font-weight: 500;
}

.btn-sm.btn-outline-primary:hover {
    background: var(--natif3);
    color: white;
}

.btn-sm.btn-link {
    color: var(--natif3);
}

/* Responsive */
@media (max-width: 992px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .mt-5 {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline-secondary {
        width: 100%;
        text-align: center;
    }
    
    .text-center.mb-4 {
        font-size: 1.8rem;
    }
    
    .col-md-4 {
        margin-bottom: 30px;
    }
}

/* ================ PAGE MEMBRE ================ */
.team-member-page {
    background-color: var(--light);
}

.team-member-profile {
    padding: 80px 0;
}

.profile-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profile-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-header:hover .profile-image img {
    transform: scale(1.03);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: 2.5rem;
    color: var(--natif3);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.profile-info h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--natif1);
}

.position {
    font-size: 1.3rem;
    color: var(--natif1);
    font-weight: 500;
    margin-bottom: 25px;
}

.member-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--natif6);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--natif1);
    transform: translateY(-5px);
}

.profile-bio {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    line-height: 1.8;
}

.profile-bio h2 {
    font-size: 1.8rem;
    color: var(--natif3);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--natif1);
    display: inline-block;
}

.member-testimonial {
    background: var(--natif6);
    color: white;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.member-testimonial::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.member-testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    padding-left: 40px;
    margin: 0;
}

.member-testimonial i.fa-quote-left {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--natif1);
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .member-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .team-member-profile {
        padding: 50px 0;
    }
    
    .profile-header,
    .profile-bio,
    .member-testimonial {
        padding: 30px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .position {
        font-size: 1.1rem;
    }
}

/* Drapeaux pour les langues */
.fi {
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    margin-right: 8px;
}

/* ================ PAGE POSTULATION ================ */
.application-page {
    background-color: var(--light);
}

.application-section {
    padding: 50px 0;
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1 {
    font-size: 2.5rem;
    color: var(--natif3);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--natif1);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--natif1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 171, 58, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 30px;
    background: rgba(167, 0, 30, 0.05);
    border: 2px dashed var(--natif1);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(167, 0, 30, 0.1);
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--natif1);
    margin-bottom: 10px;
}

.file-upload-text {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.file-hint {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.file-preview {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background: rgba(167, 0, 30, 0.05);
    display: none;
    text-align: center;
}

.preview-icon {
    font-size: 3rem;
    color: var(--natif3);
}

.pdf-icon {
    color: #e74c3c;
}

.word-icon {
    color: #2b579a;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
}

.consent-group input {
    margin-top: 5px;
}

.btn-submit {
    background: var(--natif3);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.btn-submit:hover {
    background: var(--natif2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(167, 0, 30, 0.2);
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    background: rgba(0, 132, 61, 0.1);
    border: 1px solid var(--tertiary);
    color: var(--tertiary);
}

.alert-danger {
    background: rgba(167, 0, 30, 0.1);
    border: 1px solid var(--natif3);
    color: var(--natif3);
}

/* Responsive */
@media (max-width: 768px) {
    .application-section {
        padding: 50px 0;
    }
    
    .application-form-container {
        padding: 25px;
    }
    
    .section-title h1 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==============================================
   Offre d'emploi - Détails
   ============================================== */

.offer-details-page {
    background-color: var(--light);
}

/* Section en-tête */
.offer-header-section {
    background-color: var(--natif6);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.offer-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--natif1), var(--natif2));
    z-index: 0;
}

.offer-header-section .container {
    position: relative;
    z-index: 1;
}

/* Badges */
.offer-badge {
    margin-bottom: 25px;
}

.offer-badge .badge {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.badge-emploi {
    background-color: var(--natif3) !important;
    color: white !important;
}

.badge-stage {
    background-color: var(--natif3) !important;
    color: white !important;
}

.badge-benevolat {
    background-color: var(--natif3) !important;
    color: white !important;
}

.offer-badge .badge i {
    margin-right: 6px;
    font-size: 0.9em;
}

/* Titre*/
.offer-header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    font-family: 'Playfair Display', serif;
}

/* Métadonnées */
.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--natif2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.meta-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 2px;
    color: var(--natif3);
    font-weight: 700;
}

.meta-value {
    font-weight: 500;
    color: var(--natif3);
}

/* Bouton postuler */
.btn-apply {
    background-color: var(--natif1);
    color: var(--natif6);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-apply:hover {
    background-color: var(--natif2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Section description */
.offer-description-section {
    padding: 60px 0;
}

.offer-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.offer-card .card-header {
    background-color: white;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offer-card .card-header h3 {
    font-size: 1.5rem;
    color: var(--natif3);
    display: flex;
    align-items: center;
    margin: 0;
}

.offer-card .card-header i {
    margin-right: 12px;
    color: var(--natif1);
}

.offer-card .card-body {
    padding: 25px;
}

/* Grille d'informations */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(218, 171, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--natif1);
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1.1rem;
    color: var(--natif3);
    margin-bottom: 5px;
}

/* Sidebar - Grille des cartes */
.sidebar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 992px) {
    .sidebar-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.values-card, .join-card {
    height: 100%;
}

.values-card {
    background-color: white;
    border: 1px solid rgba(218, 171, 58, 0.3);
}

.join-card {
    background-color: white;
    border: 1px solid rgba(0, 132, 61, 0.3);
}

.values-card .card-header {
    background-color: var(--natif3);
    color: white;
}

.join-card .card-header {
    background-color: var(--natif3);
    color: white;
}

.values-card .card-header h4,
.join-card .card-header h4 {
    color: white;
    padding: 10px;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.values-card .card-header i,
.join-card .card-header i {
    margin-right: 10px;
}

.values-card .card-body,
.join-card .card-body {
    padding: 25px;
}

/* Liste des valeurs */
.values-section {
    margin-top: 20px;
}

.values-section h5 {
    font-size: 1.1rem;
    color: var(--natif3);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.values-section h5 i {
    margin-right: 10px;
    color: var(--natif3);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(218, 171, 58, 0.1);
    display: flex;
    align-items: flex-start;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list i {
    color: var(--natif1);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.9rem;
}

/* Avantages */
.benefit-item {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--natif1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--natif3);
    flex-shrink: 0;
}

.benefit-content h5 {
    font-size: 1.1rem;
    color: var(--natif3);
    margin-bottom: 5px;
}

.benefit-content p {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0;
}

/* Formulaire de candidature */
.application-form-section {
    padding: 60px 0;
    background-color: var(--light);
}

.application-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.application-card .card-header {
    background-color: var(--natif3);
    color: white;
    padding: 25px;
}

.application-card .card-header h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.application-card .card-header i {
    color: white;
    margin-right: 12px;
}

.application-card .card-body {
    padding: 30px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--natif1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 171, 58, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Upload de fichier */
.file-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 30px;
    background: rgba(167, 0, 30, 0.05);
    border: 2px dashed var(--natif1);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(167, 0, 30, 0.1);
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--natif1);
    margin-bottom: 10px;
}

.file-upload-text {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.file-hint {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.file-preview {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background: rgba(167, 0, 30, 0.05);
    display: none;
    text-align: center;
}

.pdf-icon, .word-icon {
    font-size: 3rem;
    display: none;
}

.pdf-icon {
    color: #e74c3c;
}

.word-icon {
    color: #2b579a;
}

/* Case à cocher */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
}

.form-check input {
    margin-top: 5px;
}

/* Bouton de soumission */
.btn-submit {
    background: var(--natif3);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--natif2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(167, 0, 30, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .offer-header-section h1 {
        font-size: 2.2rem;
    }
    
    .sidebar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .offer-header-section {
        padding: 40px 0 30px;
    }
    
    .offer-header-section h1 {
        font-size: 2rem;
    }
    
    .offer-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-apply {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
}



/* Style pour les modals manuels */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10% auto;
    max-width: 800px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

body.modal-open {
    overflow: hidden;
}

/* Drapeaux pour les langues */
.fi {
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    margin-right: 8px;
}

.fi-fr { background-image: url(../images/flags/fr.svg); }
.fi-en { background-image: url(../images/flags/en.svg); }
/* Ajouter d'autres drapeaux selon les langues */