#flash-section {
    align-items: center;
    background-color: #FFFAF3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 30px;
    display: flex;
    height: 40vw;
    justify-content: flex-end;
    margin: 85px auto 0;
    overflow: hidden;
    padding: 100px 70px;
    position: relative;
    width: 95vw;
}

/* ============================================================
   Hero d'accueil
   ============================================================ */

#carousel-section.hero-carousel {
    --hero-ui-gap: 24px;
    margin: 81px 0 0 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
    background-color: #F3EDE7;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    aspect-ratio: 2100 / 720;
}

.hero-carousel .carousel-item {
    position: relative;
}

.hero-carousel .hero-slide {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-carousel .hero-slide-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel .carousel-item.active .hero-slide-media {
    animation: hero-slide-zoom 9s ease-out both;
}

@keyframes hero-slide-zoom {
    from { transform: scale(1.035); }
    to   { transform: scale(1); }
}

.hero-carousel .hero-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.32) 38%,
        rgba(0, 0, 0, 0) 68%
    );
}

.hero-carousel .hero-slide-content {
    position: absolute;
    top: 50%;
    left: clamp(24px, 6vw, 110px);
    transform: translateY(-50%);
    max-width: min(46ch, 48%);
    color: #FFFAF3;
    text-align: left;
}

.hero-carousel .hero-slide-eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-carousel .hero-slide-title {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(2rem, 4.4vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
}

.hero-carousel .hero-slide-caption {
    margin: 0 0 18px;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.5;
    opacity: 0.92;
}

.hero-carousel .hero-slide-price {
    margin: 0 0 26px;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 600;
}

.hero-carousel .hero-slide-price span {
    font-size: 0.7em;
    font-weight: 400;
    opacity: 0.8;
}

.hero-carousel .hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background-color: #FFFAF3;
    color: #262626;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.25s ease, gap 0.25s ease;
}

.hero-carousel .hero-slide:hover .hero-slide-cta,
.hero-carousel .hero-slide:focus-visible .hero-slide-cta {
    background-color: #fff;
    gap: 16px;
}

/* ---- Pagination : barres de progression au lieu des points ---- */

/* Les commandes sont regroupées dans un bandeau translucide : c'est ce qui leur
   garantit un contraste suffisant, quelle que soit la zone du visuel qu'elles
   recouvrent (les visuels vont du salon sombre au parquet très clair). */
.hero-carousel .hero-carousel-ui {
    position: absolute;
    bottom: var(--hero-ui-gap);
    left: var(--hero-ui-gap);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 10px 8px 14px;
    border-radius: 999px;
    background-color: rgba(28, 28, 28, 0.42);
    backdrop-filter: blur(10px);
}

.hero-carousel .carousel-indicators.hero-carousel-track {
    position: static;
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.hero-carousel .hero-carousel-step {
    flex: 0 0 auto;
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 250, 243, 0.38);
    opacity: 1;
    overflow: hidden;
    text-indent: 0;
    transition: width 0.35s ease, background-color 0.25s ease;
}

.hero-carousel .hero-carousel-step:hover {
    background-color: rgba(255, 250, 243, 0.7);
}

.hero-carousel .hero-carousel-step.active {
    width: 60px;
}

.hero-carousel .hero-carousel-step-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-color: #FFFAF3;
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-carousel .hero-carousel-step.active .hero-carousel-step-fill {
    animation: hero-step-fill var(--hero-step-duration, 6000ms) linear both;
}

.hero-carousel.is-paused .hero-carousel-step.active .hero-carousel-step-fill {
    animation-play-state: paused;
}

@keyframes hero-step-fill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ---- Bouton pause / lecture (exigence WCAG 2.2.2) ---- */

.hero-carousel .hero-carousel-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 250, 243, 0.16);
    color: #FFFAF3;
    transition: background-color 0.25s ease;
}

.hero-carousel .hero-carousel-toggle:hover {
    background-color: rgba(255, 250, 243, 0.32);
}

.hero-carousel .hero-carousel-icon-play,
.hero-carousel.is-paused .hero-carousel-icon-pause {
    display: none;
}

.hero-carousel.is-paused .hero-carousel-icon-play {
    display: block;
}

/* ---- Flèches ---- */

.hero-carousel .hero-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 250, 243, 0.9);
    color: #262626;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    opacity: 0;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}

.hero-carousel .hero-carousel-arrow--prev { left: var(--hero-ui-gap); }
.hero-carousel .hero-carousel-arrow--next { right: var(--hero-ui-gap); }

.hero-carousel:hover .hero-carousel-arrow,
.hero-carousel .hero-carousel-arrow:focus-visible {
    opacity: 1;
}

.hero-carousel .hero-carousel-arrow:hover {
    background-color: #fff;
}

/* ---- Focus visible homogène ---- */

.hero-carousel .hero-carousel-step:focus-visible,
.hero-carousel .hero-carousel-toggle:focus-visible,
.hero-carousel .hero-carousel-arrow:focus-visible,
.hero-carousel .hero-slide:focus-visible {
    outline: 2px solid #FFFAF3;
    outline-offset: 3px;
}

/* ---- Mobile : visuel portrait, flèches remplacées par le balayage ---- */

@media only screen and (max-width: 576px) {
    #carousel-section.hero-carousel {
        --hero-ui-gap: 14px;
    }

    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        aspect-ratio: 720 / 1040;
    }

    .hero-carousel .hero-carousel-arrow {
        display: none;
    }

    .hero-carousel .hero-slide-content {
        top: auto;
        bottom: 74px;
        left: 20px;
        right: 20px;
        max-width: none;
        transform: none;
    }

    .hero-carousel .hero-slide-scrim {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0) 75%
        );
    }

    .hero-carousel .hero-carousel-step { width: 24px; }
    .hero-carousel .hero-carousel-step.active { width: 44px; }
}

/* ---- Mouvement réduit : ni zoom, ni remplissage animé ---- */

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-item.active .hero-slide-media {
        animation: none;
    }

    .hero-carousel .hero-carousel-step.active .hero-carousel-step-fill {
        animation: none;
        transform: scaleX(1);
    }

    .hero-carousel .carousel-item {
        transition: none;
    }
}

#flash-products {
    align-items: stretch;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.product {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    height: 34vw;
    padding: 30px;
    position: relative;
    width: 32vw;
}

.product-infos {
    display: flex;
    justify-content: space-between;
    left: 30px;
    position: absolute;
    right: 30px;
    top: 2.5vw;
}

.product-name {
    font-size: 3vw;
    color: #444444;
}

.product-price {
    color: #D23636;
    font-size: 2.5vw;
    font-style: italic;
    font-weight: 900;
}

.product-old-price {
    font-size: 1vw;
    text-decoration: line-through;
    color: #222222;
}

.product-description {
    color: #222222;
    font-size: 1.1vw;
    font-weight: bold;
    left: 30px;
    letter-spacing: 0;
    position: absolute;
    top: 6.5vw;
}

.product-features {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    top: 9vw;
}

.product-features li {
    font-size: 1vw;
    font-weight: lighter;
    line-height: 1;
}

.product-features li:before {
    content: "\2022";
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

.product-links {
    bottom: 4vw;
    left: 30px;
    position: absolute;
    right: 30px;
}

.product-box.style-2 {
    height: 600px;
}

.links-title {
    color: #333333;
    font-size: 1.1vw;
    font-weight: 300;
    text-decoration: underline;
}

.colors {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.color {
    border: 0.2vw solid #FFFAF3;
    border-radius: 50%;
    height: 1.7vw;
    width: 1.7vw;
}

.color:hover {
    border: 2px solid #E94E1A;
    scale: 1.1;
}

.btn-cta {
    align-items: center;
    background-color: #D72A0D;
    border: 5px solid #FFFFFF;
    border-radius: 30px;
    bottom: 1.5px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    font-size: 1.5vw;
    font-weight: bold;
    height: 3vw;
    justify-content: center;
    left: 30%;
    position: absolute;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    width: 40%;
}

.btn-cta:hover {
    color: #FFFFFF;
}

.btn-cta:active {
    box-shadow: inset 0 4px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(4px);
}

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
    #flash-section {
        flex-direction: column;
        height: auto;
        padding: 50px 5px;
    }

    #flash-products {
        align-items: center;
        flex-direction: column;
        margin-top: 30vw;
    }

    .product {
        height: 100vw;
        width: 90vw;
    }

    .product-infos {
        top: 7vw;
    }

    .product-name {
        font-size: 7vw;
    }

    .product-price {
        font-size: 5vw;
    }

    .product-old-price {
        font-size: 3vw;
    }

    .product-description {
        font-size: 3.5vw;
        top: 17vw;
    }

    .product-features {
        top: 27vw;
    }

    .product-features li {
        font-size: 3vw;
    }

    .product-links {
        bottom: 12vw;
    }

    .links-title {
        font-size: 3vw;
    }

    .color {
        border-width: 1px;
        height: 5vw;
        width: 5vw;
    }

    .btn-cta {
        border-width: 3px;
        bottom: 3.5vw;
        font-size: 3vw;
        height: 7vw;
    }
}

@media (max-width: 575.98px) {
}
