/* =====================================================================
   Site public — compléments au thème Bootstrap (assets/scss/theme.scss)
   Palette (logo 2B3D) : marine #1b2a41 · or #c9a227 · crème #f7f5f0
             + neige #f6f8f9 · ardoise #5a6772 · sapin #2e6a4e
   ===================================================================== */
:root {
  --genet: #c9a227;
  --lac: #1b2a41;
  --lac-pale: #e6eaf1;
  --granit: #1b2a41;
  --creme: #f7f5f0;
  --busy: #e7ebee;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4, .navbar-brand { letter-spacing: -0.005em; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--genet); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.demo-banner { background: var(--genet); color: var(--granit); text-align: center; font-size: .9rem; font-weight: 500; padding: .35rem 1rem; }

/* ---------- Navigation ---------- */
.site-nav { background: rgba(246, 248, 249, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bs-border-color); }
.site-nav .navbar-brand { padding: .35rem 0; }
.brand-logo { display: block; height: 2.4rem; width: auto; }
.foot-logo { display: block; height: 2.6rem; width: auto; margin-bottom: .75rem; }
.site-nav .nav-link { color: var(--granit); font-weight: 500; }
.site-nav .btn-group .btn { min-width: 2.6rem; font-weight: 600; }

/* ---------- Panneau de randonnée : l'élément signature ---------- */
.sign {
  display: inline-block;
  background: var(--genet);
  color: var(--granit);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  padding: .45rem 1.6rem .45rem .75rem;
  clip-path: polygon(0 0, calc(100% - .9rem) 0, 100% 50%, calc(100% - .9rem) 100%, 0 100%);
}
.sign-on-img { position: absolute; left: 0; top: 1rem; z-index: 1; font-size: .98rem; }

/* ---------- Accueil ---------- */
.hero { position: relative; background: var(--granit); color: #fff; overflow: hidden; }
.hero-in { position: relative; padding-top: clamp(4rem, 12vw, 8rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.hero-photo { min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero-photo .hero-in { width: 100%; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-img.is-on { opacity: 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 42, 65, 0) 35%, rgba(27, 42, 65, .82) 100%); }
.hero-photo .hero-in { z-index: 1; }
.hero-title { font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: .95; max-width: 15ch; margin-bottom: 1.25rem; }
.hero-lead { max-width: 38rem; color: rgba(255, 255, 255, .9); margin-bottom: 1.75rem; }

.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.75rem; }

.home-feature { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-xl); overflow: hidden; }
.home-feature:hover .home-feature-img img { transform: scale(1.02); }
.home-feature-img { height: 100%; min-height: 300px; aspect-ratio: 4 / 3; background: var(--busy); overflow: hidden; }
.home-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-feature-body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); width: 100%; }
.home-feature-body .d-flex { width: 100%; }

.home-card { position: relative; color: inherit; text-decoration: none; overflow: hidden; border-radius: var(--bs-border-radius-lg); }
.home-card:hover { border-color: var(--lac); }
.home-card-img img { object-fit: cover; }
.noimg { background: var(--busy); }

.price { font-size: 1rem; color: var(--bs-secondary-color); }
.price strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.9rem; font-weight: 600; color: var(--granit); line-height: 1; }

.facts-inline { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0; margin: 0; color: var(--bs-secondary-color); }
.facts-inline li { display: inline-flex; align-items: center; gap: .4rem; }
.facts-inline .bi { color: var(--lac); }

.perks { background: #fff; border-top: 1px solid var(--bs-border-color); padding: 3.5rem 0; }
.perk-icon { font-size: 1.6rem; color: var(--lac); }

/* ---------- Fiche logement ---------- */
.property { padding-top: 1.25rem; padding-bottom: 4rem; }
.back-link { display: inline-flex; align-items: center; gap: .25rem; color: var(--bs-secondary-color); text-decoration: none; font-weight: 500; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--lac); }
.prop-title { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: .9rem 0 .75rem; max-width: 20ch; }
.prop-head { margin-bottom: 1.75rem; }

.gallery { position: relative; display: grid; gap: .5rem; border-radius: var(--bs-border-radius-xl); overflow: hidden; height: clamp(260px, 48vw, 500px); }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g2 { grid-template-columns: 1fr 1fr; }
.gallery.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g4, .gallery.g5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g3 .g-item:first-child, .gallery.g4 .g-item:first-child, .gallery.g5 .g-item:first-child { grid-row: span 2; }
.gallery.g4 .g-item:nth-child(4) { grid-column: span 2; }
.g-item { position: relative; padding: 0; border: 0; background: var(--busy); overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.g-item:hover img { filter: brightness(.92); }
.g-all { position: absolute; right: 1rem; bottom: 1rem; box-shadow: var(--bs-box-shadow-sm); }

.photo-modal { background: #0f1519; color: #fff; }
.photo-modal .carousel-item img { max-height: calc(100vh - 6rem); max-width: 100%; object-fit: contain; cursor: zoom-in; touch-action: pan-y; transition: transform .2s ease; user-select: none; }
.photo-modal .carousel-item img.is-zoomed { cursor: grab; touch-action: none; transition: none; position: relative; z-index: 3; }
.photo-modal .carousel { overflow: hidden; }
.photo-modal .carousel.zooming .carousel-control-prev, .photo-modal .carousel.zooming .carousel-control-next { display: none; }
.photo-modal .modal-body { overflow: hidden; }
.photo-zoom { color: #fff; background: none; border: 0; font-size: 1.25rem; line-height: 1; padding: .25rem .5rem; margin-left: auto; margin-right: .75rem; opacity: .85; }
.photo-zoom:hover { opacity: 1; }
.photo-count { font-variant-numeric: tabular-nums; opacity: .8; }

.prop-main .lead { font-size: 1.3rem; color: var(--granit); }
.prop-section { padding-top: 2.25rem; margin-top: 2.25rem; border-top: 1px solid var(--bs-border-color); }
.prop-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.prose { max-width: 66ch; }
.prose h3 { font-size: 1.35rem; margin: 1.5rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }

.amenities { list-style: none; padding: 0; margin-top: 0; }
.amenities li { display: flex; align-items: center; gap: .65rem; padding-top: .35rem; padding-bottom: .35rem; }
/* Icône télécabine (absente de Bootstrap Icons) */
.bi-gondola::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.6 3.3 15.4.7'/%3E%3Cpath d='M8 2v3'/%3E%3Crect x='3.4' y='5' width='9.2' height='9.6' rx='2'/%3E%3Cpath d='M3.4 11.6h9.2'/%3E%3Crect x='5.1' y='6.9' width='2.3' height='2.9' rx='.4' fill='%23000' stroke='none'/%3E%3Crect x='8.6' y='6.9' width='2.3' height='2.9' rx='.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.6 3.3 15.4.7'/%3E%3Cpath d='M8 2v3'/%3E%3Crect x='3.4' y='5' width='9.2' height='9.6' rx='2'/%3E%3Cpath d='M3.4 11.6h9.2'/%3E%3Crect x='5.1' y='6.9' width='2.3' height='2.9' rx='.4' fill='%23000' stroke='none'/%3E%3Crect x='8.6' y='6.9' width='2.3' height='2.9' rx='.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain; }
.amenities .bi { font-size: 1.2rem; color: var(--lac); width: 1.4rem; text-align: center; }

.practical { display: grid; gap: .9rem; margin: 0; }
.practical > div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; }
.practical dt { font-weight: 500; display: flex; align-items: center; gap: .6rem; }
.practical dt .bi { color: var(--lac); }
.practical dd { margin: 0; color: var(--bs-secondary-color); }
@media (max-width: 575.98px) { .practical > div { grid-template-columns: 1fr; gap: .15rem; } }

.accordion-flush .accordion-item { border-color: var(--bs-border-color); background: transparent; }
.accordion-flush .accordion-button { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; font-weight: 600; padding-left: 0; padding-right: 0; background: transparent; box-shadow: none; }
.accordion-flush .accordion-body { padding-left: 0; padding-right: 0; }

.rates th, .rates td { background: transparent; padding: .7rem 0; vertical-align: top; }
.rates th { font-weight: 500; }
.rates strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; font-weight: 600; }

.prop-video { border-radius: var(--bs-border-radius-xl); overflow: hidden; background: #0f1519; max-width: 980px; }
.prop-video video { display: block; width: 100%; max-height: 75vh; background: #0f1519; }

/* ---------- Carte de réservation ---------- */
.book { position: sticky; top: 5.5rem; border: 0; box-shadow: 0 1.5rem 3rem -1.5rem rgba(27, 42, 65, .45), 0 0 0 1px var(--bs-border-color); scroll-margin-top: 5rem; }
/* Grand écran : le bloc de réservation défile seul quand la souris est dessus, la page défile ailleurs */
@media (min-width: 992px) {
  .book { max-height: calc(100vh - 6.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(27, 42, 65, .25) transparent; }
  .book::-webkit-scrollbar { width: 6px; }
  .book::-webkit-scrollbar-thumb { background: rgba(27, 42, 65, .25); border-radius: 3px; }
}
.book-price { margin-bottom: 1.25rem; }
.friend-rate { margin: 0 0 .6rem; padding: .45rem .75rem; border-radius: .5rem; background: #f7f0d9; color: #6b5410; font-weight: 600; font-size: .92rem; }
.friend-rate .bi { color: #c9a227; }
.book-price strong { font-size: 2.3rem; }

.cal { position: relative; }
.cal-nav { position: absolute; top: -.15rem; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--bs-border-color); background: #fff; color: var(--granit); font-size: 1.2rem; line-height: 1; }
.cal-nav button:hover:not(:disabled) { border-color: var(--lac); color: var(--lac); }
.cal-nav button:disabled { opacity: .3; }
.cal-months { display: grid; gap: 1.25rem; }
.cal-title { text-align: center; font-weight: 600; text-transform: capitalize; margin-bottom: .5rem; line-height: 1.9rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-dow { text-align: center; font-size: .75rem; color: var(--bs-secondary-color); padding-bottom: .3rem; text-transform: capitalize; }
.cal-day { position: relative; aspect-ratio: 1; border: 0; background: transparent; border-radius: .45rem; font: inherit; font-size: .95rem; color: var(--granit); font-variant-numeric: tabular-nums; }
.cal-day:hover:not(:disabled) { background: var(--lac-pale); }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-day.past { color: #b8c0c6; }
.cal-day.busy { background: var(--busy); color: #9aa5ad; text-decoration: line-through; border-radius: 0; }
.cal-day.busy:not(:disabled) { text-decoration: none; cursor: pointer; }
.cal-day:disabled { cursor: default; }
.cal-legend .lg.hol { background: transparent; border: 0; border-top: 1px solid #2f6fd6; border-radius: 0; }
.cal-day.hol::before { content: ""; position: absolute; left: 20%; right: 20%; top: 24%; height: 1px; background: #2f6fd6; }
.cal-day:disabled:not(.past):not(.busy):not(.sel) { color: #b8c0c6; }
.cal-day.in { background: var(--lac-pale); border-radius: 0; }
.cal-day.sel, .cal-day.sel:hover:not(:disabled) { background: var(--lac); color: #fff; font-weight: 600; }
.cal-day.sel-start { border-radius: .45rem 0 0 .45rem; }
.cal-day.sel-end { border-radius: 0 .45rem .45rem 0; }
.cal-day.sel-solo { border-radius: .45rem; }
.cal-legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--bs-secondary-color); margin: .75rem 0 1.25rem; flex-wrap: wrap; }
.lg { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; border: 1px solid var(--bs-border-color); background: #fff; }
.lg.busy { background: var(--busy); }
.lg.sel { background: var(--lac); border-color: var(--lac); }

.dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c9d2d8; border-radius: var(--bs-border-radius); background: #fff; }
.dates > div { padding: .55rem .8rem; }
.dates > div + div { border-left: 1px solid #c9d2d8; }
.dates .lbl { display: block; font-size: .78rem; color: var(--bs-secondary-color); font-weight: 500; }
.dates .val { font-weight: 600; text-transform: capitalize; }

.quote { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--bs-border-color); }
.quote .table td { padding: .3rem 0; background: transparent; }
.quote .tot td { border-top: 1px solid var(--bs-border-color); padding-top: .6rem; font-weight: 600; }
.quote .now { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--lac-pale); border-radius: var(--bs-border-radius); padding: .7rem .9rem; margin-top: .75rem; }
.quote .now strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; color: var(--lac); line-height: 1; }
.how-pay { display: flex; gap: .6rem; margin-top: .9rem; padding: .7rem .85rem; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); background: #fff; font-size: .88rem; line-height: 1.45; color: var(--bs-secondary-color); }
.how-pay .bi { color: var(--lac); font-size: 1rem; line-height: 1.3; }
.details { margin-top: 1.5rem; }
.details[hidden] { display: none; }

/* Barre de réservation mobile */
.m-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bs-border-color); box-shadow: 0 -.5rem 1.5rem -1rem rgba(27, 42, 65, .4); }
.m-book .price strong { font-size: 1.6rem; }
.m-book { transition: transform .25s ease; }
.m-book.is-hidden { transform: translateY(110%); }
@media (max-width: 991.98px) {
  .page-property .site-foot { padding-bottom: 6rem; }
  .book { position: static; }
  .gallery.g3, .gallery.g4, .gallery.g5 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .gallery.g3 .g-item:first-child, .gallery.g4 .g-item:first-child, .gallery.g5 .g-item:first-child { grid-row: auto; grid-column: span 2; }
  .gallery.g4 .g-item:nth-child(4) { grid-column: auto; }
  .gallery .g-item:nth-child(n+4) { display: none; }
}
@media (max-width: 575.98px) {
  .gallery { border-radius: var(--bs-border-radius-lg); }
  .gallery .g-item:nth-child(n+2) { display: none; }
  .gallery.g3, .gallery.g4, .gallery.g5, .gallery.g2 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gallery .g-item:first-child { grid-column: auto !important; }
}

/* ---------- Pages de message et textes ---------- */
.msg { max-width: 44rem; }
.msg-icon { font-size: 2.6rem; }
.recap dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.recap dt { color: var(--bs-secondary-color); font-weight: 400; }
.recap dd { margin: 0; }
.legal { max-width: 46rem; }
.legal h2, .legal h3 { margin-top: 2rem; font-size: 1.6rem; }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--granit); color: rgba(247, 245, 240, .78); padding: 3rem 0; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot li { margin-bottom: .35rem; }

.foot-title { color: #fff; font-weight: 600; margin-bottom: .6rem; }
.photo-modal .modal-header .btn-close { margin-left: 0; }

.amen-all h3 { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--bs-border-color); }
.amen-all h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.amen-all .amenities li { border-bottom: 1px solid var(--bs-border-color-translucent); padding-top: .6rem; padding-bottom: .6rem; }
.amen-all .amenities li:last-child { border-bottom: 0; }
/* Visionneuse : la zone d'affichage occupe tout l'écran, pour que le zoom s'étende aussi en hauteur */
.photo-modal .modal-body > .carousel, .photo-modal .carousel-inner, .photo-modal .carousel-item { height: 100%; }
.photo-modal .carousel-item.active, .photo-modal .carousel-item-next, .photo-modal .carousel-item-prev { display: flex; align-items: center; justify-content: center; }

/* Rubrique Options */
.options-list { list-style: none; padding: 0; margin: 0; }
.options-list li { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: .25rem .85rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--bs-border-color); }
.options-list li:first-child { padding-top: 0; }
.options-list li:last-child { border-bottom: 0; }
.options-list .bi { font-size: 1.25rem; color: var(--lac); }
.options-list .opt-price { text-align: right; display: flex; flex-direction: column; white-space: nowrap; }
.linen-pick { border: 0; padding: 0; }
@media (max-width: 575.98px) { .options-list li { grid-template-columns: 1.6rem 1fr; } .options-list .opt-price { grid-column: 2; text-align: left; } }

/* Pictogrammes lit et canapé convertible (absents de Bootstrap Icons) */
.bi-bed::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.2 3v10.8M14.8 13.8v-3.6a2 2 0 0 0-2-2H6.4v3.4M1.2 11.6h13.6'/%3E%3Ccircle cx='3.9' cy='9.2' r='1.3'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.2 3v10.8M14.8 13.8v-3.6a2 2 0 0 0-2-2H6.4v3.4M1.2 11.6h13.6'/%3E%3Ccircle cx='3.9' cy='9.2' r='1.3'/%3E%3C/svg%3E") no-repeat center / contain; }
.bi-sofa::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 7.6V5.4A1.6 1.6 0 0 1 4.2 3.8h7.6a1.6 1.6 0 0 1 1.6 1.6v2.2'/%3E%3Cpath d='M1 9.2a1.5 1.5 0 0 1 3 0v1.2h8V9.2a1.5 1.5 0 0 1 3 0v3.3H1z'/%3E%3Cpath d='M2.4 12.5v1.6M13.6 12.5v1.6'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 7.6V5.4A1.6 1.6 0 0 1 4.2 3.8h7.6a1.6 1.6 0 0 1 1.6 1.6v2.2'/%3E%3Cpath d='M1 9.2a1.5 1.5 0 0 1 3 0v1.2h8V9.2a1.5 1.5 0 0 1 3 0v3.3H1z'/%3E%3Cpath d='M2.4 12.5v1.6M13.6 12.5v1.6'/%3E%3C/svg%3E") no-repeat center / contain; }
.bi-bed-single::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 2.5v11.3M12.5 13.8v-3.4a1.8 1.8 0 0 0-1.8-1.8H7.6v3.1M3.5 11.7h9'/%3E%3Ccircle cx='5.7' cy='9.2' r='1.15'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 2.5v11.3M12.5 13.8v-3.4a1.8 1.8 0 0 0-1.8-1.8H7.6v3.1M3.5 11.7h9'/%3E%3Ccircle cx='5.7' cy='9.2' r='1.15'/%3E%3C/svg%3E") no-repeat center / contain; }
.bi-bunk::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 1.5v13M13.5 1.5v13M2.5 6.2h11M2.5 12.3h11'/%3E%3Cpath d='M5.2 6.2V4.6h6.3a1 1 0 0 1 1 1v.6M5.2 12.3v-1.6h6.3a1 1 0 0 1 1 1v.6'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 1.5v13M13.5 1.5v13M2.5 6.2h11M2.5 12.3h11'/%3E%3Cpath d='M5.2 6.2V4.6h6.3a1 1 0 0 1 1 1v.6M5.2 12.3v-1.6h6.3a1 1 0 0 1 1 1v.6'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Chambres et lits */
.rooms-sub { margin-bottom: .75rem; }
.room-card { height: 100%; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); padding: 1rem 1.1rem; background: #fff; }
.room-name { font-size: 1.05rem; font-weight: 600; margin-bottom: .35rem; }
.room-icons { display: flex; gap: .35rem; font-size: 1.6rem; color: var(--granit); margin-bottom: .35rem; line-height: 1; }
.linen-lbl { min-height: 2.6em; display: flex; align-items: flex-end; line-height: 1.2; }
.beds-stacked { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .1rem; }

/* Chambres : configuration alternative (« ou »), alignée sur les pictogrammes des autres pièces */
.room-icons .ri { display: inline-flex; gap: .35rem; }
.room-alt { display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; }
.room-or { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bs-secondary-color); line-height: 1; }
.rooms-has-alt .room-icons { min-height: 4.6rem; display: flex; align-items: center; }

/* Avis */
.rev-star { color: var(--genet, #c9a227); font-size: .85em; vertical-align: .05em; }
.head-rating { display: inline-flex; align-items: center; gap: .3rem; color: inherit; text-decoration: none; margin-top: .25rem; }
.head-rating .bi { color: var(--genet, #c9a227); }
.head-rating:hover { text-decoration: underline; }
.rev-crit { display: grid; grid-template-columns: 1fr 6rem 2rem; align-items: center; gap: .6rem; font-size: .95rem; }
.rev-bar { height: 4px; background: var(--bs-border-color); border-radius: 2px; overflow: hidden; }
.rev-bar span { display: block; height: 100%; background: var(--granit); }
.rev-crit strong { text-align: right; font-size: .85rem; }
.review { margin-bottom: .5rem; }
.modal .review { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--bs-border-color); }
.modal .review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .35rem; }
.review-avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--granit); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.stars { color: var(--genet, #c9a227); font-size: .8rem; letter-spacing: .05em; }
.stars .bi-star { color: var(--bs-border-color); }
.review-text { margin: .35rem 0 0; }
.review-text.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-reply { margin-top: .6rem; padding: .6rem .8rem; background: #fff; border-left: 3px solid var(--granit); border-radius: .25rem; font-size: .93rem; }
/* Formulaire d'avis */
.review-form-wrap { max-width: 760px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.7rem; color: var(--bs-border-color); cursor: pointer; line-height: 1; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--genet, #c9a227); }
.star-input input:focus-visible + label { outline: 2px solid var(--granit); outline-offset: 2px; border-radius: 2px; }

/* Chambres : bulles compactes, et une bulle par configuration (séparées par « ou ») */
.room-card { height: auto; padding: .8rem 1rem; }
.room-icons { display: flex; gap: .35rem; font-size: 1.45rem; min-height: 0; margin-bottom: .25rem; }
.room-or-sep { text-align: center; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); margin: .35rem 0; }

/* Chambre avec deux aménagements possibles : une seule bulle, séparée par « ou » */
.room-card { height: 100%; }
.room-card-alt .room-name { margin-bottom: .4rem; }
.room-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; }
.room-opt { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 1.2rem; }
.room-divider { display: flex; flex-direction: column; align-items: center; }
.room-divider span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); line-height: 1.2rem; }
.room-divider i { flex: 1; width: 1px; background: var(--bs-border-color); min-height: 2.5rem; }

/* Le fondu du diaporama reste actif même si les animations sont réduites (pas de mouvement, juste un fondu) */
@media (prefers-reduced-motion: reduce) { .hero-img { transition: opacity 1.4s ease !important; } }

/* Page Que faire à Saint-Lary */
.guide-hero.hero-photo { min-height: min(56vh, 520px); }
.guide h3 { margin-top: 2rem; font-size: 1.6rem; }
.guide h3:first-child { margin-top: 0; }
.guide ul { padding-left: 1.1rem; }
.guide li { margin-bottom: .45rem; }
.guide-aside { position: sticky; top: 6rem; }

/* Fenêtre « Nous contacter » — charte 2B3D : bandeau marine, filet or, pied crème */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { border: 0; border-radius: .75rem; overflow: hidden; box-shadow: 0 1.5rem 3rem -1rem rgba(27, 42, 65, .5); }
.contact-form .modal-header { background: var(--granit); color: #fff; border-bottom: 3px solid var(--genet); gap: .9rem; padding: 1rem 1.25rem; }
.contact-form .modal-title { color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: .01em; margin: 0; padding-left: .9rem; border-left: 1px solid rgba(255, 255, 255, .25); }
.contact-logo { height: 30px; width: auto; flex: none; }
.contact-form .modal-body { background: #fff; padding: 1.25rem; }
.contact-form .modal-footer { background: var(--creme); border-top: 0; padding: .9rem 1.25rem; }
.contact-form .form-label { font-weight: 500; color: var(--granit); }
.contact-form .form-control:focus { border-color: var(--genet); box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .25); }
.contact-form .alert-success { background: var(--creme); color: var(--granit); border: 0; border-left: 4px solid var(--genet); }
.contact-form .alert-danger { border-left: 4px solid #b03a2e; }
@media (max-width: 575.98px) { .contact-form { border-radius: 0; } }
.nav-contact { white-space: nowrap; }
.book-contact a { color: var(--bs-secondary-color); }

/* Cartes de l'accueil : photos qui défilent en fondu */
.card-slides { position: relative; overflow: hidden; }
.card-slides .cs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform .6s ease; }
.card-slides .cs-img.is-on { opacity: 1; }
.home-feature:hover .card-slides .cs-img { transform: scale(1.02); }
.cs-dots { position: absolute; left: 0; right: 0; bottom: .9rem; display: flex; justify-content: center; gap: .4rem; z-index: 2; pointer-events: none; }
.cs-dots i { width: .45rem; height: .45rem; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(27, 42, 65, .25); transition: background .3s, transform .3s; }
.cs-dots i.on { background: var(--genet); transform: scale(1.25); }

/* Pied de page : ligne de copyright */
.foot-bottom { margin-top: 2.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(201, 162, 39, .45); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .82rem; color: rgba(247, 245, 240, .6); }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-foot .foot-links a { color: rgba(247, 245, 240, .78); }
.site-foot .foot-links a:hover { color: var(--genet); }
.anchor-mark { display: block; position: relative; top: -6rem; visibility: hidden; }
