/* ChouChou Official – overrides: grille Bootstrap header, logo réduit, bandeau hero, bouton flottant */

/* Masquer la note flottante (étoiles / 4,5) et widgets Elfsight */
[class*="elfsight"],
.eapps-widget,
[id*="elfsight"] {
  display: none !important;
}

/* Bouton Réserver en rose gold */
.bm-cta.-theme-header,
.bm-fixed-book .bm-cta,
.bm-book .bm-cta.-theme-yellow {
  background: #b76e79 !important;
  color: #fff !important;
  border-color: #a85d68 !important;
}
.bm-cta.-theme-header:hover,
.bm-fixed-book .bm-cta:hover,
.bm-book .bm-cta.-theme-yellow:hover {
  background: #a85d68 !important;
  color: #fff !important;
  border-color: #984a54 !important;
}
.bm-book .bm-cta.-theme-yellow svg path,
.bm-cta.-theme-rose-gold svg path {
  fill: #fff !important;
}
.bm-cta.-theme-rose-gold {
  background: #b76e79 !important;
  color: #fff !important;
  border-color: #a85d68 !important;
}
.bm-cta.-theme-rose-gold:hover {
  background: #a85d68 !important;
  color: #fff !important;
}

/* Tous les boutons CTA en rose gold (about.html et pages ChouChou) */
.bm-cta {
  background: #b76e79 !important;
  color: #fff !important;
  border-color: #a85d68 !important;
}
.bm-cta:hover {
  background: #a85d68 !important;
  color: #fff !important;
  border-color: #984a54 !important;
}
.bm-cta svg path {
  fill: #fff !important;
}

/* Cacher le bouton flottant Réserver sur desktop (présent dans le header) */
@media (min-width: 768px) {
  .bm-fixed-book {
    display: none;
  }
}

/* Desktop : dropdown Services avec liste + photo associée */
@media (min-width: 768px) {
  .bm-header__sub-nav[js-subnav-wrapper="0"] {
    display: flex;
    align-items: stretch;
    gap: 2rem;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] > ul {
    flex: 0 0 220px;
    margin: 0;
    padding: 1.5rem 0;
    list-style: none;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] > ul li + li {
    margin-top: 0.5rem;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] > ul a {
    display: inline-block;
    width: 100%;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] .chouchou-services-photos {
    flex: 1 1 auto;
    position: relative;
    min-height: 380px;
    width: 100%;
    max-width: none;
    display: block;
    overflow: hidden;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] .chouchou-service-photo {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] .chouchou-service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bm-header__sub-nav[js-subnav-wrapper="0"] .chouchou-service-photo.-active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile : logo, Réserver et hamburger sur la même ligne en haut */
@media (max-width: 767.98px) {
  .bm-header .bm-header__wrapper .row {
    flex-wrap: nowrap;
    align-items: center;
  }
  .bm-header .bm-header__wrapper .row .bm-header__wrap-nav.-dx {
    display: none;
  }
}

/* Menus centrés dans la colonne col-md-6 */
.bm-header__nav.-desktop ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 1.25rem;
}

/* Accueil uniquement : menu au centre visuel, logo et boutons aux coins */
.bm-header--index {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: visible;
}
.bm-header--index .bm-header__wrapper {
  position: relative;
  width: 100%;
}
.bm-header--index .bm-header__wrapper .col-3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 1rem;
}
.bm-header--index .bm-header__wrapper .col-9.col-md-3 {
  justify-content: flex-end;
}
/* Même centrage que le bandeau hero : bande pleine largeur, contenu au milieu */
.bm-header--index .bm-header__wrapper .col-md-6 {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.bm-header--index .bm-header__wrapper .col-md-6 .bm-header__nav.-desktop {
  pointer-events: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bm-header--index .bm-header__wrapper .col-md-6 .bm-header__nav.-desktop nav,
.bm-header--index .bm-header__wrapper .col-md-6 .bm-header__nav.-desktop ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bm-header--index .bm-header__nav.-desktop nav {
  width: auto;
  display: flex;
  justify-content: center;
}
.bm-header--index .bm-header__nav.-desktop ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 1.25rem;
}

/* Fixer le logo header (taille stable, pas écrasé) */
.bm-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.bm-header__logo img,
.bm-footer__logo img,
.bm-newsletter__logo img,
.bm-header__hotel-logo img,
.bm-preloader img[alt="ChouChou Official"] {
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Fond wave particles rose gold (index) – calque fixe derrière le contenu */
.chouchou-particles-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.chouchou-particles-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.bm-container .page-scroller {
  position: relative;
  z-index: 1;
}

/* Centrer le texte du bandeau hero + empiler les lignes au même endroit (fade GSAP) */
.bm-hero {
  position: relative;
}
.bm-hero__title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 4em;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
}
/* Section scroll-images : clic pour réserver */
.bm-section-wrapper.-scroll-images {
  cursor: pointer;
}

.bm-hero__title .bm-hero__line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Taille de la police du bandeau (agrandie) */
.bm-hero__title .t-headline-2,
.bm-hero__title .bm-hero__line {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
.bm-hero__title .bm-hero__slogan {
  font-size: 1.5rem;
}

/* Bouton Réserver du hero : sous le texte, bien centré */
.bm-hero__cta {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  z-index: 2;
  margin-top: 0.5em;
  text-align: center;
}
.bm-hero__cta .bm-cta,
.bm-hero__cta a {
  display: inline-block;
}

/* Optionnel : réduire la police du menu */
.bm-header__nav .bm-cta,
.bm-header__nav a {
  font-size: 0.9rem;
}

/* GLightbox ChouChou : bouton Fermer bien visible en haut à droite */
.glightbox-container .gclose {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  width: auto !important;
  min-width: 110px;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 18px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  z-index: 1000002 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: inherit;
}
.glightbox-container .gclose:hover {
  background: rgba(0, 0, 0, 0.95) !important;
  color: #fff !important;
  border-color: #fff;
}
.glightbox-container .gclose::after {
  content: "Fermer";
  white-space: nowrap;
}
.glightbox-container .gclose svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.glightbox-container .goverlay {
  cursor: pointer;
}

/* Bouton Fermer ChouChou (secours) au-dessus de la lightbox */
#chouchou-glb-close,
.chouchou-glb-close-btn {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 1000003 !important;
  padding: 12px 20px !important;
  font-size: 18px !important;
  font-weight: 600;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: inherit;
}
#chouchou-glb-close:hover,
.chouchou-glb-close-btn:hover {
  background: #000 !important;
  border-color: #fff;
  color: #fff !important;
}

/* Section avec vidéo en arrière-plan */
.bm-section-video {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bm-section-video__back {
  position: absolute;
  inset: 0;
  background: #c9a9a6;
}
.bm-section-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bm-section-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(183, 110, 121, 0.25), rgba(0, 0, 0, 0.4));
}
.bm-section-video__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.bm-section-video__content .t-overline,
.bm-section-video__content .t-headline-3,
.bm-section-video__content .t-headline-3 h2 {
  color: #fff;
}
.bm-section-video__cta {
  margin-top: 1.5rem;
}
.bm-section-video__content .bm-cta {
  color: #fff;
}

/* Galerie cards : cliquable pour ouvrir la photo en lightbox (sans effet au clic) */
.bm-card-carousel__card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bm-card-carousel__card:hover,
.bm-card-carousel__card:active {
  opacity: 1;
}
.bm-card-carousel__card:focus {
  outline: none;
}

/* Cards carousel ChouChou index : texte et bouton centrés, défilement auto + infini (voir chouchou-gallery.js) */
.bm-card-carousel__card {
  text-align: center;
}
.bm-card-carousel__card .t-overline,
.bm-card-carousel__card .t-subtitle-3 {
  display: block;
  text-align: center;
}
.bm-card-carousel__card .bm-cta.mt-2 {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Section Nos partenaires – bande défilante (marquee) */
.chouchou-partners {
  background: rgba(201, 169, 166, 0.08);
}
.chouchou-partners__scroll-wrap {
  overflow: hidden;
  width: 100%;
}
.chouchou-partners__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: chouchou-partners-scroll 50s linear infinite;
}
@keyframes chouchou-partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.chouchou-partners__item {
  flex-shrink: 0;
  min-width: 120px;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chouchou-partners__logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.9;
  transition: filter 0.25s, opacity 0.25s;
}
.chouchou-partners__logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer Bootstrap : 3 colonnes 4-4-4, Powered by centré en bas */
.bm-footer .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.bm-footer__copyright {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bm-footer__contact a {
  display: inline-block;
}
.bm-footer__social {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.bm-footer__social a {
  display: inline-flex;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.bm-footer__social a:hover {
  opacity: 1;
}
.bm-footer__social svg {
  width: 22px;
  height: 22px;
}

/* Offcanvas réservation : 100% écran, design maquette fond blanc */
#chouchou-book-offcanvas.offcanvas,
#chouchou-book-offcanvas.offcanvas-bottom,
#chouchou-book-offcanvas.offcanvas.show,
.offcanvas.chouchou-offcanvas-book {
  background: #ffffff !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  border-radius: 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease-out, visibility 0.35s ease-out;
}
.chouchou-offcanvas-book__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
  background: #ffffff;
}
.chouchou-offcanvas-book__header .offcanvas-title.chouchou-offcanvas-book__title {
  color: #000000;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin: 0;
}
.chouchou-offcanvas-book__close-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  background: #e0e0e0;
  color: #1a1a1a;
  transition: background 0.2s;
}
.chouchou-offcanvas-book__close-btn:hover {
  background: #d0d0d0;
  color: #1a1a1a;
}
.chouchou-offcanvas-book__body,
.offcanvas.chouchou-offcanvas-book .offcanvas-body {
  padding: 1.5rem 1.5rem 3rem;
  padding-bottom: max(3rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  background: #ffffff;
  color: #000000;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 0%;
  min-height: 0;
  max-height: calc(100vh - 4.5rem);
  max-height: calc(100dvh - 4.5rem);
  display: block;
  align-items: center;
  text-align: center;
}
.chouchou-offcanvas-book__body .chouchou-offcanvas-book__form,
.offcanvas.chouchou-offcanvas-book .offcanvas-body .chouchou-offcanvas-book__form {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.chouchou-offcanvas-book__body .bm-book,
.offcanvas.chouchou-offcanvas-book .offcanvas-body .bm-book {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.chouchou-offcanvas-book__body .bm-book__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.chouchou-offcanvas-book__body .bm-book__col {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 0;
}
.chouchou-offcanvas-book__body .bm-book__col.bm-book__col--full {
  flex: 1 1 100%;
}
@media (max-width: 480px) {
  .chouchou-offcanvas-book__body .bm-book__col {
    flex: 1 1 100%;
  }
}
.chouchou-offcanvas-book__body .bm-book__field label {
  color: #000000;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.chouchou-offcanvas-book__body .bm-book__select,
.chouchou-offcanvas-book__body .bm-book__date {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  color: #1a1a1a;
}
.chouchou-offcanvas-book__body .bm-book__select select,
.chouchou-offcanvas-book__body .bm-book__date input {
  background: transparent;
  border: 0;
  color: #1a1a1a;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  width: 100%;
}
.chouchou-offcanvas-book__body .bm-book__date input::placeholder {
  color: #999;
}
.chouchou-offcanvas-book__body .bm-book__date#chouchou-offcanvas-price {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  color: #666;
}
.chouchou-offcanvas-book__body .bm-book .t-link {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chouchou-offcanvas-book__body .bm-book .t-link:hover {
  color: #333333;
}
.chouchou-offcanvas-book__body .chouchou-offcanvas-book__service-name {
  text-align: center;
  margin-bottom: 0.5rem;
}
.chouchou-offcanvas-book__service-name {
  color: #1a1a1a;
  font-weight: 500;
}
.chouchou-offcanvas-book__label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #000000;
}
.chouchou-offcanvas-book__form .form-label.chouchou-offcanvas-book__label {
  color: #000000;
}
.chouchou-offcanvas-book__form .mb-3 {
  margin-bottom: 1rem !important;
}
.chouchou-offcanvas-book__form .mb-4 {
  margin-bottom: 1.25rem !important;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-input {
  background: #ffffff !important;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  color: #1a1a1a;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-input:focus {
  border-color: #ccc;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
  outline: 0;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-input::placeholder {
  color: #999;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__link {
  display: inline-block;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__link:hover {
  color: #333333;
}
/* Bouton RÉSERVER : rose gold */
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__submit,
.chouchou-offcanvas-book .bm-cta.chouchou-offcanvas-book__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  margin-bottom: max(2.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  background: #b76e79 !important;
  color: #fff !important;
  border: 1px solid #a85d68 !important;
  opacity: 1;
  visibility: visible;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__submit:hover,
.chouchou-offcanvas-book .bm-cta.chouchou-offcanvas-book__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #a85d68 !important;
  color: #fff !important;
  border-color: #984a54 !important;
  opacity: 1;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__submit svg,
.chouchou-offcanvas-book .chouchou-offcanvas-book__submit svg {
  flex-shrink: 0;
}
.chouchou-offcanvas-book__form .chouchou-offcanvas-book__submit svg path,
.chouchou-offcanvas-book .chouchou-offcanvas-book__submit svg path {
  fill: #fff !important;
}

@media (min-width: 992px) {
  .bm-header__wrapper .row.align-items-center.justify-content-between {
    flex-wrap: nowrap;
  }
}
