/* Chez Maurice : design inspiré des grandes plateformes de location (sobre, arrondi, aéré). */

:root {
  --ink: #222222;
  --ink-2: #6a6a6a;
  --ink-3: #b0b0b0;
  --line: #dddddd;
  --line-soft: #ebebeb;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --accent: #e0405a;
  --accent-ink: #c8304a;
  --grad: linear-gradient(90deg, #e8445a 0%, #e03a5e 50%, #d4306a 100%);
  --ok: #008a05;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.ic { flex: none; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.4; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* ---------- Boutons ---------- */

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 8px;
  background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: filter .2s, transform .1s;
}
.btn-primary:hover { filter: brightness(.95); }
.btn-primary:active { transform: scale(.98); }
.btn-primary[disabled] { opacity: .5; cursor: progress; }

.btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 600; cursor: pointer;
}
.btn-dark:hover { background: #000; }
.btn-small { min-height: 36px; padding: 8px 16px; font-size: 14px; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 8px;
  background: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-outline:hover { background: var(--bg-soft); }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px; margin: -6px -8px; border: 0; border-radius: 8px;
  background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; white-space: nowrap;
}
.link-btn:hover { background: var(--bg-soft); }

.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); }

/* ---------- Titres sur image (accueil, slideshow, bas de page) ---------- */

.display-title {
  display: block; margin: 0; color: #fff; font-size: clamp(38px, 6.2vw, 84px); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.035em; text-align: center; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.display-sub {
  display: block; margin-top: 14px; color: #fff; font-size: clamp(14px, 1.3vw, 17px); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}

/* ---------- En-tête (pages logement, posé sur le slideshow) ---------- */

.hero { position: relative; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding: 0 28px; }
.nav-home, .header-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
  transition: background .2s, color .2s;
}
.nav-home { margin-left: -12px; }
.nav-home:hover, .header-nav a:hover { background: rgba(255, 255, 255, .18); }
.header-nav { display: flex; gap: 6px; }
.header-nav a[aria-current="page"] { background: rgba(255, 255, 255, .94); color: var(--ink); text-shadow: none; }

/* ---------- Panneaux image pleine largeur ---------- */

.split { display: grid; grid-template-rows: 1fr 1fr; height: 100vh; height: 100svh; min-height: 560px; background: #111; }
.panel { position: relative; display: grid; place-items: center; overflow: hidden; background: #111; text-decoration: none; isolation: isolate; }
.panel img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(.22, .61, .36, 1);
}
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .5s;
  background: radial-gradient(60% 55% at 50% 50%, rgba(0, 0, 0, .42), rgba(0, 0, 0, .16));
}
.panel:hover img { transform: scale(1.04); }
.panel:hover::after { opacity: .82; }
.panel:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 0; }
.panel-text { display: grid; justify-items: center; padding: 0 24px; }
.panel-kicker { margin-bottom: 14px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.panel-half + .panel-half { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.panel-next { height: clamp(340px, 60vh, 620px); margin-top: 32px; }
.panel-next .display-title { font-size: clamp(32px, 4.6vw, 64px); }

@media (prefers-reduced-motion: reduce) { .panel img { transition: none; } .panel:hover img { transform: none; } }

.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Carte hôte ---------- */

.host-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 28px 28px; border-radius: 24px; background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
}
.host-card-id { display: grid; justify-items: center; gap: 2px; text-align: center; }
.host-card-id strong { font-size: 28px; margin-top: 8px; }
.host-card-id > span { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.avatar {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 40px; font-weight: 700;
}
.avatar-sm { width: 44px; height: 44px; font-size: 18px; flex: none; }
.avatar-badge {
  position: absolute; right: -2px; bottom: 4px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 0 3px #fff;
}
.host-card-stats { margin: 0; display: grid; gap: 12px; min-width: 110px; }
.host-card-stats div + div { padding-top: 12px; border-top: 1px solid var(--line); }
.host-card-stats dt { display: flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; line-height: 1.1; }
.host-card-stats dd { margin: 0; font-size: 12px; font-weight: 600; }
.host-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.host-facts li { display: flex; align-items: center; gap: 12px; }

/* ---------- Slideshow plein largeur ---------- */

.slideshow { position: relative; overflow: hidden; height: 100vh; height: 100svh; min-height: 520px; max-height: 1000px; background: #111; touch-action: pan-y; user-select: none; }
.ss-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.ss-track.dragging { transition: none; }
.ss-slide { flex: 0 0 100%; margin: 0; height: 100%; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slideshow::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(55% 40% at 50% 50%, rgba(0, 0, 0, .3), transparent),
    linear-gradient(rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .12) 22%, rgba(0, 0, 0, .12) 70%, rgba(0, 0, 0, .4) 100%);
}
.ss-title { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; padding: 0 24px; pointer-events: none; }
.ss-btn {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform .15s, background .2s;
}
.ss-btn:hover { transform: scale(1.06); background: #fff; }
.ss-prev { left: 24px; }
.ss-next { right: 24px; }
.ss-dots { position: absolute; bottom: 30px; left: 50%; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.ss-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; transition: background .2s, transform .2s; }
.ss-dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }
.ss-count { display: none; position: absolute; bottom: 16px; right: 16px; z-index: 3; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600; }
.ss-all {
  position: absolute; right: 24px; bottom: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.ss-all:hover { background: var(--bg-soft); }

/* ---------- Page logement ---------- */

.listing { padding-top: 40px; }
.overview-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.head-share { font-size: 14px; margin-top: 0; }

.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 80px; }
.listing-main > * + * { border-top: 1px solid var(--line); }
.overview { padding-bottom: 24px; }
.overview h2 { font-size: 22px; }
.facts { margin-top: 4px; font-size: 16px; }

.rating-box {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px;
  margin-bottom: 24px; padding: 18px 24px; border: 1px solid var(--line) !important; border-radius: var(--radius);
  text-decoration: none;
}
.rating-box:hover { background: var(--bg-soft); }
.rb-badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.15; }
.rb-badge .ic { color: var(--accent); }
.rb-text { font-weight: 500; font-size: 15px; }
.rb-score, .rb-count { display: grid; justify-items: center; line-height: 1.1; }
.rb-score strong, .rb-count strong { font-size: 20px; }
.rb-count { padding-left: 20px; border-left: 1px solid var(--line); }
.rb-count span { font-size: 12px; text-decoration: underline; }
.stars { display: flex; gap: 1px; margin-top: 3px; }

.host-row { display: flex; align-items: center; gap: 16px; padding: 24px 0; }
.host-row div:last-child { display: grid; }

.highlights { list-style: none; margin: 0; padding: 32px 0; display: grid; gap: 24px; }
.highlights li { display: flex; gap: 22px; align-items: flex-start; }
.highlights strong { display: block; font-size: 16px; }
.highlights p { font-size: 14px; }

.description { padding: 32px 0 40px; display: grid; gap: 14px; }

.section { padding: 44px 0; }
.section h2 { font-size: 22px; margin-bottom: 24px; }
.listing > .section { border-top: 1px solid var(--line); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo h2 { margin-bottom: 20px; }
.sleep-card { margin: 0; }
.sleep-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: var(--radius); }
.sleep-card figcaption { display: grid; padding-top: 12px; }

.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.amenity-grid li { display: flex; align-items: center; gap: 16px; }
.amenity-grid small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.3; }

.dates h2 { margin-bottom: 2px; }
.dates .cal { margin-top: 24px; }

/* ---------- Calendrier ---------- */

.cal { display: grid; gap: 32px; position: relative; }
.cal.months-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cal-month h4 { margin: 0 0 14px; text-align: center; font-size: 16px; font-weight: 600; height: 32px; line-height: 32px; }
.cal-nav {
  position: absolute; top: 0; display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.cal-nav:hover:not([disabled]) { background: var(--bg-soft); }
.cal-nav[disabled] { opacity: .25; cursor: default; }
.cal-nav.prev { left: 0; }
.cal-nav.next { right: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-2); padding-bottom: 8px; }
.cal-day {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; max-height: 46px; width: 100%;
  padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; cursor: pointer; z-index: 0;
}
.cal-day span { display: grid; place-items: center; width: 100%; max-width: 44px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid transparent; }
.cal-day:not([disabled]):hover span { border-color: var(--ink); }
.cal-day[disabled] { cursor: default; color: var(--ink-3); }
.cal-day.is-booked span { text-decoration: line-through; }
.cal-day.is-today span { box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.in-range::before, .cal-day.is-start.has-end::before, .cal-day.is-end::before, .cal-day.hover-range::before {
  content: ""; position: absolute; inset: 8% 0; z-index: -1; background: var(--bg-soft);
}
.cal-day.is-start.has-end::before { left: 50%; }
.cal-day.is-end::before { right: 50%; }
.cal-day.is-start span, .cal-day.is-end span { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-day.is-start:not([disabled]):hover span, .cal-day.is-end:not([disabled]):hover span { border-color: var(--ink); }
.cal-day.hover-end span { border-color: var(--ink); }
.cal-day.is-checkout-only { color: var(--ink-2); }
.cal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 14px; }
.cal-hint { margin-right: auto; font-size: 13px; color: var(--ink-2); }
.cal-status { font-size: 13px; color: var(--ink-2); }

/* ---------- Carte de réservation ---------- */

.listing-aside { position: relative; }
.aside-sticky { position: sticky; top: 32px; padding-bottom: 32px; }
.booking-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.bc-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.bc-amount { font-size: 22px; font-weight: 700; }
.bc-amount s { color: var(--ink-2); font-weight: 400; margin-right: 4px; }
.bc-unit { font-size: 16px; }
.bc-from { width: 100%; order: -1; font-size: 13px; color: var(--ink-2); margin-bottom: -4px; }
.bc-fields { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b0b0b0; border-radius: 8px; margin-bottom: 16px; }
.bc-field { display: grid; text-align: left; gap: 0; padding: 10px 12px 9px; border: 0; background: none; cursor: pointer; border-radius: 8px; min-width: 0; }
.bc-field:hover { background: var(--bg-soft); }
.bc-field.is-active { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.bc-in { border-right: 1px solid #b0b0b0; border-radius: 8px 0 0 0; }
.bc-out { border-radius: 0 8px 0 0; }
.bc-guests { grid-column: 1 / -1; border-top: 1px solid #b0b0b0; border-radius: 0 0 8px 8px; padding-right: 40px; position: relative; }
.bc-label { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bc-value { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-value.is-empty { color: var(--ink-2); }
.bc-chevron { position: absolute; right: 14px; top: 50%; margin-top: -8px; transition: transform .2s; }
.bc-guests[aria-expanded="true"] .bc-chevron { transform: rotate(180deg); }
.bc-note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-2); }
.bc-breakdown { margin-top: 20px; }

.price-lines { display: grid; gap: 12px; }
.price-line { display: flex; justify-content: space-between; gap: 16px; }
.price-line .lbl { text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
.price-line.discount .amt { color: var(--ok); }
.price-total { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.price-tax { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

.bc-savings {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px;
}
.bc-savings .ic { color: var(--accent); }
.bc-savings strong { display: block; font-size: 15px; }

.bc-pop {
  position: absolute; z-index: 20; top: calc(100% + 8px); background: #fff; border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2); padding: 24px;
}
.bc-cal-pop { right: -25px; width: 660px; padding: 28px 32px 22px; }
.bc-guests-pop { left: 0; right: 0; top: calc(100% - 4px); padding: 16px 20px 18px; border-radius: 4px 4px 16px 16px; }
.pop-head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.pop-head h3 { font-size: 22px; }
.pop-actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* Voyageurs */
.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.guest-row + .guest-row { border-top: 1px solid var(--line-soft); }
.guest-row strong { display: block; font-size: 16px; }
.guest-row small { color: var(--ink-2); font-size: 14px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 20px; text-align: center; }
.stepper button {
  display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink-3); border-radius: 50%;
  background: #fff; color: var(--ink-2); cursor: pointer;
}
.stepper button:hover:not([disabled]) { border-color: var(--ink); color: var(--ink); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }

/* ---------- Avis ---------- */

.rv-head { display: grid; justify-items: center; text-align: center; gap: 4px; margin-bottom: 36px; }
.rv-heart { color: var(--accent); }
.rv-score { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.rv-head h2 { margin: 8px 0 0; }
.rv-cats { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rv-cats li { display: grid; gap: 2px; padding: 0 16px; border-left: 1px solid var(--line); }
.rv-cats li:first-child { border-left: 0; padding-left: 0; }
.rv-cats span { font-size: 14px; font-weight: 600; }
.rv-cats strong { font-size: 18px; }
.rv-cats .ic { margin-top: 18px; }
.rv-themes-title { font-size: 16px; margin-bottom: 14px; }
.rv-themes { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rv-themes li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.rv-themes span { color: var(--ink-2); margin-left: 4px; }

/* ---------- Carte ---------- */

.loc-place { font-weight: 600; margin: -8px 0 20px; }
.map { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-zone {
  position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%;
  background: rgba(224, 64, 90, .18); border: 2px solid rgba(224, 64, 90, .45); display: grid; place-items: center; pointer-events: none;
}
.map-zone span { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: var(--shadow); }
.loc-text { margin-top: 20px; max-width: 44em; }

/* ---------- Hôte, à savoir ---------- */

.host-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.know-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.know-grid h3 { font-size: 16px; margin-bottom: 12px; }
.know-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- Pied de page ---------- */

.site-footer { background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner nav a { font-weight: 600; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; }
.footer-inner p { color: var(--ink-2); }

/* ---------- Barre mobile ---------- */

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
}
.mobile-bar .btn-primary { width: auto; min-width: 140px; }
.mb-info { display: grid; justify-items: start; gap: 2px; font-size: 16px; }
.mb-info strong span { font-weight: 400; }
.mb-info .link-btn { font-size: 14px; font-weight: 600; margin: -4px -8px; padding: 4px 8px; }

/* ---------- Dialogues ---------- */

dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .5); }

.gallery { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; background: #fff; }
.gallery[open] { animation: rise .35s cubic-bezier(.22, .61, .36, 1); }
.gallery-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.gallery-grid { max-width: 840px; margin: 0 auto; padding: 32px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-item { padding: 0; border: 0; background: var(--bg-soft); cursor: zoom-in; overflow: hidden; }
.gallery-item:nth-child(3n + 1) { grid-column: 1 / -1; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: filter .2s; }
.gallery-item:nth-child(3n + 1) img { aspect-ratio: 16 / 10; }
.gallery-item:hover img { filter: brightness(.9); }

.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; background: #000; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); object-fit: contain; }
.lb-close { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 8px; background: none; color: #fff; font-weight: 600; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .12); }
.lb-count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-weight: 600; }
.lb-btn { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .12); }
.lb-prev { left: 32px; }
.lb-next { right: 32px; }

.request { width: min(980px, calc(100vw - 48px)); max-height: calc(100vh - 48px); border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0, 0, 0, .3); }
.request[open] { animation: rise .3s cubic-bezier(.22, .61, .36, 1); }
.req-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.req-bar h2 { font-size: 18px; }
.req-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding: 28px 32px 32px; }
.req-recap { display: grid; gap: 22px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.req-place { display: flex; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.req-place img { width: 110px; height: 90px; object-fit: cover; border-radius: 10px; }
.req-place div { display: grid; gap: 2px; font-size: 14px; }
.req-place strong { font-size: 16px; }
.req-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.req-line > div { display: grid; }
.req-guests { display: grid; justify-content: stretch; }
.req-guests .guest-row { padding: 10px 0; }
.req-guests .guest-row strong { font-size: 15px; }
.req-price { padding-top: 22px; border-top: 1px solid var(--line); }
.req-price h3 { font-size: 18px; margin-bottom: 16px; }
.req-form { display: grid; gap: 16px; align-content: start; }
.req-form h3 { font-size: 20px; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field em { font-weight: 400; color: var(--ink-2); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #b0b0b0; border-radius: 8px; background: #fff;
  font: 16px/1.4 var(--font); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input.invalid { border-color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check.invalid span { color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.req-done { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; padding: 56px 32px; }
.req-done p { max-width: 30em; }
.done-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 8px; }
.req-done h3 { font-size: 24px; }
.req-done .btn-dark { margin-top: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

[hidden] { display: none !important; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .bc-cal-pop { width: 620px; }
  .rv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .rv-cats li:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .listing-grid { grid-template-columns: minmax(0, 1fr); }
  .listing-aside { display: none; }
  .mobile-bar { display: flex; }
  .page-listing { padding-bottom: 84px; }
  .host-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .host-layout .host-card { max-width: 380px; }
  .know-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .req-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px; }
}

@media (max-width: 744px) {
  :root { --gutter: 16px; }
  .header-inner { height: 60px; padding: 0 16px; }
  .nav-home, .header-nav a { padding: 8px 12px; font-size: 14px; }
  .nav-home { margin-left: -8px; }
  .header-nav a[aria-current="page"] { display: none; }
  .header-nav a { margin-right: -8px; }
  .split { min-height: 480px; }
  .display-sub { margin-top: 10px; letter-spacing: .12em; }
  .panel-next { height: 52svh; min-height: 300px; margin-top: 24px; }

  .slideshow { height: 78svh; min-height: 440px; }
  .ss-btn, .ss-dots { display: none; }
  .ss-count { display: block; }
  .ss-all { right: auto; left: 16px; bottom: 14px; padding: 6px 12px; font-size: 13px; }
  .listing { padding-top: 28px; }
  .head-share span { display: none; }
  .overview h2 { font-size: 19px; }
  .facts { font-size: 15px; }
  .rating-box { grid-template-columns: 1fr auto auto; gap: 14px; padding: 14px 16px; }
  .rb-text { display: none; }
  .rb-count { padding-left: 14px; }
  .highlights li { gap: 16px; }
  .section { padding: 36px 0; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .amenity-grid { grid-template-columns: minmax(0, 1fr); }
  .rv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-cats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rv-cats li:nth-child(4) { border-left: 1px solid var(--line); padding-left: 16px; }
  .rv-score { font-size: 52px; }
  .map { height: 300px; }
  .host-card { padding: 24px 20px; }
  .host-card .avatar { width: 80px; height: 80px; font-size: 34px; }

  .request { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; border-radius: 0; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .req-recap { padding: 18px; }
  .gallery-grid { padding: 16px 8px 40px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 160px); }
  .lb-btn { top: auto; bottom: 28px; margin: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 420px) {
  .nav-home span { display: none; }
}

/* ---------- Page Informations ---------- */

.footer-inner nav.footer-legal a { font-weight: 400; color: var(--ink-2); }
.check a { text-decoration: underline; }
.site-header-plain { position: static; border-bottom: 1px solid var(--line-soft); }
.site-header-plain .nav-home, .site-header-plain .header-nav a { color: var(--ink); text-shadow: none; }
.site-header-plain .nav-home:hover, .site-header-plain .header-nav a:hover { background: var(--bg-soft); }
.legal { max-width: 720px; margin: 0 auto; padding: 56px var(--gutter) 72px; }
.legal h1 { font-size: 32px; letter-spacing: -.02em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 15px; }
.legal section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 0; }
.legal h2 { font-size: 24px; }
.legal h3 { margin-top: 28px; font-size: 16px; }
.legal p { margin-top: 6px; color: #444; }
.legal p a { overflow-wrap: anywhere; }
