:root {
  --ink: #2f2925;
  --muted: #6d625b;
  --paper: #f7f2eb;
  --cream: #fffaf3;
  --rust: #9f4f32;
  --rust-dark: #753823;
  --line: rgba(47, 41, 37, 0.16);
  --shadow: 0 20px 55px rgba(47, 41, 37, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1c6b89;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.room-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 235, 0.96);
  backdrop-filter: blur(12px);
}

.room-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.room-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.room-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  font-size: 0.86rem;
  font-weight: 600;
}

.room-site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.button,
.room-site-nav .nav-book {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--rust);
  border-radius: 999px;
  color: #fff;
  background: var(--rust);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.room-site-nav .nav-book:hover {
  border-color: var(--rust-dark);
  background: var(--rust-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--rust-dark);
  background: transparent;
}

.button-secondary:hover { color: #fff; }

.breadcrumbs {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: #a59a91;
}

.room-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.room-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(430px, 67vw, 720px);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.room-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(25, 18, 14, 0.72) 100%);
}

.room-hero-copy {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 3.5rem);
  left: clamp(1.25rem, 4vw, 4rem);
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-hero h1,
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
}

.room-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.6rem);
}

.hero-summary {
  max-width: 660px;
  margin: 0.65rem 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.room-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(930px, calc(100% - 2rem));
  margin: -1.5rem auto 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.room-fact {
  padding: 0.35rem 1rem;
  text-align: center;
}

.room-fact + .room-fact { border-left: 1px solid var(--line); }

.room-fact strong,
.room-fact span { display: block; }

.room-fact strong {
  color: var(--rust-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.room-fact span { color: var(--muted); font-size: 0.82rem; }

.room-content,
.room-stay-fit,
.room-gallery-section,
.room-practical,
.other-rooms,
.booking-panel {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto clamp(3.5rem, 8vw, 7rem);
}

.room-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.room-description p { margin: 0 0 1rem; }

.room-stay-fit {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--rust);
  background: var(--cream);
}

.room-stay-fit h2 {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
}

.room-stay-fit p {
  max-width: 72ch;
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.room-stay-fit p:last-child { margin-bottom: 0; }

.room-stay-fit a {
  color: var(--rust-dark);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.amenity-panel {
  align-self: start;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-top: 3px solid var(--rust);
  background: var(--cream);
}

.amenity-panel h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.amenity-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-list li {
  position: relative;
  padding-left: 1.45rem;
}

.amenity-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 23vw, 280px);
  gap: 0.75rem;
}

.room-gallery a {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  border-radius: 4px;
  background: #ddd2c7;
}

.room-gallery a:first-child { grid-column: span 8; }
.room-gallery a:nth-child(2) { grid-column: span 4; }
.room-gallery a:nth-child(4),
.room-gallery a:nth-child(5) { grid-column: span 6; }

.room-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.room-gallery a:hover img { transform: scale(1.025); }

.room-gallery a::after {
  content: "Agrandir";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 15, 12, 0.68);
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 180ms ease;
}

.room-gallery a:hover::after,
.room-gallery a:focus-visible::after { opacity: 1; }

.room-practical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.practical-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.55);
}

.practical-card h2 {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.practical-card p { margin: 0; color: var(--muted); }

.booking-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: #fff;
  background: var(--ink);
}

.booking-panel h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.booking-panel p { margin: 0; color: #e3dcd5; }

.other-room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.other-room-grid a {
  display: flex;
  min-height: 96px;
  align-items: flex-end;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.other-room-grid a:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}

.room-site-footer {
  padding: 2.5rem 1rem;
  color: #e9e0d7;
  background: #27211d;
  text-align: center;
}

.room-site-footer p { margin: 0.3rem 0; }
.room-site-footer a { color: #fff; }

.room-lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.room-lightbox::backdrop { background: rgba(15, 12, 10, 0.9); }

.lightbox-stage {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 2rem));
  place-items: center;
  padding: 3.2rem;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  box-shadow: 0 20px 80px #000;
}

.lightbox-button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 15, 12, 0.72);
  cursor: pointer;
  font-size: 1.45rem;
  place-items: center;
}

.lightbox-close { top: 0.35rem; right: 0.35rem; }
.lightbox-prev { top: 50%; left: 0.35rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 0.35rem; transform: translateY(-50%); }

.lightbox-caption {
  position: absolute;
  right: 3.2rem;
  bottom: 0.25rem;
  left: 3.2rem;
  margin: 0;
  color: #fff;
  text-align: center;
}

@media (max-width: 850px) {
  .room-site-header { align-items: flex-start; }
  .room-brand span { display: none; }
  .room-site-nav { flex-wrap: wrap; }
  .room-site-nav a:not(.nav-book) { display: none; }
  .room-hero-visual { min-height: 560px; }
  .room-facts { grid-template-columns: repeat(2, 1fr); }
  .room-fact:nth-child(3) { border-left: 0; }
  .room-fact:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 0.85rem; }
  .room-content { grid-template-columns: 1fr; }
  .room-practical { grid-template-columns: 1fr; }
  .booking-panel { grid-template-columns: 1fr; }
  .other-room-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .breadcrumbs,
  .room-hero,
  .room-content,
  .room-gallery-section,
  .room-practical,
  .other-rooms,
  .booking-panel { width: min(100% - 1.25rem, 1040px); }
  .room-hero-visual { min-height: 520px; }
  .room-hero-copy { bottom: 2rem; }
  .room-facts { width: calc(100% - 2.5rem); }
  .room-gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .room-gallery a,
  .room-gallery a:first-child,
  .room-gallery a:nth-child(2),
  .room-gallery a:nth-child(4),
  .room-gallery a:nth-child(5) { grid-column: 1; }
  .other-room-grid { grid-template-columns: 1fr; }
  .lightbox-stage { padding: 3.2rem 0.25rem; }
  .lightbox-caption { right: 3rem; left: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
