/* Chargement des partials : 01-variables (:root + fontes), 02-brvm-ticker (BRVM + breaking-news). !important restants surtout dans 02 (plugins) et main (Bootstrap/slick). */
@import url('partials/01-variables.css');
@import url('partials/02-brvm-ticker.css');


/* 1) Empêche padding/border de gonfler les largeurs */
*,
*::before,
*::after {
    box-sizing: border-box;
}



/* Exceptions : éléments avec coins arrondis (compteur vues, boutons nav, boutons) */
.visits-counter,
.visits-btn .visits-counter {
    border-radius: 50% !important;
}

#slider-donnees .slick-prev,
#slider-donnees .slick-next,
.data-strip .slick-prev,
.data-strip .slick-next {
    border-radius: 50% !important;
}

.data-divise {
    width: 70%;
    height: 1px;
    background: #e5e7eb;
    margin: 0 auto;
    position: relative;
}

.data-divise::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-toggle {
    border-radius: 6px !important;
}

.btn,
.site-search {
    border-radius: 8px !important;
}

#site-search-haut {
    right: 7px;
}

.hrhead {
    margin: 5px !important;
    border: none;
    height: 4px;
    background: linear-gradient(to right, #d97706 33%, white 33%, white 66%, #065f46 66%);
    opacity: 1.25 !important;
}

/* 2) Évite les débordements horizontaux */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}


body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
}


a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* ============================================
   3. LAYOUT & CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
}



h1 {
    font-size: var(--heading-1);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text);
    margin-top: 0;
    margin-bottom: 0.75em;
}



.two-col {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 1.25rem;
}

/* ============================================
   CONTENUS DE PAGES – typographie homogène
   ============================================ */
.site-main {
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: var(--text);
    background-color: #fff;
}

.page-content {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: var(--text);
}

.site-main h1,
.page-content h1,
.page-card h1 {
    font-size: var(--heading-1);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text);
    margin-top: 0;
    margin-bottom: 0.75em;
}

.site-main h2,
.page-content h2,
.page-card h2 {
    font-size: var(--heading-2);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text);

    margin-bottom: 0.5em;
}

.site-main h3,
.page-content h3,
.page-card h3 {
    font-size: var(--heading-3);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-heading);
    color: var(--text);
    margin-top: 1.35em;
    margin-bottom: 0.45em;
}

.site-main h4,
.page-content h4,
.page-card h4 {
    font-size: var(--heading-4);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-heading);
    color: var(--text);
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

.site-main h5,
.page-content h5,
.page-card h5 {
    font-size: var(--heading-5);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-heading);
    color: var(--primary);

    margin-bottom: 0.35em;
}

.site-main h6,
.page-content h6,
.page-card h6 {
    font-size: var(--heading-6);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-heading);
    color: var(--muted);
    margin-top: 1em;
    margin-bottom: 0.3em;
}

.site-main p,
.page-content p,
.page-card p {
    font-size: var(--text-base);
 
}

.site-main p strong,
.page-content p strong,
.page-content li strong,
.page-card > p strong {
    color: var(--primary-strong);
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
}

.site-main ul,
.page-content ul,
.page-card ul {
    margin: 1em 0 1.25em 0;
    padding-left: 1.5em;
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}

.site-main ul li,
.page-content ul li,
.page-card ul li {
    margin-bottom: 0.5em;
}

.site-main ul li::marker,
.page-content ul li::marker,
.page-card ul li::marker {
    color: var(--primary);
}

.site-main ol,
.page-content ol,
.page-card ol {
    margin: 1em 0 1.25em 0;
    padding-left: 1.5em;
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}

.site-main ol li,
.page-content ol li,
.page-card ol li {
    margin-bottom: 0.5em;
}

.site-main a:not(.btn):not(.nav-link),
.page-content a:not(.btn),
.page-card a:not(.btn) {
    text-decoration: none;
}

.site-main a:not(.btn):not(.nav-link):hover,
.page-content a:not(.btn):hover,
.page-card a:not(.btn):hover {
    text-decoration: underline;
}

.page-content p,
.page-content li,
.page-content blockquote,
.page-content em,
.page-content strong {
    font-family: inherit;
}

.page-content p,
.page-content li,
.page-content blockquote,
.page-content .lead {
    text-align: justify;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    text-align: left;
}

.page-content .lead {
    font-size: var(--text-lg);
    color: var(--muted, #596272);
    line-height: var(--line-height-body, 1.65);
    margin-top: 0;
    margin-bottom: 1.5em;
    max-width: 820px;
}

.page-content small {
    font-size: var(--text-sm);
}

.page-content mark {
    background-color: #fef3c7;
    color: inherit;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25em 0;
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}

.page-content th,
.page-content td {
    border: 1px solid var(--border, #d1d5db);
    padding: 0.6em 0.85em;
    text-align: left;
    vertical-align: top;
}

.page-content th {
    background-color: var(--surface-muted, #f3f4f6);
    font-weight: 600;
}

.page-content blockquote {
    margin: 1.25em 0;
    padding: 0.75em 1.25em;
    border-left: 4px solid var(--primary, #037B3D);
    color: var(--muted, #596272);
    background-color: var(--surface-muted, #f9fafb);
}

.page-content pre {
    margin: 1.25em 0;
    padding: 1em 1.25em;
    overflow-x: auto;
    background-color: var(--surface-muted, #f3f4f6);
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.page-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.9em;
    background-color: var(--surface-muted, #f3f4f6);
    padding: 0.15em 0.35em;
    border-radius: 3px;
}

.page-content pre code {
    background: none;
    padding: 0;
    font-size: inherit;
}

.publication-detail__title {
    font-size: var(--heading-1);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text);
}

.publication-detail__description,
.publication-detail__content {
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}

.publication-detail__content h2,
.publication-detail__content h3 {
    font-size: var(--heading-2);
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.publication-detail__content h3 {
    font-size: var(--heading-3);
}

.publication-detail__content p {
    margin-bottom: 1em;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: var(--primary);
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 0;
    z-index: 1000;
}

.skip-link:focus-visible {
    left: 1rem;
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: #fff;
    /* border-bottom: 10px solid #EC8D08; */
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

/* Header institutionnel */
.site-header--institutional {
    border-radius: 0;
    overflow: hidden;
}

/* (Top bar supprimée) */

.site-header__top-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header__top-search-trigger:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.site-header__top-search-form-wrap {
    width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    margin-left: 0;
    transition: width 0.25s ease, opacity 0.2s ease, margin-left 0.2s ease, visibility 0.2s ease;
}

.language-switcher.is-open .site-header__top-search-form-wrap {
    width: 280px;
    opacity: 1;
    visibility: visible;
    margin-left: 0.45rem;
}

.site-header__main {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.site-header__main-inner {
    max-width: var(--max-width);
    /* Garde ta largeur max */
    margin: 0 auto;
    /* Centre horizontalement */
    padding: 1rem 1.5rem;
    /* Garde le padding que tu veux */

    display: grid;
    /* Pour aligner le contenu en ligne */
    /*grid-template-columns: auto 1fr auto;*/
    align-items: center;
    /*gap: 1.25rem;*/


    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
}

.site-header__brand {
    justify-self: start;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-header__brand:hover {
    text-decoration: none;
}

.site-header__logo {
    height: 84px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-header__titles {
    justify-self: center;
    min-width: 0;
    text-align: center;
    padding: 0 0.75rem;
    max-width: 760px;
    width: 100%;
}

.site-header__title {
    margin: 0;
    /* font-size: var(--heading-1);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
    line-height: 1.25; */
    font-size: var(--text-header-title);
    line-height: 1.2;
    font-weight: 700;
}

.site-header__subtitle {
    margin: 0;
    font-size: var(--text-header-subtitle);
    letter-spacing: 0.03em;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
}

.site-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Recherche header : bouton loupe + champ qui apparaît au clic */
.site-header__search-widget {
    position: relative;
    display: flex;
    align-items: center;
}

.site-header__search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    color: var(--muted);
    font-size: var(--text-base);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header__search-trigger:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

.site-header__search-form-wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: width 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.site-header__search-widget.is-open .site-header__search-form-wrap {
    width: 320px;
    max-width: calc(100vw - 2rem);
    opacity: 1;
    visibility: visible;
}

.site-header__search-form {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--primary);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(3, 123, 61, 0.15);
    overflow: hidden;
}

.site-header__search-form--top {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    border-radius: 999px;
}

.site-header__search-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: none;
    font-size: var(--text-sm);
    color: var(--text);
    background: #fff;
}

.site-header__search-form--top .site-header__search-input {
    min-width: 0;
    width: 100%;
    padding: 0.35rem 0.8rem;
    font-size: var(--text-sm);
    color: #ffffff;
    background: transparent;
}

.site-header__search-form--top .site-header__search-input::placeholder {
    color: rgba(255, 255, 255, 0.86);
}

.site-header__search-input::placeholder {
    color: var(--muted);
}

.site-header__search-input:focus {
    outline: none;
}

.site-header__search-submit {
    padding: 0 0.75rem;
    border: none;
    border-left: 1px solid var(--border);
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.site-header__search-form--top .site-header__search-submit {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 0 0.7rem;
}

.site-header__search-form--top .site-header__search-submit:hover {
    background: rgba(255, 255, 255, 0.26);
}

.site-header__search-submit:hover {
    background: var(--primary-strong);
}

.site-header__search-close {
    padding: 0 0.6rem;
    border: none;
    border-left: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-header__search-close:hover {
    color: var(--text);
    background: var(--primary-light);
}

.site-header__crest {
    display: flex;
    align-items: center;
}

.site-header__crest-img {
    height: 84px;
    width: auto;
    object-fit: contain;
}

.site-header__nav-wrapper {
    background: var(--primary);
}

.primary-nav--institutional {
    background: var(--primary);
    border-radius: 0;
}

.site-header--institutional .language-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-header--institutional .language-switcher__current,
.site-header--institutional .language-switcher__link {
    padding: 0.35rem;
}

.site-header--institutional .language-switcher__sep {
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .site-header__main-inner {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: unset;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .site-header__brand {
        order: 1;
        justify-self: unset;
    }

    .site-header__logo {
        height: 72px;
    }

    .site-header__titles {
        order: 3;
        width: 100%;
        text-align: left;
        padding: 0;
        border-top: 1px solid var(--border);
        padding-top: 0.5rem;
        margin-top: 0.25rem;
        justify-self: unset;
    }

    .site-header__title {
        font-size: var(--text-header-title);
    }

    .site-header__subtitle {
        font-size: var(--text-header-subtitle);
    }

    .site-header__actions {
        order: 2;
        margin-left: auto;
        justify-self: unset;
    }

    .site-header__crest-img {
        height: 72px;
    }

    .site-header__top-bar {
        font-size: var(--text-sm);
        padding: 0.4rem 0.5rem;
    }

    .language-switcher.is-open .site-header__top-search-form-wrap {
        width: 190px;
    }
}

/* Top Infos (legacy, conservé pour compatibilité) */
.top-infos {
    border-bottom: 1px solid var(--border);
    background: #fff;

}

.top-infos__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    /* border: 3px solid yellow; */
}

.top-infos__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;

}

.top-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.top-infos__titles {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #6f7785;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.overline::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 0;
    opacity: 0.9;
}

.top-infos__titles strong {
    font-size: var(--text-lg);
    letter-spacing: 0.01em;
}

.tagline {
    color: var(--muted);
    font-size: var(--text-sm);
}

.muted {
    color: black;
    font-weight: bolder;
}

.top-infos__actions {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-items {
    display: flex;
    gap: 0.85rem;
    color: var(--muted);
    font-weight: 600;
    align-items: center;
    min-width: 0;
}



.contact-items span:first-child {
    font-weight: 800;
    color: var(--primary-strong);

}

.contact-items span+span {
    border-left: 1px solid #d7dde7;
    padding-left: 0.75rem;
}

/* Search trigger (icône loupe uniquement) */
.search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--muted);
    font-size: var(--text-base);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-trigger:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
    text-decoration: none;
}

/* Search (formulaire complet, conservé pour la page recherche) */
.site-search {
    display: flex;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: 0 10px 10px 0;
}

.site-search input {
    border: none;
    padding: 0.5rem 0.75rem;
    min-width: 230px;
    font-size: var(--text-base);

}

.site-search input:focus {
    outline: none;
}

.site-search .button {
    border: none;
    padding: 0.5rem 0.95rem;
    background: var(--accent);
    color: #fff;
    font-size: var(--text-sm);
    cursor: pointer;
    font-weight: 600;
}

/* Navigation principale*/
.primary-nav {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(3, 123, 61, 0.95);
}

.nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
}


.primary-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: -5px;
    padding: 0;
    width: 100%;

}

.primary-nav__list li {
    position: relative;
    font-size: var(--text-nav);
}



.primary-nav__list a,
.nav-link {
    color: #fff;
    font-weight: 700;

    padding: 0.6rem 0.9rem;
    border-radius: 0;
    white-space: nowrap;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav__list a::after,
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.primary-nav__list a:hover,
.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.primary-nav__list a:hover::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.primary-nav__list .is-open>a,
.primary-nav__list .is-open>.nav-link,
.primary-nav__list .is-open>a:hover,
.primary-nav__list .is-open>.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.primary-nav__list .is-open>a::after,
.primary-nav__list .is-open>.nav-link::after {
    transform: scaleX(1);
    background: #fff;
}

/* Dropdown Navigation */
.has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    min-width: 260px;
    background: #fff;
    color: var(--text);
    padding: 0.65rem 0;
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.has-dropdown .nav-dropdown a {
    display: block;
    color: var(--text);
    padding: 0.55rem 1rem 0.55rem 0.9rem;
    border-radius: 0;
    border-left: 3px solid transparent;
    margin-left: 0;
    font-weight: 600;
    font-size: var(--text-nav-sub);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.has-dropdown .nav-dropdown a:hover {
    background: var(--primary-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown--split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0.85rem;
    min-width: 740px;
}

.nav-dropdown--stack {
    display: grid;
    gap: 0.15rem;
    min-width: 320px;
}

/* =========================
   Données clés – slider
   ========================= */

.slider-donnees {
    max-width: 1200px;
    margin: 0 auto;
}

.donnees-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    justify-items: stretch;
}

.data-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    padding: 20px;
    
    height: 125px;

    padding: 0.2rem 0.5rem;
}

.data-card__value {
    font-size: var(--heading-2);
    font-weight: 700;
}

.data-card__description {
    display: block;
    font-weight: 500;
}



.data-card__periode {
    display: block;
    margin-top: -20px;
    /* margin-top: 0.25rem; */
    font-size: var(--text-sm);
    opacity: 0.8;
}


.has-dropdown:hover .nav-dropdown--stack,
.has-dropdown:focus-within .nav-dropdown--stack,
.has-dropdown.is-open .nav-dropdown--stack {
    display: grid;
}

.has-dropdown:hover .nav-dropdown--split,
.has-dropdown:focus-within .nav-dropdown--split,
.has-dropdown.is-open .nav-dropdown--split {
    display: grid;
}

.nav-split__left,
.nav-split__right {
    display: grid;
    gap: 0.35rem;
}

.nav-split__title {
    font-weight: 700;
    color: var(--text);
    background: #f8fafc;
    padding: 0.55rem 0.75rem;
    border-radius: 0;
    border-left: 3px solid var(--primary);
    transition: background 0.2s ease;
}

.nav-group {
    display: grid;
    gap: 0.25rem;
    padding-top: 0.25rem;
}

.nav-group__title {
    font-weight: 800;
    font-size: var(--text-nav-sub);
    color: var(--primary-strong);
    padding: 0.15rem 0.2rem 0.15rem 0;
}

.primary-nav__list li.has-dropdown {
    position: relative;
}



/* Submenu (niveau 2 dans le dropdown) */
.nav-submenu {
    display: grid;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.nav-submenu__toggle {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    color: var(--text);
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    padding: 0.55rem 1rem 0.55rem 0.9rem;
    font-weight: 600;
    font-size: var(--text-nav-sub);
    cursor: pointer;
    gap: 0.35rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-submenu__toggle:hover {
    background: var(--primary-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

/* Même effet (bouton actif + flèche) au survol du sous-menu qu'au clic */
.nav-submenu:hover > .nav-submenu__toggle,
.nav-submenu:focus-within > .nav-submenu__toggle {
    background: var(--primary-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.nav-submenu:hover > .nav-submenu__toggle::after,
.nav-submenu:focus-within > .nav-submenu__toggle::after {
    transform: rotate(-90deg);
}

.nav-submenu--accent .nav-submenu__toggle {
    color: var(--text);
    font-weight: 600;
}

.nav-submenu__toggle::after {
    content: "▾";
    font-size: 0.85em;
    line-height: 1;
    transition: transform 0.25s ease;
    color: inherit;
    flex-shrink: 0;
}

.nav-submenu__toggle[aria-expanded="true"]::after {
    transform: rotate(-90deg);
}

.nav-submenu__panel {
    display: grid;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 2px;
    min-width: 240px;
    background: #fff;
    color: var(--text);
    padding: 0.5rem 0;
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    gap: 0.15rem;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.nav-submenu.is-open > .nav-submenu__panel,
.nav-submenu:hover > .nav-submenu__panel,
.nav-submenu:focus-within > .nav-submenu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-submenu__panel a {
    display: block;
    padding: 0.55rem 1rem 0.55rem 0.9rem;
    border-left: 3px solid transparent;
    font-weight: 600;
    font-size: var(--text-nav-sub);
    color: var(--text);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-submenu__panel a:hover {
    background: var(--primary-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.nav-submenu__parent {
    font-weight: 700;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand__crest {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-brand--mobile {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 10px 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-toggle__bar {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 0;
}

.nav-toggle__label {
    font-size: 0;
}


/* ============================================
   5. FOOTER
   ============================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 0;
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4,
.footer-col__title {
    font-weight: 700;
    color: var(--accent);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.75rem 0;
    text-align: left;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding: 2rem 1.5rem;
    justify-items: start;
    text-align: left;
}

.footer-col {
    width: 100%;
    justify-self: start;
}

.footer-col--about {
    min-width: 0;
}

h2 {
    text-decoration: underline;
    margin-top: 2px;
}

.footer-logo img {
    height: 72px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-about__text,
.footer-col .p1 {
    font-size: var(--text-sm);
    line-height: var(--line-height-body);
    color: var(--text);
    margin: 0;
    text-align: justify;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;

}

.footer-links a {
    color: var(--text);
    line-height: 1.6;
    font-size: var(--text-footer-link);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Liens utiles (gérés Filament) – style institutionnel */
.footer-col--useful-links {
    min-width: 0;
}

/* Bloc Liens utiles – aligné comme les autres colonnes du footer */
.footer-useful-links-block {
    padding: 0;
    position: relative;
}

.footer-useful-links-block__title {
    margin: 0 0 0.75rem 0;
    text-align: left;
    padding-bottom: 0;
}

.footer-useful-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Carousel Liens utiles : JS pur, une slide visible, boucle */
.footer-useful-links-carousel {
    display: flex;
    align-items: stretch;
    gap: 0.6rem;
    position: relative;
    height: 160px;
    min-height: 160px;
}

.footer-col--useful-links .footer-useful-links-carousel__prev {
    display: none;
}

.footer-col--useful-links .footer-useful-links-carousel {
    gap: 0;
    justify-content: flex-start;
}

.footer-col--useful-links .footer-useful-links-carousel__viewport {
    flex: 0 0 175px;
    max-width: 175px;
}

.footer-useful-links-carousel__viewport {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.footer-useful-links-carousel__slide {
    position: static;
    width: 100%;
    height: 100%;
    padding: 0 0.125rem;
    display: none;
}

.footer-useful-links-carousel__slide.is-active {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.footer-col--useful-links .footer-useful-links-carousel__slide.is-active {
    justify-content: flex-start;
}

/* Flèches du carousel : style outline, cohérent avec la charte */
.footer-useful-links-carousel__prev,
.footer-useful-links-carousel__next {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    align-self: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-useful-links-carousel__prev:hover,
.footer-useful-links-carousel__next:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.footer-useful-links-carousel__prev:active,
.footer-useful-links-carousel__next:active {
    transform: scale(0.96);
}

.footer-useful-links-carousel__prev i,
.footer-useful-links-carousel__next i {
    font-size: var(--text-sm);
    font-weight: 600;
}

/* Carte (lien) pour chaque slide */
.footer-useful-link {
    display: flex;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 175px;
    min-height: 155px;
    padding: 1rem 0.95rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.footer-useful-link:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(3, 123, 61, 0.14);
    color: var(--primary);
}

.footer-useful-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-useful-link__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 74px;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-useful-link__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Variante logo-only : le logo occupe visuellement la carte */
.footer-useful-link--logo-only {
    min-height: 100%;
    padding: 0.6rem;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.footer-useful-link--logo-only .footer-useful-link__img-wrap {
    width: 100%;
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.footer-useful-link--logo-only .footer-useful-link__img {
    width: 100%;
    height: 100%;
}

.footer-useful-link__title {
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-useful-link__title::after {
    content: "›";
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.footer-useful-link:hover .footer-useful-link__title::after {
    transform: translateX(2px);
}

/* Le texte est conservé pour l'accessibilité, masqué visuellement en mode logo-only */
.footer-useful-link--logo-only .footer-useful-link__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-contacts__text {

    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.footer-col--contacts,
.footer-col--menu {
    text-align: left;
}

.footer-contacts__text a {
    color: var(--primary);
}

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 0.9rem 1.5rem;
    text-align: center;
    background: #fafbfc;
}

.site-footer__bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer__copyright {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--muted);
}



/* ============================================
   6. COMPONENTS
   ============================================ */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 0;
    padding: -0.55rem 1.15rem;
    font-weight: 700;
    font-size: var(--text-btn);
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
    border: 1px solid transparent;
    width: auto;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(229, 134, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #c87000;
    text-decoration: none;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.btn-link {
    font-weight: 700;
    color: var(--primary);
}

/* Cards – base réutilisable et variante highlight */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    padding: 1.35rem 1.4rem;
    height: auto;
}

.card--highlight {
    border-left: 4px solid var(--primary);
}

.card--highlight-accent {
    border-left: 4px solid var(--accent);
}

.card__title {
    font-size: var(--heading-3);
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
}

.page-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    /* box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08); */
    padding: 1.35rem 1.4rem;
    height: auto;

}

.page-card.page-card--team {
    padding: 2.25rem 2rem 2.5rem;
}

.team-header {
    margin-bottom: 1.75rem;
}

.team-header h2 {
    font-size: var(--heading-3);
    font-weight: 700;
    color: #037B3D;
    margin: 0 0 0.5rem 0;
}

.team-header p {
    margin: 0;
    color: #6b7280;
    font-size: var(--text-base);
}


.page-card h2 {
    margin-top: 12px;
    margin-bottom: 0.5em;
}

.page-card > p {
    font-size: var(--text-base);
}

.page-card > p strong {
    color: var(--primary-strong);
}

.page-card ul {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.2rem;
}

.page-card ul li {
    margin-bottom: 0.5em;
    padding-left: 0.35rem;
    position: relative;
}

.page-card ul li::marker {
    color: var(--primary);
}

/* Style ri.html : titres de section, séparateur, stat-box, tableaux */
.page-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.35em;
}

/* Séparateur de section (aligné ri.html, après hero ou dans contenu) */
.section-divider {
    height: 4px;
    width: 70px;
    background: var(--orange, #EC8D08);
    margin-bottom: 1.5rem;
    border-radius: 0;
}



.page-card .section-divider {
    margin-bottom: 1.5rem;
}

.page-card .stat-box {
    background: #fff;
    border-radius: 0;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: none;
}

.page-card .stat-box i {
    font-size: var(--heading-2);
    color: #EC8D08;
}

.page-card .stat-box h4 {
    font-weight: 700;
    margin-top: 15px;
}

.page-card .table.table-bordered {
    border-radius: 0;
}

.page-card .table thead.table-light th {
    border-radius: 0;

    font-weight: 600;
}

/* Images 222×222 dans les listes de publications */
.publication-table-img {
    width: 222px;
    height: 140px;
    object-fit: cover;
    display: block;
}

.publication-table-img-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 222px;
    height: 140px;
    background: var(--border, #e1e6ef);
    color: var(--muted, #596272);
    font-size: var(--text-base);
}

.side-card+.side-card {
    margin-top: 1rem;
}

/* Badge */
.badge {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: #fff;
    padding: .4rem .9rem;
    border-radius: 0;
    font-size: .75rem;
    font-weight: 700;
}

/* Eyebrow */
.eyebrow {
    letter-spacing: 0.06em;
    color: #EC8D08;
    font-weight: bolder;
    font-size: var(--heading-2) !important;
    margin: 0 0 0.35rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: var(--text-sm);
    margin: 1.5rem 0 2rem;
    color: var(--muted);
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--primary-strong);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs span {
    margin: 0 0.4rem;
}

.breadcrumbs strong {
    color: var(--text);
    font-size:20px !important;
}

/* Page Hero */


.page-hero h1 {
    font-size: var(--heading-1);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
}

.page-hero p {
    margin: 0.35em 0 0;
    max-width: 800px;
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}




/* News Cards */
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.news-card--detailed {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    margin-bottom: 1rem;
}

.news-card__image {
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.news-card__body {
    padding: 1.2rem 1.25rem;
    display: grid;
    gap: 0.35rem;

}

.news-card__category {
    color: #EC8D08;
    font-weight: bolder;
    font-size: var(--text-lg);

}

.news-card__title {
    margin: 0;
    font-size: var(--text-card-title);
}

.news-card__excerpt {
    margin: 0;

}

.news-card__link {
    font-weight: 700;
    color: var(--primary);
}

/* Sidebar */
.sidebar {
    display: grid;
    gap: 1rem;
}

/* Deux colonnes distinctes + hauteurs synchronisées (subgrid) */
.news-and-aside .news-aside-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(var(--news-aside-rows, 1), minmax(210px, auto));
    column-gap: 1.5rem;
    align-items: stretch;
}

.news-and-aside .news-aside-columns .news-column,
.news-and-aside .news-aside-columns .sidebar {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
    gap: 1rem;
    min-width: 0;
}

.news-and-aside .news-aside-columns .news-card--detailed,
.news-and-aside .news-aside-columns .sidebar-card.promo-card {
    margin-bottom: 0;
    min-height: 210px;
    height: 100%;
}

.news-and-aside .news-aside-columns .news-card__image {
    min-height: 100%;
    height: 100%;
}

.news-and-aside .news-aside-columns .sidebar-card.promo-card {
    display: flex;
    flex-direction: column;
}

.news-and-aside .news-aside-columns .promo-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .news-and-aside .news-aside-columns {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 1rem;
    }

    .news-and-aside .news-aside-columns .news-column,
    .news-and-aside .news-aside-columns .sidebar {
        grid-template-rows: none;
        grid-row: auto;
        display: grid;
        gap: 1rem;
    }

    .news-and-aside .news-aside-columns .news-card--detailed,
    .news-and-aside .news-aside-columns .sidebar-card.promo-card {
        height: auto;
    }

    .news-and-aside .news-aside-columns .news-card__image {
        min-height: 220px;
        height: auto;
    }
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.sidebar-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem 0.25rem;
}

.sidebar-card--table {
    padding: 0 1.15rem 1rem;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

.rates-table th,
.rates-table td {
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.promo-card {
    min-height: 180px;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.promo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.promo-card__content {
    position: relative;
    padding: 1.2rem 1.3rem;
    display: grid;
    gap: 0.25rem;
}

.promo-card__content h3 {
    color: white !important;
}

/* Section Heading */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.section-link {
    font-weight: 700;
}

/* ============================================
   SECTIONS – variantes de fond et espacements
   ============================================ */
.section--default {
    background: #fff;
}

.section--muted {
    background: #f7f7f9;
}

.section--brand-soft {
    background: linear-gradient(180deg, rgba(3, 123, 61, 0.04) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.section--dark {
    background: linear-gradient(110deg, #025c2f 0%, #037b3d 50%, #025c2f 100%);
    color: #fff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.section--dark .section-link,
.section--dark a:not(.btn) {
    color: rgba(255, 255, 255, 0.95);
}

.section-pad-lg {
    padding-block: 3rem 3.5rem;
}

.section-pad-md {
    padding-block: 2rem 2.5rem;
}

@media (max-width: 768px) {
    .section-pad-lg {
        padding-block: 2rem 2.5rem;
    }

    .section-pad-md {
        padding-block: 1.5rem 2rem;
    }
}

.section-separator {
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.section--muted .section-separator {
    border-top-color: #e8e8ec;
}

.section-title {
    font-size: var(--heading-2);
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--muted);
    margin: 0 0 1rem 0;
}

/* Utilitaire de fond gris type ancien site */
.bg-grey {
    background: #f1f4f5;
}




/* Data Strip */
.data-strip {
    padding-bottom: 0.5rem;
}

/* Slider Données clés (aligné ancien site: mod-donnees + slider-donnees) */
/* .data-strip--donnees {
      width:100%;
    background-image: url('../img/bg2.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    /* linear-gradient(rgba(245, 236, 236, 0.7), rgba(253, 251, 251, 0.7)), */
.data-strip--donnees {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('../img/bg2.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


#slider-donnees,
.slider-donnees {
    position: relative;

}



#slider-donnees .donnees-slider .slick-slide,
.data-strip .donnees-slider .slick-slide {
    padding: 10px 10px;
}

#slider-donnees .slick-prev,
#slider-donnees .slick-next,
.data-strip .slick-prev,
.data-strip .slick-next {
    z-index: 10;
    line-height: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 35px;
    height: 35px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgb(245, 248, 247);
    border-radius: 80%;
    transition: opacity 0.3s ease;
}

#slider-donnees .slick-prev,
.data-strip .slick-prev {
    left: -60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.75 19.5 8.25 12l7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

#slider-donnees .slick-next,
.data-strip .slick-next {
    right: -60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}


#slider-donnees .slick-prev:hover,
#slider-donnees .slick-next:hover,
.data-strip .slick-prev:hover,
.data-strip .slick-next:hover {
    opacity: 0.9;
}

#slider-donnees .slick-prev:before,
#slider-donnees .slick-next:before,
.data-strip .slick-prev:before,
.data-strip .slick-next:before {
    content: '';
}

/* Style cartes données (donnee-chiffre / donnee-libelle) */
.data-strip--donnees .data-card__value {
    color: #ea8b07;
    font-size: var(--heading-3);
    line-height: 24px;
    font-weight: 700;
}

.data-strip--donnees .data-card__label,
.data-strip--donnees .data-card__description {
    color: #000;
    font-size: var(--text-lg);
    line-height: 22px;
    font-weight: 400;
}

/* Hero Zone */
/* .hero-zone {

    margin-top: 30px;
} */

/* Aligner la hauteur du bloc devises sur le hero dans la zone d'accueil */
.hero-zone .sta-card {
    display: flex;
    flex-direction: column;
}

.hero-zone .sta-card .mod-block-devise,
.hero-zone .sta-card .exchange-rates-card {
    flex: 1 1 auto;
    min-height: 0;
}

.hero-zone .sta-card .mod-sidebar {
    margin-top: 0;
}

/* .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 1.25rem;
} */


/* Empêche les colonnes Bootstrap de déborder (clé !) */
.row>[class*="col-"] {
    min-width: 0;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 500px;
}

.hero-carousel .slick-list,
.hero-carousel .slick-track {
    height: 100%;
}

.hero-carousel .slick-list {
    width: 100%;
    overflow: hidden;
}

.hero-carousel .slick-slide {
    height: 500px;
}

.hero-carousel .slick-slide>div {
    height: 100%;
}


/* ===== HERO SLIDE ===== */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.hero-slide__link-wrap {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ===== CAPTION ===== */
.hero-slide__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 16px 18px;
    color: #fff;

    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.85) 100%);

    overflow: hidden;
    /* texte contenu */
    box-sizing: border-box;
}

/* Eyebrow : 1 ligne max */
.hero-slide__caption .eyebrow {
    margin: 0 0 6px 0;
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Titre : max 2 lignes */
.hero-slide__caption h2 {
    margin: 0 0 6px 0;
    font-size: var(--text-lg);
    font-weight: 800;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white;
}

/* Description : max 2 lignes */
.hero-slide__caption p {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lien : reste dans la largeur */
.hero-slide__link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 800;
    color: #fff;
    text-decoration: underline;

    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-carousel {
        height: 320px;
    }

    .hero-carousel .slick-slide {
        height: 320px;
    }

    .hero-slide__caption {
        padding: 12px 14px;
    }

    .hero-slide__caption h2 {
        font-size: var(--text-base);
    }

    .hero-slide__caption p {
        font-size: var(--text-sm);
    }
}

/* =========================
   HERO CAROUSEL - DOTS CLEAN
   ========================= */

/* Pas de flèches */
.hero-carousel .slick-prev,
.hero-carousel .slick-next {
    width: 48px;
    height: 48px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-carousel .slick-prev:hover,
.hero-carousel .slick-next:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.hero-carousel .slick-prev {
    left: 16px;
}

.hero-carousel .slick-next {
    right: 16px;
    left: auto;
}

.hero-carousel .slick-prev:before,
.hero-carousel .slick-next:before {
    color: #1a1a1a;
    font-size: var(--text-lg);
    opacity: 1;
}

.hero-carousel .slick-prev.slick-disabled,
.hero-carousel .slick-next.slick-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 768px) {

    .hero-carousel .slick-prev,
    .hero-carousel .slick-next {
        width: 40px;
        height: 40px;
    }

    .hero-carousel .slick-prev {
        left: 8px;
    }

    .hero-carousel .slick-next {
        right: 8px;
    }

    .hero-carousel .slick-prev:before,
    .hero-carousel .slick-next:before {
        font-size: var(--text-base);
    }
}

/* Conteneur des points */
.hero-carousel .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 50;

    display: flex !important;
    justify-content: center;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

/* Chaque point */
.hero-carousel .slick-dots li {
    margin: 0 !important;
}

/* Bouton du point */
.hero-carousel .slick-dots li button {
    width: 15px;
    height: 15px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #037B3D;
    cursor: pointer;

    background: white;
    /* transition: background 0.25s ease, transform 0.25s ease; */
}

/*  on supprime le point par défaut de slick */
.hero-carousel .slick-dots li button:before {
    content: "" !important;
    display: none !important;
}

/*  SURVOL */
.hero-carousel .slick-dots li button:hover {
    background: #EC8D08;
    /* orange */
    transform: scale(1.3);
}

/* ACTIF BTN SLIDE */
.hero-carousel .slick-dots li.slick-active button {
    background: red;
    transform: scale(1.4);
}




/* .hero-slide {
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    cursor: pointer;
} */

/* .hero-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.1s ease;
    border-radius: 0;
}

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

.hero-slide:hover img {
    transform: scale(1.05);
}

.hero-slide:active {
    transform: translateY(-10px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.hero-slide__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom:0;
    padding: 0.6rem 1rem;
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(180deg, rgba(21, 20, 20, 0.687) 0%, rgba(59, 212, 25, 0.751) 100%);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.1s ease-out;
}

.hero-slide.is-visible .hero-slide__caption {
    opacity: 1;
    transform: translateY(0);
} */

/* Communiques */


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

.communique-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    display: grid;
    gap: 0.4rem;
}

.communique-date {
    color: var(--muted);
    font-weight: bolder;
    color: #EC8D08;
}

/* CTA Panel */
.cta-panel {
    overflow: hidden;
    box-shadow: var(--shadow-md);

}

.cta-panel__overlay {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
    color: #fff;
    padding: 2.5rem 2rem;
    max-width: 73%;
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.cta-panel__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
}



.cta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Metrics Panel */
.metrics-panel__inner {
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;

}

.metrics-panel__overlay {
    background: linear-gradient(110deg, rgba(3, 123, 61, 0.92) 0%, rgba(2, 92, 47, 0.9) 60%, rgba(3, 123, 61, 0.8) 100%);
    color: #fff;
    padding: 1.5rem 1.75rem;

}

.metrics-panel h2 {
    /* margin: 0 0 1rem 0; */
    font-size: var(--heading-3);
}

/* Indicateurs clés : ligne unique + ticker doux */
.metrics-ticker {
    margin-top: 20px;
}

.metrics-ticker__viewport {
    overflow: hidden;
    width: 100%;
}

.metrics-ticker__track.metrics-grid {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: stretch;
    will-change: transform;
    width: max-content;
}

.metrics-ticker__track.metrics-grid>.metric {
    flex: 0 0 260px;
    /* cartes de même taille */
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}

.metrics-panel .metric {
    display: grid;
    grid-template-rows: 34px 44px 18px;
    /* valeur+unité / libellé / date */
    align-items: center;
    min-height: 96px;
    /* stabilité visuelle (3 lignes) */
    border-radius: 0 !important;
    /* blocs carrés (override styles globaux) */
}

.metrics-panel .metric__valueRow {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.metrics-panel .metric__value {
    line-height: 1.05;
}

.metrics-panel .metric__unit {
    font-size: var(--text-sm);
    opacity: 0.92;
    font-weight: 700;
    line-height: 1.05;
}

.metrics-panel .metric__label {
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.metrics-panel .metric__date {
    font-size: var(--text-sm);
    opacity: 0.9;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1em;
    /* réserve la ligne même si vide */
}

.metric {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 15px 15px;

}

.metric__value {
    display: block;
    font-size: var(--text-base);
    font-weight: 800;
}



/* Hauteur plus compacte pour la section metrics */
.metrics-panel.section-pad-lg {
    padding-block: 1.4rem 3rem;
}

@media (max-width: 768px) {
    .metrics-panel.section-pad-lg {
        padding-block: 0.9rem 1.4rem;
    }

    .metrics-panel__overlay {
        padding: 0.95rem 1.2rem;
    }
}

/* Visites du site – bloc accueil */
.visits-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(3, 123, 61, 0.2);
    border-radius: 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visits-counter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.visits-counter__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: linear-gradient(145deg, var(--primary) 0%, #025c2f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--heading-3);
}

.visits-counter__content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.visits-counter__value {
    font-size: var(--heading-2);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.visits-counter__label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary);
}

/* Stat Card */
.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 0;
    width: 100%;
    margin-top: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#stat-card1 {
    margin-top: -2px !important;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 28px rgba(0, 0, 0, 0.32);
}

.stat-card .icon {
    background-color: var(--primary);
    width: 70px;
    height: 50px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: var(--heading-3);
}

.stat-card .stat-text {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-text strong {
    font-size: var(--text-lg);
    color: black;
}

.stat-card .stat-text span {
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: bolder;
}

/* Devise Table */
.featured__side {
    display: grid;
    gap: 1rem;
}

.mod-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);

}

.sta-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    padding: 1rem;
}

.mod-sidebar .mod-title {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.mod-sidebar .mod-title h2 {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--primary);
    font-size: var(--text-base);
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.mod-sidebar .mod-title h2.orange {
    color: var(--accent) !important;
}

.devise-table {
    width: 100%;
    border-collapse: collapse;
}

.devise-table th,
.devise-table td {
    padding: 8px 10px;
    font-size: var(--text-base);
}

.devise-table th.nom,
.devise-table td.nom {
    text-align: left;
    font-weight: 600;
}

.devise-table th.valeur,
.devise-table td.valeur {
    text-align: right;
}

.devise-table tr:hover {
    background-color: #f7f7f7;
}

.mod-block-devise .mod-intro,
.exchange-rates-card .mod-intro {
    padding: 8px 15px;
    font-size: var(--text-base);
    color: black;
    font-weight: bolder;
    border-bottom: 1px solid #eee;
}




/* ============================================
   7. PAGES SPÉCIFIQUES
   ============================================ */

/* Page Historique */
/* =========================
   Page Historique
========================= */



.page-hero.historique h1 {
    font-size: var(--heading-1);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text);
    max-width: 900px;
}

.page-hero.historique p {
    max-width: 900px;
    margin-top: 18px;
    font-size: var(--text-base);
    line-height: 2;
    color: var(--muted);
}

.page-hero.historique::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 18px;
    border-radius: 0;
}

/* Breadcrumbs */
.breadcrumbs.historique {
    font-size: .9rem;
    margin-bottom: 30px;
    color: var(--muted);
}

.breadcrumbs.historique a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumbs.historique strong {
    color: var(--text);
}

/* Carte Historique */
.page-card.historique {
    background: #ffffff;
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* Barre latérale comme Organisation */
.page-card.historique::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(#159a6f, var(--orange));
    border-radius: 0;
}

/* Titres */
.page-card.historique h2 {
    margin-top: 45px;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: var(--heading-3);
    position: relative;
}



/* Timeline Historique */
.timeline.historique {
    list-style: none;
    margin-top: 30px;
    padding-left: 35px;
    border-left: 3px solid var(--border);
}

.timeline.historique li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline.historique li::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 0;
}

.timeline.historique li strong {
    color: var(--accent-dark);
}






/* Page Mission */
.mission,
.historique {
    font-size: var(--text-base);
    background: black;
}

.page-hero.mission {
    position: relative;
    padding: 4rem 3.5rem;

}

.page-hero.mission h1 {
    font-size: var(--heading-1);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text);
    max-width: 900px;
}

.page-hero.mission p {
    max-width: 900px;
    margin-top: 18px;
    font-size: var(--text-base);
    line-height: 2;
    color: var(--muted);
    position: relative;
}



.page-hero.mission::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 18px;
    border-radius: 0;
}

.layoutmission .page-card h2 {
    margin-top: 40px;
    color: #EC8D08;
}

/* Page Organisation */
.page-hero.organisation {
    padding: 3rem 2.5rem;
    border-radius: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-hero.organisation::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 18px;
    border-radius: 0;
}

.page-card.organisation {
    background: #ffffff;
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
}

.page-card.organisation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(#159a6f, var(--orange));
    border-radius: 0;
}

.page-card.organisation h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 70%;
    background: var(--orange);
    border-radius: 0;

}


/* Page Équipe Dirigeante */
.page-hero.equipe {
    padding: 3rem 2.5rem;
    margin: 1.5rem 0 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 246, 0.98)),
        radial-gradient(circle at 0 0, rgba(3, 123, 61, 0.20), transparent 55%);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.page-hero.equipe::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(236, 141, 8, 0.35), transparent 70%);
}

.page-hero.equipe .eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    margin-bottom: 0.35rem;
}


.page-hero.equipe h1 {
    color: #0f172a;
    font-size: var(--heading-1);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-hero.equipe p {
    font-size: var(--text-base);
    color: #4b5563;
    max-width: 780px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-top: 30px;
}

.team-member {
    background-color: #ffffff;
    padding: 45px 50px;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    overflow: hidden;
    text-align: center;
    position: relative;
}


.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}


.team-member::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: #EC8D08;
    border-radius: 0;
}


.team-member img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 18px;
    border: 5px solid #037B3D;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}


.team-member h3 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: var(--text-base);
    font-weight: 700;
}


.team-member p {
    font-size: var(--text-base);
    color: #6b7280;
    margin: 0;
}


/* Page Calendrier des Émissions */

.contenu-item {
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.emissions-page {
    background: linear-gradient(180deg, #f9fafb 0%, #f1f5f3 100%);
    padding-bottom: 4rem;
}

.page-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, .85)),
        linear-gradient(120deg, #ff9b0f, #037B3D) !important;
    padding: 3rem 3.5rem;
    border-radius: 0;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
    /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08); */
    position: relative;
    overflow: hidden;
}



.emissions-hero::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 143, 90, .25), transparent 70%);
}

.emissions-hero .eyebrow {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
}

.emissions-hero h1 {
    font-size: var(--heading-1);
    margin: .8rem 0;
    color: #1f2933;
}

.hero-subtitle {
    max-width: 720px;
    font-size: var(--text-lg);
    color: #4b5563;
}

.emissions-card {
    background: #ffffff;
    border-radius: 0;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.card-header h2 {
    font-size: var(--heading-2);
    color: #1f2933;
}

.lead {
    font-size: var(--text-lg);
    color: #4b5563;
    margin-bottom: 2.5rem;
    max-width: 820px;
}

.info-box {
    display: flex;
    gap: 1.8rem;
    background: linear-gradient(135deg, #fff3e6, #ecfdf5);
    border-left: 6px solid #1b8f5a;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 3rem;
}

.info-box .icon {
    font-size: var(--heading-1);
}

.info-box h3 {
    margin: 0 0 .4rem;
    color: #1b8f5a;
}

.info-box p {
    margin: 0;
    color: #374151;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.8rem;
}

.stat {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 0;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.stat strong {
    display: block;
    color: #1b8f5a;
    font-size: .95rem;
    margin-bottom: .4rem;
}

.stat span {
    color: #374151;
    font-size: .9rem;
}

/* ================================
   Page Prêts Nouvellement Contractés
================================ */


/* HERO */
.page-hero.pret-page-hero {
    padding: 3rem 2.5rem;
    border-radius: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}


.page-hero::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin-top: 18px;
    border-radius: 0;

}

.page-hero.pret-page-hero::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin-top: 18px;
    border-radius: 0;
}

/* CARD PRINCIPALE */
.page-card.pret-main-card {
    background: #ffffff;
    border-radius: 0;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* BARRE VERTICALE */
.page-card.pret-main-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(#159a6f,
            var(--orange));
    border-radius: 0;
}


.page-card.pret-main-card {
    background: #ffffff;
    border-radius: 0;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}


.page-card.pret-main-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--primary),
            var(--orange));
    border-radius: 0;
}


.pret-section-title {
    font-size: var(--heading-3);
    font-weight: 600;
    color: #1c1c1c;
    margin: 2.5rem 0 1.2rem;
    padding-left: 1.2rem;
    position: relative;
}


.pret-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 70%;
    background: var(--orange);
    border-radius: 0;
}

/* Titre de section dans la liste de documents (layout "documents") */
.page-card .documents-section-title {
    font-size: var(--heading-3);
    font-weight: 600;
    color: var(--orange);
    margin: 2rem 0 1.2rem;
    padding-left: 1.2rem;
    position: relative;
}

.page-card .documents-section-title:first-of-type {
    margin-top: 0;
}

.page-card .documents-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 70%;
    background: var(--orange);
    border-radius: 0;
}


.pret-document-list {
    display: grid;
    gap: 1rem;
}


.pret-document-item {
    background: #f9fafb;
    border-radius: 0;
    padding: 1.4rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
    border: 1px solid #eee;
}


.pret-document-item:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}


.pret-document-item h3 {
    font-size: var(--text-base);
    font-weight: 500;
    margin: 0;
    color: #222;
}

/* Bouton téléchargement */
.pret-btn-download {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.pret-btn-download:hover {
    color: var(--orange);
}

/* Texte d'information bas */
.pret-muted {
    margin-top: 2rem;
    font-size: var(--text-sm);
    color: #777;
    border-top: 1px dashed #ddd;
    padding-top: 1.5rem;
}

/* ===============================
   NOTATIONS FINANCIÈRES
================================ */

.finan-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* Error bar */
.finan-errorbar {
    margin-bottom: 1.5rem;
}

/* Description */
.finan-description p {
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 2rem;
}



/* Section titles */
.finan-title {
    font-size: var(--heading-3);
    font-weight: 700;
    color: #037B3D;
    margin: 2.5rem 0 1.2rem;
    position: relative;
}

.finan-title::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 6px;
    width: 4px;
    height: 70%;
    background: #EC8D08;
    border-radius: 0;
}

/* Muted text */
.finan-muted {
    color: #6b7280;
    font-size: var(--text-base);
    margin-bottom: 1.5rem;
}

/* Listing */
.finan-listing {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.finan-item-wrapper {
    background: #e0e9f7;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 1.2rem 1.5rem;
    transition: all 0.25s ease;
}

.finan-item-wrapper:hover {
    border-color: #EC8D08;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.12);
    transform: translateY(-2px);
}

/* Item layout */
.finan-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.finan-doc-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: #111827;
}

/* Button */
.finan-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: 0;
    background: transparent;
    border: 1px solid #EC8D08;
    color: #EC8D08;
    text-decoration: none;
    transition: all 0.2s ease;
}

.finan-btn:hover {
    background: #EC8D08;
    color: #ffffff;
}

/* Responsive */
/* @media (max-width: 768px) {
    .finan-item-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .finan-btn {
        margin-top: 0.5rem;
    }
} */

/* ============================ */
/* STYLES notations INSTUTIONNELLE */
/* ============================ */

/* Général */
.instu-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    color: #333;
}

/* TITRES */
.instu-title {
    font-size: var(--heading-1);
    color: #EC8D08;
    /* orange doux */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.3rem;
}

/* SOUS-TITRES DOCUMENTS */
.instu-doc-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

/* DESCRIPTION / TEXTES */
.instu-description,
.instu-muted {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.instu-muted {
    font-style: italic;
    color: #888;
}

/* LISTE DES DOCUMENTS */
.instu-listing {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.instu-item {
    background: #f3e5dc;
    border-radius: 0;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* CONTENU INTERNE ITEM */
.instu-item-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instu-btn {
    display: inline-block;
    background: #037B3D;
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.instu-btn i {
    margin-left: 0.4rem;
}

.instu-btn:hover {
    background: #d06b1a;
}

/* ERRORBAR */
.instu-errorbar {
    background: #fff4e5;
    border-left: 4px solid #EC8D08;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: #8a6d3b;
    font-size: var(--text-base);
}

/* ESPACEMENTS */
.instu-card h3,
.instu-card h2,
.instu-card p {
    margin-bottom: 1rem;
}

/* RESPONSIVE */
/* @media (max-width: 768px) {
    .instu-listing {
        gap: 1rem;
    }

    .instu-btn {
        font-size: var(--text-sm);
        padding: 0.3rem 0.6rem;
    }
} */

/* BULLETINS STATISTIQUES */

.stat_page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.stat_page-card p {
    color: #555;
    line-height: 1.6;
}

.stat_item {
    background: #f9f9f9;
    border-left: 4px solid #037B3D;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.stat_item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.stat_tags {
    margin-bottom: 0.8rem;
}

.stat_tag {
    display: inline-block;
    margin-right: 1rem;
    color: #888;
    font-size: var(--text-sm);
}

.stat_actions {
    text-align: right;
}

.stat_button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #037B3D;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
}

.stat_button:hover {
    background: #005fa3;
}


/* DONNEES ECONOMIQUE  */
.eco_page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.eco_page-card p {
    color: #555;
    line-height: 1.6;
}

.eco_item {
    background: #f0f4f8;
    border-left: 4px solid #037B3D;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.eco_item h3 {
    color: #222;
    margin-bottom: 0.5rem;
}

.eco_actions {
    text-align: right;
}

.eco_button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #037B3D;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
}

.eco_button:hover {
    background: #037B3D;
}


/* DONNES BUDGETAIRE */
.budg_page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.budg_page-card p {
    color: #555;
    line-height: 1.6;
}

.budg_section-title {
    color: #EC8D08;
    margin: 2rem 0 1rem;
    font-size: var(--heading-1);
    display: inline-block;
    padding-bottom: 4px;
    font-weight: bolder;
}

.budg_item {
    background: #e5dede;
    border-left: 4px solid #EC8D08;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0;
}

.budg_item h3 {
    color: #222;
    margin-bottom: 0.5rem;
    font-size: var(--text-lg);
}

.budg_actions {
    text-align: right;
}

.budg_button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
}

.budg_button:hover {
    background: #0056b3;
}

/* PAGE RECHERCHE */

.recherchebtn {
    margin-top: -0.5rem;
    padding: 0.7rem 1.5rem;
    background: #EC8D08;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: bolder;
    font-size: var(--text-lg);
}

/* NEWSLETTER */

.new_page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.new_page-card p {
    color: #555;
    line-height: 1.6;
}

.new_contenu-listing {
    margin-top: 2rem;
}

.new_contenu-item {
    background: #e6dddd;
    border-left: 4px solid #EC8D08;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.new_contenu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.new_contenu-item h3 {
    margin-bottom: 0.5rem;
    color: #222;
}

.new_content-tags span {
    margin-right: 1rem;
    color: #777;
    font-size: var(--text-sm);
}

.new_content-actions {
    text-align: right;
    margin-top: 0.5rem;
}

.new_button {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
}

.new_button:hover {
    background: #e05500;
}


/* EVENEMENTS INVESTISSEURS */

.invest_page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;

}

.invest_page-card p {
    color: #555;
    line-height: 1.6;
}

.invest_contenu-listing {
    margin-top: 2rem;
}

.invest_contenu-item {
    background: #ffcaa344;
    border-left: 4px solid #EC8D08;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.invest_contenu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.invest_contenu-item h3 {
    margin-bottom: 0.5rem;
    color: #222;
    font-size: var(--text-lg);
}

.invest_button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
}

.invest_button:hover {
    background: #e0673a;
}


/* Contenu principal Engagement */

/* Article principal engag */
.page-card-engag {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    color: #333;
}

/* Paragraphes */
.paragraph-engag {
    font-size: var(--text-base);
    margin-bottom: 1rem;
}

/* Paragraphes secondaires */
.muted-engag {
    font-size: var(--text-sm);
    color: #777;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-engag {
    font-size: var(--heading-1);
    color: #EC8D08;
    margin: 1.5rem 0 1rem 0;
    border-left: 4px solid #EC8D08;
    padding-left: 0.8rem;
    font-weight: bolder;
}

/* Listes */
.list-engag {
    margin: 0 0 1.5rem 1.5rem;
    padding-left: 0;
}

.list-engag li {
    margin-bottom: 0.7rem;
    position: relative;
    font-size: var(--text-base);
}

.list-engag li::before {
    content: "•";
    color: #037B3D;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Section */
.content-engag {
    margin-top: 1.5rem;
}


/* Article principal ESG */
.page-card-esg {
    background: #ffffff;
    /* fond blanc */
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    line-height: 1.7;
    color: #333;
}

/* Paragraphes */
.paragraph-esg {
    font-size: var(--text-base);
    margin-bottom: 1rem;
}

/* Paragraphes secondaires */
.muted-esg {
    font-size: var(--text-sm);
    color: #555;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-esg {
    font-size: var(--text-lg);
    color: #EC8D08;
    /* orange */
    margin: 1rem 0 0.5rem 0;
    border-left: 4px solid #037B3D;
    /* vert */
    padding-left: 0.8rem;
}

/* Section documents */
.document-item-esg {
    margin-bottom: 1.8rem;
    padding: 1rem 1.2rem;
    background: #cef3b3;
    border-left: 4px solid #037B3D;
    border-radius: 0;
    transition: all 0.3s ease;
}

.document-item-esg:hover {
    background: #fff8f0;
    transform: translateY(-2px);
}

/* Bouton téléchargement */
.btn-esg {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background: #EC8D08;
    /* orange */
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-esg:hover {
    background: #e65500;
    /* orange plus foncé */
}

/* Section globale */
.content-esg {
    margin-top: 1rem;
}

/* Article principal SLF */
/* Article principal SLF */
.page-card.slf-article {
    background: #ffffff;
    /* fond blanc */
    border-radius: 0;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card.slf-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Paragraphes */
.paragraph-slf {
    font-size: var(--text-base);
    margin-bottom: 1.2rem;
    color: #444;
}

/* Paragraphes secondaires */
.muted-slf {
    font-size: var(--text-base);
    color: #666;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-slf {
    font-size: var(--heading-4);
    color: #EC8D08;
    /* orange */
    margin: 1rem 0 0.6rem 0;
    border-left: 5px solid #037B3D;
    /* vert */
    padding-left: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Section documents */
.document-item-slf {
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    background: #fff2df;
    border-left: 5px solid #037B3D;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-item-slf:hover {
    background: #fff7ed;
    /* léger orange pâle */
    transform: translateY(-3px);
}

/* Bouton téléchargement */
.btn-slf {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #EC8D08;
    /* orange */
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-slf:hover {
    background: #e65500;
    /* orange plus foncé */
    transform: translateY(-1px);
}

/* Section globale */
.content-slf {
    margin-top: 1.5rem;
}

/* 
contact */
.contact-article {
    background: #fff;
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
}

/* Grille coordonnées + formulaire (sans double « carte » ni styles inline) */
.contact-main-grid {
    padding-top: 1.75rem;
    margin-top: 0.25rem;
}

.contact-main-grid > .col-md-6 {
    display: flex;
}

.contact-info,
.contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 100%;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: none;
}

.contact-info {
    gap: 1rem;
}

.contact-info-title,
.contact-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #037B3D;
    margin: 0 0 1rem;
}

.contact-info .contact-item {
    flex: 1;
    margin-bottom: 0;
    min-height: 0;
}

.contact-form-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.contact-form-wrapper > .row {
    flex: 1;
}

.contact-form-wrapper .contact-submit {
    margin-top: auto;
}

.contact-item__content {
    margin-left: 45px;
    flex: 1;
    min-width: 0;
}

.contact-form-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0 !important;
}

.contact-form-title__icon {
    color: #EC8D08;
    flex-shrink: 0;
}

.contact-form-errors {
    margin: 0;
    padding-left: 1.125rem;
}

.contact-form-desc {
    color: #4b5563;
    font-size: var(--text-base);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.paragraph-contact {
    color: #EC8D08;
    font-weight: bolder;
}

/* Intro page Contact (sous le hero) */
.contact-page__lead {
    margin: 0 0 1.75rem;
    font-size: var(--text-lg);
    line-height: 1.5;
    color: #111827;
    padding: 0 0 1.1rem;
    border-bottom: 2px solid #EC8D08;
}

.contact-page__lead strong {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.25;
}

.contact-guidance {
    display: grid;
    gap: 1.5rem;
}

.contact-guidance__lead {
    background: #f5faf7;
    border: 1px solid #dcefe4;
    border-left: 5px solid #037B3D;
    border-radius: 0;
    padding: 1.25rem 1.35rem;
}

.contact-guidance__lead p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

.contact-guidance__section {
    display: grid;
    gap: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.section-title h2 {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 700;
    margin: 0;
}

.section-title span {
    display: block;
    width: 50px;
    height: 4px;
    border-radius: 0;
    margin-top: 8px;
}

.section-title--green h2 {
    color: #2f7d4f;
}

.section-title--green span {
    background: #2f7d4f;
}

.section-title--blue h2 {
    color: #202b53;
}

.section-title--blue span {
    background: #2f67c7;
}

.section-title--orange h2 {
    color: #d88622;
}

.section-title--orange span {
    background: #d88622;
}

/* MISSION */

.mission-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
}

.mission-link-bottom {
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mission-link-bottom i {
    font-size: var(--text-sm);
}

.mission-content {
    width: 100%;
}

.mission-link {
    width: auto;
    min-width: 15rem;
}

/* CARTES */

.contact-guidance__grid {
    display: grid;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e7e7e7;
    border-radius: 0;
    padding: 1.35rem;
    background: #fff;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin-bottom: 8px;
    font-size: var(--text-lg);
    color: #202b53;
}

.info-content p {
    margin: 0;
    color: #555;
}

.info-link {
    width: 22rem;
    padding-left: 1rem;
    border-left: 1px solid #ececec;
    display: grid;
    gap: 0.75rem;
}

.contact-action-link {
    display: inline-block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    text-decoration: none;
    color: #0f3d73;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-action-link--external::after {
    content: " ↗";
    font-size: 0.9em;
}

.contact-action-link:hover,
.contact-action-link:focus-visible {
    color: #0f3d73;
    border-color: #b9cbe0;
    box-shadow: 0 8px 20px rgba(15, 61, 115, 0.08);
    transform: translateY(-1px);
}

.contact-action-link--secondary {
    background: #ffffff;
}

.contact-action-link--green {
    background: #037B3D;
    border-color: #037B3D;
    color: #fff;
}

.contact-action-link--green:hover,
.contact-action-link--green:focus-visible {
    color: #fff;
    border-color: #026632;
    background: #026632;
    box-shadow: 0 10px 24px rgba(3, 123, 61, 0.18);
}

/* CYBER */

.cyber-alert {
    background: #fffbf6;
    border-left: 4px solid #EC8D08;
    padding: 1.25rem 1.35rem;
    border-radius: 0;
}

.cyber-alert__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.45rem;
    color: #EC8D08;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cyber-alert__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.cyber-alert p {
    margin: 0;
    color: #5b4630;
    line-height: 1.65;
}

.cyber-alert p + p {
    margin-top: 0.35rem;
}

/* FOOTER */

.contact-footer {
    padding-top: 1.25rem;
    border-top: 1px solid #ececec;
}

.contact-footer strong {
    display: block;
    margin-bottom: 5px;
}

.contact-footer p {
    color: #6b7280;
    margin: 0;
}

.contact-section__emphasis {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.contact-section__body {
    line-height: 1.65;
}

.contact-footer__cta {
    margin-top: 1rem;
    max-width: 18rem;
}

/* MOBILE */

@media(max-width:768px) {

    .contact-page__lead strong {
        font-size: 1.2rem;
    }

    .mission-card,
    .info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .mission-content,
    .mission-link,
    .info-link {
        width: 100%;
    }

    .mission-link,
    .info-link {
        border-left: none;
        border-top: 1px solid #ececec;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        padding-left: 0;
    }
}

/* .contact-guidance {
    margin: 0 0 2rem;
    padding: 1.75rem 1.75rem 1.5rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #037B3D;
    border-radius: 0;
    color: #1f2937;
    text-align: left;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.contact-guidance__lead {
    margin: 0 0 1rem;
    font-weight: 600;
    font-size: var(--text-base);
    line-height: 1.65;
    color: #111827;
}

.contact-guidance__title {
    margin: 0 0 0.65rem;
    padding-top: 0;
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #037B3D;
}

.contact-guidance__title~.contact-guidance__title {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #d8e0e6;
}

.contact-guidance p {
    margin: 0 0 0.75rem;
    line-height: 1.7;
    color: #374151;
}

.contact-guidance__list {
    margin: 0 0 0.5rem;
    padding-left: 1.35rem;
    list-style-type: disc;
}

.contact-guidance__list li {
    margin-bottom: 0.85rem;
    line-height: 1.7;
    color: #374151;
    padding-left: 0.25rem;
}

.contact-guidance__list li::marker {
    color: #037B3D;
}

.contact-guidance a {
    color: #0b5c88;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.contact-guidance a:hover {
    color: #064a6e;
}

.contact-guidance__alert {
    background: #fffbf5;
    border: 1px solid #f0d9a8;
    border-left: 4px solid #EC8D08;
    border-radius: 0;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.contact-guidance__closing {
    margin-bottom: 0;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #cbd5e1;
    font-weight: 600;
    color: #1f2937;
} */

/* @media (max-width: 767.98px) {
    .contact-page__lead {
        font-size: var(--text-base);
        padding-bottom: 1rem;
        margin-bottom: 1.35rem;
    }

    .contact-guidance {
        padding: 1.25rem 1.1rem;
        margin-bottom: 1.5rem;
    }

    .contact-guidance__title {
        font-size: var(--text-base);
    }

    .contact-guidance__title~.contact-guidance__title {
        margin-top: 1.25rem;
        padding-top: 1.1rem;
    }
} */

.contact-map-title {
    text-align: center;
    color: #EC8D08 !important;
}

.contact-map-desc {
    text-align: center;

}

/* HERO */
.contact-hero {
    background: linear-gradient(rgba(0, 80, 40, 0.8), rgba(0, 80, 40, 0.8)),
        url('/assets/img/dgf-building.jpg') center/cover;
    color: white;
    padding: 60px 30px;
    border-radius: 0;
    margin-bottom: 30px;
}

.contact-hero h1 {
    font-size: var(--heading-1);
    font-weight: bold;
}

/* CARTES */
.contact-item {
    display: flex;
    background: #f9f9f9;
    border-left: 4px solid #0a6b3e;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0;
    transition: 0.3s;
    justify-content: space-between;
    position: relative;
}

.icon {
    width: 34px;
    height: 30px;
    background-color: #037B3D;
    border-radius: 50%;

    color: white;
}

.contact-item .icon {
    position: absolute;
    top: 52px;
    font-size: var(--text-lg);

}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #0a6b3e;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 0;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    transition: 0.3s;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #0a6b3e;
    outline: none;
}

/* BOUTON */
.contact-submit {
    background: linear-gradient(90deg, #ff8c00, #ff6a00);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 0;
    width: 100%;
    font-weight: bold;
    transition: 0.3s;
}

.contact-submit:hover {
    opacity: 0.9;
}


/* MAP */
.contact-map {
    margin-top: 40px;
}

.contact-map__iframe {
    border: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
}

/* Conteneur icône + input */
.input-icon {
    position: relative;
    margin-bottom: 15px;
}

/* Icône */
.input-icon i {
    position: absolute;
    top: 40%;
    left: 12px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: var(--text-sm);
}

/* Inputs */
.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: var(--text-sm);
    transition: 0.3s;
}

/* Textarea */
.textarea-icon i {
    top: 18px;
    transform: none;
}

.contact-textarea {
    resize: none;
}

/* Focus effet pro */
.contact-input:focus,
.contact-textarea:focus {
    border-color: #037B3D;
    box-shadow: 0 0 0 2px rgba(3, 123, 61, 0.1);
    outline: none;
}

/* Bouton */
.contact-submit {
    width: 100%;
    background: linear-gradient(90deg, #ff7a00, #ff9900);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-submit i {
    margin-right: 8px;
}

.contact-submit:hover {
    opacity: 0.9;
}



/* PARTENARIAT */
.title-parte {
    color: #EC8D08;
    font-weight: bolder;
}




.retrocede-article {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    color: #333;
}

.retrocede-article p.retrocede-muted {
    color: #777;
    font-size: var(--text-base);
    margin-bottom: 2rem;
}

/* Liste des prêts */
.retrocede-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.retrocede-item {
    background: #f8f9f5;
    border-left: 5px solid #EC8D08;
    border-radius: 0;
    padding: 1.5rem 1.8rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.retrocede-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fa-calendar {
    color: #EC8D08;
}

.fa-eye {
    color: #EC8D08;
}

/* S'assurer que Font Awesome fonctionne correctement */
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
[class^="fa-"],
[class*=" fa-"] {
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.far,
[class*=" far "] {
    font-weight: 400;
}

.fab,
[class*=" fab "] {
    font-weight: 400;
}

.retrocede-title {
    font-size: var(--text-lg);
    margin-bottom: 0.8rem;

}

.garantie-article {
    background: #fff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.garantie-muted {
    color: #777;
    margin-bottom: 1.5rem;
}

.garantie-list {
    display: grid;
    gap: 1.5rem;
}

.garantie-item {
    background: #f9f9f9;
    border-radius: 0;
    padding: 1rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.garantie-title {
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
    color: #222;
}

.garantie-tags span {
    display: inline-block;
    margin-right: 1rem;
    color: #555;
    font-size: var(--text-sm);
}

.garantie-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.3s;

}

.garantie-actions {
    text-align: right;
}

.garantie-button:hover {
    background: #e65c00;
}

/* PRET RETROCEDER */
.retrocede-actions {
    text-align: right;
}

.retrocede-button {
    display: inline-block;
    background: #037B3D;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.retrocede-button:hover {
    background: #EC8D08;
}

.retrocede-button i {
    margin-left: 0.3rem;
}

/* gestion tresorerie */

.tresor-article {
    background: #fff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;

}

.tresor-muted {
    color: #777;
    margin-bottom: 1.5rem;
}

.tresor-section {
    margin-bottom: 2rem;
}

.tresor-title {
    font-size: var(--heading-3);
    color: #222;
    margin-bottom: 0.8rem;
    border-left: 4px solid #EC8D08;
    padding-left: 0.8rem;
}

.tresor-list {
    padding-left: 1.2rem;
}

/* CADRE JURIDIQUE */

.juri-article {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.juri-muted {
    color: #777;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.juri-section {
    margin-bottom: 2rem;
}

.juri-title {
    font-size: var(--heading-3);
    color: #EC8D08;
    margin-bottom: 1rem;
    border-left: 4px solid #EC8D08;
    padding-left: 0.8rem;
}

.juri-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.juri-list li {
    margin-bottom: 0.8rem;
}

.juri-list li a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.juri-list li a:hover {
    color: #EC8D08;
    text-decoration: underline;
}

/* CADRE INSTITUTIONNEL */


.ca_instu.page-card {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.ca_instu-page-card p {
    line-height: 1.6;
    color: #555;
}

.ca_instu-section-title {
    color: #EC8D08;
    font-size: var(--heading-2);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #EC8D08;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.ca_instu-listing {
    margin-top: 1rem;
}

.ca_instu-item {
    margin-bottom: 1.8rem;
    padding: 1rem;
    border-left: 4px solid #EC8D08;
    background: #f9f9f9;
    border-radius: 0;
}

.ca_instu-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.ca_instu-item p {
    color: #555;
}

.ca_instu-item a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #EC8D08;
    text-decoration: none;
    font-weight: 500;
}

.ca_instu-item a:hover {
    text-decoration: underline;
}




/* Page SDMT */
/* .timelines {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.timelines li {
    padding: 15px 10px;
    border: 1px solid black;
}

.timelines .download {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 500;
}

.timelines .download i {
    margin-left: 5px;
}

.telechargement {
    padding: 16px 20px;
}

.sdmt .periode {
    font-size: var(--text-sm);
}

.sdmt li i {
    color: var(--primary-strong);
} */
```css
/* =========================
   SECTION SDMT
========================= */

.sdmt-section {
    margin-top: 25px;
}

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

/* =========================
   CARD
========================= */

.sdmt-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eef1f4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sdmt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.sdmt-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #037B3D, #EC8D08);
}

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

.sdmt-icon-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #eef1f4;
}

.sdmt-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.sdmt-card:hover .sdmt-icon-box img {
    transform: scale(1.05);
}

.sdmt-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.sdmt-badge {
    display: inline-block;
    width: fit-content;
    background: rgba(3, 123, 61, 0.10);
    color: #037B3D;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .5px;
    padding: 8px 12px;
    border-radius: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

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

.sdmt-title {
    font-size: var(--text-lg) !important;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 15px;
    min-height: 55px;
}

/* =========================
   META
========================= */

.sdmt-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: var(--text-sm);
    margin-bottom: 15px;
}

.sdmt-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sdmt-meta i {
    color: #EC8D08;
}

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

.sdmt-description {
    color: #4b5563;
    font-size: var(--text-sm) !important;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 100px;
}

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

.sdmt-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.sdmt-actions a {
    flex: 1;
}

/* Bouton consulter */

.sdmt-consult {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f3f4f6;
    border: 1px solid #dbe1e8;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

.sdmt-consult:hover {
    background: #e8edf3;
    color: #111827;
}

/* Bouton télécharger */

.sdmt-download {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #037B3D, #0aa854);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

.sdmt-download:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(3, 123, 61, .25);
}

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

.page-card.sdmt {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* =========================
   TIMELINE
========================= */

.timelines-card {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .timelines-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .timelines-card {
        grid-template-columns: 1fr;
    }
}

/* =========================
   AUTRES CARDS
========================= */

.sdmt-card-style {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: .3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.sdmt-card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .1);
}

.bodysdmt {
    padding: 15px;
}

.badge-doc {
    display: inline-block;
    background: #eef7f2;
    color: #0a8a43;
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sdmt-card-style h2 {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.meta {
    font-size: var(--text-sm);
    color: #777;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.meta i {
    color: #d88a00;
}

.sdmt-doc-image {
    height: 180px;
    overflow: hidden;
}

.sdmt-doc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sdmt-card-style p {
    font-size: var(--text-sm);
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-download {
    background: #0a8a43;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.btn-download:hover {
    background: #087237;
    color: #fff;
}


.sdmt-p {
    min-height: 80px;
}

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

@media (max-width: 576px) {

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

    .sdmt-title {
        font-size: var(--text-base) !important;
    }

    .sdmt-description {
        min-height: auto;
    }

    .sdmt-actions {
        flex-direction: column;
    }

    .sdmt-actions a {
        width: 100%;
    }

    .sdmt-icon-box {
        height: 200px;
    }
}



/* Plan de financement - Styles  */


.plan-site-main {

    color: #333;
    line-height: 1.5;
}

/* HERO */

.plan-page-hero {
    padding: 3rem 2.5rem;
    border-radius: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;

}

.plan-page-hero::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #EC8D08;
    /* var(--accent) */
    margin-top: 18px;
    border-radius: 0;
}

.plan-eyebrow {
    color: #EC8D08;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.plan-page-hero h1 {
    font-size: var(--heading-1);
    margin-bottom: 0.5rem;
}

.plan-page-hero p {
    color: #555;
    font-size: var(--text-lg);
}

/* Breadcrumb */
.plan-breadcrumbs {
    font-size: var(--text-sm);
    margin-bottom: 2rem;
}

.plan-breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.plan-breadcrumbs strong {
    font-weight: 600;
}

/* Page layout */
.plan-page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Timelines */
.plan-timelines {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    display: grid;
    gap: 1rem;
}

.plan-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 1px solid black;
    border-radius: 0;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.plan-timeline-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.plan-periode h2 {
    margin: 0 0 0.3rem 0;
    font-size: var(--text-lg);
}

.plan-date,
.plan-views {
    font-size: var(--text-sm);
    color: #777;
}

.plan-download {
    color: #EC8D08;
    font-weight: 600;
    text-decoration: none;

}

.plan-download i {
    margin-left: 0.3rem;
}

/* Sidebar */
.plan-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-side-card {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Promo cards */
.plan-promo-card {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.plan-promo-card__content h3 {
    margin: 0 0 0.5rem 0;
}

.plan-promo-card__content p {
    margin: 0 0 0.5rem 0;
}

.plan-promo-card__content .btn {
    background: rgba(255, 255, 255, 0.8);
    color: #EC8D08;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    font-size: var(--text-sm);
    text-decoration: none;
}

.plan-promo-card__content .btn:hover {
    background: #EC8D08;
    color: #fff;
}

/* Table devises */
.plan-devise-table {
    width: 100%;
    border-collapse: collapse;
}

.plan-devise-table th,
.plan-devise-table td {
    padding: 0.5rem;
    text-align: left;
}

.plan-devise-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.plan-devise-table td {
    border-top: 1px solid #eee;
}

/* ============================================
   8. ANIMATIONS
   ============================================ */
@keyframes slideInOnce {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLoop {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

/* Animation des communiqués */
.communique-card {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.6s ease;
}

.communique-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.communique-card:nth-child(1).is-visible {
    transition-delay: 0s;
}

.communique-card:nth-child(2).is-visible {
    transition-delay: 0.1s;
}

.communique-card:nth-child(3).is-visible {
    transition-delay: 0.2s;
}

.communique-card:nth-child(4).is-visible {
    transition-delay: 0.3s;
}

/* Communiqués figés : pas d'animation dans communique-grid */
.communique-grid .communique-card,
.communique-grid .communique-card.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}




/* Animation des news cards */
.news-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.news-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:nth-child(1) {
    transition-delay: 0.1s;
}

.news-card:nth-child(2) {
    transition-delay: 0.3s;
}

.news-card:nth-child(3) {
    transition-delay: 0.5s;
}

.news-and-aside .news-column .news-card:nth-child(1),
.news-and-aside .sidebar .sidebar-card:nth-child(1) {
    transition-delay: 0.1s;
}

.news-and-aside .news-column .news-card:nth-child(2),
.news-and-aside .sidebar .sidebar-card:nth-child(2) {
    transition-delay: 0.3s;
}

.news-and-aside .news-column .news-card:nth-child(3),
.news-and-aside .sidebar .sidebar-card:nth-child(3) {
    transition-delay: 0.5s;
}

/* Animation des sidebar cards */
.sidebar-card {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.sidebar-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-card:nth-child(1) {
    transition-delay: 0.1s;
}

.sidebar-card:nth-child(2) {
    transition-delay: 0.3s;
}

.sidebar-card:nth-child(3) {
    transition-delay: 0.5s;
}

/* Animation des metrics */
.metrics-panel .metric {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.metrics-panel .metrics-ticker .metric {
    opacity: 1;
    transform: none;
}

.metrics-panel .metric.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Metrics figés : pas d'animation/mouvement dans metrics-grid */
.metrics-panel__inner .metrics-grid .metric,
.metrics-panel__inner .metrics-grid .metric.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.metrics-panel .metric:nth-child(1) {
    transition-delay: 0.1s;
}

.metrics-panel .metric:nth-child(2) {
    transition-delay: 0.3s;
}

.metrics-panel .metric:nth-child(3) {
    transition-delay: 0.5s;
}

.metrics-panel .metric:nth-child(4) {
    transition-delay: 0.7s;
}

/* Animation CTA Panel */
.cta-panel--home-invest .cta-panel__content>div {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.cta-panel--home-invest .cta-panel__content.is-revealed>div {
    opacity: 1;
    transform: translateY(0);
}

.cta-panel--home-invest .cta-panel__content .cta-actions .btn {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s;
}

.cta-panel--home-invest .cta-panel__content.is-revealed .cta-actions .btn {
    opacity: 1;
    transform: translateY(0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {

    .cta-panel--home-invest .cta-panel__content>div,
    .cta-panel--home-invest .cta-panel__content .cta-actions .btn {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Animation stat-card */
.stat-card {
    animation: slideInOnce 0.8s ease forwards, slideLoop 4s ease-in-out 0.8s infinite;
}


/* ============================================
   9. SLICK CAROUSEL OVERRIDES
   ============================================ */
.slick-dots li button:before {
    color: #fff;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

.slick-prev:before,
.slick-next:before {
    color: #fff;
    font-size: var(--heading-3);
}

/* Hero Carousel Navigation - Flèches dans une boîte en bas à gauche */
/* Conteneur visuel pour la boîte des flèches */
/* .hero-carousel::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9;
    pointer-events: none;
}

.hero-carousel .slick-prev,
.hero-carousel .slick-next {
    position: absolute;
    bottom: 20px;
    top: auto;
    transform: none;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    padding: 0;
    box-shadow: none;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel .slick-prev {
    left: 20px;
}

.hero-carousel .slick-next {
    left: 60px;
}

/* Séparateur vertical entre les flèches */
.hero-carousel .slick-prev::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.2);
}

.hero-carousel .slick-prev:before,
.hero-carousel .slick-next:before {
    color: #333;
    font-size: var(--text-lg);
    opacity: 1;
    position: relative;
}

.hero-carousel .slick-prev:hover,
.hero-carousel .slick-next:hover {
    opacity: 0.8;
}

.hero-carousel .slick-prev.slick-disabled,
.hero-carousel .slick-next.slick-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Hero Carousel Dots - Indicateurs en bas à droite */
.hero-carousel .slick-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: auto;
    width: auto;
    text-align: right;
    z-index: 10;
}

.hero-carousel .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

.hero-carousel .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.hero-carousel .slick-dots li button:before {
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 0;
    background: transparent;
    border: 2px solid #3bd419;
    border-radius: 0;
    opacity: 1;
    content: '';
}

*/
/* ============================================
   10. RESPONSIVE (Media Queries)
   ============================================ */
/* ===============================
   NAVBAR RESPONSIVE (≤ 1023px)
================================ */




/* Logo mobile */
.nav-brand--mobile {
    /* display: flex; */
    justify-content: center;
    padding: 0.5rem 0;
}



/* Menu ouvert */
.primary-nav.is-open .primary-nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Liens en pleine largeur */
.primary-nav__list a,
.nav-link {
    width: 100%;
    text-align: left;
    border-radius: 0;
    padding: 0.65rem 0.75rem;
}

/* Sous-menus imbriqués : uniquement le panneau enfant direct (évite l'ouverture du niveau 4 au survol du niveau 2) */
.nav-submenu.is-open > .nav-submenu__panel,
.nav-submenu:hover > .nav-submenu__panel,
.nav-submenu:focus-within > .nav-submenu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}



/* Dropdown mobile */
.nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0.3rem 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: none;
}

/* Dropdown ouvert au clic */
.has-dropdown.is-open>.nav-dropdown {
    display: block;
}

/* Submenu mobile */


@media (max-width: 980px) {
    .search-trigger {
        width: 2.5rem;
        height: 2.5rem;
        font-size: var(--text-lg);
    }

    .site-search input {
        min-width: 100px;
    }

    .site-search .button {
        border: none;
        padding: 0.5rem 0.95rem;
        background: var(--accent);
        color: #fff;
        font-size: var(--text-sm);
        cursor: pointer;
        font-weight: 600;
    }

    .site-header__crest-img,
    .site-header__logo {
        height: 85px;
    }

    .site-header__subtitle {
        font-size: var(--text-sm);
    }

    .site-header__title {
        font-size: var(--heading-3);
    }
}

@media (max-width: 796px) {

    .site-header__crest-img,
    .site-header__logo {
        height: 69px;
    }

    .site-header__subtitle {
        font-size: var(--text-sm);
    }

    .site-header__title {
        font-size: var(--text-lg);
    }
}

/* Desktop: hamburger caché */
.nav-toggle {
    display: none;
}


@media (max-width: 1243px) {
    .has-dropdown .nav-dropdown {
        position: static;
        display: none;
        /* caché par défaut */
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;

        background: rgba(255, 255, 255, 0.08);
        border: 0;
        box-shadow: none;
        padding: 0.35rem 0.35rem 0.35rem 0.75rem;
        min-width: 100%;
    }

    .has-dropdown.is-open>.nav-dropdown {
        display: block;
        color: white;

    }

    /* 1) bouton hamburger visible */
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        margin-bottom: 5px;
    }

    /* 2) on prépare le wrapper */
    .primary-nav {
        position: relative;
    }

    /* 3) menu devient un panneau vertical caché */
    .primary-nav__list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;

        padding: 0.8rem;
        margin: -7px;

        background: linear-gradient(180deg, var(--primary), var(--primary-strong));

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: 0.25s ease;
        z-index: 1000;
    }

    /* 4) état ouvert (quand tu cliques) */
    .primary-nav.is-open .primary-nav__list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* 5) liens en pleine largeur */
    .primary-nav__list a,
    .nav-link {
        width: 100%;
        text-align: left;
        border-radius: 0;
        padding: 0.7rem 0.85rem;
    }



    /* dropdown en accordéon */
    .has-dropdown .nav-dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;

        background: rgba(255, 255, 255, 0.08);
        border: 0;
        box-shadow: none;
        padding: 0.35rem 0.35rem 0.35rem 0.75rem;
        min-width: 100%;
    }

    .has-dropdown.is-open .nav-dropdown {
        display: block;
    }
}



/* ============================================
   ÉQUIPE DIRIGEANTE - PYRAMIDE HIÉRARCHIQUE
   ============================================ */
/* 
.team-pyramid {
    position: relative;
    padding: 2.5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #f9fafb, #ffffff);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.team-pyramid::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 3rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(transparent, rgba(148, 163, 184, 0.5), transparent);
    opacity: 0.35;
}

.pyramid-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    /* Firefox : cache la barre 
    -ms-overflow-style: none;
    /* IE / Edge legacy 
} 

.pyramid-level::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari : cache la barre */
/* }

.pyramid-level:last-child {
    margin-bottom: 0;
}

.pyramid-level.level-1 .team-member-card {
    min-width: 280px;
    max-width: 340px;
}

.pyramid-level.level-2 .team-member-card,
.pyramid-level.level-3 .team-member-card,
.pyramid-level.level-4 .team-member-card,
.pyramid-level.level-5 .team-member-card {
    min-width: 220px;
    max-width: 260px;
} 

.team-member-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    padding: 1.5rem 1.4rem 1.25rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.22);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.team-member-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #037B3D, #EC8D08);
}

/* .pyramid-level.level-1 .team-member-card::before {
    background: linear-gradient(90deg, #EC8D08, #facc15);
}

.pyramid-level.level-2 .team-member-card::before {
    background: linear-gradient(90deg, #037B3D, #22c55e);
}

.pyramid-level.level-3 .team-member-card::before,
.pyramid-level.level-4 .team-member-card::before,
.pyramid-level.level-5 .team-member-card::before {
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
} */

/* .team-member-card .member-photo {
    width: 96px;
    height: 96px;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(3, 123, 61, 0.25);
    background: radial-gradient(circle, #e5f4ec, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-member-card .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} 

.team-member-card .member-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.team-member-card .member-name {
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    color: #0f172a;
}

.team-member-card .member-function {
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
    font-size: var(--text-base);
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
    border-color: rgba(3, 123, 61, 0.55);
} */
.pyramid-level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;



}

/* Animation CSS continue */


/* Centrer le contenu en ajoutant des espaces flexibles de chaque côté */
.pyramid-level::before,
.pyramid-level::after {
    content: '';
    flex: 1 1 auto;
    min-width: 1rem;
}

.pyramid-level::-webkit-scrollbar {
    height: 8px;
}

.pyramid-level::-webkit-scrollbar-track {
    background: transparent;
}

.pyramid-level::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.pyramid-level::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Niveau 1 - Directeur Général (plus grand, centré) */
.pyramid-level.level-1 {
    margin-bottom: 2rem;
    padding: 10px;
    justify-content: center;
}

.pyramid-level.level-2 {
    margin-bottom: 2rem;
    padding: 10px;
    justify-content: center;
}



.pyramid-level.level-1 .team-member-card {
    width: 320px;
    height: 260px;
    min-width: 220px;
    flex-shrink: 0;
}

.pyramid-level.level-3 {
    display: flex;
    overflow: hidden;
    gap: 15px;
    margin-bottom: 2rem;
    padding: 10px 10px 10px 60px;
}

.pyramid-level.level-3 .team-member-card {
    width: 320px;
    height: 260px;
    flex-shrink: 0;
}



/* Niveaux 2 et suivants (cartes plus petites) */
.pyramid-level.level-2 .team-member-card {
    width: 320px;
    height: 260px;
    min-width: 180px;
    flex-shrink: 0;
}



.pyramid-level.level-4 .team-member-card,
.pyramid-level.level-5 .team-member-card {
    width: 180px;
    height: 260px;
    min-width: 160px;
    flex-shrink: 0;
}

.team-member-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.team-member-card--clickable {
    cursor: pointer;
}

.team-member-card--clickable:hover,
.team-member-card--clickable:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    outline: 2px solid rgba(3, 123, 61, 0.45);
    outline-offset: 2px;
}

.team-member-cv-modal .modal-content {
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.team-member-cv-modal .modal-header {
    background: linear-gradient(90deg, #037B3D, #EC8D08);
    color: #fff;
    border-bottom: 0;
    border-radius: 0;
}

.team-member-cv-modal .modal-title {
    color: #fff;
    font-weight: 700;
}

.team-member-cv-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

.team-member-cv-modal__photo {
    max-height: 150px;
    border-radius: 0;
    object-fit: cover;
}

.team-member-cv-modal__name {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text, #0f172a);
}

.team-member-cv-modal__function {
    margin: 0;
    font-weight: 700;
    color: #037B3D;
}

.team-member-cv-modal__divider {
    margin: 1.25rem 0;
    opacity: 0.2;
}

.team-member-cv-modal__cv h5 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #EC8D08;
}

.team-member-cv-modal__text {
    text-align: justify;
    line-height: 1.7;
    color: var(--text, #0f172a);
}

.team-member-cv-modal__empty {
    margin: 0;
    color: #64748b;
    font-style: italic;
}

.team-member-card .member-photo {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-member-card::before {
    content: "";
    position: absolute;
    /* top: -4px;
    right: -4px; */
    bottom: 0px;
    width: 100%;
    height: 10px;
    background: #EC8D08 !important;
    border-radius: 10px;
}

.pyramid-level.level-1 .team-member-card .member-photo {
    width: 85px;
    height: 85px;
    border-width: 4px;
}

.pyramid-level.level-2 .team-member-card .member-photo {
    width: 85px;
    height: 85px;
}

.pyramid-level.level-1 .team-member-card .member-function {
    font-size: var(--heading-4);
    font-weight: 500;
    color: var(--text);
}

.pyramid-level.level-1 .team-member-card .member-name {
    font-size: var(--heading-4);
    color: #037B3D;
}

.pyramid-level.level-3 .team-member-card .member-function {
    font-size: var(--text-lg) !important;

}

.team-member-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.team-member-card .member-photo {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-member-card::before {
    content: "";
    position: absolute;
    /* top: -4px;
    right: -4px; */
    bottom: 0px;
    width: 100%;
    height: 10px;
    background: #EC8D08 !important;
    border-radius: 10px;
}

.team-member-card .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-card .member-info {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.team-member-card .member-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #037B3D;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.team-member-card .member-function {
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
    max-height: 2em;
    font-size: var(--heading-4);

}


@media (max-width: 768px) {
    .page-hero.equipe {
        padding: 2.2rem 1.5rem;
        border-radius: 12px;
    }

    .page-hero.equipe h1 {
        font-size: var(--heading-1);
    }

    .team-pyramid {
        padding: 1.75rem 1.1rem 2rem;
        border-radius: 16px;
    }

    .pyramid-level {
        margin-bottom: 2rem;
    }

    .team-member-card {
        max-width: 100%;
    }
}

/* .pyramid-level.level-1 .team-member-card .member-function {
    font-size: var(--heading-4);
    font-weight: 500;
    color: var(--text);
} */

.level-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.level-1 {
    background: var(--accent);
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--muted);
}

.empty-state p {
    margin-bottom: 0.5rem;
}



/* Résultats de recherche */
.search-results {
    margin-top: 2rem;
}

.search-result-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e3e3e0;
    border-radius: 0;
    background: white;
    transition: box-shadow 0.2s ease;
}

.search-result-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item h2 {
    margin-bottom: 0.5rem;
    font-size: var(--text-lg);
}

.search-result-item h2 a {
    color: #f53003;
    text-decoration: none;
    font-weight: 600;
}

.search-result-item h2 a:hover {
    text-decoration: underline;
}

.search-result-item p {
    color: #706f6c;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.search-link {
    color: #f53003;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.search-header {
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: var(--heading-1);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a00;
}

.search-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f5f5f3;
    border-radius: 0;
}

.search-no-results,
.search-empty {
    padding: 3rem;
    text-align: center;
    background: #f5f5f3;
    border-radius: 0;
}

.search-no-results i,
.search-empty i {
    font-size: var(--heading-1);
    color: #706f6c;
    margin-bottom: 1rem;
}

/* @media (max-width: 768px) {
    .search-result-item {
        padding: 1rem;
    }

    .search-header h1 {
        font-size: var(--heading-3);
    }
} */

/* Publications */
.publication-item {
    display: flex;
    /* align-items: stretch; */
    background: white;
    border: 1px solid #e3e3e0;
    margin-top: 15px;
    border-radius: 0;
    overflow: hidden;
}

/* L'image prend exactement la même hauteur que le conteneur */
.publication-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    display: block;
}

.publication-item__content {
    font-size: var(--text-listing);
    padding: 10px;

}

.publication-item__description {
    font-size: var(--text-listing);

}

.publication-item__title {
    font-size: var(--text-listing)
}

/* Le texte prend toute la place restante */
.publication-item .content {
    flex: 1;

}




/* Pour les bulletins statistiques */
.stat_contenu-listing {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat_item {
    padding: 1.5rem;
    border: 1px solid black;
    border-radius: 0;
    background: white;
}

.stat_item h3 {
    margin: 0 0 1rem 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: #1a1a00;
}

.stat_tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-sm);
    color: #706f6c;
}

.stat_actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat_button {
    padding: 0.75rem 1.5rem;
    background: #EC8D08;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.stat_button:hover {
    background: #d42802;
    color: white;
}

/* @media (max-width: 768px) {
    .publications-listing {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .publication-item__content {
        padding: 1rem;
    }

    .publication-item__title {
        font-size: var(--text-lg);
    }

    .stat_item {
        padding: 1rem;
    }
} */

/* Publication détail */
.publication-detail {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 0;
}

.publication-detail__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e3e3e0;
}

.publication-detail__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-sm);
    color: #706f6c;
}

.publication-detail__date,
.publication-detail__category {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.publication-detail__category {
    padding: 0.25rem 0.5rem;
    background: #f5f5f3;
    border-radius: 0;
}

.publication-detail__title {
    font-size: var(--heading-1);
    font-weight: 700;
    margin: 0 0 0.5em 0;
    color: var(--text);
    line-height: var(--line-height-heading);
}

.publication-detail__description {
    font-size: var(--text-base);
    color: var(--muted);
    line-height: var(--line-height-body);
    margin: 0;
}

.publication-detail__image {
    margin: 2rem 0;
    border-radius: 0;
    overflow: hidden;
}

.publication-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}

.publication-detail__content {
    margin: 2rem 0;
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: var(--text);
}

.publication-detail__content h2,
.publication-detail__content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text);
}

.publication-detail__content p {
    margin-bottom: 1em;
}

.publication-detail__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e3e3e0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.publication-detail__download,
.publication-detail__external {
    padding: 0.75rem 1.5rem;
    background: #f53003;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.publication-detail__download:hover,
.publication-detail__external:hover {
    background: #d42802;
    color: white;
}


/* Bouton flottant */
.visits-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* Rond principal */
.visits-counter {
    width: 92px;
    height: 92px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 10px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(0, 120, 60, 0.25);
    color: #111;
    text-align: center;

    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    animation: softPulse 6s infinite;
}

@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 236, 121, 0.25);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(10, 221, 116, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 203, 109, 0);
    }
}

.visits-btn:hover .visits-counter {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Ligne icône + nombre */
.visits-counter__top {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    white-space: nowrap;
}

/* Icône */
.visits-counter__top i {
    font-size: var(--text-base);
    opacity: 0.85;
}

/* Nombre */
.visits-counter__value {
    font-size: var(--heading-4);
    font-weight: 800;
    line-height: 1;
}

.visits-large {
    font-size: var(--text-lg);
    letter-spacing: -0.03em;
}


/* Texte bas */
.visits-counter__label {
    margin-top: -10px;
    font-size: var(--text-base);
    font-weight: bolder;
    text-transform: uppercase;
    opacity: 0.75;
}

/* Position fixe */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.coll {
    margin-top: 30px;
}

.newsletter {

    background: #EC8D08;
}

.newsletter h6 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: var(--heading-3);
    line-height: 25px;
    text-transform: uppercase;
}

.newsletter p {
    color: #fff;
    font-size: var(--text-base);
    line-height: 22px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.newsletter .btnN {
    width: 160px;
    height: 45px;
    background-color: #037B3D;
    color: white;
    padding: 10px;
    font-size: var(--text-sm);
    font-weight: bolder;
    border-radius: 0;
    border: none;
}

.newsletter-message {
    font-size: var(--text-sm);
    font-weight: 600;
    margin: 0;
}

.newsletter-message--success {
    color: #fff;
}

.newsletter-message--info {
    color: #fff;
}

.newsletter-message--error {
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Section Newsletter : conteneur pour le popup (ancrage) */
.newsletter-section .newsletter {
    position: relative;
}

/* Popup confirmation newsletter — ancré dans la section, sans rechargement */
.newsletter-modal {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.newsletter-modal.newsletter-modal--open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.newsletter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.newsletter-modal--open .newsletter-modal__backdrop {
    opacity: 1;
}

.newsletter-modal__box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    max-width: 420px;
    width: 100%;
    opacity: 0;
    transform: scale(0.88) translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.newsletter-modal--open .newsletter-modal__box {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.newsletter-modal__content {
    padding: 1.5rem;
}

.newsletter-modal__title {
    margin: 0 0 0.5rem 0;
    font-size: var(--text-lg);
    font-weight: 700;
}

.newsletter-modal__text {
    margin: 0 0 1.25rem 0;
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text, #1a2433);
}

.newsletter-modal__close {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--border, #e1e6ef);
    border: none;
    border-radius: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    color: var(--text, #1a2433);
    transition: background 0.2s ease;
}

.newsletter-modal__close:hover {
    background: var(--muted, #596272);
    color: #fff;
}

.newsletter-modal--success .newsletter-modal__title {
    color: #037B3D;
}

.newsletter-modal--info .newsletter-modal__title {
    color: #EC8D08;
}

.newsletter-modal--error .newsletter-modal__title {
    color: #c62828;
}

/* Sélecteur de langue (multilinguisme) */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-sm);
    font-weight: 600;
}

.language-switcher__current {
    color: var(--text, #1a2433);
    display: inline-flex;
    align-items: center;
}

.language-switcher__link {
    color: var(--primary, #037B3D);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.language-switcher__link:hover {
    text-decoration: underline;
}

.language-switcher__sep {
    color: var(--muted, #596272);
    margin: 0 0.2rem;
}

.language-switcher img {
    display: block;
    width: 30px;
    height: 26px;
    /* object-fit: cover; */
    border-radius: 2px;
}




/* ============================================
   HOME SIMPLE CLEAN RELOOK
   ============================================ */

/* Base générale des sections */
.home-section {
    position: relative;
}

.home-section .container {
    position: relative;
    z-index: 2;
}

/* 1. Bande notations / ratings */
.home-section--ratings {
    background: #ffffff;
    padding-top: 1rem;
    padding-top: 9px;

}

/* 2. Hero */
.home-section--hero {
    background: linear-gradient(to bottom, #f8fafc 0%, #eef4f8 100%);
    padding-top: 2.2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e7edf3;
    margin-top: 10px;
}


.hero-carousel {
    height: 460px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
    background: #dfe7ee;
}

.hero-carousel .slick-slide {
    height: 460px;
}

.hero-slide {
    overflow: hidden;
}


/*
.hero-slide__caption {
    padding: 18px 20px;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.80) 100%
    );
}

.hero-slide__caption h2 {
    font-size: var(--heading-1);
    margin-bottom: 0.45rem;
    color: #fff;
}

.hero-slide__caption p {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.92);
} */



/* 3. Indicateurs clés */
.home-section--metrics {
    background: #f3f8f5;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-top: 1px solid #e1ece5;
    border-bottom: 1px solid #e1ece5;
}

/* Centrage vertical + suppression d’espace inutile (uniquement metrics) */
.home-section--metrics .metrics-panel__overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-section--metrics .titre-ligne {
    margin: 0.75rem 0 0.85rem;
}

.home-section--metrics .metrics-ticker {
    margin-top: 0.65rem;
}

.home-section--metrics .metrics-grid {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-section--metrics .metrics-grid>.metric {
    width: auto;
    min-width: 0;
    max-width: none;
}

@media (max-width: 992px) {
    .home-section--metrics .metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-section--metrics .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.titre-ligne {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.titre-ligne::before,
.titre-ligne::after {
    content: "";
    flex: 1;
    border-top: 3px solid #b8bcc3;
}

.titre-ligne span {
    font-family: var(--font-body);
    /* font-size: var(--heading-2); */
    font-size: var(--heading-3);
    font-weight: 800;
    /* color: #037B3D; */
    color: #EC8D08;
    text-transform: uppercase;
}

.metrics-panel__inner {
    background: transparent;
    overflow: visible;
}

.metrics-panel__overlay {
    background: transparent;
    color: var(--text);
    padding: 0;
}

.metrics-panel h2 {
    color: var(--primary);
    font-size: var(--heading-1);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.metrics-ticker__track.metrics-grid {
    gap: 1rem;
}

.metric {
    background: #ffffff;
    border: 1px solid #e1ebe4;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 15px;
}

.metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.10);
}

.metric__value {
    font-size: var(--heading-2);
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.metric__label {
    color: #314254;

}

.metric__label small {
    color: #6b7280;
}

/* 4. Actualités */
.home-section--news {
    background: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: none;
}

.home-section--news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #edf1f5;
}

.section-heading {
    margin-bottom: 1.2rem;
}

.home-section--news .section-heading--news-width {
    max-width: 760px;
    width: 100%;
}

.section-title {
    font-size: var(--heading-1);
    color: var(--primary);
}

.section-link {
    color: var(--accent);
    font-weight: 700;
}

/* News cards */
.news-card {
    overflow: hidden;
    border: 1px solid #e8edf2;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.news-card--detailed {
    grid-template-columns: 240px 1fr;
}

.home-section--news .news-card--detailed {
    margin-bottom: 0;
}

.news-card__image {
    min-height: 220px;
}

.news-card--detailed .news-card__image {
    background-image: var(--news-card-cover, none);
    background-size: cover;
    background-position: center;
}



.news-card__title {
    font-size: var(--text-card-title);
    line-height: 1.35;
}

.news-card__excerpt {
    color: #5b6472;
}

.news-card__link {
    color: var(--primary);
    font-weight: 700;
}

/* Aside cards */
.sidebar-card,
.promo-card {
    overflow: hidden;
}

.promo-card {
    min-height: 210px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

/* 5. Communiqués */
.home-section--communiques {
    background: #f8fafb;
    padding-top: 2.7rem;
    padding-bottom: 2.9rem;
    border-top: 1px solid #edf1f5;
}

.communique-card {
    border: 1px solid #e6ebf0;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
    padding: 1.2rem 1.25rem;
}

.home-section--communiques .communique-card h3,
.home-section--communiques .communique-card__title {
    font-size: var(--heading-3);
    line-height: 1.35;
}

/* 6. CTA investissements */
.home-section--cta {
    margin-top: 0;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-panel {
    box-shadow: none;
}

.cta-panel--home-invest {
    background-image: url('../img/sections/accueil/investissement.jpg');
    background-size: cover;
    background-position: center;
}

.cta-panel__overlay {
    background: linear-gradient(90deg, rgba(7, 73, 40, 0.88), rgba(18, 93, 54, 0.78));
    padding: 2.5rem 2rem;
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.cta-panel__content {
    padding: 3rem 0;
}

.cta-panel__content h2 {
    font-size: var(--heading-3);
    color: #fff;
}

.cta-panel__content p {
    max-width: 100%;
}

.cta-panel--home-invest .cta-panel__lead {
    font-size: var(--text-base);
}

.cta-panel--home-invest .cta-panel__cta-btn {
    font-size: var(--text-base);
}

.cta-panel--home-invest .cta-actions {
    justify-content: flex-end;
    width: fit-content;
    padding: 0.5rem;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(2px);
}

.cta-panel--home-invest .cta-actions .btn {
    min-height: 52px;
    padding: 0.85rem 1.35rem;
    border-radius: 0 !important;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    border-width: 2px;
}

.cta-panel--home-invest .cta-actions .cta-panel__cta-btn::after {
    content: "→";
    margin-left: 0.45rem;
    transition: transform 180ms ease;
}

.cta-panel--home-invest .cta-actions .cta-panel__cta-btn:hover {
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.cta-panel--home-invest .cta-actions .cta-panel__cta-btn:hover::after {
    transform: translateX(3px);
}

.cta-panel--home-invest .cta-actions .cta-panel__cta-btn:focus,
.cta-panel--home-invest .cta-actions .cta-panel__cta-btn:active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    outline: none;
}

.cta-panel--home-invest .cta-actions .cta-panel__cta-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .cta-panel--home-invest .cta-actions {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
    }
}

/* 7. Données / ratings cards */


.data-card__value {
    font-size: var(--heading-1);
    color: #d98208 !important;
}

.data-card__description {
    font-size: var(--text-base);
    color: #1f2937 !important;
}

.data-card__link--file {
    color: #111827;
    font-size: var(--text-base);
}

.data-card__body span[style] {
    color: #6b7280 !important;
 
}

/* 8. Coins arrondis uniquement sur l'accueil */


/* 9. Responsive */
@media (max-width: 992px) {

    .hero-carousel,
    .hero-carousel .slick-slide {
        height: 360px;
    }

    .hero-slide__caption h2 {
        font-size: var(--heading-3);
    }

    .news-card--detailed {
        grid-template-columns: 1fr;
    }

    .news-card__image {
        min-height: 220px;
    }

    .cta-panel__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.2rem 0;
    }

    .cta-panel__overlay {
        padding: 2rem 1.25rem;
    }

    .exchange-rates-wrap {
        height: auto !important;
    }
}

@media (max-width: 768px) {

    .home-section--hero,
    .home-section--metrics,
    .home-section--news,
    .home-section--communiques {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-carousel,
    .hero-carousel .slick-slide {
        height: 300px;
    }

    .hero-slide__caption {
        padding: 14px 16px;
    }

    .hero-slide__caption h2 {
        font-size: var(--text-lg);
    }

    .hero-slide__caption p {
        font-size: var(--text-sm);
    }

    .metrics-panel h2,
    .section-title {
        font-size: var(--heading-2);
    }

    .metric__value {
        font-size: var(--heading-4);
    }
}





.hero-zone .row {
    align-items: stretch;
}

.hero-zone .col-lg-8,
.hero-zone .col-lg-4 {
    display: flex;
}

.exchange-rates-wrap {
    width: 100%;
    height: 94.3%;
    display: flex;
    align-items: stretch;
}

.exchange-rates-wrap .mod-block-devise,
.exchange-rates-wrap .mod-sidebar,
.exchange-rates-wrap .exchange-rates-card {
    width: 100%;
    height: 100%;
}



/* =========================================
   DONNEES SLIDER EN BLOC
========================================= */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

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


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
}

.text {
    position: absolute;
    top: 60%;

    color: white;
    font-weight: bolder;
    opacity: 0;
    text-align: center;
    text-transform: capitalize;
    text-shadow: 2px 2px 8px #EC8D08;
    animation: slideZoom 20s infinite ease-in-out;
}

.text1 {
    animation-delay: 0s;
    right: -118px !important;
    font-size: var(--heading-1) !important;
}

.text2 {
    animation-delay: 5s;
}

.text3 {
    animation-delay: 10s;
    right: -204px !important;
    font-size: var(--heading-1) !important;
}

.text4 {
    animation-delay: 15s;
}



/* Animation fluide */
@keyframes slideZoom {
    0% {
        opacity: 0;
        transform: translate(50%, -50%) scale(0.8);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        opacity: 1;

    }

    35% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        opacity: 0;
    }
}

/* Pagination publications */
.publications-pagination .pagination {
    margin-bottom: 0;
    gap: 0.35rem;
}

.publications-pagination .page-link {
    border-radius: 6px;
    border-color: var(--border);
    color: var(--text);
    min-width: 2.25rem;
    text-align: center;
}

.publications-pagination .page-link:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.publications-pagination .page-item.active .page-link {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

@media (max-width: 1347px) {
    .text1 {
        font-size: var(--heading-1) !important;
        right: -66px !important;
    }

    .text3 {
        font-size: var(--heading-1) !important;
        right: -185px !important;
    }
}

@media screen and (max-width: 1280px) {
    .primary-nav__list {
        gap: 2rem;

        padding: 1px !important;
    }
}




@media screen and (max-width: 1298px) {
    .primary-nav__list {
        gap: 3rem;
        justify-content: center;
        width: 95%;
        padding: 1px !important;
    }


}

@media (max-width: 1725px) {
    .text1 {
        animation-delay: 0s;
        right: -119px !important;
        font-size: var(--heading-1) !important;
    }

    .text3 {
        animation-delay: 10s;
        right: -250px !important;
        font-size: var(--heading-1) !important;
    }

    .primary-nav__list {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        margin: -7px;
        padding: 0;
        width: 100%;

    }
}

@media screen and (max-width: 1236px) {
    #site-search-haut {
        right: 30px;
        top: 6px;
    }
}

@media (max-width: 796px) {}



@media (max-width: 1224px) {
    .text1 {
        font-size: var(--heading-1) !important;
        right: -50px !important;
    }

    .text3 {
        font-size: var(--heading-1) !important;
        right: -159px !important;
    }
}

@media (max-width: 1038px) {
    .text1 {
        font-size: var(--heading-3) !important;
        right: -17px !important;
    }

    .text3 {
        font-size: var(--heading-3) !important;
        right: -156px !important;
    }
}

@media (max-width: 916px) {
    .text1 {
        font-size: var(--heading-3) !important;
        right: -50px !important;
    }

    .text3 {
        font-size: var(--heading-3) !important;
        right: -144px !important;
    }


}


.search-box {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;

    background: white;
    border-radius: 50px;
    padding: 10px 15px;

    width: 500px;
    max-width: 90%;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-icon {
    color: #037B3D;
    font-size: var(--text-lg);
    margin-right: 10px;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: var(--text-base);
}

.search-btn {
    background: #2e7d32;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

/* .search-btn:hover {
    background: ;
} */
.search-input:focus {
    outline: none;
    box-shadow: none;

}

/* ============================================
   Utilitaires typographie thème
   ============================================ */
.contact-section__title {
    font-size: var(--heading-3);
}

.contact-section__icon {
    font-size: var(--text-lg);
    color: #2f67c7;
}

.contact-section__lead {
    font-size: var(--text-lg);
    font-weight: 500;
}

.contact-section__body {
    font-size: var(--text-base);
}

.contact-section__emphasis {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #000;
}

.notation-highlight {
    font-size: var(--heading-3);
    font-weight: 500;
}

.error-page__code {
    font-size: var(--heading-1);
}

/* Surcharge ticker breaking news (vendor) */
.breaking-news-ticker {
    font-size: var(--text-sm) !important;
}

.bn-news {
    font-size: var(--text-base) !important;
}

.search-page__title {
    font-size: var(--heading-1);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a00;
}

.search-page__meta,
.search-page__message {
    font-size: var(--text-lg);
}

.search-page__result-title {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.search-page__icon {
    font-size: var(--heading-1);
}

.search-page__icon-sm {
    font-size: var(--text-sm);
}

.search-page__input {
    font-size: var(--text-base);
}

.error-404__code {
    font-size: clamp(4rem, 12vw, var(--heading-1));
    font-weight: 700;
    color: var(--primary, #0066cc);
    margin: 0;
}

.error-404__title {
    font-size: var(--heading-1);
    margin: 1rem 0;
    color: var(--text-primary, #333);
}

.error-404__lead {
    font-size: var(--text-lg);
}

.error-404__section-title {
    font-size: var(--text-lg);
}

/* Galeries média (photothèque / vidéothèque) */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.media-gallery--videos {
    grid-template-columns: repeat(2, 1fr);
}

.media-gallery__card,
.media-video-card {
    border: 0;
    padding: 0;
    background: transparent;
}

.media-gallery__trigger,
.media-video-card__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-gallery__trigger:hover,
.media-gallery__trigger:focus-visible,
.media-video-card__trigger:hover,
.media-video-card__trigger:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(3, 123, 61, 0.15);
    outline: none;
}

.media-gallery__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f6f5;
}

.media-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}

.media-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-video-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #037B3D 0%, #025a2d 100%);
}

.media-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 2.5rem;
    transition: background 0.2s ease;
}

.media-video-card__trigger:hover .media-video-card__play,
.media-video-card__trigger:focus-visible .media-video-card__play {
    background: rgba(3, 123, 61, 0.55);
}

.media-gallery__meta {
    padding: 1rem 1.1rem 1.15rem;
}

.media-gallery__date {
    display: block;
    font-size: 0.8rem;
    color: #EC8D08;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.media-gallery__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.media-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.media-modal[hidden] {
    display: none;
}

.media-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.media-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.media-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-modal__close:hover {
    background: #037B3D;
}

.media-modal__content {
    background: #000;
}

.media-modal__image {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
}

.media-modal__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.media-modal__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-modal__footer {
    padding: 1.25rem 1.5rem 1.5rem;
}

.media-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #037B3D;
}

.media-modal__date {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.75rem;
}

.media-modal__detail,
.media-modal__external {
    margin-top: 0.25rem;
}

@media (max-width: 991px) {
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .media-gallery,
    .media-gallery--videos {
        grid-template-columns: 1fr;
    }
}

.bienvenue {
    font-size:35px !important;
    font-weight: 700;
    text-decoration: underline;
}
.peti-titre{
    font-weight: 700 !important;
    font-size: 27px !important;
    color: #000 !important;
}