

.hp-hero { padding: 12px 0 20px; background: #fff; border-bottom: 1px solid var(--af-line); color: var(--af-ink); }
.hp-hero .breadcrumb { margin-bottom: 12px; font-size: 13px; }
.hp-hero .breadcrumb a { color: var(--af-muted); text-decoration: none; }
.hp-hero .breadcrumb a:hover { color: var(--af-red); }
.hp-hero .breadcrumb-item.active { color: var(--af-ink); }
.hp-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--af-muted); }

.hp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.hp-head-main { min-width: 0; }
.hp-head-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* Même traitement que le titre des cartes liste (.hc-title) */
.hp-name { margin: 0 0 6px; font-family: var(--af-font); font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--af-ink); }
.hp-name .vv-stars { margin-left: 8px; vertical-align: 3px; }

.hp-address { margin: 0 0 10px; font-size: 14px; color: var(--af-muted); }
.hp-address .bi { margin-right: 4px; }

.hp-accroche { display: flex; align-items: flex-start; gap: 8px; width: fit-content; max-width: 100%; margin-bottom: 10px; padding: 8px 12px; border-radius: var(--af-radius-sm); background: var(--af-red-soft); color: var(--af-ink); font-size: 14px; font-weight: 500; }
.hp-accroche > .bi { flex: none; color: var(--af-red); }
.hp-offer { margin: 0 0 10px; color: var(--af-red); font-size: 14px; font-weight: 600; }

.hp-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.hp-themes-label { font-size: 13px; color: var(--af-muted); }
.hp-chip { padding: 4px 12px; border-radius: 999px; background: var(--af-canvas); color: var(--af-ink); font-size: 13px; font-weight: 500; }
.hp-chip--more { border: 1px solid var(--af-line); background: transparent; color: var(--af-muted); cursor: help; }

.hp-actions { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hp-actions a { display: inline-flex; align-items: center; gap: 6px; color: var(--af-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.hp-actions a:hover { color: var(--af-red); }

/* Mobile : lien retour vers la page de la ville, à la place du fil d'Ariane */
.hp-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--af-muted); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.hp-back .bi { font-size: 12px; }
.hp-back:hover { color: var(--af-red); }

.hp-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--af-radius-sm); background: var(--af-red); color: #fff; font-family: var(--af-font); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color var(--af-ease); }
.hp-cta:hover { background: var(--af-red-hover); color: #fff; }

.hp-page { display: flow-root; background: var(--af-canvas); color: var(--af-ink); }

/* Même traitement que les titres de sections de la liste */
.hp-title { margin: 0 0 14px; font-family: var(--af-font); font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--af-ink); }

.hp-note { display: flex; gap: 8px; height: 100%; padding: 14px; border-radius: var(--af-radius-sm); background: var(--af-red-soft); color: var(--af-ink); }
.hp-note .bi { flex: none; color: var(--af-red); }

/* Onglets de la fiche : texte souligné */
.sj-tabs { position: static; }
.nav-fiche.sort { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav-fiche.sort::-webkit-scrollbar { display: none; }
.nav-fiche.sort .nav-link { padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent !important; color: var(--af-ink) !important; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav-fiche.sort .nav-link:hover { color: var(--af-red) !important; }
.nav-fiche.sort .nav-link.active { border-bottom: 2px solid var(--af-red) !important; background: transparent !important; color: var(--af-red) !important; }
.nav-fiche.sort .nav-link:focus-visible { outline: 2px solid var(--af-red); outline-offset: -2px; }
#tarifs, #equipement, #description, #infos, #localisation { scroll-margin-top: 150px; }

/* Galerie */
.hp-gallery { margin-bottom: 16px; }
.photo-gallery { display: grid; gap: 8px; }
.photo-gallery[data-count="1"] { grid-template-columns: 1fr; }
.photo-gallery[data-count="2"] { grid-template-columns: 1fr 1fr; }
.photo-gallery[data-count="3"], .photo-gallery[data-count="4"], .photo-gallery[data-count="5"] { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
.photo-gallery .gallery-main { grid-row: 1 / 3; grid-column: 1 / 2; }
.photo-gallery .gallery-main img { width: 100%; height: 100%; min-height: 448px; object-fit: cover; border-radius: var(--af-radius) 0 0 var(--af-radius); }
.photo-gallery[data-count="1"] .gallery-main img, .photo-gallery[data-count="2"] .gallery-main img { border-radius: var(--af-radius); min-height: 280px; }
.gallery-thumbs { display: contents; }
.gallery-thumbs a { position: relative; display: block; overflow: hidden; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; min-height: 216px; }
.gallery-thumbs a:nth-child(2) img { border-radius: 0 var(--af-radius) 0 0; }
.gallery-thumbs a:nth-child(4) img { border-radius: 0 0 var(--af-radius) 0; }
.gallery-thumbs a.after-five { display: none; }
.gallery-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgb(35 43 56 / 55%); color: #fff; font-weight: 600; font-size: 18px; }
.hp-gallery > .banner-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--af-ink); color: #fff; font-size: 13px; font-weight: 500; }

.hotel-services__subtitle { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--af-ink); }
.hotel-services__chip { background: var(--af-canvas); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--af-ink); }

/* Invitation à lancer la recherche (pas de dates en historique) */
.hp-rates-idle { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px dashed var(--af-line-strong); border-radius: var(--af-radius-sm); background: var(--af-canvas); color: var(--af-muted); font-size: 14px; }
.hp-rates-idle .bi { flex: none; font-size: 22px; color: var(--af-red); }
.hp-rates-idle strong { color: var(--af-ink); }

/* Contenu fournisseur : images et tableaux fluides, jamais de débordement */
.hp-desc img { max-width: 100%; height: auto; }
.hp-desc table { max-width: 100%; }
.hp-desc > div:first-child > :first-child { margin-top: 0; }

/* Localisation : carte commune + infos pratiques */
.hp-loc-list { display: grid; gap: 8px; }
.hp-loc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hp-loc-row > span:first-child { color: var(--af-muted); }
.hp-loc-row > strong { font-weight: 600; }

/* Barre d'action mobile */
.hp-sticky { z-index: 1030; background: #fff; border-top: 1px solid var(--af-line); box-shadow: 0 -6px 20px rgb(16 24 40 / 8%); }
.hp-sticky .hp-sticky-name { font-weight: 700; }
.hp-sticky .text-muted { color: var(--af-muted) !important; }

@media (max-width: 767px) {
  .hp-head { display: block; }
  .hp-hero { padding: 10px 0 16px; }
  .hp-head-side { align-items: flex-start; margin-top: 10px; }
  .hp-name { margin-bottom: 8px; font-size: 22px; line-height: 1.25; }
  .hp-actions a { min-height: 40px; padding: 0 14px; border: 1px solid var(--af-line); border-radius: 999px; font-size: 13.5px; }
  .nav-fiche.sort .nav-link { padding: 10px 12px; font-size: 14px; }
  .photo-gallery[data-count] { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .photo-gallery .gallery-main { grid-row: auto; grid-column: auto; }
  .photo-gallery .gallery-main img { min-height: 260px; border-radius: var(--af-radius); }
  .gallery-thumbs { display: none; }
}
