/* ==========================================================================
   AUX BAINS MAGIQUES — Design system
   Direction : « Botanique thermal ». Beaucoup d'air, typographie éditoriale,
   or employé par touches. Palette dérivée du logo.

   Deux règles de ciblage à ne jamais perdre de vue :
   - une classe posée sur un WIDGET Elementor habille le conteneur
     (.elementor-widget-*), pas l'élément interne. Un bouton doit donc se
     styler via « .bm-btn .elementor-button », sinon on obtient deux
     rectangles imbriqués.
   - un CONTAINER Elementor s'affiche via la variable --display. Pour passer
     en grille il faut redéfinir --display, pas seulement `display`.
   ========================================================================== */

:root {
  /* --- Couleurs --- */
  --bm-forest:        #26372a;  /* vert profond du lettrage « AUX BAINS » */
  --bm-forest-deep:   #1a2620;
  --bm-ink:           #39453b;  /* texte courant — 9,4:1 sur le sable */
  --bm-ink-soft:      #5c6a5e;  /* texte secondaire — 5,7:1 */

  /* Deux dorés, et c'est volontaire :
     --bm-gold      = traits, filets, puces (décoratif, jamais lu) ;
     --bm-gold-text = tout texte doré. Le doré du logo (#b8873b) ne donne que
     3,0:1 sur crème, sous le minimum WCAG de 4,5:1 : il fatigue l'œil.
     La version foncée atteint 5,1:1 en gardant la teinte. */
  --bm-gold:          #b8873b;
  --bm-gold-text:     #8a6224;
  --bm-gold-light:    #dfc08a;  /* sur fond sombre uniquement */
  --bm-gold-pale:     #f0e2c6;

  --bm-olive:         #7c8a5a;
  --bm-clay:          #a0392e;

  --bm-water-pale:    #dcedeb;
  --bm-cream:         #f7f1e6;
  --bm-sand:          #fbf8f2;
  --bm-white:         #ffffff;

  /* --- Typographie fluide --- */
  --bm-font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --bm-font-body:    "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bm-font-eyebrow: "Cinzel", "Cormorant Garamond", Georgia, serif;

  --bm-text-xs:    clamp(0.75rem, 0.72rem + 0.15vw, 0.8rem);
  --bm-text-sm:    clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --bm-text-base:  clamp(1rem, 0.96rem + 0.22vw, 1.09rem);
  --bm-text-lg:    clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --bm-text-xl:    clamp(1.45rem, 1.25rem + 0.8vw, 1.95rem);
  --bm-text-2xl:   clamp(1.9rem, 1.5rem + 1.5vw, 2.9rem);
  --bm-text-3xl:   clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  --bm-text-hero:  clamp(2.4rem, 1.7rem + 2.9vw, 4.4rem);

  /* --- Rythme --- */
  --bm-gutter:     clamp(1.6rem, 1rem + 3vw, 4rem);

  /* --- Motion --- */
  --bm-ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --bm-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --bm-dur-fast:  220ms;
  --bm-dur:       620ms;
  --bm-dur-slow:  1100ms;

  /* --- Surfaces --- */
  --bm-radius:      3px;
  --bm-radius-soft: 12px;
  --bm-shadow-soft: 0 1px 2px rgba(38, 55, 42, 0.04),
                    0 8px 24px rgba(38, 55, 42, 0.06);
  --bm-shadow-lift: 0 2px 4px rgba(38, 55, 42, 0.05),
                    0 20px 50px rgba(38, 55, 42, 0.13);
}

/* ==========================================================================
   1. Base
   ========================================================================== */

body.bm-site {
  background-color: var(--bm-sand);
  color: var(--bm-ink);
  font-family: var(--bm-font-body);
  font-size: var(--bm-text-base);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.bm-site h1, body.bm-site h2, body.bm-site h3, body.bm-site h4,
body.bm-site .elementor-heading-title {
  font-family: var(--bm-font-display);
  color: var(--bm-forest);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

body.bm-site h1, body.bm-site h1.elementor-heading-title { font-size: var(--bm-text-3xl); }
body.bm-site h2, body.bm-site h2.elementor-heading-title { font-size: var(--bm-text-2xl); }
body.bm-site h3, body.bm-site h3.elementor-heading-title { font-size: var(--bm-text-xl); }

/* L'emphase éditoriale : un mot en italique doré, comme le « Magiques » du logo */
body.bm-site .elementor-heading-title em,
body.bm-site h1 em, body.bm-site h2 em, body.bm-site h3 em {
  font-style: italic;
  color: var(--bm-gold-text);
}

body.bm-site p { margin-bottom: 1.1em; }
body.bm-site p:last-child { margin-bottom: 0; }
body.bm-site a { color: var(--bm-gold-text); }

::selection { background: var(--bm-gold-pale); color: var(--bm-forest-deep); }

body.bm-site :focus-visible {
  outline: 2px solid var(--bm-gold-text);
  outline-offset: 3px;
  border-radius: var(--bm-radius);
}

body.bm-site img { max-width: 100%; height: auto; }

/* Corps de texte confortable : jamais de ligne interminable */
body.bm-site .elementor-widget-text-editor { max-width: 68ch; }
body.bm-site .elementor-widget-text-editor p { color: var(--bm-ink); }

/* ==========================================================================
   2. Mise en page — grilles
   --------------------------------------------------------------------------
   Elementor rend ses containers en flex via --display. On bascule en grille :
   la grille répartit l'espace RESTANT après gouttière, donc deux colonnes ne
   peuvent jamais totaliser plus de 100 % et retomber l'une sous l'autre.
   ========================================================================== */

body.bm-site .bm-split {
  --display: grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bm-gutter);
  align-items: center;
  width: 100%;
}
body.bm-site .bm-split--wide-left  { grid-template-columns: 1.25fr 1fr; }
body.bm-site .bm-split--wide-right { grid-template-columns: 1fr 1.25fr; }

body.bm-site .bm-split > .e-con,
body.bm-site .bm-split > .elementor-element {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  body.bm-site .bm-split,
  body.bm-site .bm-split--wide-left,
  body.bm-site .bm-split--wide-right { grid-template-columns: minmax(0, 1fr); }

  /* Sur mobile l'image doit passer avant le texte quand elle l'introduit */
  body.bm-site .bm-split--reverse-mobile > .e-con:first-child { order: 2; }
}

body.bm-site .bm-grid {
  --display: grid;
  display: grid;
  gap: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  align-items: stretch;
  width: 100%;
}
body.bm-site .bm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.bm-site .bm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.bm-site .bm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  body.bm-site .bm-grid--3,
  body.bm-site .bm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body.bm-site .bm-grid--2,
  body.bm-site .bm-grid--3,
  body.bm-site .bm-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

body.bm-site .bm-grid > .elementor-element { width: 100%; max-width: 100%; }

/* ==========================================================================
   3. Éléments de marque
   ========================================================================== */

/* Sur-titre : petites capitales dorées, filet à droite */
body.bm-site .bm-eyebrow .elementor-heading-title {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bm-gold-text);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  line-height: 1.4;
}
body.bm-site .bm-eyebrow .elementor-heading-title::after {
  content: "";
  width: clamp(24px, 5vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, var(--bm-gold-light), transparent);
  flex: none;
}
/* Centré : un filet de chaque côté */
body.bm-site .bm-eyebrow:not(.bm-eyebrow--left) .elementor-heading-title::before {
  content: "";
  width: clamp(24px, 5vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bm-gold-light));
  flex: none;
}

/* Ornement en losange, repris du logo */
.bm-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.bm-ornament::before,
.bm-ornament::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--bm-gold-light), transparent);
}
.bm-ornament span {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--bm-gold);
  flex: none;
}

/* Grain discret : évite l'aplat numérique sur les grandes zones unies */
body.bm-site .bm-grain { position: relative; }
body.bm-site .bm-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.bm-site .bm-grain > .e-con-inner,
body.bm-site .bm-grain > .elementor-element { position: relative; z-index: 1; }

/* ==========================================================================
   4. Boutons
   --------------------------------------------------------------------------
   La classe est sur le WIDGET : on habille le <a> intérieur et on neutralise
   tout fond sur le wrapper, sinon deux rectangles se superposent.
   ========================================================================== */

body.bm-site .bm-btn { background: none !important; border: 0 !important; padding: 0 !important; }

body.bm-site .bm-btn .elementor-button {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.25em 2.6em;
  border-radius: 999px;             /* pilule : plus doux qu'un rectangle */
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: background-color var(--bm-dur-fast) var(--bm-ease-soft),
              border-color var(--bm-dur-fast) var(--bm-ease-soft),
              color var(--bm-dur-fast) var(--bm-ease-soft),
              transform var(--bm-dur-fast) var(--bm-ease-soft),
              box-shadow var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site .bm-btn .elementor-button:hover,
body.bm-site .bm-btn .elementor-button:focus-visible {
  transform: translateY(-2px);
}

/* Primaire — vert profond, texte crème : 11:1 */
body.bm-site .bm-btn--primary .elementor-button {
  background-color: var(--bm-forest);
  border-color: var(--bm-forest);
  color: var(--bm-cream);
}
body.bm-site .bm-btn--primary .elementor-button:hover,
body.bm-site .bm-btn--primary .elementor-button:focus-visible {
  background-color: var(--bm-forest-deep);
  border-color: var(--bm-forest-deep);
  color: var(--bm-white);
  box-shadow: var(--bm-shadow-lift);
}

/* Secondaire — contour fin, sur fond clair */
body.bm-site .bm-btn--ghost .elementor-button {
  background-color: transparent;
  border-color: rgba(138, 98, 36, 0.45);
  color: var(--bm-forest);
}
body.bm-site .bm-btn--ghost .elementor-button:hover,
body.bm-site .bm-btn--ghost .elementor-button:focus-visible {
  background-color: var(--bm-forest);
  border-color: var(--bm-forest);
  color: var(--bm-cream);
}

/* Sur fond sombre — plein clair */
body.bm-site .bm-btn--light .elementor-button {
  background-color: var(--bm-cream);
  border-color: var(--bm-cream);
  color: var(--bm-forest-deep);
}
body.bm-site .bm-btn--light .elementor-button:hover,
body.bm-site .bm-btn--light .elementor-button:focus-visible {
  background-color: var(--bm-gold-light);
  border-color: var(--bm-gold-light);
  color: var(--bm-forest-deep);
}

/* Sur fond sombre — contour clair */
body.bm-site .bm-btn--ghost-light .elementor-button {
  background-color: transparent;
  border-color: rgba(247, 241, 230, 0.5);
  color: var(--bm-cream);
}
body.bm-site .bm-btn--ghost-light .elementor-button:hover,
body.bm-site .bm-btn--ghost-light .elementor-button:focus-visible {
  background-color: var(--bm-cream);
  border-color: var(--bm-cream);
  color: var(--bm-forest-deep);
}

/* Groupe de boutons */
body.bm-site .bm-btn-group { --display: flex; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Lien fléché */
.bm-link {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bm-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 0.4em;
  background-image: linear-gradient(var(--bm-gold-text), var(--bm-gold-text));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--bm-dur) var(--bm-ease), color var(--bm-dur-fast);
}

/* ==========================================================================
   5. Hero et bandeaux de titre
   ========================================================================== */

body.bm-site .bm-hero,
body.bm-site .bm-pagehead { position: relative; isolation: isolate; overflow: hidden; }

/* Voile sombre : c'est lui qui rend le texte lisible quelle que soit la
   photo. Sans voile, un texte crème sur une photo claire est illisible. */
body.bm-site .bm-hero::before,
body.bm-site .bm-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;          /* au-dessus de la vidéo, sous le texte */
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(16, 26, 20, 0.88) 0%, rgba(16, 26, 20, 0.66) 46%, rgba(16, 26, 20, 0.34) 100%),
    linear-gradient(0deg, rgba(16, 26, 20, 0.5) 0%, transparent 45%);
}
body.bm-site .bm-hero > .e-con-inner,
body.bm-site .bm-pagehead > .e-con-inner,
body.bm-site .bm-hero > .elementor-element,
body.bm-site .bm-pagehead > .elementor-element { position: relative; z-index: 2; }

body.bm-site .bm-hero__content { max-width: 46rem; }

body.bm-site .bm-hero__title .elementor-heading-title {
  color: var(--bm-cream);
  font-size: var(--bm-text-hero);
  line-height: 1.06;
}
body.bm-site .bm-hero__title .elementor-heading-title em,
body.bm-site .bm-pagehead .elementor-heading-title em { color: var(--bm-gold-light); }

body.bm-site .bm-hero__lead p,
body.bm-site .bm-pagehead__lead p {
  color: rgba(247, 241, 230, 0.92);
  font-size: var(--bm-text-lg);
  max-width: 42rem;
}

body.bm-site .bm-pagehead .elementor-heading-title { color: var(--bm-cream); }

body.bm-site .bm-hero .bm-eyebrow .elementor-heading-title,
body.bm-site .bm-pagehead .bm-eyebrow .elementor-heading-title { color: var(--bm-gold-light); }

/* La vidéo de fond du hero est la vidéo native d'Elementor : voir magie.css. */

.bm-hero__hint { margin-top: 1.4rem; }
@media (max-width: 767px) { .bm-hero__hint { display: none; } }

/* Chapô centré */
body.bm-site .bm-lead-center { max-width: 64ch; margin-inline: auto; }
body.bm-site .bm-lead-center p {
  color: var(--bm-ink-soft);
  font-size: var(--bm-text-lg);
  text-align: center;
}

/* ==========================================================================
   6. Images de contenu
   ========================================================================== */

body.bm-site .bm-media img {
  border-radius: var(--bm-radius-soft);
  box-shadow: var(--bm-shadow-lift);
  width: 100%;
  object-fit: cover;
  display: block;
  /* Les visuels sources mêlent portrait et paysage. Sans plafond, une photo
     verticale étire sa colonne et désaligne le face-à-face. */
  max-height: 620px;
}
body.bm-site .bm-media--portrait img  { aspect-ratio: 4 / 5; }
body.bm-site .bm-media--landscape img { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
  body.bm-site .bm-media img { max-height: 440px; }
}

/* ==========================================================================
   7. Cartes de soins
   ========================================================================== */

body.bm-site a.bm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bm-white);
  border: 1px solid rgba(184, 135, 59, 0.18);
  border-radius: var(--bm-radius-soft);
  overflow: hidden;
  transition: transform var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease);
}
body.bm-site a.bm-card:hover,
body.bm-site a.bm-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--bm-shadow-lift);
  border-color: var(--bm-gold-light);
}

.bm-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bm-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--bm-dur-slow) var(--bm-ease);
}
body.bm-site a.bm-card:hover .bm-card__media img { transform: scale(1.05); }

.bm-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.bm-card__index {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  letter-spacing: 0.2em;
  color: var(--bm-gold-text);
}
body.bm-site a.bm-card h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: var(--bm-text-xl);
  transition: color var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site a.bm-card:hover h3 { color: var(--bm-gold-text); }
body.bm-site a.bm-card p {
  margin: 0 0 1.2rem;
  color: var(--bm-ink-soft);
  font-size: var(--bm-text-sm);
  line-height: 1.68;
}
.bm-card__body .bm-link { margin-top: auto; align-self: flex-start; }
body.bm-site a.bm-card:hover .bm-link {
  color: var(--bm-gold-text);
  background-size: 100% 1px;
}

/* ==========================================================================
   8. Listes et blocs éditoriaux
   ========================================================================== */

.bm-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.bm-benefits li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--bm-ink);
}
.bm-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.66em;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--bm-gold);
}
@media (min-width: 700px) {
  .bm-benefits--split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.2rem; }
}

/* Étapes numérotées — en grille : empilées, six étapes imposaient un long
   défilement pour une information qui se saisit d'un coup d'œil. */
.bm-steps {
  counter-reset: bmstep;
  display: grid;
  gap: clamp(1.2rem, 0.9rem + 1.4vw, 2rem);
}
.bm-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .bm-steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bm-steps--2,
  .bm-steps--3 { grid-template-columns: minmax(0, 1fr); }
}

.bm-step {
  counter-increment: bmstep;
  position: relative;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(184, 135, 59, 0.3);
}
.bm-step__num::before {
  content: "0" counter(bmstep);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--bm-font-display);
  font-size: var(--bm-text-xl);
  font-style: italic;
  color: var(--bm-gold-text);
  line-height: 1;
}
.bm-step h3 { margin: 0 0 0.4rem; font-size: var(--bm-text-lg); }
.bm-step p  { margin: 0; color: var(--bm-ink-soft); font-size: var(--bm-text-sm); line-height: 1.68; }

/* Étiquettes */
.bm-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.bm-tags li {
  font-size: var(--bm-text-sm);
  color: var(--bm-forest);
  background: var(--bm-white);
  border: 1px solid rgba(184, 135, 59, 0.3);
  border-radius: 999px;
  padding: 0.5em 1.2em;
}

/* Encadré « Recommandé pour » */
.bm-note {
  background: var(--bm-cream);
  border-left: 3px solid var(--bm-gold);
  border-radius: var(--bm-radius);
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.7rem) clamp(1.2rem, 1rem + 1.2vw, 1.9rem);
}
.bm-note h3 { margin: 0 0 0.4rem; font-size: var(--bm-text-lg); }
.bm-note p  { margin: 0; color: var(--bm-ink); }

/* Valeur */
.bm-value {
  background: var(--bm-white);
  border: 1px solid rgba(184, 135, 59, 0.18);
  border-radius: var(--bm-radius-soft);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  height: 100%;
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}
.bm-value:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lift); }
.bm-value h3 { margin: 0 0 0.5rem; font-size: var(--bm-text-lg); }
.bm-value p  { margin: 0; color: var(--bm-ink-soft); font-size: var(--bm-text-sm); line-height: 1.68; }

/* Témoignage */
.bm-quote {
  position: relative;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  background: var(--bm-white);
  border: 1px solid rgba(184, 135, 59, 0.18);
  border-radius: var(--bm-radius-soft);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}
.bm-quote:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lift); }
.bm-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.02em; right: 0.28em;
  font-family: var(--bm-font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--bm-gold-pale);
  pointer-events: none;
}
.bm-quote blockquote {
  margin: 0; border: 0; padding: 0;
  font-family: var(--bm-font-display);
  font-size: var(--bm-text-lg);
  font-style: italic;
  line-height: 1.55;
  color: var(--bm-forest);
}
.bm-quote figcaption {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 0.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 135, 59, 0.22);
}
.bm-quote__name {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-forest);
}
.bm-quote__soin { font-size: var(--bm-text-sm); color: var(--bm-gold-text); font-style: italic; }

/* Citation pleine largeur */
.bm-manifesto {
  font-family: var(--bm-font-display);
  font-size: var(--bm-text-2xl);
  font-style: italic;
  line-height: 1.34;
  color: var(--bm-forest);
  text-align: center;
  max-width: 26ch;
  margin-inline: auto;
}

/* Mention légale */
.bm-disclaimer {
  font-size: var(--bm-text-sm);
  color: var(--bm-ink-soft);
  font-style: italic;
  border-left: 2px solid var(--bm-gold-light);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 0;
}

/* Information à compléter — repère de préproduction */
.bm-todo {
  font-size: var(--bm-text-sm);
  color: var(--bm-ink-soft);
  background: rgba(184, 135, 59, 0.06);
  border: 1px dashed rgba(184, 135, 59, 0.5);
  border-radius: var(--bm-radius);
  padding: 0.9rem 1.1rem;
}
.bm-todo strong { color: var(--bm-gold-text); }
.bm-todo code { font-size: 0.9em; background: rgba(38,55,42,0.06); padding: 0.1em 0.4em; border-radius: 3px; }

/* Coordonnées */
.bm-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.bm-contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.bm-contact-list__label {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-gold-text);
}

/* Texte long (pages légales) */
body.bm-site .bm-prose { max-width: 72ch; }
body.bm-site .bm-prose h2 {
  font-size: var(--bm-text-xl);
  margin: 2.4rem 0 0.7rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(184, 135, 59, 0.24);
}
body.bm-site .bm-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ==========================================================================
   8 bis. Bandeau d'appel à l'action (fond vert profond)
   --------------------------------------------------------------------------
   Sans ces règles, les titres héritent du vert profond global et deviennent
   invisibles sur le fond vert : seul le mot en italique doré ressortait.
   ========================================================================== */

body.bm-site .bm-cta .elementor-heading-title { color: var(--bm-cream); }
body.bm-site .bm-cta .elementor-heading-title em { color: var(--bm-gold-light); }
body.bm-site .bm-cta__lead { margin-inline: auto; }
body.bm-site .bm-cta__lead p {
  color: rgba(247, 241, 230, 0.86);
  max-width: 56ch;
  margin-inline: auto;
  text-align: center;
}
body.bm-site .bm-cta .bm-ornament::before,
body.bm-site .bm-cta .bm-ornament::after {
  background: linear-gradient(90deg, transparent, rgba(223, 192, 138, 0.75), transparent);
}
body.bm-site .bm-cta .bm-eyebrow .elementor-heading-title { color: var(--bm-gold-light); }

/* ==========================================================================
   9. Section sur photo (voile clair)
   --------------------------------------------------------------------------
   Le voile est géré ici plutôt que par le réglage d'overlay d'Elementor :
   celui-ci exige une opacité explicite, faute de quoi il est ignoré et le
   texte se retrouve directement sur la photo.
   ========================================================================== */

body.bm-site .bm-veil { position: relative; isolation: isolate; }
body.bm-site .bm-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(251, 248, 242, 0.94);
}
body.bm-site .bm-veil > .e-con-inner,
body.bm-site .bm-veil > .elementor-element { position: relative; z-index: 1; }

/* ==========================================================================
   10. Formulaire Gravity Forms
   ========================================================================== */

.bm-form {
  background: var(--bm-white);
  border: 1px solid rgba(184, 135, 59, 0.22);
  border-radius: var(--bm-radius-soft);
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.8rem);
  box-shadow: var(--bm-shadow-soft);
}

body.bm-site .gform_wrapper form { margin: 0; }

body.bm-site .gform_wrapper .gfield_label {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bm-forest);
  margin-bottom: 0.5rem;
}
body.bm-site .gform_wrapper .gfield_required { color: var(--bm-gold-text); }

body.bm-site .gform_wrapper input[type="text"],
body.bm-site .gform_wrapper input[type="email"],
body.bm-site .gform_wrapper input[type="tel"],
body.bm-site .gform_wrapper input[type="number"],
body.bm-site .gform_wrapper input[type="date"],
body.bm-site .gform_wrapper select,
body.bm-site .gform_wrapper textarea {
  width: 100%;
  font-family: var(--bm-font-body);
  font-size: var(--bm-text-base);
  color: var(--bm-ink);
  background: var(--bm-sand);
  border: 1px solid rgba(184, 135, 59, 0.32);
  border-radius: var(--bm-radius);
  /* line-height explicite : le 1.75 du corps de page, combiné à une hauteur
     minimale, rognait le bas des libellés dans les listes déroulantes. */
  line-height: 1.35;
  transition: border-color var(--bm-dur-fast), background-color var(--bm-dur-fast), box-shadow var(--bm-dur-fast);
}

body.bm-site .gform_wrapper input[type="text"],
body.bm-site .gform_wrapper input[type="email"],
body.bm-site .gform_wrapper input[type="tel"],
body.bm-site .gform_wrapper input[type="number"],
body.bm-site .gform_wrapper input[type="date"] {
  height: 50px;
  padding: 0 1em;
}

/* Liste déroulante : hauteur fixe (et non min-height, mal gérée par les
   navigateurs sur <select>), flèche maison, place réservée à droite. */
body.bm-site .gform_wrapper select {
  height: 50px;
  /* line-height calée sur la hauteur intérieure (50 − 2 px de bordures) :
     sans cela le libellé se colle en haut du champ au lieu d'être centré. */
  line-height: 48px;
  padding: 0 2.9rem 0 1em;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-overflow: ellipsis;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238a6224' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}
body.bm-site .gform_wrapper select::-ms-expand { display: none; }
body.bm-site .gform_wrapper select option { color: var(--bm-ink); }
body.bm-site .gform_wrapper input:focus,
body.bm-site .gform_wrapper select:focus,
body.bm-site .gform_wrapper textarea:focus {
  outline: none;
  background: var(--bm-white);
  border-color: var(--bm-gold-text);
  box-shadow: 0 0 0 3px rgba(138, 98, 36, 0.14);
}
body.bm-site .gform_wrapper textarea { min-height: 128px; resize: vertical; }
body.bm-site .gform_wrapper ::placeholder { color: var(--bm-ink-soft); opacity: 0.6; }

body.bm-site .gform_wrapper .gfield_description {
  font-size: var(--bm-text-sm);
  color: var(--bm-ink-soft);
  font-style: italic;
  padding-top: 0.35rem;
}

/* Deux champs côte à côte dont un seul porte une description se retrouvaient
   décalés en hauteur. On aligne les cellules par le bas : les champs de
   saisie restent sur une même ligne, quel que soit le texte au-dessus. */
body.bm-site .gform_wrapper .gform_fields { align-items: end; }
body.bm-site .gform_wrapper .gfield { display: flex; flex-direction: column; }
body.bm-site .gform_wrapper .gfield > .ginput_container { margin-top: auto; }
body.bm-site .gform_wrapper .gfield--type-consent .gfield_consent_label,
body.bm-site .gform_wrapper .gchoice label {
  font-family: var(--bm-font-body);
  font-size: var(--bm-text-sm);
  text-transform: none;
  letter-spacing: 0;
  color: var(--bm-ink);
}
body.bm-site .gform_wrapper input[type="checkbox"] { accent-color: var(--bm-gold-text); width: 18px; height: 18px; }

/* Champ date natif : ouvre le sélecteur du système (roue iOS, calendrier
   Android), déjà traduit. Toute la surface est cliquable, pas seulement
   une petite icône. */
body.bm-site .gform_wrapper input.bm-date-natif {
  width: 100%;
  height: 50px;
  padding: 0 1em;
  font-family: var(--bm-font-body);
  font-size: var(--bm-text-base);
  line-height: 1.35;
  color: var(--bm-ink);
  background: var(--bm-sand);
  border: 1px solid rgba(184, 135, 59, 0.32);
  border-radius: var(--bm-radius);
  cursor: pointer;
  /* iOS rabote la hauteur des champs date sans cela */
  -webkit-appearance: none;
  appearance: none;
}
body.bm-site .gform_wrapper input.bm-date-natif:focus {
  outline: none;
  background: var(--bm-white);
  border-color: var(--bm-gold-text);
  box-shadow: 0 0 0 3px rgba(138, 98, 36, 0.14);
}
/* Icône du calendrier : agrandie et teintée pour rester cliquable au doigt */
body.bm-site .gform_wrapper input.bm-date-natif::-webkit-calendar-picker-indicator {
  width: 22px;
  height: 22px;
  padding: 6px;
  margin-right: -2px;
  cursor: pointer;
  opacity: 0.75;
  filter: sepia(1) saturate(2.2) hue-rotate(3deg);
}
body.bm-site .gform_wrapper input.bm-date-natif::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* La classe .button de Betheme impose sa propre hauteur et l'emporte sur une
   règle de spécificité équivalente : le bouton retombait à 38 px, sous le
   seuil de confort tactile. D'où le !important, ciblé sur ce seul cas. */
body.bm-site .gform_wrapper .gform_footer input[type="submit"],
body.bm-site .gform_wrapper .gform_footer button,
body.bm-site .gform_wrapper button.gform_button,
body.bm-site .gform_wrapper .gform_button {
  font-family: var(--bm-font-eyebrow) !important;
  font-size: var(--bm-text-xs) !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--bm-forest) !important;
  color: var(--bm-cream) !important;
  border: 1px solid var(--bm-forest) !important;
  border-radius: 999px !important;
  padding: 0 2.8em !important;
  height: 54px !important;
  min-height: 54px !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color var(--bm-dur-fast), border-color var(--bm-dur-fast), color var(--bm-dur-fast), transform var(--bm-dur-fast);
}

@media (max-width: 640px) {
  body.bm-site .gform_wrapper .gform_footer input[type="submit"],
  body.bm-site .gform_wrapper .gform_footer button,
  body.bm-site .gform_wrapper .gform_button { width: 100%; }
}
body.bm-site .gform_wrapper .gform_footer input[type="submit"]:hover,
body.bm-site .gform_wrapper .gform_button:hover {
  background: var(--bm-forest-deep);
  border-color: var(--bm-forest-deep);
  transform: translateY(-2px);
}

body.bm-site .gform_wrapper .gfield_error input,
body.bm-site .gform_wrapper .gfield_error select,
body.bm-site .gform_wrapper .gfield_error textarea {
  border-color: var(--bm-clay);
  background: rgba(160, 57, 46, 0.04);
}
body.bm-site .gform_wrapper .validation_message,
body.bm-site .gform_wrapper .gform_validation_errors {
  font-size: var(--bm-text-sm);
  color: var(--bm-clay);
  background: rgba(160, 57, 46, 0.06);
  border: 1px solid rgba(160, 57, 46, 0.28);
  border-radius: var(--bm-radius);
  padding: 0.7rem 1rem;
}
body.bm-site .gform_confirmation_message {
  font-family: var(--bm-font-display);
  font-size: var(--bm-text-lg);
  color: var(--bm-forest);
  background: var(--bm-cream);
  border-left: 3px solid var(--bm-gold);
  border-radius: var(--bm-radius);
  padding: clamp(1.3rem, 1rem + 1.4vw, 2.2rem);
}

/* ==========================================================================
   11. FAQ (accordéon Elementor)
   ========================================================================== */

/* Chaque question est une carte à part entière : la liste plate se lisait
   comme un tableau administratif, sans hiérarchie ni respiration. */
body.bm-site .bm-faq .elementor-accordion { display: grid; gap: 0.85rem; }

body.bm-site .bm-faq .elementor-accordion-item {
  border: 1px solid rgba(184, 135, 59, 0.2);
  border-radius: var(--bm-radius-soft);
  background: var(--bm-white);
  overflow: hidden;
  transition: border-color var(--bm-dur-fast) var(--bm-ease-soft),
              box-shadow var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site .bm-faq .elementor-accordion-item:hover { border-color: var(--bm-gold-light); }
body.bm-site .bm-faq .elementor-accordion-item:has(.elementor-active) {
  border-color: var(--bm-gold-light);
  box-shadow: var(--bm-shadow-soft);
}

body.bm-site .bm-faq .elementor-tab-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--bm-font-display);
  font-size: var(--bm-text-lg);
  color: var(--bm-forest);
  padding: 1.15em clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--bm-dur-fast) var(--bm-ease-soft),
              background-color var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site .bm-faq .elementor-tab-title:hover { background: rgba(247, 241, 230, 0.55); }
body.bm-site .bm-faq .elementor-tab-title.elementor-active { color: var(--bm-gold-text); }
body.bm-site .bm-faq .elementor-tab-title a,
body.bm-site .bm-faq .elementor-accordion-title { color: inherit; text-decoration: none; flex: 1; }

/* Icône dessinée en CSS plutôt qu'avec une police d'icônes : Font Awesome
   pesait 142 Ko de CSS bloquant pour ce seul « + ». */
body.bm-site .bm-faq .elementor-accordion-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bm-gold-pale);
  font-size: 0;
  transition: background-color var(--bm-dur-fast) var(--bm-ease-soft);
}
/* Les glyphes de la police d'icônes n'ont plus lieu d'être */
body.bm-site .bm-faq .elementor-accordion-icon i,
body.bm-site .bm-faq .elementor-accordion-icon svg { display: none !important; }

/* Barre horizontale du « + » */
body.bm-site .bm-faq .elementor-accordion-icon::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--bm-gold-text);
  transition: background-color var(--bm-dur-fast) var(--bm-ease-soft);
}
/* Barre verticale, qui s'efface à l'ouverture : le « + » devient « − » */
body.bm-site .bm-faq .elementor-accordion-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: var(--bm-gold-text);
  transition: transform var(--bm-dur) var(--bm-ease),
              opacity var(--bm-dur-fast) var(--bm-ease-soft),
              background-color var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site .bm-faq .elementor-tab-title.elementor-active .elementor-accordion-icon {
  background: var(--bm-forest);
}
body.bm-site .bm-faq .elementor-tab-title.elementor-active .elementor-accordion-icon::before {
  background: var(--bm-cream);
}
body.bm-site .bm-faq .elementor-tab-title.elementor-active .elementor-accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

body.bm-site .bm-faq .elementor-tab-content {
  border: 0;
  padding: 0 clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem) 1.5em calc(clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem) + 34px + 1rem);
  color: var(--bm-ink);
  background: transparent;
}
body.bm-site .bm-faq .elementor-tab-content p { margin: 0; max-width: 68ch; }

@media (max-width: 600px) {
  body.bm-site .bm-faq .elementor-tab-content { padding-left: clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem); }
}

/* ==========================================================================
   12. En-tête et pied de page (Betheme)
   ========================================================================== */

/* Logo : hauteur maîtrisée, jamais déformé */
body.bm-site #Top_bar .logo img,
body.bm-site .mfn-header-tmpl .logo img { height: auto; max-height: 74px; width: auto; }

/* Menu : items centrés verticalement, sans les traits séparateurs de la démo.
   La mise en ligne est réservée au desktop — appliquée sans condition, elle
   alignait aussi les items du panneau mobile, qui débordaient alors
   horizontalement. */
@media (min-width: 1101px) {
  body.bm-site #Top_bar .menu_wrapper { display: flex; align-items: center; }
  body.bm-site #Top_bar .menu { display: flex; align-items: center; }
}

body.bm-site #Top_bar .menu > li { border: 0 !important; }
body.bm-site #Top_bar .menu > li > a {
  font-family: var(--bm-font-eyebrow);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 0 !important;
}
/* Betheme dessine les séparateurs et le soulignement actif en pseudo-éléments */
body.bm-site #Top_bar .menu > li > a::before,
body.bm-site #Top_bar .menu > li > a::after,
body.bm-site #Top_bar .menu > li > a > span.description { display: none; }

/* Soulignement doré discret sur l'item courant */
body.bm-site #Top_bar .menu > li:not(.bm-menu-cta) > a > span:not(.description) {
  position: relative;
  padding-bottom: 3px;
}
body.bm-site #Top_bar .menu > li:not(.bm-menu-cta) > a > span:not(.description)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bm-gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--bm-dur) var(--bm-ease);
}
body.bm-site #Top_bar .menu > li:not(.bm-menu-cta):hover > a > span:not(.description)::after,
body.bm-site #Top_bar .menu > li.current-menu-item:not(.bm-menu-cta) > a > span:not(.description)::after,
body.bm-site #Top_bar .menu > li.current-menu-ancestor:not(.bm-menu-cta) > a > span:not(.description)::after {
  transform: scaleX(1);
}

/* Dernier élément du menu traité en bouton (Réserver une séance).
   Le padding vertical sur un <span> en flux dépassait la barre : on fixe
   une hauteur et on centre, le bouton reste dans le header quelle que soit
   sa hauteur. */
body.bm-site #Top_bar .menu > li.bm-menu-cta { display: flex; align-items: center; }
body.bm-site #Top_bar .menu > li.bm-menu-cta > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding-block: 0;
}
body.bm-site #Top_bar .menu > li.bm-menu-cta > a > span:not(.description) {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 1.6em;
  line-height: 1;
  border-radius: 999px;
  background: var(--bm-forest);
  color: var(--bm-cream);
  transition: background-color var(--bm-dur-fast), color var(--bm-dur-fast), height var(--bm-dur-fast);
}
/* Au défilement, Betheme rétrécit la barre : le bouton suit, sinon il
   flotte en haut d'un header devenu plus bas que lui. */
body.bm-site #Top_bar.is-sticky .menu > li.bm-menu-cta > a > span:not(.description) {
  height: 38px;
  padding: 0 1.35em;
}
body.bm-site #Top_bar .menu > li.bm-menu-cta > a:hover > span:not(.description) {
  background: var(--bm-gold-text);
  color: var(--bm-white);
}
/* Le survol ne doit pas repeindre le libellé en doré sur fond vert */
body.bm-site #Top_bar .menu > li.bm-menu-cta.current-menu-item > a > span:not(.description) {
  background: var(--bm-gold-text);
  color: var(--bm-white);
}

/* --- Menu mobile (style « classic » : panneau sous le header) ---
   L'habillage du bouton burger reste DANS la requête média : hors de celle-ci,
   déclarer `display` le rendrait visible en desktop, où Betheme le masque. */

@media (max-width: 1100px) {
  body.bm-site #Top_bar .responsive-menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(138, 98, 36, 0.35);
    color: var(--bm-forest);
    transition: background-color var(--bm-dur-fast), color var(--bm-dur-fast);
  }
  body.bm-site #Top_bar .responsive-menu-toggle:hover,
  body.bm-site #Top_bar .responsive-menu-toggle.active {
    background: var(--bm-forest);
    color: var(--bm-cream);
    border-color: var(--bm-forest);
  }
}

@media (max-width: 1100px) {
  /* Panneau déroulant : empilement vertical strict */
  body.bm-site #Top_bar #menu ul.menu,
  body.bm-site #Top_bar #menu ul.menu > li { display: block; width: 100%; float: none; }

  body.bm-site #Top_bar #menu {
    background: var(--bm-sand);
    border-top: 1px solid rgba(184, 135, 59, 0.28);
    box-shadow: 0 24px 48px rgba(26, 38, 32, 0.16);
    padding: 0.6rem 0 1.2rem;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  body.bm-site #Top_bar #menu ul li { border-bottom: 1px solid rgba(184, 135, 59, 0.16); }
  body.bm-site #Top_bar #menu ul li:last-child { border-bottom: 0; }
  body.bm-site #Top_bar #menu ul li a {
    padding: 1.05em 1.4rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: var(--bm-forest);
    min-height: 48px;          /* cible tactile confortable */
    display: flex;
    align-items: center;
  }
  /* Ouvreur de sous-menu : Betheme pose bien un <a class="menu-toggle"> mais
     sans repère visuel. On lui donne un « + » centré et une zone tactile
     franche, séparée du libellé pour ne pas déclencher la navigation. */
  body.bm-site #Top_bar #menu ul li { position: relative; }
  /* Betheme pose un .menu-toggle sur des items sans sous-menu : un chevron
     y apparaissait, promettant un niveau inexistant. On ne l'affiche que
     sur les branches qui en ont réellement un. */
  body.bm-site #Top_bar #menu ul li > .menu-toggle { display: none !important; }

  body.bm-site #Top_bar #menu ul li.submenu > .menu-toggle,
  body.bm-site #Top_bar #menu ul li.menu-item-has-children > .menu-toggle {
    position: absolute !important;
    right: 0;
    top: 0;
    width: 64px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    /* Betheme peut poser une icône via une police : on neutralise tout
       glyphe hérité pour ne garder que notre chevron. */
    font-size: 0 !important;
    color: transparent;
    z-index: 3;
    /* L'icône est une image de fond, et non un pseudo-élément ou un enfant
       injecté : elle s'affiche dès le premier rendu, sans attendre le
       moindre script. C'est le seul montage qui ne peut pas « ne pas
       apparaître ». */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38'%3E%3Ccircle cx='19' cy='19' r='19' fill='%2326372a'/%3E%3Cpath d='M16 12l7 7-7 7' fill='none' stroke='%23f7f1e6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 38px 38px !important;
    background-color: transparent !important;
    /* Betheme applique opacity:0.33 à ce bouton : l'icône ressortait grise
       et délavée au lieu du vert profond. */
    opacity: 1 !important;
    transition: background-size var(--bm-dur-fast) var(--bm-ease-soft);
  }
  body.bm-site #Top_bar #menu ul li.submenu > .menu-toggle:hover,
  body.bm-site #Top_bar #menu ul li.menu-item-has-children > .menu-toggle:hover {
    background-size: 41px 41px !important;
  }
  body.bm-site #Top_bar #menu ul li .menu-toggle i,
  body.bm-site #Top_bar #menu ul li .menu-toggle svg { display: none !important; }
  /* Chevron vers la droite : il annonce un niveau à ouvrir, là où un « + »
     laissait croire à un simple dépliage sur place. */
  /* L'icône vient de la propriété background du bouton : tout pseudo-élément
     ou enfant ajouté ferait doublon. */
  body.bm-site #Top_bar #menu ul li .menu-toggle::before,
  body.bm-site #Top_bar #menu ul li .menu-toggle::after { content: none !important; }
  body.bm-site #Top_bar #menu ul li .menu-toggle .bm-chevron { display: none !important; }

  /* Aucun chevron au second niveau.
     Le chevron du parent est en position absolue sur toute la hauteur de son
     <li> : une fois le sous-menu déplié, ce <li> devient très haut et l'icône,
     centrée verticalement, réapparaissait au milieu de la liste — en face
     d'un soin qui n'a pourtant aucun sous-niveau. On masque donc tout
     chevron dès que le second niveau est ouvert. */
  /* Sélecteurs volontairement plus longs que la règle d'affichage
     (« #menu ul li.submenu > .menu-toggle ») : à !important égal, c'est la
     spécificité qui tranche, et une règle plus courte perdrait. */
  body.bm-site #Top_bar #menu.bm-drill ul li.submenu > .menu-toggle,
  body.bm-site #Top_bar #menu.bm-drill ul li.menu-item-has-children > .menu-toggle,
  body.bm-site #Top_bar #menu.bm-drill ul li > .menu-toggle { display: none !important; }

  body.bm-site #Top_bar #menu ul.sub-menu li.submenu > .menu-toggle,
  body.bm-site #Top_bar #menu ul.sub-menu li.menu-item-has-children > .menu-toggle,
  body.bm-site #Top_bar #menu ul ul.sub-menu li > .menu-toggle { display: none !important; }
  body.bm-site #Top_bar #menu ul.sub-menu li > a { padding-right: 1.4rem; }
  /* Le libellé s'arrête avant la zone du « + » */
  body.bm-site #Top_bar #menu ul li.submenu > a { padding-right: 66px; }

  /* --- Second niveau : bascule de panneau (façon application) ---
     Le premier niveau s'efface, le sous-menu occupe le panneau, un bouton de
     retour ramène en arrière. Positionner le sous-menu en absolu depuis le
     <li> l'ancrait à la hauteur de cet item, pas en haut du panneau : la
     bascule est ici plus fiable, pour un résultat identique à l'écran. */
  body.bm-site #Top_bar #menu { position: relative; overflow-x: hidden; }

  /* !important assumé : l'accordéon de Betheme pose un style inline
     « display:block » sur le sous-menu, qui l'emporterait sinon. */
  body.bm-site #Top_bar #menu ul li ul.sub-menu {
    position: static;
    width: 100%;
    background: transparent;
    display: none !important;
  }
  body.bm-site #Top_bar #menu ul li ul.sub-menu.is-open { display: block !important; }

  /* En second niveau, on masque tout le premier niveau… */
  body.bm-site #Top_bar #menu.bm-drill > ul.menu > li { display: none; }
  /* …sauf la branche ouverte, dont on masque le libellé et le « + » */
  body.bm-site #Top_bar #menu.bm-drill > ul.menu > li.bm-drill-parent { display: block; border-bottom: 0; }
  body.bm-site #Top_bar #menu.bm-drill > ul.menu > li.bm-drill-parent > a,
  body.bm-site #Top_bar #menu.bm-drill > ul.menu > li.bm-drill-parent > .menu-toggle { display: none; }

  /* Entrée douce du second niveau */
  @keyframes bm-drill-in {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: none; }
  }
  body.bm-site #Top_bar #menu ul li ul.sub-menu.is-open {
    animation: bm-drill-in 0.28s var(--bm-ease-soft) both;
  }

  body.bm-site #Top_bar #menu ul li ul li a {
    padding-left: 1.4rem;
    font-family: var(--bm-font-body);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    color: var(--bm-ink);
  }

  /* Bouton de retour */
  body.bm-site #Top_bar #menu .bm-drill-back {
    border-bottom: 1px solid rgba(184, 135, 59, 0.24);
    background: var(--bm-cream);
  }
  body.bm-site #Top_bar #menu .bm-drill-back button {
    display: flex;
    align-items: center;
    gap: 0.6em;
    width: 100%;
    min-height: 50px;
    padding: 0 1.4rem;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--bm-font-eyebrow);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--bm-gold-text);
    text-align: left;
  }
  body.bm-site #Top_bar #menu .bm-drill-back button span { font-size: 1.05rem; line-height: 1; }
  body.bm-site #Top_bar #menu .bm-drill-back button:hover { color: var(--bm-forest); }
  /* Le CTA reprend sa forme de bouton, centré, en bas du panneau */
  body.bm-site #Top_bar #menu ul li.bm-menu-cta {
    border: 0 !important;
    padding: 1.1rem 1.4rem 0.4rem !important;
  }
  body.bm-site #Top_bar #menu ul li.bm-menu-cta > a {
    padding: 0 !important;
    display: block !important;
    min-height: 0;
    text-align: center;
  }
  body.bm-site #Top_bar #menu ul li.bm-menu-cta > a > span:not(.description) {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    height: 52px !important;
    padding: 0 1rem !important;
  }
}

/* Pied de page sur fond vert profond */
body.bm-site #Footer { background-color: var(--bm-forest); color: #d9d2c4; }
body.bm-site #Footer h1, body.bm-site #Footer h2,
body.bm-site #Footer h3, body.bm-site #Footer h3,
body.bm-site #Footer h4 { color: var(--bm-cream); }
body.bm-site #Footer a { color: var(--bm-gold-light); }
body.bm-site #Footer a:hover { color: var(--bm-white); }
body.bm-site #Footer .widget { margin-bottom: 1.6rem; }

body.bm-site #Footer h3,
body.bm-site #Footer h4 {
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bm-gold-light);
  margin: 0 0 1.1rem;
}

.bm-foot-brand img { max-width: 132px; height: auto; margin-bottom: 1.1rem; }
.bm-foot-brand p {
  font-size: var(--bm-text-sm);
  line-height: 1.7;
  color: #c8c2b4;
  max-width: 34ch;
}

.bm-foot-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.bm-foot-nav a {
  font-size: var(--bm-text-sm);
  text-decoration: none;
  color: #d9d2c4;
  /* Une hauteur de ligne seule donnait des cibles de 18 px : trop petites
     pour un doigt (WCAG 2.5.8 recommande 44 px). */
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.25rem 0;
  transition: color var(--bm-dur-fast) var(--bm-ease-soft);
}
body.bm-site #Footer .bm-foot-nav a:hover { color: var(--bm-gold-light); }

@media (max-width: 767px) {
  .bm-foot-nav a { min-height: 44px; }
}

.bm-foot-note { font-size: var(--bm-text-sm); color: #a9b0a4; line-height: 1.7; }

body.bm-site #Footer a.bm-foot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9em 1.7em;
  /* Sans cela, « Demander un rendez-vous » se coupe en deux lignes dès que
     la colonne du pied de page se resserre. */
  white-space: nowrap;
  text-align: center;
  border-radius: 999px;
  background: var(--bm-cream);
  color: var(--bm-forest-deep);
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--bm-dur-fast), color var(--bm-dur-fast), transform var(--bm-dur-fast);
}
body.bm-site #Footer a.bm-foot-cta:hover {
  background: var(--bm-gold-light);
  color: var(--bm-forest-deep);
  transform: translateY(-2px);
}

/* Bas de page : mention légale */
body.bm-site #Footer .copyright {
  font-size: var(--bm-text-sm);
  color: #a9b0a4;
  line-height: 2;
}
body.bm-site #Footer .copyright a {
  color: #d9d2c4;
  display: inline-block;
  padding: 0.55rem 0;   /* cible tactile : 18 px de haut sinon */
}
body.bm-site #Footer .copyright a:hover { color: var(--bm-gold-light); }

/* ==========================================================================
   13. Barre d'action mobile
   ========================================================================== */

.bm-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9990;
  display: none;
  background: rgba(251, 248, 242, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(184, 135, 59, 0.3);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.bm-actionbar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  font-family: var(--bm-font-eyebrow);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(138, 98, 36, 0.4);
  color: var(--bm-forest);
  background: var(--bm-white);
}
.bm-actionbar a.bm-actionbar__cta {
  background: var(--bm-forest);
  border-color: var(--bm-forest);
  color: var(--bm-cream);
  flex: 1.4;
}
.bm-actionbar svg { width: 17px; height: 17px; flex: none; }

@media (max-width: 767px) {
  .bm-actionbar { display: flex; }
  body.bm-site { padding-bottom: 66px; }
}

/* ==========================================================================
   13 bis. Bouton WhatsApp flottant
   --------------------------------------------------------------------------
   Pastille discrète en bas à droite, qui se déploie en libellé au survol.
   Masquée sous 768 px : WhatsApp figure déjà dans la barre d'action fixe,
   et deux boutons dans le même coin se recouvriraient.
   ========================================================================== */

/* La couleur est posée sur « body.bm-site a.bm-whatsapp » et non sur la
   seule classe : la règle générique « body.bm-site a » est plus spécifique
   et repeignait le libellé en doré sur fond vert, soit 1:1 de contraste. */
body.bm-site a.bm-whatsapp,
.bm-whatsapp {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 9980;
  display: none;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 8px;
  border-radius: 999px;
  background: #1f7a4d;                 /* vert WhatsApp, assombri pour la charte */
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(26, 38, 32, 0.18), 0 12px 32px rgba(26, 38, 32, 0.16);
  overflow: hidden;
  transition: background-color var(--bm-dur-fast) var(--bm-ease-soft),
              box-shadow var(--bm-dur-fast) var(--bm-ease-soft),
              transform var(--bm-dur-fast) var(--bm-ease-soft);
}

.bm-whatsapp__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
}
.bm-whatsapp__icone svg { width: 26px; height: 26px; display: block; }

/* Le libellé est replié par défaut et se déploie au survol : présence
   discrète au repos, intention explicite au moment de cliquer. */
.bm-whatsapp__texte {
  font-family: var(--bm-font-eyebrow);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transition: max-width var(--bm-dur) var(--bm-ease),
              opacity var(--bm-dur-fast) var(--bm-ease-soft),
              padding var(--bm-dur) var(--bm-ease);
}

.bm-whatsapp:hover,
.bm-whatsapp:focus-visible {
  background: #196340;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 38, 32, 0.22), 0 16px 40px rgba(26, 38, 32, 0.2);
}
.bm-whatsapp:hover .bm-whatsapp__texte,
.bm-whatsapp:focus-visible .bm-whatsapp__texte {
  max-width: 12rem;
  opacity: 1;
  padding: 0 0.9rem 0 0.35rem;
}

@media (min-width: 768px) {
  body.bm-site a.bm-whatsapp,
  .bm-whatsapp { display: inline-flex; }
}

/* Le bouton ne doit jamais masquer le bas d'un formulaire en cours de
   saisie sur les écrans peu hauts. */
@media (max-height: 520px) {
  body.bm-site a.bm-whatsapp,
  .bm-whatsapp { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-whatsapp,
  .bm-whatsapp__texte { transition: none !important; }
  .bm-whatsapp:hover { transform: none; }
}

/* ==========================================================================
   14. Effets d'apparition (amélioration progressive)
   --------------------------------------------------------------------------
   L'état masqué n'existe QUE si la classe bm-js est posée sur <html>.
   Sans JS, tout reste visible : aucun risque de page blanche.
   ========================================================================== */

.bm-js .bm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--bm-dur) var(--bm-ease), transform var(--bm-dur) var(--bm-ease);
}
.bm-js .bm-reveal.is-visible { opacity: 1; transform: none; }

.bm-js .bm-reveal--left  { transform: translateX(-28px); }
.bm-js .bm-reveal--right { transform: translateX(28px); }
.bm-js .bm-reveal--left.is-visible,
.bm-js .bm-reveal--right.is-visible { transform: none; }

.bm-js .bm-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--bm-dur) var(--bm-ease), transform var(--bm-dur) var(--bm-ease);
}
.bm-js .bm-stagger.is-visible > * { opacity: 1; transform: none; }
.bm-js .bm-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.bm-js .bm-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.bm-js .bm-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.bm-js .bm-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.bm-js .bm-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.bm-js .bm-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* Indicateur de défilement */
@keyframes bm-scroll-hint {
  0%   { transform: translateY(0);    opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}
.bm-scroll-hint {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--bm-gold-light), transparent);
  position: relative;
  overflow: hidden;
}
.bm-scroll-hint::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 14px;
  background: var(--bm-gold-light);
  animation: bm-scroll-hint 2.4s var(--bm-ease-soft) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bm-js .bm-reveal,
  .bm-js .bm-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .bm-scroll-hint::after { animation: none !important; }
  body.bm-site *, body.bm-site *::before, body.bm-site *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   15. Accessibilité
   ========================================================================== */

/* La couleur est répétée sur body.bm-site pour battre la règle générique
   « body.bm-site a », plus spécifique que la classe seule : sans cela le
   libellé s'affichait en doré sur vert, à 2,3:1. */
/* Masquage par dimension nulle plutôt que par « left:-9999px » : cette
   dernière technique sort le lien du viewport, et certains outils le
   considèrent alors comme non focalisable.
   La couleur est répétée sur body.bm-site pour battre « body.bm-site a »,
   plus spécifique que la classe seule. */
body.bm-site a.bm-skip-link,
.bm-skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--bm-forest);
  color: var(--bm-cream);
  padding: 0.85rem 1.4rem;
  font-family: var(--bm-font-eyebrow);
  font-size: var(--bm-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--bm-radius);
}
body.bm-site a.bm-skip-link:focus,
.bm-skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

/* La cible du lien d'évitement ne doit pas afficher de contour au clic */
#bm-contenu:focus { outline: none; }

.bm-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
