/* Assurez-vous que le body et html occupent tout l'espace */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    font-family: Arial, sans-serif !important;
}

/* Vidéo en arrière-plan */
.image-background_old {
    /* position: sticky !important; */
    /* position: relative !important; */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    /* width: 100% !important; */
    /* height: 100% !important; */
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important; /* Adapte la vidéo à la taille de l'écran */
    z-index: -1 !important; /* Derrière tout le contenu */

    /* Ajuste la taille de l'image en fonction de l'écran */
    background-size: cover !important; /* Couvre tout l'écran sans distorsion */

    /* Centre l'image : */
    /* background-position: center center !important;  */

    /* decale l'image vers le bas : */
    background-position: center 40px;

    background-repeat: no-repeat !important; /* Pas de répétition */
}

.image-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    z-index: -1 !important;
    background-size: cover !important;
    background-position: center 40px;
    background-repeat: no-repeat !important;
    will-change: background-position; /* Optimisation pour que ce soit ultra fluide */
}

.image-background::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* degradé noir -> bleu */
    /* background: linear-gradient(90deg, 
    rgba(0, 0, 0, 1) 15%,     
    rgba(5, 3, 38, 0.8) 33%,  
    rgba(6, 4, 53, 0.7) 60%,      
    rgba(7, 7, 96, 0.7) 100%   
); */

    /* background: 
    linear-gradient(to bottom, 
    rgb(0, 0, 0) 5%, 
    rgba(0, 0, 0, 0) 20%
),
    linear-gradient(70deg, 
    rgb(0, 0, 0) 15%,     
    rgba(0, 0, 0, 0.916) 25%,     
    rgba(15, 0, 0, 0.7)43%,  
    rgba(34, 13, 5, 0.75) 60%,      
    rgba(59, 17, 1, 0.81) 90%   
    ); */

    background: 
    linear-gradient(to bottom, 
    rgb(0, 0, 0) 5%, 
    rgba(0, 0, 0, 0) 20%
),
    linear-gradient(70deg, 
    rgb(0, 0, 0) 15%,     
    rgba(0, 0, 0, 0.805) 25%,     
    rgba(15, 0, 0, 0.636)43%,  
    rgba(34, 13, 5, 0.574) 60%,      
    rgba(59, 17, 1, 0.636) 90%   
    );

    z-index: 0 !important; /* Superposé à la vidéo */
    pointer-events: none !important; /* Les clics passent à travers */
}

/* Contenu superposé */
.content-overlay {
    /* position: fixed !important; */
    position: relative !important;
    z-index: 2 !important; /* Devant la vidéo */
    text-align: center !important;
    color: white !important;
    padding: 100px 20px !important;
    background: rgba(0, 0, 0, 0.5) !important; /* Transparence pour une meilleure lisibilité */
}


/* Titre et description */
.title {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
}

.description {
    font-size: 1.5rem !important;
    margin-bottom: 40px !important;
}

/* Bouton */
.button {
    font-size: 1.2rem !important;
    padding: 10px 20px !important;
}

/* Contenu scrollable */
.scrollable-content {
    /* position: fixed !important; */
    margin-top: 200px !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    z-index: 1 !important;
    text-align: center !important;
}


.legato-topbar {
    background-color: #062445bb;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    position: fixed !important;
    flex-grow: 0 !important;
    /* top: 0; */
    /* left: 0; */
    width: 95%;
    z-index: 99000;
}

.legato-body-content {
    overflow-y: auto;
    flex-grow: 1 !important;
    transition: padding-top 0.3s;  /* Smooth transition for padding */
}

.breadcrumb {
    --bs-breadcrumb-bg: transparent !important;
}


.high-modal {
    /* 100% = dialog height, 120px = header + footer */
    /* height: none; */
    min-height: calc(60vh) !important; 
    overflow-y: auto;
    /* overflow-y: scroll; */
}