/*
  TEMPLATE HÉBERGEMENT MULTI-PAGE — ERMITE AGENCE
  Palette de démonstration. Adapter à l’établissement, au lieu et aux photos réelles.
*/
:root {
  --forest: #101614;
  --forest-2: #1c2823;
  --cream: #eee8dc;
  --paper: #f8f5ef;
  --white: #fff;
  --terracotta: #b99a63;
  --terracotta-dark: #846939;
  --sand: #d7c49e;
  --ink: #151917;
  --muted: #6e716c;
  --line: rgba(16, 22, 20, .16);
  --line-light: rgba(255, 255, 255, .22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1380px;
  --shadow: 0 35px 100px rgba(8, 12, 10, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -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 { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; overflow-wrap: anywhere; }
h1 { margin-bottom: 1.8rem; font-size: clamp(4.1rem, 8.5vw, 9rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(3.1rem, 5.8vw, 6.4rem); }
h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
::selection { color: var(--white); background: var(--terracotta); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); padding: .75rem 1rem; color: var(--white); background: var(--forest); }
.skip-link:focus { transform: none; }
.container { width: min(var(--container), calc(100% - 56px)); margin-inline: auto; }
.section { padding: clamp(6.5rem, 10vw, 11rem) 0; }
.section-tight { padding: clamp(4rem, 6vw, 6.5rem) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-forest { color: var(--white); background: var(--forest); }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; color: var(--terracotta-dark); font-size: .65rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.section-forest .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sand); }
.lead { max-width: 720px; color: var(--muted); font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.55; }
.section-forest .lead { color: rgba(255, 255, 255, .66); }
.micro { color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .9rem 1.4rem; border: 1px solid transparent; cursor: pointer; font-size: .65rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; transition: transform .2s ease, color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-terra { color: var(--white); background: var(--terracotta); }
.button-terra:hover { background: var(--terracotta-dark); }
.button-forest { color: var(--white); background: var(--forest); }
.button-forest:hover { background: var(--forest-2); }
.button-white { color: var(--forest); background: var(--white); }
.button-outline { border-color: var(--line); }
.button-outline:hover { color: var(--white); background: var(--forest); }
.button-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .38); }
.button-outline-light:hover { color: var(--forest); background: var(--white); }
.arrow { font-size: 1.25em; transition: transform .2s ease; }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .25rem; border-bottom: 1px solid var(--terracotta); font-size: .65rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.notice { color: var(--forest); background: var(--sand); }
.notice-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: .59rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(251, 250, 246, .96); backdrop-filter: blur(16px); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 2.3rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; margin-right: auto; }
.brand-mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-family: var(--sans); font-size: 1.3rem; font-weight: 900; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: -.025em; }
.brand-copy small { margin-top: .45rem; color: var(--muted); font-size: .49rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.button) { position: relative; min-height: 44px; display: inline-flex; align-items: center; font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.main-nav a:not(.button)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--terracotta); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { width: 46px; height: 46px; display: none; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 20px; height: 1px; display: block; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -6px; }
.menu-lines::after { position: absolute; top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-lines::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; display: grid; align-content: center; padding: 8rem 2rem 3rem; color: var(--white); background: var(--forest); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .22s ease, transform .22s ease; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: .72rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: clamp(2.1rem, 9vw, 4rem); line-height: 1; }
.mobile-menu-foot { margin-top: 2rem; color: var(--sand); font-size: .63rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.hero { position: relative; min-height: min(930px, calc(100svh - 126px)); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--forest); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 31, 26, .86) 0%, rgba(13, 31, 26, .5) 44%, rgba(13, 31, 26, .08) 75%); content: ""; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 7rem 0 10rem; }
.hero-copy { max-width: 850px; }
.hero h1 em { display: block; color: var(--sand); font-weight: 400; }
.hero .lead { max-width: 600px; color: rgba(255, 255, 255, .76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.booking-bar-wrap { position: relative; z-index: 3; margin-top: -68px; }
.booking-bar { display: grid; grid-template-columns: 1fr 1fr .8fr auto; color: var(--forest); background: var(--white); box-shadow: var(--shadow); }
.booking-field { min-height: 136px; display: grid; align-content: center; gap: .35rem; padding: 1.4rem 1.8rem; border-right: 1px solid var(--line); }
.booking-field span { color: var(--muted); font-size: .6rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.booking-field strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.booking-bar .button { min-width: 210px; }

.intro-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(3rem, 8vw, 9rem); }
.intro-copy { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5.3vw, 6rem); letter-spacing: -.05em; line-height: 1.02; }
.intro-copy em { color: var(--terracotta); font-weight: 400; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { justify-self: end; }

.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stay-card { display: grid; color: var(--forest); background: var(--white); }
.stay-image { position: relative; min-height: 430px; overflow: hidden; }
.stay-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.stay-card:hover .stay-image img { transform: scale(1.025); }
.stay-index { position: absolute; top: 1rem; left: 1rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: rgba(29, 57, 50, .82); font-family: var(--serif); }
.stay-copy { min-height: 250px; display: flex; flex-direction: column; padding: 1.7rem; }
.stay-copy h3 { margin-bottom: .8rem; }
.stay-copy p { color: var(--muted); }
.stay-copy .text-link { align-self: flex-start; margin-top: auto; }

.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; }
.story-image { min-width: 0; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; align-content: center; padding: clamp(4rem, 8vw, 9rem); color: var(--white); background: var(--forest); }
.story-copy .lead { color: rgba(255, 255, 255, .68); }
.feature-list { display: grid; gap: 0; margin: 2.5rem 0; border-top: 1px solid var(--line-light); }
.feature-item { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.feature-item span { color: var(--sand); font-family: var(--serif); font-size: 1.2rem; }
.feature-item strong { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }

.experience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.experience-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .22s ease, background .22s ease; }
.experience-card:hover { color: var(--white); background: var(--terracotta); }
.experience-card span { font-family: var(--serif); font-size: 1.1rem; }
.experience-card h3 { margin-top: auto; font-size: 2rem; }
.experience-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.experience-card:hover p { color: rgba(255, 255, 255, .7); }
.experience-arrow { position: absolute; top: 1.5rem; right: 1.5rem; }

.quote-section { padding: clamp(8rem, 13vw, 14rem) 0; color: var(--white); text-align: center; background: var(--terracotta); }
.quote-section blockquote { max-width: 1040px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 6.4rem); letter-spacing: -.05em; line-height: 1.02; }
.quote-section p { margin-top: 2rem; font-size: .65rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }

.cta-band { color: var(--white); background: var(--forest); }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; }
.cta-grid h2 { margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem; }

.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--forest); }
.page-hero::after { position: absolute; top: -13rem; right: -4rem; width: 500px; height: 500px; border: 1px solid rgba(216, 189, 143, .28); border-radius: 50%; content: ""; }
.page-hero-inner { position: relative; z-index: 1; min-height: 540px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; padding: 6rem 0; }
.page-hero h1 { margin-bottom: 0; }
.page-hero h1 em { display: block; color: var(--sand); font-weight: 400; }
.page-hero-aside { padding-left: 2rem; border-left: 1px solid var(--line-light); }
.page-hero-aside p { color: rgba(255, 255, 255, .68); font-family: var(--serif); font-size: 1.15rem; }
.breadcrumbs { margin-bottom: 1.3rem; color: rgba(255, 255, 255, .48); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--sand); }

.content-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.content-layout > *, .page-hero-inner > *, .section-head > *, .contact-grid > * { min-width: 0; }
.side-nav { position: sticky; top: 8rem; border-top: 1px solid var(--line); }
.side-nav strong { display: block; padding: 1.1rem 0; color: var(--terracotta-dark); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; }
.side-nav a { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.side-nav a::after { color: var(--terracotta-dark); content: "↗"; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--ink); }
.rich-content { max-width: 880px; }
.rich-content > p:first-of-type { font-family: var(--serif); font-size: clamp(1.8rem, 3.3vw, 2.9rem); line-height: 1.28; color: var(--ink); }
.rich-content h2 { margin-top: 4.5rem; font-size: clamp(2.7rem, 4.5vw, 4.9rem); }
.rich-content h3 { margin-top: 2.5rem; font-size: 1.9rem; }
.rich-content p, .rich-content li { color: var(--muted); }
.rich-content ul { display: grid; gap: .8rem; padding-left: 1.2rem; }
.info-note { margin: 3rem 0; padding: 2rem; border-left: 4px solid var(--terracotta); background: var(--cream); }
.info-note strong { display: block; margin-bottom: .5rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.info-note p { margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 2.5rem 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-card { min-height: 210px; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-card span { color: var(--terracotta-dark); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.detail-card h3 { margin: 3rem 0 .7rem; font-size: 1.6rem; }
.detail-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 380px 380px; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; background: var(--forest); }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-label { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .8rem 1rem; color: var(--white); background: rgba(29, 57, 50, .78); font-size: .61rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.4rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--terracotta-dark); content: "+"; font-size: 1.6rem; }
details[open] summary::after { content: "–"; }
details p { max-width: 720px; padding: 0 2rem 1.5rem 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
.contact-details { position: sticky; top: 8rem; }
.contact-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.contact-row { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.contact-row span { display: block; color: var(--terracotta-dark); font-size: .61rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-row p { margin: .3rem 0 0; color: var(--muted); }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--cream); }
.field { display: grid; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note, .form-actions { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: .72rem; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.map-panel { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--forest); }
.map-panel::before, .map-panel::after { position: absolute; border: 1px solid rgba(216, 189, 143, .28); border-radius: 50%; content: ""; }
.map-panel::before { width: 560px; height: 560px; }
.map-panel::after { width: 280px; height: 280px; }
.map-panel-copy { position: relative; z-index: 1; max-width: 350px; padding: 2rem; text-align: center; }
.map-panel-copy strong { display: block; margin-bottom: .8rem; color: var(--sand); font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.map-panel-copy p { color: rgba(255, 255, 255, .62); }

.site-footer { color: var(--white); background: var(--forest); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 4rem; padding: 5rem 0; }
.footer-brand .brand-mark { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.footer-brand .brand-copy small { color: rgba(255, 255, 255, .5); }
.footer-brand p { max-width: 350px; color: rgba(255, 255, 255, .48); font-size: .86rem; }
.footer-col strong { display: block; margin-bottom: 1rem; color: var(--sand); font-size: .61rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-col nav { display: grid; gap: .55rem; color: rgba(255, 255, 255, .6); font-size: .82rem; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .4); font-size: .65rem; }
.footer-bottom a { color: var(--sand); }
.mobile-actions { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 80; display: none; grid-template-columns: 1fr 1fr; padding: 6px; background: rgba(29, 57, 50, .97); box-shadow: var(--shadow); }
.mobile-action { min-height: 48px; display: grid; place-items: center; color: var(--white); font-size: .61rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.mobile-action-primary { background: var(--terracotta); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .stay-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-col:last-child { grid-column: 2; }
}
@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .notice-inner { justify-content: center; }
  .notice-inner span:first-child { display: none; }
  .hero::after { background: linear-gradient(90deg, rgba(13, 31, 26, .78), rgba(13, 31, 26, .22)); }
  .hero-inner { padding-bottom: 9rem; }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-bar .button { min-height: 90px; grid-column: 1 / -1; }
  .intro-grid, .section-head, .story-grid, .cta-grid, .page-hero-inner, .content-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head .lead { justify-self: start; }
  .story-image { min-height: 620px; }
  .cta-actions { justify-content: flex-start; }
  .page-hero-inner { min-height: 480px; gap: 2rem; }
  .page-hero-aside { padding: 1.5rem 0 0; border-top: 1px solid var(--line-light); border-left: 0; }
  .side-nav, .contact-details { position: static; }
  .side-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .side-nav strong { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 520px); }
  .gallery-item:first-child { grid-row: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .mobile-actions { display: grid; }
  .site-footer { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(3.6rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(2.9rem, 13.5vw, 4.2rem); }
  .brand-copy strong { font-size: 1.15rem; }
  .hero { min-height: 820px; }
  .hero-inner { padding-top: 5rem; }
  .hero-actions .button { width: 100%; }
  .booking-bar { grid-template-columns: 1fr; }
  .booking-field { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-bar .button { grid-column: 1; }
  .stay-grid { grid-template-columns: 1fr; }
  .stay-image { min-height: 390px; }
  .story-image { min-height: 480px; }
  .story-copy { padding: 4rem 1.2rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 270px; }
  .side-nav, .detail-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-rows: repeat(3, 390px); }
  .booking-form { grid-template-columns: 1fr; padding: 1.35rem; }
  .field-full, .form-note, .form-actions { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 2.3rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* PALACE EDITION — luxe éditorial, profondeur et mouvement */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(185, 154, 99, .07), transparent 28rem),
    var(--paper);
}
h1, h2, h3 { letter-spacing: -.055em; }
h1 { font-size: clamp(4.4rem, 9.2vw, 10.4rem); }
h2 { font-size: clamp(3.25rem, 6.3vw, 7rem); }
.section { padding: clamp(8rem, 12vw, 14rem) 0; }
.section-tight { padding: clamp(5rem, 7vw, 8rem) 0; }
.section-cream {
  background:
    linear-gradient(135deg, rgba(185, 154, 99, .06), transparent 44%),
    var(--cream);
}
.section-forest {
  background:
    radial-gradient(circle at 75% 30%, rgba(185, 154, 99, .12), transparent 30rem),
    var(--forest);
}
.eyebrow {
  gap: 1rem;
  color: var(--terracotta-dark);
  font-size: .6rem;
  letter-spacing: .26em;
}
.eyebrow::before { width: 48px; }
.lead { line-height: 1.7; }

.button {
  position: relative;
  min-height: 59px;
  overflow: hidden;
  padding-inline: 1.7rem;
  letter-spacing: .18em;
  transition: border-color .35s ease, color .35s ease, transform .35s ease, background-color .35s ease;
}
.button::before {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .13);
  content: "";
  transform: translateX(-102%) skewX(-16deg);
  transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}
.button:hover::before { transform: translateX(102%) skewX(-16deg); }
.button:hover { transform: translateY(-3px); }
.button-terra {
  color: #141713;
  background: var(--terracotta);
}
.button-terra:hover { background: #cbb078; }
.button-forest:hover { background: #26332e; }
.button-outline:hover { color: var(--paper); background: var(--forest); }
.text-link {
  gap: .85rem;
  border-color: rgba(132, 105, 57, .65);
  letter-spacing: .17em;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--sand);
  background: #0b0f0d;
  transition: clip-path 1.15s cubic-bezier(.76, 0, .24, 1), visibility 0s 1.15s;
  clip-path: inset(0 0 0 0);
}
.page-curtain::before,
.page-curtain::after {
  position: absolute;
  border: 1px solid rgba(215, 196, 158, .2);
  border-radius: 50%;
  content: "";
}
.page-curtain::before { width: min(72vw, 760px); aspect-ratio: 1; }
.page-curtain::after { width: min(40vw, 420px); aspect-ratio: 1; }
.page-curtain span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 5rem);
  font-style: italic;
  letter-spacing: -.04em;
}
body.is-loaded .page-curtain {
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
body.is-leaving .page-curtain {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

.notice {
  color: #1b1b17;
  background: var(--sand);
}
.notice-inner { min-height: 36px; letter-spacing: .2em; }
.site-header {
  border-color: rgba(16, 22, 20, .12);
  background: rgba(248, 245, 239, .92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  backdrop-filter: blur(22px);
  transition: min-height .4s ease, background .4s ease, border-color .4s ease, transform .4s ease;
}
.header-inner { min-height: 104px; transition: min-height .4s ease; }
body.is-scrolled .site-header { box-shadow: 0 12px 50px rgba(8, 12, 10, .08); }
body.is-scrolled .header-inner { min-height: 78px; }
.brand-mark {
  position: relative;
  width: 56px;
  height: 56px;
  border-color: rgba(132, 105, 57, .6);
  color: var(--terracotta-dark);
}
.brand-mark::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(132, 105, 57, .25);
  border-radius: inherit;
  content: "";
}
.brand-copy strong { font-size: 1.55rem; letter-spacing: -.04em; }
.brand-copy small { color: var(--terracotta-dark); letter-spacing: .22em; }
.main-nav { gap: 1.9rem; }
.main-nav a:not(.button) { letter-spacing: .15em; }
.main-nav a:not(.button)::after { background: var(--terracotta); }
.mobile-menu {
  background:
    radial-gradient(circle at 85% 15%, rgba(185, 154, 99, .18), transparent 30rem),
    #0c110f;
  transition-duration: .5s;
}
.mobile-menu a { border-color: rgba(215, 196, 158, .16); }

.home .site-header {
  position: absolute;
  top: 36px;
  right: 0;
  left: 0;
  color: var(--white);
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(180deg, rgba(3, 7, 5, .46), transparent);
  box-shadow: none;
}
.home .site-header .brand-mark {
  color: var(--sand);
  border-color: rgba(255, 255, 255, .55);
}
.home .site-header .brand-copy small { color: rgba(255, 255, 255, .62); }
.home .site-header .button-terra { color: #171812; }
.home.is-scrolled .site-header {
  position: fixed;
  top: 0;
  color: var(--white);
  border-color: rgba(215, 196, 158, .16);
  background: rgba(11, 15, 13, .94);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .28);
}

.hero {
  min-height: calc(100svh - 36px);
  align-items: center;
  background: #0b100e;
}
.hero-image {
  object-position: center 46%;
  transform: scale(1.075);
  animation: palaceHero 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 7, 6, .48) 0%, rgba(4, 7, 6, .02) 36%, rgba(4, 7, 6, .55) 100%),
    radial-gradient(circle at 76% 40%, transparent 0, rgba(3, 7, 5, .08) 34%, rgba(3, 7, 5, .48) 100%);
  content: "";
}
.hero::after {
  background: linear-gradient(90deg, rgba(5, 10, 8, .86) 0%, rgba(5, 10, 8, .44) 44%, rgba(5, 10, 8, .05) 78%);
}
.hero-inner {
  z-index: 2;
  padding: clamp(12rem, 20vh, 17rem) 0 clamp(9rem, 15vh, 13rem);
}
.hero-inner.container { width: min(var(--container), calc(100% - 56px)); }
.hero-copy { max-width: 1000px; }
.hero h1 { max-width: 950px; text-wrap: balance; }
.hero h1 em {
  color: var(--sand);
  font-style: italic;
  transform: translateX(clamp(1rem, 8vw, 8rem));
}
.hero .lead { max-width: 550px; color: rgba(255, 255, 255, .7); }
.hero-monogram {
  position: absolute;
  right: clamp(2rem, 7vw, 8rem);
  bottom: clamp(6rem, 11vh, 10rem);
  z-index: 2;
  width: clamp(150px, 17vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 196, 158, .34);
  border-radius: 50%;
  color: rgba(255, 255, 255, .64);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-style: italic;
  animation: monogramFloat 7s ease-in-out infinite;
}
.hero-monogram::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 196, 158, .18);
  border-radius: inherit;
  content: "";
}
.booking-bar-wrap { z-index: 4; margin-top: -74px; }
.booking-bar {
  color: var(--white);
  border: 1px solid rgba(215, 196, 158, .2);
  background: rgba(11, 15, 13, .96);
  box-shadow: 0 38px 100px rgba(4, 8, 6, .34);
}
.booking-field { min-height: 148px; border-color: rgba(215, 196, 158, .16); }
.booking-field span { color: var(--sand); letter-spacing: .2em; }
.booking-field strong { color: rgba(255, 255, 255, .88); }

.intro-grid { grid-template-columns: .45fr 1.55fr; }
.intro-copy { font-size: clamp(3rem, 6vw, 7.2rem); }
.intro-copy em { color: var(--terracotta-dark); font-style: italic; }
.section-head { margin-bottom: clamp(4rem, 7vw, 7rem); }

.stay-grid { gap: 1.3rem; }
.stay-card {
  position: relative;
  color: var(--ink);
  background: transparent;
}
.stay-image { min-height: 560px; background: var(--forest); }
.stay-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 10, 9, .48));
  content: "";
  opacity: .45;
  transition: opacity .6s ease;
}
.stay-image img { transform: scale(1.035); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .8s ease; }
.stay-card:hover .stay-image img { transform: scale(1.09); }
.stay-card:hover .stay-image::after { opacity: .12; }
.stay-index {
  z-index: 1;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(8, 12, 10, .3);
  backdrop-filter: blur(8px);
}
.stay-copy {
  min-height: 280px;
  padding: 2.2rem .5rem 1rem;
  border-bottom: 1px solid rgba(132, 105, 57, .35);
}
.stay-copy h3 { font-size: clamp(2rem, 3vw, 3.2rem); }

.story-grid { min-height: 900px; }
.story-image img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.1);
  will-change: transform;
}
.story-copy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(185, 154, 99, .16), transparent 25rem),
    var(--forest);
}
.story-copy::after {
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 196, 158, .14);
  border-radius: 50%;
  content: "";
}
.story-copy > * { position: relative; z-index: 1; }
.feature-item { grid-template-columns: 65px 1fr; padding: 1.25rem 0; }
.feature-item span { color: var(--sand); font-style: italic; }

.experience-grid { border-color: rgba(132, 105, 57, .25); }
.experience-card {
  min-height: 390px;
  padding: 2rem;
  border-color: rgba(132, 105, 57, .25);
  overflow: hidden;
  transition: color .55s ease, background .55s ease, transform .55s ease;
}
.experience-card::before {
  position: absolute;
  inset: auto -25% -60% -25%;
  height: 100%;
  border-radius: 50% 50% 0 0;
  background: var(--forest);
  content: "";
  transform: translateY(100%);
  transition: transform .75s cubic-bezier(.2, .72, .2, 1);
}
.experience-card > * { position: relative; z-index: 1; }
.experience-card:hover { color: var(--white); background: transparent; transform: translateY(-5px); }
.experience-card:hover::before { transform: translateY(0); }
.experience-card:hover p { color: rgba(255, 255, 255, .66); }
.experience-card h3 { font-size: clamp(2rem, 2.6vw, 3rem); }

.quote-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 9, 8, .82), rgba(6, 9, 8, .88)),
    url("images/hero-hebergement.jpg") center/cover fixed;
}
.quote-section::before {
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(215, 196, 158, .22);
  content: "";
  pointer-events: none;
}
.quote-section blockquote { color: var(--paper); font-style: italic; }
.quote-section p { color: var(--sand); letter-spacing: .24em; }
.cta-band {
  background:
    radial-gradient(circle at 8% 100%, rgba(185, 154, 99, .16), transparent 28rem),
    #0b0f0d;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(185, 154, 99, .18), transparent 28rem),
    linear-gradient(125deg, #0b0f0d, #18221e);
}
.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, .025) 25%);
  content: "";
}
.page-hero::after {
  top: auto;
  right: clamp(2rem, 7vw, 8rem);
  bottom: -13rem;
  width: min(50vw, 650px);
  height: auto;
  aspect-ratio: 1;
  border-color: rgba(215, 196, 158, .24);
}
.page-hero-inner { min-height: 650px; padding: 8rem 0; }
.page-hero h1 { font-size: clamp(4rem, 8vw, 9rem); }
.page-hero h1 em { color: var(--sand); font-style: italic; }
.page-hero-aside { border-color: rgba(215, 196, 158, .26); }
.breadcrumbs { color: rgba(255, 255, 255, .42); letter-spacing: .18em; }

.side-nav { border-color: rgba(132, 105, 57, .28); }
.side-nav strong { color: var(--terracotta-dark); letter-spacing: .2em; }
.side-nav a { border-color: rgba(132, 105, 57, .22); }
.side-nav a::after { transition: transform .3s ease; }
.side-nav a:hover::after { transform: translate(3px, -3px); }
.rich-content > p:first-of-type { line-height: 1.4; }
.rich-content h2 { margin-top: 6rem; }
.info-note {
  padding: 2.5rem;
  border-left-width: 1px;
  border-color: var(--terracotta);
  background: linear-gradient(120deg, rgba(185, 154, 99, .11), transparent);
}
.detail-grid { border-color: rgba(132, 105, 57, .25); }
.detail-card { min-height: 240px; border-color: rgba(132, 105, 57, .25); transition: color .4s ease, background .4s ease; }
.detail-card:hover { color: var(--white); background: var(--forest); }
.detail-card:hover p { color: rgba(255, 255, 255, .62); }

.gallery-grid { grid-template-rows: 460px 460px; gap: .7rem; }
.gallery-item img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.1);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
  will-change: transform;
}
.gallery-item:hover img { transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.15); }
.gallery-label {
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(8, 12, 10, .6);
  backdrop-filter: blur(12px);
}
.booking-form {
  border: 1px solid rgba(132, 105, 57, .22);
  background:
    linear-gradient(135deg, rgba(185, 154, 99, .1), transparent 45%),
    var(--cream);
}
.field input, .field select, .field textarea { border-color: rgba(132, 105, 57, .3); background: rgba(255, 255, 255, .7); }
.map-panel {
  background:
    radial-gradient(circle, rgba(185, 154, 99, .13), transparent 30%),
    var(--forest);
}

.site-footer {
  background:
    radial-gradient(circle at 5% 5%, rgba(185, 154, 99, .13), transparent 25rem),
    #090d0b;
}
.footer-main { padding: 7rem 0; }
.footer-col strong { letter-spacing: .2em; }
.footer-col a { transition: color .25s ease, transform .25s ease; }
.footer-col a:hover { color: var(--white); transform: translateX(4px); }
.mobile-actions { background: rgba(9, 13, 11, .97); }

[data-reveal] {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(44px);
  transition:
    opacity 1s cubic-bezier(.2, .75, .25, 1),
    filter 1s cubic-bezier(.2, .75, .25, 1),
    transform 1s cubic-bezier(.2, .75, .25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; filter: none; transform: none; }
[data-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2, .75, .25, 1);
  transition-delay: var(--stagger-delay, 0ms);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }

@keyframes palaceHero {
  0% { transform: scale(1.075) translate3d(0, 0, 0); }
  100% { transform: scale(1.13) translate3d(-1.2%, -.8%, 0); }
}
@keyframes monogramFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@media (max-width: 1100px) {
  .home .site-header { top: 36px; }
  .hero-monogram { opacity: .55; }
  .stay-image { min-height: 500px; }
}
@media (max-width: 820px) {
  .home .site-header { position: absolute; }
  .home.is-scrolled .site-header { position: fixed; }
  .hero::after { background: linear-gradient(90deg, rgba(5, 10, 8, .78), rgba(5, 10, 8, .2)); }
  .hero-inner.container { width: min(var(--container), calc(100% - 36px)); }
  .hero-monogram { right: 1.4rem; bottom: 3rem; width: 125px; }
  .booking-bar { background: #0b0f0d; }
  .booking-bar .button { min-height: 94px; }
  .story-grid { min-height: auto; }
  .page-hero-inner { min-height: 580px; }
  .gallery-grid { grid-template-rows: repeat(3, 560px); }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(3.8rem, 18vw, 5.7rem); }
  .section { padding: 7rem 0; }
  .notice { display: none; }
  .home .site-header { top: 0; }
  .home .header-inner { min-height: 86px; }
  .hero { min-height: 100svh; }
  .hero-inner { padding: 10rem 0 8rem; }
  .hero h1 em { transform: none; }
  .hero-monogram { display: none; }
  .booking-bar-wrap { margin-top: -42px; }
  .booking-field { min-height: 105px; }
  .stay-image { min-height: 500px; }
  .stay-copy { min-height: 235px; }
  .story-image { min-height: 560px; }
  .experience-card { min-height: 310px; }
  .quote-section { background-attachment: scroll; }
  .quote-section::before { inset: .8rem; }
  .page-hero-inner { min-height: 560px; padding: 6rem 0; }
  .gallery-grid { grid-template-rows: repeat(3, 430px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none; }
  .hero-image, .hero-monogram { animation: none !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; filter: none; transform: none; }
  .story-image img, .gallery-item img { transform: scale(1.04); }
}
