/* Page Le Gîte */
.intro {
  text-align: center;
  padding: 5em 1em 2em;
  max-width: 860px;
  margin: auto;
}

.intro h1 {
  font-size: 2.8rem;
  margin: 0 0 0.6em;
  line-height: 1.25;
}

.intro p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero { margin-top: 0.5em; }

.hero img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 1200px;
  margin: 3em auto;
  padding: 0 1em;
}

.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  display: block;
  border-radius: 2px;
}

.text-block {
  max-width: 840px;
  margin: 4em auto;
  text-align: center;
  padding: 0 1em;
}

.text-block h2 {
  margin: 0 0 0.8em;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
}

.text-block p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* 1ère phrase (centrée) */
.intro p.intro-lead {
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2em;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

/* Texte principal (justifié) */
.intro p.intro-text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.8;
  font-size: 0.9;
  max-width: 900px;
  margin: 0 auto;
  color: #444;
}

.story-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 70px auto;
  max-width: 1000px;
  text-align: left;
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.story-block p {
  flex: 1.25;
  margin: 0;
  line-height: 1.8;
  font-size: 1rem;
  text-align: left;
}

.story-block img {
  flex: 0.85;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.text-with-side {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  max-width: 1100px;
  margin: 4em auto;
  padding: 0 1em;
}

.text-left { flex: 2; }

.text-left h2 {
  margin-bottom: 1em;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.text-left p {
  line-height: 1.75;
  font-size: 0.98rem;
}

.text-right {
  flex: 1;
  text-align: center;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.reserve-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 14px 35px;
  text-decoration: none;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.details-premium {
  max-width: 1400px;
  margin: 0 auto 6em;
  padding: 3em 0 0;
  background: transparent;
}

.details-premium h2 {
  margin: 0 0 1.9em;
  text-align: center;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: #111;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 60px;
  row-gap: 40px;
}

.detail-card {
  padding-top: 30px;
  padding-bottom: 16px;
  border-top: 2px solid #1f1f1f;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.detail-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-icon svg {
  width: 46px;
  height: 46px;
  display: block;
}

.detail-head h3 {
  margin: 6px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #111;
}

.detail-card p {
  margin: 0 0 0 72px;
  max-width: 430px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #444;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox img {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
}

.close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.prev-light,
.next-light {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.8rem;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev-light { left: 16px; }
.next-light { right: 16px; }

@media (max-width: 1200px) {
  .details-grid { column-gap: 36px; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .intro { padding: 2.6em 0 1.6em; }

  .intro h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero img {
    height: 300px;
    border-radius: 4px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 2em auto;
    padding: 0;
  }

  .gallery img { height: 140px; }

  .text-block {
    margin: 2.5em auto 3em;
    padding: 0;
  }

  .text-block h2 {
    font-size: 1.05rem;
    margin-bottom: 0.8em;
  }

  .text-block p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .text-with-side {
    flex-direction: column;
    gap: 28px;
    margin: 2.5em auto;
    padding: 0;
  }

  .text-right { width: 100%; }

  .reserve-btn {
    width: 100%;
    max-width: 320px;
  }

  .details-premium {
    padding-top: 1.5em;
    margin-bottom: 4em;
  }

  .details-premium h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .details-grid { grid-template-columns: 1fr; }

  .detail-head { gap: 16px; }
  .detail-icon { width: 44px; min-width: 44px; height: 44px; }
  .detail-icon svg { width: 40px; height: 40px; }

  .detail-head h3 {
    font-size: 0.95rem;
    letter-spacing: 3px;
  }

  .detail-card p {
    margin-left: 60px;
    font-size: 0.95rem;
  }

  .prev-light,
  .next-light { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .story-block,
  .story-block.reverse {
    flex-direction: column;
    gap: 1.5em;
    margin: 45px auto;
  }

  .story-block img {
    max-width: 100%;
    height: 260px;
    aspect-ratio: auto;
  }
}