@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --cream: #fbf6ee;
  --sand: #f3eadb;
  --sand-2: #e9dcc6;
  --ink: #2d2a24;
  --muted: #6c6457;
  --line: #e2d6c2;
  --terra: #b4552f;
  --terra-dark: #93421f;
  --olive: #4f5a3e;
  --olive-dark: #3d4630;
  --sage: #7fa894;
  --free: #dcebd3;
  --free-ink: #3f5a35;
  --booked: #e7a27f;
  --pool: #2d8aa0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(45, 42, 36, .06), 0 8px 24px -12px rgba(45, 42, 36, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --wrap: 1180px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h3 small, h3 em { font-size: .8em; font-weight: 500; color: var(--muted); font-style: normal; }
h3 em { color: var(--terra); font-size: 1em; font-style: italic; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 2; }
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.is-solid, .site-header.is-open { background: rgba(251, 246, 238, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; font: 600 1.35rem/1 var(--serif); letter-spacing: .04em; }
.brand:hover { color: inherit; }
.brand-sun { width: 26px; height: 26px; color: #e2a048; }
.brand-sun g { stroke: none; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: inherit; text-decoration: none; font-size: .93rem; font-weight: 500; padding: .5rem .75rem; border-radius: 999px; }
.nav a:hover { background: rgba(127, 127, 127, .14); color: inherit; }
.nav a.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--terra); }
.nav .nav-cta { border: 1.5px solid currentColor; margin-left: .4rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background .25s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
.is-open .nav-toggle-bars { background: transparent; }
.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: rgba(251, 246, 238, .98); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { margin: 1rem 0 0; text-align: center; border-radius: 999px; border: 0; background: var(--terra); color: #fff; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3a3128; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 45% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 10, .45) 0%, rgba(20, 16, 10, 0) 22%, rgba(20, 16, 10, 0) 45%, rgba(20, 16, 10, .72) 100%); }
.hero-content { position: relative; padding-bottom: clamp(5.5rem, 12vh, 8rem); }
.hero-kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .92; margin-bottom: .6rem; }
.hero h1 { font-size: clamp(3.2rem, 2rem + 6vw, 6.5rem); font-weight: 500; letter-spacing: .01em; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero-script { font: 500 clamp(1.8rem, 1.3rem + 2vw, 2.7rem)/1.1 var(--script); margin: .1em 0 1.4rem; color: #fde6c4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.facts-bar { background: var(--olive); color: #f4efe4; position: relative; }
.facts { list-style: none; margin: 0 auto; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.facts li { display: flex; align-items: center; gap: .7rem; font-size: .88rem; line-height: 1.3; }
.facts svg { width: 30px; height: 30px; flex: none; color: #e9c48a; }
.facts strong { display: block; font-size: .98rem; color: #fff; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:last-child { grid-column: 1 / -1; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-sand { background: var(--sand); }
.section-olive { background: var(--olive-dark); color: #f1ece1; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--terra); margin: 0 0 .7rem; }
.lead { font-size: 1.18rem; line-height: 1.65; }

.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro-grid > div:last-child { padding-top: .4rem; color: #4a453c; }
.intro-grid > div:last-child .eyebrow { margin-bottom: 1.2rem; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cards-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 1.5rem; }
.cards-3 .card { grid-column: span 2; }
.cards-3 .card:nth-child(n+4) { grid-column: span 3; }
.cards-3 .card:nth-child(n+4) .card-media { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { .cards-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cards-3 .card, .cards-3 .card:nth-child(n+4) { grid-column: auto; } .cards-3 .card:nth-child(n+4) .card-media { aspect-ratio: 4 / 3; } .cards-3 .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 38% 1fr; }
.cards-3 .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.card-body { padding: 1.3rem 1.4rem 1.1rem; font-size: .95rem; color: #4a453c; }
.card-body h3 { color: var(--ink); }
.card-media, .feature-media { position: relative; padding: 0; border: 0; background: var(--sand-2); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.card-media img, .feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cards-3 .card-media { aspect-ratio: 4 / 3; }
.card-media:hover img, .feature-media:hover img { transform: scale(1.04); }
.zoom { position: absolute; right: .7rem; bottom: .7rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .88); opacity: 0; transition: opacity .2s; }
.zoom::before { content: ""; position: absolute; inset: 9px 11px 11px 9px; border: 2px solid var(--ink); border-radius: 50%; }
.zoom::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--ink); right: 7px; bottom: 9px; transform: rotate(45deg); }
.card-media:hover .zoom, .feature-media:hover .zoom, .card-media:focus-visible .zoom, .feature-media:focus-visible .zoom { opacity: 1; }
@media (max-width: 1000px) { .cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .card { grid-template-columns: 1fr; } .card-media { aspect-ratio: 4 / 3; } }

.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.feature-rev .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.feature-body { color: #4a453c; }
.feature-body h3 { font-size: 1.7rem; color: var(--ink); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-rev .feature-media { order: 0; } }

.band { margin: 0; height: clamp(240px, 42vw, 560px); overflow: hidden; background: #0f1c26; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services & équipements ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); font-size: .95rem; color: #4a453c; }
.service svg { width: 40px; height: 40px; color: var(--terra); margin-bottom: .8rem; }
.service h3 { color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.list-title { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; font-size: 1.6rem; }
.equip { columns: 4 230px; column-gap: 2rem; }
.equip-group { break-inside: avoid; margin-bottom: 1.6rem; }
.equip-group h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); border-bottom: 1px solid var(--sand-2); padding-bottom: .5rem; margin-bottom: .6rem; }
.equip ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.equip li { padding: .2rem 0 .2rem 1.4rem; position: relative; }
.equip li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .7rem; height: .35rem; border: solid var(--sage); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-50%); }

/* ---------- Galerie ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; }
.chip { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: .5rem 1rem; font: 500 .92rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip-n { opacity: .6; font-size: .85em; margin-left: .15em; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.gallery li[hidden] { display: none; }
.g-item { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--sand-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.g-item:hover img { transform: scale(1.05); filter: saturate(1.08); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; gap: .5rem; } }

/* ---------- Points d'intérêt ---------- */
.poi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.poi-item { display: grid; grid-template-columns: 112px 1fr; gap: 1.4rem; align-items: start; color: #4a453c; font-size: .97rem; }
.poi-item img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--sand), 0 0 0 6px var(--sand-2); }
.poi-item h3 { color: var(--ink); font-size: 1.4rem; margin-top: .3rem; }
.poi-more { align-self: center; background: var(--sand); border-radius: var(--radius); padding: 1.6rem 1.8rem; font-size: 1.02rem; }
.poi-more p:last-child { margin: 0; }
.script { font: 500 1.8rem/1.1 var(--script); color: var(--terra); }
@media (max-width: 900px) { .poi { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .poi-item { grid-template-columns: 1fr; } }

/* ---------- Réserver ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.section-olive .eyebrow { color: #e9c48a; }
.section-olive h2 { color: #fff; }
.book-intro > p { color: #d9d3c4; font-size: 1.05rem; }
.book-actions { margin: 1.8rem 0 0; }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.02rem; text-align: center; line-height: 1.3; }
.section-olive .btn-terra, .section-olive .btn-terra:hover { color: #fff; }
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.book-intro .book-hint { font-size: .85rem; color: #b9b2a2; margin: .7rem 0 0; }
.book-card { background: var(--cream); color: var(--ink); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .5); }
.book-media { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.book-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.book-media:hover img { transform: scale(1.04); }
.book-facts { list-style: none; margin: 0; padding: 1.2rem 1.5rem 1.4rem; font-size: .95rem; color: #4a453c; }
.book-facts li { padding: .45rem 0; border-bottom: 1px solid var(--sand-2); }
.book-facts li:last-child { border-bottom: 0; }
.book-facts strong { color: var(--ink); }

.photo-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; padding: .45rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--ink); font: 500 .88rem/1 var(--sans); cursor: zoom-in; }
.photo-link:hover { border-color: var(--ink); }
.photo-link svg { width: 18px; height: 18px; color: var(--terra); }

/* ---------- Pied de page ---------- */
.site-footer { background: #2a2620; color: #bdb4a3; font-size: .9rem; padding: 2.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.footer-inner p { margin: 0; }
.footer-brand { font: 600 1.15rem var(--serif); color: #fff; }
.footer-brand span { font: 400 .9rem var(--sans); color: #bdb4a3; }
.site-footer a { color: #e9c48a; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14, 12, 9, .94); display: grid; place-items: center; padding: 3.5rem 4.5rem; animation: lb-in .2s ease; }
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; max-width: 100%; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100svh - 9rem); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #222; }
.lb-caption { color: #e8e1d3; font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn svg { width: 24px; height: 24px; stroke-width: 2; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.4rem; left: 1.5rem; margin: 0; color: #bdb4a3; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
@media (max-width: 700px) {
  .lightbox { padding: 3.5rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
body.lb-open { overflow: hidden; }

/* ---------- Page secondaire ---------- */
/* pied de page collé en bas même si la page est courte */
.page-body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-body .page { flex: 1 0 auto; width: 100%; }
.page { max-width: 46rem; margin: 0 auto; padding: calc(var(--header-h) + 3rem) 1.25rem 4rem; }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.page h2 { font-size: 1.4rem; margin-top: 2rem; }
.page-header { background: rgba(251, 246, 238, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

/* ---------- Bon à savoir / note ---------- */
.good-to-know { list-style: none; margin: 1.75rem 0 0; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; border: 1.5px dashed var(--sand-2); border-radius: var(--radius); font-size: .95rem; color: #4a453c; }
.good-to-know strong { color: var(--ink); }
.rating { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .95rem; }
.rating-score { flex: none; font: 600 2.2rem/1 var(--serif); color: #fff; }
.rating-score small { font-size: .5em; color: #d9d3c4; }
.section-olive a { color: #e9c48a; }
@media (max-width: 560px) { .kicker-long { display: none; } }
