/* ==========================
   MOBILE MENU FULLSCREEN
   ========================== */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
     background:
        radial-gradient(1200px 600px at top right, rgba(255,255,255,.06), transparent 60%),
        linear-gradient(160deg, #0b0b0b 0%, #111 50%, #000 100%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
    overflow-y: scroll;
}
.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/wp-content/themes/suki-child/assets/upload/header/1.jpg") center / cover no-repeat;
    opacity: 0.08;
    filter: blur(2px);
}
.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__inner {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;
}

/* Liens principaux (Accueil / Réalisations / Contact) */

.mobile-menu > .mobile-menu__inner > a {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .7;
    text-decoration: none;
    color: #fff;
    transition: opacity .2s ease;
}

.mobile-menu > .mobile-menu__inner > a:hover {
    opacity: 1;
}

.mobile-menu__title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Bouton close */

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.menu-close:hover {
    background: rgba(255,255,255,.12);
    transform: rotate(90deg);
}

/* Services */
.mobile-menu__services {
    list-style: none;
}
.mobile-menu__services li {
    position: relative;
}

.mobile-menu__services a {
    display: block;
    padding: 16px 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    opacity: .85;
    transition: opacity .2s ease, transform .25s ease;
}
.mobile-menu__services a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width .3s ease;
}

.mobile-menu__services a:hover {
    opacity: 1;
    transform: translateX(6px);
}

.mobile-menu__services a:hover::after {
    width: 100%;
}

/* CTA */
.mobile-menu__cta {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-menu__cta .btn-devis {
    display: block;
    padding: 16px;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mobile-menu__cta .btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

/* ==========================
   BURGER BUTTON
   ========================== */

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle:hover, .menu-toggle:focus {
    background-color: none;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================
   MOBILE ONLY
   ========================== */

@media (min-width: 1024px) {
    .mobile-menu,
    .menu-toggle {
        display: none;
    }
}
