/* Page publique de réservation : la charte de l'interface, en plus aéré, aux couleurs du loueur. */
body { background: var(--bg); }
.pub-wrap { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.pub-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.pub-top .pub-wrap { height: 64px; }
.pub-name { font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; text-decoration: none !important; }
.pub-main { padding-top: 28px; padding-bottom: 48px; min-height: 70vh; }
.pub-foot { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: .85rem; display: flex; flex-direction: column; gap: 6px; }

.hero { padding: 28px 0 22px; }
.hero h1 { font-size: 2.1rem; margin-bottom: 8px; }
.hero p { color: var(--ink-2); max-width: 680px; font-size: 1.05rem; }

.offer { display: flex; flex-direction: column; overflow: hidden; }
.offer .ph { aspect-ratio: 16 / 10; background: var(--brand-50) center / cover no-repeat; }
.offer .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.offer .price { font-weight: 800; color: var(--brand-700); }

.item-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.item-row:last-child { border-bottom: 0; }
.item-row .ph { width: 76px; height: 56px; border-radius: 10px; background: var(--brand-50) center / cover no-repeat; }
.item-row.off { opacity: .5; }
@media (max-width: 600px) { .item-row { grid-template-columns: 1fr auto; } .item-row .ph { display: none; } .hero h1 { font-size: 1.6rem; } }

.state { font-size: 1.3rem; font-weight: 800; }
.state.ok { color: var(--brand-700); }
.state.ko { color: var(--red); }

.nb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .nb-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ----- Annuaire ----- */
.dir-brand { display: inline-flex; align-items: center; gap: 8px; }
.dir-brand b { color: var(--brand); font-weight: 800; }
.dir-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: .92rem; }
.dir-nav a:not(.btn) { color: var(--ink-2); }
@media (max-width: 600px) { .dir-nav a:not(.btn) { display: none; } }

.dir-hero { padding: 36px 0 8px; }
.dir-hero h1 { font-size: 2.3rem; max-width: 760px; margin-bottom: 10px; }
.dir-hero p { color: var(--ink-2); max-width: 680px; font-size: 1.05rem; margin-bottom: 20px; }
.small-hero { padding-top: 16px; }
.small-hero h1 { font-size: 1.7rem; }
@media (max-width: 600px) { .dir-hero h1 { font-size: 1.7rem; } }

.search { display: grid; grid-template-columns: 2fr 1.3fr .8fr auto; gap: 12px; align-items: end; background: var(--surface);
          border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.search .near { grid-column: 1 / -1; justify-self: start; padding-left: 0; }
@media (max-width: 800px) { .search { grid-template-columns: 1fr 1fr; } .search .where { grid-column: 1 / -1; } .search .btn.lg { grid-column: 1 / -1; } }

.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.act { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
       color: var(--ink); text-decoration: none !important; transition: border-color .15s, transform .15s; }
.act:hover { border-color: var(--brand); transform: translateY(-1px); }
.act span { font-size: .82rem; color: var(--muted); }

.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.listings.one-col { grid-template-columns: 1fr; }
.listing { display: flex; overflow: hidden; color: inherit; text-decoration: none !important; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.listing:hover { transform: translateY(-2px); }
.listing .ph { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-50), #fff) center / cover no-repeat; display: grid; place-items: center; }
.listing .ph span { color: var(--brand-700); font-weight: 800; }
.listing .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listing h3 { font-size: 1.05rem; }
.listing .price { font-weight: 800; color: var(--brand-700); }
.listing .go { font-weight: 700; color: var(--brand-700); font-size: .9rem; }
.one-col .listing { flex-direction: row; }
.one-col .listing .ph { width: 200px; aspect-ratio: auto; flex: none; }
@media (max-width: 600px) { .one-col .listing { flex-direction: column; } .one-col .listing .ph { width: auto; aspect-ratio: 16 / 9; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.results { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.map-col { position: sticky; top: 84px; }
.map { height: calc(100vh - 120px); min-height: 360px; border-radius: var(--r-lg); border: 1px solid var(--line); z-index: 0; }
@media (max-width: 1000px) { .results { grid-template-columns: 1fr; } .map-col { position: static; order: -1; } .map { height: 300px; } }

.pro { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ----- Vitrine du loueur ----- */
.cover { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff;
         background: #0B2235 center / cover no-repeat; }
.cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,53,.05) 0%, rgba(11,34,53,.35) 45%, rgba(11,34,53,.82) 100%); }
.cover.plain { min-height: 260px; background: linear-gradient(135deg, var(--brand-700), var(--brand) 60%, var(--brand-600)); }
.cover.plain::before { background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 55%); }
.cover-in { position: relative; padding-top: 48px; padding-bottom: 34px; width: 100%; }
.cover h1 { font-size: 2.8rem; color: #fff; letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.cover-tag { font-size: 1.2rem; max-width: 720px; margin: 8px 0 0; color: rgba(255,255,255,.92); }
.cover-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-weight: 700; }
.cover-meta a { color: #fff; }
.cover-logo { height: 64px; width: auto; border-radius: 14px; background: #fff; padding: 6px; margin-bottom: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.cover-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); }
.cover-ghost:hover { background: rgba(255,255,255,.24); }
@media (max-width: 600px) { .cover { min-height: 320px; } .cover h1 { font-size: 2rem; } .cover-tag { font-size: 1.02rem; } }

.highlights { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.highlights li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.block { margin-top: 34px; }
.block-h { font-size: 1.4rem; margin-bottom: 14px; }
.block.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .block.two { grid-template-columns: 1fr; } }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 760px; margin-bottom: 18px; }
.offer h3 { font-size: 1.15rem; }
.offer .ph { transition: transform .4s; }
.offer:hover .ph { transform: scale(1.03); }
.offer { transition: box-shadow .2s, transform .2s; }
.offer:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(11,34,53,.05), 0 18px 40px -22px rgba(11,34,53,.45); }

.avail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.avail .wd { font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center; text-transform: uppercase; }
.ad { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1.15; border-radius: 10px;
      font-size: .92rem; color: var(--ink); text-decoration: none !important; line-height: 1.1; }
.ad small { font-size: .62rem; font-weight: 700; text-transform: uppercase; color: inherit; opacity: .75; }
i.ad { display: inline-block; width: 14px; height: 14px; aspect-ratio: auto; border-radius: 4px; vertical-align: -2px; }
.ad.free { background: var(--brand-50); color: var(--brand-700); font-weight: 800; }
.ad.few { background: #FFF1DC; color: #9A5B07; font-weight: 800; }
.ad.full { background: #FDE6E3; color: #B23A25; text-decoration: line-through !important; }
.ad.closed, .ad.beyond { background: var(--subtle); color: var(--line-2); }
.ad.past { color: var(--line-2); }
a.ad:hover { outline: 2px solid var(--brand); }
.ad.today { box-shadow: inset 0 0 0 2px var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sumline.now { font-weight: 800; color: var(--brand-700); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery a { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--brand-50) center / cover no-repeat; transition: transform .2s; }
.gallery:not(.few) a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery.few { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery a:hover { transform: scale(1.015); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } }

.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--brand-700); font-weight: 800; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--ink-2); }

.sticky-cta { display: none; }
@media (max-width: 700px) {
    .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
                  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
    .pub-foot { padding-bottom: 96px; }
}
