/* ================= NAVBAR PREMIUM ================= */
html, body {
    overflow-x: hidden;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
}

.logo h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.logo p {
    font-size: 11px;
    color: var(--gray);
}

/* ================= MENU ================= */

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ================= LIENS ================= */

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

/* Ligne animée */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

/* ================= BOUTON CTA ================= */

.nav-btn {
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    font-weight: 600;
    transition: 0.3s;
}

.nav-btn:hover {
    background: linear-gradient(45deg, var(--accent), var(--primary));
    transform: translateY(-2px);
}

/* ================= MENU TOGGLE ================= */

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ================= CLOSE BUTTON ================= */

.close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;

    font-size: 26px;
    cursor: pointer;
    font-weight: bold;

    color: var(--primary);
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;

        width: 75%;
        height: 100vh;

        background: white;

        flex-direction: column;
        align-items: flex-start;
        padding: 80px 25px;

        transform: translateX(100%);
        transition: 0.4s ease;

        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    nav.active {
        transform: translateX(0);
    }

    nav a {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .close-btn {
        display: block;
    }
}
.no-scroll {
    overflow: hidden;
}

/* ================= PETITS TELEPHONES ================= */

@media (max-width: 480px) {

    nav {
        width: 85%;
    }

    .logo h2 {
        font-size: 14px;
    }

    .logo p {
        font-size: 10px;
    }
}