/* ============================================================
   hotel.css — modèle « hotel » (fiche hôtel).
   Hero : nom + étoiles + adresse (-> #emplacement) | note /5 + CTA,
   mosaïque vidéo 16/9 + images carrées (même géométrie que schools).
   Corps : à propos, équipements (icônes), avis (+ plateformes),
   points positifs/négatifs, emplacement (carte + CTA).
   ============================================================ */
.main-content.hotel, .hotel-stickybar {
    --ht-max: var(--max-width, 1120px);
    --ht-text: 760px;
    --ht-accent: var(--button-color, #2563eb);
    --ht-accent-hover: var(--button-color-hover, #1e4fd0);
    --ht-ink: #0f172a;
    --ht-muted: #64748b;
    --ht-line: #e6e8ee;
    --ht-bg-soft: #f6f8fc;
    --ht-star: #f5a623;
    color: var(--ht-ink);
    padding-bottom: 3.5rem;
}
/* garde-fou : jamais de défilement horizontal (overflow clip : la nav reste collante) */
.main-content.hotel { overflow-x: clip; }
.main-content.hotel > * { max-width: var(--ht-max); margin-left: auto; margin-right: auto; padding-left: 1.1rem; padding-right: 1.1rem; }

/* ---- Hero : identité ---- */
/* hero sur fond blanc pleine largeur (le fond de page reste gris clair) */
.main-content.hotel > .hotel-hero { margin-top: 0; padding-top: 1.7rem; padding-bottom: 1.4rem; background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.hotel-hero-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.hotel-hero-id { min-width: 0; flex: 1 1 420px; }
.hotel-h1-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.8rem; margin: 0 0 0.45rem; }
.hotel-h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; margin: 0; }
.hotel-h1-city { font-weight: 500; color: var(--ht-muted); }
.hotel-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.hotel-stars svg { width: 18px; height: 18px; fill: var(--ht-star); }
.hotel-address { display: flex; align-items: flex-start; gap: 0.4rem; color: var(--ht-muted); font-size: 0.94rem; line-height: 1.4; text-decoration: none; width: fit-content; }
.hotel-address svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; color: var(--ht-accent); }
.hotel-address span { border-bottom: 1px solid transparent; }
.hotel-address:hover { color: var(--ht-accent); }
.hotel-address:hover span { border-bottom-color: currentColor; }

/* note + CTA */
.hotel-hero-side { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; }
.hotel-rating { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ht-ink); }
.hotel-rating-score { background: var(--ht-accent); color: #fff; font-weight: 800; font-size: 1.15rem; line-height: 1; padding: 0.55rem 0.6rem; border-radius: 10px 10px 10px 2px; font-variant-numeric: tabular-nums; }
.hotel-rating-score small { font-size: 0.7em; font-weight: 600; opacity: 0.85; }
.hotel-rating-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.9rem; }
.hotel-rating-txt span { color: var(--ht-muted); font-size: 0.85rem; }
.hotel-rating:hover .hotel-rating-txt strong { color: var(--ht-accent); }
.hotel-cta { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; background: var(--ht-accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 0.7rem 1.3rem; border-radius: 12px; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25); transition: background .15s ease, transform .15s ease; text-align: center; }
.hotel-cta:hover { background: var(--ht-accent-hover); transform: translateY(-1px); }
.hotel-cta-price { font-weight: 500; font-size: 0.85rem; opacity: 0.95; }
.hotel-cta-price small { font-size: 0.85em; }
@media (max-width: 600px) {
    .hotel-hero-side { width: 100%; justify-content: space-between; }
    .hotel-cta { flex: 1 1 auto; }
}

/* ---- Mosaïque : vidéo 16/9 + images CARRÉES (géométrie reprise de schools) ----
   MOBILE  : vidéo (16/9) + 1 image carrée, côte à côte.
   DESKTOP : vidéo (16/9) à gauche + 2×2 images carrées à droite. */
.hotel-hero-media { position: relative; display: grid; gap: 8px; margin-top: 1.3rem; grid-template-columns: 16fr 9fr; grid-template-rows: 1fr; }
.hotel-hero-cell { position: relative; overflow: hidden; border-radius: 12px; display: block; background: #eef1f6; min-width: 0; min-height: 0; border: 0; padding: 0; margin: 0; font: inherit; cursor: zoom-in; }
.hotel-hero-cell picture, .hotel-hero-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-hero-cell--img img { transition: transform .35s ease, filter .2s ease; }
.hotel-hero-cell--img:hover img { transform: scale(1.03); filter: brightness(0.94); }
.hotel-hero-cell:focus-visible { outline: 3px solid var(--ht-accent); outline-offset: 3px; }
.hotel-hero-cell--video { grid-column: 1; aspect-ratio: 16 / 9; cursor: pointer; background: #000; }
.hotel-hero-cell--video img { opacity: 0.94; }
.hotel-hero-cell--video:hover img { opacity: 1; }
.hotel-hero-img-0 { grid-column: 2; }
.hotel-hero-img-1, .hotel-hero-img-2, .hotel-hero-img-3, .hotel-hero-img-4, .hotel-hero-img-5 { display: none; }
/* sans vidéo : la 1re image prend la place de la vidéo */
.hotel-hero-media:not(:has(.hotel-hero-cell--video)) .hotel-hero-img-0 { grid-column: 1; aspect-ratio: 16 / 9; }
.hotel-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; pointer-events: none; }
.hotel-play-btn svg { width: 100%; height: 100%; }
.hotel-hero-cell--video.hotel-video-embed { cursor: default; }
.hotel-hero-cell--video.hotel-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hotel-hero-allbtn { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 0.4rem; background: rgba(255, 255, 255, 0.95); color: var(--ht-ink); border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.9rem; padding: 0.45rem 0.7rem; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.hotel-hero-allbtn svg { width: 16px; height: 16px; }
.hotel-hero-allbtn:hover { background: #fff; color: var(--ht-accent); }
/* Desktop : vidéo 16/9 (2 rangées) + 3 colonnes × 2 rangées d'images carrées.
   Colonnes 16 : 4.5 : 4.5 : 4.5 -> vidéo 16/9 et cellules carrées, mosaïque moins haute. */
@media (min-width: 900px) {
    .hotel-hero-media { grid-template-columns: 16fr 4.5fr 4.5fr 4.5fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .hotel-hero-cell--video { grid-column: 1; grid-row: 1 / span 2; }
    .hotel-hero-img-0 { grid-column: auto; }
    .hotel-hero-img-1, .hotel-hero-img-2, .hotel-hero-img-3, .hotel-hero-img-4, .hotel-hero-img-5 { display: block; }
}

/* ---- Sections ---- */
.hotel-content { margin-top: 1rem; }
.hotel-section { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid var(--ht-line); scroll-margin-top: 70px; }
.hotel-section:first-child { border-top: 0; margin-top: 1.5rem; padding-top: 1rem; }
.hotel-section-title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; margin: 0 0 1.2rem; }
.hotel-prose { max-width: var(--ht-text); }
.hotel-prose p { line-height: 1.72; margin: 1rem 0; }
.hotel-prose > :first-child { margin-top: 0; }
.hotel-prose ul, .hotel-prose ol { line-height: 1.7; margin: 1rem 0; padding-left: 1.4rem; }
.hotel-prose ul { list-style: disc; }
.hotel-prose li + li { margin-top: 0.4rem; }
.hotel-prose a { color: var(--ht-accent); text-decoration: underline; text-underline-offset: 3px; }
.hotel-prose a:hover { color: var(--ht-accent-hover); }
.hotel-prose strong { font-weight: 700; }

/* ---- Équipements : grille icône + libellé ---- */
.hotel-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.7rem; }
.hotel-amenity { display: flex; align-items: center; gap: 0.75rem; background: var(--ht-bg-soft); border: 1px solid var(--ht-line); border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.95rem; line-height: 1.35; }
.hotel-amenity-icon { flex: 0 0 auto; width: 34px; height: 34px; color: var(--ht-accent); display: flex; }
.hotel-amenity-icon svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .hotel-amenities { grid-template-columns: 1fr 1fr; gap: 0.5rem; } .hotel-amenity { padding: 0.6rem 0.65rem; gap: 0.55rem; font-size: 0.88rem; } .hotel-amenity-icon { width: 28px; height: 28px; } }

/* ---- Avis : notes des plateformes ---- */
.hotel-platforms-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ht-muted); margin: 0 0 0.7rem; }
.hotel-platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.7rem; margin: 0 0 1.8rem; }
.hotel-platform { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 1rem; border: 1px solid var(--ht-line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ht-ink); transition: border-color .15s, box-shadow .15s; border-top: 4px solid var(--ht-line); }
a.hotel-platform:hover { border-color: var(--ht-accent); box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12); }
.hotel-platform-name { font-weight: 700; font-size: 0.95rem; }
.hotel-platform-score { font-size: 0.95rem; color: var(--ht-muted); }
.hotel-platform-score strong { font-size: 1.35rem; color: var(--ht-ink); }
.hotel-platform-reviews { font-size: 0.82rem; color: var(--ht-muted); }
.hotel-platform--booking { border-top-color: #003b95; }
.hotel-platform--trip { border-top-color: #287dfa; }
.hotel-platform--expedia { border-top-color: #fddb32; }
.hotel-platform--agoda { border-top-color: #ee363f; }
.hotel-platform--tripadvisor { border-top-color: #34e0a1; }
.hotel-platform--google { border-top-color: #4285f4; }

/* ---- Points positifs / négatifs (2 boxes) ---- */
.hotel-proscons { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .hotel-proscons { grid-template-columns: 1fr 1fr; } }
.hotel-pros, .hotel-cons { border-radius: 14px; padding: 1.2rem 1.3rem; }
.hotel-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.hotel-cons { background: #fffbeb; border: 1px solid #fde68a; }
.hotel-pros h3, .hotel-cons h3 { font-size: 1.05rem; margin: 0 0 0.8rem; }
.hotel-pros h3 { color: #15803d; }
.hotel-cons h3 { color: #b45309; }
.hotel-pros h3::before { content: "\2713\00a0"; }
.hotel-cons h3::before { content: "\26A0\00a0"; }
.hotel-pros ul, .hotel-cons ul { list-style: none; padding: 0; margin: 0; }
.hotel-pros li, .hotel-cons li { position: relative; padding-left: 1.2rem; line-height: 1.55; font-size: 0.95rem; }
.hotel-pros li + li, .hotel-cons li + li { margin-top: 0.65rem; }
.hotel-pros li::before, .hotel-cons li::before { content: "\2022"; position: absolute; left: 0.2rem; font-weight: 700; }
.hotel-pros li::before { color: #22c55e; }
.hotel-cons li::before { color: #f59e0b; }
.hotel-pros li strong, .hotel-cons li strong { display: block; }
.hotel-pros li span, .hotel-cons li span { color: #334155; }

/* ---- Emplacement ---- */
.hotel-location-address { display: flex; align-items: flex-start; gap: 0.45rem; font-weight: 600; margin: 0 0 1rem; }
.hotel-location-address svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; color: var(--ht-accent); }
.hotel-map { margin-top: 1.4rem; border-radius: 14px; overflow: hidden; }
.hotel-map iframe { width: 100%; height: 400px; border: 0; display: block; }
.hotel-cta-box { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ht-bg-soft); border: 1px solid var(--ht-line); border-radius: 14px; padding: 1.1rem 1.3rem; }
.hotel-cta-box-title { margin: 0; font-weight: 700; font-size: 1.05rem; }
.hotel-cta-box .hotel-cta { flex-direction: row; gap: 0.4rem; }
@media (max-width: 600px) { .hotel-cta-box .hotel-cta { width: 100%; flex-direction: column; } }

/* ---- Visionneuse plein écran ---- */
.hotel-lightbox { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; align-items: center; justify-content: center; padding: 5vmin; }
.hotel-lightbox[hidden] { display: none; }
.hotel-lightbox-img { max-width: 90vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); opacity: 0; transition: opacity .18s ease; }
.hotel-lightbox-img.is-loaded { opacity: 1; }
.hotel-lightbox-count { position: fixed; top: 1.2rem; left: 1.2rem; font-weight: 700; color: var(--ht-muted, #64748b); font-variant-numeric: tabular-nums; }
.hotel-lightbox-close, .hotel-lightbox-nav { position: fixed; border: none; background: transparent; color: #0f172a; cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; transition: color .15s ease, transform .15s ease, background .15s ease; -webkit-tap-highlight-color: transparent; }
.hotel-lightbox-close { top: 0.75rem; right: 1rem; width: 3rem; height: 3rem; font-size: 2.6rem; border-radius: 50%; }
.hotel-lightbox-nav { top: 50%; transform: translateY(-50%); width: 2.9rem; height: 2.9rem; font-size: 1.9rem; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.hotel-lightbox-prev { left: 1rem; }
.hotel-lightbox-next { right: 1rem; }
.hotel-lightbox-close:hover, .hotel-lightbox-nav:hover { color: #2563eb; }
.hotel-lightbox-prev:hover, .hotel-lightbox-next:hover { transform: translateY(-50%) scale(1.1); background: #fff; }

/* ============================================================
   Ajouts 24/10/2026 : fil d'Ariane, navigation collante, « en bref »,
   notes détaillées, bandeau mobile, finitions.
   ============================================================ */
/* ---- Fil d'Ariane ---- */
.hotel-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0; margin: 0 0 0.8rem; padding: 0; font-size: 0.84rem; color: var(--ht-muted); }
.hotel-crumbs li + li::before { content: "›"; margin: 0 0.45rem; color: #a3acbb; }
.hotel-crumbs a { color: var(--ht-muted); text-decoration: none; }
.hotel-crumbs a:hover { color: var(--ht-accent); text-decoration: underline; }
.hotel-crumbs [aria-current] { color: var(--ht-ink); }

/* ---- Navigation des sections (collante) ---- */
/* fond blanc + filet pleine largeur par OMBRES (aucun débordement de mise en page :
   un pseudo-élément à left/right -100vmax créait un défilement horizontal). */
.main-content.hotel > .hotel-nav { position: sticky; top: 0; z-index: 40; margin-top: 0; background: #fff; box-shadow: 0 0 0 100vmax #fff, 0 1px 0 100vmax var(--ht-line); clip-path: inset(0 -100vmax -1px); }
.hotel-nav ul { list-style: none; display: flex; gap: 0.3rem; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.hotel-nav ul::-webkit-scrollbar { display: none; }
.hotel-nav a { display: block; white-space: nowrap; padding: 0.85rem 0.8rem; font-size: 0.92rem; font-weight: 600; color: var(--ht-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.hotel-nav a:hover { color: var(--ht-ink); }
.hotel-nav a.is-active { color: var(--ht-accent); border-bottom-color: var(--ht-accent); }
.hotel-section, .hotel-brief { scroll-margin-top: 64px; }

/* ---- L'essentiel en bref ---- */
.hotel-brief { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; padding: 1.4rem; background: linear-gradient(180deg, #f6f8fc 0%, #fff 100%); border: 1px solid var(--ht-line); border-radius: 18px; }
@media (min-width: 900px) { .hotel-brief { grid-template-columns: 1.25fr 1fr; gap: 2.2rem; padding: 1.8rem 2rem; } }
.hotel-brief-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ht-accent); margin: 0 0 0.6rem; }
.hotel-brief-score { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--ht-muted); }
.hotel-brief-score strong { font-size: 1.6rem; color: var(--ht-ink); font-variant-numeric: tabular-nums; }
.hotel-brief .hotel-prose p { font-size: 1.04rem; line-height: 1.7; margin: 0; }
.hotel-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; align-content: start; }
.hotel-fact { background: #fff; border: 1px solid var(--ht-line); border-radius: 12px; padding: 0.65rem 0.8rem; min-width: 0; }
.hotel-fact dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ht-muted); margin: 0 0 0.2rem; }
.hotel-fact dt a { color: inherit; text-decoration: underline; text-decoration-color: #c5ccd8; text-underline-offset: 3px; }
.hotel-fact dt a:hover { color: var(--ht-accent); }
.hotel-fact dd { margin: 0; font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.hotel-fact dd .hotel-stars { margin: 0; }
.hotel-fact dd .hotel-stars svg { width: 15px; height: 15px; }
.hotel-fact dd .hotel-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Titres de section : filet d'accent ---- */
.hotel-section-title { position: relative; padding-left: 0.85rem; }
.hotel-section-title::before { content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 4px; border-radius: 4px; background: var(--ht-accent); }

/* ---- Avis : méta + notes détaillées ---- */
.hotel-reviews-meta { margin: -0.5rem 0 1.3rem; font-size: 0.88rem; color: var(--ht-muted); }
.hotel-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: start; }
@media (min-width: 960px) { .hotel-reviews-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.4rem; } .hotel-scores { position: sticky; top: 76px; } }
.hotel-scores { border: 1px solid var(--ht-line); border-radius: 16px; padding: 1.2rem 1.3rem; background: #fff; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06); }
.hotel-scores-title { margin: 0 0 0.6rem; font-weight: 700; font-size: 0.95rem; }
.hotel-scores-main { margin: 0 0 1rem; color: var(--ht-muted); }
.hotel-scores-main span { font-size: 2.2rem; font-weight: 800; color: var(--ht-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.hotel-scores-main em { font-style: normal; font-weight: 700; color: var(--ht-accent); margin-left: 0.4rem; }
.hotel-scores ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.hotel-scores li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 2.2rem; align-items: center; gap: 0.6rem; font-size: 0.88rem; }
.hotel-score-bar { height: 7px; border-radius: 7px; background: #e8ecf3; overflow: hidden; }
.hotel-score-bar i { display: block; height: 100%; border-radius: 7px; background: var(--ht-accent); }
.hotel-score-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hotel-scores-src { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--ht-muted); line-height: 1.45; }

/* ---- FAQ : rendu canonique partagé (style.css) ; marge propre au modèle ---- */
#faq .faq-list { max-width: var(--ht-text); }

/* ---- Bandeau de réservation mobile ---- */
.hotel-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--ht-line, #e6e8ee); box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1); transform: translateY(110%); transition: transform .25s ease; }
.hotel-stickybar[hidden] { display: none; }
.hotel-stickybar.is-on { transform: none; }
.hotel-stickybar-id { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hotel-stickybar-id strong { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotel-stickybar-id span { font-size: 0.8rem; color: #64748b; }
.hotel-stickybar .hotel-cta { flex: 0 0 auto; padding: 0.6rem 1rem; font-size: 0.92rem; }
@media (min-width: 900px) { .hotel-stickybar { display: none !important; } }
