/* --- Styles du Conteneur Principal --- */
.nbl-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: 'Merriweather', serif; /* Default font if not overridden */
    color: #a3a3a3;
    background-color: #050505; /* Default Dark Background */
    padding: 20px;
    border-radius: 8px;
}

/* --- Styles de la Navigation (Onglets) --- */
.nbl-legal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #121212; /* Default Card Background */
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.nbl-legal-nav-title {
    font-family: 'Montserrat', sans-serif;
    color: #c9a227; /* Gold */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.nbl-tab-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #a3a3a3;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nbl-tab-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.02);
}

.nbl-tab-btn.active {
    color: #ffffff;
    border-left-color: #c9a227; /* Bordure active dorée */
    background-color: rgba(201, 162, 39, 0.05);
    padding-left: 20px; /* Petit effet de glissement */
}

/* --- Styles du Contenu --- */
.nbl-legal-content {
    flex: 1;
    background-color: transparent;
}

.nbl-tab-panel {
    display: none; /* Caché par défaut */
    animation: fadeIn 0.5s ease;
}

.nbl-tab-panel.active {
    display: block; /* Affiché si actif */
}

/* Typographie du contenu */
.nbl-tab-panel h2 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.nbl-tab-panel h3 {
    font-family: 'Montserrat', sans-serif;
    color: #e5e5e5;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.nbl-tab-panel p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.nbl-tab-panel ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid #c9a227;
    background-color: #121212;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 0 4px 4px 0;
}

.nbl-tab-panel li {
    margin-bottom: 0.5rem;
    list-style: none;
}

.nbl-tab-panel li strong {
    color: #c9a227;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive (Desktop) --- */
@media (min-width: 768px) {
    .nbl-legal-container {
        flex-direction: row; /* Côte à côte sur grand écran */
    }
    .nbl-legal-nav {
        min-width: 250px;
        position: sticky;
        top: 100px; /* Si tu as un header fixe */
    }
}
