/* =========================================================
   HOTEL, style.css
   Même logique que la home
   Breakpoints: 1600, 1200, 1024, 768, 480
   Aucun changement visuel volontaire, seulement organisation et responsive cohérent
   ========================================================= */

/* =========================
   HERO
   ========================= */

.hero {
  min-height: 75vh;
  background-image: url("/images/fond-hotel.webp");
  background-size: cover;
  background-position: top;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--color-white);
  padding: 5%;
  text-align: center;
}
h1 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.etoiles {
  font-size: 1.5rem;
  padding-right: 15px;
  padding-top: 15px;
}
.hero h2 {
  margin-bottom: 24px;
  text-align: center;
}

/* =========================
   PRESENTATION
   ========================= */

.presentation {
  padding: 100px 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.presentation-gauche,
.presentation-droite {
  width: 50%;
}

.presentation h2 {
  margin-bottom: 24px;
}

.presentation-droite {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.image-presentation-grande {
  width: 55%;
  background-color: aqua;
  position: relative;
  z-index: 1;
  height: 500px;
  margin-left: -50px;
  margin-bottom: 50px;
}

.image-presentation-petite {
  width: 60%;
  background-color: rgb(43, 106, 106);
  position: relative;
  z-index: 2;
  height: 300px;
  overflow: hidden;
  margin-right: -50px;
}

.image-presentation-grande img,
.image-presentation-petite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================
   CHAMBRES
   ========================= */

.chambres {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 100px 15%;
}

.chambres-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.room-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}

.room {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.room__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: 0.3s;
}

.eco {
  grid-area: 1 / 1 / 2 / 2;
}

.standard {
  grid-area: 1 / 2 / 2 / 3;
}

.sup {
  grid-area: 1 / 3 / 2 / 4;
}

.sup-fam {
  grid-area: 2 / 1 / 3 / 2;
}

.suites {
  grid-area: 2 / 2 / 3 / 4;
  aspect-ratio: auto;
}

.room__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.room__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}

.room__content {
  position: relative;
  width: 100%;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.room__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--color-light-gray);
  font-size: 16px;
  font-weight: 400;
}

.room__title {
  color: #fff;
}

.room:hover .room__img {
  transform: scale(1.03);
}

/* =========================
   SECTIONS HOTEL, BASE
   ========================= */

.hotel-section {
  padding: 100px 15%;
  background: var(--color-white);
}

.hotel-section--wellness {
  background: #fff;
}

.hotel-section--stays {
  background: rgba(27, 27, 27, 0.02);
}

/* =========================
   HEADERS, TEXT HELPERS
   ========================= */

.center {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hs__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hs__head p {
  text-align: center;
}

.hs__content p {
  margin-top: 14px;
}

/* =========================
   LAYOUT, GRIDS
   ========================= */

.hs__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hs__inner--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.hs__inner--stack {
  grid-template-columns: 1fr;
  gap: 40px;
}

.hs__media {
  position: relative;
  overflow: hidden;
}

.hs__media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

/* =========================
   SEJOURS
   ========================= */

.stays {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stay-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(27, 27, 27, 0.12);
  padding: 22px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  height: 100%;

  transition:
    transform 520ms var(--ease-luxe),
    box-shadow 520ms var(--ease-luxe);
}

.stay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(27, 27, 27, 0.12);
}

.stay-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.stay-card__title {
  font-family: var(--font-title);
  margin: 0;
}

.stay-card__price {
  text-align: right;
  line-height: 1.1;
}

.stay-card__amount {
  display: block;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  font-size: 1.35rem;
}

.stay-card__for {
  display: block;
  color: rgba(27, 27, 27, 0.7);
  font-size: 0.95rem;
}

.stay-card__list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.stay-card__list li {
  list-style: disc;
  color: rgba(27, 27, 27, 0.85);
}

.stay-card__actions {
  margin-top: auto;
  padding-top: 18px;

  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 12px;
}

.stay-card__actions .btn {
  padding: 0.8rem 1rem;
}

.stay-card__actions .hs__link.info {
  font-weight: 800;
}

.btn-gold {
  color: white;
  border: none;
}

/* =========================
   PETIT DEJ, CARROUSEL
   ========================= */

.hs__media--carousel {
  padding: 1px;
}

.hs__hero {
  margin: 0;
  overflow: hidden;
  height: 500px;
}

.hs__heroImg {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition:
    opacity 260ms var(--ease-luxe),
    transform 520ms var(--ease-luxe);
}

.hs__thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hs__thumb {
  border: none;
  overflow: hidden;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition:
    transform 520ms var(--ease-luxe),
    border-color 260ms var(--ease-luxe),
    box-shadow 260ms var(--ease-luxe);
}

.hs__thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  transition:
    transform 520ms var(--ease-luxe),
    opacity 260ms var(--ease-luxe);
}

.hs__thumb:hover img {
  transform: scale(1.05);
}

.hs__thumb.is-active {
  border-color: rgba(170, 132, 84, 0.95);
}

.hs__thumb.is-active img {
  opacity: 0.92;
}

/* =========================
   LISTES, PILLS, CTA
   ========================= */

.hs__list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.hs__list li {
  list-style: disc;
  color: rgba(27, 27, 27, 0.85);
}

.hs__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs__pill {
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(245, 242, 238, 0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hs__note {
  margin-top: 14px;
  color: rgba(27, 27, 27, 0.72);
  font-size: 0.98rem;
  max-width: 70ch;
}

.hs__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hs__link.info {
  font-weight: 700;
}

.hs__actions .btn-gold {
  color: var(--color-white);
}

/* =========================
   WELLNESS, MOSAIC, CARDS
   ========================= */

.hs__mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 300px 300px;
  gap: 16px;
}

.hs__tile {
  overflow: hidden;
}

.hs__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: 0.3s;
}
.hs__tile:hover img {
  transform: scale(1);
}
.hs__tile--a {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.hs__tile--b {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.hs__tile--c {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.hs__cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hs__card {
  background: var(--color-white);
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 14px 50px rgba(27, 27, 27, 0.08);
}

.hs__cardTitle {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.massage {
  margin-top: 0 !important;
}
.hs__cardMeta {
  margin-top: 6px !important;
  color: var(--color-gold);
  font-weight: 800;
}

.hs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hs__service {
  background: var(--color-white);
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 14px 50px rgba(27, 27, 27, 0.08);
  overflow: hidden;
}

.hs__icon {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 14px;
}

.hs__serviceTitle {
  font-family: var(--font-title);
  margin-bottom: 6px;
}

.hs__serviceText {
  color: rgba(27, 27, 27, 0.78);
}

.hs__cta {
  margin-top: 8px;
  border-radius: 16px;
  padding: 22px;
  background: rgba(27, 27, 27, 0.04);
  border: 1px solid rgba(27, 27, 27, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.hs__ctaTitle {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hs__ctaSub {
  margin-top: 6px;
  color: rgba(27, 27, 27, 0.72);
}

/* =========================
   SERVICES HOTEL, 6 CARTES VISIBLES, EXTENSION EN CARTES
   ========================= */

.hotel-section--services {
  background: #1b1b1b05;
}

.hotel-section--services .services-head-text {
  margin-top: 14px;
}
.hs__head--center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hs__grid--services {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hs__serviceCard {
  border: solid 1px var(--color-light-gray);
  padding: 34px 30px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hs__serviceIcon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.hs__serviceTitle {
  margin: 6px 0 0 0;
}

.hs__serviceText {
  margin: 0;
  color: rgba(27, 27, 27, 0.78);
}

.hs__serviceCard.is-hidden {
  display: none;
}

.hs__servicesActions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* CTA existant */
.hs__cta {
  margin-top: 28px;
  border-radius: 16px;
  padding: 22px;
  background: rgba(27, 27, 27, 0.04);
  border: 1px solid rgba(27, 27, 27, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.hs__ctaTitle {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hs__ctaSub {
  margin-top: 6px;
  color: rgba(27, 27, 27, 0.72);
}

/* =========================================================
   RESPONSIVE, mêmes breakpoints que la home
   ========================================================= */
@media (min-width: 1024px) {
  :root {
    --h1: 4.5rem;
    --h2: 2.5rem;
  }
}
/* 1600px */
@media (max-width: 1600px) {
  .presentation,
  .chambres,
  .hotel-section {
    padding: 100px 10%;
  }
}

/* 1200px */
@media (max-width: 1200px) {
  .presentation,
  .chambres,
  .hotel-section {
    padding: 90px 8%;
  }

  .presentation {
    gap: 32px;
  }

  .hs__inner {
    gap: 40px;
  }

  .hs__heroImg {
    height: 360px;
  }

  .hs__thumb img {
    height: 90px;
  }

  .hs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* 1024px */
@media (max-width: 1024px) {
  .presentation,
  .chambres,
  .hotel-section {
    padding: 80px 7%;
  }

  .presentation {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .presentation-gauche,
  .presentation-droite {
    width: 100%;
  }

  .hs__inner,
  .hs__inner--reverse {
    grid-template-columns: 1fr;
  }

  .chambres-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .room-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco,
  .standard,
  .sup,
  .sup-fam,
  .suites {
    grid-area: auto;
  }

  .suites {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }

  .hs__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }

  .hs__tile--a {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .hs__tile--b {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .hs__tile--c {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

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

  .stay-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stay-card__price {
    text-align: left;
  }
}

/* 768px */
@media (max-width: 768px) {
  .presentation,
  .chambres,
  .hotel-section {
    padding: 70px 6%;
  }

  .room-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .room {
    aspect-ratio: 4 / 3;
  }

  .suites {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .room__content {
    padding: 16px;
    gap: 12px;
  }

  .hs__heroImg {
    height: 320px;
  }

  .hs__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hs__thumb img {
    height: 86px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .presentation,
  .chambres,
  .hotel-section {
    padding: 60px 5%;
  }

  .image-presentation-grande {
    width: 55%;
    height: 300px;
    margin-left: -20px;
    margin-bottom: 50px;
  }

  .image-presentation-petite {
    width: 60%;
    height: 300px;
    margin-right: -20px;
  }

  .room {
    aspect-ratio: 1 / 1;
  }

  .room__content {
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hs__heroImg {
    height: 260px;
  }

  .hs__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs__thumb img {
    height: 92px;
  }

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

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

  .hs__actions {
    align-items: stretch;
  }

  .hs__actions .btn {
    width: 100%;
  }

  .stay-card {
    padding: 18px;
  }

  .stay-card__actions {
    align-items: stretch;
  }

  .stay-card__actions .btn {
    width: 100%;
  }
}
