.welcome-container { text-align: center; margin-bottom: 40px; }
.welcome-title {
    font-family: "Grold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 2.4em;
    font-weight: 700;
}

body > .main-container > section:first-of-type {
    margin-top: 100px !important;
}

.highlight-section {
    max-width: 1600px;
    margin: 10px auto 28px;
    padding: 0 40px 10px;
}

.highlight-title {
    display: flex;
    justify-content: flex-start;
    font-family: "Grold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 2.4em;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: center;
}

/* =========================
   CARROUSEL — par section
========================= */

.highlight-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.highlight-carousel {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox: masque scrollbar */
}
.highlight-carousel::-webkit-scrollbar { display: none; }

.highlight-card {
    flex: 0 0 360px;
    min-width: 360px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Image bien scalée (pas étirée) */
.highlight-imgwrap {
    width: 100%;
    aspect-ratio: 16/10;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.highlight-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
    display: block;
}

.highlight-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    text-align: center;
}
.highlight-price {
    color: #de3d41;
    font-family: "Grold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
}
/* Flèches par carrousel (gauche/droite) */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 6px;
    z-index: 10;
    box-sizing: border-box;
}
.carousel-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 9999px;
    background-color: rgba(0,0,0,.35);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    cursor: pointer;
    transition: transform .12s, opacity .12s;
    opacity: .9;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.carousel-btn.left  { background-image: url("/assets/img/icons/fleche-gauche.svg"); }
.carousel-btn.right { background-image: url("/assets/img/icons/fleche-droite.svg"); }
.carousel-btn:hover { transform: scale(1.05); opacity: 1; }
.carousel-btn:active{ transform: scale(.95);  }
.carousel-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Barre de progression */
.carousel-progress {
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    border-radius: 9999px;
    margin-top: 16px;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #151414, #000000);
    border-radius: 9999px;
    width: 0%;
    transition: width 0.1s ease-out;
}

.hero-banner{
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 80px;
    width: 100vw; height: 500px;
    overflow: hidden; z-index: 1;
}
.hero-bg   { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-text {
    position: absolute; top: 25%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; text-align: center;
    font-size: 2.5rem; font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,.7);
    width: 80%;
}

/* ========== RESPONSIVE ========== */

/* Tablette large */
@media (max-width: 1200px) {
    .highlight-section {
        padding: 0 30px 10px;
    }

    .highlight-title {
        font-size: 2em;
    }

    .highlight-card {
        flex: 0 0 340px;
        min-width: 340px;
    }
}

/* Tablette */
@media (max-width: 900px) {
    .highlight-section {
        padding: 0 20px 10px;
        margin: 10px 15px 28px;
    }

    .highlight-title {
        font-size: 1.8em;
        justify-content: center;
    }

    .highlight-card {
        flex: 0 0 320px;
        min-width: 320px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .hero-banner {
        height: 400px;
        margin-bottom: 60px;
    }

    .hero-text {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .welcome-title {
        font-size: 1.8em;
    }

    .highlight-section {
        padding: 0 15px 10px;
        margin: 10px 10px 20px;
    }

    .highlight-title {
        font-size: 1.5em;
    }

    .highlight-carousel {
        gap: 15px;
        padding: 15px 0;
    }

    .highlight-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 8px;
    }

    .highlight-label {
        padding: 8px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-nav {
        padding: 0 4px;
    }

    .hero-banner {
        height: 300px;
        margin-bottom: 40px;
    }

    .hero-text {
        font-size: 1.5rem;
        width: 90%;
    }

    body > .main-container > section:first-of-type {
        margin-top: 80px !important;
    }
}

/* Petit mobile */
@media (max-width: 400px) {
    .highlight-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    .highlight-title {
        font-size: 1.3em;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }
}