/* ============================================================
   SLIDER.CSS — Garnazelle LP
   Styles dédiés au hero slider (structure, track, dots)
   ============================================================ */

/* --- STRUCTURE HERO-LEFT --- */
.hero-text-block {
    padding-bottom: 36px;
}

/* --- SLIDER CONTENEUR --- */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--creme);
}

/* Track : les 4 slides côte à côte */
.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

/* Chaque slide : 100% de la largeur du conteneur */
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1200 / 628;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* --- DOTS DE NAVIGATION --- */
.hero-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    display: block;
    height: 2px;
    width: 20px;
    background: rgba(26, 48, 33, 0.25);
    cursor: pointer;
    transition: width 0.4s ease-out, background 0.4s ease-out;
}

.hero-dot.active {
    width: 40px;
    background: var(--vert-ecrin);
}