/* ============================================================
01. VARIABLES GLOBALES
============================================================ */

:root {
    --blue: #0b2c5f;
    --blue-2: #123d82;
    --blue-3: #1d56a4;

    /* Couleurs institutionnelles RDC */
    --rdc-blue: #007fff;
    --rdc-red: #ce1021;
    --rdc-yellow: #f7d618;

    --gold: #c8a95b;
    --gold-light: #ead9a2;

    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #f7f9fd;

    --text: #1b2430;
    --muted: #5b6575;

    --border: rgba(11, 44, 95, 0.10);

    --white: #ffffff;

    --green: #0b8f62;
    --red: #c83d3d;

    --shadow:
        0 10px 30px rgba(11, 44, 95, 0.12);

    --shadow-lg:
        0 18px 45px rgba(11, 44, 95, 0.16);

    --radius: 18px;
}


/* ============================================================
02. RESET / BASE
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    scroll-padding-top: 100px;

    scrollbar-width: thin;

    scrollbar-color:
        #b8c1d0
        transparent;
}

body {
    margin: 0;

    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--bg);

    line-height: 1.7;
}

::selection {
    background: var(--rdc-blue);
    color: var(--white);
}

a {
    color: var(--blue-2);
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, 92%);

    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
03. HEADER INSTITUTIONNEL
============================================================ */

#site-header {
    position: relative;

    z-index: 900;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 92%,
            rgba(0, 127, 255, 0.025) 100%
        );

    border-bottom:
        1px solid rgba(11, 44, 95, 0.08);

    box-shadow:
        0 4px 18px rgba(11, 44, 95, 0.06);

    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* ============================================================
   BLOC INSTITUTIONNEL
   ============================================================ */

.institution-header {
    width:
        min(1200px, 94%);

    margin:
        0 auto;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    text-align:
        center;
}


/* ============================================================
   ARMOIRIE
   ============================================================ */

.institution-logo {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        12px 0 5px;
}

.institution-logo img {
    width:
        76px;

    height:
        76px;

    display:
        block;

    object-fit:
        contain;
}


/* ============================================================
   MINISTÈRE
   ============================================================ */

.institution-ministry {
    width:
        100%;

    padding:
        2px 15px 9px;
}

.ministry-name {
    max-width:
        850px;

    margin:
        0 auto;

    color:
        var(--blue);

    font-size:
        0.82rem;

    font-weight:
        800;

    line-height:
        1.3;

    letter-spacing:
        0.025em;
}

.ministry-subtitle {
    margin-top:
        4px;

    color:
        var(--muted);

    font-size:
        0.84rem;

    font-weight:
        600;

    letter-spacing:
        0.045em;
}


/* ============================================================
   DIRECTION
   ============================================================ */

.institution-direction {
    position:
        relative;

    width:
        100%;

    padding:
        8px 15px 10px;

    border-top:
        1px solid rgba(11, 44, 95, 0.07);

    background:
        linear-gradient(
            90deg,
            rgba(0, 127, 255, 0.018),
            rgba(247, 214, 24, 0.025),
            rgba(206, 16, 33, 0.018)
        );
}


/* ============================================================
   NOM DE LA DIRECTION
   ============================================================ */

.direction-name {
    color:
        var(--blue-2);

    font-size:
        1rem;

    font-weight:
        800;

    line-height:
        1.3;

    letter-spacing:
        0.045em;
}


/* ============================================================
   BANDE RDC
   ============================================================ */

/* .institution-direction::after {
    content:
        "";

    position:
        absolute;

    left:
        50%;

    bottom:
        0;

    width:
        90px;

    height:
        3px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 58%,
            var(--rdc-yellow) 58% 78%,
            var(--rdc-red) 78% 100%
        );

    border-radius:
        999px;
} */


/* ============================================================
04. NAVIGATION
============================================================ */

.main-navigation {
    position: sticky;

    top: 0;

    z-index: 800;

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 4px 6px;

    padding: 8px 15px;

    background:
        rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-top:
        1px solid rgba(11, 44, 95, 0.08);

    border-bottom:
        1px solid rgba(11, 44, 95, 0.10);

    box-shadow:
        0 5px 20px
        rgba(11, 44, 95, 0.10);
}


/* ============================================================
BANDE RDC
============================================================ */

.main-navigation::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 58%,
            var(--rdc-yellow) 58% 78%,
            var(--rdc-red) 78% 100%
        );
}


/* ============================================================
LIENS
============================================================ */

.main-navigation a {
    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    padding: 6px 9px;

    color: var(--blue-2);

    font-size: 0.74rem;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    border-radius: 6px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* ============================================================
SOULIGNEMENT
============================================================ */

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 9px;
    right: 9px;

    bottom: 1px;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue),
            var(--rdc-yellow)
        );

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.2s ease;
}


/* ============================================================
HOVER
============================================================ */

.main-navigation a:hover {
    color: var(--blue-2);
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}


/* ============================================================
PAGE ACTIVE
============================================================ */

.main-navigation a.active {
    color: var(--blue-2);

    background:
        rgba(11, 44, 95, 0.06);
}

.main-navigation a.active::after {
    transform: scaleX(1);
}


/* ============================================================
CONTACT
============================================================ */

.main-navigation a[href="/pages/contact.html"] {
    color: var(--rdc-red);
}

.main-navigation a[href="/pages/contact.html"].active {
    color: var(--rdc-red);
}


/* ============================================================
05. HERO
============================================================ */

.hero {
    position: relative;

    overflow: hidden;

    color: #ffffff;

    padding: 88px 0 76px;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(0, 127, 255, 0.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(247, 214, 24, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(206, 16, 33, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #081f46 0%,
            var(--blue) 48%,
            var(--blue-2) 100%
        );
}


/* ============================================================
DÉCORATION HERO
============================================================ */

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: -220px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    box-shadow:
        0 0 0 60px
            rgba(0, 127, 255, 0.025),

        0 0 0 120px
            rgba(247, 214, 24, 0.018);
}

.hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -150px;
    bottom: -180px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}


/* ============================================================
CONTENU HERO
============================================================ */

.hero-content {
    position: relative;

    z-index: 2;
}


/* ============================================================
BADGE RDC
============================================================ */

.badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 8px 13px;

    margin-bottom: 22px;

    color:
        rgba(255, 255, 255, 0.92);

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 999px;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.015em;
}

.badge img {
    width: 24px !important;
    height: 16px !important;

    max-width: 24px !important;
    max-height: 16px !important;

    object-fit: cover;

    border-radius: 2px;

    flex: 0 0 24px;

    box-shadow:
        0 1px 4px
        rgba(0, 0, 0, 0.20);
}


/* ============================================================
TITRE HERO
============================================================ */

.hero h1 {
    max-width: 850px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        3rem,
        6vw,
        5rem
    );

    font-weight: 800;

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--gold-light);
}


/* ============================================================
DESCRIPTION HERO
============================================================ */

.hero p {
    max-width: 820px;

    margin:
        24px 0 0;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 1rem;

    line-height: 1.75;
}


/* ============================================================
BOUTONS
============================================================ */

.hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding:
        10px 18px;

    border-radius: 10px;

    font-size: 0.78rem;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


/* ============================================================
BOUTON PRINCIPAL
============================================================ */

.btn-primary {
    color: #ffffff;

    background:
        var(--rdc-blue);

    border:
        1px solid
        var(--rdc-blue);

    box-shadow:
        0 8px 22px
        rgba(0, 127, 255, 0.22);
}

.btn-primary:hover {
    color: #ffffff;

    background:
        #006fdf;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(0, 127, 255, 0.28);
}


/* ============================================================
BOUTON SECONDAIRE
============================================================ */

.btn-outline {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.28);

    backdrop-filter:
        blur(8px);
}

.btn-outline:hover {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.45);

    transform:
        translateY(-2px);
}


/* ============================================================
STATISTIQUES
============================================================ */

.stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 48px;

    max-width: 1000px;
}

.stat {
    min-height: 100px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.08);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.stat:hover {
    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.10);

    border-color:
        rgba(247, 214, 24, 0.25);
}

.stat strong {
    display: block;

    margin-bottom: 4px;

    color:
        var(--gold-light);

    font-size: 1.45rem;

    font-weight: 800;

    line-height: 1.1;
}

.stat span {
    display: block;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.70rem;

    line-height: 1.45;
}


/* ============================================================
06. SECTIONS
============================================================ */

section {
    padding:
        68px 0;

    background:
        var(--surface);
}


/* Correction du sélecteur invalidé section(even) */
section:nth-of-type(even) {
    background:
        var(--surface-2);
}


/* Sections spéciales gardent leur propre fond */

.section-title {
    margin:
        0 0 14px;

    color:
        var(--blue);

    font-size:
        2rem;

    line-height: 1.2;

    letter-spacing:
        -0.025em;
}

.section-kicker {
    margin:
        0 0 7px;

    color:
        var(--gold);

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.10em;

    text-transform:
        uppercase;
}

.lead {
    max-width: 900px;

    margin-top: 0;

    color:
        var(--muted);
}


/* ============================================================
07. CARDS / GRILLES
============================================================ */

.card {
    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    padding:
        26px;

    box-shadow:
        var(--shadow);
}

.card h3 {
    margin-top: 0;

    color:
        var(--blue);
}

.card p {
    margin-bottom: 0;
}

.grid {
    display: grid;

    gap: 22px;
}

.grid-2 {
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
}


/* ============================================================
ICON
============================================================ */

.icon {
    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    margin-bottom: 14px;

    border-radius: 12px;

    background:
        rgba(11, 44, 95, 0.08);

    color:
        var(--blue);

    font-size:
        1.05rem;

    font-weight:
        800;
}


/* ============================================================
LISTES
============================================================ */

ul {
    padding-left: 20px;

    margin: 0;
}

li {
    margin:
        10px 0;
}


/* ============================================================
HIGHLIGHT
============================================================ */

.highlight {
    margin-top: 18px;

    padding-left: 18px;

    border-left:
        4px solid var(--gold);

    color:
        var(--muted);
}


/* ============================================================
QUOTE
============================================================ */

.quote {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f7f9fd
        );

    border:
        1px solid
        rgba(11, 44, 95, 0.08);
}


/* ============================================================
ACTUALITÉS & ACTIVITÉS
============================================================ */

.news-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7f9fd 0%,
            #ffffff 50%,
            #f7f9fd 100%
        );
}


/* ============================================================
EN-TÊTE
============================================================ */

.news-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.news-heading .lead {
    margin-bottom: 0;
}

.news-all-btn {
    flex-shrink: 0;
}


/* ============================================================
CARROUSEL PRINCIPAL
============================================================ */

.news-carousel {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(320px, 0.75fr);

    min-height: 480px;

    overflow: hidden;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    box-shadow:
        var(--shadow-lg);
}


/* ============================================================
ZONE IMAGE
============================================================ */

.news-media {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    background:
        #dfe6f0;
}


/* ============================================================
IMAGE
============================================================ */

.news-media img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    object-position: center;

    opacity: 1;

    transform:
        scale(1);

    transition:
        opacity 0.45s ease,
        transform 6s ease;
}

.news-media img.news-image-active {
    transform:
        scale(1.055);
}


/* ============================================================
OVERLAY
============================================================ */

.news-media-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(8, 31, 70, 0.05) 0%,
            transparent 45%,
            rgba(8, 31, 70, 0.52) 100%
        );
}


/* ============================================================
BANDE RDC EN HAUT
============================================================ */

.news-media::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    z-index: 4;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 58%,
            var(--rdc-yellow) 58% 78%,
            var(--rdc-red) 78% 100%
        );
}


/* ============================================================
CATÉGORIE
============================================================ */

.news-category {
    position: absolute;

    top: 22px;
    left: 22px;

    z-index: 5;

    padding:
        7px 12px;

    color:
        #ffffff;

    background:
        rgba(11, 44, 95, 0.86);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    border-radius:
        999px;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    font-size:
        0.68rem;

    font-weight:
        800;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}


/* ============================================================
COMPTEUR
============================================================ */

.news-counter {
    position: absolute;

    right: 22px;
    top: 22px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 5px;

    padding:
        7px 11px;

    color:
        #ffffff;

    background:
        rgba(8, 31, 70, 0.65);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius:
        999px;

    backdrop-filter:
        blur(8px);

    font-size:
        0.68rem;

    font-weight:
        700;
}


/* ============================================================
FLÈCHES
============================================================ */

.news-arrow {
    position: absolute;

    top: 50%;

    z-index: 6;

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    padding: 0;

    color:
        #ffffff;

    background:
        rgba(8, 31, 70, 0.65);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    border-radius:
        50%;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    font-size:
        1.8rem;

    line-height:
        1;

    cursor:
        pointer;

    transform:
        translateY(-50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.news-arrow:hover {
    background:
        var(--blue);

    border-color:
        rgba(255, 255, 255, 0.40);

    transform:
        translateY(-50%) scale(1.07);
}

.news-arrow-prev {
    left:
        18px;
}

.news-arrow-next {
    right:
        18px;
}


/* ============================================================
CONTENU
============================================================ */

.news-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        42px 38px;
}


/* ============================================================
DATE
============================================================ */

.news-date {
    margin-bottom:
        10px;

    color:
        var(--gold);

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.07em;

    text-transform:
        uppercase;
}


/* ============================================================
TITRE
============================================================ */

.news-content h3 {
    margin:
        0 0 15px;

    color:
        var(--blue);

    font-size:
        clamp(1.35rem, 2.4vw, 2rem);

    line-height:
        1.25;

    letter-spacing:
        -0.025em;
}


/* ============================================================
DESCRIPTION
============================================================ */

.news-content > p {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        0.85rem;

    line-height:
        1.75;
}


/* ============================================================
LIEN
============================================================ */

.news-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    width:
        fit-content;

    margin-top:
        25px;

    padding:
        10px 15px;

    color:
        #ffffff;

    background:
        var(--blue);

    border-radius:
        9px;

    font-size:
        0.74rem;

    font-weight:
        700;

    text-decoration:
        none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.news-link:hover {
    color:
        #ffffff;

    background:
        var(--blue-2);

    transform:
        translateY(-2px);
}

.news-link span {
    font-size:
        1rem;
}


/* ============================================================
POINTS
============================================================ */

.news-dots {
    display: flex;

    flex-wrap: wrap;

    gap:
        7px;

    margin-top:
        35px;
}

.news-dot {
    width:
        8px;

    height:
        8px;

    padding: 0;

    background:
        #c8d1df;

    border:
        none;

    border-radius:
        999px;

    cursor:
        pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.news-dot.active {
    width:
        25px;

    background:
        var(--blue);
}


/* ============================================================
ANIMATION DU CONTENU
============================================================ */

.news-content.news-content-changing {
    animation:
        newsContentIn 0.45s ease;
}

@keyframes newsContentIn {
    0% {
        opacity: 0;

        transform:
            translateY(10px);
    }

    100% {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ============================================================
ANIMATION IMAGE
============================================================ */

.news-media.news-changing img {
    animation:
        newsImageIn 0.55s ease;
}

@keyframes newsImageIn {
    0% {
        opacity: 0;

        transform:
            scale(1.03);
    }

    100% {
        opacity: 1;

        transform:
            scale(1.055);
    }
}


/* ============================================================
08.B RESPONSABLES / LEADERSHIP
============================================================ */

section.leadership {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7f9fd 0%,
            #ffffff 50%,
            #f7f9fd 100%
        );
}


/* ============================================================
TITRE
============================================================ */

.leadership-heading {
    max-width: 900px;

    margin-bottom: 42px;
}


/* ============================================================
DIRECTEUR
============================================================ */

.leadership-director {
    display: flex;

    justify-content: center;

    position: relative;

    z-index: 2;
}

.leader-card-director {
    width: min(100%, 520px);
}


/* ============================================================
CARTE RESPONSABLE
============================================================ */

.leader-card {
    position: relative;

    overflow: hidden;

    width: 100%;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        20px;

    box-shadow:
        var(--shadow);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.leader-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(11, 44, 95, 0.16);

    box-shadow:
        var(--shadow-lg);
}


/* ============================================================
ACCENT SUPÉRIEUR RDC
============================================================ */

.leader-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    z-index: 3;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue) 0 58%,
            var(--rdc-yellow) 58% 78%,
            var(--rdc-red) 78% 100%
        );
}


/* ============================================================
PHOTO
============================================================ */

.leader-photo {
    position: relative;

    width: 100%;

    height: 330px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e9eef6,
            #f7f9fd
        );
}

.leader-photo img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 0.35s ease;
}

.leader-card:hover .leader-photo img {
    transform:
        scale(1.025);
}


/* ============================================================
DÉGRADÉ PHOTO
============================================================ */

.leader-photo::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 75px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(8, 31, 70, 0.12)
        );
}


/* ============================================================
CONTENU
============================================================ */

.leader-content {
    position: relative;

    padding:
        25px 26px 27px;
}


/* ============================================================
NIVEAU HIÉRARCHIQUE
============================================================ */

.leader-level {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding:
        5px 10px;

    margin-bottom:
        11px;

    color:
        var(--blue-2);

    background:
        rgba(11, 44, 95, 0.07);

    border:
        1px solid
        rgba(11, 44, 95, 0.08);

    border-radius:
        999px;

    font-size:
        0.65rem;

    font-weight:
        800;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}


/* ============================================================
NOM
============================================================ */

.leader-content h3 {
    margin:
        0 0 5px;

    color:
        var(--blue);

    font-size:
        1.18rem;

    font-weight:
        800;

    line-height:
        1.3;

    letter-spacing:
        -0.015em;
}


/* ============================================================
FONCTION
============================================================ */

.leader-function {
    margin: 0;

    color:
        var(--gold);

    font-size:
        0.78rem;

    font-weight:
        800;
}


/* ============================================================
NOM DE LA DIVISION
============================================================ */

.leader-division-name {
    display: block;

    margin-top:
        7px;

    color:
        var(--text);

    font-size:
        0.78rem;

    font-weight:
        700;

    line-height:
        1.5;
}


/* ============================================================
LIGNE
============================================================ */

.leader-line {
    width: 44px;

    height: 3px;

    margin:
        17px 0;

    background:
        linear-gradient(
            90deg,
            var(--rdc-blue),
            var(--rdc-yellow)
        );

    border-radius:
        999px;
}


/* ============================================================
DESCRIPTION
============================================================ */

.leader-description {
    margin: 0;

    color:
        var(--muted);

    font-size:
        0.78rem;

    line-height:
        1.7;
}


/* ============================================================
HIÉRARCHIE / CONNECTEURS
============================================================ */

.leadership-hierarchy {
    position: relative;

    width: min(70%, 650px);

    height: 70px;

    margin:
        0 auto;
}


/* ============================================================
LIGNE VERTICALE
============================================================ */

.leadership-line-vertical {
    position: absolute;

    top: 0;
    left: 50%;

    width: 2px;
    height: 36px;

    transform:
        translateX(-50%);

    background:
        var(--gold);
}


/* ============================================================
LIGNE HORIZONTALE
============================================================ */

.leadership-line-horizontal {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 32px;

    height: 2px;

    background:
        var(--gold);
}

.leadership-line-horizontal::before,
.leadership-line-horizontal::after {
    content: "";

    position: absolute;

    top: 0;

    width: 2px;
    height: 34px;

    background:
        var(--gold);
}

.leadership-line-horizontal::before {
    left: 0;
}

.leadership-line-horizontal::after {
    right: 0;
}


/* ============================================================
DEUX CHEFS DE DIVISION
============================================================ */

.leadership-divisions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        24px;

    position: relative;

    z-index: 2;
}


/* ============================================================
PHOTO DU DIRECTEUR
============================================================ */

.leader-card-director .leader-photo {
    height:
        380px;
}


/* ============================================================
DIRECTEUR — STYLE INSTITUTIONNEL
============================================================ */

.leader-card-director .leader-level {
    color:
        #ffffff;

    background:
        var(--blue);

    border-color:
        var(--blue);
}

.leader-card-director .leader-content h3 {
    font-size:
        1.35rem;
}


/* ============================================================
09. ORGANISATION
============================================================ */

.org-intro {
    max-width: 900px;

    margin-bottom: 28px;

    color:
        var(--muted);
}

.org-tree {
    display: grid;

    gap: 18px;
}


/* ============================================================
DIRECTION PRINCIPALE
============================================================ */

.org-main {
    padding: 25px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );

    border-radius: 18px;

    box-shadow:
        var(--shadow-lg);
}

.org-main h3 {
    margin:
        0 0 8px;

    color: #fff;

    font-size:
        1.15rem;
}

.org-main p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        0.85rem;
}


/* ============================================================
CONNECTEUR
============================================================ */

.org-connector {
    width: 2px;

    height: 28px;

    margin:
        0 auto;

    background:
        var(--gold);
}


/* ============================================================
DIVISIONS
============================================================ */

.org-columns {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.division {
    padding: 22px;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        var(--shadow);
}

.division-header {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding-bottom: 16px;

    margin-bottom: 16px;

    border-bottom:
        1px solid var(--border);
}

.division-number {
    width: 38px;

    height: 38px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(200, 169, 91, 0.16);

    color:
        var(--blue);

    font-size:
        0.78rem;

    font-weight:
        800;
}

.division-header h3 {
    margin: 0;

    color:
        var(--blue);

    font-size:
        0.95rem;

    line-height:
        1.35;
}

.division-header p {
    margin:
        4px 0 0;

    color:
        var(--muted);

    font-size:
        0.72rem;
}


/* ============================================================
BUREAUX
============================================================ */

.bureau-list {
    display: grid;

    gap: 10px;
}

.bureau {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 12px;

    background:
        var(--surface-2);

    border:
        1px solid
        rgba(11, 44, 95, 0.05);

    border-radius: 11px;
}

.bureau-number {
    color:
        var(--gold);

    font-size:
        0.68rem;

    font-weight:
        800;
}

.bureau strong {
    display: block;

    color:
        var(--text);

    font-size:
        0.77rem;

    line-height:
        1.4;
}

.bureau span {
    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size:
        0.68rem;
}


/* ============================================================
STRUCTURE SUBCARDS
============================================================ */

.structure-subcard {
    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8faff
        );

    box-shadow:
        none;
}

.structure-subcard h4 {
    margin:
        0 0 10px;

    color:
        var(--blue);

    font-size:
        1rem;
}

.structure-subcard p {
    color:
        var(--muted);
}

.structure-subcard .icon {
    margin-bottom:
        12px;
}


/* ============================================================
10. EFFECTIFS
============================================================ */

.staff-layout {
    display: grid;

    grid-template-columns:
        1fr 1.5fr;

    gap: 22px;

    align-items:
        start;
}

.staff-total {
    position: relative;

    overflow: hidden;

    padding: 30px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );

    border-radius: 20px;

    box-shadow:
        var(--shadow-lg);
}

.staff-total::after {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -70px;

    bottom: -70px;

    border:
        25px solid
        rgba(255, 255, 255, 0.05);

    border-radius: 50%;
}

.staff-total small {
    display: block;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}

.staff-total strong {
    display: block;

    margin:
        5px 0;

    color:
        #fff;

    font-size:
        4rem;

    line-height:
        1;
}

.staff-total span {
    color:
        rgba(255, 255, 255, 0.78);

    font-size:
        0.82rem;
}


/* ============================================================
TABLE
============================================================ */

.staff-table-wrapper {
    overflow-x: auto;

    border:
        1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        var(--shadow);
}

.staff-table {
    width: 100%;

    min-width: 540px;

    border-collapse:
        collapse;

    background:
        var(--surface);
}

.staff-table th {
    padding:
        13px 15px;

    text-align:
        center;

    background:
        var(--blue);

    color:
        #fff;

    font-size:
        0.72rem;

    letter-spacing:
        0.04em;

    text-transform:
        uppercase;
}

.staff-table td {
    padding:
        12px 15px;

    text-align:
        center;

    border-bottom:
        1px solid var(--border);

    color:
        var(--blue);

    font-size:
        0.78rem;

    font-weight:
        800;
}

.staff-table tr:last-child td {
    border-bottom:
        none;
}

.staff-table .total-row td {
    background:
        rgba(200, 169, 91, 0.10);

    color:
        var(--blue);

    font-weight:
        800;
}


/* ============================================================
11. MODERNISATION
============================================================ */

section.modernisation {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );

    color:
        #fff;
}

.modernisation::before {
    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -220px;

    top: -250px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    box-shadow:

        0 0 0 60px
            rgba(255, 255, 255, 0.02),

        0 0 0 120px
            rgba(255, 255, 255, 0.015);
}

.modernisation .container {
    position: relative;

    z-index: 2;
}

.modernisation .section-title {
    color:
        #fff;
}

.modernisation .section-kicker {
    color:
        var(--gold-light);
}

.modernisation-lead {
    max-width: 900px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        0.95rem;
}

.modernisation-card {
    margin-top: 28px;

    padding: 26px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    backdrop-filter:
        blur(10px);
}

.modernisation-card p {
    color:
        rgba(255, 255, 255, 0.86);

    font-size:
        0.9rem;

    margin-bottom:
        0;
}

.modernisation-highlight {
    margin-top: 20px;

    padding: 18px;

    color:
        #fff;

    background:
        rgba(255, 255, 255, 0.06);

    border-left:
        4px solid var(--gold);

    border-radius:
        0 10px 10px 0;

    font-size:
        0.86rem;
}

.modernisation-points {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 16px;

    margin-top: 22px;
}

.modernisation-point {
    padding: 18px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 14px;
}

.modernisation-point strong {
    display: block;

    margin-bottom: 5px;

    color:
        var(--gold-light);

    font-size:
        0.85rem;
}

.modernisation-point span {
    color:
        rgba(255, 255, 255, 0.74);

    font-size:
        0.74rem;
}


/* ============================================================
12. VISION
============================================================ */

.vision-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 22px;

    align-items:
        stretch;
}

.vision-main {
    display: flex;

    flex-direction: column;

    justify-content:
        center;
}

.vision-side {
    display: grid;

    gap: 14px;
}

.vision-item {
    padding: 18px;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 14px;
}

.vision-item strong {
    display: block;

    margin-bottom: 4px;

    color:
        var(--blue);

    font-size:
        0.85rem;
}

.vision-item span {
    color:
        var(--muted);

    font-size:
        0.75rem;
}


/* ============================================================
13. AXES STRATÉGIQUES
============================================================ */

.axis-card {
    height: 100%;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.axis-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-lg);
}

.axis-card h3 {
    margin:
        0 0 8px;

    font-size:
        0.98rem;
}

.axis-card p {
    margin: 0;

    color:
        var(--muted);

    font-size:
        0.78rem;
}


/* ============================================================
14. PARTENARIATS
============================================================ */

.partnership-section {
    position: relative;
}

.partner-list {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1.5rem;

    margin-top: 2.5rem;
}

.partner {
    min-height: 180px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    padding: 1.5rem;

    background:
        #ffffff;

    border:
        1px solid rgba(0, 0, 0, 0.07);

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.partner:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);

    border-color:
        rgba(0, 80, 160, 0.20);
}

.partner-logo {
    width: 100px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.partner-logo img {
    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    transition:
        transform 0.3s ease;
}

.partner:hover .partner-logo img {
    transform:
        scale(1.08);
}

.partner span {
    font-size: 0.95rem;

    font-weight: 600;

    text-align: center;

    color: #1f2937;
}


/* ============================================================
15. CONTACT
============================================================ */

section.contact {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f6f8fc
        );
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 22px;
}

.contact-card {
    padding: 24px;

    background:
        #fff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}

.contact-card h3 {
    margin-top:
        0;

    color:
        var(--blue);
}

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin:
        14px 0;

    color:
        var(--muted);

    font-size:
        0.82rem;
}

.contact-item > div {
    width: 32px;

    height: 32px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    background:
        rgba(11, 44, 95, 0.07);

    border-radius:
        9px;
}

.contact-item strong {
    display: block;

    color:
        var(--text);
}


/* ============================================================
16. FOOTER
============================================================ */

footer {
    margin-top:
        10px;

    padding:
        28px 0;

    color:
        rgba(255, 255, 255, 0.82);

    background:
        #081d3f;
}

footer .footer-inner {
    display: flex;

    flex-wrap: wrap;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;
}

footer strong {
    color:
        #fff;
}

footer small {
    color:
        rgba(255, 255, 255, 0.58);
}


/* ============================================================
FOOTER INSTITUTIONNEL
============================================================ */

.site-footer {
    margin-top: 5rem;

    padding-top: 4rem;

    background:
        #0f172a;

    color:
        #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        1.4fr;

    gap: 4rem;

    padding-bottom: 3rem;
}

.footer-brand-header {
    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.25rem;
}

.footer-brand-header img {
    width: 55px;

    height: 65px;

    object-fit: contain;
}

.footer-brand-header strong {
    display: block;

    font-size: 1.35rem;

    font-weight: 800;
}

.footer-brand-header span {
    display: block;

    margin-top: 0.2rem;

    color:
        #94a3b8;

    font-size: 0.8rem;

    font-weight: 600;

    letter-spacing: 0.06em;
}

.footer-brand p {
    max-width: 420px;

    margin:
        0 0 1rem;

    color:
        #cbd5e1;

    font-size:
        0.9rem;

    line-height:
        1.7;
}

.footer-brand small {
    color:
        #64748b;
}


/* ============================================================
COLONNES
============================================================ */

.footer-column h3 {
    margin:
        0 0 1.3rem;

    font-size:
        1rem;

    font-weight:
        700;

    color:
        #ffffff;
}

.footer-column ul {
    display: flex;

    flex-direction:
        column;

    gap:
        0.7rem;

    margin:
        0;

    padding:
        0;

    list-style:
        none;
}

.footer-column li a {
    display: inline-block;

    color:
        #94a3b8;

    text-decoration:
        none;

    font-size:
        0.88rem;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column li a:hover {
    color:
        #ffffff;

    transform:
        translateX(4px);
}


/* ============================================================
CONTACT FOOTER
============================================================ */

.footer-contact {
    display: flex;

    flex-direction:
        column;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.footer-contact-icon {
    position: relative;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);

    color: #94a3b8;

    line-height: 0 !important;

    box-sizing: border-box;
}

.footer-contact-icon svg {
    position: static !important;

    display: block !important;

    width: 16px !important;
    height: 16px !important;

    min-width: 16px;
    min-height: 16px;

    max-width: 16px;
    max-height: 16px;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    flex: 0 0 16px;

    box-sizing: border-box;
}

.footer-contact-item strong {
    display: block;

    margin-bottom:
        0.2rem;

    font-size:
        0.78rem;

    color:
        #ffffff;
}

.footer-contact-item > div > span {
    display: block;

    color: #94a3b8;

    font-size: 0.82rem;

    line-height: 1.5;
}

.footer-contact-item a {
    color:
        #94a3b8;

    font-size:
        0.82rem;

    text-decoration:
        none;

    transition:
        color 0.25s ease;
}

.footer-contact-item a:hover {
    color:
        #ffffff;
}


/* ============================================================
LIGNE INFÉRIEURE
============================================================ */

.footer-bottom {
    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        1.4rem 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    color:
        #64748b;

    font-size:
        0.75rem;
}

.footer-bottom-links {
    display: flex;

    align-items:
        center;

    gap:
        0.6rem;
}

.footer-bottom-links a {
    color:
        #64748b;

    text-decoration:
        none;

    transition:
        color 0.25s ease;
}

.footer-bottom-links a:hover {
    color:
        #ffffff;
}


/* ============================================================
17. SCROLLBAR
============================================================ */

::-webkit-scrollbar {
    width: 9px;

    height: 9px;
}

::-webkit-scrollbar-track {
    background:
        transparent;
}

::-webkit-scrollbar-thumb {
    border:
        2px solid transparent;

    border-radius:
        999px;

    background:
        var(--blue-2);

    background-clip:
        padding-box;
}


/* ============================================================
18. RESPONSIVE — TABLETTE
============================================================ */

@media (max-width: 960px) {

    .institution-logo img {
        width: 72px;
        height: 72px;
    }

    .ministry-name {
        font-size:
            0.84rem;
    }

    .direction-name {
        font-size:
            0.94rem;
    }

    .main-navigation {
        overflow-x:
            auto;

        flex-wrap:
            nowrap;

        justify-content:
            flex-start;

        padding-left:
            10px;

        padding-right:
            10px;

        scrollbar-width:
            thin;
    }

    .main-navigation a {
        flex-shrink:
            0;
    }

    .org-columns {
        grid-template-columns:
            1fr;
    }

    .staff-layout {
        grid-template-columns:
            1fr;
    }

    .vision-grid {
        grid-template-columns:
            1fr;
    }

    .contact-grid {
        grid-template-columns:
            1fr;
    }

    .hero {
        padding:
            75px 0 65px;
    }

    .hero h1 {
        font-size:
            clamp(2.6rem, 7vw, 4rem);
    }

    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .news-carousel {
        grid-template-columns:
            minmax(0, 1fr);

        min-height:
            auto;
    }

    .news-media {
        min-height:
            430px;
    }

    .news-content {
        padding:
            32px;
    }

    .leader-card-director {
        width:
            min(100%, 500px);
    }

    .leader-photo {
        height:
            300px;
    }

    .leader-card-director .leader-photo {
        height:
            350px;
    }

    .partner-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap:
            3rem;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }
}


/* ============================================================
RESPONSIVE — TABLETTE PETITE
============================================================ */

@media (max-width: 800px) {

    .organisation-modal {
        padding:
            0.75rem;
    }

    .organisation-modal-window {
        max-height:
            94vh;

        border-radius:
            18px;
    }

    .organisation-modal-header {
        padding:
            1.25rem;
    }

    .organisation-modal-content {
        padding:
            1.25rem;
    }

    .modal-org-divisions {
        grid-template-columns:
            1fr;
    }

    .organisation-modal-footer {
        padding:
            0.9rem 1.25rem;
    }

    .organisation-modal-footer span {
        display:
            none;
    }
}


@media (max-width: 760px) {

    .institution-logo {
        padding-top:
            10px;
    }

    .institution-logo img {
        width:
            64px;

        height:
            64px;
    }

    .ministry-name {
        padding:
            0 12px;

        font-size:
            0.76rem;

        line-height:
            1.35;
    }

    .ministry-subtitle {
        font-size:
            0.66rem;
    }

    .institution-direction {
        padding:
            6px 12px 8px;
    }

    .direction-name {
        font-size:
            0.80rem;

        line-height:
            1.35;
    }

    .main-navigation {
        justify-content:
            flex-start;

        gap:
            2px;
    }

    .main-navigation a {
        padding:
            6px 8px;

        font-size:
            0.70rem;
    }

    section {
        padding:
            52px 0;
    }

    .hero {
        padding:
            65px 0 55px;
    }

    .hero h1 {
        font-size:
            2.5rem;

        letter-spacing:
            -0.035em;
    }

    .hero p {
        font-size:
            0.92rem;
    }

    .hero-actions {
        gap:
            10px;
    }

    .stats {
        margin-top:
            38px;
    }

    .news-heading {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .news-all-btn {
        width:
            100%;
    }

    .news-media {
        min-height:
            380px;
    }

    .news-content {
        padding:
            28px 24px;
    }

    .leadership-heading {
        margin-bottom:
            30px;
    }

    .leadership-divisions {
        grid-template-columns:
            1fr;

        gap:
            20px;
    }

    .leadership-hierarchy {
        width:
            2px;

        height:
            35px;
    }

    .leadership-line-vertical {
        height:
            35px;
    }

    .leadership-line-horizontal {
        display:
            none;
    }

    .leader-photo,
    .leader-card-director .leader-photo {
        height:
            340px;
    }

    .modal-org-main {
        align-items:
            flex-start;

        padding:
            1.2rem;
    }

    .modal-org-icon {
        width:
            55px;

        height:
            55px;

        border-radius:
            14px;
    }

    .modal-division {
        padding:
            1.1rem;
    }

    .modal-division-header {
        gap:
            0.75rem;
    }

    .modal-division-number {
        width:
            38px;

        height:
            38px;
    }

    .modal-secretariat {
        align-items:
            flex-start;

        padding:
            1.1rem;
    }
}


/* ============================================================
MOBILE
============================================================ */

@media (max-width: 600px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                1120px
            );
    }

    .institution-header {
        width:
            100%;
    }

    .institution-logo img {
        width:
            58px;

        height:
            58px;
    }

    .ministry-name {
        font-size:
            0.68rem;

        letter-spacing:
            0.015em;
    }

    .ministry-subtitle {
        font-size:
            0.60rem;
    }

    .direction-name {
        font-size:
            0.70rem;

        letter-spacing:
            0.025em;
    }

    .main-navigation {
        padding:
            7px 10px 9px;
    }

    .main-navigation a {
        font-size:
            0.66rem;

        padding:
            5px 7px;
    }

    .hero {
        padding:
            55px 0 48px;
    }

    .badge {
        margin-bottom:
            18px;

        font-size:
            0.68rem;
    }

    .hero h1 {
        font-size:
            2rem;
    }

    .hero p {
        font-size:
            0.88rem;

        line-height:
            1.65;
    }

    .hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .hero-actions .btn {
        width:
            100%;
    }

    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            9px;

        margin-top:
            32px;
    }

    .stat {
        min-height:
            88px;

        padding:
            14px;
    }

    .stat strong {
        font-size:
            1.2rem;
    }

    .stat span {
        font-size:
            0.64rem;
    }

    .section-title {
        font-size:
            1.65rem;
    }

    .card {
        padding:
            20px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns:
            1fr;
    }

    .staff-total strong {
        font-size:
            3.2rem;
    }

    .contact-card {
        padding:
            20px;
    }

    footer .footer-inner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .news-carousel {
        border-radius:
            16px;
    }

    .news-media {
        min-height:
            300px;
    }

    .news-category {
        top:
            15px;

        left:
            15px;

        font-size:
            0.60rem;
    }

    .news-counter {
        top:
            15px;

        right:
            15px;

        font-size:
            0.60rem;
    }

    .news-arrow {
        width:
            38px;

        height:
            38px;

        font-size:
            1.5rem;
    }

    .news-arrow-prev {
        left:
            12px;
    }

    .news-arrow-next {
        right:
            12px;
    }

    .news-content {
        padding:
            24px 20px;
    }

    .news-content h3 {
        font-size:
            1.3rem;
    }

    .news-content > p {
        font-size:
            0.78rem;
    }

    .news-dots {
        margin-top:
            25px;
    }

    .leader-content {
        padding:
            21px;
    }

    .leader-photo,
    .leader-card-director .leader-photo {
        height:
            310px;
    }

    .leader-content h3,
    .leader-card-director .leader-content h3 {
        font-size:
            1.05rem;
    }

    .leader-description {
        font-size:
            0.75rem;
    }

    .partner-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            1rem;
    }

    .partner {
        min-height:
            150px;

        padding:
            1rem;
    }

    .partner-logo {
        width:
            80px;

        height:
            65px;
    }

    .partner span {
        font-size:
            0.85rem;
    }

    .site-footer {
        margin-top:
            3rem;

        padding-top:
            3rem;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap:
            2.5rem;
    }

    .footer-brand {
        grid-column:
            auto;
    }

    .footer-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            1.25rem 0;
    }

    .legal-hero {
        padding:
            65px 0;
    }

    .legal-hero h1 {
        letter-spacing:
            -1px;
    }

    .legal-hero-stats {
        gap:
            25px;
    }

    .legal-hero-stats strong {
        font-size:
            1.35rem;
    }

    .legal-documents {
        padding:
            60px 0;
    }

    .legal-card {
        min-height:
            0;

        padding:
            23px;
    }

    .legal-category-heading h2 {
        font-size:
            1.25rem;
    }

    .legal-filters {
        width:
            100%;
    }

    .legal-filter {
        flex:
            1;
    }

    .legal-results-bar {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            5px;
    }

    .legal-note {
        flex-direction:
            column;
    }
}


/* ============================================================
PETIT MOBILE
============================================================ */

@media (max-width: 400px) {

    .institution-logo img {
        width:
            52px;

        height:
            52px;
    }

    .ministry-name {
        font-size:
            0.62rem;
    }

    .direction-name {
        font-size:
            0.65rem;
    }

    .main-navigation a {
        font-size:
            0.62rem;

        padding:
            5px 6px;
    }

    .hero h1 {
        font-size:
            1.8rem;
    }

    .stats {
        grid-template-columns:
            1fr;
    }

    .stat {
        min-height:
            auto;
    }

    .leader-photo,
    .leader-card-director .leader-photo {
        height:
            270px;
    }

    .partner-list {
        grid-template-columns:
            1fr;
    }
}


/* ============================================================
HERO — VERSION INSTITUTIONNELLE
============================================================ */

section.hero {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(200, 169, 91, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(18, 61, 130, 0.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--blue),
            #0f3a79 55%,
            var(--blue-2)
        );

    color:
        #fff;
}


/* ============================================================
HEADER COMPACT AU DÉFILEMENT
============================================================ */

#site-header {
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* ============================================================
MODALE ORGANISATION
============================================================ */

.organisation-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 2rem;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.organisation-modal.active {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


/* ============================================================
BACKDROP
============================================================ */

.organisation-modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(7, 18, 35, 0.72);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* ============================================================
FENÊTRE
============================================================ */

.organisation-modal-window {
    position: relative;

    z-index: 2;

    width:
        min(1200px, 100%);

    max-height:
        90vh;

    display:
        flex;

    flex-direction:
        column;

    background:
        #ffffff;

    border-radius:
        24px;

    overflow:
        hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.30);

    transform:
        translateY(35px)
        scale(0.96);

    opacity:
        0;

    transition:
        transform 0.45s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),
        opacity 0.35s ease;
}

.organisation-modal.active
.organisation-modal-window {
    transform:
        translateY(0)
        scale(1);

    opacity:
        1;
}


/* ============================================================
HEADER MODALE
============================================================ */

.organisation-modal-header {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        2rem;

    padding:
        2rem 2.5rem;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.07);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faff 100%
        );
}

.organisation-modal-header h2 {
    margin:
        0.2rem 0 0.5rem;

    font-size:
        clamp(
            1.5rem,
            3vw,
            2.2rem
        );
}

.organisation-modal-header p {
    margin:
        0;

    color:
        #64748b;
}


/* ============================================================
BOUTON FERMER
============================================================ */

.organisation-modal-close {
    flex-shrink:
        0;

    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        0;

    border-radius:
        50%;

    background:
        #f1f5f9;

    color:
        #334155;

    font-size:
        1.8rem;

    line-height:
        1;

    cursor:
        pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.organisation-modal-close:hover {
    background:
        #e2e8f0;

    color:
        #0f172a;

    transform:
        rotate(90deg);
}


/* ============================================================
CONTENU
============================================================ */

.organisation-modal-content {
    overflow-y:
        auto;

    padding:
        2.5rem;

    scroll-behavior:
        smooth;
}


/* ============================================================
DIRECTION
============================================================ */

.modal-org-main {
    position:
        relative;

    display:
        flex;

    align-items:
        center;

    gap:
        1.5rem;

    padding:
        1.8rem;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #eef5ff
        );

    border:
        1px solid rgba(30, 64, 175, 0.10);

    animation:
        modalItemIn 0.6s 0.10s both;
}

.modal-org-icon {
    flex-shrink:
        0;

    width:
        70px;

    height:
        70px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2563eb
        );

    color:
        white;

    font-weight:
        800;

    font-size:
        0.85rem;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.25);
}

.modal-org-level {
    display:
        block;

    margin-bottom:
        0.35rem;

    font-size:
        0.72rem;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;

    color:
        #2563eb;
}

.modal-org-main h3 {
    margin:
        0 0 0.5rem;

    font-size:
        1.25rem;
}

.modal-org-main p {
    margin:
        0;

    color:
        #64748b;

    line-height:
        1.65;
}


/* ============================================================
CONNECTEUR
============================================================ */

.modal-org-connector {
    width:
        2px;

    height:
        45px;

    margin:
        0 auto;

    background:
        linear-gradient(
            to bottom,
            #2563eb,
            #cbd5e1
        );

    animation:
        connectorGrow 0.5s 0.25s both;
}


/* ============================================================
DIVISIONS
============================================================ */

.modal-org-divisions {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        1.5rem;
}


/* ============================================================
CARTE DIVISION
============================================================ */

.modal-division {
    padding:
        1.5rem;

    border:
        1px solid rgba(0, 0, 0, 0.07);

    border-radius:
        18px;

    background:
        #ffffff;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.06);

    animation:
        modalItemIn 0.6s 0.25s both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.modal-division:nth-child(2) {
    animation-delay:
        0.35s;
}

.modal-division:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.10);
}


/* ============================================================
HEADER DIVISION
============================================================ */

.modal-division-header {
    display:
        flex;

    gap:
        1rem;

    padding-bottom:
        1.3rem;

    margin-bottom:
        1.3rem;

    border-bottom:
        1px solid #e5e7eb;
}

.modal-division-number {
    flex-shrink:
        0;

    width:
        45px;

    height:
        45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        12px;

    background:
        #eff6ff;

    color:
        #2563eb;

    font-weight:
        800;
}

.modal-division h3 {
    margin:
        0 0 0.5rem;

    font-size:
        1.05rem;

    line-height:
        1.4;
}

.modal-division-header p {
    margin:
        0;

    color:
        #64748b;

    font-size:
        0.9rem;

    line-height:
        1.55;
}


/* ============================================================
BUREAUX
============================================================ */

.modal-bureaux {
    display:
        flex;

    flex-direction:
        column;

    gap:
        0.75rem;
}

.modal-bureau {
    display:
        flex;

    gap:
        0.85rem;

    padding:
        0.9rem;

    border-radius:
        12px;

    background:
        #f8fafc;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.modal-bureau:hover {
    background:
        #f1f5f9;

    transform:
        translateX(4px);
}

.modal-bureau > span {
    flex-shrink:
        0;

    width:
        28px;

    height:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        8px;

    background:
        #ffffff;

    color:
        #2563eb;

    font-size:
        0.7rem;

    font-weight:
        800;
}

.modal-bureau strong {
    display:
        block;

    margin-bottom:
        0.25rem;

    font-size:
        0.88rem;
}

.modal-bureau p {
    margin:
        0;

    color:
        #64748b;

    font-size:
        0.8rem;

    line-height:
        1.5;
}


/* ============================================================
SECRÉTARIAT
============================================================ */

.modal-secretariat {
    display:
        flex;

    gap:
        1.3rem;

    margin-top:
        1.5rem;

    padding:
        1.5rem;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #ffffff
        );

    border:
        1px solid rgba(0, 0, 0, 0.07);

    animation:
        modalItemIn 0.6s 0.45s both;
}

.modal-secretariat-icon {
    flex-shrink:
        0;

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        15px;

    background:
        #0f172a;

    color:
        white;

    font-size:
        0.75rem;

    font-weight:
        800;
}

.modal-secretariat h3 {
    margin:
        0 0 0.5rem;
}

.modal-secretariat p {
    margin:
        0;

    color:
        #64748b;

    line-height:
        1.65;
}


/* ============================================================
FOOTER MODALE
============================================================ */

.organisation-modal-footer {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        1rem 2rem;

    border-top:
        1px solid rgba(0, 0, 0, 0.07);

    background:
        #fafafa;
}

.organisation-modal-footer span {
    color:
        #64748b;

    font-size:
        0.8rem;
}


/* ============================================================
ANIMATIONS
============================================================ */

@keyframes modalItemIn {
    from {
        opacity:
            0;

        transform:
            translateY(20px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}

@keyframes connectorGrow {
    from {
        height:
            0;

        opacity:
            0;
    }

    to {
        height:
            45px;

        opacity:
            1;
    }
}


/* ============================================================
NAVIGATION LATÉRALE DE LA PAGE
============================================================ */

.page-anchor-nav {
    position:
        fixed;

    left:
        15px;

    top:
        50%;

    transform:
        translateY(-50%);

    z-index:
        900;

    display:
        flex;

    flex-direction:
        column;

    gap:
        0.35rem;

    padding:
        0.7rem 0;
}


/* ============================================================
LIGNE VERTICALE
============================================================ */

.page-anchor-line {
    position:
        absolute;

    top:
        16px;

    bottom:
        16px;

    left:
        7.4px;

    width:
        1px;

    background:
        rgba(100, 116, 139, 0.35);

    z-index:
        -1;
}


/* ============================================================
ANCRE
============================================================ */

.page-anchor {
    position:
        relative;

    display:
        flex;

    align-items:
        center;

    min-height:
        32px;

    text-decoration:
        none;
}


/* ============================================================
POINT
============================================================ */

.page-anchor-dot {
    width:
        15px;

    height:
        15px;

    border-radius:
        50%;

    background:
        #ffffff;

    border:
        2px solid #94a3b8;

    transition:
        width 0.3s ease,
        height 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* ============================================================
TEXTE
============================================================ */

.page-anchor-label {
    position:
        absolute;

    left:
        28px;

    white-space:
        nowrap;

    padding:
        0.35rem 0.65rem;

    border-radius:
        6px;

    background:
        #0f172a;

    color:
        #ffffff;

    font-size:
        0.72rem;

    font-weight:
        600;

    opacity:
        0;

    visibility:
        hidden;

    transform:
        translateX(-6px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    pointer-events:
        none;
}


/* ============================================================
AFFICHER LE LABEL AU SURVOL
============================================================ */

.page-anchor:hover .page-anchor-label {
    opacity:
        1;

    visibility:
        visible;

    transform:
        translateX(0);
}


/* ============================================================
SECTION ACTIVE
============================================================ */

.page-anchor.active .page-anchor-dot {
    width:
        17px;

    height:
        17px;

    border-color:
        #2563eb;

    background:
        #2563eb;

    box-shadow:
        0 0 0 5px rgba(37, 99, 235, 0.12);
}


/* ============================================================
LABEL ACTIF
============================================================ */

.page-anchor.active .page-anchor-label {
    color:
        #ffffff;
}


/* ============================================================
EFFET AU SURVOL
============================================================ */

.page-anchor:hover .page-anchor-dot {
    border-color:
        #2563eb;

    transform:
        scale(1.15);
}


/* ============================================================
OFFSET DES SECTIONS
============================================================ */

section[id] {
    scroll-margin-top:
        100px;
}


/* ============================================================
MOBILE NAVIGATION LATÉRALE
============================================================ */

@media (max-width: 768px) {

    .page-anchor-nav {
        left:
            5px;

        top:
            56%;

        transform:
            translateY(-50%);

        gap:
            0.25rem;
    }

    .page-anchor-label {
        display:
            none;
    }

    .page-anchor-dot {
        width:
            9px;

        height:
            9px;

        border-width:
            1.5px;
    }

    .page-anchor.active .page-anchor-dot {
        width:
            12px;

        height:
            12px;
    }

    .page-anchor-line {
        left:
            4px;

        top:
            12px;

        bottom:
            12px;
    }
}


/* ============================================================
TEXTES LÉGAUX
============================================================ */

.legal-hero {
    position:
        relative;

    overflow:
        hidden;

    padding:
        90px 0 80px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,255,255,.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #082b68 0%,
            #0b3d91 55%,
            #1456b8 100%
        );

    color:
        #fff;
}

.legal-hero::after {
    content:
        "";

    position:
        absolute;

    width:
        420px;

    height:
        420px;

    right:
        -180px;

    bottom:
        -220px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius:
        50%;
}

.legal-hero-content {
    position:
        relative;

    z-index:
        1;

    max-width:
        1000px;
}

.legal-badge {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    padding:
        9px 15px;

    margin-bottom:
        22px;

    border:
        1px solid rgba(255,255,255,.2);

    border-radius:
        999px;

    background:
        rgba(255,255,255,.08);

    font-size:
        .85rem;

    font-weight:
        700;
}

.legal-badge-icon {
    font-size:
        1rem;
}

.legal-hero h1 {
    margin:
        0;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height:
        1.05;

    letter-spacing:
        -2px;
}

.legal-hero h1 span {
    opacity:
        .75;
}

.legal-hero p {
    max-width:
        760px;

    margin:
        28px 0 0;

    color:
        rgba(255,255,255,.82);

    font-size:
        1.08rem;

    line-height:
        1.8;
}

.legal-hero-stats {
    display:
        flex;

    gap:
        45px;

    margin-top:
        45px;
}

.legal-hero-stats div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;
}

.legal-hero-stats strong {
    font-size:
        1.7rem;
}

.legal-hero-stats span {
    color:
        rgba(255,255,255,.65);

    font-size:
        .82rem;
}


/* ============================================================
DOCUMENTS
============================================================ */

.legal-documents {
    padding:
        90px 0;
}

.legal-heading {
    max-width:
        850px;

    margin-bottom:
        45px;
}

.legal-toolbar {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        25px;

    padding:
        18px;

    border:
        1px solid rgba(0,0,0,.07);

    border-radius:
        18px;

    background:
        #fff;

    box-shadow:
        0 12px 40px rgba(0,0,0,.05);
}

.legal-search {
    position:
        relative;

    display:
        flex;

    align-items:
        center;

    flex:
        1;

    max-width:
        480px;
}

.legal-search > span {
    position:
        absolute;

    left:
        16px;

    font-size:
        1rem;

    pointer-events:
        none;
}

.legal-search input {
    width:
        100%;

    height:
        48px;

    padding:
        0 45px;

    border:
        1px solid #dce2ea;

    border-radius:
        12px;

    outline:
        none;

    font:
        inherit;

    background:
        #f8fafc;

    transition:
        .25s ease;
}

.legal-search input:focus {
    border-color:
        #0b3d91;

    background:
        #fff;

    box-shadow:
        0 0 0 4px rgba(11,61,145,.08);
}

.legal-search button {
    position:
        absolute;

    right:
        12px;

    width:
        28px;

    height:
        28px;

    border:
        0;

    border-radius:
        50%;

    background:
        transparent;

    cursor:
        pointer;

    font-size:
        1.2rem;

    opacity:
        .55;
}

.legal-search button:hover {
    opacity:
        1;
}

.legal-filters {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;
}

.legal-filter {
    padding:
        9px 14px;

    border:
        1px solid #dce2ea;

    border-radius:
        999px;

    background:
        #fff;

    cursor:
        pointer;

    font:
        inherit;

    font-size:
        .82rem;

    font-weight:
        600;

    transition:
        .25s ease;
}

.legal-filter:hover {
    border-color:
        #0b3d91;

    transform:
        translateY(-1px);
}

.legal-filter.active {
    color:
        #fff;

    border-color:
        #0b3d91;

    background:
        #0b3d91;
}


/* ============================================================
RESULT BAR
============================================================ */

.legal-results-bar {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    margin-bottom:
        35px;

    color:
        #6b7280;

    font-size:
        .85rem;
}

.legal-results-bar strong {
    color:
        #111827;
}

#legal-active-filter {
    font-weight:
        600;
}


/* ============================================================
CATÉGORIES
============================================================ */

.legal-category-section {
    margin-bottom:
        70px;
}

.legal-category-heading {
    display:
        flex;

    align-items:
        center;

    gap:
        16px;

    margin-bottom:
        25px;
}

.legal-category-icon {
    display:
        grid;

    place-items:
        center;

    width:
        48px;

    height:
        48px;

    border-radius:
        14px;

    background:
        #edf3ff;

    color:
        #0b3d91;

    font-size:
        1.3rem;
}

.legal-category-heading span {
    color:
        #0b3d91;

    font-size:
        .72rem;

    font-weight:
        800;

    letter-spacing:
        1px;

    text-transform:
        uppercase;
}

.legal-category-heading h2 {
    margin:
        3px 0 0;

    font-size:
        1.55rem;
}


/* ============================================================
GRID
============================================================ */

.legal-grid {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        24px;
}


/* ============================================================
CARTE
============================================================ */

.legal-card {
    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    min-height:
        430px;

    padding:
        30px;

    overflow:
        hidden;

    border:
        1px solid #e5eaf0;

    border-radius:
        22px;

    background:
        #fff;

    box-shadow:
        0 12px 35px rgba(0,0,0,.045);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    animation:
        legalCardIn .55s ease both;
}

.legal-card:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(11,61,145,.2);

    box-shadow:
        0 22px 50px rgba(0,0,0,.09);
}

.legal-card-featured {
    border-color:
        rgba(11,61,145,.2);
}

.legal-card-top {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        15px;

    margin-bottom:
        25px;
}

.legal-type {
    padding:
        7px 11px;

    border-radius:
        8px;

    background:
        #eef4ff;

    color:
        #0b3d91;

    font-size:
        .72rem;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .4px;
}

.legal-reference {
    color:
        #7b8492;

    font-size:
        .78rem;

    font-weight:
        700;
}

.legal-card-icon {
    display:
        grid;

    place-items:
        center;

    width:
        58px;

    height:
        58px;

    margin-bottom:
        18px;

    border-radius:
        16px;

    background:
        linear-gradient(
            135deg,
            #edf3ff,
            #f7faff
        );

    font-size:
        1.5rem;
}

.legal-featured-label {
    display:
        inline-block;

    width:
        fit-content;

    margin-bottom:
        9px;

    color:
        #0b3d91;

    font-size:
        .7rem;

    font-weight:
        800;

    letter-spacing:
        .8px;

    text-transform:
        uppercase;
}

.legal-card h3 {
    margin:
        0 0 14px;

    font-size:
        1.25rem;

    line-height:
        1.4;

    color:
        #162033;
}

.legal-card > p {
    margin:
        0;

    color:
        #667085;

    line-height:
        1.7;

    font-size:
        .92rem;
}

.legal-card-meta {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        22px;

    color:
        #7a8493;

    font-size:
        .76rem;
}

.legal-reference-box {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    margin-top:
        20px;

    padding:
        13px 15px;

    border-left:
        3px solid #0b3d91;

    border-radius:
        0 10px 10px 0;

    background:
        #f7f9fc;
}

.legal-reference-box strong {
    color:
        #162033;

    font-size:
        .8rem;
}

.legal-reference-box span {
    color:
        #7a8493;

    font-size:
        .75rem;
}

.legal-card-actions {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        18px;

    margin-top:
        auto;

    padding-top:
        25px;
}

.legal-source-link {
    color:
        #0b3d91;

    font-size:
        .8rem;

    font-weight:
        700;

    text-decoration:
        none;
}

.legal-source-link:hover {
    text-decoration:
        underline;
}


/* ============================================================
NOTE
============================================================ */

.legal-note-section {
    padding:
        0 0 90px;
}

.legal-note {
    display:
        flex;

    gap:
        20px;

    padding:
        28px;

    border:
        1px solid #dbe5f4;

    border-radius:
        20px;

    background:
        #f5f8fd;
}

.legal-note-icon {
    flex:
        0 0 auto;

    display:
        grid;

    place-items:
        center;

    width:
        45px;

    height:
        45px;

    border-radius:
        50%;

    background:
        #0b3d91;

    color:
        #fff;

    font-weight:
        800;
}

.legal-note h3 {
    margin:
        0 0 8px;
}

.legal-note p {
    margin:
        0 0 10px;

    color:
        #667085;

    line-height:
        1.7;
}

.legal-note a {
    color:
        #0b3d91;

    font-weight:
        700;

    text-decoration:
        none;
}

.legal-note a:hover {
    text-decoration:
        underline;
}


/* ============================================================
AUCUN RÉSULTAT
============================================================ */

.legal-empty {
    padding:
        70px 20px;

    text-align:
        center;
}

.legal-empty-icon {
    margin-bottom:
        15px;

    font-size:
        2.5rem;
}

.legal-empty h3 {
    margin-bottom:
        8px;
}

.legal-empty p {
    margin-bottom:
        25px;

    color:
        #667085;
}


/* ============================================================
ANIMATION
============================================================ */

@keyframes legalCardIn {
    from {
        opacity:
            0;

        transform:
            translateY(18px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}


/* ============================================================
RESPONSIVE TEXTES LÉGAUX
============================================================ */

@media (max-width: 900px) {

    .legal-toolbar {
        align-items:
            stretch;

        flex-direction:
            column;
    }

    .legal-search {
        max-width:
            none;
    }

    .legal-grid {
        grid-template-columns:
            1fr;
    }
}

/* ============================================================
   MODERNISATION — HERO
============================================================ */

.modernisation-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 0 85px;

    color: #fff;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(0, 127, 255, 0.20),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 15%,
            rgba(200, 169, 91, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #081f46,
            var(--blue) 50%,
            var(--blue-2)
        );
}


.modernisation-hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -220px;
    bottom: -270px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    box-shadow:
        0 0 0 60px
            rgba(255, 255, 255, 0.02),

        0 0 0 120px
            rgba(255, 255, 255, 0.015);
}


.modernisation-hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}


.modernisation-hero .section-kicker {
    color: var(--gold-light);
}


.modernisation-hero .section-title {
    color: #fff;

    max-width: 850px;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.05;
}


.modernisation-hero .section-title span {
    display: block;

    color: var(--gold-light);
}


.modernisation-hero .modernisation-lead {
    max-width: 800px;

    margin-top: 25px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 1rem;

    line-height: 1.8;
}


.modernisation-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* ============================================================
   INTRODUCTION
============================================================ */

.modernisation-intro-card {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-top: 30px;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7faff
        );

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.modernisation-intro-icon {
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );

    font-size: 0.75rem;

    font-weight: 800;
}


.modernisation-intro-card h3 {
    margin:
        0 0 8px;

    color:
        var(--blue);
}


.modernisation-intro-card p {
    margin:
        0;

    color:
        var(--muted);
}


/* ============================================================
   SECTION
============================================================ */

.modernisation-section {
    background:
        linear-gradient(
            180deg,
            #f7f9fd,
            #ffffff
        );
}


.modernisation-feature {
    height: 100%;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.modernisation-feature:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-lg);
}


.modernisation-feature h3 {
    margin:
        0 0 9px;

    color:
        var(--blue);
}


.modernisation-feature p {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        0.80rem;
}


/* ============================================================
   POINTS D'ACCESSIBILITÉ
============================================================ */

.modernisation-points {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 30px;
}


.modernisation-point {
    padding: 20px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        14px;

    box-shadow:
        0 6px 20px
        rgba(11, 44, 95, 0.05);

    transition:
        transform 0.20s ease,
        box-shadow 0.20s ease;
}


.modernisation-point:hover {
    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow);
}


.modernisation-point strong {
    display: block;

    margin-bottom: 6px;

    color:
        var(--blue);

    font-size:
        0.88rem;
}


.modernisation-point span {
    color:
        var(--muted);

    font-size:
        0.76rem;

    line-height:
        1.65;
}


/* ============================================================
   QUALITÉ
============================================================ */

.modernisation-quality {
    position: relative;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );
}


.modernisation-quality .section-title {
    color: #fff;
}


.modernisation-quality .section-kicker {
    color:
        var(--gold-light);
}


.modernisation-quality .modernisation-lead {
    max-width: 850px;

    color:
        rgba(255, 255, 255, 0.80);
}


.modernisation-quality-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 30px;
}


.modernisation-quality-card {
    padding: 22px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        15px;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


.modernisation-quality-card strong {
    display: block;

    margin-bottom: 7px;

    color:
        var(--gold-light);

    font-size:
        0.88rem;
}


.modernisation-quality-card span {
    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        0.76rem;

    line-height:
        1.65;
}


.modernisation-quality .modernisation-highlight {
    margin-top: 25px;

    padding: 20px;

    color:
        rgba(255, 255, 255, 0.88);

    background:
        rgba(255, 255, 255, 0.07);

    border-left:
        4px solid
        var(--gold);

    border-radius:
        0 12px 12px 0;

    font-size:
        0.85rem;

    line-height:
        1.7;
}


.modernisation-quality .modernisation-highlight strong {
    color:
        var(--gold-light);
}


/* ============================================================
   DERNIÈRE CARTE
============================================================ */

.modernisation-final {
    max-width:
        950px;

    margin:
        0 auto;
}


.modernisation-final p {
    color:
        var(--muted);
}


.modernisation-final .highlight {
    margin-top:
        22px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 760px) {

    .modernisation-hero {
        padding:
            65px 0 60px;
    }


    .modernisation-hero .section-title {
        font-size:
            2.35rem;
    }


    .modernisation-hero .modernisation-lead {
        font-size:
            0.90rem;
    }


    .modernisation-hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }


    .modernisation-hero-actions .btn {
        width:
            100%;
    }


    .modernisation-intro-card {
        flex-direction:
            column;
    }


    .modernisation-points {
        grid-template-columns:
            1fr;
    }


    .modernisation-quality-grid {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .modernisation-hero {
        padding:
            55px 0 50px;
    }


    .modernisation-hero .section-title {
        font-size:
            2rem;
    }


    .modernisation-intro-card {
        padding:
            20px;
    }


    .modernisation-quality-card {
        padding:
            18px;
    }

}