* {
  box-sizing: border-box;
}

:root {
  --black: #070405;
  --deep-black: #0e090a;
  --stone: #b9b1a8;
  --ivory: #f1e5d9;
  --muted: #c8bbb2;
  --wine: #5d101f;
  --red: #a92932;
  --gold: #d7a45d;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ivory);
  background: var(--black);
  font-family: "Cinzel", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

/* PAGE INDEX */
.landing-page {
  overflow: hidden;
  background: #050304;
}

.landing {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, #160a0d 0, #080405 58%, #020101 100%);
}

/*
  L'image hero2 mesure 1536 × 1024, soit un ratio 3/2.
  Ce cadre conserve toujours ce ratio et tient entièrement dans l'écran.
  Sur smartphone, l'image n'est donc jamais recadrée : elle reste visible en entier.
*/
.hero-stage {
  position: relative;
  width: min(100vw, calc(100svh * 1.5));
  height: min(100svh, calc(100vw / 1.5));
  flex: none;
  overflow: hidden;
  background: #070405;
  box-shadow: 0 0 80px rgba(0, 0, 0, .72);
}

.hero-picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/*
  Le bouton est volontairement transparent : le véritable bouton ENTER
  est déjà dessiné dans hero2.png. La zone cliquable suit les coordonnées
  du bouton dans l'image, quelle que soit la taille de l'écran.
*/
.enter-hotspot {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 78.7%;
  width: 27%;
  height: 11.5%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.enter-hotspot:hover,
.enter-hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.035);
  box-shadow:
    0 0 0 2px rgba(239, 185, 108, .5),
    0 0 28px rgba(213, 61, 31, .62);
  filter: brightness(1.15);
  outline: none;
}

.enter-hotspot:active {
  transform: translate(-50%, -50%) scale(.985);
}

.entry-hint {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: max(9px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(4, 2, 3, .58);
  color: rgba(255, 245, 232, .76);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-aspect-ratio: 3 / 2) {
  .hero-stage {
    width: 100vw;
    height: calc(100vw / 1.5);
  }
}

@media (min-aspect-ratio: 3 / 2) {
  .hero-stage {
    width: calc(100svh * 1.5);
    height: 100svh;
  }
}

@media (max-width: 620px) {
  .enter-hotspot {
    /* Zone légèrement agrandie pour être plus facile à toucher au doigt. */
    width: 31%;
    height: 15%;
  }

  .entry-hint {
    font-size: 8px;
    letter-spacing: .14em;
  }
}

/* PAGE ACCUEIL */
.home-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(106, 21, 30, .18), transparent 32%),
    linear-gradient(180deg, #10090b, #060404 72%);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4.5vw, 72px);
  background: rgba(5, 3, 4, .76);
  border-bottom: 1px solid rgba(214, 178, 153, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  font-family: "UnifrakturCook", serif;
  font-size: clamp(30px, 3vw, 42px);
  color: #cbc3bb;
  text-shadow: 0 2px 0 #302b29, 0 0 14px rgba(154, 28, 35, .55);
}

.topbar nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
}

.topbar nav a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.topbar nav a:hover {
  color: #fff;
}

.intro-section {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  align-items: stretch;
  padding-top: 78px;
}

.intro-image {
  min-height: calc(100svh - 78px);
  overflow: hidden;
}

.intro-image img {
  height: 100%;
  min-height: calc(100svh - 78px);
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.04);
}

.intro-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 120px) clamp(32px, 6vw, 90px);
  background:
    linear-gradient(135deg, rgba(45, 9, 14, .55), transparent 52%),
    #0d0809;
  border-left: 1px solid rgba(196, 157, 132, .18);
}

.intro-copy::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(191, 151, 125, .13);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #bb6f72;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.intro-copy h1,
.room-copy h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

.intro-copy h1 {
  max-width: 620px;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 1.02;
}

.stone-line {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 2px;
  margin: 30px 0;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}

.intro-copy p:not(.eyebrow),
.room-copy p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  color: #c7bbb3;
  font-family: Georgia, serif;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
}

.discover-button {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 34px;
  padding: 15px 22px;
  border: 1px solid rgba(210, 164, 107, .4);
  background: linear-gradient(180deg, #651423, #29080e);
  color: #f4dfcb;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}

.discover-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.room-section {
  display: grid;
  grid-template-columns: minmax(340px, .7fr) minmax(0, 1.3fr);
  min-height: 82svh;
  border-top: 1px solid rgba(190, 150, 126, .15);
}

.room-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 110px) clamp(32px, 6vw, 90px);
  background:
    radial-gradient(circle at 80% 20%, rgba(115, 23, 31, .22), transparent 36%),
    #090607;
}

.room-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.07;
}

.room-image {
  min-height: 82svh;
  overflow: hidden;
}

.room-image img {
  height: 100%;
  min-height: 82svh;
  object-fit: cover;
  object-position: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #8f817b;
  border-top: 1px solid rgba(196, 155, 129, .12);
  background: #050303;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

footer a {
  font-family: "UnifrakturCook", serif;
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .landing {
    background-position: 50% center;
  }

  .enter-zone {
    top: 77.5%;
    width: min(300px, 54vw);
  }

  .intro-section,
  .room-section {
    grid-template-columns: 1fr;
  }

  .intro-image,
  .intro-image img,
  .room-image,
  .room-image img {
    min-height: 62svh;
  }

  .intro-copy,
  .room-copy {
    min-height: 55svh;
  }

  .room-copy {
    order: 2;
  }

  .room-image {
    order: 1;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px 18px;
  }

  .topbar nav a:first-child {
    display: none;
  }

  .topbar nav a {
    font-size: 9px;
  }

  .landing {
    background-size: cover;
    background-position: 50% center;
  }

  .enter-zone {
    top: 79%;
    width: min(250px, 66vw);
    height: 62px;
  }

  .entry-hint {
    font-size: 9px;
  }

  .intro-section {
    padding-top: 70px;
  }

  .intro-image,
  .intro-image img,
  .room-image,
  .room-image img {
    min-height: 54svh;
  }

  .intro-copy::before {
    inset: 14px;
  }

  .intro-copy,
  .room-copy {
    padding: 58px 28px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
