#accueil-slider {
    margin: 0; /* S'assure qu'aucune marge parasite ne vient décaler le slider */
    height: calc(100vh - var(--header-height) - var(--footer-height));
    overflow: hidden;
    position: relative;
}

/* Remplacement des sélecteurs Splide par les sélecteurs Embla */
.embla__viewport, .embla__container, .embla__slide, .slide-card {
    height: 100%;
}

.embla__container {
    display: flex;
    flex-direction: row;
    /* Assure-toi que la direction du texte/flux est bien en mode normal */
    direction: ltr; 
}

/* S'assure que chaque slide se comporte correctement en flex item dans Embla */
.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content-wrapper {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 5rem;
    left: 3.5rem;
    width: auto;
    min-width: 35vw;
    max-width: 70vw;
    padding: 1rem;
    background-color: var(--color-bleu-fonce-90);
    color: var(--color-lin);
    border-radius: 4px;
}

.slide-content-wrapper h3 {
    font-family: var(--font-playfair);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 100;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-lin);
    margin: 0 0 0.5rem 0;
}

.slide-description  {
    font-family: var(--font-inter);
}

.slide-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-lin);
    color: var(--color-bleu-fonce-90);
    font-family: var(--font-inter);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.slide-button:hover {
    background-color: var(--color-blanc);
    color: var(--color-bleu-fonce-90);
}

.embla__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-bleu-fonce-90, rgba(0, 0, 0, 0.5));
    border: none;
    color: var(--color-blanc, #fff);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.embla__button:hover {
    background-color: var(--color-lin, #000); /* Ajustez selon vos variables */
    color: var(--color-bleu-fonce-90, #fff);
}

.embla__button--prev {
    left: 1.5rem;
}

.embla__button--next {
    right: 1.5rem;
}

.embla__button__svg {
    width: 1.25rem;
    height: 1.25rem;
}