/* ==========================================================================
   LE MONDE ENSEMBLE — V735 EXPÉRIENCE ÉDITORIALE MAGAZINE (26 CARNETS)
   Flux progressif : Intro immersive -> L'essentiel -> Itinéraire ->
   Coups de cœur -> Conseils dépliables -> Galerie -> Pour aller plus loin
   ========================================================================== */

body.lme-v735-mag main#contenu {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

/* 1. Introduction immersive avec photo plein cadre */
body.lme-v735-mag .hero.lme735-hero-enhanced {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 46vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 26px;
  background-color: #153b40;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(18, 45, 48, 0.18);
}

body.lme-v735-mag .hero.lme735-hero-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 38, 41, 0.25) 0%,
    rgba(14, 38, 41, 0.56) 52%,
    rgba(12, 33, 36, 0.88) 100%
  );
  z-index: 1;
}

body.lme-v735-mag .hero.lme735-hero-enhanced > * {
  position: relative;
  z-index: 2;
}

body.lme-v735-mag .hero.lme735-hero-enhanced h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.4vw, 3.85rem);
  line-height: 1.06;
  margin: 8px 0 12px;
  color: #ffffff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

body.lme-v735-mag .hero.lme735-hero-enhanced p {
  max-width: 62ch;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: rgba(248, 252, 250, 0.94);
  margin: 0;
}


body.lme-v735-mag .hero.lme735-hero-enhanced .hero-image { display: none !important; }
body.lme-v735-mag .hero.lme735-hero-enhanced .hero-copy { margin: 0; padding: 0; max-width: 64ch; }

body.lme-v735-mag .hero.lme735-hero-enhanced .pills {
  display: none;
}

/* 2. Navigation discrète (sommaire sticky) */
.lme735-toc {
  position: sticky;
  top: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 18px 0 24px;
  padding: 9px 12px;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(31, 91, 80, 0.14);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(21, 59, 64, 0.06);
}
.lme735-toc::-webkit-scrollbar { display: none; }

.lme735-toc a {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #3a5450;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.lme735-toc a:hover,
.lme735-toc a.is-active {
  background: #1f5b50;
  color: #ffffff;
}

/* 3. L'essentiel du voyage */
.lme735-essentials {
  background: #fffdfa;
  border: 1px solid #e6ded3;
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
  margin: 0 0 28px;
  box-shadow: 0 10px 26px rgba(21, 59, 64, 0.04);
}
.lme735-section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f5b50;
  margin-bottom: 6px;
}
.lme735-essentials h2,
.lme735-highlights h2,
.lme735-practical h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.5vw, 1.88rem);
  line-height: 1.18;
  color: #153b40;
  margin: 0 0 14px;
}
.lme735-essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.lme735-ess-card {
  background: #f6f9f7;
  border: 1px solid rgba(31, 91, 80, 0.12);
  border-radius: 14px;
  padding: 13px 14px;
}
.lme735-ess-card small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5b716c;
  margin-bottom: 4px;
}
.lme735-ess-card strong {
  display: block;
  font-size: 0.94rem;
  color: #153b40;
  line-height: 1.35;
}
.lme735-route-summary {
  font-size: 0.94rem;
  color: #27676a;
  font-weight: 650;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid #ece4d9;
  line-height: 1.55;
}

/* 4. Itinéraire jour par jour épuré */
body.lme-v735-mag .days .day {
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid #e6ded3;
  box-shadow: 0 4px 16px rgba(21, 59, 64, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
body.lme-v735-mag .days .day:hover {
  border-color: rgba(31, 91, 80, 0.35);
  box-shadow: 0 10px 24px rgba(21, 59, 64, 0.06);
}
body.lme-v735-mag .days .day p {
  font-size: 0.95rem;
  line-height: 1.62;
  color: #465a57;
}

/* 5. Nos coups de cœur */
.lme735-highlights {
  margin: 34px 0 28px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(145deg, #fffdfa 0%, #f5f9f6 100%);
  border: 1px solid rgba(31, 91, 80, 0.16);
  border-radius: 22px;
}
.lme735-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lme735-hl-card {
  background: #ffffff;
  border: 1px solid #e6ded3;
  border-radius: 16px;
  padding: 16px;
}
.lme735-hl-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #153b40;
  margin-bottom: 6px;
}
.lme735-hl-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4f635f;
}

/* 6. Conseils pratiques (accordéons discrets) */
.lme735-practical {
  margin: 30px 0 34px;
}
.lme735-accordion-list {
  display: grid;
  gap: 10px;
}
details.lme735-accordion {
  background: #ffffff;
  border: 1px solid #e4dacd;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
details.lme735-accordion[open] {
  border-color: rgba(31, 91, 80, 0.35);
  box-shadow: 0 8px 22px rgba(21, 59, 64, 0.06);
}
details.lme735-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #153b40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details.lme735-accordion > summary::-webkit-details-marker { display: none; }
details.lme735-accordion > summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: #1f5b50;
  transition: transform 0.18s ease;
}
details.lme735-accordion[open] > summary::after {
  content: "−";
}
.lme735-accordion-body {
  padding: 0 20px 18px;
  color: #465a57;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Masquer les anciens blocs redondants une fois réorganisés */
body.lme-v735-mag .lme735-hidden-redundant {
  display: none !important;
}

/* 7. Galerie photos plus aérée */
body.lme-v735-mag .route-photo.lme-aruba-itinerary-photo-box {
  margin: 36px 0 28px;
}

@media (max-width: 820px) {
  .lme735-essentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lme735-highlights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.lme-v735-mag main#contenu { padding: 16px 14px 48px; }
  .lme735-toc { top: 62px; padding: 7px 10px; }
  .lme735-essentials-grid { grid-template-columns: 1fr; }
}
