/* ═══════════════════════════════════════════════════════════
   DESTINATION PLUGIN - FRONTEND CSS
   Style premium voyage/luxe inspiré Aman Resorts / Four Seasons
═══════════════════════════════════════════════════════════ */

:root {
  --dest-gold:       #B8973A;
  --dest-gold-light: #D4B96A;
  --dest-gold-pale:  #F0E6C8;
  --dest-white:      #FFFFFF;
  --dest-off-white:  #FAFAF8;
  --dest-ink:        #1C1B18;
  --dest-ink-mid:    #4A4840;
  --dest-ink-muted:  #9A9690;
  --dest-red:        #B8121A;
  --dest-serif:      'Cormorant Garamond', Georgia, serif;
  --dest-sans:       'Inter', -apple-system, sans-serif;
  --dest-expo:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════════════
   GRILLE DE CARTES (shortcode [destinations])
═══════════════════════════════════════════════════════════ */

.destination-grid {
  display: grid;
  gap: 32px;
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 40px;
  font-family: var(--dest-sans);
}

.destination-cols-1 { grid-template-columns: 1fr; }
.destination-cols-2 { grid-template-columns: repeat(2, 1fr); }
.destination-cols-3 { grid-template-columns: repeat(3, 1fr); }
.destination-cols-4 { grid-template-columns: repeat(4, 1fr); }

.destination-card {
  background: var(--dest-white);
  border: 1px solid rgba(28, 27, 24, 0.08);
  overflow: hidden;
  transition: transform 0.5s var(--dest-expo),
              box-shadow 0.5s var(--dest-expo),
              border-color 0.4s ease;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(28, 27, 24, 0.1);
  border-color: rgba(184, 151, 58, 0.3);
}

.destination-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.destination-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--dest-off-white);
}

.destination-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--dest-expo);
}

.destination-card:hover .destination-card-image img {
  transform: scale(1.05);
}

.destination-card-type {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dest-ink);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.destination-card-body {
  padding: 28px 28px 24px;
}

.destination-card-location {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dest-gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.destination-card-title {
  font-family: var(--dest-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--dest-ink);
  margin: 0 0 8px;
  transition: color 0.3s ease;
}

.destination-card:hover .destination-card-title {
  color: var(--dest-gold);
}

.destination-card-stars {
  font-size: 13px;
  color: var(--dest-gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.destination-palace {
  font-family: var(--dest-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--dest-gold);
}

.destination-card-subtitle {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dest-ink-mid);
  margin: 0 0 20px;
}

.destination-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(28, 27, 24, 0.08);
  padding-top: 16px;
  margin-top: 16px;
}

.destination-card-price small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dest-ink-muted);
  margin-bottom: 2px;
}

.destination-card-price strong {
  font-family: var(--dest-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--dest-ink);
}

.destination-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dest-ink);
  font-weight: 500;
  transition: color 0.3s ease, gap 0.3s ease;
}

.destination-card:hover .destination-card-cta {
  color: var(--dest-gold);
  gap: 12px;
}

@media (max-width: 1024px) {
  .destination-cols-3,
  .destination-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .destination-grid {
    grid-template-columns: 1fr !important;
    padding: 0 20px;
    gap: 24px;
  }
  .destination-card-image { height: 220px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE DESTINATION INDIVIDUELLE
═══════════════════════════════════════════════════════════ */

.destination-single {
  font-family: var(--dest-sans);
  color: var(--dest-ink);
  background: var(--dest-white);
}

.dest-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.dest-two-cols {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.dest-section-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dest-gold);
  margin-bottom: 16px;
}

.dest-section-title {
  font-family: var(--dest-serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--dest-ink);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

.dest-section-title em {
  font-style: italic;
  color: var(--dest-gold);
}

/* ─── HERO ─────────────────────────────────────────── */
.dest-hero {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 12%;
  margin-bottom: 0;
}

.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

.dest-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--dest-white);
}

.dest-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
}

.dest-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dest-breadcrumb a:hover {
  color: var(--dest-gold-light);
}

.dest-breadcrumb .sep {
  margin: 0 12px;
  opacity: 0.5;
}

.dest-breadcrumb .current {
  color: var(--dest-gold-light);
}

.dest-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dest-gold-light);
  margin-bottom: 24px;
  padding-left: 60px;
  position: relative;
}

.dest-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 45px;
  height: 1px;
  background: var(--dest-gold-light);
}

.dest-title {
  font-family: var(--dest-serif);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--dest-white);
}

.dest-subtitle {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
}

.dest-stars {
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--dest-gold-light);
}

.dest-palace {
  font-family: var(--dest-serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--dest-gold-light);
}

.dest-scroll-indicator {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.dest-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--dest-gold-light), transparent);
  animation: dest-pulse 2.5s ease-in-out infinite;
}

@keyframes dest-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ─── INFOS CLÉS ───────────────────────────────────── */
.dest-key-info {
  background: var(--dest-off-white);
  padding: 50px 0;
  border-bottom: 1px solid rgba(184, 151, 58, 0.15);
}

.dest-key-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  align-items: center;
}

.dest-key-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(184, 151, 58, 0.15);
}

.dest-key-item:last-child {
  border-right: none;
}

.dest-key-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dest-ink-muted);
  margin-bottom: 8px;
}

.dest-key-value {
  display: block;
  font-family: var(--dest-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--dest-ink);
}

/* ─── DESCRIPTION ──────────────────────────────────── */
.dest-description,
.dest-highlights,
.dest-gallery,
.dest-video,
.dest-itinerary,
.dest-included,
.dest-tips,
.dest-children {
  padding: 100px 0;
}

.dest-rich-content {
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--dest-ink-mid);
}

.dest-rich-content p {
  margin: 0 0 1.5em;
}

.dest-why-box {
  margin-top: 40px;
  padding: 32px;
  background: var(--dest-off-white);
  border-left: 3px solid var(--dest-gold);
}

.dest-why-box h3 {
  font-family: var(--dest-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--dest-ink);
  margin: 0 0 16px;
}

.dest-why-box p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dest-ink-mid);
  margin: 0;
}

/* ─── POINTS FORTS ─────────────────────────────────── */
.dest-highlights {
  background: var(--dest-off-white);
}

.dest-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.dest-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--dest-white);
  border: 1px solid rgba(184, 151, 58, 0.15);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dest-ink-mid);
  font-weight: 300;
}

.dest-highlight-icon {
  color: var(--dest-gold);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

/* ─── GALERIE ──────────────────────────────────────── */
.dest-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 60px;
}

.dest-gallery-item {
  display: block;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.dest-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--dest-expo);
}

.dest-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .dest-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-gallery-item { height: 220px; }
}

/* ─── VIDÉO ────────────────────────────────────────── */
.dest-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-top: 60px;
  background: #000;
}

.dest-video-wrapper iframe,
.dest-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── ITINÉRAIRE (ACCORDÉON) ──────────────────────── */
.dest-itinerary {
  background: var(--dest-off-white);
}

.dest-itinerary-list {
  margin-top: 60px;
}

.dest-day {
  background: var(--dest-white);
  border: 1px solid rgba(28, 27, 24, 0.08);
  margin-bottom: 12px;
  transition: border-color 0.4s ease;
}

.dest-day.active {
  border-color: var(--dest-gold);
}

.dest-day-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 32px;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-family: var(--dest-sans);
  transition: background 0.3s ease;
}

.dest-day-toggle:hover {
  background: var(--dest-off-white);
}

.dest-day-number {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dest-gold);
  font-weight: 500;
  white-space: nowrap;
}

.dest-day-title {
  font-family: var(--dest-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--dest-ink);
  line-height: 1.2;
}

.dest-day-intro {
  display: block;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dest-ink-muted);
  margin-top: 6px;
}

.dest-day-arrow {
  font-size: 20px;
  color: var(--dest-gold);
  transition: transform 0.4s var(--dest-expo);
  line-height: 1;
}

.dest-day.active .dest-day-arrow {
  transform: rotate(180deg);
}

.dest-day-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--dest-expo);
}

.dest-day.active .dest-day-content {
  max-height: 1500px;
}

.dest-day-content > div,
.dest-day-content > p {
  padding: 0 32px 32px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dest-ink-mid);
}

@media (max-width: 768px) {
  .dest-day-toggle {
    grid-template-columns: 1fr auto;
    padding: 20px;
    gap: 12px;
  }
  .dest-day-number { grid-column: 1; }
  .dest-day-title { grid-column: 1; font-size: 19px; }
  .dest-day-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

/* ─── INCLUS / NON INCLUS ──────────────────────────── */
.dest-included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.dest-included-col {
  padding: 40px;
  background: var(--dest-off-white);
}

.dest-included-yes {
  border-left: 3px solid var(--dest-gold);
}

.dest-included-no {
  border-left: 3px solid var(--dest-ink-muted);
  opacity: 0.85;
}

.dest-included-col h3 {
  font-family: var(--dest-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--dest-ink);
}

.dest-included-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dest-included-col li {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dest-ink-mid);
  border-bottom: 1px solid rgba(28, 27, 24, 0.06);
}

.dest-included-col li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .dest-included-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── CONSEILS ─────────────────────────────────────── */
.dest-tips {
  background: var(--dest-off-white);
}

.dest-tips-content {
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--dest-ink-mid);
  max-width: 760px;
}

/* ─── CARTE GOOGLE MAPS ────────────────────────────── */
.dest-map {
  padding: 100px 0 0;
}

.dest-map-wrapper {
  margin-top: 40px;
  width: 100%;
  height: 500px;
  background: var(--dest-off-white);
}

.dest-map-wrapper iframe {
  display: block;
}

/* ─── ENFANTS ──────────────────────────────────────── */
.dest-children {
  background: var(--dest-off-white);
}

.dest-children .destination-grid {
  margin-top: 60px;
  margin-bottom: 0;
  padding: 0;
}

/* ─── CTA FINAL ────────────────────────────────────── */
.dest-cta {
  padding: 120px 0;
  text-align: center;
  background: var(--dest-ink);
  color: var(--dest-white);
}

.dest-cta-title {
  font-family: var(--dest-serif);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  line-height: 1;
  margin: 0 0 24px;
  color: var(--dest-white);
}

.dest-cta-title em {
  font-style: italic;
  color: var(--dest-gold-light);
}

.dest-cta-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.85);
}

.dest-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dest-white);
  background: var(--dest-red);
  border: none;
  padding: 18px 40px;
  text-decoration: none;
  transition: background 0.3s, gap 0.3s;
  cursor: pointer;
}

.dest-cta-btn:hover {
  background: #8a0d13;
  color: var(--dest-white);
  gap: 20px;
}

/* ─── RESPONSIVE GLOBAL ────────────────────────────── */
@media (max-width: 1024px) {
  .dest-two-cols { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .dest-container { padding: 0 20px; }
  .dest-description,
  .dest-highlights,
  .dest-gallery,
  .dest-video,
  .dest-itinerary,
  .dest-included,
  .dest-tips,
  .dest-children { padding: 60px 0; }
  .dest-hero { height: 80vh; min-height: 500px; }
  .dest-key-item { border-right: none; border-bottom: 1px solid rgba(184, 151, 58, 0.15); }
  .dest-key-info-grid { grid-template-columns: 1fr 1fr; }
}
