/* Variables de couleurs */

:root {
    --rouge: #C1272D;
    --vert: #009639;
    --verte: #9dd241;
    --vert-arme: #3b5704;
    --vert-claire: #edffcc;
    --blanc: #FFFFFF;
    --gris-clair: #F5F5F5;
    --gris-fonce: #333333;
    --gris-moyen: #666666;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}


/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gris-fonce);
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--rouge);
    color: var(--blanc);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--vert);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--gris-fonce);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--rouge);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}


/* Section Haut (Header) */

.top-header {
    background-color: var(--blanc);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


/* .logo-section {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 300px;
        } */

.logo img {
    width: 80px;
    height: 80px;
}

.logom img {
    width: 200px;
    height: 100px;
}

.ministry-info {
    /*display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 10px 0;
}

.ministry-info h1 {
    /*font-size: 1.5rem;
    color: var(--gris-fonce);
    line-height: 1.4;
    margin-bottom: 5px;
    max-width: 550px;
    font-weight: 600;*/
    /* Typographie améliorée */
    font-size: 1.8rem;
    color: var(--gris-fonce);
    line-height: 1.3;
    margin-bottom: 8px;
    /*max-width: 600px;*/
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    color: #3b5704;

    /* Alignement uniforme des lettres */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 2px;
}

.ministry-info p {
    /*font-style: italic;
    font-weight: 700;
    font-size: 0.9rem;
    max-width: 350px;
    margin: 0;
    letter-spacing: 0.5px*/
    /* Sous-titre amélioré */
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    max-width: 400px;
    margin: 0;
    letter-spacing: 0.8px;
    color: var(--rouge);
}

.ministry-info span {
    /* color: #b8392e; 
    font-size: 2rem;
    font-weight: 800;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin-bottom: -5px;*/
    /* Uniformisation de l'alignement */
    color: #000000;
    font-size: 2.2rem;
    font-weight: 800;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin-bottom: 0;
    position: relative;
    top: 2px;
    /* Ajustement fin pour alignement parfait */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    color: var(--rouge);
    font-size: 1.1rem;
}


/* Section Menu - AJUSTÉ */


/* Menu sticky */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--vert-arme);
}

.nav-container {
    text-align: center;
    position: relative;
    padding: 0px;
    width: 63%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-menu>li {
    position: relative;
    display: flex;
}

.nav-menu>li>a {
    color: var(--vert-claire);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    min-width: 110px;
    position: relative;
    text-decoration: none;
    /* Enlever le soulignement */
}

.nav-menu>li>a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu>li.active>a {
    background-color: var(--verte);
    color: black;
}


/* Icônes et texte centrés */

.nav-menu>li>a i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}


/* Texte en majuscules */


/*.nav-menu > li > a span {
			font-size: 0.9rem;
			text-transform: uppercase;
			font-weight: 600;
			letter-spacing: 0.5px;
		}*/


/* Indicateur de sous-menu (flèche) */

.nav-menu>.zaza:not(:first-child)>a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    position: absolute;
    margin-left: 8px;
    margin-top: 2px;
    transition: var(--transition);
    bottom: 5px;
}

.nav-menu>li:not(:first-child):hover>a::after {
    transform: rotate(180deg);
}


/* Sous-menus */

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--blanc);
    min-width: 250px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    pointer-events: auto;
}


/* Correction du problème des sous-menus */

.nav-menu>li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.submenu li {
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    color: var(--gris-fonce);
    padding: 12px 20px;
    display: block;
    transition: var(--transition);
    text-decoration: none;
}

.submenu li a:hover {
    background-color: rgba(0, 150, 57, 0.1);
    color: var(--vert);
    padding-left: 25px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    width: 200px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


/* Section Slide */

.slider-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 70px;
    /* juste au-dessus des dots */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    color: #fff;
}

.slide-content h2 {
    font-size: 2.6rem;
    max-width: 900px;
    line-height: 1.2;
    /*text-transform: uppercase;  MAJUSCULE */
    font-weight: 700;
    letter-spacing: 1px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 auto;
    text-shadow: 0 0 5px #000;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    opacity: 0;
}

.slide-content h2:hover {
    transform: scale(1.02);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.6);
}

.slide-content p {
    font-size: 1.1rem;
    max-width: 700px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--rouge);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.slide.active .slide-content h2 {
    animation: titleFadeUp 0.9s ease-out forwards;
    animation-delay: 0.2s;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: white;
    transform: scale(1.3);
}


@keyframes titleFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Miniatures des slides */

.slider-thumbnails {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--rouge);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Section Mot du Ministre */
/*
.minister-section {
    padding: 80px 0;
    background-color: var(--gris-clair);
}

.minister-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.minister-portrait {
    flex: 1;
    max-width: 350px;
}

.minister-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.minister-message {
    flex: 2;
}

.minister-message h3 {
    color: var(--rouge);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.minister-title {
    color: var(--gris-moyen);
    font-style: italic;
    margin-bottom: 20px;
}

.minister-text {
    font-size: 1.1rem;
    line-height: 1.8;
}*/

/* ==================== */
/* SECTION MOT DU MINISTRE - AMÉLIORÉE */
/* ==================== */

.minister-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.minister-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b5704' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.minister-section .container {
    position: relative;
    z-index: 2;
}

.minister-section .section-title h2 {
    color: var(--vert-arme);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.minister-section .section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--vert-arme) 100%);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.minister-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.minister-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--vert-arme) 50%, var(--rouge) 100%);
}

.minister-portrait {
    flex: 1;
    max-width: 350px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    margin: auto;
}

.minister-portrait:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.minister-portrait:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(157, 210, 65, 0.1), rgba(59, 87, 4, 0.1));
}

.minister-photo {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.minister-portrait:hover .minister-photo {
    transform: scale(1.05);
}

.minister-message {
    flex: 2;
    padding: 10px;
}

.minister-message h3 {
    color: var(--vert-arme);
    margin-bottom: 15px;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-left: 60%;
}

/* .minister-message h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--verte);
    border-radius: 2px;
} */

.minister-title {
    color: var(--verte);
    font-style: italic;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--vert-claire);
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--verte);
    display: inline-block;
}

.minister-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    position: relative;
    padding: 25px;
    background: rgba(237, 255, 204, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(157, 210, 65, 0.2);
}

.minister-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--verte);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.minister-text p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Effet de signature */
.minister-message::after {
    content: '';
    display: block;
    margin-top: 30px;
    text-align: right;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--vert-arme);
    opacity: 0.8;
}


/* Section Actualités */

.news-section {
    padding: 20px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--rouge);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    margin-bottom: 15px;
    color: var(--gris-fonce);
    font-size: 1.3rem;
}

.news-excerpt {
    margin-bottom: 20px;
    color: var(--gris-moyen);
}


/* Section Staff */

.staff-section {
    padding: 80px 0;
    background-color: var(--gris-clair);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.staff-card {
    background-color: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-photo {
    height: 200px;
    overflow: hidden;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 20px;
}

.staff-info h4 {
    color: var(--gris-fonce);
    margin-bottom: 5px;
}

.staff-position {
    color: var(--rouge);
    font-weight: 600;
    margin-bottom: 10px;
}

.staff-department {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    margin-bottom: 15px;
}


/* Section Utile: Statistiques */

/*
.stats-section {
    padding: 80px 0;
   
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/1667981463646.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
}*/

/* Section Statistiques Améliorée */
.stats-section-improved {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--vert-arme) 0%, #2a4000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section-improved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(157, 210, 65, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(193, 39, 45, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.stats-overlay {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/1667981463646.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;*/
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/1667981463646.jpg');
    background-position: center;
    z-index: 1;
}

.stats-section-improved .container {
    position: relative;
    z-index: 2;
}

.stats-section-improved .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.stats-section-improved .section-title h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.stats-section-improved .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.stats-section-improved .section-title p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Grille des statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--verte);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-card.wide {
    grid-column: span 2;
}

/* Icône des statistiques */
.stat-icon {
    background: var(--verte);
    color: var(--vert-arme);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(157, 210, 65, 0.3);
}

/* Contenu des statistiques */
.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    display: inline-block;
    position: relative;
}

.stat-plus,
.stat-percent {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verte);
    margin-left: 5px;
}

.stat-label {
    color: var(--vert-claire);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Progress bar */
.stat-progress {
    margin-top: 15px;
}

.progress-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--vert) 100%);
    border-radius: 3px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.stat-progress span {
    font-size: 0.85rem;
    color: var(--blanc);
    font-weight: 600;
}

/* Graphique en barres */
.stat-graph {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 40px;
    margin-top: 15px;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(to top, var(--verte), var(--vert));
    border-radius: 3px 3px 0 0;
    animation: barGrow 1.5s ease-out;
}

@keyframes barGrow {
    from {
        height: 0%;
    }

    to {
        height: var(--target-height);
    }
}

/* Cercle de progression */
.stat-chart {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.chart-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.chart-circle svg {
    transform: rotate(-90deg);
}

.chart-fill {
    animation: circleFill 1.5s ease-out forwards;
}

@keyframes circleFill {
    to {
        stroke-dasharray: var(--dash-value), 100;
    }
}

/* Trend indicator */
.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(157, 210, 65, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

.stat-trend i {
    color: var(--verte);
    font-size: 0.9rem;
}

.stat-trend span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tags */
.stat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Détails */
.stat-detail {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Répartition par genre */
.stat-gender {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.gender-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gender-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.gender-item.male .gender-icon {
    background: rgba(0, 150, 57, 0.3);
    color: var(--vert);
}

.gender-item.female .gender-icon {
    background: rgba(193, 39, 45, 0.3);
    color: var(--rouge);
}

.gender-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

/* Satisfaction */
.stat-satisfaction {
    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.satisfaction-item {
    text-align: center;
}

.satisfaction-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--verte);
    line-height: 1;
    margin-bottom: 8px;
}

.satisfaction-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Budget */
.stat-budget {
    text-align: center;
    margin-bottom: 25px;
}

.budget-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    color: var(--verte);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.budget-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.budget-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breakdown-bar {
    height: 8px;
    border-radius: 4px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.breakdown-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.breakdown-item span:first-of-type {
    width: 120px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breakdown-item span:last-of-type {
    color: white;
    font-weight: 600;
    min-width: 40px;
}

/* Note globale */
.stats-note {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stats-note i {
    color: var(--verte);
    font-size: 1.2rem;
}

.stats-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* Animations */
@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: countUp 0.6s ease-out;
    animation-fill-mode: both;
}


/* Section Accès Rapide */
.quicklinks-section {
    padding: 90px 0;
    background-color: var(--vert-claire);
}

/* Grille */
.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Carte */
.quicklink-card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 14px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

/* Effet hover */
.quicklink-card:hover {
    border-color: var(--vert);
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 150, 57, 0.25);
}

/* Icône */
.quicklink-icon {
    font-size: 3rem;
    color: var(--rouge);
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

/* Icône au hover */
.quicklink-card:hover .quicklink-icon {
    color: var(--vert);
    transform: scale(1.15);
}

/* Titre */
.quicklink-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vert-arme);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

/* Titre hover */
.quicklink-card:hover h3 {
    color: var(--vert);
}


/* Pied de page */

footer {
    background-color: var(--gris-fonce);
    color: var(--blanc);
    padding-top: 60px;
}

/* .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
} */

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--blanc);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--rouge);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--rouge);
    padding-left: 5px;
}

.social-links li {
    list-style: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    list-style: none;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #cccccc;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--rouge);
    transform: translateX(3px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #aaaaaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Responsive */
/* Responsive */
@media (max-width: 1200px) {
    .formation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar {
        width: 0;
    }

    .sidebar.show {
        width: 90%;
    }

    .vae-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vae-diplome-card {
        max-width: 800px;
        margin: 0 auto;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-text {
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }

    .modal-image {
        height: 50vh;
    }
}

@media (max-width: 1100px) {
    .nav-menu>li>a {
        padding: 18px 15px;
        min-width: 100px;
    }

    .search-box input {
        width: 150px;
    }
}

@media (max-width: 992px) {
    .minister-content {
        flex-direction: column;
    }

    .minister-portrait {
        max-width: 300px;
    }

    .nav-menu>li>a {
        padding: 18px 12px;
        min-width: 90px;
    }

    .nav-menu>li>a span {
        font-size: 0.85rem;
    }

    .article-cover {
        height: 400px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resources-filters {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }

    .search-box input {
        width: 100%;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-section,
    .faq-section.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .faq-section.reverse .faq-image {
        order: 1;
    }

    .faq-section.reverse .faq-questions {
        order: 2;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-filters {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
    }

    .sort-select {
        width: 100%;
    }

    .media-stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 150px;
    }

    .filter-controls {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-group {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section-improved .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background-color: rgba(50, 50, 50, 0.9);
        z-index: 1000;
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
    }

    .nav-menu li {
        width: 100%;
    }


    .nav-menu li a {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    /* .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--vert);
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    } */

    /* .nav-menu.active>li {
        width: 100%;
    }

    .nav-menu.active>li>a {
        padding: 15px;
        justify-content: flex-start;
        flex-direction: row;
        text-align: left;
        min-width: auto;
    }

    .nav-menu.active>li>a i {
        margin-bottom: 0;
        margin-right: 10px;
        width: 20px;
    }

    /* Sous-menus en mobile */
    /*
    .nav-menu.active>li .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        display: none;
        width: 100%;
    } */

    /* .nav-menu.active>li:hover .submenu,
    .nav-menu.active>li.active .submenu {
        display: block;
    } */

    /* .nav-menu.active>li .submenu li a {
        padding-left: 40px;
    } */

    .nav-toggle {
        display: block;
    }

}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    /* .logo-section {
                min-width: 100%;
            } */
    .contact-info {
        width: 100%;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .search-box {
        width: 100%;
        margin: 15px 0 0 0;
    }

    .search-box input {
        width: 100%;
    }

    .article-detail-section {
        padding: 40px 0 60px;
    }

    .article-cover {
        height: 300px;
        border-radius: 10px;
    }

    .article-title {
        font-size: 1.8rem;
        padding-bottom: 15px;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-gallery {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        height: 180px;
    }

    .gallery-title {
        font-size: 1.8rem;
    }

    .formation-structure-section {
        padding: 60px 0;
    }

    .formation-title {
        font-size: 2.5rem;
    }

    .formation-subtitle {
        font-size: 1.2rem;
    }

    .formation-grid {
        grid-template-columns: 1fr;
    }

    .formation-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .sidebar-content {
        padding: 20px;
    }

    .sidebar h3 {
        font-size: 1.5rem;
    }

    .closebtn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .resources-title {
        font-size: 2.5rem;
    }

    .resources-subtitle {
        font-size: 1.1rem;
    }

    .resources-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .vae-title {
        font-size: 2.5rem;
    }

    .vae-subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .complementary-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .procedure-title {
        font-size: 2.5rem;
    }

    .procedure-subtitle {
        font-size: 1.2rem;
    }

    .faq-question {
        padding: 20px;
        gap: 15px;
    }

    .question-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .procedure-cta {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .media-title {
        font-size: 2.5rem;
    }

    .media-subtitle {
        font-size: 1.2rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .featured-side-item {
        flex-direction: column;
    }

    .side-image {
        width: 100%;
        height: 150px;
    }

    .newsletter-form {
        flex-direction: column;
        min-width: auto;
    }

    .btn-newsletter {
        justify-content: center;
    }

    .gallery-title {
        font-size: 2.5rem;
    }

    .gallery-subtitle {
        font-size: 1.2rem;
    }

    .filter-controls {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-stats {
        grid-template-columns: 1fr;
    }

    .gallery-grid.list .photo-card {
        flex-direction: column;
        height: auto;
    }

    .gallery-grid.list .photo-wrapper {
        width: 100%;
        height: 250px;
    }

    .albums-grid {
        grid-template-columns: 1fr;
    }

    .gallery-cta {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .modal-info {
        padding: 25px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-satisfaction {
        flex-direction: column;
        gap: 20px;
    }

    .stats-section-improved {
        padding: 60px 0;
    }

    .stats-section-improved .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .news-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .article-cover {
        height: 250px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    .article-gallery {
        padding: 20px;
    }

    .formation-title {
        font-size: 2rem;
    }

    .formation-subtitle {
        font-size: 1.1rem;
    }

    .orga-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .formation-acronym {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .formation-name {
        font-size: 1.2rem;
    }

    .formation-card-body {
        padding: 20px;
    }

    .resources-title {
        font-size: 2rem;
    }

    .resources-stats {
        flex-direction: column;
        gap: 20px;
    }

    .filter-buttons {
        justify-content: stretch;
    }

    .filter-btn {
        flex: 1;
        text-align: center;
    }

    .resource-actions {
        flex-direction: column;
    }

    .popular-item {
        flex-direction: column;
        text-align: center;
    }

    .vae-title {
        font-size: 2rem;
    }

    .vae-subtitle {
        font-size: 1.1rem;
    }

    .card-titles h2 {
        font-size: 1.5rem;
    }

    .btn-vae,
    .btn-diplome {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 1rem;
    }

    .card-body {
        padding: 20px;
    }

    .complementary-card {
        padding: 25px;
    }

    .procedure-title {
        font-size: 2rem;
    }

    .procedure-subtitle {
        font-size: 1.1rem;
    }

    .faq-question {
        flex-wrap: wrap;
    }

    .faq-question h3 {
        flex-basis: calc(100% - 70px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact,
    .btn-download {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .steps-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .media-title {
        font-size: 2rem;
    }

    .media-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 250px;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        justify-content: center;
    }

    .featured-content h3 {
        font-size: 1.5rem;
    }

    .media-newsletter {
        padding: 30px 20px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-filters {
        padding: 20px;
    }

    .filter-actions {
        flex-direction: column;
    }

    .btn-reset,
    .btn-apply {
        width: 100%;
        justify-content: center;
    }

    .photo-modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-actions {
        flex-direction: column;
    }

    .action-btn.download-full,
    .action-btn.share-btn,
    .action-btn.like-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-contribute,
    .btn-guidelines {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        margin: 0 auto;
    }

    .stat-gender {
        justify-content: center;
    }
}


/* organigramme css manomboka eto */

.organigramme_section_titre {
    height: 15vh;
    text-align: center;
    align-content: center;
}

.organigramme_section {
    height: auto;
    padding: 2%;
}

.text-guide {
    text-align: center;
    font-weight: bold;
    font-style: italic;
}

.image_clic {
    width: 100%;
}

.image_orga {
    border-radius: 10px;
    box-shadow: 0 0px 5px black;
}

.image_orga img {
    border-radius: 10px;
    width: 100%;
}

.organi_clic {
    width: 70%;
}

.org-chart {
    text-align: center;
    overflow-x: auto;
    padding: 20px;
}

.node {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    cursor: pointer;
}

.node img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #444;
    transition: transform 0.3s, box-shadow 0.3s;
}

.node:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.node span {
    margin-top: 8px;
    font-weight: 600;
}

.children {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.node.open>.children {
    max-height: 1000px;
    opacity: 1;
}

.sg-sub {
    margin-top: 20%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    margin-top: 50px;
    border: 5px solid white;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* responsive */

@media (max-width: 768px) {
    .children {
        flex-direction: column;
        gap: 20px;
    }
}


/* texte  manomboka eto*/

.text-content-section {
    padding-bottom: 60px;
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.text-card {
    background: var(--blanc);
    border-left: 5px solid var(--rouge);
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.text-card:hover {
    transform: translateY(-5px);
}

.text-icon {
    font-size: 2.5rem;
    color: var(--rouge);
}

.text-info h3 {
    margin-bottom: 10px;
    color: var(--gris-fonce);
}

.text-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.download-btn {
    color: var(--vert);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}

.download-btn:hover {
    text-decoration: underline;
}


/* Actualité manomboka eto*/

.news-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}


/* Ny Card tsirairay */

.news-card-custom {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card-custom:hover {
    transform: translateY(-10px);
}


/* Ny Sary */

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


/* Ny Votoatiny */

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    color: var(--vert);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.news-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}


/* Ny Bokotra */

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--rouge);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    align-self: flex-start;
    transition: background 0.3s;
}

.btn-read-more:hover {
    background-color: #a00000;
}


/* Ny Daty any ambany */

.news-date {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/*style mission et vision*/

.tit {
    height: 10vh;
}

.contenu {
    display: flex;
}

.image-mission {
    width: 40%;
    height: 5%;
    margin: 3%;
    padding: 1%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px black;
}

.image-mission img {
    height: 500px;
    border-radius: 5px;
}

.mot-mission {
    grid-row: 2;
    max-width: 1200px;
    width: 100%;
    margin: 3%;
    box-sizing: border-box;
    font-size: 0.9em;
}

.mot-mission ul {
    margin-left: 3%;
}


/*style enseignement technique*/

.image-dget {
    width: 40%;
    height: 5%;
    margin: 3%;
    padding: 1%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px black;
}

.image-dget img {
    height: 500px;
    border-radius: 5px;
}

.mot-dget {
    /* max-width: 1200px; */
    width: 100%;
    margin: 3%;
    box-sizing: border-box;
    font-size: 0.9em;
}

.mot-dget ul {
    margin-left: 3%;
}




/*style formation professionnelle*/
.image-dgfp {
    width: 40%;
    height: 5%;
    margin: 3%;
    padding: 1%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px black;
}

.image-dgfp img {
    height: 500px;
    border-radius: 5px;
}

.mot-dgfp {
    /* max-width: 1200px; */
    width: 100%;
    margin: 3%;
    box-sizing: border-box;
    font-size: 0.9em;
}

.mot-dgfp ul {
    margin-left: 3%;
}


/* structure de formation */
.row {
    margin: 32px 5px 5px 5px;
}

.row,
.row>.column {
    padding: 4px;
    margin-left: 30px;
}

.column {
    float: left;
    width: 28%;
    border-color: red;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.content {
    width: 355px;
    height: 995px;
    margin: 5px 5px 43px 0px;
    background-color: #f1f1f1;
    padding: 10px;
    border-style: solid;
    border-color: red;
    border-radius: 15px;
    border-width: 0.25px;
    box-shadow: -1px 12px 5px 0px lightgrey;
}

.contentFirst {
    width: 355px;
    height: 766px;
    margin: 5px 5px 35px -5px;
    background-color: #f1f1f1;
    padding: 10px;
    border-style: solid;
    border-color: red;
    border-radius: 15px;
    border-width: 0.25px;
    box-shadow: -1px 12px 5px 0px lightgrey;
}

@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

.columnImg {
    border-radius: 12px;
}

.cadreImg {
    border-top-style: solid;
    border-color: lightgrey;
    border-width: 0.1ex;
    width: 94%;
    margin-left: 9px;
    padding-top: 15px;
}

.cadreImgFirst {
    border-top-style: none;
    width: 94%;
    margin-left: 9px;
}

.cadreImg>p {
    font-family: serif;
    font-size: 12px;
    text-align: center;
}

.cadreTitre {
    background-color: red;
    color: #fff;
    border-radius: 20px;
    width: 80%;
    margin-top: -12%;
    margin-left: 11%;
    margin-bottom: 30px;
    height: 110px;
    padding-top: 17px;
    text-align: center;
}

.cadreImg h4 {
    font-size: large;
    font-family: serif;
    font-style: italic;
    font-weight: 600;
    text-align: center;
}

.sidebar {
    /* height: 95%; */
    width: 0%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 2%;
    padding-bottom: 6%;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: white;
}

.openbtn {
    font-size: 15px;
    cursor: pointer;
    background-color: #787373;
    color: white;
    padding: 10px 15px;
    border: none;
    margin-left: 57px;
    margin-bottom: 25px;
}

.openbtn:hover {
    background-color: #444;
}

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}

.sidebar>h3 {
    color: white;
    font-family: Arial Black, Helvetica, sans-serif;
    font-size: 20px;
    text-align: center;
    margin-bottom: 35px;
}

.sidebar>img {
    margin-left: 15%;
}

#mySidebar {
    background-color: #706e6e;
}

/* ressources pédagogiques */

.quicklinks-section {
    padding: 80px 0;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.quicklink-resp {
    background-color: var(--gris-clair);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.quicklink-resp:hover {
    background-color: var(--vert);
    color: white;
}

.quicklink-resp:hover .quicklink-icon {
    color: white;
}

.quicklink-resp h3 {
    margin-bottom: 15px;
}

.news-content-resp {
    padding: 25px;
}

.news-content-resp h3 {
    margin-bottom: 15px;
    color: var(--gris-fonce);
    font-size: 0.9rem;
}

.news-grid-resp {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-image-resp img {
    width: 100%;
}

.news-card-resp {
    background-color: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 5%;
}

.news-card-resp:hover {
    transform: translateY(-10px);
}

/* vae et diplomes */

.quicklinks-section {
    padding: 80px 0;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.quicklink-vae {
    background-color: var(--gris-clair);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.quicklink-vae:hover {
    background-color: var(--vert);
    color: white;
}

.quicklink-vae:hover .quicklink-icon {
    color: white;
}

.quicklink-vae h3 {
    margin-bottom: 15px;
}

.news-content-vae {
    padding: 25px;
}

.news-content-vae h3 {
    margin-bottom: 15px;
    color: var(--gris-fonce);
    font-size: 2.3rem;
}

.news-grid-vaed {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card-vaed {
    background-color: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* Vae */
.contenu-dipl {
    display: flex;
}

.news-content-vae h3 {
    font-size: 0.9rem;
}

.news-grid-vaed {
    display: flex;
    margin-bottom: 10%;
}

.news-card-vaed {
    width: 50%;
    text-align: center;
}

.news-image-dipl {
    width: 100%;
    height: auto;
    margin: 5%;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
}

.news-image-dipl img {
    width: 100%;
}

.news-content-dipl {
    margin: 3%;
}

.news-image-vae {
    width: 100%;
    height: 700px;
    margin: 5%;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
}

.news-image-vae img {
    width: 100%;
}

.suitevae {
    margin: 0 3%;
}




/* PAGE MEDIA */
/* ============================================================
   FANITSIAVA NY PEJY MÉDIA (VIDÉO)
   ============================================================ */

/* Fandaminana ny Grid ho an'ny Video */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0 60px;
}

/* Card ho an'ny Video tsirairay */
.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* Ilay Cadre mametra ny haben'ny video (Tsy mipoapoaka intsony) */
.video-container {
    position: relative;
    width: 100%;
    height: 200px;
    /* Ity no mametra ny haavony ho antonony */
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

/* Ny video ao anatiny (Preview) */
.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mameno ny cadre tsara nefa tsy mivaky */
    display: block;
    transition: transform 0.5s ease;
}

/* Rehefa lalovan'ny souris ny cadre */
.video-container:hover .preview-video {
    transform: scale(1.1);
    /* Mitombo kely ny sary */
}

/* Icon kely mipoitra eo am-povoany (optionnel) */
.play-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.video-container:hover .play-hint {
    opacity: 1;
}

/* Fanazavana ny video eo ambany */
.video-info {
    padding: 15px;
    flex-grow: 1;
}

.video-title {
    color: var(--vert);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.video-date {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* PAGE PARTENAIRE */

.nav-style-cadre {
    background-color: var(--vert);
    /* Hamarino raha efa voafaritra ny --vert */
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-style-cadre h2 {
    color: #ffffff;
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* ============================================================
2. STYLE AN'NY CARDS (ACTUALITÉS & PARTENAIRES)
============================================================ */
.news-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0 50px;
}

.news-card-custom {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.news-card-custom:hover {
    transform: translateY(-10px);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    /* Tsy mampivaky sary */
    display: block;
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    color: var(--vert);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.news-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 18px;
    background-color: var(--rouge);
    /* Hamarino ny --rouge */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    align-self: flex-start;
    transition: background 0.3s;
}

.btn-read-more:hover {
    background-color: #a00000;
}

.news-date {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
3. STYLE AN'ILAY LOGO CAROUSEL (DÉFILEMENT EN BOUCLE)
============================================================ */
.logo-carousel-section {
    padding: 60px 0;
    background-color: #f4f7f6;
    overflow: hidden;
}

.carousel-title {
    text-align: center;
    color: var(--vert);
    margin-bottom: 40px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    /* Ny haben'ny logo x isan'ny logo rehetra (doublons) */
    animation: scroll 25s linear infinite;
    /* 25s ny hafainganam-pandehany */
}

.logo-track img {
    width: 160px;
    height: 100px;
    margin: 0 45px;
    object-fit: contain;
    opacity: 0.7;
    transition: 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }

    /* Mifindra antsasany dia miverina */
}

/* ============================================================
4. RESPONSIVE (HO AN'NY FINDAY)
============================================================ */
@media (max-width: 768px) {
    .nav-style-cadre h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .news-grid-custom {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .logo-track img {
        width: 120px;
        margin: 0 20px;
    }
}

/* lire video */
.video-detail-container {
    padding: 40px 0;
}

.main-video-player {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.full-video {
    width: 100%;
    max-height: 500px;
    /* Azonao ovaina ho lava kokoa */
    display: block;
}

.video-full-info {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.video-full-info h1 {
    color: var(--vert);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.post-date {
    color: #888;
    font-size: 0.9rem;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background: var(--vert);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-back:hover {
    background: var(--rouge);
}

/* ==================== */
/* PAGE DÉTAILS ARTICLE */
/* ==================== */

.article-detail-section {
    padding: 60px 0 100px;
    background: linear-gradient(to bottom, var(--gris-clair) 0%, var(--blanc) 100%);
}

/* Image de couverture */
.article-cover {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 500px;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-cover:hover .cover-image {
    transform: scale(1.03);
}

/* En-tête de l'article */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--vert-claire);
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-category {
    background: var(--verte);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.article-date {
    color: var(--gris-moyen);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-date i {
    color: var(--verte);
}

.article-title {
    font-size: 2.8rem;
    color: var(--vert-arme);
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.article-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

/* Contenu de l'article */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 60px;
}

.article-content h2 {
    color: var(--vert-arme);
    font-size: 2rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vert-claire);
}

.article-content h3 {
    color: var(--verte);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--verte);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--vert-claire);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--vert-arme);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Galerie */
.article-gallery {
    background: var(--blanc);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    border: 1px solid rgba(157, 210, 65, 0.2);
}

.gallery-title {
    text-align: center;
    color: var(--vert-arme);
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery-note {
    text-align: center;
    color: var(--gris-moyen);
    font-size: 0.9rem;
    padding: 15px;
    background: var(--vert-claire);
    border-radius: 10px;
    border-left: 4px solid var(--verte);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-note i {
    color: var(--verte);
    font-size: 1.2rem;
}

/* Animation pour le chargement des images */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-cover,
.article-header,
.article-content,
.article-gallery {
    animation: fadeInUp 0.6s ease-out;
}

.article-header {
    animation-delay: 0.1s;
}

.article-content {
    animation-delay: 0.2s;
}

.article-gallery {
    animation-delay: 0.3s;
}

/* ==================== */
/* PAGES CONTENU (MISSION, ENSEIGNEMENT, FORMATION) */
/* ==================== */

.content-page-section {
    padding: 80px 0 100px;
    background: linear-gradient(to bottom, var(--blanc) 0%, #f9f9f9 100%);
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--vert-claire);
}

.page-title {
    color: var(--vert-arme);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.page-subtitle {
    color: var(--verte);
    font-size: 1.3rem;
    font-style: italic;
    margin-top: 20px;
    font-weight: 600;
}

.content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.content-image {
    flex: 1;
    position: sticky;
    top: 100px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.content-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.trans {
    flex: 1;
    position: sticky;
    top: 100px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.trans img {
    width: 100%;
    height: 150px;
    /* object-fit: cover; */
    border-radius: 15px;
    transition: transform 0.5s ease;
    margin-bottom: 50px;
}

.trans:hover img {
    transform: scale(1.05);
}

.content-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    background: rgba(59, 87, 4, 0.9);
    color: white;
    padding: 15px 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.image-caption i {
    color: var(--verte);
    font-size: 1.2rem;
}

.content-text {
    flex: 2;
}

.text-block {
    margin-bottom: 50px;
}

.text-block h2 {
    color: var(--vert-arme);
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--vert-claire);
    display: flex;
    align-items: center;
    gap: 15px;
}

.text-block h2 i {
    color: var(--verte);
    font-size: 1.8rem;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 20px;
    text-align: justify;
}

/* Listes des responsabilités */
.responsabilities-list {
    list-style: none;
    padding-left: 0;
}

.responsabilities-list li {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--vert-claire);
    border-radius: 10px;
    border-left: 4px solid var(--verte);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.responsabilities-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.responsabilities-list li i {
    color: var(--vert-arme);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.responsabilities-list li strong {
    color: var(--vert-arme);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Grille des valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--verte);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--verte);
    margin-bottom: 15px;
}

.value-card h4 {
    color: var(--vert-arme);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--gris-moyen);
    line-height: 1.6;
}

/* Grille des missions */
.missions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.mission-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: linear-gradient(135deg, var(--blanc) 0%, var(--vert-claire) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--verte);
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    background: var(--verte);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mission-content h4 {
    color: var(--vert-arme);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.mission-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
}

/* Grille de structure */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.structure-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--verte);
}

.structure-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.structure-header {
    background: var(--vert-claire);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.structure-header i {
    color: var(--vert-arme);
    font-size: 1.8rem;
}

.structure-header h3 {
    color: var(--vert-arme);
    font-size: 1.2rem;
    margin: 0;
}

.structure-item p {
    padding: 20px;
    margin: 0;
    color: var(--gris-fonce);
    line-height: 1.6;
}

/* Liste des objectifs */
.objectives-list {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.objective-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, white 0%, #f8fff0 100%);
    border-radius: 12px;
    border-left: 4px solid var(--verte);
    transition: all 0.3s ease;
    width: 30%;
}

.objective-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.objective-number {
    background: var(--verte);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.objective-content h4 {
    color: var(--vert-arme);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.objective-content p {
    color: var(--gris-fonce);
    margin: 0;
}

/* Sections spécifiques */
.dget-section .content-image {
    order: 2;
}

.dget-section .content-text {
    order: 1;
}

.dgfp-section .content-image {
    order: 1;
}

.dgfp-section .content-text {
    order: 2;
}

/* ==================== */
/* PAGE STRUCTURE DE FORMATION */
/* ==================== */

.formation-structure-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8fff0 0%, var(--blanc) 100%);
    position: relative;
}

.formation-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid rgba(157, 210, 65, 0.3);
}

.formation-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.formation-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 3px;
}

.formation-subtitle {
    color: var(--verte);
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Bouton organigramme */
.organigramme-toggle {
    text-align: center;
    margin-bottom: 50px;
}

.orga-btn {
    background: linear-gradient(135deg, var(--vert-arme) 0%, var(--verte) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(59, 87, 4, 0.2);
}

.orga-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 87, 4, 0.3);
    background: linear-gradient(135deg, var(--verte) 0%, var(--rouge) 100%);
}

.orga-btn i {
    font-size: 1.3rem;
}

/* Grille des formations */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.formation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 5px solid var(--verte);
}

.formation-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.formation-card-header {
    background: linear-gradient(135deg, var(--vert-claire) 0%, rgba(157, 210, 65, 0.2) 100%);
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid rgba(157, 210, 65, 0.3);
}

.formation-acronym {
    background: var(--vert-arme);
    color: white;
    width: 100%;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(59, 87, 4, 0.3);
}

.formation-name {
    color: var(--vert-arme);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.formation-card-body {
    padding: 25px;
}

.formation-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(157, 210, 65, 0.2);
}

.formation-detail:last-child {
    border-bottom: none;
}

.detail-icon {
    background: var(--vert-claire);
    color: var(--verte);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-content h4 {
    color: var(--vert-arme);
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.detail-content p {
    color: var(--gris-fonce);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.formation-sectors,
.formation-metiers {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed rgba(157, 210, 65, 0.3);
}

.formation-sectors h4,
.formation-metiers h4 {
    color: var(--vert-arme);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sector-tags,
.metier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sector-tag {
    background: var(--verte);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.metier-tag {
    background: var(--vert-claire);
    color: var(--vert-arme);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(157, 210, 65, 0.3);
}

/* Sidebar organigramme */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    background: white;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    padding: 40px;
    flex: 1;
    overflow-y: auto;
}

.sidebar h3 {
    color: var(--vert-arme);
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--verte);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar h3 i {
    color: var(--verte);
}

.organigramme-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.organigramme-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.organigramme-image:hover img {
    transform: scale(1.02);
}

.sidebar-note {
    background: var(--vert-claire);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--verte);
    color: var(--vert-arme);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-note i {
    color: var(--verte);
    font-size: 1.2rem;
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: var(--rouge);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    border: none;
}

.closebtn:hover {
    background: var(--vert-arme);
    transform: rotate(90deg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formation-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.formation-card:nth-child(1) {
    animation-delay: 0.1s;
}

.formation-card:nth-child(2) {
    animation-delay: 0.2s;
}

.formation-card:nth-child(3) {
    animation-delay: 0.3s;
}

.formation-card:nth-child(4) {
    animation-delay: 0.4s;
}

.formation-card:nth-child(5) {
    animation-delay: 0.5s;
}

.formation-card:nth-child(6) {
    animation-delay: 0.6s;
}

.formation-card:nth-child(7) {
    animation-delay: 0.7s;
}

.formation-card:nth-child(8) {
    animation-delay: 0.8s;
}

.formation-card:nth-child(9) {
    animation-delay: 0.9s;
}

/* ==================== */
/* PAGE RESSOURCES PÉDAGOGIQUES */
/* ==================== */

.pedagogical-resources-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, var(--blanc) 100%);
}

/* En-tête */
.resources-header {
    text-align: center;
    margin-bottom: 60px;
}

.resources-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.resources-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.resources-subtitle {
    color: var(--gris-fonce);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 30px auto 40px;
    line-height: 1.6;
}

.resources-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--vert-arme);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gris-moyen);
    font-size: 1rem;
}

/* Filtres */
.resources-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--gris-clair);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--gris-fonce);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--verte);
    color: white;
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--vert-arme);
    color: white;
    border-color: var(--verte);
}

.search-box-rp {
    display: flex;
    gap: 10px;
}

.search-box-rp input {
    padding: 12px 20px;
    border: 2px solid var(--vert-claire);
    border-radius: 25px;
    width: 300px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box-rp input:focus {
    outline: none;
    border-color: var(--verte);
    box-shadow: 0 0 0 3px rgba(157, 210, 65, 0.2);
}

.search-btn-rp {
    background: var(--vert-arme);
    color: white;
    border: none;
    width: 50px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn-rp:hover {
    background: var(--verte);
    transform: scale(1.1);
}

/* Grille des ressources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.resource-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.resource-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.1);
}

.resource-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--verte);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-title {
    color: var(--vert-arme);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.resource-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gris-moyen);
    font-size: 0.9rem;
}

.resource-meta i {
    color: var(--verte);
}

.resource-description {
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: var(--vert-claire);
    color: var(--vert-arme);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.resource-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-download,
.btn-preview,
.btn-access,
.btn-guide {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-download {
    background: var(--vert-arme);
    color: rgb(255, 255, 255);
    flex: 1;
    justify-content: center;
}

.btn-download:hover {
    background: var(--verte);
    transform: translateY(-3px);
}

.btn-preview {
    background: var(--gris-clair);
    color: var(--gris-fonce);
    flex: 1;
    justify-content: center;
}

.btn-preview:hover {
    background: var(--verte);
    color: white;
    transform: translateY(-3px);
}

.btn-access {
    background: var(--rouge);
    color: white;
    flex: 1;
    justify-content: center;
}

.btn-access:hover {
    background: #a00000;
    transform: translateY(-3px);
}

.btn-guide {
    background: var(--gris-clair);
    color: var(--gris-fonce);
    flex: 1;
    justify-content: center;
}

.btn-guide:hover {
    background: var(--verte);
    color: white;
    transform: translateY(-3px);
}

/* Ressources populaires */
.popular-resources {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/*
.section-title {
    color: var(--vert-arme);
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}*/
.section-title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--vert-arme);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--verte);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 🔥 Paragraphe sous le titre */
.section-title p {
    margin-top: 20px;
    max-width: 650px;

    font-style: italic;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--verte);
    text-align: center;
}

.section-title i {
    color: var(--rouge);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--gris-clair);
    border-radius: 10px;
    border-left: 4px solid var(--verte);
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateX(10px);
    background: var(--vert-claire);
}

.popular-rank {
    background: var(--vert-arme);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.popular-info h4 {
    color: var(--vert-arme);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.popular-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.popular-stats span {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-stats i {
    color: var(--verte);
}

/* Animation pour le filtrage */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-card {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== */
/* PAGE VAE ET DIPLÔMES */
/* ==================== */

.vae-diplomes-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8fff0 0%, #f0f7ff 100%);
}

/* En-tête */
.vae-header {
    text-align: center;
    margin-bottom: 60px;
}

.vae-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.vae-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.vae-subtitle {
    color: var(--verte);
    font-size: 1.4rem;
    max-width: 800px;
    margin: 30px auto 25px;
    font-weight: 600;
}

.vae-introduction {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 25px;
    background: rgba(157, 210, 65, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--verte);
}

.vae-introduction p {
    color: var(--gris-fonce);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* Contenu principal */
.vae-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.vae-diplome-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.vae-diplome-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* En-tête des cartes */
.card-header {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid;
}

.vae-header {
    /* background: linear-gradient(135deg, var(--vert-claire) 0%, rgba(157, 210, 65, 0.2) 100%); */
    border-bottom-color: var(--verte);
}

.diplome-header {
    background: linear-gradient(135deg, #e8f4ff 0%, rgba(193, 39, 45, 0.1) 100%);
    border-bottom-color: var(--rouge);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.vae-header .card-icon {
    background: var(--verte);
    color: white;
}

.diplome-header .card-icon {
    background: var(--rouge);
    color: white;
}

.card-titles h2 {
    color: var(--vert-arme);
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-subtitle {
    color: var(--gris-moyen);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Corps des cartes */
.card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-image {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-image img {
    max-width: 250px;
    height: 250px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-content h3 {
    color: var(--vert-arme);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vert-claire);
}

.card-content p {
    color: var(--gris-fonce);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Grille des fonctionnalités VAE */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    background: var(--vert-claire);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--verte);
}

.feature i {
    color: var(--verte);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature h4 {
    color: var(--vert-arme);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature p {
    color: var(--gris-fonce);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Étapes de la VAE */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--vert-claire);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--verte);
    transform: translateX(10px);
}

.step-number {
    background: var(--verte);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--vert-arme);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--gris-moyen);
    margin: 0;
    font-size: 0.95rem;
}

/* Liste des diplômes */
.diplomes-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.diplome-category h4 {
    color: var(--vert-arme);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diplome-category h4 i {
    color: var(--verte);
}

.diplome-category ul {
    list-style: none;
    padding-left: 30px;
    margin: 0;
}

.diplome-category li {
    color: var(--gris-fonce);
    margin-bottom: 8px;
    position: relative;
}

.diplome-category li::before {
    content: "•";
    color: var(--verte);
    font-size: 1.5rem;
    position: absolute;
    left: -20px;
}

/* Grille des secteurs */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.sector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--gris-clair);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sector:hover {
    background: var(--vert-claire);
    transform: translateY(-5px);
}

.sector i {
    color: var(--verte);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sector span {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Boîte d'information */
.info-box {
    background: linear-gradient(135deg, #e8f4ff 0%, rgba(193, 39, 45, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--rouge);
}

.info-box h4 {
    color: var(--rouge);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    color: var(--gris-fonce);
    margin: 0;
}

/* Pied de page des cartes */
.card-footer {
    padding: 25px 30px;
    background: var(--gris-clair);
    border-top: 1px solid rgba(157, 210, 65, 0.3);
    text-align: center;
}

.btn-vae,
.btn-diplome {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-vae {
    background: linear-gradient(135deg, var(--verte) 0%, var(--vert-arme) 100%);
    color: white;
}

.btn-vae:hover {
    background: linear-gradient(135deg, var(--vert-arme) 0%, var(--verte) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 87, 4, 0.3);
}

.btn-diplome {
    background: linear-gradient(135deg, var(--rouge) 0%, #a00000 100%);
    color: white;
}

.btn-diplome:hover {
    background: linear-gradient(135deg, #a00000 0%, var(--rouge) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(193, 39, 45, 0.3);
}

/* Section complémentaire */
.vae-complementary {
    margin-top: 60px;
}

.complementary-card {
    background: linear-gradient(135deg, var(--vert-arme) 0%, var(--gris-fonce) 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.complementary-icon {
    background: white;
    color: var(--vert-arme);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.complementary-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.complementary-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1rem;
}

.contact-info i {
    color: var(--verte);
    width: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vae-diplome-card {
    animation: fadeInUp 0.6s ease-out;
}

.vae-diplome-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vae-diplome-card:nth-child(2) {
    animation-delay: 0.3s;
}

.complementary-card {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* ==================== */
/* PAGE PROCÉDURE VAE */
/* ==================== */

.vae-procedure-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8fff0 0%, #e8f4ff 100%);
}

/* En-tête */
.procedure-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.procedure-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.procedure-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.procedure-subtitle {
    color: var(--verte);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px auto 20px;
    max-width: 800px;
}

.procedure-intro {
    max-width: 1500px;
    margin: 40px auto 0;
    padding: 25px;
    background: rgba(157, 210, 65, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--verte);
}

.procedure-intro p {
    color: var(--gris-fonce);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* Section FAQ */
.procedure-content {
    margin-bottom: 60px;
}

.faq-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

.faq-section.reverse {
    grid-template-columns: 2fr 1fr;
}

.faq-section.reverse .faq-image {
    order: 2;
}

.faq-section.reverse .faq-questions {
    order: 1;
}

.faq-image {
    position: sticky;
    top: 100px;
    text-align: center;
}

.procedure-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.procedure-img:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 20px;
    padding: 15px;
    background: var(--vert-claire);
    border-radius: 10px;
    color: var(--vert-arme);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-style: italic;
}

.image-caption i {
    color: var(--verte);
    font-size: 1.2rem;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-left-color: var(--verte);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.faq-item.active {
    border-left-color: var(--verte);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--vert-claire) 0%, #ffffff 100%);
}

.question-number {
    background: var(--vert-arme);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-question h3 {
    color: var(--vert-arme);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: var(--verte);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    color: var(--gris-fonce);
    line-height: 1.7;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.faq-answer li {
    color: var(--gris-fonce);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.faq-answer li:before {
    content: "•";
    color: var(--verte);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* Listes spéciales */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--gris-clair);
    border-radius: 8px;
    border-left: 4px solid var(--verte);
}

.step-icon {
    background: var(--verte);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(157, 210, 65, 0.1);
    border-radius: 8px;
}

.advantages-list i {
    color: var(--verte);
    font-size: 1.2rem;
    width: 24px;
}

.advantages-list strong {
    color: var(--vert-arme);
}

/* Grille des secteurs */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.sector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--gris-clair);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sector:hover {
    background: var(--vert-claire);
    transform: translateY(-3px);
}

.sector i {
    color: var(--verte);
    font-size: 1.1rem;
}

/* Section FAQ complète */
.faq-section-full {
    margin-top: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.faq-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--verte);
}

.faq-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.faq-card-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--vert-claire) 0%, rgba(157, 210, 65, 0.1) 100%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-number {
    background: var(--rouge);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-card-header h3 {
    color: var(--vert-arme);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
}

.faq-card-body {
    padding: 25px;
}

.employer-advantages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.employer-advantages li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.employer-advantages i {
    color: var(--verte);
    font-size: 1.1rem;
    width: 20px;
}

.employer-advantages strong {
    color: var(--vert-arme);
}

/* Section CTA */
.procedure-cta {
    background: linear-gradient(135deg, var(--vert-arme) 0%, #2a4000 100%);
    color: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cta-content h2 i {
    color: var(--verte);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact,
.btn-download {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-contact {
    background: var(--verte);
    color: white;
}

.btn-contact:hover {
    background: white;
    color: var(--vert-arme);
    transform: translateY(-5px);
}

.btn-download {
    /* background: transparent; */
    color: white;
    border: 2px solid var(--verte);
}

.btn-download:hover {
    background: var(--verte);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item,
.faq-card {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== */
/* PAGE MÉDIA */
/* ==================== */

.media-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fff0 100%);
}

/* En-tête */
.media-header {
    text-align: center;
    margin-bottom: 60px;
}

.media-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.media-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.media-subtitle {
    color: var(--verte);
    font-size: 1.4rem;
    font-weight: 600;
    max-width: 800px;
    margin: 30px auto 40px;
}

.media-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--verte);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--vert-arme);
    line-height: 1;
}

.stat-label {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Filtres */
.media-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--gris-clair);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--gris-fonce);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: var(--vert-claire);
    color: var(--vert-arme);
}

.filter-tab.active {
    background: var(--vert-arme);
    color: white;
    border-color: var(--verte);
}

.sort-select {
    padding: 10px 20px;
    border: 2px solid var(--vert-claire);
    border-radius: 25px;
    background: white;
    color: var(--gris-fonce);
    font-weight: 600;
    cursor: pointer;
    min-width: 200px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--verte);
}

/* Section vedette */
.featured-section {
    margin-bottom: 60px;
}

.section-title {
    color: var(--vert-arme);
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: var(--verte);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.featured-main {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-main:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--rouge);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-content {
    padding: 30px;
}

.featured-date {
    color: var(--verte);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-content h3 {
    color: var(--vert-arme);
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-content p {
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-featured {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--vert-arme);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-featured:hover {
    background: var(--verte);
    transform: translateY(-3px);
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-side-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    transition: all 0.3s ease;
}

.featured-side-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.side-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-content {
    padding: 15px;
    flex: 1;
}

.side-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.side-category.photo {
    background: rgba(157, 210, 65, 0.2);
    color: var(--verte);
}

.side-category.document {
    background: rgba(193, 39, 45, 0.2);
    color: var(--rouge);
}

.side-category.actualite {
    background: rgba(0, 150, 57, 0.2);
    color: var(--vert);
}

.side-content h4 {
    color: var(--vert-arme);
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.side-date {
    color: var(--gris-moyen);
    font-size: 0.8rem;
}

/* Grille des médias */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.media-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.media-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--gris-clair);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.media-type {
    color: var(--vert-arme);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-type i {
    color: var(--verte);
}

.media-duration,
.media-count,
.media-size,
.media-reading {
    color: var(--gris-moyen);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.media-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.media-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-card-image img {
    transform: scale(1.1);
}

.play-overlay,
.gallery-overlay,
.document-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover .play-overlay,
.media-card:hover .gallery-overlay,
.media-card:hover .document-overlay {
    opacity: 1;
}

.play-overlay i,
.gallery-overlay i,
.document-overlay i {
    color: white;
    font-size: 3rem;
}

.media-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.media-card-content h3 {
    color: var(--vert-arme);
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.media-card-content p {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.media-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--gris-moyen);
}

.media-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--vert-arme);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-media:hover {
    background: var(--verte);
    transform: translateY(-3px);
}

/* Bouton charger plus */
.load-more {
    text-align: center;
    margin-bottom: 60px;
}

.btn-load {
    background: white;
    color: var(--vert-arme);
    border: 2px solid var(--vert-claire);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-load:hover {
    background: var(--vert-claire);
    border-color: var(--verte);
    transform: translateY(-5px);
}

/* Archives */
.media-archive {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.archive-years {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.year-btn {
    padding: 8px 20px;
    background: var(--gris-clair);
    border: none;
    border-radius: 20px;
    color: var(--gris-fonce);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-btn:hover {
    background: var(--vert-claire);
    color: var(--vert-arme);
}

.year-btn.active {
    background: var(--vert-arme);
    color: white;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.archive-item {
    background: var(--gris-clair);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.archive-item:hover {
    background: var(--vert-claire);
    transform: translateX(10px);
}

.archive-icon {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-icon i {
    font-size: 1.5rem;
    color: var(--verte);
}

.archive-content h4 {
    color: var(--vert-arme);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.archive-count {
    color: var(--gris-moyen);
    font-size: 0.9rem;
}

/* Newsletter */
.media-newsletter {
    background: linear-gradient(135deg, var(--vert-arme) 0%, #2a4000 100%);
    color: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.newsletter-icon {
    background: white;
    color: var(--vert-arme);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.newsletter-text {
    text-align: left;
    flex: 1;
}

.newsletter-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-newsletter {
    background: var(--verte);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: white;
    color: var(--vert-arme);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-card {
    animation: fadeIn 0.6s ease-out;
}

.featured-main {
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.featured-side-item:nth-child(1) {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.featured-side-item:nth-child(2) {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.featured-side-item:nth-child(3) {
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* ==================== */
/* SECTION YOUTUBE */
/* ==================== */

.youtube-section {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border-radius: 20px;
    margin: 60px 0;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
}

.youtube-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.youtube-icon {
    background: white;
    color: #ff0000;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.youtube-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.youtube-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.youtube-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.youtube-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.youtube-stat i {
    font-size: 1.8rem;
    color: white;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #ff0000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-youtube:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.youtube-preview {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    transition: all 0.3s ease;
}

.youtube-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.youtube-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.youtube-preview:hover .youtube-thumbnail img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.youtube-preview:hover .play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-info {
    padding: 20px;
}

.youtube-info h4 {
    color: var(--vert-arme);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.video-title {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-date {
    color: var(--gris-moyen);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== */
/* SECTION RÉSEAUX SOCIAUX */
/* ==================== */

.social-media-section {
    background: linear-gradient(135deg, #f8fff0 0%, #e8f4ff 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-header h2 {
    color: var(--vert-arme);
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-header p {
    color: var(--verte);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.social-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-card.facebook {
    border-top-color: #1877f2;
}

.social-card.twitter {
    border-top-color: #1da1f2;
}

.social-card.linkedin {
    border-top-color: #0077b5;
}

.social-card.instagram {
    border-top-color: #e4405f;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.social-card.facebook .social-icon {
    background: #1877f2;
    color: white;
}

.social-card.twitter .social-icon {
    background: #1da1f2;
    color: white;
}

.social-card.linkedin .social-icon {
    background: #0077b5;
    color: white;
}

.social-card.instagram .social-icon {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.social-content {
    flex: 1;
}

.social-content h3 {
    color: var(--vert-arme);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.social-content p {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.social-followers {
    color: var(--verte);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-cta {
    color: var(--gris-moyen);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-cta {
    color: var(--verte);
    transform: translateX(5px);
}

.social-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--vert-claire);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    color: var(--verte);
    font-size: 2rem;
    margin-top: 5px;
}

.highlight-item h4 {
    color: var(--vert-arme);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hashtag {
    background: var(--vert-claire);
    color: var(--vert-arme);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hashtag:hover {
    background: var(--verte);
    color: white;
    transform: translateY(-2px);
}

.highlight-item p {
    color: var(--gris-fonce);
    line-height: 1.6;
    margin: 0;
}

/* ==================== */
/* PAGE GALERIE PHOTOS */
/* ==================== */

.gallery-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8fff0 0%, #e8f4ff 100%);
}

/* En-tête */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    color: var(--vert-arme);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--verte) 0%, var(--rouge) 100%);
    border-radius: 2px;
}

.gallery-subtitle {
    color: var(--verte);
    font-size: 1.4rem;
    font-weight: 600;
    max-width: 800px;
    margin: 30px auto 40px;
    line-height: 1.6;
}

.gallery-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 40px auto 0;
}

.gallery-stat {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.gallery-stat i {
    font-size: 2.5rem;
    color: var(--verte);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--vert-arme);
    line-height: 1;
}

.stat-label {
    color: var(--gris-moyen);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Filtres avancés */
.gallery-filters {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-title {
    color: var(--vert-arme);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title i {
    color: var(--verte);
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    color: var(--gris-fonce);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item label i {
    color: var(--verte);
    font-size: 1rem;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--vert-claire);
    border-radius: 10px;
    background: white;
    color: var(--gris-fonce);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--verte);
    box-shadow: 0 0 0 3px rgba(157, 210, 65, 0.2);
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-reset,
.btn-apply {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-reset {
    background: var(--gris-clair);
    color: var(--gris-fonce);
}

.btn-reset:hover {
    background: var(--vert-claire);
    color: var(--vert-arme);
    border-color: var(--verte);
}

.btn-apply {
    background: var(--vert-arme);
    color: white;
}

.btn-apply:hover {
    background: var(--verte);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 87, 4, 0.2);
}

.search-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 60px;
    border: 2px solid var(--vert-claire);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--verte);
    box-shadow: 0 0 0 3px rgba(157, 210, 65, 0.2);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--vert-arme);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--verte);
    transform: translateY(-50%) scale(1.1);
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: var(--gris-clair);
    color: var(--gris-fonce);
    border: 2px solid transparent;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--vert-claire);
    color: var(--vert-arme);
}

.view-btn.active {
    background: var(--vert-arme);
    color: white;
    border-color: var(--verte);
}

/* Filtres actifs */
.active-filters {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--vert-claire);
    border-radius: 10px;
    border-left: 4px solid var(--verte);
}

.filter-tag {
    background: white;
    color: var(--vert-arme);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.remove-filter {
    background: none;
    border: none;
    color: var(--rouge);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-filter:hover {
    color: #a00000;
}

/* Galerie photos */
.gallery-container {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    transition: all 0.3s ease;
}

.gallery-grid.masonry {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
}

.gallery-grid.list {
    grid-template-columns: 1fr;
}

.gallery-grid.list .photo-card {
    flex-direction: row;
    height: 200px;
}

.gallery-grid.list .photo-wrapper {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.gallery-grid.list .photo-info {
    padding: 20px;
}

.photo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.photo-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.photo-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-image {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: white;
    color: var(--vert-arme);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--verte);
    color: white;
    transform: scale(1.1);
}

.action-btn.liked {
    color: var(--rouge);
}

.photo-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.sector {
    background: var(--verte);
    color: white;
}

.badge.year {
    background: var(--rouge);
    color: white;
}

.photo-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.photo-title {
    color: var(--vert-arme);
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.photo-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gris-moyen);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.photo-description {
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    font-size: 0.95rem;
}

.photo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--vert-claire);
    color: var(--vert-arme);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--verte);
    color: white;
    transform: translateY(-2px);
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.empty-state i {
    font-size: 4rem;
    color: var(--verte);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--vert-arme);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--gris-moyen);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-clear-filters {
    background: var(--vert-arme);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    background: var(--verte);
    transform: translateY(-3px);
}

/* Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
}

.pagination-btn {
    background: white;
    color: var(--vert-arme);
    border: 2px solid var(--vert-claire);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--vert-claire);
    border-color: var(--verte);
    transform: translateY(-3px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--vert-claire);
    border-radius: 8px;
    color: var(--vert-arme);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: var(--vert-claire);
    border-color: var(--verte);
}

.page-number.active {
    background: var(--vert-arme);
    color: white;
    border-color: var(--verte);
}

.page-dots {
    color: var(--gris-moyen);
    display: flex;
    align-items: center;
    padding: 0 5px;
}

/* Modal photo */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    z-index: 2001;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--rouge);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2002;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #a00000;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 100%;
}

.modal-image {
    position: relative;
    height: calc(90vh - 40px);
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--verte);
    transform: scale(1.1);
}

.modal-info {
    padding: 40px;
    overflow-y: auto;
    background: #f9f9f9;
}

.modal-info h2 {
    color: var(--vert-arme);
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--vert-claire);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gris-fonce);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--verte);
    width: 20px;
}

.modal-info p {
    color: var(--gris-fonce);
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.modal-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--vert-claire);
}

.modal-stats .stat {
    text-align: center;
    color: var(--vert-arme);
    font-weight: 600;
}

.modal-stats .stat i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--verte);
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn.download-full {
    background: var(--vert-arme);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn.download-full:hover {
    background: var(--verte);
    transform: translateY(-3px);
}

.action-btn.share-btn,
.action-btn.like-btn {
    background: white;
    color: var(--vert-arme);
    border: 2px solid var(--vert-claire);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.action-btn.share-btn:hover,
.action-btn.like-btn:hover {
    background: var(--vert-claire);
    border-color: var(--verte);
    transform: translateY(-3px);
}

/* Section Albums */
.albums-section {
    margin: 80px 0 60px;
}

.section-title {
    color: var(--vert-arme);
    font-size: 2.2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: var(--verte);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.album-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.album-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.1);
}

.album-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.album-info {
    padding: 20px;
}

.album-info h3 {
    color: var(--vert-arme);
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.album-info p {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gris-moyen);
}

/* Section CTA */
.gallery-cta {
    background: linear-gradient(135deg, var(--vert-arme) 0%, #2a4000 100%);
    color: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 60px;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cta-content h2 i {
    color: var(--verte);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contribute,
.btn-guidelines {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-contribute {
    background: var(--verte);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-contribute:hover {
    background: white;
    color: var(--vert-arme);
    transform: translateY(-5px);
}

.btn-guidelines {
    background: transparent;
    color: white;
    border: 2px solid var(--verte);
}

.btn-guidelines:hover {
    background: var(--verte);
    transform: translateY(-5px);
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-card {
    animation: fadeInUp 0.6s ease-out;
}

.album-card {
    animation: fadeInUp 0.6s ease-out;
}

.gallery-stat {
    animation: fadeInUp 0.6s ease-out;
}

/* *********************resphon********************* */

.top-headermob,
.minister-contentmob,
.content-wrappermob,
.text-blockmob,
.mobi,
.resources-statsmob,
.vae-main-contentmob {
    display: none;
}


@media (max-width: 800px) {

    /* *********accueil******** */
    .top-header,
    .minister-content,
    .content-wrapper,
    .text-block,
    .ordi,
    .resources-stats,
    .vae-main-content {
        display: none;
    }

    .top-headermob,
    .content-wrappermob,
    .text-blockmob,
    .mobi,
    .resources-statsmob,
    .vae-main-contentmob {
        display: block;
    }

    .logplace {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }

    .logommob img {
        width: 150px;
    }

    .logomob img {
        width: 70px;
    }

    .minister-contentmob {
        display: block;
    }

    .content-imagemob {
        top: 100px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
    }

    .content-imagemob img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.5s ease;
    }

    .image-captionmob {
        margin-top: 20px;
        padding: 15px;
        background: var(--vert-claire);
        border-radius: 10px;
        color: var(--vert-arme);
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-style: italic;
    }

    .image-captionmob i {
        color: var(--verte);
        font-size: 1.2rem;
    }

    .text-blockmob {
        margin-bottom: 50px;
    }

    .text-blockmob h2 {
        color: var(--vert-arme);
        font-size: 2rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--vert-claire);
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .text-blockmob h2 i {
        color: var(--verte);
        font-size: 1.8rem;
    }

    .text-blockmob p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--gris-fonce);
        margin-bottom: 20px;
        text-align: justify;
    }

    .objective-itemmob {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 25px;
        padding: 25px;
        background: linear-gradient(135deg, white 0%, #f8fff0 100%);
        border-radius: 12px;
        border-left: 4px solid var(--verte);
        transition: all 0.3s ease;
        width: 100%;
    }

    .transmob {
        flex: 1;
        top: 100px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
    }

    .transmob img {
        width: 100%;
        height: 150px;
        /* object-fit: cover; */
        border-radius: 15px;
        transition: transform 0.5s ease;
        margin-bottom: 50px;
    }

    .stat-itemmob {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 10px;
    }

    .faq-imagemob {
        top: 100px;
        text-align: center;
    }

    .slider-section {
        position: relative;
        height: 40vh;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .minister-message h3 {
    color: var(--vert-arme);
    margin-bottom: 15px;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-left: 0;
}
}