
.business-page.business-page-light {
    --theme-text: #292521;
    --accent: var(--theme-accent);
    --light-panel: rgba(255, 255, 255, .94);
    --light-width: 620px;
    --light-icon-bg: color-mix(in srgb, var(--theme-accent) 12%, #fff);
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0 0 30px;
    color: #292521;
    background-color: #e5dfd8;
    background-image: linear-gradient(rgba(35, 30, 27, .25), rgba(35, 30, 27, .38)), var(--business-bg-image);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: clip;
    box-sizing: border-box;
}

.business-page-light *,
.business-page-light *::before,
.business-page-light *::after {
    box-sizing: border-box;
}

/* Video pleine page derriere le panneau translucide. */
.business-page-light .business-video {
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.business-page-light::before {
    content: "";
    position: fixed;
    z-index: 1;
    inset: 0;
    background: rgba(30, 25, 22, .23);
    pointer-events: none;
}

/* Zone du haut sans photo incrustee : la video reste visible.
   Memes gouttieres laterales que le panneau, y compris sur mobile. */
.business-page-light .business-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    height: 240px;
    margin: 0 auto;
    background: transparent;
}

/* Bouton vCard au-dessus du panneau ; langues dans le panneau blanc. */
.business-page-light .business-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px;
}

.business-page-light .business-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
}

.business-page-light .business-topbar .business-vcard-button {
    position: static;
    inset: auto;
    transform: none;
    margin: 0;
    flex-shrink: 0;
}

/* Une seule surface translucide, legerement courbee : PAS de pseudo-element
   colore derriere le logo et donc aucun recouvrement des fonds transparents. */
.business-page-light .business-shell {
    position: relative;
    z-index: 3;
    width: calc(100% - 24px);
    max-width: var(--light-width);
    margin: 0 auto;
    padding: 0;
}

.business-page-light .business-brand {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: -36px 0 0;
    padding: 68px 22px 10px;
    background: var(--light-panel);
    border-radius: 50% 50% 0 0 / 46px 46px 0 0;
    text-align: center;
    color: #292521;
}

    .business-page-light .business-brand .business-logo {
        position: absolute;
        z-index: 2;
        top: -68px;
        left: 50%;
        display: block;
        width: 112px;
        height: 112px;
        max-width: none;
        margin: 0;
        padding: 0;
        transform: translateX(-50%);
        object-fit: contain;
        border: 5px solid #fff;
        border-radius: 50%;
        background: #f2f0ee;
        box-shadow: none;
        filter: none;
    }

    .business-page-light .business-brand:not(:has(.business-logo)) {
        padding-top: 28px;
    }

    .business-page-light .business-brand h1,
    .business-page-light .business-brand .business-subtitle {
        position: relative;
        z-index: 2;
        text-shadow: none;
    }

    .business-page-light .business-brand h1 {
        margin: 0;
        color: #292521;
    }

    .business-page-light .business-brand .business-subtitle {
        margin: 8px 0 0;
        color: #716860;
    }

/* Petit soulignement par categorie, comme sous le sous-titre de la maquette. */
        .business-page-light .business-brand .business-subtitle::after {
            content: "";
            display: block;
            width: 34px;
            height: 3px;
            margin: 12px auto 0;
            border-radius: 3px;
            background: var(--theme-accent);
        }

/* Les langues sont sur le blanc, sans se superposer au logo. */
.business-page-light .business-languages {
    display: flex;
    justify-content: center;
    margin: 12px auto 0;
}

    .business-page-light .business-languages .language-switcher {
        position: static;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: auto;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

        .business-page-light .business-languages .language-switcher a {
            color: #292521;
            background: color-mix(in srgb, var(--theme-accent) 8%, white);
            border: 1px solid color-mix(in srgb, var(--theme-accent) 15%, #e4dfd9);
            text-shadow: none;
            backdrop-filter: none;
        }

            .business-page-light .business-languages .language-switcher a.active {
                border-color: var(--theme-accent);
            }

.business-page-light .business-content {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 22px 30px;
    background: var(--light-panel);
    border-radius: 0 0 26px 26px;
    color: #292521;
    text-align: center;
}

.business-page.business-page-light h1,
.business-page.business-page-light h2,
.business-page.business-page-light p {
    text-shadow: none;
}

.business-page-light .business-subscription-warning {
    margin: 0 auto 16px;
}

/* Liens non officiels : carre clair + pictogramme accent categorie.
   Les logos officiels sont dans .business-famous-links et ne sont pas modifies. */
.business-page-light .business-content .business-links {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: safe center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 20px auto 22px;
    padding: 2px 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.business-page-light .business-content .business-links::-webkit-scrollbar {
    display: none;
}

.business-page-light .business-content .business-links .business-link {
    position: relative;
    display: grid;
    flex: 0 0 84px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 58px auto;
    justify-items: center;
    align-items: center;
    gap: 6px;
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #292521;
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
    opacity: 1;
}

/* Fond du bouton, independant du SVG. */
.business-page-light .business-content .business-links .business-link::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: 64px;
    height: 58px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: var(--light-icon-bg);
}

.business-page-light .business-content .business-links .business-link .business-link-icon {
    position: absolute;
    z-index: 1;
    top: 15.5px;
    left: 50%;
    display: block;
    flex: none;
    width: 27px;
    height: 27px;
    margin: 0;
    transform: translateX(-50%);
    object-fit: contain;
    /* Filtre couleur deja defini selon chaque categorie dans Common. */
    filter: var(--compact-link-icon-filter);
}

    .business-page-light .business-content .business-links .business-link > span {
        position: relative;
        z-index: 1;
        display: -webkit-box;
        grid-column: 1;
        grid-row: 2;
        justify-self: stretch;
        align-self: start;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0 2px;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #292521;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        transform: none;
    }

.business-page-light .business-content .business-links a.business-link:hover::before {
    background: color-mix(in srgb, var(--theme-accent) 16%, white);
}

.business-page-light .business-content .business-links a.business-link:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: 3px;
}

.business-page-light .business-content .business-link.business-link-disabled {
    opacity: .43;
    cursor: default;
}

/* Photo de vitrine sous les pictogrammes principaux. */
.business-page-light .business-feature {
    width: 100%;
    margin: 8px auto 18px;
    overflow: hidden;
    border-radius: 22px;
    background: color-mix(in srgb, var(--theme-accent) 9%, white);
}

    .business-page-light .business-feature img {
        display: block;
        width: 100%;
        aspect-ratio: 2 / 1;
        object-fit: cover;
        object-position: center;
    }

/* 6. Description et localisation */
.business-page-light .business-description {
    max-width: 520px;
    margin: 24px auto 16px;
    padding: 0 4px;
    color: #38322d;
    text-align: left;
    white-space: pre-line;
}

.business-page-light .business-location {
    color: #777069;
    text-align: center;
}

/* 7. Liens officiels et reseaux sociaux */
.business-page-light .business-famous-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px auto;
}

.business-page-light .business-famous-link {
    border-radius: 19px;
    background: var(--light-icon-bg);
    border-color: color-mix(in srgb, var(--theme-accent) 13%, white);
}

.business-page-light .business-famous-link img {
    filter: brightness(0);
}

.business-page-light .business-famous-link:focus-visible {
    outline-color: var(--theme-accent);
}

/* 8. Formulaire de contact : memes interactions, palette claire */
.business-page.business-page-light .business-stay-informed-details {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.business-page.business-page-light .business-stay-informed {
    color: #292521;
    background: color-mix(in srgb, var(--theme-accent) 11%, white);
    border: 1px solid color-mix(in srgb, var(--theme-accent) 36%, white);
    backdrop-filter: none;
}

.business-page-light .business-contact-icon {
    filter: none;
}

.business-page.business-page-light .business-stay-informed-panel {
    background: #faf9f7;
    border: 1px solid #e6e0da;
    color: #292521;
    backdrop-filter: none;
}

.business-page.business-page-light .business-stay-informed-panel label {
    color: #292521;
}

.business-page.business-page-light .business-stay-informed-panel input[type="text"] {
    background: #fff;
    border: 1px solid #d8d1c9;
    color: #292521;
}

.business-page.business-page-light .business-stay-informed-panel input[type="text"]:focus {
    border-color: var(--theme-accent);
}

.business-page.business-page-light .business-stay-informed-panel small {
    color: #716860;
}

.business-page.business-page-light .business-stay-informed-panel button {
    background: #171717;
    color: #fff;
}

.business-page.business-page-light .business-contact-success {
    background: #f7f5f2;
    color: #292521;
}

/* Les erreurs restent rouges, comme dans le theme Dark. */
.business-page-light .business-powered-by {
    margin-top: 22px;
    color: #827970;
}

/* Mobile : les bords laissent entrevoir la video (12 px par cote). */
@media (max-width: 640px) {
    .business-page-light .business-hero {
        height: 180px;
    }

    .business-page-light .business-topbar {
        padding: 12px;
    }

    .business-page-light .business-brand {
        margin-top: -32px;
    }

    .business-page-light .business-brand {
        padding: 62px 16px 10px;
        border-radius: 50% 50% 0 0 / 35px 35px 0 0;
    }

        .business-page-light .business-brand .business-logo {
            top: -60px;
            width: 102px;
            height: 102px;
        }

    .business-page-light .business-content {
        padding: 12px 14px 26px;
        border-radius: 0 0 22px 22px;
    }

    .business-page-light .business-feature {
        border-radius: 18px;
    }

    .business-page-light .business-content .business-links {
        justify-content: safe center;
        gap: 4px;
    }
}

@media (max-width: 359px) {
    .business-page-light .business-content .business-links .business-link {
        flex-basis: 76px;
        width: 76px;
        min-width: 76px;
        max-width: 76px;
    }
        .business-page-light .business-content .business-links .business-link::before {
            width: 60px;
            height: 58px;
            border-radius: 18px;
        }
}

/* Adaptation au thème Light */

.business-page-light .business-storefronts {
    color: #292524;
}

.business-page-light .business-storefronts-card {
    background: rgba(0, 0, 0, .035);
    border-color: rgba(0, 0, 0, .09);
}

    .business-page-light .business-storefronts-card:hover {
        background: rgba(0, 0, 0, .065);
    }

/* Pastilles sur fond clair */

.business-page-light .business-storefronts-dot {
    background: rgba(0, 0, 0, .22);
}

    .business-page-light .business-storefronts-dot.is-active {
        background: var(--accent, var(--qlii-category-default));
    }

/* ============================================
   LIGHT — ORDRE DES DÉTAILS ET RÉSEAUX SOCIAUX
   ============================================ */

.business-page-light .business-extras {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .business-page-light .business-extras > .business-details,
    .business-page-light .business-extras > .business-social {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .business-page-light .business-extras > .business-social {
        order: 1;
    }

    .business-page-light .business-extras > .business-details {
        order: 2;
    }