/* Forcer le body et tous les parents à ne pas limiter la largeur */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

.hero-api-unique {
    width: 100%;
    padding: 80px 0; /* marge haut/bas, pas à gauche/droite */
    background: #f5faf5;
    box-sizing: border-box;
}

.hero-api-unique-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}
/* TYPOGRAPHIE GLOBALE */

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

body {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300;
    color: #222;
}
/* =========================
   TYPOGRAPHIE GLOBALE
========================= */

h1, h2, h3, h4 {
    font-weight: 600;
}

nav a {
    font-weight: 500;
}

.slide-caption {
    font-weight: 600;
}

.sector-title {
    font-weight: 600;
}

p {
    font-weight: 300;
}

header {
    display: flex;
    align-items: center;
    padding: 20px 40px;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-weight: bold;
    font-size: 20px;
    color: #003366;
    margin-right: 40px;
}


.logo {
    font-weight: bold;
    font-size: 20px;
    color: #003366;
}

.lang-switch button {
    margin-left: 10px;
    padding: 5px 10px;
    cursor: pointer;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,51,102,0.8), rgba(0,102,51,0.8)),
    url('https://images.unsplash.com/photo-1605902711622-cfb43c44367f');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 50px;
}

.cta {
    padding: 15px 30px;
    background: #00cc66;
    border: none;
    color: white;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}

.stats {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    background: white;
}

.stat h2 {
    color: #003366;
}

.about {
    padding: 50px;
    text-align: center;
}footer {
    background: #003366;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    margin: 5px 0;
    font-size: 1em;
}/* Animation fade-in */
.hero-content, .stats .stat, .sectors .sector, .dg-message {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.hero-content {
    animation-delay: 0.2s;
}

.stats .stat:nth-child(1) { animation-delay: 0.4s; }
.stats .stat:nth-child(2) { animation-delay: 0.6s; }
.stats .stat:nth-child(3) { animation-delay: 0.8s; }
.stats .stat:nth-child(4) { animation-delay: 1s; }

.sectors .sector:nth-child(1) { animation-delay: 0.4s; }
.sectors .sector:nth-child(2) { animation-delay: 0.6s; }
.sectors .sector:nth-child(3) { animation-delay: 0.8s; }
.sectors .sector:nth-child(4) { animation-delay: 1s; }
.sectors .sector:nth-child(5) { animation-delay: 1.2s; }

.dg-message { animation-delay: 1.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTEURS VERSION PREMIUM ===== */

.sectors-section {
    padding: 100px 60px;
    background: linear-gradient(to bottom, #ffffff, #f0f5fb);
}

.sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.sector {
    background: #e6f2ff;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sector:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #d4e9ff;
}

.sector h3 {
    font-size: 22px; /* augmenté */
    text-align: center;
    color: #003366;
    margin-bottom: 15px;
}

.sector p {
    font-size: 16px; /* augmenté */
    text-align: justify;
    line-height: 1.6;
    color: #333;
    flex-grow: 1;
}

.read-more {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    font-weight: 600;
    color: #007acc;
    cursor: pointer;
    transition: 0.3s;
}

.read-more:hover {
    color: #003366;
}
/* ===== SLIDESHOW ===== */

.slideshow {
    width: 100%;
    height: 900px;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 900px;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}
.slide {
    position: absolute;
    width: 100%;
    height: 900px;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 60px; /* juste au-dessus des indicateurs */
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 0 20px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.slide-content p {
    font-size: 32px; /* même taille pour tous les mots */
    margin: 0;
    white-space: nowrap; /* force le texte sur une seule ligne */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Boutons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 22px;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Indicateurs */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.indicators span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    opacity: 0.5;
}

.indicators span.active {
    opacity: 1;
}
.sector-title {
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 60px;
}
.section-divider {
    border: 0;
    height: 3px;
    background: #003366; /* bleu API */
    margin: 0;
}
/* ===== SECTION MOT DU DIRECTEUR GÉNÉRAL ===== */
.dg-message {
    display: flex;
    width: 100%;
    min-height: 12rem; /* ~15 cm */
    padding: 40px 60px;
    background: #f4f6f9;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* pour responsive */
}

.dg-photo {
    flex: 1; /* 1/4 largeur approximative */
    max-width: 25%;
}

.dg-photo img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.dg-text {
    flex: 3;
    max-width: calc(75% - 20px); /* 75% moins un petit gap interne */
    box-sizing: border-box; /* inclut padding et largeur */
    margin: 0;
}

.dg-text h2 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 20px;
    white-space: nowrap; /* force le titre sur une seule ligne */
    overflow: hidden;
    text-overflow: ellipsis;
}

.dg-text p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #333;

    column-count: 2;      /* deux colonnes */
    column-gap: 40px;     /* espace entre les colonnes */
}
.dg-message {
    display: flex;
    width: 100%;
    min-height: 12rem; /* ~15 cm */
    padding: 40px 60px; /* même padding que les autres sections */
    background: #f4f6f9;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* responsive */
    box-sizing: border-box; /* inclut padding dans largeur totale */
    opacity: 0; /* pour le fade-in */
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.dg-message.fade-in {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 1024px) {
    .dg-message {
        flex-direction: column; /* photo au-dessus, texte en dessous */
        padding: 40px 30px;
    }

    .dg-photo, .dg-text {
        max-width: 100%; /* occupe toute la largeur */
        flex: none;
    }

    .dg-text p {
        column-count: 1; /* une seule colonne sur mobile */
    }

    .dg-text h2 {
        white-space: normal; /* autorise le retour à la ligne si écran étroit */
        font-size: 24px;
    }
}
/* ===== SLIDE IMAGE DG ===== */
.dg-slide {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.dg-slide img {
    width: 100%;
    height: auto; /* IMPORTANT : respecte la hauteur réelle */
    display: block;
}
/* =========================
   WHY CAMEROON SECTION
========================= */

.why-cameroon {
    background: #d2e0f3;      /* bleu clair */
    padding: 100px 0;
}

.why-cameroon .container {
    width: 100%;       /* pleine largeur */
    max-width: 100%;   /* supprime la limite de 1400px */
    margin: 0;         /* plus de centrage automatique */
    padding: 0 20px;   /* petit padding pour l’intérieur */
}

.why-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 70px;
    color: #003366;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes égales */
    gap: 20px;
    width: 100%;
    margin: 0; /* plus besoin de centrer */
}

.why-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}
.why-separator {
    border: 0;
    border-top: 1px solid #d0d7e0;
    margin: 15px 20px 10px 20px;
}

.why-link {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
    transition: 0.3s ease;
}

.why-link:hover {
    text-decoration: underline;
}
.why-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* IMAGE */
.why-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CHIFFRE */
.why-number {
    font-size: 52px;
    font-weight: 700;
    color: #0056b3;
    text-align: center;
    margin-top: 25px;
}

/* TITRE */
.why-box h3 {
    text-align: center;
    font-size: 20px;
    margin: 15px 20px;
}

/* TEXTE */
.why-box p {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px 30px 20px;
    text-align: center;
}

/* ===== Responsive WHY CAMEROON ===== */

/* Tablettes : 2-3 colonnes */
@media screen and (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Petites tablettes / grands mobiles : 2 colonnes */
@media screen and (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobiles : 1 colonne */
@media screen and (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-box {
        margin-bottom: 30px;
    }
}
/* ===== Animation WHY CAMEROON ===== */
.why-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.why-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SECTEURS - FULL WIDTH FINAL
========================= */
.sectors-fullwidth {
    width: 100vw;             /* toute la largeur du viewport */
    background: #dde6f2;      /* bleu clair */
    padding: 80px 20px;
    margin: 0;
    box-sizing: border-box;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 boxes par ligne */
    gap: 25px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.sector-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.3s ease, transform 0.3s ease;
}

.sector-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.sector-image img {
    width: 100%;
    height: 360px; /* doublé par rapport à avant */
    object-fit: cover; /* garde l'image centrée et recadrée */
}

.sector-box h3 {
    text-align: center;
    font-size: 20px;
    margin: 15px 20px;
}

.sector-box p {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px 20px 20px;
    text-align: center;
}

.sector-separator {
    border: 0;
    border-top: 1px solid #d0d7e0;
    margin: 10px 20px;
}

.sector-link {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
    transition: 0.3s ease;
}

.sector-link:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media screen and (max-width: 1200px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Fade-in + slide-up ===== */
.sector-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sector-box.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Zoom subtil sur images au hover */
.sector-box:hover .sector-image img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
/* ===== Titre de la section secteurs ===== */
.sectors-title {
    text-align: center;
    font-size: 56px;       /* très grand pour remplir la largeur */
    font-weight: 700;
    margin-bottom: 50px;
    color: #003366;        /* bleu foncé assorti aux titres de box */
    line-height: 1.2;
}
/* ===== Section secteurs ===== */
.sectors-fullwidth {
    width: 100vw;
    background: #dde6f2;
    padding: 80px 20px;
    margin: 0;
    box-sizing: border-box;
}

/* Titre de la section */
.sectors-title {
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #003366;
    line-height: 1.2;
}

/* Grille de boxes */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Boxes secteurs */
.sector-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.8s ease;
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(30px);
}

/* Quand la box devient visible */
.sector-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Zoom léger au hover sur toute la box */
.sector-box:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Images */
.sector-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Titres et chapeaux */
.sector-box h3 {
    text-align: center;
    font-size: 20px;
    margin: 15px 20px;
}

.sector-box p {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px 20px 20px;
    text-align: center;
}

/* Lignes et liens */
.sector-separator {
    border: 0;
    border-top: 1px solid #d0d7e0;
    margin: 10px 20px;
}

.sector-link {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
    transition: 0.3s ease;
}

.sector-link:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media screen and (max-width: 1200px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Section secteurs - animation et zoom ===== */
.sector-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.8s ease;
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(30px);
}

.sector-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.sector-box:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.sector-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.sector-box h3 {
    text-align: center;
    font-size: 20px;
    margin: 15px 20px;
}

.sector-box p {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px 20px 20px;
    text-align: center;
}

.sector-separator {
    border: 0;
    border-top: 1px solid #d0d7e0;
    margin: 10px 20px;
}

.sector-link {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
    transition: 0.3s ease;
}

.sector-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Section API ===== */
.hero-api {
    width: 100%;
    padding: 100px 20px;
    background: #f0f4f8; /* fond doux */
    text-align: center;
}

.hero-api-title {
    font-size: 48px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 60px;
}

.hero-api-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-api-box {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-api-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.hero-api-box h3 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 15px;
}

.hero-api-box p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.hero-api-link {
    display: inline-block;
    text-decoration: none;
    color: #004494;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hero-api-link:hover {
    color: #002f6c;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .hero-api-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .hero-api-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Section API Unique ===== */
.hero-api-unique {
    width: 100%;
    padding: 80px 20px;
    background: #f5faf5; /* fond très clair pour contraste */
    text-align: center;
}

.hero-api-unique-title {
    font-size: 48px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 60px;
}

/* Grille des 4 blocs avec séparation verticale */
.hero-api-unique-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* aucun gap, séparations gérées par bordures */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-left: 2px solid #4CAF50;
    border-right: 2px solid #4CAF50;
}

/* Chaque box */
.hero-api-unique-box {
    padding: 20px;
    border-left: 1px solid #4CAF50; /* séparation verticale verte */
    border-right: 1px solid #4CAF50;
    background: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-api-unique-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hero-api-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.hero-api-unique-box h3 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 12px;
}

.hero-api-unique-box p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .hero-api-unique-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-api-unique-box {
        border-left: none;
        border-right: none;
        border-top: 1px solid #4CAF50;
    }
}

@media screen and (max-width: 700px) {
    .hero-api-unique-grid {
        grid-template-columns: 1fr;
    }
    .hero-api-unique-box {
        border-top: 1px solid #4CAF50;
    }
}
/* ===== Section API Unique - pleine largeur ===== */
.hero-api-unique {
    width: 100%;
    padding: 80px 0;
    background: #f5faf5;
    text-align: center;
}

.hero-api-unique-title {
    font-size: 48px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 60px;
}

/* Grille en full width */
.hero-api-unique-grid {
    display: flex;
    width: 100%;
    margin: 0; /* plus de centrage automatique */
    padding: 0;
}

/* Chaque box = 25% écran, padding inclus */
.hero-api-unique-box {
    flex: 1;
    box-sizing: border-box; /* inclut padding et border */
    padding: 20px;
    border-left: 1px solid #4CAF50;
    border-right: 1px solid #4CAF50;
    background: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-api-unique-box:first-child {
    border-left: none; /* pas de bordure à gauche du premier */
}

.hero-api-unique-box:last-child {
    border-right: none; /* pas de bordure à droite du dernier */
}

/* Image */
.hero-api-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Titres et paragraphes */
.hero-api-unique-box h3 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 12px;
}

.hero-api-unique-box p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .hero-api-unique-grid {
        flex-wrap: wrap;
    }
    .hero-api-unique-box {
        flex: 1 1 50%;
        border-left: none;
        border-right: none;
        border-top: 1px solid #4CAF50;
    }
}

@media screen and (max-width: 700px) {
    .hero-api-unique-box {
        flex: 1 1 100%;
        border-top: 1px solid #4CAF50;
    }
}
/* ===== Section API Unique - pleine largeur ===== */
.hero-api-unique {
    width: 100%;
    padding: 80px 0;
    background: #f5faf5;
    text-align: center;
}

.hero-api-unique-title {
    font-size: 48px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 60px;
}

/* Grille pleine largeur */
.hero-api-unique-grid {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Chaque box = 25% écran */
.hero-api-unique-box {
    flex: 1;
    box-sizing: border-box;
    padding: 20px;
    border-left: 1px solid #4CAF50;
    border-right: 1px solid #4CAF50;
    background: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-api-unique-box:first-child {
    border-left: none;
}

.hero-api-unique-box:last-child {
    border-right: none;
}

/* Image */
.hero-api-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Titres et paragraphes */
.hero-api-unique-box h3 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 12px;
}

.hero-api-unique-box p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Hover dynamique */
.hero-api-unique-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .hero-api-unique-grid {
        flex-wrap: wrap;
    }
    .hero-api-unique-box {
        flex: 1 1 50%;
        border-left: none;
        border-right: none;
        border-top: 1px solid #4CAF50;
    }
}

@media screen and (max-width: 700px) {
    .hero-api-unique-box {
        flex: 1 1 100%;
        border-top: 1px solid #4CAF50;
    }
}
/* ===== RESET FOR FULL WIDTH ===== */
html, body {
    margin: 0;
    padding: 0;
}

/* ===== SECTION FULL WIDTH ===== */
.api-section-full {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;

    padding: 80px 0;
    background: linear-gradient(135deg, #003366, #0056b3);
    box-sizing: border-box;
    text-align: center;
}

/* ===== TITLE ===== */
.api-section-title {
    font-size: 48px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 60px;
}

/* ===== GRID FULL WIDTH ===== */
.api-grid-full {
    display: flex;
    width: 100%;
}

/* ===== BOX ===== */
.api-box {
    flex: 1;
    padding: 30px;
    background: #ffffff;
    box-sizing: border-box;
    border-left: 1px solid #4CAF50;
    border-right: 1px solid #4CAF50;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.api-box:first-child {
    border-left: none;
}

.api-box:last-child {
    border-right: none;
}

/* ===== IMAGE ===== */
.api-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
}

.api-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== TEXT ===== */
.api-box h3 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 15px;
}

.api-box p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* ===== HOVER ===== */
.api-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .api-grid-full {
        flex-wrap: wrap;
    }

    .api-box {
        flex: 1 1 50%;
        border: none;
        border-top: 1px solid #4CAF50;
    }
}

@media (max-width: 700px) {
    .api-box {
        flex: 1 1 100%;
    }
}
.api-section-title {
    color: #ffffff;
}

.api-box h3 {
    color: #003366; /* On garde le bleu foncé sur fond blanc */
}
.api-section-title {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}
/* Hover global */
.api-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* Zoom subtil image */
.api-img img {
    transition: transform 0.6s ease;
}

.api-box:hover .api-img img {
    transform: scale(1.08);
}

/* Animation titre */
.api-box h3 {
    transition: all 0.4s ease;
}

.api-box:hover h3 {
    transform: translateY(-5px);
    color: #002244;
}

/* Barre animée en bas */
.api-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #00c853);
    transition: width 0.4s ease;
}

.api-box:hover::after {
    width: 100%;
}
/* ===== SECTION STATS PREMIUM ===== */
.stats {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #002244, #003366);
    text-align: center;
    color: #ffffff;
}

.stats-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

/* GRID */
.stats-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* BOX */
.stat-box {
    flex: 1;
    margin: 0 10px;
    padding: 40px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover */
.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Chiffres */
.stat-number {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #4CAF50;
}

/* Texte */
.stat-text {
    font-size: 16px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1000px) {
    .stats-container {
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1 1 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .stat-box {
        flex: 1 1 100%;
    }
}
/* ===== SECTION IMPACT API ===== */
.api-impact-section {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;

    background: #ffffff;
    padding: 120px 0;
    text-align: center;
}

/* TITRE */
.api-impact-title {
    font-size: 52px;
    font-weight: 800;
    color: #003366;
    margin-bottom: 100px;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* GRID */
.api-impact-grid {
    display: flex;
    width: 100%;
}

/* BOX */
.api-impact-box {
    flex: 1;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
}

/* Séparateurs modernes */
.api-impact-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #4CAF50, transparent);
}

/* Hover subtil */
.api-impact-box:hover {
    transform: translateY(-10px);
}

/* CHIFFRES */
.api-impact-number {
    font-size: 72px;
    font-weight: 900;
    color: #003366;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Suffixe */
.api-impact-suffix {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Texte */
.api-impact-box p {
    font-size: 15px;
    max-width: 300px;
    margin: auto;
    line-height: 1.6;
    color: #444;
}

/* Responsive */
@media (max-width: 1000px) {
    .api-impact-grid {
        flex-wrap: wrap;
    }

    .api-impact-box {
        flex: 1 1 50%;
        margin-bottom: 40px;
    }

    .api-impact-box::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .api-impact-box {
        flex: 1 1 100%;
    }
}
.separator-line {
    width: 100vw;               /* Pleine largeur de la page */
    height: 72px;               /* Même hauteur que les chiffres de la section stats */
    background-color: #003366;  /* Bleu API identique au footer */
    margin: 0;                  /* Pas de marge pour rester collé aux sections */
    transition: all 0.6s ease;  /* Pour animation douce au scroll */
}
.separator-line {
    width: 100vw;               /* Pleine largeur */
    height: 72px;               /* Même hauteur que les chiffres de stats */
    background-color: #003366;  /* Bleu API identique au footer */
    margin: 0;                  /* Collé aux sections */
    
    /* Pour animation */
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.separator-line {
    width: 100vw;               /* Pleine largeur */
    height: 72px;               /* Même hauteur que les chiffres de stats */
    background-color: #003366;  /* Bleu API identique au footer */
    margin: 0;                  /* Collé aux sections */

    /* Animation simple au chargement */
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    animation: separatorAppear 1s forwards;
}

@keyframes separatorAppear {
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}
.separator-line {
    width: 100vw;                /* Pleine largeur */
    height: 72px;                /* Même hauteur que les chiffres */
    background-color: #002244;   /* Bleu API de la section FULL WIDTH */
    margin: 0;                   /* Collé aux sections */

    /* Animation simple au chargement */
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    animation: separatorAppear 1s forwards;
}

@keyframes separatorAppear {
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-section .container {
    width: 80%;
    margin: auto;
}

.about-section h2 {
    font-size: 42px;
    color: #003366;
    margin-bottom: 40px;
}

.about-section h3 {
    margin-top: 40px;
    color: #003366;
}

.about-section p, .about-section li {
    font-size: 16px;
    line-height: 1.8;
}
.gallery-section {
    padding: 100px 0;
    text-align: center;
}

.gallery-block {
    margin-bottom: 60px;
}
.section-title {
    font-size: 42px;
    text-align: center;
    margin: 80px 0 60px 0;
    color: #003366;
}

.why-container,
.api-grid,
.sectors-grid {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.why-box,
.api-box,
.sector-box {
    flex: 1 1 calc(33.33% - 30px);
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}
/* ===== MENU HORIZONTAL CORRIGÉ ===== */

header {
    width: 100%;
    background: #002244;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;               /* IMPORTANT */
    justify-content: center;     /* Centre horizontalement */
    align-items: center;
    gap: 40px;                   /* Espace entre les rubriques */
    margin: 0;
    padding: 20px 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

/* Hover */
nav ul li a:hover {
    color: #4CAF50;
}

/* Rubrique active */
nav ul li a.active {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 4px;
}
.page-section {
    padding: 100px 0;
    text-align: center;
}

.page-title {
    font-size: 40px;
    margin-bottom: 60px;
    color: #003366;
}

.page-title.white {
    color: #ffffff;
}

.page-grid {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.page-box {
    flex: 1;
    background: #f4f4f4;
    padding: 40px;
    border-radius: 8px;
}

.white-box {
    background: #ffffff;
}

.blue-bg {
    background: #002244;
}
/* ============================= */
/* HEADER MODERNE API CAMEROUN  */
/* ============================= */

.main-header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

/* LOGO */
.logo a {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #003366;
    letter-spacing: 1px;
}

/* NAVIGATION */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s ease;
}

/* Hover */
.main-nav ul li a:hover {
    color: #003366;
}

/* Animation soulignement */
.main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #003366;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Rubrique active */
.main-nav ul li a.active {
    color: #003366;
}

.main-nav ul li a.active::after {
    width: 100%;
}

/* LANGUE */
.lang-switch button {
    background: none;
    border: 1px solid #003366;
    color: #003366;
    padding: 6px 12px;
    margin-left: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.lang-switch button:hover {
    background: #003366;
    color: #ffffff;
}
/* ================================= */
/* HEADER PREMIUM API CAMEROUN      */
/* ================================= */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-wrapper {
    width: 95%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* LOGO */
.logo {
    flex: 1;
}

.logo a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    letter-spacing: 1px;
    white-space: nowrap; /* force sur une ligne */
}

/* Hover animation */
.main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: #003366;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: #003366;
}

/* ACTIVE PAGE */
.main-nav ul li a.active {
    color: #003366;
}

.main-nav ul li a.active::after {
    width: 100%;
}

/* LANG SWITCH */
.lang-switch {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lang-switch button {
    background: transparent;
    border: 1px solid #003366;
    color: #003366;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.lang-switch button:hover {
    background: #003366;
    color: #ffffff;
}
/* ================================= */
/* MENU PLEINE LARGEUR AMÉLIORÉ     */
/* ================================= */

.main-nav {
    flex: 3; /* prend plus d’espace entre logo et langue */
    display: flex;
}

.main-nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between; /* occupe toute la largeur */
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
    flex: 1;
    text-align: center;
}

/* Séparateurs fins */
.main-nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30%;
    height: 40%;
    width: 1px;
    background: #ddd;
}

/* Liens */
.main-nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 16px;          /* police augmentée */
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    padding: 10px 0;
    transition: 0.3s ease;
    position: relative;
}

/* Animation hover */
.main-nav ul li a:hover {
    color: #003366;
}

/* Soulignement animé */
.main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #003366;
    transition: 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 60%;
}

/* Rubrique active */
.main-nav ul li a.active {
    color: #003366;
}

.main-nav ul li a.active::after {
    width: 60%;
}
/* ============================= */
/* HEADER MODERNE & RESPONSIVE  */
/* ============================= */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-wrapper {
    width: 95%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* LOGO */
.logo a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* NAVIGATION */
.main-nav {
    flex: 3;
}

.main-nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
    flex: 1;
    text-align: center;
}

/* Séparateurs fins */
.main-nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #ddd;
}

/* Liens */
.main-nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    padding: 10px 0;
    transition: color 0.3s ease;
}

/* Hover */
.main-nav ul li a:hover {
    color: #003366;
}

/* Animation soulignement */
.main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #003366;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 60%;
}

/* ACTIVE */
.main-nav ul li a.active {
    color: #003366;
}

/* LANG SWITCH */
.lang-switch {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lang-switch button {
    background: transparent;
    border: 1px solid #003366;
    color: #003366;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.lang-switch button:hover {
    background: #003366;
    color: #ffffff;
}

/* HAMBURGER MOBILE */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #003366;
    border-radius: 2px;
}

/* ================== */
/* RESPONSIVE MOBILE  */
/* ================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        border-top: 1px solid #ddd;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        text-align: center;
        flex: none;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li a {
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }
}
/* ===================== */
/* SECTION ACTUALITÉS    */
/* ===================== */
.actualites-section {
    background: #f0f4f8; /* léger fond pour différencier */
    padding: 50px 5%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
}

.actualites-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.actualite-box {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actualite-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.actualite-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 15px;
    color: #003366;
    text-align: center;
}

.actualite-box p {
    font-size: 14px;
    margin: 0 15px 15px;
    line-height: 1.5;
    text-align: justify;
}

.actualite-box a {
    text-align: center;
    margin: 10px 0 15px;
    display: block;
    font-weight: 600;
    color: #003366;
    text-decoration: none;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    transition: color 0.3s ease;
}

.actualite-box a:hover {
    color: #4CAF50;
}

/* Animation hover sur la box */
.actualite-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .actualite-box img {
        height: 150px;
    }
}
/* ===================================== */
/* SECTION ACTUALITES PREMIUM API       */
/* ===================================== */

.actualites-section {
    background: #0f2f57; /* bleu plus clair et élégant */
    padding: 100px 5%;
    color: #ffffff;
}

.actualites-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 70px;
}

/* GRID 2 LIGNES × 3 COLONNES */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* BOX */
.actualite-box {
    background: #ffffff;
    color: #222;
    border-radius: 8px;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

/* Animation décalée */
.actualite-box:nth-child(1) { animation-delay: 0.1s; }
.actualite-box:nth-child(2) { animation-delay: 0.2s; }
.actualite-box:nth-child(3) { animation-delay: 0.3s; }
.actualite-box:nth-child(4) { animation-delay: 0.4s; }
.actualite-box:nth-child(5) { animation-delay: 0.5s; }
.actualite-box:nth-child(6) { animation-delay: 0.6s; }

/* IMAGE */
.image-wrapper {
    overflow: hidden;
    height: 200px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ZOOM IMAGE */
.actualite-box:hover .image-wrapper img {
    transform: scale(1.1);
}

/* CONTENT */
.content {
    padding: 25px;
    text-align: center;
}

.content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

.content p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.content a {
    text-decoration: none;
    font-weight: 600;
    color: #003366;
    border-bottom: 2px solid transparent;
    transition: 0.3s ease;
}

.content a:hover {
    border-bottom: 2px solid #003366;
}

/* Animation entrée */
@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .actualites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .actualites-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= ANIMATION PREMIUM WHY CAMEROON ================= */

/* Animation subtile sans changer le design */

.why-box {
    transition: transform 0.3s ease;
}

.why-box:hover {
    transform: scale(1.02);
}

.why-box img {
    transition: opacity 0.3s ease;
}

.why-box:hover img {
    opacity: 0.92;
}
/* Animation subtile sur l'image uniquement */

.why-box img {
    transition: transform 0.5s ease;
}

.why-box:hover img {
    transform: scale(1.03); /* léger zoom */
}
.sectors-grid {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.sector-box { background:#fff; border:1px solid #ddd; border-radius:8px; padding:15px; flex:1 1 calc(33% - 20px); min-width:250px; max-width:350px; box-sizing:border-box; }
.sector-box img { width:100%; border-radius:5px; }
.sector-box h3 { margin:10px 0; font-weight:700; }
.sector-box p { font-size:0.95em; line-height:1.5; }
.sector-box a { text-decoration:none; color:#0056b3; font-weight:600; cursor:pointer; }

/* Modale */
.sector-modal-bg { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:9999; overflow-y:auto; }
.sector-modal-content { background:#fff; width:90%; max-width:1100px; margin:40px auto; padding:20px 30px; border-radius:10px; position:relative; display:flex; flex-direction:column; }
.sector-modal-close { position:absolute; top:15px; right:20px; font-size:28px; font-weight:700; color:#333; cursor:pointer; }
.sector-modal-content img { max-width:50%; margin:0 auto 15px auto; display:block; }
.sector-modal-content h2, .sector-modal-content .chapeau, .sector-modal-content p { text-align:justify; margin-bottom:15px; }

@media screen and (max-width:900px){ .sector-box{ flex:1 1 calc(50% - 20px); } }
@media screen and (max-width:600px){ .sector-box{ flex:1 1 100%; } }

/* -------------------------------
   Boxes Secteurs
---------------------------------*/
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.sector-box {
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  padding:15px;
  flex: 1 1 calc(33% - 20px);
  min-width:250px;
  max-width:350px;
  box-sizing:border-box;
}

.sector-box img {
  width:100%;
  border-radius:5px;
}

.sector-box h3 {
  margin:10px 0;
  font-weight:700;
}

.sector-box p {
  font-size:0.95em;
  line-height:1.5;
}

.sector-box a {
  text-decoration:none;
  color:#0056b3;
  font-weight:600;
  cursor:pointer;
}

/* -------------------------------
   Modale Secteurs
---------------------------------*/
.sector-modal-bg {
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  z-index:9999;
  overflow-y:auto;
}

.sector-modal-content {
  background:#fff;
  width:90%;
  max-width:1100px;
  margin:40px auto;
  padding:20px 30px;
  border-radius:10px;
  position:relative;
  display:flex;
  flex-direction:column;
}

.sector-modal-close {
  position:absolute;
  top:15px;
  right:20px;
  font-size:28px;
  font-weight:700;
  color:#333;
  cursor:pointer;
}

.sector-modal-content img {
  max-width:50%;
  margin:0 auto 15px auto;
  display:block;
}

.sector-modal-content h2,
.sector-modal-content .chapeau,
.sector-modal-content p {
  text-align:justify;
  margin-bottom:15px;
}

@media screen and (max-width:900px){ .sector-box{ flex:1 1 calc(50% - 20px); } }
@media screen and (max-width:600px){ .sector-box{ flex:1 1 100%; } }

.separator-line {
    width: 100%;
    height: 90px; /* tu peux ajuster l'épaisseur */
    background-color: #0b3d91; /* mets ici EXACTEMENT la couleur du footer */
}
.api-gallery {
    padding: 60px 20px;
    background: #f5f8fc;
    text-align: center;
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.gallery-categories {
    margin-bottom: 30px;
}

.gallery-categories button {
    padding: 10px 20px;
    margin: 0 5px 10px 5px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background: #0056b3;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-categories button:hover,
.gallery-categories button.active {
    background: #003f7f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.gallery-item p {
    margin-top: 8px;
    font-size: 0.95em;
    color: #333;
    font-weight: 500;
}





.gallery-documents {
    width: 100%;
    padding: 60px 20px;
    background-color: #e6f0fa; /* bleu clair */
    text-align: center;
}

.gallery-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #003f7f;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
}

.document-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.document-box img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.document-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #0056b3;
}

.document-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.document-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background-color: #0056b3;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.document-buttons button:hover {
    background-color: #003f7f;
}

@media screen and (max-width: 768px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .document-box img {
        height: 140px;
    }
}

.gallery-documents {
    width: 100%;
    padding: 80px 20px;
    background-color: #e6f0fa; /* bleu clair */
    text-align: center;
}

.gallery-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #003f7f;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    justify-items: center;
}

.document-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px; /* box plus grande */
}

.document-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.document-box img {
    width: 100%;
    height: 280px; /* box plus grande */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.document-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    margin-bottom: 15px;
    color: #0056b3;
}

.document-separator {
    border: none;
    border-top: 1px solid #ccc;
    margin: 15px 0;
}

.document-links {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

.document-links a {
    text-decoration: none;
    color: #0056b3;
    font-weight: 600;
    margin: 0 5px;
    transition: color 0.3s;
}

.document-links a:hover {
    color: #003f7f;
}

@media screen and (max-width: 768px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .document-box img {
        height: 220px;
    }
}

.documents-grid {
    display: flex;
    flex-wrap: nowrap; /* empêche la descente des boxes */
    justify-content: space-between; /* espace équitable entre les boxes */
    margin: 0 20px; /* marges gauche et droite */
}

.document-box {
    flex: 1; /* prend tout l’espace disponible */
    margin: 0 10px; /* petite marge entre les boxes */
    min-width: 200px; /* pour que la box ne devienne pas trop petite sur mobile */
    height: 430px;
}

.documents-section {
    background: #e6f0ff; /* fond bleu léger */
    padding: 50px 20px;
}

.documents-grid {
    display: flex;
    flex-wrap: nowrap; /* empêche les boxes de descendre */
    justify-content: space-between; /* espace équitable entre les boxes */
    margin: 0 20px; /* marges gauche et droite de la section */
}

.document-box {
    flex: 0 0 calc(20% - 16px); /* 5 boxes = 20% largeur moins les marges */
    margin: 0 8px; /* petite marge entre boxes */
    height: 430px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.document-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.document-box h3 {
    font-weight: 400; /* plus de gras */
    font-size: 1em;
    margin: 15px 0 10px 0;
    line-height: 1.2;
}

.document-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.document-buttons a {
    color: #0056b3; /* bleu uniforme */
    text-decoration: none; /* pas de souligné */
    font-weight: 400; /* pas de gras */
    cursor: pointer;
}

.document-box img {
    margin-bottom: -50px;  /* étend l'image visuellement vers le bas de 50px */
    object-fit: cover;
}

.document-box h3 {
    margin-bottom: 5px; /* espace sous le titre */
}

.document-box .document-buttons {
    border-top: 1px solid #87baf7; /* trait fin gris clair */
    padding-top: 10px;             /* espace entre trait et boutons */
    margin-top: 5px;              /* espace entre titre et trait */
    text-align: center;
}


.documents-header {
    text-align: center;
    margin-bottom: 50px;
}

.documents-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 10px;
}

.documents-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: #003366; /* bleu institutionnel */
    margin-bottom: 15px;
}

.documents-line {
    width: 80px;
    height: 3px;
    background-color: #0056b3;
    margin: 0 auto;
    border-radius: 2px;
}




.photo-gallery-section {
    padding: 80px 5%;
    background: #f8fbff;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-subtitle {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 10px;
}

.gallery-header h2 {
    font-size: 34px;
    font-weight: 500;
    color: #003366;
    margin-bottom: 15px;
}

.gallery-line {
    width: 80px;
    height: 3px;
    background: #0056b3;
    margin: auto;
    border-radius: 3px;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARTE */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.gallery-overlay h3 {
    margin: 0;
    font-weight: 500;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.8;
}


.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.gallery-modal.active {
    display: flex;
}

.gallery-content {
    text-align: center;
    color: white;
    animation: zoomIn 0.4s ease;
}

#galleryTitle {
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.gallery-modal img {
    max-width: 85%;
    max-height: 75vh;
    border-radius: 12px;
    transition: opacity 0.4s ease;
    opacity: 1;
}

#imageCounter {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.7;
}

/* Animation ouverture */
@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Boutons navigation */
.gallery-modal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 38px;
    padding: 18px 22px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.gallery-modal button:hover {
    background: rgba(255,255,255,0.35);
}

.gallery-modal .prev { left: 40px; }
.gallery-modal .next { right: 40px; }

.close-gallery {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.7;
}

.close-gallery:hover {
    opacity: 1;
}



.gallery-footer {
    margin-top: 20px;
    text-align: center;
}

.close-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 25px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s ease;
}

.close-btn:hover {
    background: white;
    color: black;
}



.gallery-modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 28px;
    font-weight: normal;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
}

.close-btn:hover {
    color: #00a1e4; /* couleur API bleu clair si tu veux */
}



.premium-separator {
    width: 100%;
    height: 6px;
    margin: 0px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(1, 6, 108, 0.6), rgba(187, 43, 3, 0.3), rgba(1, 23, 123, 0.6));
    box-shadow: 0 0 12px rgba(0,161,228,0.4);
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite ease-in-out;
}

/* Plusieurs bandes lumineuses */
.premium-separator::before,
.premium-separator::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
}

.premium-separator::before {
    left: -50%;
    animation: shimmer1 2.5s infinite;
}

.premium-separator::after {
    left: -70%;
    animation: shimmer2 3s infinite;
}

/* Animation principale de scintillement */
@keyframes shimmer1 {
    0% { left: -50%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes shimmer2 {
    0% { left: -70%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Légère pulsation de l'ensemble */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0,161,228,0.4); }
    50% { box-shadow: 0 0 20px rgba(0,161,228,0.6); }
}






.video-section .section-header {
    margin-bottom: 40px; /* réduit l'espace entre le titre et le reste de la section */
    text-align: center;
}

.video-section .section-subtitle {
    font-size: 0.9rem;
    color: #111;       /* noir comme photo */
    text-transform: uppercase;  /* majuscules */
    letter-spacing: 1px;
    margin-bottom: 10px; /* réduit l'espace entre surtitre et titre */
}

.video-section .section-title {
    font-size: 2.5rem; 
    font-weight: 800;
    background: linear-gradient(90deg, #04126d, #010d7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin: 0;
}






.video-section {
    padding: 40px 20px 80px 20px;
    background: linear-gradient(135deg, #c2dcf5, #b3dff5);
    text-align: center;
    color: rgb(26, 3, 137);
}

.video-section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 500;
    letter-spacing: 1px;
}

.video-albums {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.video-album {
    width: 300px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.video-album:hover {
    transform: rotateY(8deg) rotateX(5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(1, 2, 79, 0.25);
}

.album-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-album h3 {
    margin: 15px 0;
    font-weight: 500;
    font-size: 1.2rem;
    color: #1d0690;
}

/* BOUTON PLAY */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    transition: 0.3s ease;
}

.play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.play-button:hover {
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

/* POPUP VIDEO */
.video-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup-content {
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: white;
    position: relative;
}

.popup-title {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 500;
}

.video-popup video {
    width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.video-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}



/* ===== TITRE FUTURISTE SECTION VIDEO ===== */

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #0d1b6d, #2563eb, #0d1b6d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title span {
    color: #2563eb;
    -webkit-text-fill-color: initial;
}

/* Ligne lumineuse sous le titre */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    border-radius: 10px;
}


.about-section,
.org-section,
.history-section{
padding:100px 20px;
background:#f7f9fc;
}

.container{
max-width:1200px;
margin:auto;
}

.section-heading{
text-align:center;
margin-bottom:60px;
}

.section-subtitle{
text-transform:uppercase;
letter-spacing:2px;
font-size:14px;
color:#666;
margin-bottom:10px;
}

.section-title{
font-size:38px;
font-weight:700;
color:#0b1e3c;
}

.mission-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.mission-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.4s;
}

.mission-card:hover{
transform:translateY(-8px);
}

.org-tree{
text-align:center;
}

.org-level{
display:flex;
justify-content:center;
gap:40px;
margin-bottom:40px;
flex-wrap:wrap;
}

.directors{
gap:30px;
}

.org-card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
width:220px;
}

.org-card img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;
}

.timeline{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:30px;
}

.timeline-item{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
flex:1 1 200px;
}

.timeline-item .year{
font-weight:700;
color:#0056b3;
display:block;
margin-bottom:10px;
font-size:20px;
}



/* ============================= */
/* SECTION MISSION API */
/* ============================= */

.api-mission{
padding:120px 0;
background:#ffffff;
}

.container-wide{
max-width:1400px;
margin:auto;
padding:0 40px;
}

.mission-intro{
max-width:1000px;
margin:0 auto 70px auto;
font-size:17px;
line-height:1.9;
text-align:justify;
color:#444;
}

.mission-row{
display:grid;
grid-template-columns:repeat(5,1fr);
}

.mission-box{
padding:35px 25px;
text-align:center;
}

.mission-box h3{
font-size:18px;
margin-bottom:10px;
color:#0b1e3c;
}

.mission-box p{
font-size:15px;
line-height:1.6;
color:#555;
}

/* filet bleu entre missions */

.mission-box:not(:last-child){
border-right:2px solid #0056b3;
}




.org-chart{
text-align:center;
}

.org-level{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
margin-bottom:30px;
}

.org-card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
width:220px;
}

.org-card img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin-bottom:10px;
}

.org-connector{
width:3px;
height:40px;
background:#0056b3;
margin:auto;
}

.timeline{
position:relative;
margin-top:50px;
}

.timeline:before{
content:'';
position:absolute;
left:50%;
top:0;
width:3px;
height:100%;
background:#0056b3;
}

.timeline-item{
display:flex;
justify-content:space-between;
margin-bottom:40px;
}

.timeline-year{
font-weight:700;
font-size:22px;
color:#0056b3;
width:120px;
}

.timeline-content{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
width:45%;
}






/* VISION */
.vision-container {
  width: 100%;
  padding: 0 40px; /* petit padding pour éviter que le texte touche les bords */
  box-sizing: border-box;
}

.vision-surtitre {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.vision-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.vision-text {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  column-count: 2;
  column-gap: 50px;
}

/* Trait de séparation entre vision et missions */
.vision-separator {
  width: 80px;
  height: 2px;
  background: #007BFF;
  margin: 40px auto 0;
  border-radius: 2px;
}

/* MISSIONS */
.missions-wrapper {
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
}

.missions-surtitre {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 5px;
}

.missions-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.missions-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap; /* pour forcer à 5 colonnes */
  width: 100%;
}

.mission-card {
  flex: 1 1 19%; /* chaque carte prend environ 1/5 de la largeur */
  padding: 25px 15px;
  text-align: center;
  position: relative;
  border-left: 1px solid rgba(0,123,255,0.2);
}

.mission-card:first-child {
  border-left: none;
}

.mission-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mission-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Trait vertical dégradé */
.mission-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, rgba(0,123,255,0), rgba(0,123,255,0.4), rgba(0,123,255,0));
}




/* Header section */
.org-header {
  text-align: center;
  margin-bottom: 60px;
}

.org-surtitre {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 5px;
}

.org-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Ligne PCA + DG */
.org-top-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 80px;
}

.org-top-row .top-node {
  flex: 1;
  max-width: 400px;
  text-align: center;
}

.org-top-row img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #007BFF;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Ligne des directeurs */
.org-directors {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.org-directors .org-node {
  flex: 1 1 calc(33% - 20px);
  text-align: center;
}

.org-directors .org-node img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #00A1E4;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Titres et descriptions */
.org-node h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.org-node p {
  margin: 5px 0 0 0;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}


/* Divider trait horizontal */
.org-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #007BFF, transparent);
  margin: 60px 0;
}

/* Ligne Sous-Directeurs 4 postes */
.org-subdirectors.org-line4 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.org-subdirectors.org-line4 .org-node {
  flex: 1 1 calc(25% - 20px);
  text-align: center;
  margin-bottom: 40px;
}

/* Ligne Sous-Directeurs 5 postes */
.org-subdirectors.org-line5 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.org-subdirectors.org-line5 .org-node {
  flex: 1 1 calc(20% - 16px);
  text-align: center;
  margin-bottom: 40px;
}

/* Boxes sous-directeurs – images */
.org-subdirectors img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #00A1E4;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Boxes – titres et poste */
.org-subdirectors h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 5px 0 0 0;
}

.org-subdirectors p {
  font-size: 14px;
  color: #555;
  margin: 0;
}