#global_diapo {
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Splide style */
.splide_diapo {
    height: 100vh;
    position: relative;
}

.splide__slide.diapo {
    position: relative;
}

.splide__slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Texte centré sur l'image */
.diapo_bloc_texte {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.diapo_soustitre {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.diapo_texte {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #eeeeee;
    animation: fadeInUp 1.2s ease-out;
}

/* Bouton */
.bouton_primaire a {
    background-color: var(--color-3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bouton_primaire a:hover {
    background-color: var(--color-4);
    transform: translateY(-2px);
}


.scroll_down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll_down i {
    display: block;
}

.diapo_bloc_texte-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .diapo_soustitre {
        font-size: 1.5rem;
    }

    .diapo_texte {
        font-size: 1rem;
    }

    .bouton_primaire a {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .diapo_bloc_texte {
        width: 90%;
    }
}