/* Layout: "village perché" — full-bleed photo, a stone panel and the booking bar overlap its foot; content below on a calm chalk ground, one ochre accent for figures. */
:root {
  --bg: #f3f4ef;
  --surface: #ffffff;
  --ink: #1d2521;
  --muted: #5b655f;
  --line: #d9ddd4;
  --accent: #26656c;      /* volets provençaux */
  --accent-ink: #ffffff;
  --ochre: #a8741c;       /* façades, pierre chaude */
  --note: #fff6d6;
  --note-ink: #6a5210;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.2rem;
  --step-4: clamp(2.2rem, 4.6vw, 3.6rem);
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121715; --surface: #1a211e; --ink: #e8ece7; --muted: #a3ada6; --line: #2e3833;
    --accent: #74b6bb; --accent-ink: #0f1513; --ochre: #d7a84c; --note: #3a3117; --note-ink: #f1dc9a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121715; --surface: #1a211e; --ink: #e8ece7; --muted: #a3ada6; --line: #2e3833;
  --accent: #74b6bb; --accent-ink: #0f1513; --ochre: #d7a84c; --note: #3a3117; --note-ink: #f1dc9a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* mockup annotations (French only, for the owner) */
.note { background: var(--note); color: var(--note-ink); font-size: .85rem; line-height: 1.45; }
.note .wrap { padding-block: 8px; display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.note strong { font-weight: 600; }
.annot { border: 1px dashed var(--ochre); background: var(--note); color: var(--note-ink); border-radius: var(--radius); padding: 10px 14px; font-size: .85rem; line-height: 1.45; }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.brand { font-family: var(--display); font-size: 1.3rem; text-decoration: none; white-space: nowrap; }
.brand small { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { text-decoration: none; font-weight: 500; font-size: .95rem; }
nav.main a:hover { color: var(--accent); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.langs button { all: unset; cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.langs button:focus-visible { outline: 2px solid var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; border-radius: var(--radius); padding: 10px 18px; border: 0; font: 600 .95rem/1.2 var(--body); cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
@media (max-width: 860px) { nav.main { display: none; } .langs { margin-left: auto; } }
@media (max-width: 560px) {
  header.top .wrap { gap: 10px; padding-block: 10px; }
  .brand { font-size: 1.12rem; }
  .brand small { font-size: .62rem; letter-spacing: .12em; }
  header.top .btn { padding: 9px 14px; font-size: .9rem; }
  /* langues : seule la langue active est visible, les autres s'ouvrent en menu */
  .langs { position: relative; display: grid; align-content: start; gap: 4px; height: 32px; padding: 0; border: 0; }
  .langs button { display: none; min-width: 34px; text-align: center; padding: 7px 10px; border: 1px solid var(--line); }
  .langs button[aria-pressed="true"] { display: block; order: -1; }
  .langs button[aria-pressed="true"]::after { content: " ▾"; font-size: .7em; }
  .langs.open { z-index: 7; }
  .langs.open button[aria-pressed="true"]::after { content: " ▴"; }
  .langs.open button { display: block; background: var(--surface); color: var(--ink); border-radius: var(--radius); margin-bottom: 4px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
  .langs.open button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
}

/* hero */
.hero { position: relative; overflow-x: clip; }
.hero-photo { width: 100%; height: clamp(320px, 62vw, 640px); object-fit: cover; object-position: 50% 60%; }
.hero-panel { position: relative; margin-top: -150px; }
.hero-card { background: var(--surface); max-width: 640px; padding: 28px 30px 24px; border-radius: var(--radius) var(--radius) 0 0; display: grid; gap: 12px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); }
.hero h1 { font-size: var(--step-4); }
.hero h1 .fr-name { color: var(--accent); }
.hero-card p { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
@media (min-width: 861px) {
  /* le titre reste visible à l'ouverture, même sur un écran de portable */
  .hero-photo { height: clamp(320px, calc(100vh - 300px), 640px); height: clamp(320px, calc(100svh - 300px), 640px); }
  .hero-panel { margin-top: -170px; }
  .hero-card { max-width: 760px; }
}

/* booking bar */
.booking { background: var(--surface); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; border-top: 1px solid var(--line); }
.field { display: grid; gap: 4px; min-width: 0; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; font: 500 1rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px; min-height: 44px; }
.pay { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pay svg { flex: none; }
@media (max-width: 860px) {
  .hero-panel { margin-top: -60px; }
  .hero-card { padding: 20px 18px 16px; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking .btn { grid-column: 1 / -1; }
}

/* facts */
.facts { padding-block: 48px 8px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fact { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.fact b { font-family: var(--display); font-weight: 400; font-size: var(--step-3); color: var(--ochre); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fact span { color: var(--muted); font-size: .95rem; }
.fact b.fact-word { font-size: clamp(1.45rem, 3vw, var(--step-3)); }
@media (max-width: 860px) { .facts .wrap { grid-template-columns: 1fr 1fr; } }

/* sections */
section.block { padding-block: 64px 8px; }
.head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.head h2 { font-size: var(--step-3); }
.head p { color: var(--muted); }
.homes-intro { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.homes-intro li { display: flex; gap: 10px; }
.homes-intro li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--accent); }

/* properties */
.homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.home { display: grid; gap: 10px; align-content: start; min-width: 0; }
.home img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.home h3 { font-size: var(--step-2); }
.spec { font-size: .9rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.home p.desc { color: var(--muted); }
.home .more { font-weight: 600; color: var(--accent); text-decoration: none; }
.home .more:hover { text-decoration: underline; }
.tag { justify-self: start; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.home.feature { grid-column: 1 / -1; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; }
.home.feature img { aspect-ratio: 16 / 10; }
.home.feature .txt { display: grid; gap: 12px; }
.home.feature h3 { font-size: var(--step-3); }
@media (max-width: 860px) {
  .homes { grid-template-columns: 1fr; }
  .home.feature { grid-template-columns: 1fr; gap: 12px; }
}


/* mini slider */
.mini { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.mini-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: 3 / 2; }
.mini-track::-webkit-scrollbar { display: none; }
.mini-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; border-radius: 0; aspect-ratio: auto; }
.home.feature .mini-track { aspect-ratio: 16 / 10; }
@media (prefers-reduced-motion: reduce) { .mini-track { scroll-behavior: auto; } }
.mini-btn { all: unset; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: #1d2521; font-size: 1.3rem; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.mini-btn.prev { left: 10px; } .mini-btn.next { right: 10px; }
.mini-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mini-btn[disabled] { opacity: 0; pointer-events: none; }
.mini[data-count="1"] .mini-btn, .mini[data-count="1"] .mini-dots { display: none; }
.mini-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.mini-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.mini-dots span.on { background: #fff; }
.home.feature.apts { grid-template-columns: 1fr 1.5fr; }
.home.feature.apts .mini { order: 2; }
@media (max-width: 860px) { .home.feature.apts { grid-template-columns: 1fr; } .home.feature.apts .mini { order: 0; } }

/* compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
thead th { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
tbody th { font-weight: 500; color: var(--muted); width: 22%; }
td { font-variant-numeric: tabular-nums; }


.scroll-wrap { position: relative; }
.scroll-hint { all: unset; cursor: pointer; position: absolute; top: 0; right: 0; bottom: 0; width: 84px; display: none; align-items: center; justify-content: flex-end; gap: 4px; padding-right: 8px; border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(to right, transparent, var(--surface) 65%); color: var(--accent); font-size: .78rem; font-weight: 600; }
.scroll-hint .chev { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.2rem; line-height: 1; }
.scroll-wrap.can-scroll .scroll-hint { display: flex; }
@media (prefers-reduced-motion: no-preference) { .scroll-wrap.can-scroll .scroll-hint .chev { animation: nudge 1.6s ease-in-out infinite; } @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } } }
.scroll-hint:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* included */
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.incl li { display: flex; gap: 10px; align-items: flex-start; padding-block: 8px; border-bottom: 1px solid var(--line); }
.incl li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
.stay-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.stay-col { min-width: 0; }
.stay-col .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fees { margin: 0; display: grid; }
.fees div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.fees dt { font-weight: 600; color: var(--ochre); }
.fees dd { margin: 0; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .stay-cols { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 460px) { .stay-col .incl { grid-template-columns: 1fr; } }

/* reviews */
.rev-rows { display: grid; gap: 36px; }
.rev-rows[hidden] { display: none; }
.rev-row { display: grid; gap: 14px; min-width: 0; }
.rev-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.rev-row-head h3 { font-size: var(--step-2); }
.rev-row-head .score { font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rev-row-head .score b { color: var(--ochre); font-weight: 600; font-size: 1.05rem; }
.rev-nav { margin-left: auto; display: flex; gap: 8px; }
.arrow { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }
.arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.arrow[disabled] { opacity: .35; cursor: default; }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: thin; }
.rev-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .rev-track { scroll-behavior: auto; } }
.review { margin: 0; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; grid-template-rows: 1fr auto; gap: 14px; background: var(--surface); min-width: 0; }
.review .body { display: grid; gap: 12px; align-content: start; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.1rem; line-height: 1.45; }
.review .tr { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 4px; }
.review .tr span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.review .tr p { color: var(--muted); font-size: .95rem; }
.review figcaption { font-size: .85rem; color: var(--muted); display: grid; gap: 10px; justify-items: center; text-align: center; padding-top: 12px; border-top: 1px solid var(--line); }
.review .src { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .82rem; }
.review .src:hover { border-color: var(--accent); color: var(--accent); }
.stars { color: var(--ochre); letter-spacing: 2px; font-size: .85rem; font-weight: 600; }
.stars.src-only { letter-spacing: .04em; color: var(--muted); font-weight: 500; }
.review figcaption small { font-size: .75rem; color: var(--muted); }
@media (max-width: 860px) { .rev-track { grid-auto-columns: minmax(260px, 82%); } }
.rev-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 28px; }
.rev-head .head { margin-bottom: 0; }
.rev-total { display: grid; grid-template-columns: max-content max-content; justify-content: start; align-items: baseline; column-gap: 8px; }
.rev-total b { font-family: var(--display); font-weight: 400; font-size: var(--step-4); color: var(--ochre); line-height: 1; font-variant-numeric: tabular-nums; }
.rev-total .of { font-size: 1.1rem; color: var(--muted); }
.rev-total p { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 34ch; }
.rev-mix .rev-row-head .score { font-size: .95rem; }
.review .rev-prop { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.rev-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.rev-more { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.rev-more:hover { background: var(--accent); color: var(--surface); }
.rev-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rev-more .chev { transition: transform .2s; }
.rev-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.rev-rows:not([hidden]) { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.rev-note { margin-top: 0; color: var(--muted); font-size: .88rem; }

/* story */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story .txt { display: grid; gap: 14px; max-width: 60ch; }
.story .txt p { color: var(--muted); }
.sign { font-family: var(--display); font-size: 1.2rem; color: var(--ink) !important; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 20px; } }

/* practical */
.practical { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.practical dl { margin: 0; display: grid; gap: 0; }
.practical dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.practical dt { font-weight: 600; }
.practical dd { margin: 0; color: var(--muted); }
.contact { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); }
.contact h3 { font-size: var(--step-2); }
.contact .line { display: grid; gap: 2px; }
.contact .line span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact .line b { font-weight: 600; font-size: 1.05rem; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 860px) { .practical { grid-template-columns: 1fr; } .practical dl div { grid-template-columns: 1fr; gap: 2px; } }

footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--muted); font-size: .9rem; }
footer .brand { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
}

/* ---------- base partagée (pages hors accueil) ---------- */
[hidden] { display: none !important; }
body { margin: 0; }

/* ---------- page logement ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); padding-block: 18px 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 2.2 / 1; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery button { all: unset; cursor: zoom-in; display: block; min-height: 0; position: relative; overflow: hidden; background: var(--line); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery .all { position: absolute; right: 12px; bottom: 12px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 8px 14px; font: 600 .88rem var(--body); border: 1px solid var(--line); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: 3 / 2; }
  .gallery button:not(:first-child) { display: none; }
}

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-block: 28px 0; }
.prop-main { display: grid; gap: 56px; min-width: 0; }
.prop-intro { display: grid; gap: 14px; }
.prop-intro h1 { font-size: var(--step-4); }
.prop-rating { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.prop-rating b { color: var(--ochre); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.prop-rating a { color: var(--accent); }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.lede { display: grid; gap: 12px; max-width: 64ch; }
.lede p { color: var(--muted); }
.lede p:first-child { color: var(--ink); font-size: 1.12rem; }
.sec-title { font-size: var(--step-3); margin-bottom: 18px; }
.sec-intro { color: var(--muted); margin: -8px 0 20px; max-width: 60ch; }

/* niveaux : coupe de la maison qui descend la colline */
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.level { display: grid; grid-template-columns: 88px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.level:nth-child(2) { margin-left: 28px; }
.level:nth-child(3) { margin-left: 56px; }
.level-n { display: grid; place-content: center; text-align: center; gap: 2px; background: var(--bg); border-right: 1px solid var(--line); padding: 14px 6px; }
.level-n b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--ochre); font-variant-numeric: tabular-nums; }
.level-n span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.level-body { padding: 16px 20px; display: grid; gap: 8px; min-width: 0; }
.level-body h3 { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.level-body h3 small { font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.level-body ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 2px; }
.terrace { justify-self: start; font-size: .82rem; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 760px) { .level:nth-child(2) { margin-left: 14px; } .level:nth-child(3) { margin-left: 28px; } .level { grid-template-columns: 64px minmax(0, 1fr); } .level-n b { font-size: 1.7rem; } }

/* chambres */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.room { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.room header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.room h3 { font-size: 1.3rem; }
.room .lv { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.room .bed { font-weight: 600; }
.room p { color: var(--muted); font-size: .95rem; }
.room .bath { border-top: 1px dashed var(--line); padding-top: 8px; }
.room .tag { margin-top: -2px; }
.rooms-note { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .rooms { grid-template-columns: 1fr; } }

/* équipements */
.amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.amen h3 { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin-bottom: 6px; }
.amen ul { list-style: none; margin: 0; padding: 0; }
.amen li { display: flex; gap: 10px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.amen li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
@media (max-width: 640px) { .amen { grid-template-columns: 1fr; } }

/* tarifs */
.rates { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.rates .practical-dl { margin: 0; }
.rates .practical-dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.rates .practical-dl dt { font-weight: 600; }
.rates .practical-dl dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .rates .practical-dl div { grid-template-columns: 1fr; gap: 2px; } }

/* emplacement */
.around { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.around dl { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.around dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.around h3 { grid-column: 1 / -1; font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin: 14px 0 2px; }
.maplink { display: inline-flex; margin-top: 16px; font-weight: 600; color: var(--accent); }
@media (max-width: 640px) { .around { grid-template-columns: 1fr; } }

/* encart de réservation */
.book-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px -22px rgba(0,0,0,.4); padding: 22px; display: grid; gap: 14px; }
.book-card h2 { font-size: 1.5rem; }
.book-card .score { color: var(--muted); font-size: .9rem; }
.book-card .score b { color: var(--ochre); }
.book-card form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.book-card .field.wide, .book-card .btn { grid-column: 1 / -1; }
.book-card .btn { padding-block: 13px; }
.book-card .pay { font-size: .82rem; }
.book-card .call { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.book-card .call b { color: var(--ink); white-space: nowrap; user-select: all; }
@media (max-width: 960px) {
  .prop-layout { grid-template-columns: 1fr; gap: 40px; }
  .book-card { position: static; }
}

/* barre de réservation mobile */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(0,0,0,.4); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-cta span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
  .mobile-cta span b { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
  body.has-cta { padding-bottom: 76px; }
}

/* autres logements */
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.other { display: grid; gap: 8px; text-decoration: none; }
.other img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.other h3 { font-size: 1.25rem; }
.other span { font-size: .88rem; color: var(--muted); }
.other:hover h3 { color: var(--accent); }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

/* galerie plein écran */
#lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(10, 14, 12, .94); display: grid; grid-template-rows: auto minmax(0, 1fr); padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); color: #fff; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-variant-numeric: tabular-nums; }
.lb-close { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 1.6rem; line-height: 1; background: rgba(255,255,255,.12); }
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-stage { position: relative; min-height: 0; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: start; padding: 0 56px 16px; min-width: 0; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-prev, .lb-next { all: unset; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 1.6rem; line-height: 1; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 640px) { .lb-track figure { padding: 0 0 16px; } .lb-prev, .lb-next { display: none; } }

/* ---------- photos intercalées (pages logement) ---------- */
.ph { all: unset; box-sizing: border-box; width: 100%; cursor: zoom-in; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); min-width: 0; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ph:hover img { transform: scale(1.03); }
.ph:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ph img { transition: none; } }
.pic { margin: 28px 0 0; display: grid; gap: 10px; min-width: 0; }
.prop-main > section { min-width: 0; }
.pic figcaption, .plan figcaption { font-size: .88rem; color: var(--muted); }
.pic.wide .ph { aspect-ratio: 16 / 9; }
.pic.duo { grid-template-columns: 1fr 1fr; gap: 10px; }
.pic.duo .ph { aspect-ratio: 4 / 3; }
.pic.duo figcaption { grid-column: 1 / -1; }
.prop-intro .pic { margin-top: 24px; }
.level { grid-template-columns: 88px minmax(0, 1fr) minmax(150px, 34%); }
.level-ph { border-radius: 0; align-self: stretch; }
.level-ph img { min-height: 140px; }
.plan { margin: 22px 0 0; display: grid; gap: 10px; }
.plan-btn { all: unset; cursor: zoom-in; position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #d9e1e3; }
.plan-btn img { display: block; width: 100%; height: auto; }
.plan-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--body); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 20px) / 3)); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 16px; padding-bottom: 6px; scrollbar-width: thin; }
.strip .ph { aspect-ratio: 4 / 3; scroll-snap-align: start; }
#zoombox { position: fixed; inset: 0; z-index: 21; background: rgba(10, 14, 12, .94); color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
#zoombox[hidden] { display: none; }
#zoombox .lb-bar span { font-size: .9rem; opacity: .85; }
.zb-scroll { overflow: auto; -webkit-overflow-scrolling: touch; display: grid; place-items: start center; padding: 0 12px 16px; }
.zb-scroll img { width: min(2000px, 100%); min-width: 900px; height: auto; border-radius: 4px; background: #d9e1e3; }
@media (min-width: 1000px) { .zb-scroll img { min-width: 0; width: min(1600px, 100%); } }
@media (max-width: 760px) {
  .level { grid-template-columns: 64px minmax(0, 1fr); }
  .level-ph { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .level-ph img { min-height: 0; }
  .strip { grid-auto-columns: 72%; }
}

/* ---------- cartes « Emplacement » ---------- */
.maps .mini-track { aspect-ratio: 16 / 9; }
.map-slide { all: unset; cursor: zoom-in; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; background: #e6ebe8; }
.map-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-slide:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.maps .mini-btn { background: var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.maps .mini { background: transparent; overflow: visible; }
.maps .mini-track { border-radius: var(--radius); border: 1px solid var(--line); }
.maps .mini-dots { position: static; margin-top: 10px; }
.maps .mini-btn { top: calc(50% - 10px); }
.maps .mini-dots span { background: var(--line); }
.maps .mini-dots span.on { background: var(--accent); }
.maps figcaption .tap { color: var(--accent); font-weight: 600; white-space: nowrap; }


/* ---------- pages appartements ---------- */
.levels.spaces .level { margin-left: 0; grid-template-columns: minmax(0, 1fr) minmax(150px, 38%); }
.book-card h2 .book-name { display: block; margin-top: 4px; font: 600 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .levels.spaces .level { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page contact ---------- */
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-block: 20px 64px; }
.ct-main { display: grid; gap: 14px; min-width: 0; }
.ct-main h1 { font-size: var(--step-4); }
.ct-lede { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.ct-form { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ct-grid .wide { grid-column: 1 / -1; }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field textarea { width: 100%; font: 500 1rem/1.5 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ct-turnstile { display: inline-flex; align-items: center; gap: 10px; justify-self: start; border: 1px dashed var(--line); border-radius: var(--radius); padding: 8px 12px; font-size: .85rem; color: var(--muted); }
.ts-dot { width: 10px; height: 10px; border-radius: 50%; background: #3a9d5d; box-shadow: 0 0 0 3px rgba(58,157,93,.18); }
.ct-privacy { font-size: .85rem; color: var(--muted); }
.ct-error { color: #b3261e; background: rgba(179,38,30,.08); border-radius: var(--radius); padding: 10px 12px; font-size: .92rem; }
.ct-send { justify-self: start; padding: 12px 22px; font-size: 1rem; }
.ct-send[disabled] { opacity: .6; cursor: wait; }
.ct-done { margin-top: 10px; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.ct-done h2 { font-size: var(--step-2); color: var(--accent); }
.ct-done p { color: var(--muted); }
.ct-side { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.ct-side h2 { font-size: 1.35rem; }
.ct-side .line a { color: var(--ink); text-decoration: none; }
.ct-side .line a:hover { color: var(--accent); }
.ct-book p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .ct-layout { grid-template-columns: 1fr; gap: 32px; } .ct-side { position: static; } }
@media (max-width: 560px) { .ct-grid { grid-template-columns: 1fr; } .ct-form { padding: 18px; } .ct-send { justify-self: stretch; } }

/* ---------- fenêtre « Réserver » ---------- */
#book-dialog { border: 0; padding: 0; border-radius: 10px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); }
#book-dialog[open] { display: grid; gap: 14px; padding: 22px; }
#book-dialog::backdrop { background: rgba(15, 21, 19, .55); }
.bk-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.bk-head h2 { font-size: var(--step-2); }
.bk-head p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.bk-close { all: unset; cursor: pointer; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 1.4rem; line-height: 1; }
.bk-close:hover { border-color: var(--accent); color: var(--accent); }
.bk-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-form .wide { grid-column: 1 / -1; }
.bk-form .btn { padding: 13px 18px; font-size: 1rem; }
#book-dialog .pay { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
#book-dialog .pay svg { flex: none; margin-top: 2px; }
#book-dialog .call { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
#book-dialog .call a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) {
  #book-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 14px 14px 0 0; max-height: 92dvh; overflow-y: auto; }
  #book-dialog[open] { padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px)); animation: bk-up .22s ease-out; }
}
@keyframes bk-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #book-dialog[open] { animation: none; } }
.b-note { grid-column: 1 / -1; font-size: .82rem; line-height: 1.45; color: var(--muted); background: transparent; border-left: 3px solid var(--accent); padding: 2px 0 2px 10px; margin: 0; }

/* ---------- page FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-block: 20px 64px; }
.faq-main { display: grid; gap: 14px; min-width: 0; }
.faq-main h1 { font-size: var(--step-4); }
.qa-group { margin-top: 26px; display: grid; gap: 8px; }
.qa-group h2 { font-size: var(--step-2); margin-bottom: 4px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.qa[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.qa-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.qa-ic::before, .qa-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s; }
.qa-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { padding: 0 18px 16px; color: var(--muted); max-width: 70ch; }
.faq-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.faq-side .contact p { color: var(--muted); font-size: .95rem; }
.faq-side .btn { justify-self: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } .faq-side { position: static; } }
@media (prefers-reduced-motion: reduce) { .qa-ic::before, .qa-ic::after { transition: none; } }
.faq-link { color: var(--accent); font-weight: 600; text-decoration: none; font-size: .95rem; }
.faq-link:hover { text-decoration: underline; }

/* ---------- page de confirmation ---------- */
.cf-main { gap: 12px; }
.cf-check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.cf-ref { font-size: .95rem; color: var(--muted); }
.cf-ref b { color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.cf-next { font-size: var(--step-2); margin-top: 18px; }
.cf-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.cf-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.cf-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.cf-steps h3 { font-family: var(--body); font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.cf-steps p { color: var(--muted); font-size: .96rem; }
.cf-home { justify-self: start; margin-top: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.cf-home:hover { text-decoration: underline; }
@media (max-width: 560px) { .cf-steps li { grid-template-columns: 1fr; gap: 10px; padding: 16px; } }

/* mentions légales */
footer .foot-legal { color: var(--muted); }
footer .foot-legal:hover { color: var(--accent); }
.legal { max-width: 760px; display: grid; gap: 12px; padding-block: 20px 64px; }
.legal h1 { font-size: var(--step-4); }
.legal h2 { font-size: var(--step-2); margin-top: 28px; }
.legal p { margin: 0; max-width: 68ch; }
.lg-list { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 24px; margin: 0; }
.lg-list dt { color: var(--muted); }
.lg-list dd { margin: 0; }
.lg-list a { color: var(--accent); }
@media (max-width: 560px) { .lg-list { grid-template-columns: 1fr; gap: 2px; } .lg-list dd { margin-bottom: 10px; } }
