/* ============================================
   1. VARIABLES CSS
   ============================================ */
:root {
    /* Couleurs principales */
    --primary: #037B3D;
    --primary-strong: #037B3D;
    --primary-light: #e6f4ed;
    --accent: #EC8D08;
    --accent-soft: #fff3e0;

    /* Couleurs supplémentaires */
    --green: #037B3D;
    --green-dark: #037B3D;
    --orange: #EC8D08;

    /* Couleurs texte */
    --text: #1a2433;
    --muted: #596272;

    /* Couleurs background */
    --bg: #f4f6fb;
    --border: #e1e6ef;

    /* Dimensions */
    --radius-lg: 1rem;
    --radius-md: 8px;
    --radius-sm: 5px;
    --max-width: 1180px;

    /* Ombres */
    --shadow-sm: 0 8px 20px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 18px 48px rgba(12, 32, 61, 0.15);
}



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

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


body {
    min-height: 100vh;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.85)
        ),
        linear-gradient(
            120deg,
            #0B7A3B,
            #F59E0B
        );
    background-repeat: no-repeat;
    background-size: cover;
}







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

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: 2.6rem !important;
}



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

.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.5rem;
    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: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;

}

/* Top Infos */
.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: 0.78rem;
    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: 999px;
    opacity: 0.9;
}

.top-infos__titles strong {
    font-size: 1.18rem;
    letter-spacing: 0.01em;
}

.tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.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 */
.site-search {
    display: flex;
    border-radius: 999px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.site-search input {
    border: none;
    padding: 0.5rem 0.75rem;
    min-width: 230px;
    font-size: 0.95rem;
}

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

.site-search .button {
    border: none;
    padding: 0.5rem 0.95rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    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-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.7rem 0;

     flex-wrap: nowrap;
}

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

}

 .primary-nav__list li {
    position: relative;
}


.primary-nav__list a,
.nav-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

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

.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.14);
}

/* Dropdown Navigation */
.has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    color: var(--text);
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
    opacity: 0;
    /* visibility: hidden; */
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.has-dropdown .nav-dropdown a {
    display: block;
    color: var(--text);
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
}

.has-dropdown .nav-dropdown a:hover {
    background: var(--primary-light);
    border-color: rgba(3, 123, 61, 0.08);
}

.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.35rem;
    min-width: 360px;
}

.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: 800;
    color: #fff;
    background: var(--primary-strong);
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
}

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

.nav-group__title {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary-strong);
    padding: 0.15rem 0.2rem 0.15rem 0;
}
.primary-nav__list li.has-dropdown {
    position: relative;
}



/* Submenu */
.nav-submenu {
    display: grid;
    gap: 0.35rem;
    padding: 0.4rem 0.45rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    position: relative;
}

.nav-submenu__toggle {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    width: 100%;
    background: #f5f7fa;
    color: #EC8D08;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    font-weight: 700;
    cursor: pointer;
    gap: 0.35rem;
}

.nav-submenu--accent .nav-submenu__toggle {
    color: #EC8D08;
    font-weight: bolder;

}




.nav-submenu__toggle.nav-split__title::after {
    content: "▾";
    font-size: 20px;
    transition: transform 0.3s ease;
    color: #EC8D08;

}

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


.nav-submenu__panel {
    display: grid;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background: #fff;
    color: var(--text);
    padding: 0.4rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e9f2;
    gap: 0.25rem;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

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

.nav-submenu__panel a {
    padding: 0.4rem 0.6rem;
}

.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: 10px;
    padding: 10px 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

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

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


/* ============================================
   5. FOOTER
   ============================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding: 10px;
}
.footer-col h4{
font-weight: bolder;
color: #EC8D08;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem 0;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

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

.footer-links a {
    color: var(--text);
    line-height: 2;
}

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 0.9rem 0;
    text-align: center;
    color: var(--muted);
}


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

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

.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 */
.page-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem 1.4rem;
    height: auto;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

}


.page-card h2 {
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #037B3D;
}

.page-card p {
    margin-bottom: 1.2rem;
}

.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: 1.6rem;
    padding-left: 0.6rem;
    position: relative;
    font-size: 17px;
}

.page-card ul li::marker {
    color: var(--green);
    font-size: 1.1rem;
}

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

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

/* Eyebrow */
.eyebrow {
    letter-spacing: 0.06em;
    color: #037B3D;
    font-weight: 700;
    font-size:  13px;
    margin: 0 0 0.35rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    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);
}

/* Page Hero */


.page-hero h1 {
    font-weight: 700;

}

.page-hero p {
    margin: 0.25rem 0 0;
    max-width: 800px;
    font-size: 1.05rem;
    line-height: 1.6;
}


/* Data Cards */
.data-card {
    height: 160px;
    min-height: 160px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.35rem;
}

.data-card__body {
    min-height: 0;
    overflow: hidden;
}

.data-card__period {
    font-size: 0.875rem;
    color: var(--muted);
    flex-shrink: 0;
}

.data-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-strong);
    line-height: 1.1;
}

.data-card__label {
    margin: 0;
    color: var(--muted);
}

.data-card__description {
    font-size: 0.875rem;
    font-weight: 400;
}

.data-card__link {
    font-weight: 700;
}

.data-card__link--file {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.data-card__link--file:hover {
    text-decoration: underline;
}

.data-card__link-icon {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.data-card__justification-text {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.4;
}

.data-card__justification-text p:first-child {
    margin-top: 0;
}

.data-card__justification-text p:last-child {
    margin-bottom: 0;
}

/* News Cards */
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    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.05rem 1.15rem;
    display: grid;
    gap: 0.35rem;
}

.news-card__category {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.news-card__title {
    margin: 0;
}

.news-card__excerpt {
    margin: 0;
}

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

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

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sidebar-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem 0.25rem;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sidebar-card--table {
    padding: 0 1.15rem 1rem;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rates-table th,
.rates-table td {
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.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;
}

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

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

/* Flash Ticker */
.flash-ticker {
    padding-top: 1rem;
}

.breaking-news-ticker {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
}

.breaking-news-ticker .bn-label {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    border-right: 20px solid white;
    border-radius: var(--radius-sm);
}

.breaking-news-ticker .bn-news {
    flex: 1;
}

.breaking-news-ticker ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.breaking-news-ticker li {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    white-space: nowrap;
}

.breaking-news-ticker .bn-controls button {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--primary);
    padding: 0.3rem 0.5rem;
}

.bn-controls {
    display: flex;
    gap: 0.25rem;
}

.breaking-news-ticker .bn-title {
    font-weight: 700;
    color: var(--primary-strong);
    margin-right: 0.35rem;

}

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

.data-strip__slider {
    margin: 0 -0.5rem;
}

.data-strip__slider .slick-slide {
    padding: 0.5rem;
}

/* Hero Zone */
.hero-zone {
    padding-top: 0.5rem;
}

/* .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: 18px;
  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: 18px;
}

.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: 12px;
  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: 1.25rem;
  font-weight: 800;
  line-height: 1.2;

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

/* Description : max 2 lignes */
.hero-slide__caption p{
  margin: 0;
  font-size: 0.95rem;
  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: 1.05rem;
  }

  .hero-slide__caption p{
    font-size: 0.9rem;
  }
}/* =========================
   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: 20px;
  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: 16px;
  }
}

/* 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: 2px 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: var(--radius-lg);
}

.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: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    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 */
.communiques {
    padding: 0 0 0.5rem 0;
}

.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: var(--radius-lg);
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.4rem;
}

.communique-date {
    color: var(--muted);
    font-weight: 700;
}

/* 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: 10px;
}

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

.cta-panel__content h2 {
    margin: 0.25rem 0;
}

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

/* Metrics Panel */
.metrics-panel__inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.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: 2rem 1.75rem;
}

.metrics-panel h2 {
    margin: 0 0 1rem 0;
}

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

.metric {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.metric__value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
}

.metric__label {
    color: #e9f7ef;
}

/* 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: var(--radius-lg);
    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: 50%;
    background: linear-gradient(145deg, var(--primary) 0%, #025c2f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

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

.visits-counter__label {
    font-size: 0.9rem;
    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: 12px;
    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: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 26px;
}

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

.stat-card .stat-text strong {
    font-size: 20px;
    color: black;
}

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

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

.mod-sidebar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-top: 25px;
}

.mod-sidebar .mod-title {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mod-sidebar .mod-title h2 {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--primary);
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.devise-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.devise-table th,
.devise-table td {
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.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 {
    padding: 8px 15px;
    font-size: 13px;
    color: black;
    font-weight: bolder;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mod-block-devise .block-content {
    padding: 0;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


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

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



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

.page-hero.historique p {
    max-width: 900px;
    margin-top: 18px;
    font-size: 1.15rem;
    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: 10px;
}

/* 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: 18px;
    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: 18px 0 0 18px;
}

/* Titres */
.page-card.historique h2 {
    margin-top: 45px;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.35rem;
    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: 50%;
}

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






/* Page Mission */
.mission,
.historique {
    font-size: 16px;
}

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

}

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

.page-hero.mission p {
    max-width: 900px;
    margin-top: 18px;
    font-size: 1.15rem;
    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: 10px;
}

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

/* Page Organisation */
.page-hero.organisation {
    padding: 3rem 2.5rem;
    border-radius: 18px;
    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: 10px;
}

.page-card.organisation {
    background: #ffffff;
    border-radius: 18px;
    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: 18px 0 0 18px;
}

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

}


/* Page Équipe Dirigeante */
.page-hero.equipe {
    padding: 50px 20px;
    border-radius: 15px;
    margin: 30px 0;
}

.page-hero.equipe h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero.equipe p {
    font-size: 1.1rem;
    font-weight: bolder;
}

.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: 18px;
    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: 50%;
}


.team-member img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    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: 1.15rem;
    font-weight: 700;
}


.team-member p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}


/* Page Calendrier des Émissions */

.contenu-item {
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 12px;
    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: 22px;
    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: #037B3D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
}

.emissions-hero h1 {
    font-size: 2.6rem;
    margin: .8rem 0;
    color: #1f2933;
}

.hero-subtitle {
    max-width: 720px;
    font-size: 1.1rem;
    color: #4b5563;
}

.emissions-card {
    background: #ffffff;
    border-radius: 24px;
    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: 1.7rem;
    color: #1f2933;
}

.lead {
    font-size: 1.1rem;
    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: 18px;
    margin-bottom: 3rem;
}

.info-box .icon {
    font-size: 2.3rem;
}

.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: 18px;
    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: 18px;
    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: 10px;

}

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

/* CARD PRINCIPALE */
.page-card.pret-main-card {
    background: #ffffff;
    border-radius: 18px;
    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: 18px 0 0 18px;
}


.page-card.pret-main-card {
    background: #ffffff;
    border-radius: 20px;
    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: 20px 0 0 20px;
}


.pret-section-title {
    font-size: 1.5rem;
    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: 10px;
}

/* Titre de section dans la liste de documents (layout "documents") */
.page-card .documents-section-title {
    font-size: 1.5rem;
    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: 10px;
}


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


.pret-document-item {
    background: #f9fafb;
    border-radius: 14px;
    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: 1rem;
    font-weight: 500;
    margin: 0;
    color: #222;
}

/* Bouton téléchargement */
.pret-btn-download {
    font-size: 0.85rem;
    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: 0.9rem;
    color: #777;
    border-top: 1px dashed #ddd;
    padding-top: 1.5rem;
}

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

.finan-card {
    background: #ffffff;
    border-radius: 18px;
    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;
}

.p1 {
    font-size: 15px !important;
}

/* Section titles */
.finan-title {
    font-size: 1.4rem;
    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: 2px;
}

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

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

.finan-item-wrapper {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    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: 1rem;
    font-weight: 600;
    color: #111827;
}

/* Button */
.finan-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    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: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    color: #333;
}

/* TITRES */
.instu-title {
    font-size: 1.8rem;
    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: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

/* DESCRIPTION / TEXTES */
.instu-description,
.instu-muted {
    font-size: 1rem;
    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: 8px;
    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: 6px;
    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: 0.95rem;
}

/* 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: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
} */

/* BULLETINS STATISTIQUES */

.stat_page-card {
    background: #ffffff;
    border-radius: 16px;
    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: 8px;
}

.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: 0.9rem;
}

.stat_actions {
    text-align: right;
}

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

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


/* DONNEES ECONOMIQUE  */
.eco_page-card {
    background: #ffffff;
    border-radius: 16px;
    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: 8px;
}

.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: 5px;
    text-decoration: none;
    font-weight: 500;
}

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


/* DONNES BUDGETAIRE */
.budg_page-card {
    background: #ffffff;
    border-radius: 16px;
    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: 1.9rem;
    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: 8px;
}

.budg_item h3 {
    color: #222;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.budg_actions {
    text-align: right;
}

.budg_button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 5px;
    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: 4px;
    cursor: pointer;
    font-weight: bolder;
    font-size: 20px;
}

/* NEWSLETTER */

.new_page-card {
    background: #ffffff;
    border-radius: 16px;
    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: 8px;
    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: 0.85rem;
}

.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: 5px;
    text-decoration: none;
    font-weight: 500;
}

.new_button:hover {
    background: #e05500;
}


/* EVENEMENTS INVESTISSEURS */

.invest_page-card {
    background: #ffffff;
    border-radius: 16px;
    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: 8px;
    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: 1.1rem;
}

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

.invest_button:hover {
    background: #e0673a;
}


/* Contenu principal Engagement */

/* Article principal engag */
.page-card-engag {
    background: #ffffff;
    border-radius: 16px;
    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: 1rem;
    margin-bottom: 1rem;
}

/* Paragraphes secondaires */
.muted-engag {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-engag {
    font-size: 1.8rem;
    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: 17px;
}

.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: 16px;
    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: 1rem;
    margin-bottom: 1rem;
}

/* Paragraphes secondaires */
.muted-esg {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-esg {
    font-size: 1.2rem;
    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: 8px;
    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: 6px;
    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: 20px;
    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: 1rem;
    margin-bottom: 1.2rem;
    color: #444;
}

/* Paragraphes secondaires */
.muted-slf {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Titres */
.title-slf {
    font-size: 1.3rem;
    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: 12px;
    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: 8px;
    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;
}



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

/* Article Contact */
.contact-article {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

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

/* Paragraphes */
.paragraph-contact {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #EC8D08;
    /* orange */
}

.muted-contact {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Coordonnées */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    background: #f9f9f5;
    padding: 1rem;
    border-left: 5px solid #037B3D;
    /* vert */
    border-radius: 8px;
}

.contact-title {
    font-size: 1.1rem;
    color: #EC8D08;
    /* orange */
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 0.95rem;
    color: #333;
}

/* Formulaire */
.contact-form {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 1.3rem;
    color: #EC8D08;
    /* orange */
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-form-desc {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #EC8D08;
    /* orange */
    outline: none;
}

.contact-submit {
    display: inline-block;
    background-color: #EC8D08;
    /* orange */
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-submit:hover {
    background-color: #037B3D;
    /* vert */
}

/* Carte */
.contact-map {
    margin-top: 2rem;
    text-align: center;
}

.contact-map-title {
    font-size: 1.3rem;
    color: #EC8D08;
    /* orange */
    margin-bottom: 0.5rem;
}

.contact-map-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}


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

    color: #333;
}

.retrocede-article p.retrocede-muted {
    color: #777;
    font-size: 0.95rem;
    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: 12px;
    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;
    /* margin-left: 10px; */
}

/* S'assurer que Font Awesome fonctionne correctement */
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    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-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

.retrocede-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;

}

.garantie-article {
    background: #fff;
    border-radius: 18px;
    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: 12px;
    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: 1.15rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.garantie-tags span {
    display: inline-block;
    margin-right: 1rem;
    color: #555;
    font-size: 0.875rem;
}

.garantie-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background: #EC8D08;
    color: #fff;
    border-radius: 8px;
    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: 10px;
    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: 18px;
    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: 1.5rem;
    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: 18px;
    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: 1.4rem;
    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: 16px;
    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: 1.6rem;
    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: 8px;
}

.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: 12px;
    color: var(--primary);
    font-weight: 500;
}

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

.telechargement {
    padding: 16px 20px;
}

.sdmt .periode {
    font-size: 9px;
}

.sdmt li i {
    color: var(--primary-strong);
}


/* Plan de financement - Styles  */


.plan-site-main {

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

/* HERO */

.plan-page-hero {
    padding: 3rem 2.5rem;
    border-radius: 18px;
    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: 10px;
}

.plan-eyebrow {
    color: #EC8D08;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.plan-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.plan-page-hero p {
    color: #555;
    font-size: 1.1rem;
}

/* Breadcrumb */
.plan-breadcrumbs {
    font-size: 0.9rem;
    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: 10px;
    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: 1.2rem;
}

.plan-date,
.plan-views {
    font-size: 0.9rem;
    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: 10px;
    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: 6px;
    font-size: 0.9rem;
    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;
}

/* Animation des data-cards */
.data-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.8s ease;
}

.data-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.data-card:nth-child(1).is-visible {
    transition-delay: 0s;
}

.data-card:nth-child(2).is-visible {
    transition-delay: 0.15s;
}

.data-card:nth-child(3).is-visible {
    transition-delay: 0.3s;
}

.data-card:nth-child(4).is-visible {
    transition-delay: 0.45s;
}

/* 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;
}

/* 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 .metric.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.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__content>div {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.cta-panel__content.is-visible>div {
    opacity: 1;
    transform: translateY(0);
}

.cta-actions .btn {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out 0.3s;
}

.cta-panel__content.is-visible .cta-actions .btn {
    opacity: 1;
    transform: scale(1);
}

/* 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: 26px;
}

/* 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: 4px;
    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: 0;
    padding: 0;
    box-shadow: none;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel .slick-prev {
    left: 20px;
    border-radius: 4px 0 0 4px;
}

.hero-carousel .slick-next {
    left: 60px;
    border-radius: 0 4px 4px 0;
}

/* 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: 18px;
    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: 50%;
    opacity: 1;
    content: '';
} */

/* Point actif - orange */
/* .hero-carousel .slick-dots li.slick-active button:before {
    background: #ff6b35;
    border: 2px solid #ff6b35;
    width: 14px;
    height: 14px;
    line-height: 14px;
} */

/* Points inactifs - vert avec contour */
/* .hero-carousel .slick-dots li:not(.slick-active) button:before {
    background: transparent;
    border: 2px solid #3bd419;
} */

/* .hero-carousel .slick-dots li button:hover:before,
.hero-carousel .slick-dots li button:focus:before {
    opacity: 0.8;
} */



/* ============================================
   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: 10px;
        padding: 0.65rem 0.75rem;
    }

/* POUR MON SOUS MENU DE MON MENU */
  .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: 10px;
        display: none;
    }

    /* Dropdown ouvert au clic */
    .has-dropdown.is-open > .nav-dropdown {
        display: block;
    }

    /* Submenu mobile */


 @media (max-width: 980px) {

.contact-items span:first-child {
    font-size: 13px;
}

.site-search input {
        min-width: 100px;
    }
.site-search .button {
    border: none;
    padding: 0.5rem 0.95rem;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

}
/* 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;
  }

  /* 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: 0;

    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: 12px;
    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 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    width: 100%;
}

.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;
    width: 640px;
  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 .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;
}


.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: 1.2rem;
    font-weight: 700;

    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;
}

.member-name {
    color: #037B3D;
}

.pyramid-level.level-1 .team-member-card .member-name {
    font-size: 1.3rem;
}
.pyramid-level.level-3 .team-member-card .member-function {
    font-size: 1rem !important;

}

.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: 18px;

}

.pyramid-level.level-1 .team-member-card .member-function {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
}

.level-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    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: 8px;
    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: 1.25rem;
}

.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: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a00;
}

.search-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f5f5f3;
    border-radius: 8px;
}

.search-no-results,
.search-empty {
    padding: 3rem;
    text-align: center;
    background: #f5f5f3;
    border-radius: 8px;
}

.search-no-results i,
.search-empty i {
    font-size: 3rem;
    color: #706f6c;
    margin-bottom: 1rem;
}

/* @media (max-width: 768px) {
    .search-result-item {
        padding: 1rem;
    }

    .search-header h1 {
        font-size: 1.5rem;
    }
} */

/* Publications */
.publication-item {
    display: flex;
    /* align-items: stretch; */
    background: white;
    border: 1px solid #e3e3e0;
    margin-top: 15px;
    border-radius: 8px;
    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: 14px;
    padding: 10px;

}

.publication-item__description {
    font-size: 14px;

}

.publication-item__title {
    font-size: 14px
}

/* 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: 8px;
    background: white;
}

.stat_item h3 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a00;
}

.stat_tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    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: 4px;
    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: 1.125rem;
    }

    .stat_item {
        padding: 1rem;
    }
} */

/* Publication détail */
.publication-detail {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.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: 0.875rem;
    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: 4px;
}

.publication-detail__title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1a1a00;
    line-height: 1.3;
}

.publication-detail__description {
    font-size: 1.125rem;
    color: #706f6c;
    line-height: 1.6;
    margin: 0;
}

.publication-detail__image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.publication-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}

.publication-detail__content {
    margin: 2rem 0;
    line-height: 1.8;
    color: #1a1a00;
}

.publication-detail__content h2,
.publication-detail__content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a00;
}

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

.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: 4px;
    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: 2rem;
  opacity: 0.85;
}

/* Nombre */
.visits-counter__value{
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}
.visits-large{
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}


/* Texte bas */
.visits-counter__label{
margin-top: -10px;
  font-size: 1rem;
font-weight: bolder;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Position fixe */
.fixed-btn{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}
