/* #region STRUCTURE --------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  RESET
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100dvh;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--noir);
    -webkit-font-smoothing: antialiased;
}

.bm-wrapper{
    max-width: 1400px;
    margin: auto;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    line-height: normal;
}

p {
    text-wrap: pretty;
}


/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  DESIGN GENERAL
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

/* -----------------------------------
   CHARGEMENT DES POLICES
-------------------------------------- */

/* Cormorant Garamond */
@font-face {
    font-family: "Cormorant Garamond";
    src: url("../typographies/cormorant-garamond-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../typographies/cormorant-garamond-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../typographies/cormorant-garamond-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../typographies/cormorant-garamond-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Outfit */
@font-face {
    font-family: "Outfit";
    src: url("../typographies/outfit-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../typographies/outfit-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../typographies/outfit-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../typographies/outfit-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* -----------------------------------
   VARIABLES
-------------------------------------- */

:root {
    /* ---------- COULEURS -----------*/

    /* Verts */
    --vert-sauge: #7a9a7e;
    --vert-sauge-light: #9db8a0;
    --vert-sauge-dark: #5a7a5e;

    /* Beiges */
    --beige-ocre: #d4c5a9;
    --beige-light: #ede6d6;
    --beige-warm: #c4a97d;

    /* Bleus */
    --bleu-gris: #8ba3b0;
    --bleu-ciel: #b8ccd6;

    /* Bruns */
    --brun-chaud: #8b6914;
    --brun-terre: #6b5a3e;

    /* Neutres */
    --pierre: #a89f91;
    --blanc-casse: #fdfbf7;
    --noir: #2c2c2c;

    /* Tokens sémantiques */

    /* couleurs */
    --primary-color: var(--vert-sauge);

    /* liens */
    --liens: var(--bleu-gris);
    --liens-hover: var(--bleu-ciel);

    /* Boutons */
    --btn-bg: var(--vert-sauge);
    --btn-bg-hover: var(--vert-sauge-dark);
    --btn-text: var(--blanc-casse);

    --btn-outline-border: var(--blanc-casse);
    --btn-outline-text: var(--blanc-casse);
    --btn-outline-bg-hover: var(--blanc-casse);
    --btn-outline-text-hover: var(--vert-sauge-dark);

    /* ---------- TYPOGRAPHIES -----------*/

    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Outfit", system-ui, sans-serif;

    --text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.925rem);
    --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.4vw, 1.35rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.65rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    --text-3xl: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
    --text-4xl: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
    --text-5xl: clamp(2.75rem, 1.9rem + 2.8vw, 4.5rem);

    /* ---------- ESPACEMENTS -----------*/

    --space-xs: clamp(0.5rem, 0.4rem + 0.3vw, 0.75rem);
    --space-sm: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
    --space-md: clamp(1rem, 0.8rem + 0.7vw, 1.5rem);
    --space-lg: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
    --space-xl: clamp(2rem, 1.4rem + 2vw, 3.5rem);
    --space-2xl: clamp(3rem, 2rem + 3.5vw, 5.5rem);
    --space-3xl: clamp(6rem, 4rem + 7vw, 11rem);
    --space-4xl: clamp(8rem, 6rem + 9vw, 13rem);
    --space-5xl: clamp(10rem, 8rem + 11vw, 15rem);

    /* ---------- COMPOSANTS -----------*/

    --content-width: 75rem;
    --gutter: var(--space-md);

    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;

    --shadow: 0 4px 12px hsl(30 15% 30% / 0.1);
    --shadow-lg: 0 12px 32px hsl(30 15% 30% / 0.15);

    --transition: 250ms ease-out;
}

/* ---------- DARK MODE -----------*/

@media (prefers-color-scheme: dark) {
    :root {
        --primary-l: 60%;

        --bg: var(--gray-900);
        --bg-alt: var(--gray-800);
        --text: var(--gray-100);
        --text-muted: var(--gray-400);
        --border: var(--gray-600);

        --shadow-sm: 0 1px 3px hsl(0 0% 0% / 0.25);
        --shadow-md: 0 4px 12px hsl(0 0% 0% / 0.35);
        --shadow-lg: 0 12px 32px hsl(0 0% 0% / 0.45);
    }
}


/* -----------------------------------
   TEXTES
-------------------------------------- */

/* ---------- TITRES -----------*/

h1 {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 400;
    margin-bottom: var(--space-md);
    line-height: 1;
}

h2 {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

h3 {
    font-family: var(--font-sans);
    font-size: var(--text-2xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

h4 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

h5 {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

h6 {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

/* ---------- PARAGRAPHES -----------*/

p {
    margin-bottom: var(--space-sm);
}

/* ---------- LIENS -----------*/

a {
    color: var(--liens);
    transition: color var(--transition);
    font-size: var(--text-base);
}

a:hover {
    color: var(--liens-hover);
}

/* ---------- BOUTONS -----------*/

/* btn standard */

a.bm-btn {
    display: inline-block;
    color: var(--btn-text);
    background-color: var(--btn-bg);
    cursor: pointer;
    padding: var(--space-xs) var(--space-lg);
    transition: background-color var(--transition);
}

a.bm-btn:hover {
    background-color: var(--btn-bg-hover);
}

/* btn contour */

a.bm-btn-outline {
    display: inline-block;
    border: 1px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background-color: transparent;
    padding: var(--space-xs) var(--space-lg);
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}

a.bm-btn-outline:hover {
    background-color: var(--btn-outline-bg-hover);
    color: var(--btn-outline-text-hover);
}

/* 2 boutons côte côte */

.bm-btn-double {
    padding: var(--space-sm) 0;
}

.bm-btn-double a:nth-child(1) {
    margin-right: var(--space-sm);
    margin-bottom: var(--space-sm);
}


/* ---------- LISTES -----------*/

ul {
    padding-left: var(--space-lg);
}

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  GRILLE DU SITE
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */


.bm-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--space-md);
    row-gap: var(--space-md);
    padding: var(--space-lg);
}

.moduletable[class^="cols-m"],
.moduletable[class*=" cols-m"] {
    grid-column: span var(--cols-m, 12);
}

@media (min-width: 640px) {

    .moduletable[class^="cols-t"],
    .moduletable[class*=" cols-t"] {
        grid-column: span var(--cols-t, 12);
    }
}

@media (min-width: 900px) {

    .moduletable[class^="cols-txl"],
    .moduletable[class*=" cols-txl"] {
        grid-column: span var(--cols-txl, 12);
    }
}

@media (min-width: 1280px) {

    .moduletable[class^="cols-d"],
    .moduletable[class*=" cols-d"] {
        grid-column: span var(--cols-d, 12);
    }
}

/* Exemple de définition dynamique des variables CSS pour chaque module */
.moduletable.cols-m1 {
    --cols-m: 1;
}

.moduletable.cols-m2 {
    --cols-m: 2;
}

.moduletable.cols-m3 {
    --cols-m: 3;
}

.moduletable.cols-m4 {
    --cols-m: 4;
}

.moduletable.cols-m5 {
    --cols-m: 5;
}

.moduletable.cols-m6 {
    --cols-m: 6;
}

.moduletable.cols-m7 {
    --cols-m: 7;
}

.moduletable.cols-m8 {
    --cols-m: 8;
}

.moduletable.cols-m9 {
    --cols-m: 9;
}

.moduletable.cols-m10 {
    --cols-m: 10;
}

.moduletable.cols-m11 {
    --cols-m: 11;
}

.moduletable.cols-m12 {
    --cols-m: 12;
}

/* Idem pour tablette, tablette XL et desktop */
.moduletable.cols-t1 {
    --cols-t: 1;
}

.moduletable.cols-t2 {
    --cols-t: 2;
}

.moduletable.cols-t3 {
    --cols-t: 3;
}

.moduletable.cols-t4 {
    --cols-t: 4;
}

.moduletable.cols-t5 {
    --cols-t: 5;
}

.moduletable.cols-t6 {
    --cols-t: 6;
}

.moduletable.cols-t7 {
    --cols-t: 7;
}

.moduletable.cols-t8 {
    --cols-t: 8;
}

.moduletable.cols-t9 {
    --cols-t: 9;
}

.moduletable.cols-t10 {
    --cols-t: 10;
}

.moduletable.cols-t11 {
    --cols-t: 11;
}

.moduletable.cols-t12 {
    --cols-t: 12;
}

.moduletable.cols-txl1 {
    --cols-txl: 1;
}

.moduletable.cols-txl2 {
    --cols-txl: 2;
}

.moduletable.cols-txl3 {
    --cols-txl: 3;
}

.moduletable.cols-txl4 {
    --cols-txl: 4;
}

.moduletable.cols-txl5 {
    --cols-txl: 5;
}

.moduletable.cols-txl6 {
    --cols-txl: 6;
}

.moduletable.cols-txl7 {
    --cols-txl: 7;
}

.moduletable.cols-txl8 {
    --cols-txl: 8;
}

.moduletable.cols-txl9 {
    --cols-txl: 9;
}

.moduletable.cols-txl10 {
    --cols-txl: 10;
}

.moduletable.cols-txl11 {
    --cols-txl: 11;
}

.moduletable.cols-txl12 {
    --cols-txl: 12;
}

.moduletable.cols-d1 {
    --cols-d: 1;
}

.moduletable.cols-d2 {
    --cols-d: 2;
}

.moduletable.cols-d3 {
    --cols-d: 3;
}

.moduletable.cols-d4 {
    --cols-d: 4;
}

.moduletable.cols-d5 {
    --cols-d: 5;
}

.moduletable.cols-d6 {
    --cols-d: 6;
}

.moduletable.cols-d7 {
    --cols-d: 7;
}

.moduletable.cols-d8 {
    --cols-d: 8;
}

.moduletable.cols-d9 {
    --cols-d: 9;
}

.moduletable.cols-d10 {
    --cols-d: 10;
}

.moduletable.cols-d11 {
    --cols-d: 11;
}

.moduletable.cols-d12 {
    --cols-d: 12;
}


/* #endregion */


/* #region STYLE --------------------------------------------------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  ACCUEIL
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

/* -----------------------------------
   HERO
-------------------------------------- */

.bm-hero .bm-container {
    padding: 0;
}

.bm-hero-accueil .mod-custom {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    min-height: 100dvh;
    text-align: center;
    align-content: center;
}

.bm-hero-accueil .mod-custom .bm-hero-content {
    position: relative;
    z-index: 3;
    padding: var(--space-lg);
    max-width: 1400px;
    margin: auto;
}

.bm-hero-accueil .mod-custom h1,
.bm-hero-accueil .mod-custom p {
    color: var(--blanc-casse);
}

.bm-hero-accueil .mod-custom h1 {
    font-size: var(--text-5xl);
}

.bm-hero-accueil .mod-custom .bm-baseline {
    font-size: var(--text-2xl);
    font-family: var(--font-serif);
    margin-bottom: var(--space-md);
}

.bm-hero-accueil .mod-custom:before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--noir);
    opacity: .5;
    z-index: 1;
}



.bm-hero-accueil .mod-custom:after {
    content: url(../images/separateur-mezenc-mobile.svg);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

@media screen and (min-width: 1200px) {


    .bm-hero-accueil .mod-custom {
        background-attachment: fixed;
    }


    .bm-hero-accueil .mod-custom:after {
        content: url(../images/separateur-mezenc.svg);
    }
}

/* -----------------------------------
   ARTICLES
-------------------------------------- */

main.bm-content {
    margin: var(--space-2xl) auto;
}

/* -----------------------------------
   INTRODUCTION
-------------------------------------- */

#bien-etre-aux-chenes main.bm-content {
    margin-top: 0;
    max-width: 70%;
    text-align: center;
}

.bm-altitude {
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
}

h2.bm-titre-intro {
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

/* -----------------------------------
   Cards
-------------------------------------- */

.bm-container-bg-beige-light {
    background-color: var(--beige-light);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.bm-container-padding-large>.moduletable {
    padding: var(--space-md);
}

.bm-card {
    background-color: var(--blanc-casse);
    border-radius: var(--space-xs);
    padding: var(--space-lg);
    height: 100%;
}

.bm-card .mod-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    row-gap: var(--space-sm);
    text-align: center;
}

.bm-card .mod-custom img {
    max-width: 150px;
}

.bm-card.bm-card-personne .mod-custom img {
    max-width: 80px;
}

.bm-card.bm-card-mezenc .mod-custom img {
    max-width: 100px;
}

/* -----------------------------------
   L'esprit du lieu
-------------------------------------- */

.bm-container-padding-none {
    padding: 0px;
}

.bm-titre-esprit {
    margin: var(--space-xl) auto;
    text-align: center;
}

.bm-sup-titre {
    text-transform: uppercase;
    text-align: center;
}

.bm-slideshow-container {
    overflow: hidden;
    min-height: 30vmin;
    cursor: grab;
    position: relative;
    /* Ajouté pour contenir l'absolute */
    margin-top: var(--space-lg);
    margin-bottom: var(--space-2xl);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.bm-slideshow-container:active {
    cursor: grabbing;
}

.bm-slideshow {
    display: flex;
    height: 100%;
    min-height: 30vmin;
    /* max-width: 70%; */
    margin-left: auto;
    pointer-events: none;
}

.bm-slide {
    flex-shrink: 0;
    height: 100%;
    min-height: 30vmin;
    width: 50vmin;
    position: relative;
}

.bm-slide:not(:first-child) {
    margin-left: 10px;
}

.bm-slide .slide {
    width: 100%;
    height: 100%;
}

.bm-slide .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

/* -----------------------------------
   Parenthèse nature
-------------------------------------- */

.bm-container-bg-sauge-light {
    background-color: var(--vert-sauge-light);
}

.bm-container-bg-sauge-light h2 {
    color: var(--beige-light);
}

.bm-parenthese-nature {
    padding: var(--space-2xl) var(--space-2xl);
    color: var(--vert-sauge-dark);
}

.bm-parenthese-nature .mod-custom {
    text-align: center;
}

.bm-parenthese-nature .mod-custom h2 {
    text-align: center;
    font-size: var(--text-4xl);
}

.bm-parenthese-nature .mod-custom p {
    font-size: var(--text-xl);
}




/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  LE GÎTE
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

.bm-hero-content {
    max-width: 1400px;
    margin: auto;
}

.bm-hero-simple .mod-custom {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bm-hero-simple .mod-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--noir);
    opacity: .3;
}

.bm-hero-simple .mod-custom::after {
    content: url(../images/mini-mezenc.svg);
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    line-height: 0;
}

.bm-hero-simple .mod-custom .bm-hero-simple-content {
    position: relative;
    z-index: 2;
    color: var(--blanc-casse);
}

.bm-hero-simple-content {
    padding: var(--space-3xl) var(--space-xl) var(--space-xl) var(--space-xl);
}

.sup-title-hero {
    color: var(--beige-light);
    border: 1px solid var(--beige-light);
    padding: var(--space-xs) var(--space-sm);
    margin-bottom: var(--space-md);
    display: inline-block;

}

.bm-intro-box-content {
    padding: var(--space-sm) 0;
}

.bm-intro-content-simple {
    margin-bottom: var(--space-xl);
}

@media screen and (min-width: 900px) {
    .bm-intro-box-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: var(--space-xl);
    }

    .bm-hero-simple-content {
        max-width: 50%;
    }
}


.bm-container-bg-sauge-dark {
    background-color: var(--vert-sauge-dark);
    color: var(--blanc-casse);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.bm-container-bg-sauge-dark .mod-custom {
    max-width: 1400px;
    margin: 0 auto;
}



.bm-card {
    position: relative;
}

.bm-bulle-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--vert-sauge-dark);
    color: var(--blanc-casse);
    padding: 5px 10px;
    border-radius: var(--space-xs);
}

.bm-img-espaces {
    border-radius: 50%;
}

.bm-equipement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


@media screen and (min-width: 768px) {
   .bm-ul-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-2xl);
} 
}

@media screen and (min-width: 900px) {
.bm-img-left {
    margin-right: var(--space-2xl);
}
}

.bm-card-outline {
    padding: var(--space-lg);
    border: 2px solid var(--vert-sauge);
    border-radius: var(--space-xs);
}

.bm-card-outline h3 {
    color: var(--vert-sauge);
    text-align: center;
}

.bm-card-outline p {
    text-align: center;
}

.bm-demi-pension {
    position: relative;
}

.bm-populaire {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--vert-sauge-dark);
    color: var(--blanc-casse);
    padding: 5px 10px;
    font-size: var(--text-lg);
    border-radius: var(--space-xs);
}

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  SAVEURS & DÉTENTE
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

@media screen and (min-width: 900px) {
    .bm-bien-etre {
    max-width: 50%;
    margin: auto;
    text-align: center;
}

.bm-intro-lieux-saveurs {
    text-align: center;
    max-width: 60%;
    margin: auto;
}
}


.bm-liste-produits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: var(--space-sm);
}

.bm-liste-produits p {
    border: 2px solid var(--vert-sauge-light);
    color: var(--beige-light);
    padding: 5px 10px;
    border-radius: 99px;
}

.bm-saisons {
    align-content: center;
    margin-top: var(--space-xl);
}


.bm-liste-choses {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.bm-liste-choses span {
    border: 2px solid var(--bleu-gris);
    color: var(--pierre);
    padding: 5px 10px;
    border-radius: 99px;
}


@media screen and (min-width: 900px) {
    .bm-fil-saisons .mod-custom{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-xl);
            align-content: center;
}
}

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  ACTIVITES
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

.bm-card-activite {
    padding: var(--space-xs);
}

.bm-card-activite .mod-custom > h3 {
    margin-bottom: 0;
}

.bm-card-activite img {
    border-top-left-radius: var(--space-sm);
    border-top-right-radius: var(--space-sm);
}

.bm-content-card-activite {
    border-left: 2px solid var(--vert-sauge);
    border-right: 2px solid var(--vert-sauge);
    border-bottom: 2px solid var(--vert-sauge);
    border-bottom-left-radius: var(--space-sm);
    border-bottom-right-radius: var(--space-sm);
    padding: var(--space-sm);
}

/* Cacher par défaut */
.moduletable:has(.bm-saison-printemps-ete),
.moduletable:has(.bm-saison-automne-hiver),
.moduletable:has(.bm-saison-patrimoine) {
    display: none;
}

/* Afficher selon la classe active du conteneur */
.bm-saison-selector.show-printemps-ete .moduletable:has(.bm-saison-printemps-ete) {
    display: block;
}

.bm-saison-selector.show-automne-hiver .moduletable:has(.bm-saison-automne-hiver) {
    display: block;
}

.bm-saison-selector.show-patrimoine .moduletable:has(.bm-saison-patrimoine) {
    display: block;
}

.bm-container-bg-sauge-dark:has(.moduletable[class*="cols-"][style*="display: none"]) {
    display: none;
}

.bm-select {
    position: sticky;
    top: 0px;
}

.bm-select .bm-container {
    padding: 0;
}

@media screen and (min-width: 1200px) {
    .bm-select {
    top: 55px;
}
}

.bm-selecteur {
    background-color: var(--beige-light);
    margin-bottom: var(--space-xl);
}

.bm-saison-selector {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .bm-saison-tabs {
        display: block;
    }

@media screen and (min-width: 640px) {
    .bm-saison-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
}

.bm-saison-selector button {
    background-color: transparent;
    font-size: var(--text-lg);
    font-family: var(--font-sans);
    border: none;
    text-transform: uppercase;
    min-height: 35px;
    padding: 0 var(--space-md);
    color: var(--noir);
    cursor: pointer;
    width: 100%;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

@media screen and (min-width: 1200px) {
    .bm-saison-selector button {
    min-height: 60px;
}
}

.bm-saison-selector button:hover {
    background-color: var(--beige-warm);
    color: var(--blanc-casse);
}

.bm-saison-tab.active, .bm-sejour-tab.active  {
    background-color: var(--beige-warm);
    color: var(--blanc-casse);
}

.bm-container-bg-blanc-casse {
    background-color: var(--blanc-casse);
}


.slide {
    position: relative;
}

.bm-content-slide {
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgba(00, 00, 00, .5);
    padding: var(--space-sm);
    color: var(--blanc-casse);
}


/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  SEJOURS ET TARIFS
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

.bm-tarif-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.bm-tarif-grid > div {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--beige-warm);
}

.bm-tarif-header {
    background-color: var(--vert-sauge);
    color: var(--blanc-casse);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.bm-tarif-separator {
    grid-column: 1 / -1;
    background-color: var(--beige-light);
    font-weight: 600;
    color: var(--vert-sauge-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bm-tarif-grid > div:not(.bm-tarif-header):not(.bm-tarif-separator):nth-child(6n+1),
.bm-tarif-grid > div:not(.bm-tarif-header):not(.bm-tarif-separator):nth-child(6n+2),
.bm-tarif-grid > div:not(.bm-tarif-header):not(.bm-tarif-separator):nth-child(6n+3) {
    background-color: var(--blanc-casse);
}

.bm-card-loc-groupe, .bm-card-sup {
    border: 2px solid var(--vert-sauge-light);
    border-radius: var(--space-xs);
    padding: var(--space-lg);
    height: 100%;
    align-content: center;
    text-align: center;
}

.bm-card-loc-groupe h4, .bm-card-sup h4 {
    font-size: var(--text-3xl);
    color: var(--vert-sauge);
}

.bm-card-loc-groupe-7n {
    background-color: var(--vert-sauge-dark);
    color: var(--blanc-casse);
}

.bm-card-loc-groupe-7n h4 {
    color: var(--beige-light);
}

.bm-reservez {
    padding: var(--space-sm) var(--space-md);
}

.bm-reservez a {
    color: var(--beige-light);
}

.bm-action-top-reserve {
    text-align: center;
}

.bm-venir-aux-chenes {
    text-align: center;
}

.bm-venir-aux-chenes {
    color: var(--vert-sauge-dark);
}

.bm-venir-aux-chenes ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-md);
}

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  FOOTER
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */


.bm-footer {
    color: var(--blanc-casse);
    position: relative;
    margin-top: var(--space-3xl);
}

@media screen and (min-width: 900px) {
    .bm-footer {
    margin-top: 12vw;
}
}

.bm-footer::before {
    content: url(../images/mezenc-noir.svg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(calc(-100% + 1px));
    line-height: 0;
}

.bm-container-bg-noir {
    background-color: var(--noir);
}

@media screen and (min-width: 900px) {
    .bm-footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


.bm-footer h4 {
    color: var(--beige-ocre);
    margin-bottom: var(--space-sm);
    font-size: var(--text-2xl) !important;
}


footer.bm-footer {
    width: 100%; /* pas besoin du hack 100vw ici, un footer est déjà pleine largeur naturellement */
    background-color: var(--noir); /* ou ta couleur bm-container-bg-noir actuelle */
}

.bm-container.bm-footer {
    max-width: 1400px;
    margin: 0 auto;
}


/* #endregion */


/* #region MENU --------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  MENU PRINCIPAL
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

header {
    position: fixed;
    z-index: 10;
}

/* ===================================================================
                           LOGO DANS LE MENU
=================================================================== */
/* Affiche le logo dans le menu lorsque la classe .bmOpen est présente */
.bmHeader.bmOpen::before {
    content: url("/images/image.png");
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    z-index: 0;
    box-sizing: border-box;
    padding: var(--space-sm) var(--space-sm) 0 var(--space-sm);
}

/* ===================================================================
                          ICÔNE BURGER
=================================================================== */

/* Conteneur de l'icône burger, positionné en haut à droite */
.bm-open-nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: var(--vert-sauge);
    margin: var(--space-xs) var(--space-xs) 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10000001;
}

/* Barre centrale du burger */
.bm-open-nav-menu span {
    display: block;
    position: relative;
    height: 3px;
    width: 25px;
    background-color: var(--blanc-casse);
    border-radius: var(--border-radius-small);
    transition: all 0.2s ease;
}

/* Barres haute et basse du burger */
.bm-open-nav-menu span:before,
.bm-open-nav-menu span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.2s ease;
    border-radius: var(--border-radius-small);
}

/* Position des barres haute et basse */
.bm-open-nav-menu span:before {
    top: -7px;
}

.bm-open-nav-menu span:after {
    top: 7px;
}

/* Transformation du burger en croix lors de l'ouverture du menu */
.bm-hidden-scrolling .bm-open-nav-menu span {
    background-color: transparent !important;
}

.bm-hidden-scrolling .bm-open-nav-menu span:before {
    transform: rotate(45deg);
    top: 0;
    background-color: #fff;
}

.bm-hidden-scrolling .bm-open-nav-menu span:after {
    transform: rotate(-45deg);
    top: 0;
    background-color: #fff;
}

/* ===================================================================
                              MENU
=================================================================== */
header {
    width: 100%;
}

/* Conteneur principal du menu */
.bm-menu {
    z-index: 2000;
    position: relative;
}
/* En-tête du menu (plein écran lorsqu'ouvert) */
.bmHeader {
    position: fixed;
    width: 100%;
    min-height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--vert-sauge-dark);
    top: -100%;
    left: 0;
    transition: all 0.5s ease;
}

/* En-tête actif : s'affiche en haut */
.bmHeader.bmOpen {
    top: 0;
    z-index: 100;
    background-color: var(--vert-sauge-dark);
}

/* Conteneur du contenu principal de l'en-tête */
.bm-header-main {
    position: relative;
    z-index: 10;
    width: 100%;
}

.bmHeader::before {
    content: url(../images/separateur-mezenc-mobile.svg);
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    line-height: 0;
}


/* Réinitialise la liste des menus */
nav.bm-nav-menu ul.menu {
    list-style: none;
    margin-left: 0;
}

/* ===================================================================
                        NAVIGATION PRINCIPALE
=================================================================== */

/* Styles de la boite de la navigation */
.bmHeader .menu {
    text-align: center;
    padding-left: 0;
}

/* Styles des liens du menu */
.bmHeader .menu>.menu-item>a {
    color: var(--blanc-casse);
    font-size: var(--text-3xl);
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Survol des liens */
.bmHeader .menu>.menu-item>a:hover {
    color: var(--beige-light);
}

/* Lien actif */
.menu>.bmFada.active>a {
    color: var(--beige-light);
    font-weight: 600;
}

/* Espacement vertical entre les éléments du menu */
.bmHeader .menu>.menu-item {
    margin-bottom: 0;
}

/* Curseur pointeur sur les séparateurs */
.separator {
    cursor: pointer;
}

/* Séparateur actif */
.parent.bm-active a.separator {
    color: var(--beige-light) !important;
    font-weight: 600 !important;
}

/* Style des images par défaut dans le menu */
.default img {
    width: 100px;
}

/* ===================================================================
                           SOUS-MENU NIVEAU 1
=================================================================== */

/* Liste des sous-menus */
nav.bm-nav-menu .menu .bm-sub-menu {
    display: block;
    text-align: center;
    list-style: none;
    margin-left: 0;
}

/* Sous-menu masqué par défaut */
.bmHeader .menu .bm-menu-item-has-children>.bm-sub-menu {
    position: relative;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition:
        max-height 0.3s ease-out,
        opacity 0.2s ease-out,
        visibility 0.2s ease-out;
}

/* Sous-menu actif (visible) */
.bmHeader .menu .bm-menu-item-has-children.bm-active>.bm-sub-menu {
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

/* Premier élément du sous-menu avec un espace au-dessus */
nav.bm-nav-menu .bm-sub-menu li:first-child {
    padding-top: var(--space-xs);
}

/* Style des liens du sous-menu */
nav.bm-nav-menu .bm-sub-menu li a {
    color: var(--color-link);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.2rem;
    margin-bottom: 0px;
    transition: all 0.3s ease;
}

/* Lien actif du sous-menu */
nav.bm-nav-menu .bm-sub-menu li.active a {
    color: var(--color-link-hover);
}

/* ===================================================================
                    SOUS-MENU NIVEAU 2
=================================================================== */

/* Style du sous-menu niveau 2 - indentation */
.bm-sub-menu .bm-sub-menu {
    padding-left: var(--space-sm);
    transition:
        max-height 0.25s ease-out,
        opacity 0.2s ease-out,
        visibility 0.2s ease-out;
}

/* Sous-menu niveau 2 masqué par défaut */
.bm-sub-menu .bm-menu-item-has-children>.bm-sub-menu {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

/* Sous-menu niveau 2 actif */
.bm-sub-menu .bm-menu-item-has-children.bm-active>.bm-sub-menu {
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

/* Style des liens niveau 2 */
nav.bm-nav-menu .bm-sub-menu .bm-sub-menu li a {
    font-size: var(--font-size-xs, 0.85rem);
    padding-left: var(--space-xs);
}

/* ===================================================================
                        ICÔNES DES SOUS-MENU
=================================================================== */

/* Conteneur de l'icône "+" */
.bm-menu-item-has-children .separator {
    position: relative;
}

/* Icône "+" : lignes horizontale et verticale */
.bm-menu-item-has-children .separator::before,
.bm-menu-item-has-children .separator::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--color-background);
    transition: all 0.3s ease;
}

/* Ligne verticale (avant) */
.bm-menu-item-has-children .separator::before {
    top: 48%;
    right: -15px;
    transform: translateY(48%) rotate(-90deg);
}

/* Ligne horizontale */
.bm-menu-item-has-children .separator::after {
    top: 48%;
    right: -15px;
    transform: translateY(48%);
}

/* Icône "+" transformée en "-" (lorsqu'actif) */
.bm-menu-item-has-children.bm-active>.separator::before {
    transform: rotate(0deg);
}

/* Changement de couleur lorsqu'actif */
.bm-menu-item-has-children.bm-active>.separator::after,
.bm-menu-item-has-children.bm-active>.separator::before {
    background-color: var(--color-link-active);
}

/* Pour les cas actifs supplémentaires */
.bm-menu-item-has-children.active>.separator::after,
.bm-menu-item-has-children.active>.separator::before {
    background-color: var(--color-link-active);
}

/* Icône + pour les sous-menus de niveau 2 (plus petite) */
.bm-sub-menu .bm-menu-item-has-children .separator::before,
.bm-sub-menu .bm-menu-item-has-children .separator::after {
    width: 8px;
    right: -12px;
}

/* ===================================================================
                           MENU DESKTOP
=================================================================== */
@media screen and (min-width: 1200px) {

    /* Cache l'icône burger sur grand écran */
    .bm-open-nav-menu {
        display: none;
    }

    /* Apparence du conteneur principal sur desktop */
    .bm-header-main {
        position: fixed;
        width: 100%;
        z-index: 10000000;
        right: 0px;
        top: 0;
        background-color: var(--blanc-casse);
    }

    /* Apparence du menu lors du scroll */
    .bm-header-main.scroll .menu {
        background-color: var(--color-background);
    }

    /* Liste horizontale des liens */
    nav.bm-nav-menu ul.menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 30px;
        padding: 0 var(--space-md) 0 var(--space-sm);
        list-style: none;
        margin: 0;
        height: 55px;
    }

    nav.bm-nav-menu ul.menu li {
        padding: var(--space-xs) 0;
        position: relative;
    }

    /* Apparence des liens */
    .bmHeader .menu>.menu-item>a {
        color: var(--vert-sauge);
        font-size: var(--font-size-base);
        letter-spacing: 1px;
        font-weight: 500;
    }

    .bmHeader .menu>.menu-item>a:hover {
        color: var(--vert-sauge-dark);
    }

    .menu>.bmFada.active>a {
        color: var(--vert-sauge-dark);
        font-weight: 600;
    }

    /* Ajustement de l'espace pour les icônes */
    .bm-menu-item-has-children {
        padding-right: var(--space-xs) !important;
    }

    .menu-item a {
        display: flex;
        align-items: center;
    }

    .default img {
        height: 35px;
    }

    /* Sous-menu niveau 1 en survol : s'affiche sous l'élément parent */
    .bmHeader .menu>.bm-menu-item-has-children>.bm-sub-menu {
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 250px;
        background-color: var(--color-background);
        padding: 0 var(--space-xs) var(--space-xs) var(--space-xs);
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        margin: 0;
        transition: all 0.3s ease;
    }

    .bmHeader .menu>.bm-menu-item-has-children:hover>.bm-sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: 10000px;
    }

    /* Ajuste l'alignement des sous-menus (dernier élément à droite) */
    .bmHeader .menu>.menu-item:last-child>.bm-sub-menu {
        right: 0;
        left: auto;
    }

    /* Style des liens du sous-menu desktop */
    nav.bm-nav-menu .bm-sub-menu li a {
        color: var(--color-link);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.2rem;
        transition: all 0.3s ease;
    }

    nav.bm-nav-menu .bm-sub-menu li:hover a,
    nav.bm-nav-menu .bm-sub-menu li.active a {
        color: var(--color-link-hover);
    }

    /* Modification de l'icône "+" couleur desktop */
    .bm-menu-item-has-children .separator::before,
    .bm-menu-item-has-children .separator::after {
        background-color: var(--color-link);
    }

    .bm-menu-item-has-children:hover>.separator::before {
        transform: rotate(0deg);
        background-color: var(--color-link-hover);
    }

    .bm-menu-item-has-children:hover>.separator::after {
        background-color: var(--color-link-hover);
    }

    .bm-menu-item-has-children.active .separator::after,
    .bm-menu-item-has-children.active .separator::before {
        background-color: var(--color-link-active);
    }

    /* ===== SOUS-MENU NIVEAU 2 DESKTOP ===== */

    /* Position relative pour le parent niveau 2 */
    .bm-sub-menu .bm-menu-item-has-children {
        position: relative;
    }

    /* Sous-menu niveau 2 en dropdown latéral */
    .bm-sub-menu .bm-menu-item-has-children>.bm-sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        min-width: 200px;
        background-color: var(--color-background);
        padding: var(--space-xs);
        border-radius: var(--border-radius-small, 4px);
        /* Reset des styles mobile */
        max-height: none !important;
        height: auto;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .bm-sub-menu .bm-menu-item-has-children:hover>.bm-sub-menu {
        opacity: 1;
        visibility: visible;
    }

    /* Style des liens niveau 2 desktop */
    nav.bm-nav-menu .bm-sub-menu .bm-sub-menu li a {
        font-size: 14px;
        padding-left: 0;
    }
}

/* #endregion */