body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    padding-top: 0;
    background: #dedede;
    margin: 0;
}

/* Suppression définitive de l'espace en haut */
* {
    box-sizing: border-box;
}


html {
    scroll-padding-top: 0;
}



/* Forcer le mode clair sur tout le site */
:root,
[data-bs-theme="light"] {
    --bs-body-bg: #ffffff;
    --bs-body-color: #212529;
    --bs-tertiary-bg: #f8f9fa;
    --bs-secondary-color: #6c757d;
}

/* Éviter le mode sombre automatique */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
    }
}




/* ========== HERO SLIDER COMPACT (TYPE BANDEAU) ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 320px;
    max-height: 450px;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    filter: blur(4px) brightness(0.6);
    transform: scale(1.03);
    transition: transform 6s ease;
}

.slide.active .bg-image {
    transform: scale(1);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 42, 94, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 700px;
    z-index: 2;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #c19a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #272118, #c19a6b);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff7e9, #c39358);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.85rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 38vh;
        min-height: 280px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 0.75rem;
        max-width: 95%;
        margin-bottom: 1rem;
    }

    .hero-content .btn {
        padding: 6px 18px;
        font-size: 0.75rem;
    }
}



/* ========== NAVBAR MODERNE (style bandeau soutien) ========== */
.navbar-custom {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    border-radius: 50px;
    margin: 15px auto;
    padding: 8px 25px;
    width: 90%;
    max-width: 1400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.navbar-custom.scrolled {
    background: linear-gradient(135deg, #0f172a 0%, #1e2a5e 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 5px 25px;
}

/* Logo */
.logo {
    height: 45px;
    border-radius: 12px;
    transition: 0.3s;
}

.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    background-clip: text;
    letter-spacing: -0.5px;
}


a.navbar-brand .logo-text,
.navbar-brand .logo-text {
    color: #c19a6b !important;
}


/* Liens de navigation */
.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
    margin: 0 5px;
    padding: 8px 16px;
    border-radius: 40px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #c19a6b;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Bouton thème */
#themeToggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 40px;
    padding: 8px 18px;
    transition: 0.3s;
}

#themeToggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Bouton Faire un don */
.navbar .btn-primary {
    background: linear-gradient(135deg, #7a5e30, #c19a6b);
    border: none;
    color: white;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 40px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #665f52, #c19a6b);
}

/* Offcanvas (menu mobile) */
.offcanvas {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
}

.offcanvas-header .offcanvas-title {
    color: white;
    font-weight: 700;
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

.offcanvas-body .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding: 12px 20px;
}

.offcanvas-body .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #c19a6b;
}


/* Social bar (au-dessus de la navbar) */
.social-bar {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    font-size: 18px;
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s ease;
}

.social-icon:hover {
    color: #c19a6b;
    transform: translateY(-3px);
}

/* Dark mode : on garde les mêmes couleurs (cohérence) */
[data-bs-theme="dark"] .navbar-custom {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
}

[data-bs-theme="dark"] .offcanvas {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
}

[data-bs-theme="dark"] .social-bar {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
}





/* ========== SÉPARATEUR ÉLÉGANT ========== */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: -5px 0 20px 0;
    position: relative;
    z-index: 5;
}

.separator-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c19a6b, transparent);
}

.separator-icon {
    color: #c19a6b;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}




/* ========== GALERIE MODERNE AVEC FILTRES ========== */
.gallery-advanced {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    font-family: 'Inter', sans-serif;
}

.gallery-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #c19a6b20, #c19a6b10);
    color: #c19a6b;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.gallery-header h2 .highlight {
    color: #c19a6b;
    position: relative;
}

.gallery-header p {
    font-size: 1rem;
    color: #2c5a6e;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c19a6b, transparent);
    margin: 1.5rem auto 0;
    border-radius: 3px;
}

/* Filtres */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5a6e;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.filter-btn:hover {
    border-color: #c19a6b;
    color: #c19a6b;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #c19a6b, #a67c52);
    border-color: #c19a6b;
    color: white;
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
}

/* Grille */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

/* Carte galerie */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.gallery-item.hide {
    display: none;
}

.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 43, 75, 0.85), rgba(193, 154, 107, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.view-btn {
    background: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a2b3e;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.view-btn:hover {
    background: #c19a6b;
    color: white;
    transform: scale(1.05);
}

/* Informations */
.gallery-info {
    padding: 1.2rem;
    background: white;
}

.gallery-category {
    display: inline-block;
    background: #c19a6b20;
    color: #c19a6b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.5rem;
}

.gallery-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.25rem;
}

.gallery-info p {
    font-size: 0.75rem;
    color: #8e9eae;
}

/* Bouton voir plus */
.gallery-footer {
    text-align: center;
    margin-top: 1rem;
}

.btn-gallery-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 2px solid #c19a6b;
    color: #c19a6b;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gallery-more:hover {
    background: #c19a6b;
    color: white;
    gap: 1rem;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 154, 107, 0.3);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    width: fit-content;
    border-radius: 30px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #c19a6b;
}

/* Animation d'entrée des items */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item {
    animation: fadeInScale 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 1.8rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}









/* ========== QUICK LINKS MODERNES ========== */
.quick-links {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    padding: 5px 0;
    margin-bottom: 30px;
    /* Espace entre quick links et hero */
    border-radius: 0 0 30px 30px;
    /* Arrondi uniquement en bas */
    margin-top: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-link {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 60px;
    padding: 12px 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.quick-link i {
    font-size: 24px;
    display: block;
    margin-bottom: 6px;
    color: #c19a6b;
    transition: 0.3s;
}

.quick-link p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 176, 66, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-link:hover i {
    transform: scale(1.1);
    color: #f5b042;
}

.quick-link:hover p {
    color: white;
}

/* Ajustement des colonnes sur mobile */
@media (max-width: 768px) {
    .quick-link {
        padding: 10px 5px;
    }

    .quick-link i {
        font-size: 20px;
    }

    .quick-link p {
        font-size: 0.7rem;
    }
}



/* SOCIAL BAR SIMPLE */
.social-bar {
    background: transparent;
}

.social-icon {
    font-size: 22px;
    margin: 0 12px;
    color: var(--bs-body-color);
    transition: 0.3s ease;
}

.social-icon:hover {
    color: #595cff;
    transform: translateY(-3px);
}



/* DARK MODE CUSTOM */
[data-bs-theme="dark"] .navbar-custom {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .social-icon:hover {
    color: #8ab4ff;
}

[data-bs-theme="dark"] .navbar.scrolled {
    background: var(--bs-body-bg);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}



.work-section {
    background: var(--bs-body-bg);
}

.work-card {
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
    transition: 0.3s;
}

.work-card i {
    font-size: 30px;
    color: var(--bs-primary);
    margin-bottom: 10px;
}

.work-card:hover {
    transform: translateY(-5px);
}

/* ========== SECTION PUBLICATIONS MODERNE ========== */
.publications-section {
    padding: 80px 20px;
    background: var(--bs-body-bg);
}

.publications-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* En-tête */
.publications-header {
    text-align: center;
    margin-bottom: 60px;
}

.publications-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ab813d, #c19a6b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 40px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.publications-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--bs-heading-color);
    margin-bottom: 15px;
}

.publications-header .highlight {
    background: linear-gradient(135deg, #795e32, #c19a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.publications-header p {
    color: var(--bs-secondary-color);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.publications-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #947440, #c19a6b);
    margin: 0 auto;
    border-radius: 3px;
}

/* Grille des cartes */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.publication-card {
    background: var(--bs-tertiary-bg);
    border-radius: 24px;
    padding: 30px 25px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 176, 66, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 176, 66, 0.15), rgba(230, 126, 34, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 32px;
    color: #c19a6b;
}

.publication-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bs-heading-color);
}

.publication-card>p {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.publication-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.publication-list li {
    margin-bottom: 10px;
}

.publication-list li a {
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    display: inline-block;
}

.publication-list li a:hover {
    color: #f5b042;
    transform: translateX(3px);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c19a6b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.card-link:hover {
    gap: 12px;
    color: #e67e22;
}

/* Dernières publications */
.recent-publications {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    border-radius: 28px;
    padding: 40px;
    margin-top: 20px;
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.recent-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-header h3 i {
    color: #c19a6b;
    font-size: 1.4rem;
}

.recent-header a {
    color: #c19a6b;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.recent-header a:hover {
    gap: 10px;
    color: #e67e22;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.recent-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: 0.3s;
}

.recent-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.recent-category {
    display: inline-block;
    background: rgba(245, 176, 66, 0.2);
    color: #c19a6b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.recent-item h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.recent-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1100px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .recent-grid {
        grid-template-columns: 1fr;
    }

    .publications-header h2 {
        font-size: 1.8rem;
    }

    .recent-publications {
        padding: 25px;
    }

    .recent-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}




/* ========== SECTION MÉDIAS PROFESSIONNELLE ========== */
.media-ministerial {
    padding: 5rem 0;
    background: #ffffff;
}

.media-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.media-header {
    text-align: center;
    margin-bottom: 3rem;
}

.media-badge {
    background: #0b2b4b;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.media-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 1rem;
}

.media-header p {
    font-size: 1.1rem;
    color: #2c5a6e;
    max-width: 700px;
    margin: 0 auto;
}

.divider-ministerial {
    width: 80px;
    height: 4px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Grille principale */
.media-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte PODCAST vedette */
.podcast-featured {
    background: #f1f5f9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    border: 1px solid #e2edf2;
}

.podcast-featured:hover {
    transform: translateY(-4px);
}

.podcast-cover {
    background: #0f3b4f;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.podcast-icon {
    background: #c19a6b;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.podcast-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.podcast-meta {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 500;
}

.podcast-body {
    padding: 1.8rem;
}

.podcast-description {
    font-size: 1rem;
    color: #1e2f3a;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

audio {
    width: 100%;
    border-radius: 40px;
    margin-top: 0.5rem;
}

.podcast-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #3c6e8f;
    border-top: 1px solid #e2edf2;
    padding-top: 1rem;
}

/* Carte VIDÉO vedette */
.video-featured {
    background: #f1f5f9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    border: 1px solid #e2edf2;
}

.video-thumb {
    position: relative;
    cursor: pointer;
    background: #0a2b3e;
}

.video-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s;
}

.video-thumb:hover .play-overlay i {
    transform: scale(1.08);
    color: #c19a6b;
}

.video-info {
    padding: 1.8rem;
}

.video-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.video-description {
    color: #2c5a6e;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.video-date {
    font-size: 0.8rem;
    color: #7c8f9c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grille secondaire (podcasts et vidéos récents) */
.media-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf2;
    transition: all 0.2s;
}

.media-card:hover {
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0b2b4b;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.4rem;
}

.card-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #2c5a6e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

audio {
    width: 100%;
    margin: 0.5rem 0;
}

.btn-outline-ministerial {
    border: 1px solid #c19a6b;
    background: transparent;
    color: #a67744;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline-ministerial:hover {
    background: #c19a6b;
    color: white;
    border-color: #c19a6b;
}

.btn-archive {
    text-align: center;
    margin-top: 3rem;
}

.btn-archive a {
    background: transparent;
    border: 1px solid #0b2b4b;
    color: #0b2b4b;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-archive a:hover {
    background: #0b2b4b;
    color: white;
}

/* Modal vidéo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    max-width: 900px;
    width: 90%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.video-modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.close-modal:hover {
    background: #c19a6b;
}

@media (max-width: 768px) {
    .media-grid-main {
        grid-template-columns: 1fr;
    }

    .media-header h2 {
        font-size: 1.9rem;
    }
}



/* ========== SECTION ÉVÉNEMENTS STYLE MINISTÉRIEL ========== */
.events-ministerial {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fbfd 0%, #f1f5f9 100%);
    font-family: 'Inter', sans-serif;
}

.events-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.events-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.events-badge {
    background: #0b2b4b;
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.events-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 1rem;
}

.events-header p {
    font-size: 1.1rem;
    color: #2c5a6e;
    max-width: 700px;
    margin: 0 auto;
}

.events-divider {
    width: 80px;
    height: 4px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Événement principal type sommet */
.event-summit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9edf2;
    transition: transform 0.2s;
}

.event-summit:hover {
    transform: translateY(-5px);
}

.summit-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.summit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.event-summit:hover .summit-image img {
    transform: scale(1.03);
}

.summit-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summit-category {
    display: inline-block;
    background: #c19a6b20;
    color: #a67744;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    width: fit-content;
}

.summit-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.summit-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c19a6b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.summit-description {
    color: #2c5a6e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-summit {
    background: #0b2b4b;
    color: white;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.2s;
}

.btn-summit:hover {
    background: #c19a6b;
    color: white;
    transform: translateX(5px);
}

/* Campagne spéciale */
.campaign-block {
    background: linear-gradient(135deg, #0b2b4b 0%, #134b6b 100%);
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.campaign-icon {
    background: #c19a6b;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.campaign-text {
    flex: 1;
    color: white;
}

.campaign-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.campaign-text p {
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-campaign {
    background: transparent;
    border: 2px solid #c19a6b;
    color: #c19a6b;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-campaign:hover {
    background: #c19a6b;
    color: #0b2b4b;
    border-color: #c19a6b;
}

/* Grille des événements à venir */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card-ministerial {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9edf2;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.event-card-ministerial:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
    border-color: #c19a6b40;
}

.event-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.event-card-ministerial h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 0.75rem;
}

.event-card-ministerial p {
    color: #2c5a6e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #7c8f9c;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.event-link {
    color: #c19a6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

.event-link:hover {
    gap: 0.6rem;
    color: #a67744;
}

/* Badge statut (passé, à venir, complet) */
.event-status {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    background: #e9ecef;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-weight: 600;
}

.status-upcoming {
    background: #c19a6b20;
    color: #a67744;
}

.status-past {
    background: #e2e8f0;
    color: #64748b;
}

/* Bouton archives */
.events-archive-btn {
    text-align: center;
    margin-top: 1rem;
}

.btn-archive-events {
    background: transparent;
    border: 2px solid #0b2b4b;
    color: #0b2b4b;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s;
}

.btn-archive-events:hover {
    background: #0b2b4b;
    color: white;
    border-color: #0b2b4b;
    transform: translateY(-2px);
}


.event-card-ministerial,
.event-summit,
.campaign-block {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .event-summit {
        grid-template-columns: 1fr;
    }

    .summit-image {
        min-height: 240px;
    }

    .events-header h2 {
        font-size: 1.9rem;
    }

    .campaign-block {
        flex-direction: column;
        text-align: center;
    }

    .campaign-icon {
        margin-bottom: 1rem;
    }
}






/* ========== BLOG DES DIRIGEANTS - STYLE MINISTÉRIEL ========== */
.blog-dirigeants {
    padding: 5rem 0;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-badge {
    background: #0b2b4b;
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.blog-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 1rem;
}

.blog-header h2 .highlight {
    color: #c19a6b;
    position: relative;
}

.blog-header p {
    font-size: 1.1rem;
    color: #2c5a6e;
    max-width: 700px;
    margin: 0 auto;
}

.blog-divider {
    width: 80px;
    height: 4px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Grille des dirigeants */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.leader-card {
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e9edf2;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.12);
    border-color: #c19a6b40;
}

.leader-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.leader-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.leader-card:hover .leader-social {
    opacity: 1;
}

.leader-social a {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s, color 0.2s;
}

.leader-social a:hover {
    color: #c19a6b;
    transform: translateY(-3px);
}

.leader-info {
    padding: 1.5rem;
    text-align: center;
}

.leader-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 0.25rem;
}

.leader-title {
    color: #c19a6b;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    background: #c19a6b20;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
}

.leader-bio {
    color: #2c5a6e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Articles du blog */
.articles-section {
    margin-top: 2rem;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle i {
    color: #c19a6b;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e9edf2;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #c19a6b;
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.2rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.article-author {
    color: #c19a6b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-date {
    color: #8e9eae;
}

.article-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #2c5a6e;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-link {
    color: #c19a6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

.article-link:hover {
    gap: 0.6rem;
    color: #a67744;
}

/* Lien archives */
.blog-archive {
    text-align: center;
    margin-top: 3rem;
}

.btn-archive-blog {
    background: transparent;
    border: 2px solid #0b2b4b;
    color: #0b2b4b;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s;
}

.btn-archive-blog:hover {
    background: #0b2b4b;
    color: white;
    border-color: #0b2b4b;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {

    .leaders-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .leaders-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-header h2 {
        font-size: 1.9rem;
    }
}



.leader-card,
.article-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.leader-card:nth-child(1) {
    animation-delay: 0.1s;
}

.leader-card:nth-child(2) {
    animation-delay: 0.2s;
}

.leader-card:nth-child(3) {
    animation-delay: 0.3s;
}




/* ========== SECTION CHIFFRES CLÉS - STYLE MINISTÉRIEL ========== */
.stats-ministerial {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0b2b4b 0%, #0f3f5c 100%);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Effet de fond décoratif */
.stats-ministerial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 154, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-ministerial::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* En-tête */
.stats-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.stats-badge {
    background: rgba(193, 154, 107, 0.2);
    color: #c19a6b;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border: 1px solid rgba(193, 154, 107, 0.3);
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.stats-header h2 .highlight {
    color: #c19a6b;
    position: relative;
}

.stats-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.stats-divider {
    width: 80px;
    height: 3px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Grille des statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c19a6b, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(193, 154, 107, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    color: #c19a6b;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', monospace;
}

.stat-number .stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: #c19a6b;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Barre de progression (pour les objectifs) */
.stats-progress {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #c19a6b, #e8c49a);
    border-radius: 20px;
    transition: width 1.5s ease-out;
}

/* Lien vers rapport d'impact */
.stats-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-impact {
    background: transparent;
    border: 2px solid #c19a6b;
    color: #c19a6b;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-impact:hover {
    background: #c19a6b;
    color: #0b2b4b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(193, 154, 107, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-header h2 {
        font-size: 1.8rem;
    }
}

/* Animation d'entrée */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: countUp 0.6s ease forwards;
    opacity: 0;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}



/* Section Documents */
.documents-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.documents-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.documents-header {
    text-align: center;
    margin-bottom: 3rem;
}

.documents-badge {
    background: #0b2b4b;
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.documents-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 1rem;
}

.documents-header h2 .highlight {
    color: #c19a6b;
}

.documents-header p {
    font-size: 1.1rem;
    color: #2c5a6e;
    max-width: 600px;
    margin: 0 auto;
}

.documents-divider {
    width: 80px;
    height: 4px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Grille des cartes */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Carte document */
.doc-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e9edf2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    border-color: #c19a6b;
}

/* Ruban catégorie */
.doc-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    z-index: 1;
}

.doc-ribbon span {
    position: absolute;
    top: 20px;
    right: -25px;
    transform: rotate(45deg);
    background: #c19a6b;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 2rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Entête de la carte */
.doc-card-header {
    background: linear-gradient(135deg, #0b2b4b 0%, #1a4a6e 100%);
    padding: 2rem 1.5rem;
    text-align: center;
}

.doc-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.doc-type-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

/* Corps */
.doc-card-body {
    padding: 1.5rem;
}

.doc-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.doc-description {
    color: #2c5a6e;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9edf2;
}

.doc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: #8e9eae;
}

.doc-meta-item i {
    color: #c19a6b;
}

.doc-actions {
    display: flex;
    gap: 1rem;
}

.btn-doc {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-download {
    background: #c19a6b;
    color: white;
}

.btn-download:hover {
    background: #a67744;
    transform: translateY(-2px);
}

.btn-read {
    background: transparent;
    border: 1px solid #c19a6b;
    color: #c19a6b;
}

.btn-read:hover {
    background: #c19a6b10;
    transform: translateY(-2px);
}

/* Modal PDF */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    padding: 1rem 1.5rem;
    background: #0b2b4b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.pdf-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .documents-header h2 {
        font-size: 1.8rem;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .doc-actions {
        flex-direction: column;
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doc-card {
    animation: cardAppear 0.4s ease forwards;
    opacity: 0;
}





/* SECTION PARTENAIRES - STYLE MINISTÉRIEL ÉLÉGANT */
.partners-elegant {
    padding: 3rem 0;
    background: transparent;
    position: relative;
}

/* Conteneur */
.partners-elegant-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.partners-elegant-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.partners-elegant-badge {
    display: inline-block;
    background: rgba(193, 154, 107, 0.12);
    color: #c19a6b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.partners-elegant-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.partners-elegant-header h2 .highlight {
    color: #c19a6b;
}

.partners-elegant-header p {
    font-size: 0.85rem;
    color: #5a6e7c;
    max-width: 500px;
    margin: 0 auto;
}

/* Slider */
.logo-elegant-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.logo-elegant-track {
    display: flex;
    width: calc(180px * 6 * 2);
    animation: scrollElegant 25s linear infinite;
}

.logo-elegant-track:hover {
    animation-play-state: paused;
}

/* Élément logo */
.logo-elegant-item {
    width: 180px;
    padding: 0 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-elegant-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
}

.logo-elegant-wrapper img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Effet zoom + lumineux au survol */
.logo-elegant-wrapper:hover {
    transform: scale(1.08);
}

.logo-elegant-wrapper:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(193, 154, 107, 0.6));
}

/* Animation du slider */
@keyframes scrollElegant {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-30px * 4));
    }
}

/* Lien devenir partenaire */
.partners-elegant-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-elegant-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 1.5px solid #c19a6b;
    color: #c19a6b;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-elegant-partner:hover {
    background: #c19a6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(193, 154, 107, 0.3);
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-elegant {
        padding: 2rem 0;
    }

    .partners-elegant-header h2 {
        font-size: 1.3rem;
    }

    .logo-elegant-item {
        width: 140px;
        padding: 0 0.75rem;
    }

    .logo-elegant-wrapper img {
        max-height: 55px;
    }

    @keyframes scrollElegant {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-140px * 6));
        }
    }
}

@media (max-width: 480px) {
    .logo-elegant-item {
        width: 120px;
    }

    .logo-elegant-wrapper img {
        max-height: 45px;
    }

    @keyframes scrollElegant {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-120px * 6));
        }
    }
}









/* ============================================
           BARRE SOCIALE MINISTÉRIELLE MODERNE
           ============================================ */

/* Barre supérieure institutionnelle */
.ministerial-topbar {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    position: relative;
    z-index: 1030;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
}




.ministerial-topbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.4rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

/* Section contact à gauche */
.topbar-contact {
    margin-right: auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.contact-item i {
    font-size: 0.85rem;
    color: #c19a6b;
}

.contact-item:hover {
    color: #ffffff;
}

.contact-item:hover i {
    color: #f5b042;
}

/* Séparateur vertical */
.topbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.25rem;
}

/* Groupe d'icônes sociales - Style ministériel */
.social-ministry {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-ministry-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-ministry-link:hover {
    background: #c19a6b;
    color: #0a2b3e;
    transform: translateY(-2px);
    border-color: #c19a6b;
}

/* Bouton CTA dans la topbar */
.topbar-cta {
    background: linear-gradient(135deg, #c19a6b, #a67c52);
    color: #0a2b3e;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s;
    letter-spacing: 0.5px;
    border: none;
}

.topbar-cta:hover {
    background: linear-gradient(135deg, #d4a373, #c19a6b);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #0a2b3e;
}













/* ========== SECTION ARCHIVES - STYLE MINISTÉRIEL AVANCÉ ========== */
.archives-ministerial {
    padding: 5rem 0;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.archives-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* En-tête */
.archives-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archives-badge {
    background: #0b2b4b;
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.archives-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 1rem;
}

.archives-header h2 .highlight {
    color: #c19a6b;
}

.archives-header p {
    font-size: 1.1rem;
    color: #2c5a6e;
    max-width: 700px;
    margin: 0 auto;
}

.archives-divider {
    width: 80px;
    height: 4px;
    background: #c19a6b;
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ========== BARRE DE RECHERCHE AVANCÉE ========== */
.search-advanced {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9edf2;
}

.search-main {
    position: relative;
    margin-bottom: 1rem;
}

.search-main i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #c19a6b;
    font-size: 1.2rem;
    z-index: 2;
}

.search-main input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.search-main input:focus {
    outline: none;
    border-color: #c19a6b;
    background: white;
    box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.1);
}

/* Suggestions en temps réel */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-item i {
    color: #c19a6b;
    font-size: 0.9rem;
}

.suggestion-text {
    flex: 1;
}

.suggestion-main {
    font-weight: 600;
    color: #0a2b3e;
}

.suggestion-category {
    font-size: 0.7rem;
    color: #c19a6b;
    margin-left: 0.5rem;
}

.suggestion-count {
    font-size: 0.7rem;
    color: #8e9eae;
}

/* Alphabet rapide */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 1rem 0;
    justify-content: center;
}

.letter-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: #2c5a6e;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-btn:hover {
    background: #c19a6b;
    color: white;
    border-color: #c19a6b;
}

.letter-btn.active {
    background: #0b2b4b;
    color: white;
    border-color: #0b2b4b;
}

/* Filtres rapides (pills) */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9edf2;
}

.quick-filter-pill {
    background: #f1f5f9;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.quick-filter-pill:hover {
    background: #c19a6b20;
    color: #c19a6b;
}

.quick-filter-pill.active {
    background: #0b2b4b;
    color: white;
}

/* Tags populaires */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.tag {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #2c5a6e;
}

.tag:hover {
    background: #c19a6b;
    border-color: #c19a6b;
    color: white;
}

/* Résultats de recherche */
.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9edf2;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-stats {
    color: #2c5a6e;
    font-size: 0.9rem;
}

.results-stats strong {
    color: #0a2b3e;
    font-size: 1.1rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #8e9eae;
}

.view-btn.active {
    background: #0b2b4b;
    border-color: #0b2b4b;
    color: white;
}

/* Grille des résultats */
.archives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.archive-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e9edf2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #c19a6b40;
}

.archive-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}

.archive-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #0b2b4b;
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.archive-year {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
}

.archive-card-content {
    padding: 1.3rem;
}

.archive-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.highlight-text {
    background: #c19a6b30;
    border-radius: 4px;
    padding: 0 2px;
}

.archive-description {
    color: #2c5a6e;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #8e9eae;
}

.archive-link {
    color: #c19a6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Message aucun résultat */
.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #e9edf2;
}

.no-results i {
    font-size: 3rem;
    color: #c19a6b;
    margin-bottom: 1rem;
}

.no-results h4 {
    color: #0a2b3e;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #8e9eae;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #2c5a6e;
}

.pagination-btn:hover:not(.disabled) {
    border-color: #c19a6b;
    color: #c19a6b;
}

.pagination-btn.active {
    background: #0b2b4b;
    border-color: #0b2b4b;
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal */
.archive-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1200;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 700px;
    width: 90%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 1.5rem;
    background: #0b2b4b;
    color: white;
    display: flex;
    justify-content: space-between;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #8e9eae;
    flex-wrap: wrap;
}

.modal-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c19a6b;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .archives-header h2 {
        font-size: 1.8rem;
    }

    .archives-grid {
        grid-template-columns: 1fr;
    }

    .letter-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}


/* ========== BANDEAU SOUTIEN MODERNE ========== */
.support-banner {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    margin: 60px 20px;
    border-radius: 40px;
    padding: 50px 40px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

.support-banner-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.support-banner-content {
    flex: 2;
    color: white;
}

.support-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.support-banner-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.support-banner-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 90%;
}

.support-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-support {
    background: #c19a6b;
    color: #1e2a5e;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-support:hover {
    background: #ffe8a3;
    transform: translateY(-3px);
    color: #0f172a;
}

.btn-outline-support {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-support:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.support-banner-image {
    flex: 1;
    text-align: center;
}

.support-banner-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Responsive */
@media (max-width: 992px) {
    .support-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .support-banner-content p {
        max-width: 100%;
    }

    .support-buttons {
        justify-content: center;
    }

    .support-banner {
        padding: 40px 25px;
        margin: 40px 15px;
    }

    .support-banner-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {

    .btn-support,
    .btn-outline-support {
        width: 100%;
        justify-content: center;
    }
}






















/* ========== SECTION À LA UNE (PRO & MODERNE) ========== */
.une-section {
    padding: 80px 20px;
    background: var(--bs-body-bg);
    position: relative;
}

.une-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* En-tête stylée */
.une-header {
    text-align: center;
    margin-bottom: 50px;
}

.une-badge {
    display: inline-block;
    background: linear-gradient(135deg, #644b2d, #c19a6b);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 40px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.une-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--bs-heading-color);
    margin-bottom: 10px;
}

.une-header .highlight {
    background: linear-gradient(135deg, #917242, #c19a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.une-header p {
    color: var(--bs-secondary-color);
    font-size: 1rem;
}

/* Grille principale */
.une-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Carte principale (grande) */
.une-card.featured {
    background: var(--bs-tertiary-bg);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.une-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.une-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.une-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.une-card.featured:hover .une-card-image img {
    transform: scale(1.05);
}

.une-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #917242, #c19a6b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.une-card-content {
    padding: 25px;
}

.une-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.une-card-content p {
    color: var(--bs-secondary-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.une-card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-bottom: 20px;
}

.une-card-meta i {
    margin-right: 5px;
    color: #c19a6b;
}

.une-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c19a6b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.une-readmore:hover {
    gap: 12px;
    color: #fed8b7;
}

/* Grille de droite */
.une-grid-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.une-card.small {
    display: flex;
    background: var(--bs-tertiary-bg);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.une-card.small:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.une-card-image.small {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
}

.une-card-image.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.une-card-category.small {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    padding: 3px 10px;
}

.une-card.small .une-card-content {
    padding: 15px;
    flex: 1;
}

.une-card.small h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.une-card.small p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.une-readmore.small {
    font-size: 0.75rem;
}

/* Bouton voir tout */
.une-footer {
    text-align: center;
}

.btn-une-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #f5b042;
    color: #c19a6b;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-une-all:hover {
    background: linear-gradient(135deg, #917242, #c19a6b);
    color: white;
    border-color: transparent;
    gap: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .une-grid {
        grid-template-columns: 1fr;
    }

    .une-grid-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .une-card.small {
        flex-direction: column;
    }

    .une-card-image.small {
        width: 100%;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .une-grid-right {
        grid-template-columns: 1fr;
    }

    .une-header h2 {
        font-size: 1.8rem;
    }

    .une-card-content h3 {
        font-size: 1.2rem;
    }
}




/* ========== SECTION QUI SOMMES-NOUS (STYLE MINISTÉRIEL) ========== */
.about-section {
    padding: 80px 20px;
    background: var(--bs-body-bg);
    position: relative;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* En-tête */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, #917242, #c19a6b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 40px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--bs-heading-color);
    margin-bottom: 15px;
}

.about-header .highlight {
    background: linear-gradient(135deg, #917242, #c19a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #917242, #c19a6b);
    margin: 0 auto;
    border-radius: 3px;
}

/* Grille principale */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Texte gauche */
.about-text {
    background: var(--bs-tertiary-bg);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: var(--bs-body-color);
}

/* Cartes droite */
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: var(--bs-tertiary-bg);
    padding: 25px;
    border-radius: 20px;
    transition: 0.3s;
    border-left: 4px solid #c19a6b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(245, 176, 66, 0.15), rgba(230, 126, 34, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.about-card-icon i {
    font-size: 28px;
    color: #c19a6b;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bs-heading-color);
}

.about-card p {
    line-height: 1.6;
    color: var(--bs-secondary-color);
}

/* Liste des valeurs */
.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.about-values-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--bs-body-color);
}

.about-values-list li i {
    color: #f5b042;
    font-size: 0.8rem;
}

/* Citation */
.about-quote {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    padding: 35px 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 20px;
}

.about-quote i {
    font-size: 40px;
    color: #c19a6b;
    opacity: 0.6;
    margin-bottom: 15px;
    display: inline-block;
}

.about-quote p {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }

    .about-quote p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 20px;
    }

    .about-text {
        padding: 25px;
    }

    .about-lead {
        font-size: 1rem;
    }

    .about-values-list {
        grid-template-columns: 1fr;
    }

    .about-quote {
        padding: 25px;
    }
}
















/* CONTACT */
.contact h2 {
    text-align: center;
}

.intro-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
}

/* CARDS */
.card {
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-soft);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* UTILITAIRES */
.section {
    padding: 4rem 0;
}

.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scroll-content {
    display: inline-flex;
    gap: 15px;
    animation: scroll 20s linear infinite;
}

.scroll-content img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {
    .section {
        padding: 6rem 0;
    }
}

/* PARTENAIRES */
.logo-wall img {
    filter: grayscale(100%);
    opacity: .7;
    transition: .2s ease;
}

.logo-wall img:hover {
    filter: none;
    opacity: 1;
}


/* Bouton retour en haut */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: none;
    z-index: 1030;
}

/* Dark mode ajustements légers */
[data-bs-theme="dark"] .card {
    border-color: rgba(12, 12, 12, 0.08);
}

[data-bs-theme="dark"] .footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}


.navbar.sticky-shadow {
    box-shadow: var(--shadow-soft);
}

.section {
    padding: 4rem 0;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}




/* TOPBAR */
.topbar {
    background: #0d6efd;
    color: white;
    font-size: 14px;
}

.topbar a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
}

/* NAVBAR LOGO */
.logo {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c19a6b;
}


/* qui somme nous */


/* HERO SECTION */
.apropos-hero {
    background: #0d47a1;
    /* bleu foncé */
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 50px 50px;
}

.apropos-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.apropos-hero p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: auto;
    text-align: justify;
}

/* CARDS SECTION */
.cards-section {
    padding: 60px 20px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD STYLES */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card h2 {
    color: #0d47a1;
    margin-bottom: 15px;
}

.card p,
.card ul {
    font-size: 1rem;
    color: #333;
}

.card ul {
    list-style: disc;
    margin-left: 20px;
}

.card ul li {
    margin-bottom: 8px;
}

.card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.card.appear {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width:768px) {
    .apropos-hero h1 {
        font-size: 2rem;
    }

    .apropos-hero p {
        font-size: 1rem;
    }
}








@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* ========== SECTION NOTRE TRAVAIL - STYLE MINISTÉRIEL ========== */
.work-ministry {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Effet de fond décoratif */
.work-ministry::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(193, 154, 107, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.work-ministry::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(11, 43, 75, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.work-ministry-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* En-tête */
.work-ministry-header {
    text-align: center;
    margin-bottom: 60px;
}

.work-ministry-badge {
    display: inline-block;
    background: rgba(193, 154, 107, 0.12);
    color: #c19a6b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(193, 154, 107, 0.2);
}

.work-ministry-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2b3e;
    margin-bottom: 15px;
}

.work-ministry-header h2 .highlight {
    color: #c19a6b;
    position: relative;
}

.work-ministry-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c19a6b, transparent);
    border-radius: 2px;
}

.work-ministry-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c19a6b, #a67c52);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.work-ministry-header p {
    font-size: 1rem;
    color: #2c5a6e;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grille */
.work-ministry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Cartes */
.work-ministry-card {
    background: white;
    border-radius: 24px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 1;
}

.work-ministry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #0f172a;
    transition: height 0.4s ease;
    z-index: -1;
}

.work-ministry-card:hover::before {
    height: 100%;
}

.work-ministry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    border-color: #c19a6b;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 0%, rgba(193, 154, 107, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.work-ministry-card:hover .card-glow {
    opacity: 1;
}

/* Icône */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.15), rgba(166, 124, 82, 0.08));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.card-icon i {
    font-size: 35px;
    color: #c19a6b;
    transition: all 0.3s;
}

.work-ministry-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.15);
}

.work-ministry-card:hover .card-icon i {
    color: #f5b042;
    transform: scale(1.05);
}

/* Titre */
.work-ministry-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 15px;
    transition: color 0.3s;
    line-height: 1.4;
}

.work-ministry-card:hover h3 {
    color: white;
}

/* Description */
.work-ministry-card p {
    font-size: 0.85rem;
    color: #2c5a6e;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.work-ministry-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* Stats */
.card-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s;
}

.work-ministry-card:hover .card-stats {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.card-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #8e9eae;
    transition: color 0.3s;
}

.card-stats span i {
    font-size: 0.7rem;
    color: #c19a6b;
}

.work-ministry-card:hover .card-stats span {
    color: rgba(255, 255, 255, 0.7);
}

.work-ministry-card:hover .card-stats span i {
    color: #f5b042;
}

/* Lien */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c19a6b;
    text-decoration: none;
    transition: all 0.3s;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.work-ministry-card:hover .card-link {
    color: #f5b042;
}

.card-link:hover {
    gap: 12px;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Bouton footer */
.work-ministry-footer {
    text-align: center;
}

.btn-work-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid #c19a6b;
    color: #c19a6b;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-work-all i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.btn-work-all:hover {
    background: linear-gradient(135deg, #c19a6b, #a67c52);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 154, 107, 0.3);
    gap: 16px;
}

.btn-work-all:hover i {
    transform: translateX(5px);
}

/* Animation des cartes */
@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-ministry-card {
    animation: cardFadeUp 0.5s ease forwards;
    opacity: 0;
}

.work-ministry-card:nth-child(1) {
    animation-delay: 0.1s;
}

.work-ministry-card:nth-child(2) {
    animation-delay: 0.2s;
}

.work-ministry-card:nth-child(3) {
    animation-delay: 0.3s;
}

.work-ministry-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1100px) {
    .work-ministry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .work-ministry {
        padding: 50px 20px;
    }

    .work-ministry-header h2 {
        font-size: 1.8rem;
    }

    .work-ministry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-ministry-card {
        padding: 25px 20px;
    }

    .btn-work-all {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}













/* ========== SECTION RECHERCHE INTELLIGENTE ========== */
.recherche-section {
    padding: 80px 20px;
    background: var(--bs-body-bg);
}

.recherche-container {
    max-width: 1200px;
    margin: auto;
}

.recherche-header {
    text-align: center;
    margin-bottom: 50px;
}


.recherche-header span {
    color: #c19a6b;
}



.recherche-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #c19a6b;
}

/* Barre de recherche moderne */
.search-wrapper {
    background: var(--bs-tertiary-bg);
    border-radius: 60px;
    padding: 15px 25px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bs-body-bg);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-bar i {
    font-size: 1.3rem;
    color: #c19a6b;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 0;
    font-size: 1rem;
}

.clear-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
}

.filter-btn {
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #c19a6b;
    color: white;
    border-color: #fff7e9;
}

/* Résultats */
.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.result-card {
    background: var(--bs-tertiary-bg);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.result-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.result-badge.axes {
    background: #e0f2fe;
    color: #0369a1;
}

.result-badge.programmes {
    background: #dcfce7;
    color: #15803d;
}

.result-badge.methodologie {
    background: #fef9c3;
    color: #854d0e;
}

.result-badge.publications {
    background: #ffe4e6;
    color: #be123c;
}

.result-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.result-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.result-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 12px;
}

.result-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.no-results {
    text-align: center;
    padding: 60px;
    background: var(--bs-tertiary-bg);
    border-radius: 20px;
}

.no-results i {
    font-size: 48px;
    color: var(--bs-primary);
    opacity: 0.5;
}

/* Dark mode */
[data-bs-theme="dark"] .search-wrapper {
    background: #1e293b;
}

[data-bs-theme="dark"] .result-badge.axes {
    background: #1e3a5f;
    color: #90cdf4;
}

[data-bs-theme="dark"] .result-badge.programmes {
    background: #14532d;
    color: #86efac;
}

[data-bs-theme="dark"] .result-badge.methodologie {
    background: #713f12;
    color: #fde047;
}

[data-bs-theme="dark"] .result-badge.publications {
    background: #4c0519;
    color: #fda4af;
}



/* ========== FOOTER MODERNE ========== */
.modern-footer {
    background: linear-gradient(135deg, #1e2a5e 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 20px 25px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top : logo + social */
.footer-top {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 12px;
    margin-bottom: 12px;
}

.footer-slogan {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: white;
    font-size: 1.3rem;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: #f5b042;
}

/* Contact : 4 colonnes */
.footer-contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    font-size: 1.5rem;
    color: #f5b042;
    margin-top: 3px;
}

.footer-contact-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: white;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.2s;
}

.footer-contact-item a:hover {
    color: #f5b042;
}

/* Liens utiles */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 10px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links-col ul li a:hover {
    color: #f5b042;
    padding-left: 3px;
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin-bottom: 5px;
    opacity: 0.7;
}

.footer-credit {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-contact {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links-col h4 {
        margin-top: 15px;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}


/* Style du bouton menu mobile */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(193, 154, 107, 0.5);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Style du menu déroulant sur mobile */
@media (max-width: 991.98px) {
    .collapse.navbar-collapse {
        background: linear-gradient(135deg, #1e2a5a 5%, #0f172a 100%);
        border-radius: 20px;
        padding: 15px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 15px;
    }

    .navbar .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}


/* ========== CORRECTIONS RESPONSIVE MOBILE ========== */

@media (max-width: 768px) {

    /* Ajuster le texte du hero */
    .hero-content h1 {
        font-size: 1.2rem !important;
    }

    .hero-content p {
        font-size: 0.7rem !important;
        max-width: 95% !important;
    }

    /* Ajuster les quick links */
    .quick-link p {
        font-size: 0.6rem;
    }

    .quick-link i {
        font-size: 18px;
    }

    /* Ajuster le footer */
    .footer-contact {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* Ajuster les cartes "Notre travail" */
    .work-ministry-card {
        padding: 20px 15px !important;
    }

    .work-ministry-card h3 {
        font-size: 1.1rem;
    }

    /* Ajuster la barre sociale */
    .ministerial-topbar .container {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 0.8rem;
    }

    .topbar-contact {
        margin-right: 0 !important;
        width: 100%;
        justify-content: center;
    }

    .social-ministry {
        order: 2;
    }

    .topbar-cta {
        order: 3;
    }
}


/* Correction supplémentaire pour la navbar sur mobile */
@media (max-width: 576px) {
    .navbar-brand {
        gap: 8px !important;
    }

    .logo {
        height: 35px !important;
    }

    .logo-text {
        font-size: 0.85rem !important;
    }

    .navbar-custom {
        padding: 8px 15px !important;
        width: 95% !important;
    }
}