/* ============================================================================
   LE MONDE ENSEMBLE — V633 HARMONIE GLOBALE :
   1. En-tête complet & Menu 3 barres horizontales (☰) 100 % fonctionnel partout
   2. Lisibilité parfaite dans « Le souvenir derrière la photo » (.photo-story)
      et sur toutes les bannières / cartes
   3. Ouverture propre en haut de page sans barres parasites
   ============================================================================ */

/* --- 1. MASQUER LES BARRES PARASITES HORS EN-TÊTE --- */
.lme-v630-tool-ribbon,
#lme-routebar,
.lme-page-nav-wrap,
.lme-v242-mobilebar {
  display: none !important;
}

/* --- 2. EN-TÊTE UNIFIÉ (NAVIGATION PRINCIPALE + BOUTON 3 BARRES ☰ FONCTIONNEL) --- */
header.lme-unified-header,
body > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10020 !important;
  background: #fffdfa !important;
  border-bottom: 1px solid #e6ddd2 !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 18px rgba(25, 45, 47, 0.06) !important;
  /* Aucun backdrop-filter sur <header> afin que Safari iOS/macOS ne coupe jamais le menu déroulant ! */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

header .wrap.nav,
header.lme-unified-header .lme-uh-inner {
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 54px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  overflow: visible !important;
}

header .brand,
header.lme-unified-header .lme-uh-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: #193c39 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
}

header .brand img.logo,
header.lme-unified-header .lme-uh-brand img.logo {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: block !important;
}

header .brand b,
header .brand span,
header.lme-unified-header .lme-uh-brand b,
header.lme-unified-header .lme-uh-brand span {
  color: #193c39 !important;
  font-weight: 800 !important;
  font-size: clamp(0.96rem, 2.2vw, 1.08rem) !important;
  white-space: nowrap !important;
}

header .westfalia-nav-mark {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: 38px !important;
  height: 26px !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  margin-left: 2px !important;
}

/* Liens de navigation directe dans l'en-tête sur ordinateur (> 980px), masqués sur mobile pour éviter les écritures en blocs */
header .links.lme-uh-nav,
header.lme-unified-header .lme-uh-nav {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  margin-right: 8px !important;
  flex-wrap: nowrap !important;
}

header .links.lme-uh-nav a,
header.lme-unified-header .lme-uh-nav a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: #193c39 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  white-space: nowrap !important;
  transition: background 0.16s ease, color 0.16s ease !important;
}

header .links.lme-uh-nav a:hover,
header .links.lme-uh-nav a[aria-current="page"] {
  background: #eaf4f0 !important;
  color: #1f5b50 !important;
}

header .links.lme-uh-nav a.lme-primary-cta {
  background: #1f5b50 !important;
  color: #ffffff !important;
  padding: 8px 14px !important;
  font-weight: 800 !important;
}

header .links.lme-uh-nav a.lme-primary-cta:hover {
  background: #16443b !important;
  color: #ffffff !important;
}

@media (max-width: 980px) {
  header .links.lme-uh-nav,
  header.lme-unified-header .lme-uh-nav,
  header .links:not(.secondary-menu) {
    display: none !important;
  }
}

/* Bouton 3 barres horizontales (☰) identique et fonctionnel sur 100 % des pages */
header .secondary-menu-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex: 0 0 46px !important;
  min-width: 46px !important;
  margin-left: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10030 !important;
  overflow: visible !important;
}

@media (max-width: 980px) {
  header .secondary-menu-wrap {
    margin-left: auto !important;
  }
}

header .hamburger-btn {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1.5px solid #1f5b50 !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(25, 60, 57, 0.1) !important;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10035 !important;
}

header .hamburger-btn:hover {
  transform: translateY(-1px) !important;
  background: #f2f9f6 !important;
  box-shadow: 0 9px 22px rgba(25, 60, 57, 0.15) !important;
}

header .hamburger-btn span {
  display: block !important;
  width: 21px !important;
  height: 2.4px !important;
  border-radius: 99px !important;
  background: #1f5b50 !important;
  transition: transform 0.22s ease, opacity 0.18s ease !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

header .hamburger-btn[aria-expanded="true"] {
  background: #eaf4f0 !important;
}
header .hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.4px) rotate(45deg) !important;
}
header .hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}
header .hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.4px) rotate(-45deg) !important;
}

/* Panneau déroulant du menu 3 barres (positionné sous le bouton ☰ sans aucun blocage Safari/iOS) */
header .secondary-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(355px, calc(100vw - 24px)) !important;
  max-height: min(80dvh, calc(100vh - 88px)) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 12px !important;
  background: #fffdfa !important;
  border: 1px solid #d8ccbe !important;
  border-radius: 20px !important;
  box-shadow: 0 22px 55px rgba(22, 45, 42, 0.24) !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 12050 !important;
  text-align: left !important;
}

header .secondary-menu.open,
header .secondary-menu[data-menu-open="true"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

header .secondary-menu .lme-menu-heading {
  display: block !important;
  margin: 8px 4px 4px !important;
  padding: 9px 10px 4px !important;
  border-top: 1px solid #ece3d8 !important;
  color: #8c644b !important;
  font: 800 0.7rem/1.3 system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

header .secondary-menu .lme-menu-heading:first-of-type {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 4px !important;
}

header .secondary-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 10px 11px !important;
  border-radius: 13px !important;
  color: #193c39 !important;
  text-decoration: none !important;
  font-weight: 750 !important;
  font-size: 0.93rem !important;
  line-height: 1.3 !important;
  transition: background 0.16s ease !important;
}

header .secondary-menu a:hover,
header .secondary-menu a[aria-current="page"] {
  background: #eaf4f0 !important;
  color: #1f5b50 !important;
}

header .secondary-menu a b {
  display: block !important;
  color: #193c39 !important;
  font-size: 0.93rem !important;
  font-weight: 750 !important;
}

header .secondary-menu a small {
  display: block !important;
  color: #546663 !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin-top: 2px !important;
}

header .secondary-menu .menu-icon {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  background: #e8f3ef !important;
  font-size: 1rem !important;
}

/* --- 3. LISIBILITÉ & CONTRASTE PARFAITS SUR TOUTES LES SECTIONS --- */

/* 3a. Boutique & Guides (boutique-offres.html) */
.shop-hero {
  background: linear-gradient(115deg, rgba(14, 30, 33, 0.84) 0%, rgba(42, 31, 37, 0.74) 100%), url('hero-emilie-andy-plage.webp') center 45% / cover !important;
  color: #ffffff !important;
}
.shop-hero :where(h1, h2, h3, p) {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55) !important;
}
.shop-hero .eyebrow {
  color: #ffe3b3 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5) !important;
}
.shop-hero .shop-btn {
  background: #ffffff !important;
  color: #193c39 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}
.shop-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 38% 0 0 !important;
  background: linear-gradient(180deg, rgba(12, 24, 26, 0) 0%, rgba(12, 24, 26, 0.82) 100%) !important;
  pointer-events: none !important;
}
.shop-cover-label,
.shop-cover-label small {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8) !important;
}

/* 3b. Expériences & Activités (experiences-activites.html) */
.xp-hero {
  background: linear-gradient(115deg, rgba(14, 30, 33, 0.85) 0%, rgba(24, 42, 46, 0.74) 100%), url('hero-emilie-andy-plage.webp') center 46% / cover !important;
  color: #ffffff !important;
}
.xp-hero :where(h1, h2, h3, p) {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55) !important;
}
.xp-hero .xp-kicker,
.xp-hero .eyebrow {
  color: #ffe3b3 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5) !important;
}

/* 3c. Accueil : Bannière principale */
body.v131-immersive .hero:has(.hero-story-title) {
  background-image: linear-gradient(110deg, rgba(10, 28, 34, 0.68) 0%, rgba(10, 28, 34, 0.42) 52%, rgba(10, 28, 34, 0.22) 100%), url('banner-couple-beach.webp') !important;
}
body.v131-immersive .hero .eyebrow {
  color: #ffe4b5 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65) !important;
}
body.v131-immersive .hero .hero-story-title,
body.v131-immersive .hero .hero-story-title span {
  color: #ffffff !important;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.62) !important;
}
body.v131-immersive .hero .hero-story-title .hero-word-facon {
  color: #ffe0a3 !important;
}

/* 3c-bis. Section « Le souvenir derrière la photo » (.photo-story sur nos-voyages.html et index.html)
   CORRECTION CRITIQUE V633 : La carte .photo-story-card a un fond beige clair (#fffaf0).
   Toute l'écriture est donc en couleur foncée haute lisibilité (#163633 et #263e3b), JAMAIS blanche sur fond beige ! */
.photo-story,
body.v131-immersive .photo-story {
  background: #f3ece1 !important;
  color: #163633 !important;
}
.photo-story .photo-story-card {
  background: #fffaf0 !important;
  border: 1px solid #dfd3c0 !important;
  color: #163633 !important;
}
.photo-story .photo-story-top span,
.photo-story .story-eyebrow {
  color: #8b5635 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}
.photo-story #photoStoryDate {
  color: #465a54 !important;
  font-weight: 700 !important;
}
.photo-story .story-copy h2,
.photo-story #photoStoryHeading {
  color: #163633 !important;
  text-shadow: none !important;
}
.photo-story .story-copy .story-intro,
.photo-story .story-copy p,
.photo-story #storyPanel,
.photo-story #storyPanel p,
.photo-story #storyText {
  color: #243d3a !important;
  text-shadow: none !important;
}
.photo-story .story-tabs button {
  color: #1b3f3a !important;
  background: #f0e6d8 !important;
  border: 1px solid #d4c5b0 !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}
.photo-story .story-tabs button[aria-selected="true"] {
  background: #1f5b50 !important;
  color: #ffffff !important;
  border-color: #1f5b50 !important;
  font-weight: 800 !important;
}
.photo-story .story-cta {
  background: #1f5b50 !important;
  color: #ffffff !important;
  border: 0 !important;
}
.photo-story .story-signature {
  color: #5c4b41 !important;
  text-shadow: none !important;
}
.photo-story .story-print figcaption,
.photo-story .story-print figcaption span {
  color: #2b2522 !important;
  text-shadow: none !important;
}
.photo-story .story-stamp {
  color: #8b5635 !important;
  border-color: #a26d42 !important;
}

/* Fenêtre modale Carnet (.modal-hero) */
.modal-hero .shade {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(10, 22, 24, 0.25) 0%, rgba(10, 22, 24, 0.84) 100%) !important;
}
.modal-hero .modal-title,
.modal-hero .modal-title :where(h2, div, span) {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65) !important;
}

/* 3d. En-têtes éditoriaux sombres (.lme-editorial-hero & .lme-v629-subhero) */
.lme-editorial-hero,
.lme-v629-subhero {
  background: linear-gradient(130deg, #183538 0%, #245052 65%, #59414c 100%) !important;
  color: #ffffff !important;
}
.lme-editorial-hero > :where(h1, h2, h3, p, .lead, .intro),
.lme-v629-subhero :where(h1, h2, h3, p) {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32) !important;
}
.lme-editorial-hero > .eyebrow,
.lme-v629-subhero .eyebrow {
  color: #ffe3b3 !important;
}
.lme-editorial-hero figure figcaption,
.lme-editorial-hero figure figcaption strong {
  color: #1e3331 !important;
  text-shadow: none !important;
}

/* 3e. Bannières sombres des guides & itinéraires (guide-*.html, itineraire-*.html, compagnon-hors-ligne.html) */
section.hero:not(:has(.hero-copy)):not(:has(.hero-story-title)):not(.esim-hero) {
  color: var(--lme-ink, #1e3331);
}
#hawaiiHero,
body:has(.route-photo) section.hero,
body:has(#companionOneClickPresetsV624) section.hero {
  background: linear-gradient(135deg, #15373d 0%, #1f5558 65%, #2a6663 100%) !important;
  color: #ffffff !important;
}
body:has(#companionOneClickPresetsV624) section.hero {
  background: linear-gradient(115deg, rgba(24, 38, 41, 0.84) 0%, rgba(56, 37, 44, 0.76) 100%), url('hero-emilie-andy-plage.webp') center / cover !important;
}
#hawaiiHero :where(h1, h2, h3, p, figcaption),
body:has(.route-photo) section.hero :where(h1, h2, h3, p),
body:has(#companionOneClickPresetsV624) section.hero :where(h1, h2, h3, p, .status) {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38) !important;
}
#hawaiiHero :where(.eyebrow, .kicker),
body:has(.route-photo) section.hero :where(.eyebrow, .kicker) {
  color: #ffe3b3 !important;
}
#hawaiiHero .chips span,
body:has(.route-photo) section.hero .pill {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* 3f. Blocs CTA et résultats à fond sombre vérifiés */
section.cta:not(#hawaiiJourney .cta),
.demo-report,
.esim-wrap .result,
.currency-row ~ .result {
  color: #ffffff !important;
}
section.cta:not(#hawaiiJourney .cta) :where(h1, h2, h3, p, .eyebrow),
.demo-report :where(h1, h2, h3, h4, p, li, span, strong, b, small),
.esim-wrap .result :where(h1, h2, h3, h4, p, li, span, strong, b, small),
.currency-row ~ .result :where(h1, h2, h3, h4, p, li, span, strong, b, small, div) {
  color: #ffffff !important;
}


/* ==========================================================================
   V638 — CARNET D'ARUBA : PHOTOS FIXES L'UNE SOUS L'AUTRE SOUS LA PHOTO DE
   COUVERTURE (SANS MENU DÉROULANT, CADRAGE INTÉGRAL SANS ROGNAGE & ZOOM HD)
   ========================================================================== */

.destination-photo-grid.lme-has-vertical-stack {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

.lme-aruba-vertical-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
}

.lme-aruba-stacked-photo {
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e4d9c8 !important;
  border-radius: 18px !important;
  padding: 10px !important;
  box-shadow: 0 10px 28px rgba(24, 52, 48, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  cursor: zoom-in !important;
  box-sizing: border-box !important;
}

.lme-aruba-stacked-photo.is-cover {
  border: 2px solid #1f5b50 !important;
  background: #fffdf9 !important;
}

/* Override old mobile rule that hid nth-child(n+4) */
.destination-photo-grid .lme-aruba-stacked-photo:nth-child(n+4) {
  display: flex !important;
}

.lme-aruba-stacked-frame {
  width: 100% !important;
  background: #f5efe6 !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Cadrage intégral : chaque photo s'affiche en entier (sans rien couper ni pixeliser) */
.lme-aruba-stacked-frame img {
  width: 100% !important;
  height: auto !important;
  max-height: 76dvh !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 11px !important;
}

.lme-aruba-stacked-photo figcaption {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  padding: 2px 6px !important;
}

.lme-aruba-stacked-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: #1f5b50 !important;
  color: #ffffff !important;
  font: 800 11.5px/1.2 system-ui, -apple-system, sans-serif !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
}

.lme-aruba-stacked-num {
  display: inline-flex !important;
  align-items: center !important;
  background: #eef6f4 !important;
  color: #1f5b50 !important;
  border: 1px solid #cbe2dc !important;
  font: 800 11.5px/1.2 system-ui, -apple-system, sans-serif !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

.lme-aruba-stacked-cap {
  font: 600 13.5px/1.35 system-ui, -apple-system, sans-serif !important;
  color: #243d3a !important;
}

@media (max-width: 640px) {
  .lme-aruba-vertical-stack {
    gap: 14px !important;
  }
  .lme-aruba-stacked-photo {
    padding: 8px !important;
    border-radius: 15px !important;
  }
  .lme-aruba-stacked-cap {
    font-size: 12.5px !important;
  }
}

/* HD Non-Pixelated Lightbox (#lmeArubaHdLightbox) */
#lmeArubaHdLightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(12, 20, 19, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  display: none;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#lmeArubaHdLightbox.is-open {
  display: flex !important;
}

.lme-hd-lb-top {
  width: min(94vw, 860px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
  font: 700 14px/1.3 system-ui, -apple-system, sans-serif !important;
}

.lme-hd-lb-close {
  appearance: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  font: 800 13px/1 system-ui, sans-serif !important;
  cursor: pointer !important;
}

.lme-hd-lb-stage {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: min(96vw, 920px) !important;
  max-height: 78dvh !important;
}

.lme-hd-lb-img-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: min(84vw, 768px) !important;
  max-height: 76dvh !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important;
  background: #101918 !important;
}

.lme-hd-lb-img {
  width: auto !important;
  height: auto !important;
  max-width: min(82vw, 768px) !important;
  max-height: 76dvh !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 14px !important;
}

.lme-hd-lb-nav {
  appearance: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.lme-hd-lb-caption {
  margin-top: 12px !important;
  color: #f3f7f6 !important;
  font: 600 14px/1.4 system-ui, -apple-system, sans-serif !important;
  text-align: center !important;
  max-width: min(90vw, 720px) !important;
}


/* ==========================================================================
   V653 — CORRECTIF ANTI-SUPERPOSITION MOBILE & ORDINATEUR EN BAS À DROITE :
   1. Suppression définitive du doublon #lme-back-to-top (« ↑ Haut ») qui se
      superposait entre le traducteur/devise (.lme-intl) et #backToTop (« ↑ »)
   2. Étagement vertical net et sans chevauchement entre .lme-intl et #backToTop
   3. Dégagement du pied de page (footer) sur mobile pour ne jamais masquer
      le bouton « Accès intranet » ni la mention de droits d’auteur
   ========================================================================== */

#lme-back-to-top,
#travelHelperToggle,
#palmyGuideToggleV446,
.v132-profile-float {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body .lme-intl {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  left: auto !important;
  z-index: 9995 !important;
}

html body .lme-intl > button {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 999px !important;
  border: 1px solid #dccbb7 !important;
  background: #fffaf4 !important;
  color: #20302b !important;
  font: 700 13px/1 system-ui, -apple-system, sans-serif !important;
  box-shadow: 0 8px 24px rgba(20, 42, 39, 0.16) !important;
  white-space: nowrap !important;
}

html body #backToTop {
  position: fixed !important;
  right: 18px !important;
  bottom: 70px !important;
  left: auto !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 50% !important;
  background: #1f5b50 !important;
  color: #ffffff !important;
  font: 800 20px/1 system-ui, -apple-system, sans-serif !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 22px rgba(20, 45, 42, 0.24) !important;
  cursor: pointer !important;
  z-index: 9990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.18s ease !important;
}

html body #backToTop.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

html body #backToTop:hover {
  background: #153f37 !important;
  transform: translateY(-2px) !important;
}

/* Si une page n’a pas le sélecteur .lme-intl, #backToTop se place proprement en bas à droite */
html body:not(:has(.lme-intl)) #backToTop {
  bottom: 20px !important;
}

/* Masquer #backToTop lorsque le panneau de traduction/devise est déployé */
html body:has(.lme-intl.open) #backToTop {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  html body .lme-intl {
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .lme-intl > button {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }

  /* #backToTop placé nettement au-dessus de .lme-intl (12px + 38px + 12px d’écart = 62px) */
  html body #backToTop {
    right: 12px !important;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 18px !important;
  }

  html body:not(:has(.lme-intl)) #backToTop {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body:has(.planner-actions) .lme-intl {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body:has(.planner-actions) #backToTop {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Dégager le bas du pied de page sur mobile pour que les boutons flottants
     ne recouvrent jamais « Accès intranet » ni le texte du pied de page */
  html body > footer,
  html body footer.lme-unified-footer {
    padding-bottom: calc(114px + env(safe-area-inset-bottom, 0px)) !important;
  }
  blockquote .lme-intranet-footer {
    display: none !important;
  }
}

/* ==========================================================================
   V658 — MISE EN PAGE UNIFIÉE DE L’EN-TÊTE ET DU MENU PUBLIC (ZÉRO SUPERPOSITION) :
   1. Grille stricte à 3 colonnes sur ordinateur (Marque | Menu 5 piliers | Bouton ☰)
      et 2 colonnes sous 1020px (Marque | Bouton ☰)
   2. Verrouillage de la largeur du titre « Le Monde Ensemble » (min-width: max-content)
      et du badge Westfalia (34x23px) pour empêcher tout chevauchement
   3. Menu horizontal allégé des doublons (« Accueil » est assuré par le logo/titre
      et figure en 1re ligne du menu ☰) pour un alignement aéré et équilibré
   ========================================================================== */

html body header.lme-unified-header,
html body > header.lme-v657-global-header,
html body > header.top {
  position: sticky !important;
  top: 0 !important;
  z-index: 10020 !important;
  width: 100% !important;
  background: #fffdfa !important;
  border-bottom: 1px solid #e6ddd2 !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 18px rgba(25, 45, 47, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html body header.lme-unified-header .lme-uh-inner,
html body header .wrap.nav,
html body .lme-v657-global-header .lme-v657-header-inner {
  max-width: 1220px !important;
  width: 100% !important;
  min-height: 54px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  align-items: center !important;
  column-gap: clamp(14px, 2vw, 26px) !important;
  row-gap: 0 !important;
  overflow: visible !important;
}

html body header a.brand,
html body header.lme-unified-header .lme-uh-brand,
html body header a.page-brand,
html body header a.story-page-brand,
html body .lme-v657-global-header .lme-v657-brand {
  grid-column: 1 !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  color: #193c39 !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 2 !important;
}

html body header a.brand img.logo,
html body header.lme-unified-header .lme-uh-brand img.logo,
html body header a.page-brand img.logo,
html body .lme-v657-global-header .lme-v657-brand img.logo {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex: 0 0 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body header a.brand .lme-brand-title,
html body header a.brand > div,
html body header a.brand b,
html body header a.brand strong,
html body header.lme-unified-header .lme-uh-brand .lme-brand-title,
html body header.lme-unified-header .lme-uh-brand b,
html body header.lme-unified-header .lme-uh-brand strong,
html body .lme-v657-global-header .lme-v657-brand strong {
  display: inline-block !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  color: #193c39 !important;
  font: 800 clamp(0.98rem, 1.35vw, 1.1rem)/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

html body header a.brand img.westfalia-nav-mark,
html body header.lme-unified-header .lme-uh-brand img.westfalia-nav-mark,
html body header a.page-brand img.westfalia-nav-mark,
html body .lme-v657-global-header .lme-v657-brand img.westfalia-nav-mark {
  display: inline-block !important;
  width: 34px !important;
  height: 23px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 23px !important;
  max-height: 23px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  flex: 0 0 34px !important;
  margin: 0 0 0 2px !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  vertical-align: middle !important;
}

html body header nav.links.lme-uh-nav,
html body header.lme-unified-header .lme-uh-nav,
html body .lme-v657-global-header .lme-v657-primary {
  grid-column: 2 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: clamp(4px, 0.7vw, 10px) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

html body header nav.links.lme-uh-nav a,
html body header.lme-unified-header .lme-uh-nav a,
html body .lme-v657-global-header .lme-v657-primary a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: #193c39 !important;
  text-decoration: none !important;
  font: 700 0.86rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background 0.16s ease, color 0.16s ease !important;
}

html body header nav.links.lme-uh-nav a:hover,
html body header nav.links.lme-uh-nav a[aria-current="page"],
html body .lme-v657-global-header .lme-v657-primary a:hover,
html body .lme-v657-global-header .lme-v657-primary a[aria-current="page"] {
  background: #eaf4f0 !important;
  color: #1f5b50 !important;
  border-bottom: 0 !important;
}

html body header nav.links.lme-uh-nav a.lme-primary-cta,
html body .lme-v657-global-header .lme-v657-primary a.lme-primary-cta {
  background: #1f5b50 !important;
  color: #ffffff !important;
  padding: 8px 14px !important;
  font-weight: 800 !important;
  border: 1px solid #1f5b50 !important;
  margin-left: 2px !important;
}

html body header nav.links.lme-uh-nav a.lme-primary-cta:hover,
html body .lme-v657-global-header .lme-v657-primary a.lme-primary-cta:hover {
  background: #15423a !important;
  color: #ffffff !important;
}

html body header .secondary-menu-wrap,
html body .lme-v657-global-header .lme-v657-menu-wrap {
  grid-column: 3 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  justify-self: end !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10030 !important;
  overflow: visible !important;
}

html body header .hamburger-btn,
html body .lme-v657-global-header .lme-v657-hamburger {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1.5px solid #1f5b50 !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(25, 60, 57, 0.1) !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10035 !important;
}

html body header .hamburger-btn span,
html body .lme-v657-global-header .lme-v657-hamburger span {
  display: block !important;
  width: 20px !important;
  height: 2.3px !important;
  min-height: 2.3px !important;
  border-radius: 99px !important;
  background: #1f5b50 !important;
  transition: transform 0.22s ease, opacity 0.18s ease !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

html body header .hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.3px) rotate(45deg) !important;
}
html body header .hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}
html body header .hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.3px) rotate(-45deg) !important;
}

/* Panneau déroulant du menu 3 barres (☰) */
html body header .secondary-menu,
html body .lme-v657-global-header .lme-v657-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(355px, calc(100vw - 24px)) !important;
  max-height: min(80dvh, calc(100vh - 88px)) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 12px !important;
  background: #fffdfa !important;
  border: 1px solid #d8ccbe !important;
  border-radius: 20px !important;
  box-shadow: 0 22px 55px rgba(22, 45, 42, 0.24) !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 12050 !important;
  text-align: left !important;
}

html body header .secondary-menu.open,
html body header .secondary-menu[data-menu-open="true"],
html body .lme-v657-global-header .lme-v657-menu.open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 920px) {
  html body header.lme-unified-header,
  html body > header.lme-v657-global-header {
    padding: 9px 14px !important;
  }

  html body header.lme-unified-header .lme-uh-inner,
  html body header .wrap.nav,
  html body .lme-v657-global-header .lme-v657-header-inner {
    grid-template-columns: max-content 1fr !important;
    min-height: 50px !important;
  }

  html body header nav.links.lme-uh-nav,
  html body header.lme-unified-header .lme-uh-nav,
  html body .lme-v657-global-header .lme-v657-primary,
  html body header .links:not(.secondary-menu) {
    display: none !important;
  }

  html body header .secondary-menu-wrap,
  html body .lme-v657-global-header .lme-v657-menu-wrap {
    grid-column: 2 !important;
    justify-self: end !important;
    margin-left: auto !important;
  }
}

@media (max-width: 390px) {
  html body header a.brand,
  html body header.lme-unified-header .lme-uh-brand {
    gap: 7px !important;
  }
  html body header a.brand img.logo,
  html body header.lme-unified-header .lme-uh-brand img.logo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    flex-basis: 36px !important;
  }
  html body header a.brand .lme-brand-title,
  html body header a.brand b,
  html body header.lme-unified-header .lme-uh-brand b {
    font-size: 0.94rem !important;
  }
  html body header a.brand img.westfalia-nav-mark,
  html body header.lme-unified-header .lme-uh-brand img.westfalia-nav-mark {
    width: 28px !important;
    height: 19px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    flex-basis: 28px !important;
  }
}

/* V727 — Verrouillage anti-superposition en-tête (MacBook / Safari / toutes largeurs) */
html body header.lme-unified-header .lme-uh-inner,
html body header .wrap.nav,
html body .lme-v657-global-header .lme-v657-header-inner {
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  column-gap: clamp(12px, 1.6vw, 24px) !important;
}
html body header a.brand,
html body header.lme-unified-header .lme-uh-brand,
html body .lme-v657-global-header .lme-v657-brand {
  position: relative !important;
  z-index: 3 !important;
  flex-shrink: 0 !important;
  gap: 9px !important;
}
html body header nav.links.lme-uh-nav,
html body header.lme-unified-header .lme-uh-nav,
html body .lme-v657-global-header .lme-v657-primary {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: clamp(3px, 0.45vw, 8px) !important;
  overflow: hidden !important;
}
html body header nav.links.lme-uh-nav a,
html body header.lme-unified-header .lme-uh-nav a,
html body .lme-v657-global-header .lme-v657-primary a {
  padding: 7px 9px !important;
  font-size: clamp(0.79rem, 0.92vw, 0.85rem) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
@media (max-width: 920px) {
  html body header.lme-unified-header .lme-uh-inner,
  html body header .wrap.nav,
  html body .lme-v657-global-header .lme-v657-header-inner {
    grid-template-columns: max-content 1fr !important;
  }
  html body header nav.links.lme-uh-nav,
  html body header.lme-unified-header .lme-uh-nav,
  html body .lme-v657-global-header .lme-v657-primary,
  html body header .links:not(.secondary-menu) {
    display: none !important;
  }
  html body header .secondary-menu-wrap,
  html body .lme-v657-global-header .lme-v657-menu-wrap {
    grid-column: 2 !important;
    justify-self: end !important;
  }
}

/* V769 — Anti-superposition des éléments flottants sur pages publiques */
@media (max-width: 600px) {
  html body .lme-intl {
    right: 10px !important;
    bottom: 10px !important;
    z-index: 9995 !important;
  }
  html body #backToTop {
    right: 12px !important;
    bottom: 66px !important;
    z-index: 9994 !important;
  }
  html body .v132-profile-float {
    left: 10px !important;
    right: auto !important;
    bottom: 10px !important;
    max-width: calc(100vw - 175px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    z-index: 9996 !important;
  }
  html body #travelHelperToggle.travel-helper-toggle {
    right: 12px !important;
    bottom: 122px !important;
    z-index: 9993 !important;
  }
}

/* V770 — Bouton de partage natif discret */
.lme-share-pill-v770 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(31, 91, 80, 0.28);
  background: #ffffff;
  color: #1f5b50;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.lme-share-pill-v770:hover {
  background: #1f5b50;
  color: #ffffff;
  transform: translateY(-1px);
}

/* V773 — Allègement de lecture : barre de saut rapide, accordéon mobile & cartes boutique concises */
.lme-jump-bar-v773 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1040px;
  margin: 14px auto 18px;
  padding: 0 18px;
}
.lme-jump-bar-v773 a,
.lme-jump-bar-v773 button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 91, 80, 0.24);
  background: #ffffff;
  color: #1f5b50;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.lme-jump-bar-v773 a:hover,
.lme-jump-bar-v773 button:hover {
  background: #eef6f3;
}
.lme-days-toggle-all-v773 {
  display: none;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 91, 80, 0.28);
  background: #ffffff;
  color: #1f5b50;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 768px) {
  .lme-days-toggle-all-v773 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .days .day.is-collapsed-v773 .day-content > *:not(h3):not(.day-labels) {
    display: none !important;
  }
  .days .day.is-collapsed-v773 {
    cursor: pointer;
    padding-bottom: 12px;
  }
  .days .day h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .days .day h3::after {
    content: "▾";
    font-size: 14px;
    color: #9d543f;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }
  .days .day:not(.is-collapsed-v773) h3::after {
    transform: rotate(180deg);
  }
}
.shop-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lme-comp-toggle-wrap-v773 {
  text-align: center;
  margin: 18px auto 26px;
}
.lme-comp-toggle-btn-v773 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid #1f5b50;
  background: #ffffff;
  color: #1f5b50;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.lme-comp-toggle-btn-v773:hover {
  background: #1f5b50;
  color: #ffffff;
}

/* V816 — Cohérence globale des boutons sur toutes les pages publiques */
.btn, .shop-btn, .lme-ebook-btn-preview, .lme-ebook-btn-go, .lme-ebook-btn-cart-v789, .lme-bp-btn-primary, .lme-bp-btn-sec {
  min-height: 40px;
  box-sizing: border-box;
  touch-action: manipulation;
}
