.accueil-container {
    height: fit-content;
    width: 100%;
}



.accueil-top-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image: url(../img/banner-accueil-top.jpg);
    background-size: cover; */
position: relative;
}

.accueil-top-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* la vidéo remplit le conteneur comme background-size: cover */
    transform: translate(-50%, -50%);
    z-index: 0; /* derrière le contenu */
}

.accueil-top {
    position: relative; /* au-dessus de la vidéo */
    z-index: 1;
    width: 60%;
    height: fit-content;
    min-height: 400px;
    display: flex;
    gap: 1rem;
    padding: 25px;
    
    
}

/* Pseudo-élément pour le blur de fond uniquement */
.accueil-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px); /* flou du fond */
    -webkit-backdrop-filter: blur(10px); /* compatibilité Safari */
    z-index: -1; /* derrière le contenu */
    background-color: rgba(240, 248, 255, 0.174);
border-radius:25px;

}

.accueil-top-title {
   width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;

    padding: 1rem;
    gap: 1rem;
}

.accueil-top-img-container {
height: 100%;
width: 30%;

display: flex;
align-items: center;
margin: auto;
}

.accueil-top-logo {
width: 100%;

}

h1 {
    width: 100%;
    text-align: center;
    font-size: calc(1.5em + 2vw); /* base 1.5em + s’adapte à l’écran */

    font-weight: bold;
}

.accueil-top-subtitle {
    font-size: 30px;
    font-weight: bold;
}

.accueilt-top-link {
     display: inline-block;          /* taille du texte + padding */
    padding: 0.75em 2em;           /* vertical + horizontal */
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    background-color: #D13133;
    border: 1px solid black;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;

    /* centrer le bouton dans la div parente */
    margin: 1em auto;
}

.accueilt-top-link:hover {
    background-color: #A52829; /* rouge plus foncé */

    color: #fff;                      /* texte toujours blanc */
    transform: translateY(-2px);      /* léger effet “lift” */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* ombre subtile */
}

.accueilt-top-link:active {
    transform: translateY(0);        /* bouton “appuyé” */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/* Responsive */
@media (max-width: 862px) {

.accueil-top {
    width: 100%; 
    flex-direction: column;   
}



.accueil-top-img-container {
display: none;
}

.accueil-top-title {
   width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

    padding: 1rem;
    gap: 1rem;
    margin-top: 70px;
}

.accueil-top-subtitle {
    font-size: 20px;
    font-weight: bold;
}


}