/* ============================================================
			   TABLE DES MATIERES CSS
			   ============================================================
			   1. VARIABLES CSS
			   2. RESET & BASE
			   3. TYPOGRAPHIE
			   4. LAYOUT & CONTENEURS
			   5. COMPOSANTS
			      5.1 Logo Sticky
			      5.2 Header Desktop
			      5.3 Header Scrolled (Pilule)
			      5.4 Navigation & Dropdowns
			      5.5 Boutons
			      5.6 Content Boxes
			   6. SECTIONS
			      6.1 Hero
			      6.2 About
			      6.3 Key Figures
			      6.4 Expertise (Small Cap, Infrastructure)
			      6.5 ESG Commitments
			      6.6 Locations Interactive
			      6.7 News/Actualites
			   7. FOOTER
			   8. UTILITAIRES
			   9. SCROLL TO TOP
			   10. RESPONSIVE DESKTOP (min-width: 769px)
			   11. RESPONSIVE MOBILE (max-width: 768px)
			       11.1 Layout Mobile
			       11.2 Bottom Nav Bar
			       11.3 Menu Mobile Fullscreen
			       11.4 Sections Mobile
			       11.5 Footer Mobile
			   ============================================================ */

/* ========== 1. VARIABLES CSS ========== */
/* Variables centralisees dans /assets/css/variables.css */

/* ========== 2. BASE ========== */
* { font-family: "Inter", sans-serif; }
body { font-size: 1rem; }
b, strong { font-weight: 500 !important; }

/* ========== 3. TYPOGRAPHIE ========== */
/* Label de catégorie */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.title-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

/* ========== 4. LAYOUT ========== */
.section-padding { padding: 120px 0; }
.container-narrow { max-width: 700px; }
.container-medium { max-width: 800px; }

/* ========== 5. COMPOSANTS ========== */

/* 5.1 Logo Sticky - Mix Blend Mode */
.logo-sticky {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 10000;
    mix-blend-mode: difference;
}

.logo-sticky a {
    display: block;
}

.logo-sticky img {
    height: 90px;
    /* Force le logo à être blanc pur pour que mix-blend-mode: difference fonctionne */
    filter: brightness(0) invert(1);
}

/* Ellipse cachée sur desktop */
.logo-blur-ellipse {
    display: none;
}

/* 5.2 Header Desktop */
.header-finale {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9999;
    height: var(--header-height);
    padding: 0 50px;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
}

.header-finale .header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.header-finale .lang-switcher {
    position: absolute;
    right: 0;
    color: white;
    font-size: 13px;
    top: 33px;
    transition: color 0.3s ease;
}
.header-finale.bg-white .lang-switcher {

    top: 32px;
}

.header-finale nav .main-nav {
    display: flex;
    gap: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: gap 0.4s ease;
}

.header-finale nav a {
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header-finale nav a:hover {
    color: var(--color-secondary);
}

.header-finale .lang-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.header-finale .lang-btn.active {
    color: var(--color-secondary);
}

.header-finale .lang-separator {
    margin: 0 5px;
}

/* 5.3 Header Scrolled State - Floating Pilule */
.header-finale.scrolled {
    top: 20px;
    width: 70%;
    max-width: 900px;
    height: var(--header-height-scrolled);
    padding: 0 40px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.header-finale.scrolled .header-inner {
    justify-content: flex-start;
}

.header-finale.scrolled nav {
    flex: 1;
}

.header-finale.scrolled nav .main-nav {
    justify-content: flex-start;
    gap: 25px;
}

.header-finale.scrolled nav a {
    color: var(--soft-black);
    text-shadow: none;
}

.header-finale.scrolled nav a:hover {
    color: var(--color-secondary);
}

.header-finale.scrolled .lang-switcher {
    color: var(--soft-black);
}

/* Dropdown Submenus */
.header-finale nav li {
    position: relative;
}

.header-finale nav .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header-finale nav li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.header-finale nav .submenu li {
    padding: 0;
    margin: 0;
    line-height: 1;
}

.header-finale nav .submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--soft-black) !important;
    text-shadow: none !important;
    font-size: 12px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.header-finale nav .submenu a:hover {
    background-color: rgba(224, 112, 32, 0.1);
    color: var(--color-secondary) !important;
}

/* Flèche indicateur sous-menu */
.header-finale nav li.has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
}

/* Parent items with submenu - not clickable (desktop) */
.header-finale nav li.has-submenu > a {
    pointer-events: none;
    cursor: default;
}

/* But the submenu items remain clickable */
.header-finale nav .submenu a {
    pointer-events: auto;
    cursor: pointer;
}

/* État scrolled - ajuster le style */
.header-finale.scrolled nav .submenu {
    margin-top: 10px;
}

/* 5.3 Hero */
.vimeo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.vimeo-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77777778vh;
    min-width: 100%;
    height: 100vh;
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-glass-card {
    background: rgba(26, 26, 46, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
}

.hero-glass-card h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

/* Dégradé noir en haut du hero (sous le header) */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%
    );
    z-index: 5;
    pointer-events: none;
}

/* 5.4 Boutons */
.btn-primary {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 89, 54, 0.35);
    background-color: var(--color-secondary-warm);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(209, 89, 54, 0.25);
}

.btn-small {
    padding: 0.2rem 0.7rem !important;
    gap: 0.5rem !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    font-size: 13px !important;
}
.btn-small:before {
    display: none !important;
}

body .btn-medium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-secondary);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
body .btn-medium:before{
    display: none
}



/* 5.5 Content boxes */
.content-box {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    max-width: 500px;
}

/* ESG Glass Card */
.esg-glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
}

/* ========== 6. SECTIONS ========== */
.section-intro {

    font-size: clamp(1rem, 1.3vw, 2.2rem)
}
/* 6.1 Key Figures */
#key-figures {
    background: url(/uploads/site/assets/section-2.jpg) no-repeat center;
    background-size: cover;
    padding: 40px 0;
}

#key-figures .container {
    max-width: 1500px !important;
}

#key-figures .single-group {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid white;
    border-radius: 50%;
    max-width: var(--keyfigures-circle-size);
    padding: 20px 40px;
    height: 260px;
    flex-basis: var(--keyfigures-circle-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: skewX(5deg) skewY(-10deg);
}

#key-figures .single-group > * {
    transform: skewX(-5deg) skewY(10deg);
}

#key-figures .counter {
    font-size: 60px;
    font-weight: bold;
    color: white !important;
    margin-top: 30px;
}

#key-figures h4 {
    line-height: 1.2;
    color: white;
    height: 70px;
    font-size: 14px;
    font-weight: 300;
    margin-top: 10px;
}

/* 6.2 News */
.article > div.container.mx-auto {
    margin-top: -40px;
}

.article > div:nth-child(even) {
    background: transparent;
}

.mycontent #news {
    display: none;
}

#news {
    position: relative;
    margin-top: -200px;
    z-index: 30;
}

/* News article titles - section-intro style */
.news-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--soft-black);
    text-decoration: none;
}

.news-title:hover {
    color: var(--color-secondary);
}

/* News photos rounded corners */
#actualites .h-48 {
    border-radius: 15px;
    overflow: hidden;
}

/* ========== 7. UTILITAIRES ========== */

/* Backgrounds de section */
.bg-cover-center {
    background-size: cover;
    background-position: center;
}

.bg-section-about {
    background-image: url(/uploads/site/assets/section-1.jpg);
}

/* ========== SECTION ABOUT ========== */
.about-content {
    max-width: 750px;
}

.about-content .section-body {
    margin-bottom: 0;
}

.about-content .btn-primary {
    display: inline-flex;
    margin-top: 1.5rem;
}

/* ========== SECTIONS EXPERTISE (Small Cap & Infrastructure) ========== */
#small-cap-buyouts .order-2.md\:order-1,
#infrastructure .order-2.md\:order-1 {
    display: flex;
    align-items: center;
    justify-content: center !important;
}

#small-cap-buyouts .my-body,
#infrastructure .my-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem !important;
    max-width: 550px;
    margin: 0 auto;
}

#small-cap-buyouts .my-body .px-4,
#infrastructure .my-body .px-4 {
    padding: 0 !important;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#small-cap-buyouts .section-title,
#infrastructure .section-title {
    text-align: left;
}

#small-cap-buyouts .section-intro,
#infrastructure .section-intro {
    text-align: left;
}

#small-cap-buyouts .section-body,
#infrastructure .section-body {
    text-align: left;
}

#small-cap-buyouts .btn-primary,
#infrastructure .btn-primary {
    align-self: flex-start;
}

/* ========== STYLES TEXTE RÉUTILISABLES ========== */
/* Titre de section */
.section-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Paragraphe d'introduction (en gras) */
.section-intro {
    margin-bottom: 1.5rem;
}

.section-intro strong {
    font-weight: 500;
}

/* Corps de texte */
.section-body {
    line-height: 1.2;
    margin-bottom: 2rem;
}

.bg-section-keyfigures {
    background-image: url(/uploads/site/assets/section-2.jpg);
}

.bg-section-smallcap {
    background-image: url(/uploads/site/assets/img3-Small-Cap-Buy-Outs.jpg);
}

.bg-section-infra {
    background-image: url(/uploads/site/assets/Infrastructure.jpg);
}

.bg-section-esg {
    background-image: url(/uploads/site/assets/section-3.jpg);
}

.bg-section-locations {
    background: url(/uploads/site/assets/parallaxe-contact.jpg?v=2) center bottom / cover no-repeat;
    position: relative;
    min-height: 850px;
}

#locations .text-center.mb-12 {
    margin-top: -50px;
}

/* ========== 8. FOOTER ========== */
#footer {
    background: #1a1a2e;
}

#footer a {
    color: white;
}

#footer .subchild {
    display: block !important;
    position: static !important;
    padding-top: 0.5rem;
}

#footer .subchild li {
    background: transparent !important;
    padding: 5px 0 !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

#footer .subchild a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
}

#footer .subchild a:hover {
    color: white !important;
}

#footer #nav-menu > li > a {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Footer baseline */
.footer-baseline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.footer-baseline-links {
    display: flex;
    gap: 2rem;
}

.footer-baseline a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-baseline a:hover {
    color: white;
}

/* Social icons - reduced size by 25% */
#socials a {
    width: 52px !important;
    height: 52px !important;
    font-size: 21px !important;
    margin: 0 8px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    background: white !important;
    color: var(--soft-black) !important;
    border-radius: 50% !important;
}

#socials a:hover {
    background: var(--color-secondary) !important;
    color: white !important;
}

#footer #socials {
    text-align: left;
}

#footer #socials li {
    display: inline-block;
}

/* Footer layout */
.footer-main {
    display: flex;
    gap: 4rem;
    padding: 3rem 0;
}

.footer-left {
    flex: 0 0 300px;
}

.footer-right {
    flex: 1;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 1.5rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-contact strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

/* Cookie banner - bottom left + opacity */
#tarteaucitronAlertSmall,
#tarteaucitronIcon {
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    opacity: 0.75 !important;
}

/* Footer nav in columns */
#footer #nav-menu {
    justify-content: flex-start;
    gap: 0;
    width: 100%;
}

#footer #nav-menu .menu-root {
    flex: 1;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-baseline {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-baseline-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-left {
        flex: none;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1.5rem;
    }

    #footer #nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========== 9. SCROLL TO TOP BUTTON ========== */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(209, 89, 54, 0.3);
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(209, 89, 54, 0.4);
}

@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========== 10. LOCATIONS INTERACTIVE ========== */
/* Main container */
.locations-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    min-height: 300px;
    position: relative;
}

/* Left image zone - aligned to separator */
.locations-image-zone {
    position: absolute;
    right: 50%;
    top: calc(50% - 95px);
    width: 300px;
    height: 240px;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    z-index: 5;
}

.locations-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.city-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
    border-radius: 15px 0 0 15px;
}

.city-image.active {
    transform: translateX(0);
    opacity: 1;
}

/* Vertical purple separator - centered */
.locations-separator {
    width: 4px;
    height: 358px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 45px));
    z-index: 10;
}

/* Desktop reset - force styles on resize from mobile */
@media (min-width: 769px) {
    .locations-separator {
        display: block !important;
        position: absolute !important;
        width: 4px !important;
        height: 358px !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, calc(-50% + 45px)) !important;
    }
}

/* Right city list */
.locations-cities {
    position: absolute;
    left: calc(50% + 40px);
    top: calc(50% + 30px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 15;
}

.locations-cities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.locations-cities li {
    margin-bottom: 1rem;
}

.locations-cities li:last-child {
    margin-bottom: 0;
}

.city-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--soft-black);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.city-link:hover,
.city-link.active {
    color: var(--color-secondary);
    transform: translateX(10px);
}

/* ========== 12. MEDIA QUERIES ========== */
@media (max-width: 768px) {
    /* Logo */
    .logo-sticky {
        top: 15px;
        left: 15px;
    }

    .logo-sticky img {
        height: 50px;
    }

    /* Header */
    .header-finale {
        padding: 15px 20px;
    }

    .header-finale .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-finale nav {
        display: none;
    }

    .header-finale.scrolled {
        padding: 12px 20px;
        width: 95%;
    }

    /* Hero */
    .hero-glass-card {
        padding: 25px;
        margin: 15px;
        border-radius: 20px;
    }

    .hero-glass-card h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    /* Key Figures */
    #key-figures .single-group {
        max-width: 220px;
        height: 180px;
        flex-basis: 220px;
        padding: 10px 20px;
    }

    #key-figures .counter {
        font-size: 36px;
    }

    #key-figures h4 {
        font-size: 11px;
        height: auto;
    }

    /* Content box */
    .content-box {
        padding: 1.5rem;
        max-width: 100%;
    }

    /* Locations responsive */
    .locations-container {
        flex-direction: column;
        min-height: auto;
    }

    .locations-image-zone {
        position: relative;
        width: 100%;
        height: 150px;
        top: auto;
        left: auto;
        transform: none;
        border-radius: 15px 15px 0 0;
    }

    .locations-separator {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 4px;
    }

    .locations-cities {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 2rem 0;
        text-align: center;
    }

    .locations-cities ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }

    .locations-cities li {
        margin-bottom: 0;
    }

    .city-link {
        font-size: 18px;
    }

    .city-link:hover,
    .city-link.active {
        transform: translateX(0) scale(1.05);
    }
}

/* Desktop: masquer éléments mobile */
@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-menu-overlay,
    .mobile-bottom-nav,
    .mobile-menu-backdrop,
    .mobile-menu-bottom,
    .mobile-menu-blur,
    .logo-blur-ellipse {
        display: none !important;
    }
}

/* ========== 11. RESPONSIVE MOBILE (max-width: 768px) ========== */
@media (max-width: 768px) {

    /* Fix horizontal scroll on mobile */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }

    body {
        touch-action: pan-y pinch-zoom;
    }

    #hero {
        overflow: hidden !important;
        max-width: 100vw !important;
        touch-action: pan-y;
    }

    #hero .vimeo-container {
        overflow: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    #hero .vimeo-iframe {
        max-width: none;
        touch-action: none;
    }

    /* 11.1 BOTTOM NAV BAR */
    nav.mobile-bottom-nav,
    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: var(--mobile-nav-height) !important;
        background: transparent !important;
        z-index: 10003 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
    }

    .mobile-bottom-nav::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(30px);
        backdrop-filter: blur(30px);
        z-index: -1;
    }

    .mobile-nav-burger {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--color-secondary);
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .mobile-nav-burger:active {
        transform: scale(0.95);
    }

    .mobile-nav-burger .burger-bar {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-nav-burger.active .burger-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .mobile-nav-burger.active .burger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-burger.active .burger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hide old header and scroll-to-top on mobile */
    .header-finale { display: none !important; }
    #scroll-to-top { display: none !important; }
    .mobile-menu-overlay { display: none !important; }
    .mobile-menu-btn { display: none !important; }
    .mobile-nav-scroll-top { display: none !important; }

    /* Body padding for bottom nav */
    body { padding-bottom: var(--mobile-nav-height); }

    /* Prevent scroll when menu open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* 2. LOGO CENTERED AT TOP */
    .logo-sticky {
        position: fixed;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
    }

    /* Dégradé noir en haut - SOUS le logo */
    .logo-blur-ellipse {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 150px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
        z-index: 10000 !important;  /* Entre le contenu et le logo (10001) */
        pointer-events: none;
    }

    .logo-sticky a {
        position: relative;
        z-index: 1;
        display: block;
    }

    .logo-sticky img {
        height: 80px;
        filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    /* Hide logo when menu is open (logo is in menu) */
    body.mobile-menu-open .logo-sticky {
        opacity: 0;
        visibility: hidden;
    }

    /* 3. MENU BACKDROP */
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .mobile-menu-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

    /* 11.2 MENU BLUR (backdrop-filter compatibility) */
    .mobile-menu-blur {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: var(--mobile-nav-height);
        background: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(30px);
        backdrop-filter: blur(30px);
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .mobile-menu-blur.open {
        opacity: 1;
        visibility: visible;
    }

    /* 11.3 FULLSCREEN MENU */
    .mobile-menu-bottom {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: var(--mobile-nav-height);
        background: transparent;
        z-index: 10002;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        overflow-y: auto;
        padding: 10px var(--mobile-margin) 30px 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .mobile-menu-bottom.open {
        transform: translateY(0);
    }

    /* Hide close button (X) - using burger as close */
    .mobile-menu-close {
        display: none !important;
    }

    /* Logo en haut du menu mobile */
    .mobile-menu-logo {
        display: block;
        text-align: center;
        padding: 20px 0 30px;
        margin-bottom: auto;
    }

    .mobile-menu-logo img {
        height: 80px;
        filter: brightness(0) invert(1);
        margin: auto;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    /* Chaque item avec submenu utilise flex-direction column-reverse */
    .mobile-menu-list > li {
        border-top: 1px solid rgba(255,255,255,0.1);
        display: flex;
        flex-direction: column-reverse;
    }
    .mobile-menu-list > li:first-child {
        border-top: none;
    }
    .mobile-menu-list > li > a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 0;
        color: white;
        font-size: 18px;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.05em;
    }

    .menu-link-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        min-height: 44px;
        padding: 8px 0;
    }

    .menu-link-wrapper.submenu-trigger {
        cursor: pointer;
    }

    .menu-label {
        color: white;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.05em;
        flex: 1;
    }

    /* Submenu arrow */
    .submenu-arrow {
        width: 28px;
        height: 28px;
        color: white;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .menu-link-wrapper.open .submenu-arrow {
        transform: rotate(-90deg);
    }

    /* Submenus (expand upward - above parent item) */
    .mobile-submenu {
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
    }
    .mobile-submenu.open {
        max-height: 500px;
    }
    .mobile-submenu li a {
        display: block;
        padding: 15px 20px;
        font-size: 15px;
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .mobile-submenu li a:hover {
        color: var(--color-secondary);
    }

    /* Language switch in menu - at the very bottom */
    .mobile-lang-switch {
        padding: 15px 0;
        text-align: center;
        order: 1;
    }
    .mobile-lang-switch .lang-btn {
        background: none;
        border: none;
        color: white;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        padding: 10px 20px;
    }
    .mobile-lang-switch .lang-btn.active {
        color: var(--color-secondary);
    }
    .mobile-lang-switch .lang-separator {
        color: rgba(255,255,255,0.3);
    }

    /* 11.4 SYSTEMATIC MARGINS (7.5% each side = 15% total) */
    .container,
    .mx-auto {
        padding-left: var(--mobile-margin) !important;
        padding-right: var(--mobile-margin) !important;
    }

    /* Hero section */
    #hero .container {
        padding-left: var(--mobile-margin);
        padding-right: var(--mobile-margin);
    }

    #hero .flex.items-center {
        padding-bottom: 100px;
    }

    .hero-glass-card {
        margin: 0;
        max-width: 100%;
        padding: 25px;
        border-radius: 20px;
    }

    /* Move scroll indicator up */
    #hero .scroll-indicator-new {
        bottom: 180px !important;
    }

    /* About section */
    #about {
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #e8e4df;
        background-position: center top !important;
        background-size: cover !important;
        position: relative;
    }

    #about .container {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    /* Key figures - centered */
    #key-figures .container {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    #key-figures .flex {
        justify-content: center;
        align-items: center;
    }

    #key-figures .single-group {
        width: 300px;
        min-width: 300px;
        height: 270px;
        flex-basis: 270px;
        flex-shrink: 0;
        padding: 10px 15px;
        aspect-ratio: 1;
    }

    #key-figures .counter {
        font-size: 50px;
        margin-top: 10px;
    }

    #key-figures h4 {
        font-size: 16px;
        height: auto;
    }

    /* Small Cap & Infrastructure - images FULL WIDTH sans aucune marge */
    #small-cap-buyouts,
    #infrastructure {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }

    /* Reset ALL containers between section and image */
    #small-cap-buyouts > div,
    #infrastructure > div,
    #small-cap-buyouts .mx-auto,
    #infrastructure .mx-auto,
    #small-cap-buyouts .repositionnement,
    #infrastructure .repositionnement,
    #small-cap-buyouts .padding-mobile,
    #infrastructure .padding-mobile,
    #small-cap-buyouts .grid,
    #infrastructure .grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #small-cap-buyouts .grid,
    #infrastructure .grid {
        gap: 0 !important;
    }

    /* Image container - zero margin/padding */
    #small-cap-buyouts .my-image,
    #infrastructure .my-image {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #small-cap-buyouts .my-image > div,
    #infrastructure .my-image > div {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 300px !important;
    }

    /* Image itself - full width, no margin */
    #small-cap-buyouts .my-image img,
    #infrastructure .my-image img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        display: block !important;
    }

    #small-cap-buyouts .my-body,
    #infrastructure .my-body {
        padding: 25px !important;
        margin: 0 7.5%;
        max-width: calc(100% - 15%);
    }

    /* ESG commitments */
    #esg-commitments .container {
        padding-left: 7.5% !important;
        padding-right: 7.5% !important;
    }

    #esg-commitments .content-box {
        margin: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px !important;
        box-sizing: border-box !important;
    }

    /* Locations */
    #locations .container {
        padding-left: 7.5%;
        padding-right: 7.5%;
        padding-top: 60px;
    }

    .locations-container {
        flex-direction: column;
        min-height: auto;
    }

    .locations-image-zone {
        position: relative;
        width: 100%;
        height: 280px;
        top: auto;
        right: auto;
        border-radius: 15px;
        margin-bottom: 30px;
    }

    .city-image {
        border-radius: 15px;
    }

    .locations-separator {
        display: none;
    }

    /* City selector with capsules */
    .locations-cities {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 0;
        width: 100%;
    }

    .locations-cities ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .locations-cities li {
        margin-bottom: 0;
    }

    .city-link {
        font-size: 12px;
        font-weight: 600;
        padding: 12px 20px;
        border-radius: 50px;
        background: transparent;
        color: #1a1a2e;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .city-link:hover {
        transform: none;
        background: transparent;
    }

    .city-link.active {
        background: var(--color-secondary);
        color: white;
        transform: none;
    }

    /* News section - remontée de 150px */
    #news {
        margin-top: -150px;
    }

    #news {
        padding-left: 7.5% !important;
        padding-right: 7.5% !important;
    }

    #news .container,
    #news .full-width {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #actualites {
        padding-left: 0 !important;
        padding-right: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        max-width: 100% !important;
    }

    #actualites > div {
        width: 100% !important;
    }

    #actualites .h-48 {
        width: 100% !important;
    }

    /* Footer */
    footer .container {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-left {
        flex: none;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1.5rem;
    }

    #footer #socials {
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px !important;
    }

    #footer #socials li {
        display: inline-block;
    }

    #footer #nav-menu {
        display: none;
    }

    /* Reduce footer spacing */
    .footer-main {
        padding-bottom: 15px;
    }

    .footer-left {
        padding-bottom: 0;
    }

    #footer .footer-copy {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Content boxes */
    .content-box {
        padding: 25px !important;
        max-width: 100%;
    }

    /* Section titles on mobile */
    .section-title {
        font-size: 28px;
    }

    /* ===== ALIGNEMENT GLOBAL DES BOUTONS ===== */

    /* Reset des conteneurs pour alignement cohérent */
    .about-content,
    #small-cap-buyouts .my-body,
    #infrastructure .my-body,
    #esg-commitments .content-box,
    .hero-glass-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Tous les boutons alignés à gauche avec la même marge */
    .btn-primary {
        font-size: 14px;
        padding: 0.875rem 1.5rem;
        margin-left: 0 !important;
        align-self: flex-start !important;
    }

    /* Supprimer padding interne qui décale les boutons */
    #small-cap-buyouts .my-body .px-4,
    #infrastructure .my-body .px-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* S'assurer que les conteneurs ont le bon padding */
    #small-cap-buyouts .my-body,
    #infrastructure .my-body {
        padding-left: 7.5% !important;
        padding-right: 7.5% !important;
        margin: 0 0 40px 0 !important ;
        max-width: 100% !important;
    }

    /* Scroll indicator in hero - adjust for bottom nav */
    .scroll-indicator-new {
        bottom: 100px !important;
    }

    /* Move tarteaucitron cookie banner to left inside bottom bar */
    #tarteaucitronAlertSmall,
    #tarteaucitronIcon {
        left: 0 !important;
        right: auto !important;
        bottom: 30px !important;
        z-index: 10004 !important;
    }

    /* Show scroll-to-top button in bottom nav */
    .mobile-nav-scroll-top {
        display: flex !important;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.3);
        color: white;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        position: absolute;
        right: 25px;
    }

    .mobile-nav-scroll-top:hover,
    .mobile-nav-scroll-top:active {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.5);
    }
}