/* Page vitrine : complète style.css (mêmes couleurs et polices). */
body.vitrine { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { body.vitrine { padding-bottom: 0; } }
.vitrine .topbar .btn { margin-left: 4px; }
.vitrine .topnav a { scroll-margin-top: 80px; }
.vitrine section { scroll-margin-top: 70px; }

.v-hero { display: grid; gap: 24px; padding-block: 18px 10px; }
@media (min-width: 860px) { .v-hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding-block: 40px 20px; } }
.v-hero-text { display: grid; gap: 16px; align-content: center; }
.v-hero-img { order: -1; border-radius: 28px 28px 28px 110px; overflow: hidden; background: var(--moss-soft); }
@media (min-width: 860px) { .v-hero-img { order: 0; } }
.v-hero-img img { width: 100%; height: clamp(260px, 50vh, 560px); object-fit: cover; }
.v-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.v-price b { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.v-price span { color: var(--muted); }
.deal { display: inline-flex; align-items: center; gap: 6px; background: var(--moss-soft); color: var(--moss) !important; font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }
.deal .ico { width: 16px; height: 16px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: .92rem; }
.rating .ico, .reviews > .ico { color: var(--wood); fill: currentColor; }

.direct { background: var(--moss-soft); border-radius: var(--r); padding: 26px 22px; display: grid; gap: 16px; justify-items: start; }
@media (min-width: 860px) { .direct { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 34px; } .direct .btn { grid-column: 1 / -1; } }
.direct.final { justify-items: center; text-align: center; grid-template-columns: 1fr; }
.v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.v-list .ico { color: var(--moss); margin-top: 3px; }

.v-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .v-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-features div { background: var(--card); border-radius: 18px; padding: 16px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.v-features .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--moss-soft); color: var(--moss); margin-bottom: 8px; }
.v-features b { font-size: .98rem; }
.v-features span { font-size: .86rem; color: var(--muted); }

.v-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .v-dist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v-dist li { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: baseline; background: var(--card); border-radius: 18px; padding: 14px 16px; }
.v-dist b { font-family: var(--f-display); font-size: 1.15rem; color: var(--wood); white-space: nowrap; }
.small .ico { vertical-align: -3px; }

.reviews { background: var(--card); border-radius: var(--r); padding: 30px 22px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.reviews > .ico { width: 34px; height: 34px; }
.reviews .big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.reviews p { max-width: 50ch; }

.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px 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)); font-size: .92rem; line-height: 1.3; }
.sticky-book b { font-family: var(--f-display); font-size: 1.2rem; }
.sticky-book span { color: var(--moss); font-weight: 700; font-size: .82rem; }
@media (min-width: 900px) { .sticky-book { display: none; } }

/* Fenêtre de réservation */
dialog#book { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; border: 0; border-radius: 26px; padding: 20px 20px 24px; background: var(--linen); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
dialog#book::backdrop { background: rgba(25, 28, 22, .55); backdrop-filter: blur(3px); }
dialog#book h2 { font-size: 1.6rem; margin-bottom: 4px; }
.book-close-row { display: flex; justify-content: flex-end; margin: -6px -6px 0 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.book-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.book-dates label { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.book-dates input { font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-height: 46px; width: 100%; }
.nights { min-height: 1.4em; margin-top: 8px; font-size: .9rem; color: var(--moss); font-weight: 700; }
.book-label { margin: 18px 0 8px; font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.book-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.opt:hover { background: var(--moss-soft); }
.opt .ico { width: 22px; height: 22px; color: var(--moss); }
.opt span { display: grid; min-width: 0; }
.opt b { font-size: .95rem; }
.opt small { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.opt-main { grid-column: 1 / -1; background: var(--moss); color: var(--card); box-shadow: none; }
.opt-main .ico, .opt-main small { color: inherit; opacity: .9; }
.opt-main:hover { background: var(--moss); filter: brightness(1.08); }
.opt-airbnb .ico { color: var(--muted); }
.rating b { white-space: nowrap; color: var(--ink); }

/* Calendrier des disponibilités */
.cal-box { background: var(--card); border-radius: var(--r); padding: 10px; overflow: hidden; }
.cal-box iframe { display: block; width: 100%; height: 520px; border: 0; border-radius: 14px; background: #fff; }
@media (max-width: 600px) { .cal-box iframe { height: 440px; } }
.cal-empty { padding: 24px 14px; text-align: center; }

/* Langue */
.lang { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 10px; border-radius: 999px; background: var(--card); min-height: 38px; }
.lang:hover { background: var(--moss-soft); }
.flag { width: 24px; height: 16px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
@media (max-width: 420px) { .lang span { display: none; } }

/* Carte satellite */
.map-box { border-radius: var(--r); overflow: hidden; background: var(--moss-soft); }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 600px) { .map-box iframe { height: 300px; } }

/* À voir */
.spots { display: grid; gap: 12px; }
@media (min-width: 700px) { .spots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .spots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spots article { background: var(--card); border-radius: 18px; padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.spots .d { font-family: var(--f-display); color: var(--wood); font-size: 1.05rem; }
.spots h3 { font-size: 1.1rem; }
.spots p { font-size: .92rem; color: var(--muted); }
.spots a { font-size: .88rem; font-weight: 700; }

/* Avis */
.scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .scores { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.scores div { background: var(--card); border-radius: 18px; padding: 14px; display: grid; gap: 2px; text-align: center; }
.scores b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; color: var(--wood); font-variant-numeric: tabular-nums; }
.scores span { font-size: .8rem; color: var(--muted); }
.quotes { display: grid; gap: 12px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quotes blockquote { margin: 0; background: var(--card); border-radius: 18px; padding: 20px; display: grid; gap: 10px; }
.quotes blockquote p { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; }
.quotes cite { font-style: normal; font-size: .85rem; color: var(--muted); }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; z-index: 26; right: max(16px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 50px; border-radius: 999px; background: #1f8f52; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.wa-float .ico { width: 22px; height: 22px; }
.wa-float:hover { filter: brightness(1.08); }
@media (min-width: 900px) { .wa-float { bottom: max(24px, env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 420px) { .wa-float span { display: none; } .wa-float { width: 50px; padding: 0; justify-content: center; } }

/* Galerie avec flèches et plein écran */
.gal-wrap { position: relative; min-width: 0; }
.gallery .g-open { all: unset; cursor: zoom-in; display: block; border-radius: 20px; }
.gallery .g-open:focus-visible { outline: 2px solid var(--wood); outline-offset: 2px; }
.gal-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.gal-arrow .ico { width: 22px; height: 22px; }
.gal-arrow.prev { left: -8px; } .gal-arrow.next { right: -8px; }
.gal-arrow:hover { background: var(--moss-soft); }
@media (hover: none) and (max-width: 700px) { .gal-arrow { display: none; } }
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(15, 17, 13, .94); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 100%; }
.lb img { max-width: min(1100px, 100%); max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lb figcaption { color: #e9e4d8; font-size: .92rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn .ico { width: 24px; height: 24px; }
.lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
