/* =========================================
    1. CONFIGURATION GÉNÉRALE
========================================= */
:root {
    --primary-blue: #221265;
    --action-red: #CB1520;
    --text-dark: #1B2A4E;
    --text-grey: #555555;
    --white: #ffffff;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f8f9fa;
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 90px;
}

p,
li,
span,
a,
div {
    font-size: inherit;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-blue);
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-blue);
}

h6 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}

@media (max-width: 992px) {
    body {
        font-size: 0.9rem;
        padding-top: 120px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
    2. HEADER STYLE "BANNER MIXTE"
========================================= */

.banner-header-container {
    background:
        linear-gradient(to bottom, rgba(34, 18, 101, 0.8) 0%, rgba(203, 21, 32, 0.75) 100%),
        url('../img/ithemm-BANNER.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 120px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
    transition: all 0.3s ease-in-out;
}

.banner-header-container.scrolled {
    background: var(--primary-blue) !important;
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.header-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: max-height 0.3s ease-in-out;
}

.banner-header-container.scrolled .header-logo {
    max-height: 70px;
}

.banner-nav {
    display: flex;
    align-items: center;
}

.banner-nav .nav-item {
    border-right: 2px solid #ffffff;
    padding: 0 15px;
    line-height: 1;
}

.banner-nav .nav-item:last-child {
    border-right: none;
}

.banner-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: capitalize;
    padding: 0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-nav .nav-link:hover,
.banner-nav .nav-link.active {
    color: #CB1520 !important;
    text-decoration: underline;
}

.banner-subtitle {
    display: none;
}

.banner-header-container.scrolled .banner-subtitle {
    display: none;
}

.banner-nav .dropdown-menu {
    background-color: #221265;
    margin-top: 10px;
}

.banner-nav .dropdown-item {
    color: #ffffff;
}

.banner-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .banner-header-container {
        height: auto;
        min-height: 80px;
        padding: 15px;
    }

    .header-logo {
        max-height: 60px;
    }

    .banner-header-container.scrolled {
        height: auto;
        padding: 10px 15px;
    }
}

/* =========================================
    3. HERO SECTION & CONTENU
========================================= */

.hero-section {
    position: relative;
    min-height: 75vh;
    padding-top: 80px;
    padding-bottom: 120px;
    background: url('../img/ithemm-BANNER.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(34, 18, 101, 0.8) 0%, rgba(203, 21, 32, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.btn-white-hero {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 14px 35px;
    font-weight: 800;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-white-hero:hover {
    background-color: #e6e6e6;
    color: var(--primary-blue);
}

.intro-overlap-section {
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.intro-card {
    border-radius: 0;
    border-top: 4px solid #3AB5E7;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #ffffff !important;
}

/* =========================================
    4. CARTES EXPERTISES
========================================= */

.modern-card {
    position: relative;
    height: 480px;
    width: 100%;
    box-shadow: 12px 12px 0 var(--action-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background-color: #000;
}

.modern-card:hover {
    transform: translate(5px, 5px);
    box-shadow: 7px 7px 0 var(--action-red);
}

.modern-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modern-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 18, 101, 0.50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.modern-card-title {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.5rem;
    line-height: 1.4;
    margin-bottom: 35px;
}

.btn-modern-white {
    background-color: #ffffff;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.65rem;
    padding: 12px 25px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-modern-white:hover {
    background-color: #e6e6e6;
    color: var(--action-red);
}

.synergy-gradient-bar {
    position: relative;
    background: linear-gradient(90deg, rgba(34, 18, 101, 1) 0%, rgba(89, 40, 115, 1) 50%, rgba(203, 21, 32, 1) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.synergy-gradient-bar h4 {
    color: #ffffff !important;
    font-size: 1.4rem;
}

.text-primary-blue {
    color: var(--primary-blue);
}


/* =========================================
    5. ACTUALITÉS & PUBLICATIONS
========================================= */

.section-title-dark {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: capitalize;
}

.news-item {
    margin-bottom: 30px;
}

.news-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-excerpt {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.news-meta i {
    color: #999;
}

.pub-item {
    padding-bottom: 20px;
}

.pub-title {
    font-weight: 600;
    color: #000;
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.pub-authors {
    color: var(--primary-blue);
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: underline;
    line-height: 1.5;
}

.pub-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border: 2px solid var(--action-red);
    border-radius: 4px;
    color: var(--action-red);
    text-decoration: none;
    transition: all 0.3s;
}

.pub-icon-link:hover {
    background-color: var(--action-red);
    color: white;
}

.btn-pub-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 35px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

.btn-pub-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}


/* =========================================
    6. FOOTER
========================================= */
footer {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 50px 0;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-brand img.logo-white {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-main-title {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: capitalize;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--action-red);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--action-red);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* =========================================
    7. STYLES SPÉCIFIQUES
========================================= */

/* Pages Équipes */
.team-section-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.team-text {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.team-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.team-link:hover {
    color: var(--action-red);
}

.hero-small {
    min-height: 50vh;
    padding-bottom: 0;
}

.text-justify {
    text-align: justify;
    line-height: 1.8;
}

/* Page Partenariats */
.partner-logo {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

/* Page Contact */
.contact-info-card {
    border-radius: 4px;
    border-left: 5px solid #3AB5E7;
}

.contact-heading {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #3AB5E7;
    display: inline-block;
    margin-bottom: 0;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.contact-form-card {
    border-radius: 4px;
    border-top: 5px solid #3AB5E7;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary-blue);
    opacity: 0.8;
}

.form-control:focus {
    border-color: #3AB5E7;
    box-shadow: 0 0 0 0.25rem rgba(58, 181, 231, 0.25);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--action-red);
    border-color: var(--action-red);
}

/* Page Publications */
.hero-medium {
    min-height: 50vh;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form .form-control {
    border: none;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-form .btn-white {
    background-color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.3rem;
}

.filter-toggle {
    background-color: #b7b3ce;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
}

.filter-toggle:hover {
    background-color: var(--primary-blue);
    color: white;
}

.filter-toggle.active {
    background-color: #938db5;
    color: var(--primary-blue);
    font-weight: 700;
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.pub-thumbnail {
    width: 120px;
    min-width: 120px;
}

.thumb-placeholder {
    width: 100%;
    height: 160px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
}

.pub-item-title {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.4;
}

.pub-item-title a:hover {
    color: var(--action-red) !important;
}

.pub-item-authors {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

.pub-item-citation {
    font-style: italic;
    font-size: 0.95rem;
    color: #777;
}

.pagination .page-link {
    padding: 0.6rem 0.9rem;
    font-size: 1.1rem;
}

.pagination .page-item.active .page-link {
    text-decoration: underline;
}

.form-check-label {
    cursor: pointer;
}

.publication-card {
    transition: transform 0.2s;
}

.publication-card:hover {
    transform: translateY(-2px);
}

.filter-badge {
    background-color: #0d6efd;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.filter-badge a {
    color: white;
    margin-left: 8px;
    text-decoration: none;
    font-weight: bold;
}

.filter-badge a:hover {
    opacity: 0.8;
}

/* --- MENU MOBILE --- */
@media (max-width: 1199.98px) {
    #navbarNav {
        background-color: #221265 !important;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    }

    #navbarNav .nav-link,
    #navbarNav .dropdown-item {
        color: #ffffff !important;
        text-align: center;
    }

    #navbarNav .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
}

/* =========================================
    8. NOUVEAU STYLE ORGANIGRAMME
========================================= */

.org-header-badge {
    background-color: #D35400;
    color: white;
    padding: 14px 45px;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.org-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.org-accordion-item {
    border: none;
    background: transparent;
}

.org-accordion-button {
    background-color: #ffffff;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 10px !important;
    padding: 22px 30px;
    font-weight: 500;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 1.05rem;
}

.org-accordion-button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

.org-accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.org-icon-arrow {
    color: #D35400;
    margin-right: 15px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.org-accordion-button:not(.collapsed) .org-icon-arrow {
    transform: rotate(90deg);
}

.org-accordion-body {
    background-color: #ffffff;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    border-top: 2px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.org-accordion-button::after {
    display: none;
}

.hover-card {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-3px);
    background-color: #f8f9fa !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    position: relative;
    z-index: 10;
}

.card-responsable {
    padding-left: 1rem !important;
}

/* =========================================
    9. WIDGET INFO LATÉRAL 
========================================= */

#info-widget {
    position: fixed;
    top: 20%;
    width: 370px;
    right: -320px;
    z-index: 99999;
    transition: right 0.4s ease-in-out;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: flex-start;
}

#info-widget.open {
    right: 0 !important;
}

.widget-toggle-btn {
    width: 50px;
    height: 50px;
    background-color: #CB1520;
    color: white;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.widget-toggle-btn i {
    transition: transform 0.4s;
}

#info-widget.open .widget-toggle-btn i {
    transform: rotate(180deg);
}

.widget-content {
    background-color: #221265;
    color: white;
    padding: 25px;
    width: 320px;
    flex-shrink: 0;
    border-radius: 0 0 0 5px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.widget-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-row i {
    font-size: 1.5rem;
    color: #CB1520;
    width: 30px;
    text-align: center;
}

.widget-data {
    display: flex;
    flex-direction: column;
}

.widget-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 600;
}

.widget-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.admin-stats {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    border-left: 3px solid #CB1520;
}

/* =========================================
    10. MISE EN PAGE GLOBALE
========================================= */

.site-main-content {
    width: 66.66%;
    margin: 0 auto;
    padding: 40px 0;
    min-height: 60vh;
}

@media (max-width: 1200px) {
    .site-main-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .site-main-content {
        width: 100%;
        padding: 20px 15px;
    }
}

/* =========================================
    11. STYLE PAGES PROJETS
========================================= */

.project-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.project-logo-col {
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid #f0f0f0;
    min-height: 200px;
}

.project-logo {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.project-acronym {
    color: var(--action-red);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.project-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-meta {
    font-size: 1rem;
    color: #555;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.project-meta strong {
    color: var(--primary-blue);
}

.project-years {
    background-color: var(--primary-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    float: right;
    margin-left: 10px;
}

/* =========================================
    12. STYLE PAGES PROJET-detail
========================================= */

.project-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.project-ref-badge {
    background-color: var(--action-red);
    color: white;
    padding: 6px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.sidebar-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-top: 4px solid var(--primary-blue);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.meta-item {
    margin-bottom: 15px;
}

.meta-label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 3px;
}

.meta-value {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* =========================================
    13. AJUSTEMENTS MOBILES (Responsive)
========================================= */

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    #info-widget {
        top: auto;
        bottom: 20px;
        width: 100%;
        max-width: 320px;
        right: -270px;
    }

    .widget-content {
        width: 270px;
    }

    .project-logo-col {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        min-height: auto;
        padding: 15px;
    }

    .project-years {
        float: none;
        display: inline-block;
        margin-left: 0;
        margin-top: 5px;
    }

    .sidebar-box {
        position: static;
        margin-top: 30px;
    }

    .project-header {
        padding: 40px 0 30px;
    }

    .modern-card {
        height: auto;
        min-height: 350px;
    }

    .banner-header-container {
        height: auto;
        padding: 20px 10px;
    }

    .banner-nav {
        display: none;
    }
}

/* =========================================
    14. PAGE MEMBRE-DETAIL
========================================= */

.profile-section {
    max-width: 900px;
    margin: 0 auto;
}

.profile-modern-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    height: 100%;
    padding: 2rem;
}

.profile-modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.accent-border-left {
    border-left: 5px solid var(--primary-blue);
}

.accent-border-left-red {
    border-left: 5px solid var(--action-red);
}

.accent-border-left-green {
    border-left: 5px solid #198754;
}

.status-badge {
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.nom-style {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    color: #212529;
    margin-right: 8px;
}

.prenom-style {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* =========================================
    15. DESIGN ACTUALITÉS (MINIMALISTE)
========================================= */

.news-card-minimal {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.news-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--action-red));
}

.news-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 18, 101, 0.15);
}

.news-date-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--action-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.news-title-design {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.news-card-minimal:hover .news-title-design {
    color: var(--action-red);
}

.news-excerpt-design {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more-link:hover {
    color: var(--action-red);
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* =========================================
    16. DETAIL ACTUALITE
========================================= */

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    font-size: 0.95rem;
    color: #6c757d;
    border-left: 4px solid var(--action-red);
    padding-left: 15px;
    margin-bottom: 20px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.article-img {
    display: block;
    width: 100%;
    max-width: 50%;
    height: auto;
    margin: 30px auto 30px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
    17. AMÉLIORATION DU RYTHME (INDEX)
========================================= */

.bg-gray-alt {
    background-color: #f4f6f9 !important;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.divider-custom {
    height: 4px;
    width: 60px;
    background-color: var(--action-red);
    margin-bottom: 3rem;
    border-radius: 2px;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

.divider-left {
    margin-left: 0;
}

.shadow-section {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

/* =========================================
    18. HEADER ELEMENTS DROITE
========================================= */

.urca-logo-header {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.urca-logo-header:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.social-icon-header {
    color: #ffffff;
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon-header:hover {
    color: #0077b5;
    transform: translateY(-2px);
}

.vertical-sep {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.4);
}

.banner-header-container.scrolled .urca-logo-header {
    height: 35px;
}

.banner-header-container.scrolled .social-icon-header {
    font-size: 1.5rem;
}

/* =========================================
    19. ESPACEMENT MENUS DÉROULANTS
========================================= */

.dropdown-menu .dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
}