/*  ===== MENU BURGER ===== */

/*  Bouton menu */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--sage-green);
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 20px rgba(90, 143, 123, 0.2);
    z-index: 10000;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(90, 143, 123, 0.3);
}

/* lignes du burger */
.burger-line {
    width: 22px;
    height: 2px;
    background-color: var(--forest-green);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* animation du burger */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--mint-light));
    z-index: 9999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

/* navigation */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--forest-green);
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--sage-green);
}

/* social */
.mobile-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.mobile-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--sage-green);
    color: var(--deep-green);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    background: var(--sage-green);
    border-color: var(--forest-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 143, 123, 0.2);
}

/* logo dans le menu*/
.mobile-logo {
    width: 100px;  
    height: auto;  
    display: block;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */

/* mobile  768px */
@media (max-width: 768px) {
    .mobile-menu-toggle {display: flex;}
    .mobile-menu {display: flex;}
}
