.hero {
  height: 95vh;
  background-image: url("/images/fond-hero-home.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  flex-direction: column;
  padding: 0 7%;
}
h1 {
  text-align: center;
}
.hero h2 {
  margin-bottom: 24px;
}

.decouvrir {
  padding: 100px 15%;
}
.info {
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: bold;
}
a.info {
  text-transform: none;
}

.decouvrir-column {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.decouvrir-left,
.decouvrir-right {
  width: 50%;
}
.decouvrir-left {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.decouvrir p {
  width: 100%;
}

.decouvrir-image {
  width: 80%;
  height: 700px;
  overflow: hidden;
  margin: 36px 0;
}
.decouvrir-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.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;
}

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

.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;
}

.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);
}

.services {
  padding: 100px 15%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services h2 {
  margin-bottom: 48px;
  text-align: center;
}

.services .info {
  text-align: center;
  width: 100%;
}

.serv-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 18px;
  grid-row-gap: 18px;
}

.dej {
  grid-area: 1 / 1 / 2 / 2;
}
.detente {
  grid-area: 1 / 2 / 2 / 3;
}
.clim {
  grid-area: 1 / 3 / 2 / 4;
}
.parking {
  grid-area: 2 / 1 / 3 / 2;
}
.recharge {
  grid-area: 2 / 2 / 3 / 3;
}
.piscine {
  grid-area: 2 / 3 / 3 / 4;
}

.serv {
  border: solid 1px var(--color-light-gray);
  padding: 34px 30px;
}
.serv h3 {
  margin: 18px 0;
}
.serv img {
  width: 60px;
  height: 60px;
}

.services a {
  color: var(--color-white);
  margin-top: 24px;
}

.resto {
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 15%;
  gap: 48px;
}
.resto-info {
  width: 50%;
}
.resto-images {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.resto-presentation {
  margin: 24px 0;
}
a.reserv {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  width: fit-content;
  gap: 12px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

a.reserv svg {
  color: var(--color-gold);
}

.big-gold {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.resto-images .image-principale {
  width: 90%;
  height: 500px;
  overflow: hidden;
  /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.228); */
  /* border: solid var(--color-white) 3px; */
}

.resto-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.resto-images .images-secondaires {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -125px;
}

.resto-images .images-secondaires .img-sec {
  width: 33%;
  height: 200px;
  /* border: solid var(--color-white) 3px; */
  /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.228); */
  margin: 0 5px;
}

.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  height: 90vh;
}
.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.galerie-item {
  position: relative;
}
.galerie-item img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.galerie-item .galerie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: var(--color-white);
  opacity: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
}
.galerie-item .galerie-overlay p {
  border: solid var(--color-gold) 1px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  font-family: var(--font-title);
}
.galerie-item:hover .galerie-overlay {
  opacity: 0.9;
}
.item1 {
  grid-area: 1 / 1 / 3 / 2;
}
.item2 {
  grid-area: 3 / 1 / 6 / 2;
}
.item3 {
  grid-area: 1 / 2 / 4 / 3;
}
.item4 {
  grid-area: 4 / 2 / 6 / 3;
}
.item5 {
  grid-area: 1 / 3 / 6 / 4;
}
.item6 {
  grid-area: 1 / 4 / 4 / 5;
}
.item7 {
  grid-area: 4 / 4 / 6 / 5;
}

.team {
  background-color: var(--color-white);
  padding: 100px 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fiche-vide {
  height: 0px !important;
}

.team-list {
  width: 100%;
  margin-top: 98px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.fiche {
  width: 33%;
  height: 600px;
  position: relative;
}
.fiche:nth-child(3n + 2) {
  margin-top: -50px;
}
.portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fiche-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
}

.fiche-info .bulle {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--color-white);
  margin: 12px;
  padding: 16px;
  border: solid var(--color-light-gray) 1px;
}
.fiche-info .bulle .nom {
  font-family: var(--font-title);
  font-size: 1.5rem;
}

.bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 15%;
  background-image: url("/images/fond-footer.webp");
  background-size: cover;
  background-position: bottom;
  gap: 74px;
  color: white;
}
.bottom-left {
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.bottom-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
}
.fiche-form {
  width: 500px;
  background-color: var(--color-white);
  margin-bottom: -200px;
}

.bottom .big-gold {
  color: var(--color-white);
  font-weight: bold;
}
.bottom .reserv {
  margin-top: 24px;
}
.transition {
  height: 100px;
  width: 100%;
  background-color: var(--color-black);
}

.fiche-form {
  padding: 36px;
  color: var(--color-black);
}
.fiche-form h3 {
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: solid var(--color-light-gray) 0.1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  border: none;
  margin-bottom: 8px;
  padding: 16px;
  font-family: "Barlow", sans-serif;
}
.contact-form button {
  border: none;
  color: white;
  width: 100%;
  margin-top: 24px;
}

/* =========================
   RESPONSIVE, style.css uniquement
   Objectif, garder le design, améliorer la mise en page
   ========================= */

/* 1600px, on élargit le contenu en réduisant les paddings latéraux */
@media (max-width: 1600px) {
  .hero {
    padding: 0 6%;
  }

  .decouvrir,
  .chambres,
  .services,
  .resto,
  .team,
  .bottom,
  .footer {
    padding: 100px 10%;
  }
}

/* 1200px, ajustements de confort */
@media (max-width: 1200px) {
  .decouvrir,
  .chambres,
  .services,
  .resto,
  .team,
  .bottom,
  .footer {
    padding: 90px 8%;
  }

  .decouvrir-column {
    gap: 32px;
  }

  .decouvrir-image {
    height: 560px;
  }

  .chambres-head {
    gap: 28px;
  }

  .resto {
    gap: 32px;
  }

  .resto-images .image-principale {
    height: 440px;
  }

  .galerie {
    height: 50vh;
  }

  .fiche {
    height: 520px;
  }

  .fiche-form {
    width: 440px;
  }
}

/* 1024px, bascule progressive vers des colonnes plus simples */
@media (max-width: 1024px) {
  .hero {
    height: 85vh;
    padding: 0 6%;
    text-align: center;
  }

  .decouvrir,
  .chambres,
  .services,
  .resto,
  .team,
  .bottom,
  .footer {
    padding: 80px 7%;
  }

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

  .decouvrir-left,
  .decouvrir-right {
    width: 100%;
  }

  .decouvrir-left {
    align-items: flex-start;
  }

  .decouvrir-image {
    width: 100%;
    height: 520px;
  }

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

  .chambres-titre,
  .chambre-info {
    width: 100%;
  }

  .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;
  }

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

  .dej,
  .detente,
  .clim,
  .parking,
  .recharge,
  .piscine {
    grid-area: auto;
  }

  .resto {
    flex-direction: column;
    align-items: stretch;
  }

  .resto-info,
  .resto-images {
    width: 100%;
  }

  .resto-images .image-principale {
    width: 100%;
    height: 460px;
  }

  .resto-images .images-secondaires {
  }

  .resto-images .images-secondaires .img-sec {
    height: 180px;
    margin: 0 6px;
  }

  .team-list {
    margin-top: 64px;
  }

  .fiche {
    width: 50%;
    height: 520px;
  }

  .fiche:nth-child(3n + 2) {
    margin-top: 0;
  }
  .fiche:nth-child(2n) {
    margin-top: -50px;
  }

  .bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .bottom-left,
  .bottom-right {
    width: 100%;
  }

  .bottom-right {
    align-items: center;
  }

  .fiche-form {
    width: 100%;
  }
}

/* 768px, sections plus compactes, grilles simplifiées */
@media (max-width: 768px) {
  .decouvrir,
  .chambres,
  .services,
  .resto,
  .team,
  .bottom,
  .footer {
    padding: 70px 6%;
  }

  .decouvrir-image {
    height: 440px;
    margin: 26px 0;
  }

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

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

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

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

  .serv-list {
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 14px;
  }

  .serv {
    padding: 28px 22px;
  }

  .resto-images .image-principale {
    height: 420px;
  }

  .resto-images .images-secondaires {
    gap: 10px;
  }

  .resto-images .images-secondaires .img-sec {
    width: calc(33% - 10px);
    height: 170px;
    margin: 0;
  }

  .galerie {
    height: 400px;
  }

  .galerie-item {
    /* min-height: 200px; */
  }

  .galerie-item .galerie-overlay p {
    font-size: 1.2rem;
  }

  .fiche {
    width: 100%;
    height: 600px;
  }
  .fiche:nth-child(2n) {
    margin-top: 0px;
  }
  .portrait img {
    object-position: top;
  }
}

/* 480px, confort mobile */
@media (max-width: 480px) {
  .hero {
    height: 82vh;
    padding: 0 5%;
  }

  .decouvrir,
  .chambres,
  .services,
  .resto,
  .team,
  .bottom,
  .footer {
    padding: 60px 5%;
  }

  .decouvrir-image {
    height: 360px;
  }

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

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

  .resto-images .image-principale {
    height: 340px;
  }

  .resto-images .images-secondaires .img-sec {
    width: 100%;
    height: 130px;
  }
  .galerie {
    height: 300px;
  }
  .fiche {
    height: 480px;
  }

  .bottom-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bottom-left h3 {
    text-align: center;
  }
  .fiche-form {
    max-width: none;
  }
}
