/* ==========================================================================
   NAVBAR & MENU NAVIGATION CONFIGURATION
   ========================================================================== */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.2, 1);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-bar {
    width: 1px;
    height: 18px;
    background-color: var(--text-dark);
    opacity: 0.15;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.floema-nav-container {
    position: relative;
    padding: 10px 0;
}

.nav-pills-liquid-wrapper {
    display: flex;
    align-items: center;
    filter: url('#floema-liquid');
}

.nav-pill-item {
    background-color: var(--menu-bg);
    height: 35px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 1px;
    position: relative;
    transition: margin 0.4s cubic-bezier(0.25, 1, 0.2, 1), transform 0.4s cubic-bezier(0.25, 1, 0.2, 1), background 0.3s ease;
}

#pill-accueil { width: 92px; }
#pill-propos  { width: 112px; }
#pill-trace   { width: 100px; }
#pill-contact { width: 100px; }

.nav-pill-item:hover {
    margin: 0 5px;
    transform: scaleY(1.02);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c42 100%);
}

.nav-pill-item a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: color 0.3s ease;
}

.nav-pill-item:hover a,
.nav-pill-item a.active {
    color: #ffffff;
}

.nav-pill-item:has(a.active) {
    background: var(--accent-orange);
}

/* BOUTON AUTH — sans icône */
.btn-auth {
    text-decoration: none;
    color: #ffffff;
    background-color: var(--accent-orange);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 35px;
    padding: 0 18px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.2, 1), background-color 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-auth:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

/* Masquer les icônes dans btn-auth */
.btn-auth i { display: none; }
.btn-auth .btn-text { display: inline; }

/* SÉLECTEUR DE LANGUE — sans carré ni rond */
.lang-selector {
    position: relative;
    display: inline-block;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    /* Pas de box-shadow, pas de border-radius visible */
}

.lang-current span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.4;
    letter-spacing: 1px;
}

.lang-current svg {
    color: var(--text-dark);
    opacity: 0.3;
    transition: transform 0.3s;
}

.lang-selector:hover .lang-current span,
.lang-selector:hover .lang-current svg { opacity: 1; }
.lang-selector.open .lang-current svg { transform: rotate(180deg); opacity: 1; }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -5px;
    background-color: var(--menu-bg);
    border-radius: 12px;
    list-style: none;
    padding: 6px 0;
    min-width: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 150;
}

.lang-selector.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-dropdown li {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.5;
    padding: 6px 14px;
    text-align: center;
    cursor: pointer;
}

.lang-dropdown li:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.03); }

/* Masquer le burger (pas de mobile ici) */
.burger-menu { display: none; }

/* Cacher le petit rond mystérieux */
.navbar > *:last-child:not(.header-right):not(.logo-link) { display: none; }
