/* ============================================================
   BLUE HORIZONS — experiences.css
   Module Expériences — styles isolés, aucun impact global
   ============================================================ */

body.page-experiences {
  --accent:       #9B7EB8;
  --accent-light: #D4C0E8;
  --bg-tint:      #F5F0FA;
}

/* ── Hero listing ── */
.hero--experiences .hero__bg {
  background-image: url('../images/public/index.jpg');
}

.hero--experiences .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(70, 50, 100, 0.25) 0%,
    rgba(50, 30, 80, 0.75) 100%
  );
}

/* ── Listing section ── */
.exp-listing {
  background-color: #FAF8FF;
  padding-block: 80px 100px;
}

.exp-listing__header {
  text-align: center;
  margin-bottom: 56px;
}

.exp-listing__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.exp-listing__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 300;
  color: #2a1f36;
  margin-bottom: 12px;
}

.exp-listing__sub {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #9a8aaa;
}

/* ── Experience cards grid ── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-card {
  background: #fff;
  border: 1px solid rgba(155, 126, 184, 0.12);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  box-shadow: 0 12px 40px rgba(100, 70, 140, 0.14);
  transform: translateY(-4px);
}

.exp-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.exp-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
  filter: saturate(0.9);
}

.exp-card:hover .exp-card__image-wrap img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.exp-card__country {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 10px;
}

.exp-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.exp-card__location {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a8aaa;
  margin-bottom: 10px;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 300;
  color: #2a1f36;
  line-height: 1.25;
  margin-bottom: 8px;
}

.exp-card__subtitle {
  font-size: 13px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
}

.exp-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #5a5068;
  margin-bottom: 24px;
  flex: 1;
}

.exp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(155, 126, 184, 0.12);
  padding-top: 20px;
  margin-top: auto;
}

.exp-card__price {
  font-family: var(--font-display);
  font-size: 13px;
  color: #9a8aaa;
}

.exp-card__price strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
}

.exp-card__cta {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 8px 18px;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.exp-card:hover .exp-card__cta {
  background: var(--accent);
  color: #fff;
}

/* ── Loading / empty states ── */
.exp-loading {
  text-align: center;
  padding: 80px 0;
  color: #9a8aaa;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════
   DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */

/* Hero detail */
.hero--exp-detail .hero__bg {
  background-size: cover;
  background-position: center;
}

.hero--exp-detail .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(40, 20, 70, 0.2) 0%,
    rgba(30, 10, 60, 0.78) 100%
  );
}

.exp-detail__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.exp-detail__badge {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.6);
  border: 1px solid rgba(250,250,248,0.25);
  padding: 5px 12px;
}

/* Description section */
.exp-desc {
  background-color: #FAF8FF;
}

.exp-desc__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.exp-desc__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.exp-desc__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: #4a3f5a;
  white-space: pre-line;
}

.exp-desc__sidebar {
  background: #fff;
  border: 1px solid rgba(155, 126, 184, 0.15);
  padding: 32px;
}

.exp-sidebar__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(155, 126, 184, 0.15);
}

.exp-sidebar__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(155, 126, 184, 0.08);
  font-size: 14px;
  font-weight: 300;
}

.exp-sidebar__row:last-child { border-bottom: none; }

.exp-sidebar__key {
  color: #9a8aaa;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.exp-sidebar__val {
  color: #2a1f36;
  text-align: right;
}

.exp-sidebar__cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}

.exp-sidebar__cta:hover { background: #7a5fa0; }

/* Programme */
.exp-program {
  background-color: #F4F0FB;
}

.exp-program__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 300;
  color: #2a1f36;
  margin-bottom: 48px;
}

.exp-program__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-program__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(155, 126, 184, 0.15);
  align-items: start;
}

.exp-program__item:first-child { border-top: 1px solid rgba(155, 126, 184, 0.15); }

.exp-program__time {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 400;
  padding-top: 2px;
}

.exp-program__activity {
  font-size: 16px;
  font-weight: 300;
  color: #2a1f36;
  line-height: 1.6;
}

/* Tarifs */
.exp-pricing {
  background-color: #FAF8FF;
}

.exp-pricing__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 300;
  color: #2a1f36;
  margin-bottom: 40px;
}

.exp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.exp-price-card {
  background: #fff;
  border: 1px solid rgba(155, 126, 184, 0.15);
  padding: 28px 24px;
  border-top: 2px solid var(--accent-light);
}

.exp-price-card__label {
  font-size: 13px;
  font-weight: 300;
  color: #5a5068;
  margin-bottom: 12px;
  line-height: 1.5;
}

.exp-price-card__amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
}

.exp-price-card__currency {
  font-size: 16px;
  margin-left: 4px;
  color: #9a8aaa;
}

.exp-price-card__note {
  font-size: 12px;
  color: #9a8aaa;
  margin-top: 8px;
  line-height: 1.5;
}

/* Inclus / Non inclus */
.exp-includes {
  background-color: #2a1f36;
  padding-block: 80px;
}

.exp-includes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.exp-includes__col-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.exp-includes__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-includes__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.72);
}

.exp-includes__item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.exp-includes__col--yes .exp-includes__item::before {
  background: var(--accent-light);
}

.exp-includes__col--no .exp-includes__item::before {
  background: rgba(255,255,255,0.2);
}

/* Politique d'annulation */
.exp-cancel {
  background-color: #FAF8FF;
}

.exp-cancel__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 300;
  color: #2a1f36;
  margin-bottom: 28px;
}

.exp-cancel__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: #4a3f5a;
  max-width: 720px;
  white-space: pre-line;
}

/* Contact CTA */
.exp-contact-cta {
  background-color: var(--accent);
  padding-block: 72px;
  text-align: center;
}

.exp-contact-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
}

.exp-contact-cta__sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}

.exp-contact-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.exp-contact-cta__btn {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.exp-contact-cta__btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.exp-contact-cta__btn--solid {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.exp-contact-cta__btn--solid:hover {
  background: rgba(255,255,255,0.9);
}

/* Back link */
.exp-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.85);
  text-decoration: none;
  margin-bottom: 28px;
  padding: 11px 22px 11px 16px;
  border: 1px solid rgba(250, 250, 248, 0.22);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.exp-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(250, 250, 248, 0.5);
}

.exp-back:focus-visible {
  outline: 2px solid rgba(250, 250, 248, 0.7);
  outline-offset: 3px;
}

.exp-back__arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.exp-back:hover .exp-back__arrow {
  transform: translateX(-4px);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .exp-desc__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exp-program__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .exp-includes__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .exp-grid { grid-template-columns: 1fr; }

  .exp-contact-cta__actions { flex-direction: column; }
}
