/* ═══════════════ HERO SLIDER ═══════════════ */

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 12px 16px;
}

.hero-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px 24px 24px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
}

/* Contenu texte */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: #f25c05;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.hero-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.25;
    margin: 0;
}

.hero-title-color {
    color: #f25c05;
}

.hero-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0;
    max-width: 180px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 50px;
    width: fit-content;
    margin-top: 4px;
    transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
    background: #f25c05;
    transform: translateX(2px);
}

/* Image */
.hero-image {
    flex-shrink: 0;
    width: 48%;
    max-width: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 160px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.2s;
}

.hero-dot.active {
    background: #f25c05;
    width: 20px;
    border-radius: 4px;
}

/* ── Responsive desktop ── */
@media (min-width: 768px) {
    .hero-slider {
        margin: 16px 24px;
    }
    .hero-slide {
        min-height: 240px;
        padding: 40px 48px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-desc {
        font-size: 14px;
        max-width: 260px;
    }
    .hero-image {
        height: 220px;
        max-width: 300px;
    }
}
