

/* ===== HERO BANNER -- MOBILE ===== */
.hero-banner-mobile { display: block; position: relative; width: 100%; overflow: hidden; }
.hero-content-mobile { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.hero-content-mobile img { max-width: 100%}
.hero-brand-mobile { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.hero-brand-red-bar { width: 8px; height: 50px; background: var(--color-hero-red); }
.hero-brand-text { display: flex; flex-direction: column; line-height: 1; }
.hero-brand-text span { font-size: 28px; font-weight: 800; color: var(--color-hero-navy); letter-spacing: 1px; }
.hero-discount { font-size: 90px; font-weight: 800; color: var(--color-hero-navy); line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.hero-cta { display: inline-block; background: var(--color-accent-orange); color: var(--color-white); font-size: 15px; font-weight: 700; padding: 14px 50px; border-radius: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 25px; }
.hero-products-mobile { display: flex; align-items: flex-end; justify-content: center; gap: 8px; width: 100%; padding: 0 10px; position: relative; }
.product-img-mobile { filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3)); }
.product-img-mobile.left { width: 110px; margin-bottom: 0; z-index: 1; }
.product-img-mobile.center { width: 90px; margin-bottom: 5px; z-index: 2; }
.product-img-mobile.right { width: 130px; margin-bottom: 0; z-index: 1; }
.hero-banner-mobile::before { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: radial-gradient(ellipse 100% 60% at 10% 40%, rgba(255,255,255,0.1) 0%, transparent 70%), radial-gradient(ellipse 80% 50% at 5% 70%, rgba(255,255,255,0.08) 0%, transparent 60%); z-index: 1; }
.accessibility-btn { position: absolute; bottom: 20px; right: 16px; width: 50px; height: 50px; background: var(--color-accessibility-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; border: 3px solid var(--color-white); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.accessibility-btn svg { width: 24px; height: 24px; color: var(--color-white); }
.chat-btn { position: absolute; bottom: -25px; right: 16px; width: 56px; height: 56px; background: var(--color-accent-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.chat-btn svg { width: 26px; height: 26px; color: var(--color-white); }


/* ===== HERO BANNER -- DESKTOP ===== */

.hero-banner-desktop { display: none; position: relative; margin: 0 16px; border-radius: 12px; overflow: hidden; height: 390px }
.hero-content-desktop { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 60px; position: relative; z-index: 2; }
.hero-products-desktop { display: flex; align-items: flex-end; gap: 0; padding-bottom: 30px; margin-left: -20px; }
.product-img-desktop { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15)); }
.product-img-desktop.small { width: 110px; margin-bottom: 10px; margin-right: -15px; }
.product-img-desktop.large { width: 180px; margin-bottom: 5px; z-index: 2; }
.product-img-desktop.medium { width: 130px; margin-bottom: 15px; margin-left: -20px; }
.hero-text-desktop { text-align: left; padding-right: 40px; }
.hero-brand-desktop { font-size: 52px; font-weight: 800; color: var(--color-hero-navy); letter-spacing: 2px; margin-bottom: 25px; }
.hero-offer-desktop { font-size: 38px; font-weight: 700; color: var(--color-hero-navy); line-height: 1.4; margin-bottom: 8px; }
.hero-offer-desktop strong { font-weight: 800; }
.hero-cta-desktop { display: inline-block; margin-top: 25px; background: var(--color-accent-orange); color: var(--color-white); font-size: 15px; font-weight: 700; padding: 14px 45px; border-radius: 8px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; }
.hero-cta-desktop:hover { background: var(--color-accent-orange-dark); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; border: none; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(255,255,255,0.5); }
.hero-arrow.prev { left: 15px; }
.hero-arrow.next { right: 15px; }
.hero-arrow svg { width: 18px; height: 18px; color: var(--color-hero-navy); }
.hero-banner-desktop::before { content: ""; position: absolute; top: 0; left: 0; width: 35%; height: 100%; background: radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 10% 70%, rgba(255,255,255,0.1) 0%, transparent 50%); z-index: 1; }
.slider {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;

gap: 16px;
width: 100%; /* Assure que le slider prend tout l'espace */

scrollbar-width: none;
-ms-overflow-style: none;
}

/* Masque la barre sur Chrome, Safari, Opera et terminaux mobiles (iOS/Android) */
.slider::-webkit-scrollbar {
display: none;
}

.slide {
flex-shrink: 0;
scroll-snap-align: start;
height: 100%;
width: 100%; /* Chaque slide prend 100% de la largeur du slider */
background: var(--color-divider);
}



@media (min-width: 900px) {
            .mobile-header, .search-bar-mobile, .hero-banner-mobile, .trust-bar-wrapper-mobile, .mobile-menu-overlay, .mobile-menu { display: none !important; }
            .desktop-header { display: block; }
            .hero-banner-desktop, .trust-bar-desktop { display: flex; }
}


/* PageSpeed: keep the hero geometry stable while images decode. */
.hero-banner-mobile .slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: auto;
}
.hero-banner-mobile .slide img { display: block; width: 100%; height: auto; }
.hero-banner-desktop .slider,
.hero-banner-desktop .slide { height: 100%; }
.hero-banner-desktop .slide img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* Full stylesheet override for the tiny in-head critical shell. */
.hero-banner-mobile .slide:not(:first-child) { visibility: visible; }
.hero-banner-mobile .slide { aspect-ratio: 400 / 543; }
