:root {
  --ink: #07171f;
  --ink-soft: #102a35;
  --ink-muted: #183944;
  --ivory: #f6f1e8;
  --ivory-soft: #e8dfd0;
  --paper: #fffdf9;
  --gold: #d6b56d;
  --gold-deep: #aa8240;
  --berry: #8d294f;
  --white: #ffffff;
  --muted: #a9b7bc;
  --success: #6f9675;
  --danger: #dc8b87;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 4%, rgba(214, 181, 109, 0.1), transparent 28rem),
    var(--ink);
  color: var(--ivory);
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-family: "Alice", serif;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading em {
  color: var(--gold);
  font-family: "Pinyon Script", cursive;
  font-size: 1.25em;
  font-weight: 400;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); background: #e7c77e; }
.button--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(7, 23, 31, 0.22);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.button--ghost:hover { border-color: var(--gold); background: rgba(7, 23, 31, 0.7); }

.announcement {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: center;
}
.announcement span { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* Homepage */
.home-hero {
  width: min(100% - 40px, 1360px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) 0 clamp(58px, 7vw, 100px);
}
.home-intro { max-width: 870px; margin-bottom: clamp(34px, 5vw, 58px); }
.home-intro h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Alice", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.home-intro h1 em {
  color: var(--gold);
  font-family: "Pinyon Script", cursive;
  font-size: 1.18em;
  font-weight: 400;
}
.home-intro__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ivory-soft);
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.stay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stay-card {
  position: relative;
  min-height: clamp(520px, 64vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(214, 181, 109, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.stay-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 31, 0.05) 20%, rgba(7, 23, 31, 0.9) 92%);
}
.stay-card__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stay-card:hover .stay-card__image { transform: scale(1.035); }
.stay-card__top {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(7, 23, 31, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.stay-card__content { position: absolute; inset: auto 0 0; padding: clamp(26px, 4vw, 48px); }
.stay-card__name {
  margin: 0;
  font-family: "Alice", serif;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
}
.stay-card__details { margin: 13px 0 24px; color: var(--ivory-soft); font-size: 0.93rem; }
.stay-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.experience { margin-top: 40px; padding: clamp(80px, 10vw, 140px) 20px; background: var(--ivory); color: var(--ink); }
.experience__inner, .reviews__inner, .contact-band__inner, .content-shell { width: min(100%, var(--content)); margin: 0 auto; }
.experience__header { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: end; }
.experience__intro { max-width: 520px; margin: 0; color: #496069; font-size: 1.08rem; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.experience-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(7, 23, 31, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}
.experience-card__number { color: var(--gold-deep); font-family: "Alice", serif; font-size: 1rem; }
.experience-card h3 { margin: 54px 0 12px; font-family: "Alice", serif; font-size: 1.45rem; font-weight: 400; }
.experience-card p { margin: 0; color: #52656c; font-size: 0.92rem; }

.reviews { padding: clamp(80px, 10vw, 140px) 20px; }
.reviews__header { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 42px; }
.reviews__header p:last-child { max-width: 420px; margin: 0; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card {
  min-height: 300px;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(214, 181, 109, 0.3);
  border-radius: var(--radius-md);
  background: var(--ink-soft);
  scrollbar-width: thin;
}
.contact-band { padding: 0 20px 100px; }
.contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: var(--berry);
  box-shadow: var(--shadow);
}
.contact-band h2 {
  max-width: 650px;
  margin: 0;
  font-family: "Alice", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
}

/* Existing inner-page content */
.IlsParlentDeNous { padding: clamp(56px, 8vw, 100px) 20px; }
.IlsParlentDeNous + .IlsParlentDeNous { padding-top: 0; }
.IlsParlentDeNous .bar { width: 42px; height: 2px; margin: 0 auto 20px; border-radius: 999px; background: var(--gold); }
.IlsParlentDeNous #titre {
  max-width: 920px;
  margin: 0 auto 40px;
  color: var(--gold);
  font-family: "Alice", serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
}
.text, .regles {
  width: min(100%, 840px);
  margin: 0 auto;
  color: var(--ivory-soft);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  text-align: left;
}
.regles {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(214, 181, 109, 0.25);
  border-radius: var(--radius-md);
  background: var(--ink-soft);
}
.legal-copy b { color: var(--gold); font-family: "Alice", serif; font-size: 1.08em; font-weight: 400; }
.legal-copy li { margin: 0 0 8px 20px; padding-left: 5px; }
.info-medicale { display: block; padding: 24px; border-radius: 12px; background: rgba(214, 181, 109, 0.1); color: var(--ivory); text-align: center; }
.histoire {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  margin: 0 auto;
}
.textHistoire { color: var(--ivory-soft); font-size: 1.05rem; }
.textHistoire p { margin-top: 0; }
.textHistoire b { color: var(--gold); font-family: "Alice", serif; font-size: 1.2em; font-weight: 400; }
.photoHistoireContainer { position: sticky; top: 120px; }
#photoHistoire { width: 100%; max-height: 760px; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
#bonCadeau { width: min(100% - 40px, 950px); margin: 0 auto clamp(70px, 9vw, 120px); }
#bonCadeau img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.story-hero {
  width: min(100% - 40px, var(--content));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) 0;
}
.story-hero h1 {
  margin: 0;
  font-family: "Alice", serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.story-hero h1 em { color: var(--gold); font-family: "Pinyon Script", cursive; font-size: 1.15em; font-weight: 400; }
.story-hero__lead { max-width: 600px; margin: 26px 0 0; color: var(--ivory-soft); font-size: 1.08rem; }
.story-hero img { width: 100%; max-height: 660px; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.story-content { padding: clamp(80px, 10vw, 140px) 20px; background: var(--ivory); color: var(--ink); }
.story-content__inner { width: min(100%, 880px); margin: 0 auto; }
.story-chapter { display: grid; grid-template-columns: 150px 1fr; gap: 42px; padding: 48px 0; border-top: 1px solid rgba(7, 23, 31, 0.16); }
.story-chapter:last-child { border-bottom: 1px solid rgba(7, 23, 31, 0.16); }
.story-chapter__number { color: var(--gold-deep); font-family: "Alice", serif; font-size: 1rem; }
.story-chapter h2 { margin: 0 0 18px; font-family: "Alice", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; }
.story-chapter p { margin: 0 0 18px; color: #43585f; }
.story-chapter ul { margin: 0; padding-left: 20px; color: #43585f; }
.story-chapter li + li { margin-top: 10px; }

@media (max-width: 920px) {
  .stay-grid, .experience__header, .histoire, .story-hero { grid-template-columns: 1fr; }
  .experience__header { gap: 24px; }
  .experience-grid, .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 220px; }
  .reviews__header, .contact-band__inner { align-items: flex-start; flex-direction: column; }
  .photoHistoireContainer { position: static; }
}

@media (max-width: 640px) {
  .announcement { display: block; }
  .announcement span { display: block; margin-left: 0; }
  .home-hero { width: min(100% - 24px, 1360px); padding-top: 42px; }
  .stay-card { min-height: 520px; border-radius: 20px; }
  .stay-card__top { top: 16px; right: 16px; }
  .stay-card__content { padding: 22px; }
  .stay-card__actions .button { width: 100%; }
  .experience-card { min-height: 0; }
  .experience-card h3 { margin-top: 28px; }
  .contact-band__inner { padding: 30px 24px; border-radius: 20px; }
  .story-chapter { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
