body {
    scroll-behavior: smooth;
    background-color: #000000;
    color: #f1f1f1;
}

.hero {
    background: linear-gradient(135deg, #050505, #111111, #000000);
    color: white;
    border-bottom: 1px solid #222;
}

/* Toutes les sections restent sur le fond noir */
.bg-light {
    background-color: #000000 !important;
}

/* Titres et textes */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

p {
    color: #d6d6d6;
}

/* Cartes et blocs */
.border {
    border-color: #333333 !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(255, 255, 255, .08) !important;
}

.feature-icon {
    font-size: 2rem;
    color: #ffffff;
}

/* Chevron carrousel en blanc */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000000 !important;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0;
    background-color: #111111;
    border-color: #333333;
}

/* Survol des items du dropdown */
.dropdown-menu .dropdown-item:hover {
    background-color: #495057;
    color: #ffffff;
}

.page-content {
    padding-top: 70px;
}

.doc-menu-scroll {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.doc-menu {
    position: fixed;
    top: 74px;
    width: 280px;
    height: calc(100vh - 90px);
    overflow-y: auto;
    padding-right: 8px;
}

/* On rapproche légèrement le contenu du menu */
.doc-content {
    margin-left: -50px;
    margin-top: 80px;
}

/* Fenêtres intermédiaires */
@media (max-width: 1200px) {
    .doc-content {
        margin-left: 0;
    }
}

/* Tablettes et mobiles : on abandonne le menu fixe */
@media (max-width: 991.98px) {
    .doc-menu {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
        margin-bottom: 30px;
        padding-right: 0;
    }

    .doc-content {
        margin-left: 0;
    }
}

.doc-screenshot {
    max-width: 100%;
    height: auto;
}

.card-body {
    background-color: #111111 !important;
    color: #f1f1f1 !important;
}

.list-group,
.list-group-item {
    background-color: #111111 !important;
    color: #f1f1f1 !important;
    border-color: #333333 !important;
}

.footer-link {
    color: #ccc;
}

.footer-link:hover {
    color: #fff;
}

/* ================================
   MENU DOCUMENTATION
   ================================ */

/* Tous les éléments du menu */
.doc-menu .list-group-item {
    background-color: #212529;
    color: white;
    border-color: #444;
}


/* Rubriques principales : gris */
.doc-menu .list-group-item.bg-light {
    background-color: #343a40 !important;
    color: white !important;
}


/* Sous-menus : noir */
.doc-menu a.list-group-item-action {
    background-color: #212529;
    color: white;
}


/* Sous-menu au survol */
.doc-menu a.list-group-item-action:hover {
    background-color: #343a40;
    color: white;
}


/* Sous-menu correspondant à la page actuelle */
.doc-menu a.list-group-item-action.doc-active {
    background-color: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd !important;
}


