/* =====================================================================
   FEMAC V76 — carrossel compacto da hospedagem
   ===================================================================== */
.stay-gallery-section--carousel{padding:24px 26px 26px;overflow:hidden}
.stay-section-head--carousel{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.stay-section-head--carousel h2{margin-bottom:4px}
.stay-section-head--carousel p{margin-bottom:0}
.stay-carousel-counter{display:flex;align-items:baseline;gap:4px;flex:0 0 auto;padding:8px 12px;border:1px solid #ead9cb;border-radius:999px;background:#fff8f1;color:#7a6658;font-size:.9rem}
.stay-carousel-counter strong{font-size:1.05rem;color:#d94b17}
.stay-carousel-shell{max-width:1040px;margin:0 auto}
.stay-carousel-stage{position:relative;border-radius:24px;overflow:hidden;background:linear-gradient(145deg,#171311,#2a201b);box-shadow:0 16px 42px rgba(22,14,10,.14)}
.stay-carousel-main{position:relative;display:block;width:100%;height:clamp(300px,48vw,560px);padding:0;border:0;background:#181411;cursor:zoom-in;overflow:hidden}
.stay-carousel-main img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .2s ease,transform .45s ease}
.stay-carousel-main:hover img{transform:scale(1.015)}
.stay-carousel-zoom{position:absolute;right:16px;bottom:16px;padding:9px 12px;border-radius:999px;background:rgba(17,14,12,.76);color:#fff;font-size:.82rem;font-weight:800;backdrop-filter:blur(8px)}
.stay-carousel-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(14,12,10,.66);color:#fff;font-size:2.2rem;line-height:1;cursor:pointer;backdrop-filter:blur(8px);transition:background .2s ease,transform .2s ease}
.stay-carousel-nav:hover{background:rgba(232,84,31,.92);transform:translateY(-50%) scale(1.05)}
.stay-carousel-nav--prev{left:14px}.stay-carousel-nav--next{right:14px}
.stay-carousel-caption{min-height:48px;display:flex;align-items:center;justify-content:center;padding:12px 18px;text-align:center;color:#5d4e45;font-weight:700}
.stay-carousel-thumbs{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;scroll-snap-type:x proximity}
.stay-carousel-thumb{position:relative;flex:0 0 92px;width:92px;height:68px;padding:0;border:2px solid transparent;border-radius:12px;background:#eee;overflow:hidden;cursor:pointer;opacity:.68;scroll-snap-align:center;transition:opacity .2s ease,border-color .2s ease,transform .2s ease}
.stay-carousel-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.stay-carousel-thumb:hover{opacity:.9;transform:translateY(-1px)}
.stay-carousel-thumb.is-active{opacity:1;border-color:#ef6b31;box-shadow:0 0 0 2px rgba(239,107,49,.16)}
.stay-carousel-lightbox{width:min(94vw,1180px);max-width:none;padding:0;border:0;border-radius:20px;background:#100e0d;color:#fff;box-shadow:0 30px 100px rgba(0,0,0,.5);overflow:hidden}
.stay-carousel-lightbox::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(4px)}
.stay-carousel-lightbox img{display:block;width:100%;max-height:82vh;object-fit:contain;background:#0c0a09}
.stay-carousel-lightbox p{margin:0;padding:12px 58px 14px 18px;color:#f1e7df;text-align:center;font-weight:700}
.stay-lightbox-close{position:absolute;z-index:2;top:10px;right:10px;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:1.8rem;cursor:pointer}
@media(max-width:760px){
  .stay-gallery-section--carousel{padding:20px 16px}
  .stay-section-head--carousel{align-items:flex-start}.stay-section-head--carousel p{font-size:.92rem}
  .stay-carousel-main{height:clamp(240px,67vw,390px)}
  .stay-carousel-nav{width:40px;height:40px;font-size:1.9rem}.stay-carousel-nav--prev{left:8px}.stay-carousel-nav--next{right:8px}
  .stay-carousel-zoom{right:10px;bottom:10px;font-size:.74rem}
  .stay-carousel-thumb{flex-basis:78px;width:78px;height:58px}
}
@media(max-width:520px){
  .stay-section-head--carousel{display:grid;grid-template-columns:1fr auto}.stay-section-head--carousel>div:first-child{min-width:0}
  .stay-carousel-counter{padding:6px 9px}
  .stay-carousel-caption{font-size:.9rem;min-height:42px}
}
@media(prefers-reduced-motion:reduce){.stay-carousel-main img,.stay-carousel-nav,.stay-carousel-thumb{transition:none!important}}

/* =====================================================================
   FEMAC V77 — correção definitiva do "Ver maior"
   O lightbox é anexado diretamente ao BODY e ocupa a viewport inteira,
   evitando corte pelo card/carrossel e conflitos com overflow dos pais.
   ===================================================================== */
html.stay-lightbox-open,
body.stay-lightbox-open{overflow:hidden!important}
.stay-fullscreen-lightbox[hidden]{display:none!important}
.stay-fullscreen-lightbox{position:fixed!important;z-index:2147483000!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important}
.stay-fullscreen-lightbox__backdrop{position:absolute!important;z-index:0!important;inset:0!important;background:rgba(5,4,4,.94)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;cursor:zoom-out}
.stay-fullscreen-lightbox__panel{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:56px minmax(0,1fr) 56px!important;align-items:center!important;width:min(1280px,calc(100vw - 48px))!important;height:min(900px,calc(100vh - 48px))!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;background:transparent!important;box-sizing:border-box!important}
.stay-fullscreen-lightbox__figure{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;border-radius:18px!important;overflow:hidden!important;background:#0b0908!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 30px 90px rgba(0,0,0,.58)!important}
.stay-fullscreen-lightbox__figure img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100% - 58px)!important;object-fit:contain!important;object-position:center!important;margin:auto!important;background:#0b0908!important}
.stay-fullscreen-lightbox__figure figcaption{position:absolute!important;z-index:2!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:58px!important;margin:0!important;padding:14px 18px!important;box-sizing:border-box!important;background:linear-gradient(180deg,rgba(11,9,8,.08),rgba(11,9,8,.96) 38%)!important;color:#fff!important}
.stay-fullscreen-lightbox__figure figcaption span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-weight:700!important;font-size:.96rem!important}
.stay-fullscreen-lightbox__figure figcaption small{flex:0 0 auto!important;color:#d7cbc2!important;font-size:.84rem!important}
.stay-fullscreen-lightbox__close{position:absolute!important;z-index:4!important;top:10px!important;right:10px!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;padding:0!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:999px!important;background:rgba(0,0,0,.72)!important;color:#fff!important;font-size:2rem!important;line-height:1!important;cursor:pointer!important;box-shadow:0 10px 30px rgba(0,0,0,.28)!important}
.stay-fullscreen-lightbox__close:hover{background:#e85c27!important}
.stay-fullscreen-lightbox__nav{position:relative!important;z-index:3!important;display:grid!important;place-items:center!important;width:46px!important;height:62px!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:14px!important;background:rgba(0,0,0,.62)!important;color:#fff!important;font-size:2.7rem!important;line-height:1!important;cursor:pointer!important;transition:background .18s ease,transform .18s ease!important}
.stay-fullscreen-lightbox__nav:hover{background:#e85c27!important;transform:scale(1.04)!important}
.stay-fullscreen-lightbox__nav--prev{margin-right:10px!important}
.stay-fullscreen-lightbox__nav--next{margin-left:10px!important}

@media(max-width:760px){
  .stay-fullscreen-lightbox{padding:10px!important}
  .stay-fullscreen-lightbox__panel{display:block!important;width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important}
  .stay-fullscreen-lightbox__figure{width:100%!important;height:100%!important;border-radius:14px!important}
  .stay-fullscreen-lightbox__figure img{max-height:calc(100% - 64px)!important}
  .stay-fullscreen-lightbox__figure figcaption{min-height:64px!important;padding:15px 54px 14px 14px!important}
  .stay-fullscreen-lightbox__figure figcaption span{font-size:.88rem!important}
  .stay-fullscreen-lightbox__nav{position:absolute!important;z-index:5!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;height:56px!important;font-size:2.35rem!important;background:rgba(0,0,0,.72)!important}
  .stay-fullscreen-lightbox__nav:hover{transform:translateY(-50%) scale(1.03)!important}
  .stay-fullscreen-lightbox__nav--prev{left:8px!important;margin:0!important}
  .stay-fullscreen-lightbox__nav--next{right:8px!important;margin:0!important}
  .stay-fullscreen-lightbox__close{top:8px!important;right:8px!important;width:42px!important;height:42px!important}
}

/* V78 - evita tela preta na primeira abertura enquanto a imagem é carregada */
.stay-fullscreen-lightbox__figure img.is-loading{opacity:.12!important}
.stay-fullscreen-lightbox__figure img{transition:opacity .16s ease!important}
.stay-fullscreen-lightbox__figure img.is-error{opacity:.35!important}
