

/* ==========================================================================
   MOBILE MENU - APPORT LEFT-TO-RIGHT (L2R) / FERMETURE RIGHT-TO-LEFT (R2L)
   ========================================================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Totalement masqué hors écran à gauche */
    width: 290px;
    height: 100vh;
    background-color: var(--primary-blue);
    z-index: 1001;
    box-shadow: 5px 0 30px rgba(0,0,0,0.3);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav.open {
    left: 0; /* Glissement élégant de gauche à droite */
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.close-btn {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-item {
    width: 100%;
}

.mobile-menu-link {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 6px 0;
    display: block;
}

.mobile-menu-link i{
    width: 25px;
    text-align: center;
}

.mobile-menu-link svg {
    width: 12px;
    height: 12px;
    fill: var(--white);
    transition: var(--transition-smooth);
}

.mobile-menu-link.active svg {
    transform: rotate(180deg);
}

/* Sous-menu mobile */
.mobile-submenu {
    list-style: none;
    padding-left: 15px;
    border-left: 2px solid var(--accent-red);
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.mobile-submenu.open {
    display: flex;
}

.mobile-submenu-item a {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.95rem;
    padding: 5px 0;
    display: block;
}

.mobile-submenu-item a:hover {
    color: var(--accent-red);
}

.mobile-nav-footer {
    margin-top: auto;
    display: flex;
    /* flex-direction: column;*/
    gap: 15px;
    position: absolute;
    bottom: 110px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}



/* ==========================================================================
   MEDIA QUERIES - ULTRA RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none; /* Cache la navigation de bureau */
    }
    .header-actions {
        display: none; /* Cache les boutons d'en-tête */
    }
    .burger-menu {
        display: flex; /* Affiche le burger mobile */
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .cacher-sur-mobile {display: none;}
    .header-level1 {
        padding: 0 15px;
        font-size: 0.75rem;
    }
    .header-level2 {
        padding: 0 15px;
    }
    .logo .line1 {
        font-size: 1.05rem;
    }
    .logo .line2 {
        font-size: 0.7rem;
    }
    .hero-section {
        height: 60vh;
    }
    .hero-section-home {
        height: 90vh;
        margin-top: 40px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-desc {
        font-size: 1.2rem;
    }
    .hero-ctas {
        width: 100%;
    }
    .hero-ctas a {
        text-align: center;
        padding: 10px;
    }
    .section {
        padding: 50px 15px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-level2 {
        flex-direction: column;
        text-align: center;
    }
    .sticky-actions-left {
        right: 23px;
    }


    .why-us .why-us-text{
        text-align: center;
    }
    .why-us div div:last-child{
        gap: 20px 0;
    }


    .content-body h2{
      color: var(--secondary-blue);
      font-size: 1.3rem;
    }
    .content-body h3{
        text-align: center;
    }
}


@media (min-width: 601px){
    .sticky-actions-left {
        left: 23px;
        bottom: 80px;
    }
}