
/* ==============================================
   CLINIQUE LARIVIERE
   HAUTEURS UNIFIEES SUR TOUTES LES PAGES
   ============================================== */

:root {
    --lv-unified-header: 88px;
    --lv-unified-subnav: 68px;
}

/* PREMIER BANDEAU : HAUTEUR FIXE */

html body .site-header,
html body .site-header.scrolled,
html body.specialty-page .site-header,
html body.specialty-page .site-header.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: var(--lv-unified-header) !important;
    min-height: var(--lv-unified-header) !important;
    max-height: var(--lv-unified-header) !important;

    padding: 0 32px !important;
    box-sizing: border-box !important;

    z-index: 1100 !important;
}

/* CONTENU DU PREMIER BANDEAU */

html body .site-header .nav,
html body .site-header.scrolled .nav {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    height: 100% !important;
    min-height: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
}

html body .site-header .brand,
html body .site-header.scrolled .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center;

    height: 100% !important;
    flex-shrink: 0;
}

html body .site-header .brand-logo,
html body .site-header.scrolled .brand-logo {
    width: auto !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

/* TITRE CENTRAL IDENTIQUE */

html body .site-header .lv-wordmark,
html body .site-header .lv-home-wordmark {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%,-50%) !important;

    margin: 0 !important;
    line-height: 1.2 !important;

    white-space: nowrap;
}

/* BOUTONS DU HAUT */

html body .site-header .nav-links.lv-actions,
html body .site-header .nav-links.lv-home-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;
    margin-left: auto;

    height: 100%;
}

html body .site-header .lv-actions .nav-cta,
html body .site-header .lv-home-actions .nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 40px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
    white-space: nowrap;

    line-height: 1.2 !important;
}

/* SECOND BANDEAU : MEME POSITION */

html body .lv-subnav,
html body .lv-home-subnav {
    position: fixed !important;

    top: var(--lv-unified-header) !important;
    left: 0 !important;
    right: 0 !important;

    height: var(--lv-unified-subnav) !important;
    min-height: var(--lv-unified-subnav) !important;
    max-height: var(--lv-unified-subnav) !important;

    padding: 0 !important;
    box-sizing: border-box !important;

    z-index: 1050 !important;
}

/* ALIGNEMENT VERTICAL DES ONGLETS */

html body .lv-subnav-inner,
html body .lv-home-subnav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 100% !important;
    min-height: 0 !important;

    box-sizing: border-box !important;
}

/* LIENS SIMPLES */

html body .lv-subnav-inner > a,
html body .lv-subnav-inner > span,
html body .lv-home-subnav-inner > a {
    display: inline-flex !important;
    align-items: center !important;

    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
}

/* MENUS DEROULANTS INTERIEURS */

html body .lv-subnav-inner > details.lv-menu {
    align-self: stretch !important;
    height: 100% !important;
}

html body .lv-subnav-inner > details.lv-menu > summary {
    display: flex !important;
    align-items: center !important;

    height: 100% !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
    list-style: none !important;
}

html body .lv-subnav-inner
> details.lv-menu > summary::-webkit-details-marker {
    display: none !important;
}

/* MENUS DEROULANTS ACCUEIL */

html body .lv-home-subnav
.lariviere-nav-group {
    align-self: stretch !important;
    height: 100% !important;
}

html body .lv-home-subnav
.lariviere-nav-group > a {
    display: flex !important;
    align-items: center !important;

    height: 100% !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
}

/* RETIRER LES VARIATIONS EN SCROLL */

html body .site-header.scrolled .nav {
    transform: none !important;
}

/* ECRANS INTERMEDIAIRES */

@media (min-width:961px) and (max-width:1240px) {

    html body .site-header .lv-wordmark,
    html body .site-header .lv-home-wordmark {
        font-size: 11px !important;
        letter-spacing: .06em !important;
    }

    html body .site-header .nav-links.lv-actions,
    html body .site-header .nav-links.lv-home-actions {
        gap: 6px;
    }

    html body .site-header .nav-cta {
        font-size: 10px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
}

/* MOBILE : MEME HAUTEUR PARTOUT */

@media (max-width:960px) {

    :root {
        --lv-unified-header: 72px;
    }

    html body .site-header,
    html body .site-header.scrolled,
    html body.specialty-page .site-header,
    html body.specialty-page .site-header.scrolled {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;

        padding: 0 18px !important;
    }

    html body .site-header .brand-logo,
    html body .site-header.scrolled .brand-logo {
        max-height: 44px !important;
    }

    html body .site-header .nav-links.lv-actions,
    html body .site-header .nav-links.lv-home-actions {
        display: none !important;
    }

    html body .lv-subnav,
    html body .lv-home-subnav {
        display: none !important;
    }

    html body .site-header .lv-wordmark,
    html body .site-header .lv-home-wordmark {
        font-size: clamp(10px,2.7vw,13px) !important;
        letter-spacing: .05em !important;
        max-width: calc(100% - 145px);
        text-align: center;
    }
}


/* ================================================
   LARIVIERE-SOUS-MENUS-CADRE-UNIQUE

   Meme presentation sur toutes les pages.
   Un seul encadrement, y compris pour les
   menus avec plusieurs niveaux.
   ================================================ */

@media (min-width: 961px) {

    /* UN SEUL CADRE EXTERIEUR */

    body .lv-home-subnav
    .lariviere-nav-group > .lariviere-submenu,

    body .lv-subnav-inner
    > .lv-menu > .lv-dropdown {

        box-sizing: border-box !important;

        width: 292px !important;
        min-width: 292px !important;
        max-width: calc(100vw - 32px) !important;

        padding: 9px !important;
        margin: 0 !important;

        background: #F8F6F2 !important;

        border: 1px solid rgba(41,49,45,.12) !important;
        border-radius: 5px !important;

        box-shadow:
            0 18px 45px rgba(41,49,45,.13) !important;
    }

    /* SUPPRIMER LE DEUXIEME CADRE
       DANS LES MENUS DE L'ACCUEIL */

    body .lv-home-subnav
    .lariviere-submenu-inner {

        background: transparent !important;
        background-image: none !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        margin: 0 !important;
        padding: 0 !important;

        width: 100% !important;
        min-width: 0 !important;
    }

    /* SUPPRIMER LE CADRE AUTOUR DES
       GROUPES INTERMEDIAIRES */

    body .lv-subnav
    .lv-dropdown > .lv-nested {

        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* SOUS-MENUS DE NIVEAU 2 :
       AFFICHAGE DANS LE MEME CADRE */

    body .lv-subnav
    .lv-nested > .lv-dropdown {

        position: static !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        transform: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 0 0 14px !important;

        background: transparent !important;
        background-image: none !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;
    }

    /* MEME TYPOGRAPHIE PARTOUT */

    body .lv-home-subnav
    .lariviere-submenu-inner > a,

    body .lv-home-subnav
    .lariviere-submenu-inner > span,

    body .lv-subnav
    .lv-dropdown > a,

    body .lv-subnav
    .lv-dropdown > span,

    body .lv-subnav
    .lv-dropdown > details > summary,

    body .lv-subnav
    .lv-nested > .lv-dropdown > a,

    body .lv-subnav
    .lv-nested > .lv-dropdown > span {

        display: block;

        box-sizing: border-box;

        width: 100%;

        padding: 12px 14px !important;

        font-family: Georgia,serif !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;

        color: #29312D !important;
        text-decoration: none !important;

        border: 0 !important;
        border-radius: 3px !important;

        background: transparent;

        white-space: normal !important;
    }

    /* MEME HOVER SUR TOUS LES LIENS */

    body .lv-home-subnav
    .lariviere-submenu-inner > a:hover,

    body .lv-home-subnav
    .lariviere-submenu-inner > a:focus-visible,

    body .lv-subnav
    .lv-dropdown a:hover,

    body .lv-subnav
    .lv-dropdown a:focus-visible,

    body .lv-subnav
    .lv-dropdown summary:hover,

    body .lv-subnav
    .lv-dropdown summary:focus-visible {

        background: #EAE5DD !important;
        color: #29312D !important;
    }

    /* GARDER LES MENTIONS PROCHAINEMENT
       SANS LEUR DONNER L'APPARENCE
       D'UN LIEN ACTIF */

    body .lv-home-subnav
    .lariviere-submenu-inner > span,

    body .lv-subnav
    .lv-dropdown > span.lv-unavailable {

        opacity: .55;
        cursor: default;
    }

    /* AUCUNE FLECHE AJOUTEE */

    body .lv-subnav
    .lv-menu > summary::after {

        content: none !important;
        display: none !important;
    }
}

/* LV-DESIGN-PUBLIC-STABLE-V4-BEGIN */

/*
   DESIGN PUBLIC COMMUN
   Ne modifie aucune hauteur de banniere,
   aucun menu, formulaire ou agenda.
*/

/* 1. ESTHETIQUE : BEIGE ACCUEIL */

html body.aesthetic-page {
    --lv-background: #EDEAE5;
    --lv-foreground: #29312D;
    --lv-coherence-background: #EDEAE5;
    --lv-compact-bg: #EDEAE5;

    background-color: #EDEAE5 !important;
}

html body.aesthetic-page main,
html body.aesthetic-page main > :is(section,article),
html body.aesthetic-page main :is(
    .hero.lv-hero,
    .lv-price-hero,
    .lv-care-hero,
    .lv-care-main,
    .lv-care-directory,
    .lv-care-article,
    .lv-care-chapter,
    .lv-care-context,
    .lv-poles,
    .lv-pricing,
    .specialty-intro,
    .specialty-philosophy,
    .specialty-information,
    .specialty-team,
    .specialty-next,
    .specialty-booking,
    .lv-tariff-empty
) {
    --lv-foreground: #29312D;
    background-color: #EDEAE5 !important;
}

/* 2. MEDICAL : GRIS TRES CLAIR */

html body.specialty-page:not(
    .aesthetic-page
):not(.contact-page):not(.recrutement-page) {
    --lv-background: #F5F6F6;
    --lv-foreground: #29312D;
    --lv-coherence-background: #F5F6F6;
    --lv-compact-bg: #F5F6F6;

    background-color: #F5F6F6 !important;
}

html body.specialty-page:not(
    .aesthetic-page
):not(.contact-page):not(.recrutement-page) main,

html body.specialty-page:not(
    .aesthetic-page
):not(.contact-page):not(.recrutement-page)
main > :is(section,article),

html body.specialty-page:not(
    .aesthetic-page
):not(.contact-page):not(.recrutement-page)
main :is(
    .hero.lv-hero,
    .lv-price-hero,
    .lv-care-hero,
    .lv-poles,
    .lv-pricing,
    .specialty-intro,
    .specialty-philosophy,
    .specialty-information,
    .specialty-team,
    .specialty-next,
    .specialty-booking
) {
    --lv-foreground: #29312D;
    background-color: #F5F6F6 !important;
}

/* 3. TEXTES LISIBLES SUR FONDS CLAIRS */

html body.aesthetic-page main :is(
    .hero.lv-hero,
    .lv-price-hero,
    .lv-care-hero,
    .specialty-intro,
    .specialty-philosophy,
    .specialty-information,
    .specialty-team,
    .specialty-next,
    .specialty-booking,
    .lv-poles,
    .lv-pricing,
    .lv-care-directory,
    .lv-care-article,
    .lv-care-chapter,
    .lv-care-context,
    .lv-care-final
) :is(
    h1,h2,h3,h4,h5,h6,
    p,li,span,small,strong,em,dt,dd,blockquote
):not(a *):not(button *),

html body.specialty-page:not(
    .aesthetic-page
):not(.contact-page):not(.recrutement-page)
main :is(
    .hero.lv-hero,
    .specialty-intro,
    .specialty-philosophy,
    .specialty-information,
    .specialty-team,
    .specialty-next,
    .specialty-booking,
    .lv-poles
) :is(
    h1,h2,h3,h4,h5,h6,
    p,li,span,small,strong,em,dt,dd,blockquote
):not(a *):not(button *) {
    color: #29312D !important;
    -webkit-text-fill-color: #29312D !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Section Consultation de la capture */

html body.aesthetic-page main :is(
    .specialty-philosophy,
    .specialty-booking
) {
    opacity: 1 !important;
}

/* 4. TITRES PRINCIPAUX IDENTIQUES */

html body:not(.home-page) main :is(
    .hero.lv-hero,
    .hero.lv-static-no-slides,
    .lv-price-hero,
    .lv-care-hero,
    .lv-recruitment-hero
) h1 {
    font-family: Georgia,serif !important;
    font-size: clamp(30px,2.9vw,40px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: -.012em !important;

    color: #29312D !important;
    -webkit-text-fill-color: #29312D !important;
}

/* 5. SOUS-TITRES IDENTIQUES */

html body:not(.home-page) main :is(
    .hero.lv-hero,
    .hero.lv-static-no-slides,
    .lv-price-hero,
    .lv-care-hero,
    .lv-recruitment-hero
) :is(
    .hero-text,
    .hero-content > p,
    .lv-care-wrap > p,
    .lv-price-subtitle,
    p
):not(a *) {
    font-family: Arial,sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;

    color: #514B46 !important;
    -webkit-text-fill-color: #514B46 !important;
}

/* 6. TITRES DE SECTIONS */

html body:not(.home-page)
main :is(section,article)
h2:not(.booking-step *):not(.booking-heading *):not(form *) {
    font-family: Georgia,serif !important;
    font-size: clamp(26px,2.4vw,33px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

html body:not(.home-page)
main :is(section,article)
h3:not(.booking-step *):not(.booking-heading *):not(form *) {
    font-family: Georgia,serif !important;
    font-size: clamp(20px,1.9vw,24px) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

/* 7. TEXTES COURANTS */

html body:not(.home-page)
main :is(section,article)
:is(p,li):not(.booking-step *):not(
    .booking-heading *
):not(form *):not(a *) {
    font-family: Arial,sans-serif !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

/* 8. CARTES EXISTANTES */

html body:not(.home-page)
main :is(.lv-pole-card,.lv-care-card) {
    background-color: #E8E1D8 !important;
    color: #29312D !important;

    border: 1px solid rgba(41,49,45,.17) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

html body.specialty-page:not(.aesthetic-page)
main .lv-pole-card {
    background-color: #EBEEEE !important;
}

html body:not(.home-page)
main :is(.lv-pole-card,.lv-care-card)
:is(strong,span,small,em) {
    color: #29312D !important;
    -webkit-text-fill-color: #29312D !important;
}

/* Cartes juste apres les grandes bannieres */

html body:not(.home-page)
main :is(.lv-poles,.lv-care-directory) {
    margin-top: 0 !important;
    padding-top: 30px !important;
}


/* LV-BOUTONS-CTA-CORRIGES-V1 */

/* Boutons d'action des pages publiques.
   Ne concerne ni les menus, ni les formulaires,
   ni les etapes de reservation. */

html body:not(.home-page)
main :is(section,article,.hero,.lv-care-final)
a:is([href*="rendez-vous"],.hero-button,.lv-poles-rdv,.doctor-booking):not(.lv-pole-card):not(.lv-care-card):not(.lv-care-link):not(form *):not(.booking-step *):not(.booking-heading *) {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 46px !important;

    box-sizing: border-box !important;

    padding: 13px 23px !important;
    gap: 12px !important;

    background: #29312D !important;
    border: 1px solid #29312D !important;
    border-radius: 3px !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: .015em !important;

    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;

    opacity: 1 !important;
    text-shadow: none !important;
    box-shadow: none !important;

    white-space: normal !important;
    cursor: pointer;
}

/* Texte et fleches a l'interieur */

html body:not(.home-page)
main :is(section,article,.hero,.lv-care-final)
a:is([href*="rendez-vous"],.hero-button,.lv-poles-rdv,.doctor-booking):not(.lv-pole-card):not(.lv-care-card):not(.lv-care-link):not(form *):not(.booking-step *):not(.booking-heading *) * {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Survol */

html body:not(.home-page)
main :is(section,article,.hero,.lv-care-final)
a:is([href*="rendez-vous"],.hero-button,.lv-poles-rdv,.doctor-booking):not(.lv-pole-card):not(.lv-care-card):not(.lv-care-link):not(form *):not(.booking-step *):not(.booking-heading *):is(:hover,:focus-visible) {
    background: #46524B !important;
    border-color: #46524B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Mobile */

@media (max-width: 600px) {
    html body:not(.home-page)
    main :is(section,article,.hero,.lv-care-final)
    a:is([href*="rendez-vous"],.hero-button,.lv-poles-rdv,.doctor-booking):not(.lv-pole-card):not(.lv-care-card):not(.lv-care-link):not(form *):not(.booking-step *):not(.booking-heading *) {
        min-height: 44px !important;
        padding: 12px 18px !important;
        font-size: 13px !important;
    }
}

/* 10. MOBILE : TYPOGRAPHIE SEULEMENT */

@media (max-width:600px) {
    html body:not(.home-page) main :is(
        .hero.lv-hero,
        .hero.lv-static-no-slides,
        .lv-price-hero,
        .lv-care-hero,
        .lv-recruitment-hero
    ) h1 {
        font-size: 30px !important;
    }

    html body:not(.home-page)
    main :is(.lv-poles,.lv-care-directory) {
        padding-top: 24px !important;
    }
}

/* LV-DESIGN-PUBLIC-STABLE-V4-END */


/* LV-MEDICAL-SOUS-MENU-SUPPRIME-V1
   Medical est un lien direct.
   Aucun sous-menu au survol.
   Les autres menus sont conserves.
*/

html body .lv-home-subnav
.lariviere-nav-group:has(
    > a[href*="/medical/medecine"]
) > .lariviere-submenu,

html body .lv-home-subnav
.lariviere-nav-group:has(
    > a[href*="/medical/medecine"]
) .lariviere-submenu-inner,

html body .lv-subnav-inner
> details.lv-menu:has(
    a[href*="/medical/medecine"]
) > .lv-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* LV-ESTHETIQUE-PAUSE-START */

/* Garder la carte Esthetique et ses liens sur l'accueil. */
html body a[href*="/esthetique"]:not(.universe.aesthetic a),
html body a[href*="/technologies"]:not(.universe.aesthetic a),
html body a[href="#esthetique"]:not(.universe.aesthetic a),
html body a[href="/#esthetique"]:not(.universe.aesthetic a) {
    display: none !important;
}

/* Masquer uniquement les menus superieurs Esthetique. */
html body .lv-home-subnav
.lariviere-nav-group:has(a[href*="/esthetique"])
:not(:has(a[href*="/medical"])),

html body .lv-subnav-inner
details.lv-menu:has(a[href*="/esthetique"])
:not(:has(a[href*="/medical"])) {
    display: none !important;
}

/* Renvois esthetiques hors de l'accueil. */
html body main section.specialty-next
:has(a[href*="/esthetique"])
:not(:has(a[href*="/medical"])) {
    display: none !important;
}

/* AUCUN masquage de la carte Esthetique. */
/* AUCUNE modification de la grille de l'accueil. */

/* LV-ESTHETIQUE-PAUSE-END */

