@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.lc-custom-header {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    width: 100%;
    z-index: 999;
    padding: 0 15px 0 15px;
}

/* ================== TOP BAR (Jaune) ================== */
.lc-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500; /* Allégé (Medium) */
    max-width: 1600px;
    margin: 0 auto 12px auto;
    border-radius: 8px;
}

.lc-top-bar__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lc-top-bar__logo-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lc-top-bar__logo-link:hover {
    opacity: 0.8;
}

.lc-top-bar__logo {
    max-height: 35px;
    width: auto;
}

.lc-top-bar__right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lc-top-bar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600; /* Semi-bold */
}

.lc-top-bar__link {
    text-decoration: none;
    transition: opacity 0.3s;
}

.lc-top-bar__link:hover {
    opacity: 0.8;
}

/* ================== MAIN BAR (Blanche) ================== */
.lc-main-bar {
    max-width: 1200px; 
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: background-color 0.3s ease;
}

.lc-main-bar.is-fixed-sticky {
    position: fixed;
    top: 20px !important;
    left: 50%; 
    width: calc(100% - 30px); 
    max-width: 1200px; 
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: popDown 0.4s ease forwards;
}

@keyframes popDown {
    from { 
        transform: translate(-50%, -40px);
        opacity: 0; 
    }
    to { 
        transform: translate(-50%, 0);
        opacity: 1; 
    }
}

.lc-main-bar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 75px;
}

/* --- Burger Mobile --- */
.lc-burger-btn {
    display: none;
    background: #111;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.lc-burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #FFF;
    border-radius: 2px;
}

.lc-main-bar__logo img {
    max-height: 60px;
    width: auto;
}

/* --- Navigation Desktop --- */
.lc-main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.lc-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.lc-nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 75px;
}

.lc-nav-menu > li > a {
    text-decoration: none;
    font-weight: 500; /* Allégé (Medium) pour plus de finesse */
    font-size: 15px; 
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.lc-nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 5px;
}

.lc-nav-menu > li:hover > a {
    background-color: #F4F5F7;
}

/* --- Sous-menus Desktop --- */
.lc-nav-menu .sub-menu {
    position: absolute;
    top: 90px;
    left: 0;
    background: #FFFFFF;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.lc-nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.lc-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lc-nav-menu .sub-menu li a {
    display: block;
    padding: 10px 25px;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 400; /* Normal */
    font-size: 14px;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.lc-nav-menu .sub-menu li a:hover {
    background-color: #F4F5F7;
    color: #F4A600 !important;
}

/* --- Bouton CTA --- */
.lc-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600; /* Semi-bold */
    font-size: 15px; 
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}

.lc-header-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ================== MOBILE MENU ================== */
.lc-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-x: hidden;
    overflow-y: auto;
}

.lc-mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.lc-mobile-menu-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header du menu mobile (Croix + Logo) */
.lc-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 50px;
}

.lc-mobile-close {
    position: absolute;
    left: 0;
    background: #000;
    color: #FFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lc-mobile-logo-link {
    display: flex;
    align-items: center;
}

.lc-mobile-logo {
    max-height: 40px;
}

.lc-mobile-nav-container {
    flex-grow: 1;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 30px;
}

.lc-mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lc-mobile-nav-menu li {
    position: static;
    border: none;
}

.lc-mobile-nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 18px; /* Légèrement réduit pour l'élégance */
    font-weight: 500; /* Medium (Allégé) */
    color: #000;
    text-decoration: none;
}

.lc-mobile-nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    transform: rotate(45deg); 
}

/* ================== LE SOUS MENU (NOUVELLE PAGE) ================== */
.lc-mobile-nav-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100%;
    background: #FFFFFF; 
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none;
    
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.lc-mobile-nav-menu .sub-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.lc-mobile-nav-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500; /* Medium (Allégé) */
    color: #000;
    text-decoration: none;
}

/* Style du bouton "Retour" */
.lc-mobile-nav-menu .lc-mobile-back-btn a {
    color: #000;
    gap: 12px;
    font-size: 15px;
    font-weight: 500; /* Allégé également */
    padding-top: 0;
    padding-bottom: 30px; 
}
/* ================================================================== */

.lc-mobile-extras {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lc-mobile-extra-link,
.lc-mobile-extra-phone {
    font-size: 16px;
    font-weight: 600; /* Semi-bold pour les infos de contact */
    color: #1A1A1A;
    text-decoration: none;
}

.lc-mobile-extra-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
    .lc-custom-header {
        padding: 10px;
    }

    .lc-top-bar {
        padding: 10px 20px;
    }

    .lc-top-bar__right .lc-top-bar__link,
    .lc-top-bar__right .lc-top-bar__phone {
        display: none;
    }

    .lc-main-bar__container {
        padding: 0 20px;
        justify-content: flex-start;
        gap: 20px;
    }

    .lc-main-nav,
    .lc-main-bar__actions {
        display: none;
    }

    .lc-burger-btn {
        display: flex;
    }
}