/* Conteneur principal de la navigation */
.nav-segment-container {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    /* position: sticky;
    top: 0;
    z-index: 1020; */
}

/* Scroll horizontal fluide sur mobile */
.nav-segment-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    gap: 8px;
    padding: 4px 0;
}

.nav-segment-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Style des items (boutons segmentés) */
.nav-segment-item {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    background: transparent;
}

.nav-segment-item:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.nav-segment-item.active {
    background-color: #ffffff;
    color: #0d6efd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

/* Sous-navigation (Profil, Séquence AS...) */
.sub-nav-container {
    background-color: #ffffff;
    padding: 0.4rem 1rem;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee;
}

.sub-nav-link, .sub-nav-link-chart, .sub-nav-link-dream, .sub-nav-link-gateLine, .sub-nav-link-mechanics, .sub-nav-link-variable, .sub-nav-link-wound, .sub-nav-link-genekeys, .sub-nav-link-pentaBusiness, .sub-nav-link-pentaFamily {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
}

.sub-nav-link.active, .sub-nav-link-chart.active, .sub-nav-link-dream.active, .sub-nav-link-gateLine.active, .sub-nav-link-mechanics.active, .sub-nav-link-variable.active, .sub-nav-link-wound.active, .sub-nav-link-genekeys.active, .sub-nav-link-pentaBusiness.active, .sub-nav-link-pentaFamily.active {
    color: #0d6efd;
    font-weight: 700;
    background-color: #f0f7ff;
}
