* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Menu sticky */
.navbar {
    border-radius: 2000px;
    border: 3px solid #ffffff30;
    background: rgba(255, 255, 255, 0.3)!important;
    box-shadow: 0px 4px 26.3px 0px rgba(153, 153, 153, 0.35);
    backdrop-filter: blur(20px)!important;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0 48px;
    transition: all 0.3s ease;
    width: 95%;
    max-width: 1200px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

/* Logo */
.logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Lien du logo - ajout pour centrage vertical */
.nav-container a {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Menu desktop */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    transition: text-shadow 0.3s ease;
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    text-shadow: 0.2px 0 0 currentColor, -0.2px 0 0 currentColor;
}

/* Contact info */
.contact-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.icon-mail-tel {
    margin-right: 8px;
}

.mail-part-nav {
    margin-right: 32px;
}

.contact-nav img {
    vertical-align: middle;
}

.mail-part-nav,
.tel-part-nav {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/* Liens email et téléphone */
.contact-nav.email,
.contact-nav.phone {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.contact-nav.email:hover,
.contact-nav.phone:hover {
    text-decoration: none;
}

/* Menu burger */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu mobile overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-nav-item {
    margin: 20px 0;
}

.mobile-nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding: 15px 30px;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mobile-contact {
    text-align: center;
    font-size: 18px;
    color: var(--text-color);
}

.mobile-contact-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Liens mobile */
.mobile-contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.mobile-contact-link:hover {
    text-decoration: none;
}

/* Responsive breakpoints corrigés */

/* Tablette large - réduction de l'espacement */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .navbar {
        padding: 0 30px;
    }
}

@media (max-width: 1115px) {
    .contact-nav {
        display: none;
    }
}

/* Tablette - espacement encore plus réduit */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        padding: 8px 12px;
        
    }
    
}

/* Point de rupture pour passer au menu mobile */
@media (max-width: 900px) {
    .nav-menu,
    .contact-nav {
        display: none !important;
    }

    .burger {
        display: flex;
    }

    .navbar {
        top: 10px;
        width: 95%;
        padding: 0 20px;
    }

    .nav-container {
        height: 60px;
    }
    
    .logo {
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-container {
        height: 50px;
    }
    
    .logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    * {
        font-size: 16px;
    }
    
    .navbar {
        padding: 0 15px;
        width: 95%;
    }

    .logo {
        height: 30px;
    }

    .mobile-nav-link {
        font-size: 1.25rem;
    }
}