/* ============================================================================
   LE MONDE ENSEMBLE — SYSTÈME D'ARCHITECTURE ÉDITORIALE UNIFIÉE V695
   Inspirations :
   1. Accueil (Kudanil Luxury Travel Hero + Sélecteur Saisonnier « Où partir ce mois-ci ? »)
   2. Destinations (Bibliothèque visuelle épurée type Seth McClain / Amalfi Coast)
   3. Carnets (Reportages personnels généreux en photographies type Mezzanine / SLH)
   4. Bons plans (Occasions contextualisées & recherches multiplateformes type Valamar)
   5. À propos (Récit fondateur d'Émilie & Andy, manifeste & contact direct)
   ============================================================================ */

:root {
  --lme695-paper: #FAF7F2;
  --lme695-card: #FFFDFA;
  --lme695-ink: #132A26;
  --lme695-muted: #526661;
  --lme695-forest: #1A4D43;
  --lme695-forest-dark: #0F2D27;
  --lme695-gold: #C89D54;
  --lme695-gold-soft: #F5EBD6;
  --lme695-line: rgba(19, 42, 38, 0.12);
  --lme695-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --lme695-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 1. BARRE DE NAVIGATION ÉDITORIALE 5 PILIERS (SOBRE, LUXUEUSE & RECONNUE) */
header.lme-unified-header,
header.lme-v657-global-header {
  background: rgba(250, 247, 242, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lme695-line) !important;
  position: sticky !important;
  top: 0;
  z-index: 95;
}

.lme-uh-nav a,
.lme-v657-primary a {
  font-family: var(--lme695-sans);
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.02em;
  color: var(--lme695-ink) !important;
  padding: 8px 13px !important;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.lme-uh-nav a:hover,
.lme-v657-primary a:hover,
.lme-uh-nav a[aria-current="page"],
.lme-v657-primary a[aria-current="page"] {
  background: rgba(26, 77, 67, 0.08);
  color: var(--lme695-forest) !important;
}

.lme-uh-nav a.lme-primary-cta,
.lme-v657-primary a.lme-primary-cta {
  background: var(--lme695-forest) !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  font-weight: 750 !important;
  box-shadow: 0 6px 18px rgba(15, 45, 39, 0.16);
}

.lme-uh-nav a.lme-primary-cta:hover,
.lme-v657-primary a.lme-primary-cta:hover {
  background: var(--lme695-forest-dark) !important;
  color: #ffffff !important;
}

/* 2. PILIER 1 : HERO ÉDITORIAL IMMERSIF (ESPRIT KUDANIL LUXURY TRAVEL) */
.lme695-kudanil-hero {
  position: relative;
  max-width: 1240px;
  margin: 18px auto 36px;
  min-height: clamp(460px, 68vh, 660px);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(68px, 8vw, 86px) clamp(24px, 5vw, 64px) clamp(28px, 5vw, 56px);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 45, 39, 0.18);
  background: #0F2D27;
}

.lme695-kudanil-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 1;
  transform: scale(1.01);
  transition: transform 8s ease;
}

.lme695-kudanil-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 28, 24, 0.14) 0%, rgba(11, 28, 24, 0.36) 52%, rgba(11, 28, 24, 0.68) 100%);
  z-index: 2;
}

.lme695-kudanil-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lme695-kudanil-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7e6c4;
  margin-bottom: 16px;
}

.lme695-kudanil-title {
  font-family: var(--lme695-serif);
  font-size: clamp(1.45rem, 3.1vw, 2.55rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
}

.lme695-kudanil-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 64ch;
  margin: 0 auto 26px;
  text-align: center;
}

.lme695-kudanil-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

.lme695-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #e6b86a;
  color: #102b25 !important;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lme695-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(230, 184, 106, 0.35);
}

.lme695-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff !important;
  font-weight: 750;
  font-size: 0.94rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.lme695-btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lme695-kudanil-pillars-strip {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.lme695-kudanil-pillar-item {
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 45, 39, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.18s ease, transform 0.18s ease;
}

.lme695-kudanil-pillar-item:hover {
  background: rgba(15, 45, 39, 0.78);
  transform: translateY(-2px);
}

.lme695-kudanil-pillar-item small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e6b86a;
  font-weight: 800;
  margin-bottom: 2px;
}

.lme695-kudanil-pillar-item strong {
  display: block;
  font-size: 0.94rem;
  color: #ffffff;
}

/* 3. MODULE SAISONNIER « OÙ PARTIR CE MOIS-CI ? » (SÉLECTION ENSOLEILLÉE PAR PÉRIODE) */
.lme695-seasonal-curator {
  max-width: 1180px;
  margin: 0 auto 42px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--lme695-card);
  border: 1px solid var(--lme695-line);
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(19, 42, 38, 0.05);
}

.lme695-seasonal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.lme695-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lme695-forest);
  margin-bottom: 6px;
}

.lme695-section-title {
  font-family: var(--lme695-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  color: var(--lme695-ink);
  margin: 0 0 6px;
}

.lme695-seasonal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.lme695-season-btn {
  appearance: none;
  border: 1px solid var(--lme695-line);
  background: #ffffff;
  color: var(--lme695-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.16s ease;
}

.lme695-season-btn:hover {
  border-color: var(--lme695-forest);
  background: #f4f9f7;
}

.lme695-season-btn.active {
  background: var(--lme695-forest);
  color: #ffffff;
  border-color: var(--lme695-forest);
}

.lme695-seasonal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.lme695-seasonal-card {
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 260px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--lme695-line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 920px) {
  .lme695-seasonal-card {
    flex: 0 1 calc((100% - 18px) / 2);
  }
}

@media (max-width: 600px) {
  .lme695-seasonal-card {
    flex: 1 1 100%;
    min-width: 0;
  }
}

.lme695-seasonal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 42, 38, 0.10);
}

.lme695-seasonal-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e4dc;
}

.lme695-seasonal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lme695-seasonal-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 45, 39, 0.86);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
}

.lme695-seasonal-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lme695-seasonal-body h3 {
  font-family: var(--lme695-serif);
  font-size: 1.25rem;
  color: var(--lme695-ink);
  margin: 0 0 6px;
}

.lme695-seasonal-body p {
  font-size: 0.9rem;
  color: var(--lme695-muted);
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}

.lme695-seasonal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--lme695-line);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--lme695-forest);
}

/* 4. PARCOURS VISITEUR EN 4 TEMPS (INSPIRATION → DÉCOUVERTE → PRÉPARATION → ACCOMPAGNEMENT) */
.lme695-journey-stepper {
  max-width: 1180px;
  margin: 38px auto;
  padding: clamp(24px, 3.6vw, 36px);
  background: linear-gradient(145deg, #122F2A 0%, #1B4E44 100%);
  color: #ffffff;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(15, 45, 39, 0.14);
}

.lme695-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.lme695-journey-step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.lme695-journey-step-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.lme695-journey-step-num {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e6b86a;
  margin-bottom: 6px;
}

.lme695-journey-step-card h3 {
  font-family: var(--lme695-serif);
  font-size: 1.18rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.lme695-journey-step-card p {
  font-size: 0.85rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 12px;
}

.lme695-journey-step-cta {
  font-size: 0.82rem;
  font-weight: 800;
  color: #e6b86a;
}

/* 5. PILIER 2 & 3 : CARTES DESTINATIONS & CARNETS PHOTOGRAPHIQUES (ESPRIT SETH MCCLAIN / MEZZANINE) */
.destination-grid .dest {
  border-radius: 22px !important;
  border: 1px solid var(--lme695-line) !important;
  background: #ffffff !important;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.destination-grid .dest:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px rgba(19, 42, 38, 0.11) !important;
}

.destination-grid .dest h3 {
  font-family: var(--lme695-serif) !important;
  font-size: 1.32rem !important;
  letter-spacing: -0.01em;
}


/* === V710 : Épuration Page d’Accueil (5 Sections d’Exception) & Fin de Carnets Allégée === */
body.lme-v710-clean-home #a-chacun-son-voyage,
body.lme-v710-clean-home #preparer-voyage,
body.lme-v710-clean-home #destinations,
body.lme-v710-clean-home #lmeV693DestinationComparator,
body.lme-v710-clean-home .scenery-section,
body.lme-v710-clean-home #voyage {
  display: none !important;
}

body.lme-v710-clean-home #apropos,
body.lme-v710-clean-home #carte-monde,
body.lme-v710-clean-home #infolettre {
  margin-top: 32px;
  margin-bottom: 32px;
}

/* Fin des carnets d’itinéraires : plus compacte et respirante */
#lmeV685StandaloneLeadMagnet,
#lmeV686PartnerLinksBox,
#lmeV694SignatureWrapper,
#lme-v689-topic-cluster {
  max-width: 920px !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

#lmeV686PartnerLinksBox {
  background: #FAF7F2 !important;
  border: 1px solid rgba(19, 42, 38, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 20px 22px !important;
}

#lmeV685StandaloneLeadMagnet {
  border-radius: 18px !important;
  padding: 22px 24px !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;
  }
}


/* V829 — Uniformisation éditoriale centrée sur toutes les pages publiques */
.lme-editorial-hero,
.lme-editorial-hero-inner,
.xp-hero,
.xp-hero .xp-wrap,
.shop-hero,
.shop-hero-inner,
main > .hero .copy,
main > section.hero .copy {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.lme-editorial-hero h1,
.lme-editorial-hero p,
.xp-hero h1,
.xp-hero p,
.shop-hero h1,
.shop-hero p,
main > .hero .copy h1,
main > .hero .copy p,
main > section.hero .copy h1,
main > section.hero .copy p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.lme-editorial-hero .actions,
.lme-editorial-hero .cta-row,
.lme-editorial-hero .lme-hero-actions,
.xp-hero .xp-actions,
.xp-hero .actions,
.shop-hero .shop-actions,
.shop-hero .shop-hero-actions,
.lme-nv-stats-row,
.lme-nv-actions,
main > .hero .actions,
main > section.hero .actions {
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* V832 — Uniformisation des cartes destinations (3 lignes max) */
.dest-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.2em}

/* V836 — Punaises rouges & numérotation 1 à 18 sur la carte interactive */
#professionalWorldMap .geo-pin .pin-dot {
  background: radial-gradient(circle at 32% 30%, #ff7a70 0%, #dc2626 55%, #991b1b 100%) !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 3px 8px rgba(153, 27, 27, 0.45) !important;
  width: 12px !important;
  height: 12px !important;
}
#professionalWorldMap .geo-pin .pin-num-v836 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  margin-left: 2px;
  border-radius: 999px;
  background: #ffffff;
  color: #991b1b;
  border: 1.5px solid #dc2626;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}
#professionalWorldMap .map-cluster-v439 {
  background: #dc2626 !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-size: 10px !important;
  min-width: 24px !important;
  width: auto !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
}

/* V838 — Ancrage précis de chaque punaise rouge sur ses coordonnées exactes */
#professionalWorldMap .geo-pin {
  transform: translate(-6px, -50%) !important;
  gap: 0 !important;
}
#professionalWorldMap .geo-pin .pin-label {
  margin-left: 4px;
}

/* V840 — Harmonie visuelle complète de la carte interactive (#carte-monde) */
#professionalWorldMap {
  background: radial-gradient(circle at 50% 45%, #e6f3f2 0%, #cce3e4 100%) !important;
  border: 1.5px solid #d9cbb8 !important;
  border-radius: 18px !important;
}
#professionalWorldMap .country {
  fill: #efe6d8 !important;
  stroke: #fffaf3 !important;
  stroke-width: 0.9 !important;
  transition: fill 0.2s ease;
}
#professionalWorldMap .country.visited {
  fill: #1f5b50 !important;
}
#professionalWorldMap .country.upcoming {
  fill: #d4aa6a !important;
}
#professionalWorldMap .geo-pin:hover,
#professionalWorldMap .geo-pin:focus-visible,
#professionalWorldMap .geo-pin.active {
  z-index: 25 !important;
}
#professionalWorldMap .geo-pin .pin-label {
  opacity: 0;
  pointer-events: none;
  background: #173734;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(23, 55, 52, 0.26);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
#professionalWorldMap .geo-pin:hover .pin-label,
#professionalWorldMap .geo-pin:focus-visible .pin-label,
#professionalWorldMap .geo-pin.active .pin-label {
  opacity: 1 !important;
}
#professionalWorldMap .geo-pin.active .pin-dot {
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.28), 0 3px 10px rgba(153, 27, 27, 0.5) !important;
  transform: scale(1.2);
}
#professionalWorldMap .map-toolbar button {
  background: rgba(255, 250, 243, 0.94) !important;
  border: 1px solid #d9cbb8 !important;
  color: #173734 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(23, 55, 52, 0.12) !important;
}
#professionalWorldMap .map-toolbar button:hover {
  background: #173734 !important;
  color: #ffffff !important;
}
.lme-map-legend-v840 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 6px;
  margin: 12px 0 6px;
  padding: 12px;
  background: #fffaf3;
  border: 1px solid #e4dacd;
  border-radius: 14px;
}
.lme-map-legend-btn-v840 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid #e4dacd;
  background: #ffffff;
  color: #173734;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.lme-map-legend-btn-v840:hover {
  background: #f2f8f5;
  border-color: #1f5b50;
  transform: translateY(-1px);
}
.lme-map-legend-num-v840 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.lme-map-legend-btn-v840.is-upcoming .lme-map-legend-num-v840 {
  background: #c86d44;
}
