header {
    position: fixed;
    width: 100%; /* Assurez-vous que le header s'étend sur toute la largeur */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Ombre très légère */
    z-index: 1000; /* Assurez-vous que le header est au-dessus des autres éléments */
    height: 82px;
    background: var(--bs-primary);
    color: white;
    padding: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header > div {
    min-width: 340px;
}
.brand {
    display: flex;
    gap: 10px;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    color: white;
}
.brand .logo {
    height: 50px;
}
.brand div {
    font-size: 2rem;
    line-height: 2rem;
}
.brand span {
    color: #18bc9c !important;
}
.brand small {
    font-size: 0.7rem;
    line-height: 0.7rem;
    font-style: italic;
    font-weight: 100;
}

header h1 {
    font-size: 2rem;
}

header .dropdown {
    display: flex;
    justify-content: end;
    align-items: center;
}
header .btn.dropdown-toggle {
    display: flex;
    align-items: center;
    background-color: transparent !important; /* Aucun fond */
    border: none !important;
    color: white !important; /* Couleur du texte */
    font-size: 1rem;
    font-weight: 100;
    gap: 15px;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.3s ease; /* Transition douce pour le survol */
    cursor: pointer;
}
header .btn.dropdown-toggle:after {
    width: 0;
    height: 5px;
}

header .btn.dropdown-toggle:hover,
header .btn.dropdown-toggle.show {
    background-color: rgba(62, 241, 255, 0.2) !important; /* Couleur de fond au survol */
}

header .btn.dropdown-toggle:focus {
    box-shadow: none; /* Retirer l'ombre au focus */
}

header .btn.dropdown-toggle i {
    font-size: 1rem; /* Ajustez la taille de l'icône */
}
.dropdown-menu {
    /*background-color: #172737; !* Couleur de fond du menu déroulant *!*/
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    /*color: white !important;*/
    padding: 0.5rem 1rem;
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background-color: #1c3b4d;
    color: white !important;
    transition: background-color 0.3s ease;
}

.dropdown-item svg {
    width: 20px;
}

.dropdown-divider {
    border-top: 1px solid #172737;
    margin: 0.5rem 0;
}


@media (max-width: 1200px) {
    header {
        justify-content: flex-start;
        gap: 5rem;

        & > div {
            display: none !important;
        }
    }
}
@media (max-width: 992px) {
    header {
        justify-content: flex-start;
        gap: 5rem;

        & > div {
            display: none !important;
        }

        h1 {
            font-size: 1.5rem;
        }
    }
}

@media (max-width: 768px) {
    header {
        justify-content: flex-start;
        gap: 5rem;

        & > div {
            display: none !important;
        }

        h1 {
            font-size: 1.25rem;
        }
    }
}

@media (max-width: 576px) {
    header {
        flex-direction: column;
        justify-content: center;
        height: auto;
        gap: 1.5rem;

        h1 {
            font-size: 1.5rem;
            text-align: center;
        }
    }
}