/* Menu mobile moderne — Ma Maison de Naissance */

@media (max-width: 991px) {
    .main-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-top .header-cta {
        display: none;
    }

    .logo {
        height: auto !important;
        margin-top: 0 !important;
        line-height: 1 !important;
        padding: 6px 10px !important;
        display: flex;
        align-items: center;
    }

    .logo a {
        display: inline-flex;
        align-items: center;
        line-height: 0;
    }

    .logo img,
    .logo2 img,
    .logo3 img {
        width: auto !important;
        height: auto !important;
        max-height: 48px;
        max-width: min(180px, 55vw);
        object-fit: contain;
    }

    .menu-area::before {
        display: none !important;
    }

    .menu-area .container {
        position: relative;
    }

    .second-menu .row {
        position: relative;
    }

    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 107, 107, 0.1);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: #223645;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 3px 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ff6b6b;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: #ff6b6b;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(34, 54, 69, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

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

    .mobile-nav-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -8px 0 40px rgba(34, 54, 69, 0.2);
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-panel.active {
        right: 0;
    }

    .mobile-nav-header {
        padding: 24px 20px;
        background: #f8f9fe;
        border-bottom: 1px solid #eef1f4;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-nav-header img {
        max-height: 45px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .mobile-nav-close {
        background: #fff0f0;
        border: none;
        color: #ff6b6b;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .mobile-nav-close:hover {
        background: #ff6b6b;
        color: #fff;
    }

    .mobile-nav-body {
        flex: 1;
        padding: 8px 0;
    }

    .mobile-nav-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-body ul li {
        border-bottom: 1px solid rgba(34, 54, 69, 0.06);
    }

    .mobile-nav-body ul li a {
        display: flex;
        align-items: center;
        padding: 16px 24px;
        color: #223645;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.25s ease;
        gap: 12px;
    }

    .mobile-nav-body ul li a i {
        width: 20px;
        color: #ff6b6b;
        font-size: 16px;
    }

    .mobile-nav-body ul li a:hover,
    .mobile-nav-body ul li a.active {
        background: #fff0f0;
        color: #ff6b6b;
        padding-left: 32px;
    }

    .mobile-nav-footer {
        padding: 20px;
        background: #f8f9fe;
        border-top: 1px solid rgba(34, 54, 69, 0.08);
    }

    .mobile-nav-contact {
        margin-bottom: 16px;
    }

    .mobile-nav-contact p {
        font-size: 13px;
        color: #647589;
        margin: 0 0 8px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .mobile-nav-contact p i {
        color: #ff6b6b;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .mobile-nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 20px;
        background: #ff6b6b;
        color: #fff !important;
        text-align: center;
        border-radius: 50px;
        font-weight: 600;
        font-size: 15px;
        line-height: 1.3;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
        white-space: normal;
        box-sizing: border-box;
    }

    .mobile-nav-cta:hover {
        background: #ff5252;
        transform: translateY(-2px);
    }

    .mobile-nav-social {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 16px;
    }

    .mobile-nav-social a {
        width: 40px;
        height: 40px;
        background: #fff0f0;
        color: #ff6b6b;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        transition: all 0.3s;
    }

    .mobile-nav-social a:hover {
        background: #ff6b6b;
        color: #fff;
        transform: translateY(-3px);
    }

    .mobile-menu,
    .mean-container {
        display: none !important;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle,
    .mobile-nav-overlay,
    .mobile-nav-panel {
        display: none !important;
    }
}
