.nav {
  height: var(--nav-h-scrolled);
  background: var(--nav-bg-scrolled);
  box-shadow: var(--shadow-nav);
  border-color: var(--nav-border-scrolled);
  backdrop-filter: blur(10px);
}

.nav__link {
  color: var(--nav-text-dark);
  text-shadow: none;
  font-weight: 500;
}

.nav__link::after {
  opacity: 0.55;
}

.lang {
  color: var(--nav-text-dark-muted);
}

.lang__link {
  text-shadow: none;
  font-weight: 500;
}

.lang__link.is-active {
  color: var(--nav-text-dark);
}

.nav__icon {
  color: var(--nav-text-dark);
  border-color: rgba(27, 27, 27, 0.14);
  background: rgba(27, 27, 27, 0.02);
}

.btn--reserve {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 14px 40px rgba(27, 27, 27, 0.12);
}

.nav__burger {
  border-color: rgba(27, 27, 27, 0.14);
  background: rgba(27, 27, 27, 0.02);
  color: var(--nav-text-dark);
}

/* Le logo en version scrolled, sans dépendre de l'attribut src modifié par JS */
.nav__logo {
  height: 40px;
  filter: none;
  transform: translateY(-1px);
  content: var(--logo-scrolled);
}

.nav__brand {
  transform: translateY(-1px);
}
.room-section {
  padding: 100px 15%;
}
.room-head {
  background-color: var(--color-white);
  margin-top: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 100px 15% 80px 15%;
}

.room-head-left,
.room-head-right {
  width: 50%;
}
.room-head-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bulles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.gold {
  color: var(--color-gold);
}
.bulle {
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(245, 242, 238, 0.7);
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-weight: 600;
}

.btn-gold {
  color: white;
}
.btn-container {
  display: flex;
  align-items: center;
  margin-top: 14px;
  gap: 10px;
}
.room-image {
  width: 100%;
  height: 50vh;
  overflow: hidden;
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.c-gallery {
  padding-top: 0;
}

.c-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.c-photo {
  overflow: hidden;
  margin: 0;
  background: rgba(27, 27, 27, 0.03);
}

.c-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-photo:nth-child(1) {
  grid-column: span 7;
  height: 420px;
}
.c-photo:nth-child(2) {
  grid-column: span 5;
  height: 420px;
}
.c-photo:nth-child(3) {
  grid-column: span 4;
  height: 320px;
}
.c-photo:nth-child(4) {
  grid-column: span 4;
  height: 320px;
}
.c-photo:nth-child(5) {
  grid-column: span 4;
  height: 320px;
}
.photo-bottom img {
  object-position: bottom;
}

.description {
  margin-top: 48px;
  display: flex;
  gap: 40px;
}
.desc-left li {
  position: relative;
  padding-left: 18px;
}
.desc-left ul {
  margin-top: 12px;
}
.desc-text {
  margin-top: 18px;
}

.desc-left li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.desc-left,
.desc-right {
  width: 50%;
}
.desc-right .reservation {
  padding: 24px;
  border: solid 1px var(--color-light-gray);
}
.prix {
  margin: 12px 0;
}
.prix span {
  font-family: var(--font-title);
  font-size: 2rem;
}
.date {
  font-weight: bold;
}
.desc-right .btn-gold {
  width: 100%;
  margin-top: 24px;
}
.hint {
  font-size: 0.8rem;
}

.c-prices {
  padding: 100px 15%;
  background: #fff;
}

.c-prices__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.c-prices__head {
  text-align: center;
  margin-bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-prices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.c-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--color-light-gray);
  padding-bottom: 8px;
}

.c-price__label {
  font-weight: 600;
}

.c-price__value {
  font-weight: 700;
  color: var(--color-gold);
  text-align: right;
}

.c-prices__note {
  margin-top: 24px;
  color: rgba(27, 27, 27, 0.75);
}

.c-seeAlso {
  background: var(--color-black);
  color: var(--color-white);
}

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

.c-seeAlso__lead {
  margin-top: 14px;
  color: rgba(245, 242, 238, 0.8);
}

.c-seeAlso__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.c-seeAlso__card {
  position: relative;
  overflow: hidden;
  height: 420px;
  display: block;
}

.c-seeAlso__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 520ms var(--ease-luxe);
}

.c-seeAlso__card:hover img {
  transform: scale(1.06);
}

.c-seeAlso__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.c-seeAlso__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );
}

.c-seeAlso__overlay > * {
  position: relative;
  z-index: 1;
}

.c-seeAlso__tag {
  width: fit-content;
  background: rgba(245, 242, 238, 0.92);
  color: var(--color-black);
  padding: 8px 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.c-seeAlso__overlay h3 {
  margin: 0;
}

.c-seeAlso__overlay p {
  margin-top: 8px;
  color: rgba(245, 242, 238, 0.82);
}
.separator {
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
}
.separator hr {
  margin: 0;
  border: none;
  border-top: 1px solid var(--color-gold);
  width: 40%;
}

.room-image img:hover,
.c-photo img:hover {
  cursor: pointer;
}

/* petit encart dans la galerie */
.c-photo {
  position: relative;
}

.c-photo__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 24px);
  background: rgba(245, 242, 238, 0.92);
  color: var(--color-black);
  padding: 8px 10px;
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 600;
}

.room-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(10, 10, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-luxe);
}

.room-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.room-lightbox__stage {
  position: relative;
  width: min(92vw, 1400px);
  height: min(88vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.room-lightbox__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 40px);
  background: rgba(245, 242, 238, 0.94);
  color: var(--color-black);
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}

.room-lightbox__caption:empty,
.c-photo__caption:empty {
  display: none;
}

.room-lightbox__close,
.room-lightbox__nav {
  position: absolute;
  z-index: 3;
  border: none;
  background: rgba(245, 242, 238, 0.12);
  color: var(--color-white);
  cursor: pointer;
  transition:
    transform 260ms var(--ease-luxe),
    background-color 260ms var(--ease-luxe);
}

.room-lightbox__close:hover {
  transform: scale(1.04);
  background: rgba(245, 242, 238, 0.2);
}
.room-lightbox__nav:hover {
  transform: scale(1.04) translateY(-50%);
  background: rgba(245, 242, 238, 0.2);
}

.room-lightbox__close {
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.room-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 72px;
  font-size: 2rem;
  line-height: 1;
}

.room-lightbox__nav--prev {
  left: 20px;
}

.room-lightbox__nav--next {
  right: 20px;
}

body.is-lightbox-open {
  overflow: hidden;
}
/* Responsive */
@media (max-width: 1600px) {
  .room-section {
    padding: 100px 10%;
  }
  .room-head {
    padding: 100px 10% 0px 10%;
  }
  .room-image {
    height: 46vh;
  }

  .c-photo:nth-child(1),
  .c-photo:nth-child(2) {
    height: 400px;
  }
  .c-photo:nth-child(3),
  .c-photo:nth-child(4),
  .c-photo:nth-child(5) {
    height: 300px;
  }

  .c-seeAlso__inner {
    gap: 44px;
  }
}
@media (max-width: 1200px) {
  .room-section {
    padding: 90px 8%;
  }
  .room-head {
    padding: 90px 8% 0px 8%;
    gap: 32px;
  }

  .room-image {
    height: 44vh;
  }

  .c-photo:nth-child(1),
  .c-photo:nth-child(2) {
    height: 360px;
  }
  .c-photo:nth-child(3),
  .c-photo:nth-child(4),
  .c-photo:nth-child(5) {
    height: 280px;
  }

  .description {
    gap: 32px;
  }

  .c-seeAlso__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .c-seeAlso__card {
    height: 380px;
  }
}
@media (max-width: 1024px) {
  .room-section {
    padding: 80px 7%;
  }
  .c-prices__grid {
    grid-template-columns: 1fr;
  }
  .room-head {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 80px 7% 0px 7%;
    gap: 28px;
  }

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

  .room-image {
    height: 420px;
  }

  .btn-container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .c-gallery__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .c-photo:nth-child(1) {
    grid-column: span 6;
    height: 380px;
  }
  .c-photo:nth-child(2) {
    grid-column: span 6;
    height: 300px;
  }
  .c-photo:nth-child(3),
  .c-photo:nth-child(4),
  .c-photo:nth-child(5) {
    grid-column: span 2;
    height: 220px;
  }

  .description {
    flex-direction: column;
    gap: 28px;
  }

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

  .c-seeAlso__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .c-seeAlso__card {
    height: 380px;
  }
}
@media (max-width: 768px) {
  .room-section {
    padding: 70px 6%;
  }
  .room-head {
    padding: 70px 6% 0px 6%;
  }

  .room-image {
    height: 360px;
  }

  .c-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .c-photo:nth-child(1) {
    grid-column: span 2;
    height: 320px;
  }
  .c-photo:nth-child(2) {
    grid-column: span 2;
    height: 260px;
  }
  .c-photo:nth-child(3),
  .c-photo:nth-child(4),
  .c-photo:nth-child(5) {
    grid-column: span 1;
    height: 210px;
  }

  .c-seeAlso__card {
    height: 340px;
  }

  .c-seeAlso__actions {
    align-items: stretch;
  }

  .c-seeAlso__actions .btn {
    width: 100%;
  }
  .c-photo__caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 0.8rem;
    padding: 7px 9px;
  }

  .room-lightbox__stage {
    width: 100vw;
    height: 100vh;
    padding: 60px 12px 80px;
  }

  .room-lightbox__nav {
    width: 46px;
    height: 58px;
    font-size: 1.6rem;
  }

  .room-lightbox__nav--prev {
    left: 8px;
  }

  .room-lightbox__nav--next {
    right: 8px;
  }

  .room-lightbox__close {
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
  }

  .room-lightbox__caption {
    left: 12px;
    right: 12px;
    bottom: 50px;
    max-width: calc(100% - 24px);
    font-size: 0.88rem;
    padding: 9px 11px;
  }
}
@media (max-width: 480px) {
  .room-section {
    padding: 60px 5%;
  }
  .c-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .c-price__value {
    text-align: left;
  }
  .room-head {
    padding: 60px 5% 0px 5%;
  }

  .bulles-container {
    gap: 10px;
  }

  .bulle {
    width: 100%;
    justify-content: space-between;
  }

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

  .btn-container .btn {
    width: 100%;
  }

  .room-image {
    height: 280px;
  }

  .c-gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .c-photo:nth-child(1),
  .c-photo:nth-child(2),
  .c-photo:nth-child(3),
  .c-photo:nth-child(4),
  .c-photo:nth-child(5) {
    grid-column: span 1;
    height: 240px;
  }

  .desc-right .reservation {
    padding: 20px;
  }

  .prix span {
    font-size: 1.75rem;
  }

  .c-seeAlso__card {
    height: 300px;
  }

  .separator hr {
    width: 70%;
  }
}
