#mentions h1 {
    color: var(--colorViolet);
    font-size: xx-large;
    margin-bottom: 2%;
}
#mentions {
    padding-top: 7%;
}
#mentions p {
    color: var(--colorPmentions);
}
#mentions .accordion-flush>.accordion-item{
    background-color: transparent !important;
}
#mentions .accordion-button {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 1rem;
}

#mentions .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    position: relative;
    margin-left: 0;
    margin-right: 1rem;
    order: -1;
    transform: rotate(0deg) !important;
}
#mentions .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(90deg) !important;
}

#mentions .accordion-button {
    color: var(--colorPmentions);
    background-color: transparent !important;
    box-shadow: none !important;
}


/* Optionnel : garder la flèche blanche même quand le bouton n'est pas collapsed */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
@media only screen and (max-width: 425px) {

    #mentions h1 {
        padding-top: 14%;
    }
    
}
