* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow-y: auto; /* Autorise le scroll vertical */
    overflow-x: hidden; /* Optionnel, évite le scroll horizontal */
    font-family: sans-serif;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Pleine hauteur */
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.text-content {
    color: white;
    z-index: 2;
    max-width: 40%;
}

.text-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: white;
}

.text-content .tags span {
    background: white;
    color: black;
    padding: 0.4em 0.8em;
    margin-right: 10px;
    display: inline-block;
    border-radius: 5px;
    font-weight: bold;
}

.text-content p {
    margin: 1em 0;
    font-size: 1.2em;
}

.btn {
    padding: 0.8em 1.2em;
    background: #009fe3;
    color: white;
    text-decoration: none;
    border-radius: 25px;
}

.product-image img {
    max-height: 400px;
    z-index: 2;
    position: relative;
}

.nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    font-size: 2em;
    padding: 0.3em 0.6em;
    cursor: pointer;
    z-index: 10;
}

.nav .prev { left: 10px; }
.nav .next { right: 10px; }

.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.dots span.active {
    opacity: 1;
    background: #009fe3;
}

/* ✅ Section suivante pour test */
.section-apres-slider {
    padding: 60px 10%;
    background: #f4f4f4;
}

.section-apres-slider h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}
