@charset "UTF-8";
/* =========================================================
   BLOC LIVE SHOPPING
   Mobile / tablette : fond blanc, logo noir (inchangé)
   Desktop (= 1024px) : image de fond, texte à droite du portant
   Tout est scopé sous .ls-banner pour ne pas toucher au thème.
   ========================================================= */

/* 1. VARIABLES */
.ls-banner {
    --lsFont: "Montserrat", arial, sans-serif;
    --lsColor: #000;
    --lsBg: #fff;

    --lsLogoWidth: clamp(220px, 20vw, 300px);
    --lsTextSize: clamp(.8125rem, .95vw, .9375rem);
    --lsCtaSize: .875rem;
    --lsCtaGap: 3rem;

    --lsPaddingY: 2.5rem;
    --lsLogoToText: 1.75rem;
    --lsTextToCta: 2rem;
}

@media screen and (max-width: 1023px) {
    .ls-banner {
        --lsLogoWidth: min(60vw, 240px);
        --lsTextSize: .8125rem;
        --lsCtaSize: .8125rem;
        --lsCtaGap: 1rem;

        --lsPaddingY: 2rem;
        --lsLogoToText: 1.25rem;
        --lsTextToCta: 1.5rem;
    }
}


/* 2. CONTENEUR */
.ls-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: var(--lsPaddingY) 1rem;
    font-family: var(--lsFont);
    color: var(--lsColor);
    text-align: center;
    background: var(--lsBg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}


/* 3. LOGO */
.ls-banner__title {
    all: unset;
    display: block;
    line-height: 0;
}

.ls-banner__logo {
    display: block;
    width: var(--lsLogoWidth);
    max-width: 100%;
    height: auto;
}


/* 4. TEXTE */
.ls-banner__text {
    max-width: 38rem;
    margin: var(--lsLogoToText) 0 0;
    font-family: var(--lsFont);
    font-size: var(--lsTextSize);
    font-weight: 400;
    line-height: 1.35;
    color: var(--lsColor);
}

.ls-banner__text strong {
    font-weight: 600;
}


/* 5. CTA
   Les !important neutralisent les styles de liens du thème. */
.ls-banner__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--lsCtaGap);
    margin-top: var(--lsTextToCta);
}

.ls-banner__links a.ls-banner__cta,
.ls-banner__links a.ls-banner__cta:link,
.ls-banner__links a.ls-banner__cta:visited {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 0 .15em !important;

    font-family: var(--lsFont) !important;
    font-size: var(--lsCtaSize) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: var(--lsColor) !important;

    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;

    transition: opacity .2s ease;
}

.ls-banner__links a.ls-banner__cta::before,
.ls-banner__links a.ls-banner__cta::after {
    content: none !important;
    display: none !important;
}

.ls-banner__links a.ls-banner__cta:hover {
    opacity: .6;
}

.ls-banner__links a.ls-banner__cta:focus-visible {
    outline: 1px solid var(--lsColor) !important;
    outline-offset: 4px;
}

/* Mobile : CTA empilés */
@media screen and (max-width: 767px) {
    .ls-banner__links {
        flex-direction: column;
        align-items: center;
    }

    .ls-banner__links a.ls-banner__cta {
        white-space: normal !important;
    }
}


/* 6. DESKTOP UNIQUEMENT : image de fond + espacements du screen */
@media screen and (min-width: 1024px) {
    .ls-banner {
        /* Chemins relatifs au fichier CSS (/live-shopping/css/) */
        --lsImgJpg: url("../bandeau.jpg?$staticlink$");
        --lsImgWebp: url("../bandeau.webp?$staticlink$");

        --lsLogoWidth: clamp(170px, 16vw, 310px);
        --lsTextSize: clamp(.75rem, .95vw, 1.0625rem);
        --lsCtaSize: clamp(.6875rem, .85vw, .9375rem);
        --lsCtaGap: 3.2vw;

        --lsPaddingY: 1.5rem;
        --lsLogoToText: 1.6vw;
        --lsTextToCta: 2.6vw;

        justify-content: center;
        aspect-ratio: 1918 / 552;          /* proportions de l'image */
        padding: var(--lsPaddingY) 6% var(--lsPaddingY) 36%; /* texte à droite du portant */

        background-color: #e9ddd2;
        background-image: var(--lsImgJpg);
        background-image: -webkit-image-set(var(--lsImgWebp) type("image/webp"), var(--lsImgJpg) type("image/jpeg"));
        background-image: image-set(var(--lsImgWebp) type("image/webp"), var(--lsImgJpg) type("image/jpeg"));
        /* Zoom + décalage : l'image est agrandie à 112 % et calée à droite,
           ce qui pousse le portant vers la gauche (˜ 12 % de la largeur).
           Augmenter --lsBgZoom pour agrandir / décaler davantage. */
        --lsBgZoom: 112%;
        background-size: var(--lsBgZoom) auto;
        background-position: right bottom; /* ancré en bas : le zoom rogne le haut (mur) et non le sol */
        background-repeat: no-repeat;
    }

    .ls-banner__text {
        max-width: 42rem;
        line-height: 1.25;
    }
}