/* ============================================================
   BLUE HORIZONS — randonnee.css
   Palette : gris minéral #5C6B7A · argent · lumière rasante
   ============================================================ */

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

.hero--randonnee .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(30, 38, 44, 0.2) 0%,
    rgba(30, 38, 44, 0.78) 100%
  );
}

/* ══════════════════════════════════════════════════════════════
   SECTION NARRATIVE — texte large + image carrée
   ══════════════════════════════════════════════════════════════ */
.rand-narrative {
  background-color: var(--color-white);
}

.rand-narrative__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.rand-narrative__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.rand-narrative__body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: #404040;
  margin-bottom: 20px;
}

.rand-narrative__image-wrap {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 24px);
}

.rand-narrative__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1px;
}

.rand-narrative__image-caption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #999;
  text-align: right;
}

/* ══════════════════════════════════════════════════════════════
   GALERIE 3 COLONNES
   ══════════════════════════════════════════════════════════════ */
.rand-gallery {
  padding-block: 0;
  background-color: #1e2428;
}

.rand-gallery__header {
  padding: 70px var(--gutter) 48px;
  text-align: center;
}

.rand-gallery__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--color-white);
}

.rand-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.rand-gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.rand-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.rand-gallery__item:hover img { transform: scale(1.05); }

.rand-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(92, 107, 122, 0);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rand-gallery__item:hover .rand-gallery__overlay {
  background: rgba(92, 107, 122, 0.2);
}

.rand-gallery__footer {
  padding: 48px var(--gutter) 70px;
  text-align: center;
  color: rgba(250,250,248,0.35);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rand-narrative__grid { grid-template-columns: 1fr; gap: 40px; }
  .rand-narrative__image-wrap { position: static; }
  .rand-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .rand-gallery__grid { grid-template-columns: 1fr; }
  .rand-gallery__item { aspect-ratio: 4 / 3; }
}
