        /* =====================================
           VARIABLES
        ===================================== */
        :root {
            --rose-poudre: #f5efee;
            --rose-terre: #c98c8c;
            --noir: #111;
            --blanc: #fff;
        }

        /* =====================================
           RESET & BASE
        ===================================== */
        body {
            font-family: 'Montserrat', sans-serif;
            color: #333;
            background-color: var(--blanc);
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5 {
            font-family: "Cormorant Garamond", serif;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        a {
            text-decoration: none;
            color: inherit;
        }
        
        .videoIntro{
            margin-top:20px;
            width: 90%;
        }

        .dancingScript{
            font-family: "Dancing Script", cursive;
            text-transform: none !important;
        }

        .text-uppercase{
            text-transform: uppercase;
        }
        
        .productDescription{
            font-size: 0.8rem;
        }
        /* =====================================
           NAVBAR
        ===================================== */
        .navbar {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
        }

        .navbar-brand img {
            height: 80px;
        }

        .nav-link {
            position: relative;
            text-transform: uppercase;
            font-size: 1.2rem;
            font-family: "Cormorant Garamond", serif;
            font-weight: 500;
        }

        /* Effet scaleX au survol */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--rose-terre);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .nav-link:hover::after {
            transform: scaleX(1);
        }


        /* =====================================
            HERO
        ===================================== */
        .hero {
            position: relative;
            min-height: 85vh;
            color: var(--blanc);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            width: 100%;
            overflow: hidden; /* Empêche l'image de déborder */
        }

        /* Image de fond en position absolue — résout le problème de qualité */
        .hero-bg {
            position: absolute;
            inset: 0;                /* top/right/bottom/left: 0 */
            width: 100%;
            height: 100%;
            object-fit: cover;       /* Même comportement que background-size: cover */
            object-position: center;
            z-index: 0;
        }



        .hero h1 {
            font-size: clamp(2.5rem, 4vw, 4rem);
            margin: 0;
            text-align: left;        /* Explicitement à gauche */
        }

        .hero h1,
        .hero h2 {
            text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
            margin: 0.5em 0;
            text-align: left;        /* Corrige l'alignement sur mobile */
        }

        .btnSlider, .btnContactForm{
            background-color: #ba797a;
            border-radius:0 !important;
            width: fit-content;  
            padding: 5px 20px 5px 20px;  
            margin-top: 50px;
            color:white;      
        }
        .btnSlider:hover, .btnContactForm:hover{
            background-color: #1a1a1a;
            outline:1px solid #282828;
            outline-offset:2px;
            color:white;
        }

        .btnSliderLink, .btnContactFormLink{
            color:white !important;
        }

        /* =====================================
            Marquee
        ===================================== */
            .marquee-wrapper {
            overflow: hidden;
            padding: 20px 0;
            background: #fff;
            position: relative;
        }

        /* Dégradés sur les bords */
        .marquee-wrapper::before,
        .marquee-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            width: 250px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }
        .marquee-wrapper::before {
            left: 0;
            background: linear-gradient(to right, white, rgba(255,255,255,0));
        }
        .marquee-wrapper::after {
            right: 0;
            background: linear-gradient(to left, white, rgba(255,255,255,0));
        }

        /* Track qui contient les deux groupes côte à côte */
        .marquee-track {
            display: flex;
            width: max-content;
            animation: marquee-scroll 50s linear infinite; /* Plus lent sur toutes tailles */
        }

        /* Pause au survol */
        .marquee-wrapper:hover .marquee-track {
            animation-play-state: paused;
        }

        /* Chaque groupe d'images */
        .marquee-group {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .marquee-group img {
            max-height: 150px;
            margin: 0 40px;
            display: block;
        }
        
       
        /* ===== HERO SWIPER ===== */
        .newLabel{
            background-color: #111;
            padding: 20px;
            color:white;
            width: auto;
        }
        .hero-swiper {
            width: 100%;
            height: 85vh; /* Pleine hauteur écran par défaut */
        }

        .hero-swiper .swiper-slide {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .hero-swiper .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .hero-swiper .contentSwiperSlide {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: left;
            height: 100%;
            text-align: left;
            padding: 0 20px 0 4%;
            color: white;

            /* Optionnel : overlay sombre pour lisibilité du texte */
            background: rgba(0, 0, 0, 0.15);
        }

        .products-swiper{
            margin-top:40px !important;
            }
            
        .swiperContent{
            background-color: white;
            padding: 5px;
            min-height: 550px;
            border: 1px solid black;
        }
        .hero-swiper .contentSwiperSlide h1,
        .hero-swiper .contentSwiperSlide h2 {
            text-shadow: 
                0px 2px 4px rgba(0, 0, 0, 0.6),
                0px 4px 12px rgba(0, 0, 0, 0.3);
        }

        /* ===== VARIANTE FOND CLAIR — texte sombre ===== */
        .swiper-slide.slide-light .contentSwiperSlide h1,
        .swiper-slide.slide-light .contentSwiperSlide h2 {
            color: #1a1a1a;
            text-shadow: 
                0px 1px 3px rgba(255, 255, 255, 0.8),
                0px 3px 8px rgba(255, 255, 255, 0.5);
        }

        /* ===== VARIANTE FOND FONCÉ — texte clair ===== */
        .swiper-slide.slide-dark .contentSwiperSlide h1,
        .swiper-slide.slide-dark .contentSwiperSlide h2 {
            color: #ffffff;
            text-shadow: 
                0px 2px 4px rgba(0, 0, 0, 0.7),
                0px 4px 16px rgba(0, 0, 0, 0.4);
        }
        /* =====================================
           LOGOS MARQUES
        ===================================== */
        .brand-logos img {
            max-height: 40px;
            filter: grayscale(100%);
            opacity: 0.8;
            transition: all 0.3s;
        }

        .brand-logos img:hover {
            filter: none;
            opacity: 1;
        }
        /* =====================================
           INTRO
        ===================================== */
        .intro,.esthetique{
            background-color: var(--rose-poudre);
        }
        .imageCentreEsthetique{
            max-height: 520px;
            margin:0 auto;
            display: block;
            outline:1px solid #282828;
            outline-offset:20px;
        }
        .imageEquipe{
            background-image: url("../img/team/SabineHernalsteen.png");
            height: 520px;
            display: block;
        }
        .outlineBorder{
            outline:1px solid #282828;
            outline-offset:20px;
        }
        /* =====================================
           PRODUITS
        ===================================== */
        .product-card {
            background: var(--blanc);
            border: none;
            transition: transform 0.3s ease;
        }
        .productCapacity{
            display: flex;
            flex-wrap: wrap; /* Permet le retour à la ligne */
            gap: 4px; /* Espace entre les badges */
            justify-content: center; /* Centre les badges */
            margin-bottom: 10px;
        }
        .productCapacityItem{
            background: #000;
            padding: 2px 5px 2px 5px;
            color: white;
        }

        .product-card:hover {
            transform: translateY(-5px);
        }
        /* =====================================
           PRODUITS
        ===================================== */

         .btnNoticeBottomModal{
            background-color: #ba797a;
            border-radius:0 !important;
            color:white;
            bottom: 6px;
            left: 0;
            display: inline-block;
            width: 100%;
        }
        .btnNoticeBottomModal:hover{
            background-color: #1a1a1a;
            color:white;
            outline:1px solid #282828;
            outline-offset:2px;
        }
        .modal-content{
            border-radius: 0 !important;
        }


        /* =====================================
           SERVICES
        ===================================== */
        /* Le conteneur de carte ne doit pas couper les boutons,
           et l'animation ne doit pas affecter les images des modales. */
        .service-card img {
            display: block;
            transform: none;
            filter: brightness(1);
            transition: filter 450ms ease-in-out;
        }

        .service-card:hover img {
            transform: none;
            filter: brightness(0.90);
        }

        /* Galerie des soins : cadre fixe, seul le contenu visuel zoome. */
        .esthetique-soins .soins-card {
            border-radius: 0;
            transform: none;
            transition: none;
        }

        .esthetique-soins .soins-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            position: relative;
            overflow: hidden;
            border-radius: 0;
            isolation: isolate;
        }

        .esthetique-soins .soins-image__photo {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0;
            transform: scale(1) translateZ(0);
            transform-origin: center center;
            backface-visibility: hidden;
            transition: transform 450ms ease;
        }
        
        /* Le survol est attache a la zone image fixe, pas a toute la carte. */
        @media (hover: hover) and (pointer: fine) {
            .esthetique-soins .soins-image:hover .soins-image__photo {
                transform: scale(1.045) translateZ(0);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .esthetique-soins .soins-image__photo {
                transition: none;
            }
            .esthetique-soins .soins-image:hover .soins-image__photo {
                transform: none;
            }
        }

        .SoinsVisage{
            width: 100%;
        }
        .SoinsVisagePills{
            width: 100px;
            height: 100px;
        }

        .serviceTitle{
            position: absolute;   /* positionnée par rapport au parent col-sm-3 */
            top: 0;               /* en haut de l'image */
            left: 0;
            width: 100%;          /* prend toute la largeur du parent */
            text-align: center;   /* texte centré */
            color: #1a1a1a;          /* texte blanc si overlay sombre */
            padding: 0.5rem 0;    /* petit espace autour du texte */
            box-sizing: border-box;
            overflow: hidden;     /* coupe le texte qui dépasse */
            white-space: normal; /* autorise le texte sur plusieurs lignes */
            padding: 0.5rem;
            text-overflow: ellipsis; /* ajoute … si texte trop long */
            background: white;
            border: 1px solid #f7f2f2; 
            height:70px;
            opacity: 0.9;
            display:flex;
            align-items:center;
            justify-content:center;
        }
        .serviceTitle h4{
            font-size:1.1rem !important;
        }

        .btnService{
            position: absolute;   /* positionnée par rapport au parent col-sm-3 */
            bottom: 10px;               /* en haut de l'image */
            right: 25px;
            width: 65%;          /* prend toute la largeur du parent */
            text-align: center;   /* texte centré */
            color: #1a1a1a;          /* texte blanc si overlay sombre */
            box-sizing: border-box;
            overflow: hidden;     /* coupe le texte qui dépasse */
            white-space: normal; /* autorise le texte sur plusieurs lignes */
            padding: 0.5rem;
            text-overflow: ellipsis; /* ajoute … si texte trop long */
            background: #ba797a;
            height:31px;
            opacity: 0.9;
            border-radius:0 !important;
            color:white;
            font-size:0.8rem;
            padding-bottom:28px;
        }
        .btnService:hover {
            background-color: #1a1a1a;
            color:white;
            outline:1px solid #282828;
            outline-offset:2px;
        }
        .position-relative{
            overflow:hidden;
        }
        .btnTarifsServices {
            background: var(--rose-terre);
            color: white;
            border: 1px solid var(--rose-terre);
            border-radius: 0;
            outline: none;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .btnTarifsServices:hover,
        .btnTarifsServices:active {
            background-color: #1a1a1a;
            color:white;
            outline:1px solid #282828;
            outline-offset:2px;
        }
        .btnTarifsServices:focus-visible {
            outline: 2px solid #282828;
            outline-offset: -4px;
        }
        .tarif{
            background-color: #f5efee;
        }

        /* =====================================
           Accordion 
        ===================================== */
        .accordion-body{
            padding: 20px 5px 10px 5px;
            width: 100%;
            margin-left: 7px !important;
        }
        .accordion-button:not(.collapsed){
            background-color:#f5efee !important;
            color:#ba797a !important;
        }
        .accordion-button:focus{
            outline: none !important;
            box-shadow: none !important;
        }
        .accordion-button:not(.collapsed) {
            box-shadow: none !important;
            outline: none !important;
            box-shadow: none !important;
        }
        .accordion-flush{
            padding: 5px;
        }
        /* =====================================
           CTA
        ===================================== */
        .cta {
            background: var(--rose-terre);
            color: white;
        }
        /* =====================================
           BTN
        ===================================== */
        .btnProduct{
            background-color: #ba797a;
            border-radius:0 !important;
            color:white;
            width: 100%;
            bottom: 6px;
            left: 0;
        }
        .btnProduct:hover{
            background-color: #1a1a1a;
            color:white;
            outline:1px solid #282828;
            outline-offset:2px;
        }

        /* =====================================
        RESTEZ CONNECTE - CARTE PRIVILEGE 
        ===================================== */
        .cartePrivilege, .restezConnecte {
            background-color: #1a1a1a;
            color: white;
            min-height: 300px;         
            display: flex;
            flex-direction: column;
        }
        .iconSocial{
            width: 50px;
        }
        .iconSocialMini{
            width: 20px;
        }
        /* =====================================
           FORMULAIRE DE CONTACT
        ===================================== */
        .contactForm{
            background-color: var(--rose-poudre);
        }
        #form input, #form select, #form textarea{
            padding: 11px 15px;
            border: 1px solid var(--rose-poudre);
            outline: none;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            border-radius: 0;
        }
        #form input:hover, #form select:hover, #form textarea:hover{
            border: 1px solid var(--rose-terre);
        }
        #form input:focus, #form textarea:focus{
            box-shadow: none;
        }
        
        /* =====================================
           FOOTER
        ===================================== */
        footer {
            background: #1a1a1a;
            color: #ccc;
        }

        footer a {
            color: #ccc;
            font-size: 0.9rem;
        }
        footer h4{
            color:white;
        }

        .logoFooter{
            width: 350px;
            max-width: 100%;
            height: auto;
            margin: 0 auto;
            display:flex;
        }
        /* =====================================
           OFFCANVAS DOUBLE PANNEAU
        ===================================== */
        .offcanvas-start {
            width: 75%;
        }

        .offcanvas-end {
            width: 25%;
            background: #111;
            color: white;
        }

        /* Hamburger animé */
        .navbar-toggler {
            border: none;
        }

        .navbar-toggler span {
            display: block;
            width: 25px;
            height: 2px;
            background: #000;
            margin: 6px 0;
            transition: 0.4s;
        }

        .navbar-toggler.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px,5px);
        }

        .navbar-toggler.active span:nth-child(2) {
            opacity: 0;
        }

        .navbar-toggler.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px,-6px);
        }

        #sectionSoinsEsthetique .service-card {
            overflow: visible !important;
            transform: none !important;
            transition: none !important;
        }

        #sectionSoinsEsthetique .service-card img {
            transform: none !important;
            transition: opacity 450ms ease-in-out !important;
            opacity: 1;
        }

        #sectionSoinsEsthetique .service-card:hover img {
            transform: none !important;
            opacity: 0.8;
        }

        #sectionSoinsEsthetique  {
            outline: none !important;
        }

        /* Responsive */
        @keyframes marquee-scroll {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        @media (hover: hover) and (pointer: fine) {
            .marquee-wrapper:hover .marquee-track {
                animation-play-state: paused;
            }
        }
        @media (max-width: 768px) {
            .dancingScripth1{
            font-size: 3rem !important;
            }
            .outlineBorder{
            outline:0px;
            }
        }
        @media (max-width: 1200px) {
            .marquee-track {
                animation-duration: 35s;
            }
            .marquee-wrapper::before,
            .marquee-wrapper::after {
                width: 80px;
            }
            .dancingScripth1{
            font-size: 4em;
            }
            .hero h1,
            .hero h2 {
                text-align: left;
            }
        }
         @media (min-width: 1200px) {
            .dancingScripth1{
            font-size: 4.5rem;
        }
        }

/* Accueil : cinq classes spécifiques. Le reste utilise Bootstrap et le CSS original. */
.pp-baby-art { min-height:420px; background:#efe2dc; color:#8f695f; border-radius:48% 48% 0 0 / 38% 38% 0 0; }
.pp-occitane { background:var(--rose-poudre); overflow:hidden; }
.pp-occitane-swiper { width:calc(100% + min(10vw, 160px)); overflow:hidden; }
.pp-occitane-card { width:375px!important; height:500px !important; border:1px solid var(--noir); background:var(--blanc); }
.pp-occitane-card img { width:100%;  object-fit:contain; display:block; padding:25px; box-sizing:border-box; }
.pp-gifts-panel { border-radius:0; }
@media(max-width:991.98px) {
  .pp-occitane .min-w-0 { min-width:0; }
  .pp-occitane-swiper { width:100%; max-width:100%; }
}
@media(max-width:575.98px) {
  .pp-occitane-card { width:min(86vw,360px)!important; height:420px; }
  .pp-baby-art { min-height:340px; }
}

/* Accueil : correction du debordement des univers */
#home-univers .row > div { min-width: 0; }
#home-univers .row > div > a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
#home-univers .d-flex > div { min-width: 0; }
#home-univers .btnProduct { flex-shrink: 0; }
#home-univers h3 { overflow-wrap: break-word; }
@media (max-width: 767.98px) {
    #home-univers { overflow-x: clip; }
    #home-univers .row { margin-left: 0; margin-right: 0; }
    #home-univers .col-12 > a {
        aspect-ratio: auto !important;
        height: 230px;
        min-height: 0 !important;
    }
    #home-univers .col-6 > a {
        aspect-ratio: auto !important;
        height: 180px;
        min-height: 0 !important;
    }
}
