/* HostLite — site public de réservation directe.
   Les couleurs et le rayon viennent des variables posées par le thème du
   site (layout) : --p, --s, --bg, --text, --muted, --card, --radius. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--p); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -.012em; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 750; margin: 0 0 .7rem; }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .4rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.15rem; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }

/* ---------- En-tête ---------- */
header.site {
  background: var(--card);
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 22%, transparent);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(140%) blur(6px);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .85rem; padding-bottom: .85rem;
}
.brand { font-size: 1.2rem; font-weight: 800; color: var(--p); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; }
header.site nav { display: flex; align-items: center; gap: 1.1rem; font-size: .9rem; }
header.site nav a { color: var(--text); font-weight: 600; }
.tel { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--p); }

/* ---------- Accueil ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(140deg, var(--p), color-mix(in srgb, var(--p) 55%, #000));
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.62) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 4.6rem; padding-bottom: 4.6rem; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); max-width: 18ch; }
.hero p { max-width: 56ch; font-size: 1.06rem; opacity: .96; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; font-size: .92rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }

.section { padding: 3rem 0; }
.section-head { margin-bottom: 1.5rem; }
/* Classement de l'hôtel : étoiles à la couleur d'accent du site, à côté du nom. */
.stars { color: var(--s); letter-spacing: .08em; white-space: nowrap; font-size: .62em; vertical-align: .22em; margin-left: .25em; }
.hero-stars { margin: -.2rem 0 .7rem; display: flex; align-items: center; gap: .6rem; }
/* Badge d'annonce (changement de propriétaire, réouverture…) : lisible sur toutes les photos d'accueil. */
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .4rem .9rem; border-radius: 999px;
  background: #fff; color: var(--p); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.hero-badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--s); flex: 0 0 auto; }
.hero-stars .stars { font-size: 1.35rem; margin: 0; vertical-align: baseline; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.hero-stars-text { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
/* Accueil : les blocs se suivent dans l'ordre choisi par l'exploitant ; seul le premier garde sa marge haute. */
.home-blocks > .section ~ .section { padding-top: 0; }
.section-head p { margin: .2rem 0 0; }

/* ---------- Cartes de logement ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 8px 26px rgba(0,0,0,.07);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,.07), 0 16px 40px rgba(0,0,0,.11); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--muted) 15%, transparent); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-count {
  position: absolute; right: .6rem; bottom: .6rem; background: rgba(0,0,0,.62); color: #fff;
  border-radius: 999px; padding: .16rem .6rem; font-size: .76rem; font-weight: 600;
}
.pcard .body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin: 0 0 .15rem; font-size: 1.1rem; }
.pcard h3 a { color: inherit; }
.pcard .facts { font-size: .87rem; color: var(--muted); margin: 0 0 .55rem; }
.pcard .excerpt { font-size: .92rem; margin: 0 0 .9rem; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .9rem; }
.pcard .foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; }
.price { color: var(--text); font-weight: 800; font-size: 1.12rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .72rem 1.35rem; background: var(--p); color: #fff; border: 0;
  border-radius: calc(var(--radius) - 1px); font-weight: 700; font-size: .97rem;
  cursor: pointer; font-family: inherit; line-height: 1.2;
  transition: filter .15s ease, transform .12s ease;
}
.btn:hover { filter: brightness(1.09); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.alt { background: var(--s); color: #17211d; }
.btn.ghost { background: transparent; color: var(--p); border: 1.5px solid currentColor; }
.btn.block { width: 100%; }
.btn.lg { padding: .9rem 1.6rem; font-size: 1.03rem; }

/* ---------- Galerie ---------- */
.gal {
  display: grid; gap: .5rem; margin: 1.4rem 0 2rem;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border-radius: var(--radius); overflow: hidden;
  max-height: 460px;
}
.gal button { padding: 0; border: 0; cursor: pointer; background: none; overflow: hidden; position: relative; }
.gal button:first-child { grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .2s ease; }
.gal button:hover img { transform: scale(1.045); filter: brightness(1.04); }
.gal .more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.52); color: #fff; font-weight: 700; font-size: 1rem;
}
.gal-single { border-radius: var(--radius); overflow: hidden; margin: 1.4rem 0 2rem; max-height: 440px; }
.gal-single img { width: 100%; height: 440px; object-fit: cover; }
@media (max-width: 760px) {
  .gal { grid-template-columns: 1fr 1fr; max-height: none; }
  .gal button:first-child { grid-column: span 2; aspect-ratio: 3/2; }
  .gal button { aspect-ratio: 3/2; }
  .gal button:nth-child(n+4) { display: none; }
}

/* Visionneuse plein écran */
/* ---------- Tunnel de réservation : étapes, offres, récapitulatif ---------- */
.funnel { padding-top: 1.4rem; padding-bottom: 3rem; }
.funnel h1 { margin: 1.3rem 0 1rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.funnel-steps { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0; }
.funnel-steps li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); padding-bottom: .6rem; border-bottom: 3px solid color-mix(in srgb, var(--muted) 25%, transparent); }
.funnel-steps li.done, .funnel-steps li.current { border-color: var(--p); color: var(--text); }
.funnel-steps .dot { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: color-mix(in srgb, var(--muted) 20%, transparent); }
.funnel-steps li.done .dot, .funnel-steps li.current .dot { background: var(--p); color: #fff; }
.funnel-steps .label, .funnel-steps a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel-steps li.current .label { font-weight: 700; }
@media (max-width: 640px) {
  .funnel-steps li:not(.current) { flex: 0 0 auto; }
  .funnel-steps li:not(.current) .label, .funnel-steps li:not(.current) a { display: none; }
}
.funnel-search { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; padding: 1rem; border-radius: var(--radius); background: var(--card); border: 1px solid color-mix(in srgb, var(--muted) 22%, transparent); }
.funnel-search label { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; font-weight: 600; flex: 1 1 130px; margin: 0; }
.funnel-search input { min-width: 0; }
.funnel-search .btn { flex: 1 1 100%; }
@media (min-width: 720px) { .funnel-search .btn { flex: 0 0 auto; } }
.funnel-count { margin: 1.6rem 0 0; font-size: 1.15rem; }
.funnel-count .muted { font-weight: 400; }
.offers { display: grid; gap: .9rem; margin-top: 1rem; }
.offer { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 1rem; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--muted) 22%, transparent); }
.offer.preferred { border-color: var(--p); box-shadow: 0 0 0 1px var(--p); }
.offer.off { opacity: .72; }
.offer-media { background: color-mix(in srgb, var(--muted) 15%, transparent); min-height: 150px; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-body { padding: .9rem 0; min-width: 0; }
.offer-body h3 { margin: 0 0 .2rem; }
.offer-body p { margin: .2rem 0 0; }
.offer-price { padding: .9rem 1rem; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .35rem; text-align: right; min-width: 200px; }
.offer-price strong { font-size: 1.45rem; font-weight: 800; }
.offer-off { color: var(--muted); font-size: .9rem; max-width: 230px; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; gap: .6rem; }
  .offer-media { height: 180px; min-height: 0; }
  .offer-body { padding: 0 1rem; }
  .offer-price { align-items: stretch; text-align: left; padding-top: 0; min-width: 0; }
  .offer-off { max-width: none; }
}
.funnel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.funnel-main .card { margin-bottom: 1rem; }
.funnel-main .card h2 { margin-top: 0; font-size: 1.08rem; }
.funnel-recap { position: sticky; top: 84px; }
.funnel-recap h2 { margin: 0 0 .4rem; font-size: 1.08rem; }
.funnel-recap p { margin: .25rem 0 .6rem; }
.recap-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 3px); margin-bottom: .8rem; display: block; }
.choice { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .2rem; border-top: 1px solid color-mix(in srgb, var(--muted) 18%, transparent); cursor: pointer; font-weight: 400; margin: 0; }
.card h2 + .choice { border-top: 0; }
.choice input { margin-top: .28rem; }
.funnel-actions { display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.funnel-actions span { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .funnel-grid { grid-template-columns: 1fr; }
  .funnel-recap { position: static; order: -1; }
  .recap-photo { display: none; }
}

/* ---------- Galerie de la page d'accueil : mosaïque, la première photo en grand ---------- */
.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 15vw, 190px); gap: .55rem; }
.home-gallery button { position: relative; padding: 0; border: 0; background: color-mix(in srgb, var(--muted) 18%, transparent); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.home-gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.home-gallery button.extra { display: none; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-gallery button:hover img, .home-gallery button:focus-visible img { transform: scale(1.04); }
.home-gallery button:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.home-gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.52); color: #fff; font-weight: 700; font-size: 1.05rem; }
/* Peu de photos : pas de trou dans la mosaïque. */
.home-gallery-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(220px, 40vw, 420px); }
.home-gallery-1 button:first-child { grid-column: auto; grid-row: auto; }
.home-gallery-2, .home-gallery-4 { grid-template-columns: repeat(2, 1fr); }
.home-gallery-2 button:first-child, .home-gallery-4 button:first-child { grid-column: auto; grid-row: auto; }
.home-gallery-3 { grid-template-columns: 2fr 1fr; }
.home-gallery-3 button:first-child { grid-column: auto; grid-row: span 2; }
@media (max-width: 700px) {
  .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(100px, 30vw, 160px); }
  .home-gallery-3 { grid-template-columns: repeat(2, 1fr); }
  .home-gallery-3 button:first-child { grid-column: span 2; grid-row: auto; }
}

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh;
}
dialog.lightbox::backdrop { background: rgba(0,0,0,.9); }
dialog.lightbox img { max-width: 96vw; max-height: 88vh; object-fit: contain; border-radius: 6px; margin: 0 auto; }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .7rem; color: #fff; }
.lb-bar button {
  background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 999px;
  width: 40px; height: 40px; font-size: 1.15rem; cursor: pointer; line-height: 1;
}
.lb-bar button:hover { background: rgba(255,255,255,.26); }
.lb-count { font-size: .9rem; min-width: 5ch; text-align: center; }

/* ---------- Fiche logement ---------- */
.prop-head { padding-top: 1.9rem; }
.prop-head .place { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: var(--muted); font-size: .95rem; }
.facts-row {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1rem 0 0;
  font-size: .95rem; font-weight: 600;
}
.facts-row span { display: inline-flex; align-items: center; gap: .45rem; }
.facts-row svg { flex: none; opacity: .75; }

.layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 940px) { .layout { grid-template-columns: minmax(0,1.7fr) minmax(320px,1fr); } }

.card {
  background: var(--card); border-radius: var(--radius); padding: 1.35rem 1.45rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.055);
  margin: 0 0 1.4rem;
}
.card.plain { box-shadow: none; background: transparent; padding: 0; }
.card p:last-child { margin-bottom: 0; }
.sep { border: 0; border-top: 1px solid color-mix(in srgb, var(--muted) 22%, transparent); margin: 1.4rem 0; }

.prose { white-space: pre-line; }
.prose.clamp { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.readmore { background: none; border: 0; color: var(--p); font: inherit; font-weight: 700; cursor: pointer; padding: .4rem 0 0; text-decoration: underline; }

/* Équipements par catégorie */
.amen-group { margin-bottom: 1.2rem; }
.amen-group:last-child { margin-bottom: 0; }
.amen-group h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin-bottom: .5rem; font-weight: 700;
}
.amen-list { display: grid; gap: .45rem .9rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.amen-list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; list-style: none; line-height: 1.45; }
.amen-list svg { flex: none; color: var(--p); margin-top: .16rem; }
.amen-list span { min-width: 0; }
ul.amen-list { margin: 0; padding: 0; }

/* Chambres et lits */
.beds { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.bed {
  border: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
  border-radius: calc(var(--radius) - 2px); padding: .8rem .9rem;
}
.bed strong { display: block; font-size: .92rem; }
.bed span { font-size: .87rem; color: var(--muted); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badges span, .tag {
  display: inline-block; background: color-mix(in srgb, var(--p) 11%, transparent);
  color: color-mix(in srgb, var(--p) 82%, var(--text));
  border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600;
}

/* Réassurance : une colonne par argument, icône à gauche du texte.
   Le sélecteur vise l'enfant direct — sinon le bloc de texte devient lui
   aussi une rangée flex et le titre se retrouve écrasé sur trois lignes. */
.trust { display: grid; gap: 1.4rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.trust > div { display: flex; gap: .75rem; align-items: flex-start; }
.trust > div > div { min-width: 0; }
.trust svg { flex: none; color: var(--p); margin-top: .1rem; }
.trust strong { display: block; font-size: .95rem; line-height: 1.35; margin-bottom: .15rem; }
.trust p { margin: 0; font-size: .89rem; color: var(--muted); line-height: 1.55; }

/* ---------- Encart de réservation ---------- */
.booking { position: sticky; top: 84px; }
.booking .from { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .9rem; }
.booking .from strong { font-size: 1.5rem; font-weight: 800; }

label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: .28rem; }
input, select, textarea {
  width: 100%; padding: .62rem .72rem; font: inherit;
  border: 1px solid color-mix(in srgb, var(--muted) 42%, transparent);
  border-radius: calc(var(--radius) - 3px); background: var(--bg); color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--p); outline-offset: 1px; border-color: var(--p); }
.row { display: grid; gap: .8rem; }
@media (min-width: 620px) { .row.c2 { grid-template-columns: 1fr 1fr; } .row.c4 { grid-template-columns: repeat(4,1fr); } }
.field { margin-bottom: .85rem; }
.check { display: flex; gap: .55rem; align-items: flex-start; }
.check input { width: auto; margin-top: .32rem; flex: none; }
.check label { font-weight: 400; font-size: .87rem; margin: 0; }
input[type="checkbox"], input[type="radio"] { width: auto; padding: 0; margin: 0; flex: none; }
.btn.small { padding: .5rem .85rem; font-size: .88rem; }
.map-card .map-embed { border-radius: calc(var(--radius) - 3px); overflow: hidden; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--muted) 15%, transparent); margin-bottom: .7rem; }
.map-card .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Garde de la carte : tant qu'il est là, la molette et le doigt font défiler la page, pas la carte. */
.map-card .map-embed { position: relative; }
.map-card .map-guard { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0 0 .7rem; border: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.map-card .map-guard[hidden] { display: none; }
.map-card .map-guard span { background: rgba(20, 24, 28, .72); color: #fff; font: inherit; font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; pointer-events: none; }
.map-card .map-guard:focus-visible { outline: 3px solid var(--p); outline-offset: -3px; }
.map-card .map-embed.is-live { box-shadow: 0 0 0 2px var(--p); }
.map-card .map-address { display: flex; gap: .4rem; align-items: center; margin: 0 0 .5rem; font-size: .95rem; }
.map-card .nav-btns { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

table.quote { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.quote td { padding: .34rem 0; }
table.quote td:last-child { text-align: right; white-space: nowrap; }
table.quote tr.total td {
  border-top: 1.5px solid color-mix(in srgb, var(--muted) 30%, transparent);
  font-weight: 800; font-size: 1.08rem; padding-top: .6rem;
}

.alert { padding: .8rem 1rem; border-radius: calc(var(--radius) - 3px); margin: 1rem 0; font-size: .93rem; }
.alert.error { background: #fbe4e2; color: #99291f; }
.alert.success { background: #ddefe4; color: #1c6343; }
.error-text { color: #a13029; font-size: .82rem; }

/* ---------- Pied de page ---------- */
footer.site {
  margin-top: 3.5rem; padding: 2.4rem 0 2rem; background: var(--card);
  font-size: .9rem; color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: .9rem; }
footer.site nav a { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .pcard:hover, .btn:hover { transform: none; }
}

/* ---------- Accueil : logement mis en avant ---------- */
.feature {
  display: grid; gap: 1.6rem; align-items: center;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.08);
}
@media (min-width: 880px) { .feature { grid-template-columns: 1.15fr 1fr; gap: 0; } }

.feature-media { display: grid; gap: .4rem; }
.feature-media > a { display: block; line-height: 0; overflow: hidden; }
.feature-media > a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .5s ease; }
.feature-media > a:hover img { transform: scale(1.04); }
.feature-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.feature-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.feature-body { padding: 1.6rem 1.8rem; }
.feature-body h2 { margin: .55rem 0 .3rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.feature-body .facts { font-size: .9rem; margin: 0 0 .8rem; }
.feature-body .amen-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.feature-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem;
  padding-top: 1.1rem; border-top: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
}
.feature-foot .price small { font-weight: 500; color: var(--muted); font-size: .82rem; }

/* ---------- Accueil : les hôtes ---------- */
.hosts { display: flex; gap: 1.2rem; align-items: flex-start; }
.hosts-mark {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--p) 12%, transparent); color: var(--p);
}
.hosts h2 { margin-bottom: .5rem; }
.hosts-sign {
  margin-top: .9rem; font-style: italic; color: var(--muted); font-size: .93rem;
}
@media (max-width: 620px) { .hosts { flex-direction: column; gap: .8rem; } }

/* Partage et actions rapides */
.actions-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .8rem; }
.share { position: relative; display: inline-block; }
.share-menu { position: absolute; z-index: 40; top: calc(100% + .4rem); left: 0; min-width: 200px; background: var(--card); color: var(--text);
  border-radius: calc(var(--radius) - 3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); padding: .35rem; display: grid; }
.share-menu a, .share-menu button { display: block; text-align: left; padding: .5rem .7rem; border: 0; background: none; font: inherit; font-size: .92rem;
  color: var(--text); border-radius: 6px; cursor: pointer; text-decoration: none; width: 100%; }
.share-menu a:hover, .share-menu button:hover { background: color-mix(in srgb, var(--p) 12%, transparent); }
.share.up .share-menu { top: auto; bottom: calc(100% + .4rem); }
/* Sur un écran étroit, la carte de réservation ne colle pas : elle suit le flux. */
@media (max-width: 900px) { .booking { position: static; } }
/* L'attribut hidden doit gagner sur toute règle display (menu de partage fermé, barre de réservation masquée). */
[hidden] { display: none !important; }
/* Écran étroit : la carte de réservation vient juste après les photos, avant la description. */
@media (max-width: 939px) { .layout > div:last-child { order: -1; } }
/* Barre de réservation fixe en bas sur mobile : prix « dès » et raccourci vers le formulaire. */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); color: var(--text); box-shadow: 0 -8px 26px rgba(0,0,0,.14); }
.book-bar strong { font-size: 1.1rem; }
.book-bar .muted { font-size: .82rem; }
@media (max-width: 939px) { .book-bar { display: flex; } body.has-book-bar { padding-bottom: 4.4rem; } }

/* Sélecteur de langue du site : menu déroulant compact dans l'en-tête. */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; font-size: .85rem; font-weight: 600; padding: .35rem .6rem;
  border: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); border-radius: 999px; white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 50; display: grid; min-width: 9.5rem; padding: .35rem;
  background: var(--card); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.lang-menu a { padding: .5rem .75rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; }
.lang-menu a:hover { background: color-mix(in srgb, var(--p) 10%, transparent); }
.lang-menu a[aria-current] { font-weight: 700; color: var(--p); }
@media (max-width: 760px) {
  /* Petit écran : l'en-tête passe à la ligne au lieu de déborder ; le sélecteur reste calé à droite. */
  header.site .wrap { flex-wrap: wrap; row-gap: .45rem; }
  header.site nav { flex-wrap: wrap; justify-content: flex-end; gap: .45rem .9rem; margin-left: auto; }
}

/* Mode hôtel : recherche de dates dans le bandeau, cartes des types de chambres. */
.hero-search { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-top: 1.6rem; padding: .9rem; border-radius: var(--radius); background: rgba(255,255,255,.94); color: #1d2723; box-shadow: 0 8px 30px rgba(0,0,0,.18); max-width: 760px; }
.hero-search label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; font-weight: 600; flex: 1 1 120px; }
.hero-search input { padding: .55rem .6rem; border: 1px solid #cfd6d2; border-radius: 8px; font: inherit; min-width: 0; }
.hero-search .btn { flex: 1 1 100%; }
@media (min-width: 720px) { .hero-search .btn { flex: 0 0 auto; } }
.rooms-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.room-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 8px 26px rgba(0,0,0,.07); }
.room-card-media { aspect-ratio: 4 / 3; background: #eef1ef; display: flex; align-items: center; justify-content: center; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-card-placeholder { color: #9aa7a0; }
.room-card-body { display: flex; flex-direction: column; gap: .4rem; padding: .9rem 1rem 1rem; flex: 1; }
.room-card-body h3 { margin: 0; font-size: 1.08rem; }
.room-card-body .facts { margin: 0; font-size: .86rem; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.room-card-foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.room-card-foot .price { font-weight: 700; }
.room-card-foot .price small { font-weight: 500; color: var(--muted); }

/* ---------- « Besoin d'une facture ? » : un repli discret dans le tunnel ---------- */
.facture { margin: .2rem 0 1rem; border: 1px solid color-mix(in srgb, var(--muted) 24%, transparent); border-radius: var(--radius); padding: .6rem .9rem; }
.facture > summary { cursor: pointer; font-weight: 650; font-size: .95rem; color: var(--p); list-style: none; }
.facture > summary::-webkit-details-marker { display: none; }
.facture > summary::before { content: '+ '; font-weight: 800; }
.facture[open] > summary::before { content: '– '; }
.facture[open] > summary { margin-bottom: .2rem; }
