/* Base */
:root {
  --green: #5a7a4f;
  --green-dark: #46603d;
  --green-light: #8ba87e;
  --sand: #f5f1e8;
  --sand-dark: #ebe4d3;
  --text: #2c2c2c;
  --text-soft: #5a5a5a;
  --border: #e2ddd0;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #ffffff;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--green);
  color: #fff;
  padding: 14px 28px;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #46603d 0%, #5a7a4f 45%, #8ba87e 100%);
  color: #fff;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 45%);
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 18px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero__rating .star {
  color: #ffd454;
  font-size: 1.3rem;
}

.hero__rating-sep {
  opacity: 0.6;
}

.hero__cta {
  font-size: 1.1rem;
}

/* Quick facts */
.quick-facts {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}

.quick-facts__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 130px;
}

.fact__icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.fact__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
}

.fact__label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--sand);
}

.section__title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.highlight__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.highlight h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.highlight p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Prose */
.prose .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 500;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--green-dark);
}

.prose p {
  margin-bottom: 16px;
  color: var(--text);
}

.prose ul {
  list-style: none;
  margin: 12px 0 20px;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
}

.prose ul li::before {
  content: "🌿";
  position: absolute;
  left: 0;
  top: 0;
}

/* Rooms */
.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.room {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.room__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.room h3 {
  margin-bottom: 6px;
  color: var(--green-dark);
}

.room p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.room__floor {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.room__extra {
  font-size: 0.85rem;
  font-style: italic;
}

/* Amenities */
.amenities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 24px;
}

.amenities li {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.98rem;
}

/* Ratings */
.ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 40px;
  margin-bottom: 48px;
}

.rating-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.rating-bar__label {
  color: var(--text);
}

.rating-bar__value {
  font-weight: 700;
  color: var(--green-dark);
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.review__author {
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.review blockquote {
  color: var(--text);
  font-style: normal;
  font-size: 0.97rem;
  border-left: 3px solid var(--green-light);
  padding-left: 14px;
}

/* Location */
.location {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--text-soft);
}

/* Host */
.host {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.host__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.host__info h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.host__info p {
  margin-bottom: 10px;
  color: var(--text-soft);
}

/* Rules */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.rules h3 {
  margin-bottom: 14px;
  color: var(--green-dark);
}

.rules ul {
  list-style: none;
}

.rules li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  padding: 64px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta__title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta__text {
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: #d0d0d0;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: var(--green-light);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .hero__content {
    padding: 60px 24px;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .host {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.gallery__item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-dark);
  position: relative;
  min-height: 220px;
}

.gallery__item--featured {
  aspect-ratio: 3 / 2;
}

.gallery__item:not(.gallery__item--featured) {
  aspect-ratio: 3 / 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.gallery__item img:hover {
  transform: scale(1.04);
}

.gallery__hint {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* Mobile : images empilées pleine largeur, ratio naturel 4/3 */
@media (max-width: 720px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery__item,
  .gallery__item--featured,
  .gallery__item:not(.gallery__item--featured) {
    aspect-ratio: 4 / 3;
    min-height: 0;
    width: 100%;
  }

  .gallery__item img {
    object-fit: cover;
  }
}

/* Très petits écrans : ratio 3/2 pour moins de hauteur */
@media (max-width: 420px) {
  .gallery__item,
  .gallery__item--featured,
  .gallery__item:not(.gallery__item--featured) {
    aspect-ratio: 3 / 2;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox--open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
