/* ===== Melhorias 08/10/2026 (anexado ao styles.css / styles.min.css) ===== */

/* ---------- HERO EM VÍDEO ---------- */
.hero__bg--video picture,.hero__bg--video .hero__poster{position:absolute;inset:0;width:100%;height:100%}
.hero__bg--video .hero__poster{object-fit:cover;animation:none}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.hero__video.is-playing{opacity:1}
.hero--video .hero__overlay{background:linear-gradient(to top,rgba(14,24,24,.78) 0,rgba(14,24,24,.35) 32%,rgba(14,24,24,0) 58%),linear-gradient(to bottom,rgba(14,24,24,.45) 0,rgba(14,24,24,0) 22%)}
.hero--video{align-items:flex-end}
.hero--video .hero__content{padding-top:calc(var(--header-height) + var(--space-lg));padding-bottom:calc(var(--bar-h,100px) + 48px)}
.hero--video .hero__tag{background:none;padding:0;border-radius:0;font-size:.72rem;letter-spacing:.32em;color:rgba(255,255,255,.88);margin-bottom:var(--space-sm);display:inline-flex;align-items:center;gap:.8rem}
.hero--video .hero__tag::before{content:"";width:36px;height:1px;background:currentColor;opacity:.7}
.hero--video .hero__title{font-size:clamp(2.6rem,5.2vw,4.4rem);font-weight:500;line-height:1.05;margin-bottom:var(--space-md);text-shadow:0 2px 30px rgba(0,0,0,.35);max-width:none}
.hero--video .hero__title em{font-weight:400}
.hero__video-toggle{position:absolute;z-index:3;right:24px;top:calc(var(--header-height) + 16px);width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(0,0,0,.18);color:#fff;display:grid;place-items:center;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:.75;transition:opacity .3s ease;padding:0}
.hero__video-toggle:hover,.hero__video-toggle:focus-visible{opacity:1}
.hero__video-toggle[hidden]{display:none}
.hero__video-toggle svg{fill:currentColor}
.hero__video-toggle .i-play{display:none}
.hero__video-toggle.is-paused .i-play{display:block}
.hero__video-toggle.is-paused .i-pause{display:none}

/* ---------- LOGO NO TOPO ---------- */
.header__brand--logo{display:block;line-height:0;letter-spacing:0;max-width:none}
.header__brand--logo img{height:46px;width:auto;transition:opacity var(--transition)}
.header__brand--logo .logo-on-dark{filter:drop-shadow(0 1px 10px rgba(0,0,0,.35))}
.header__brand--logo .logo-on-light{position:absolute;left:0;top:0;opacity:0}
.header--scrolled .header__brand--logo .logo-on-dark{opacity:0}
.header--scrolled .header__brand--logo .logo-on-light{opacity:1}

/* ---------- SELETOR DE IDIOMA (texto em vez de bandeira emoji, que o Windows não desenha) ---------- */
.header__lang-link{font-family:var(--font-body);font-size:.78rem;font-weight:600;letter-spacing:.08em;color:var(--color-white);opacity:.75;min-width:30px}
.header__lang-link--active{opacity:1;text-decoration:underline;text-underline-offset:4px}
.header__lang-sep{color:rgba(255,255,255,.5);font-size:.7rem}
.header:not(.header--scrolled) .header__lang-link{text-shadow:0 1px 8px rgba(0,0,0,.4)}
.header--scrolled .header__lang-link{color:var(--color-primary-dark)}
.header--scrolled .header__lang-sep{color:var(--color-gray-200)}

/* ---------- SEM BANNER DE COOKIES ---------- */
#cookieBanner{display:none!important}

/* ---------- FLUTUANTES SEM SOBREPOSIÇÃO ---------- */
/* chat (iframe) some enquanto o aviso de cookies está aberto: não cobre "Aceitar/Rejeitar" */
body.cookie-visible iframe[src*="bot.automacoes-central"]{visibility:hidden!important}
/* pop-up de saída acima do aviso de cookies */
.exit-popup{z-index:3500}
/* WhatsApp flutuante some enquanto o formulário de reserva está na tela (não cobre campos/botões) */
body.form-reserva-visivel .whatsapp-float,body.form-reserva-visivel .wpp-float{opacity:0;pointer-events:none;transform:translateY(20px)}
.whatsapp-float,.wpp-float{transition:opacity .3s ease,transform .3s ease}

/* ---------- TRANSIÇÃO AO ROLAR (parallax do hero) ---------- */
.hero--video .hero__bg{will-change:transform;transform-origin:50% 0}
.hero--video .hero__content{will-change:transform,opacity}
.hero--video .hero__overlay::after{content:"";position:absolute;inset:0;background:#0e1818;opacity:calc(var(--hero-p,0) * .6);pointer-events:none}

/* ---------- ACABAMENTO "ALTO PADRÃO" ---------- */
/* troca de página suave (fade entre páginas, sem piscar branco) */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}
html{scroll-behavior:smooth}

/* fotos que se revelam ao entrar na tela (abre de baixo p/ cima + leve zoom-out) */
.lux-img{clip-path:inset(14% 0 0 0);opacity:.001;transition:clip-path 1.3s cubic-bezier(.16,1,.3,1),opacity .9s ease}
.lux-img.lux--in{clip-path:inset(0 0 0 0);opacity:1}
.lux-zoom img{transform:scale(1.12);transition:transform 1.8s cubic-bezier(.16,1,.3,1)}
.lux-zoom.lux--in img{transform:scale(1)}
/* textos em cascata: título, texto, botão */
.lux-txt>*{opacity:0;transform:translateY(18px);transition:opacity .8s ease,transform .9s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--i,0) * 90ms + 120ms)}
.lux-txt.lux--in>*{opacity:1;transform:none}

/* frase real de hóspede logo após o hero */
.guest-quote{background:var(--color-white);padding:clamp(2.8rem,6vw,4.5rem) var(--space-sm);text-align:center}
.guest-quote .gq__stage{display:grid;max-width:820px;margin:0 auto}
.guest-quote .gq__item{grid-area:1/1;margin:0;opacity:0;transform:translateY(10px);transition:opacity .9s ease,transform 1s cubic-bezier(.16,1,.3,1);pointer-events:none;align-self:center}
.guest-quote .gq__item.is-on{opacity:1;transform:none;pointer-events:auto}
.gq__dots{display:flex;justify-content:center;gap:0;margin-top:1.8rem}
.gq__dot{width:7px;height:7px;padding:8px;box-sizing:content-box;background-clip:content-box;border:0;border-radius:50%;background-color:var(--color-gray-200);cursor:pointer;transition:background .3s ease,transform .3s ease}
.gq__dot.is-on{background-color:var(--color-accent);transform:scale(1.25)}
.guest-quote .gq__note{font-style:normal;line-height:1.4;margin-top:.6rem;font-family:var(--font-body);font-size:.68rem;letter-spacing:.06em;color:var(--color-gray-400);opacity:.8}
.guest-quote .gq__note::before{content:none}
.gq__dot:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px}
.guest-quote p{font-family:var(--font-heading);font-style:italic;font-weight:400;font-size:clamp(1.35rem,2.6vw,1.9rem);line-height:1.45;color:var(--color-primary-dark)}
.guest-quote p::before{content:"“";display:block;font-size:3.2rem;line-height:.6;color:var(--color-accent);opacity:.55;margin-bottom:.8rem;font-style:normal}
.guest-quote cite{display:inline-flex;align-items:center;gap:.7rem;margin-top:1.2rem;font-style:normal;font-family:var(--font-body);font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--color-gray-400)}
.guest-quote cite::before{content:"";width:28px;height:1px;background:currentColor}

/* botão "Reservar" no topo (desktop), aparece ao rolar */
.header__reserve{display:none;margin-right:1.2rem;padding:.55rem 1.2rem;border-radius:2px;background:var(--color-secondary);color:#fff!important;font-family:var(--font-body);font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .3s ease,transform .3s ease}
.header__reserve:hover{background:var(--color-accent);transform:translateY(-1px)}
@media (min-width:1024px){.header--scrolled .header__reserve{display:inline-flex;animation:luxIn .45s ease both}}
@keyframes luxIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .lux-img,.lux-zoom img,.lux-txt>*{clip-path:none!important;opacity:1!important;transform:none!important;transition:none!important}
}

/* vitrine com 2 cards (home EN): divide a linha inteira */
.rooms-showcase--duo{grid-template-columns:1fr 1fr!important}
@media (min-width:768px){.rooms-showcase--duo .rooms-showcase__item{aspect-ratio:4/3}}

@media (max-width:767px){
  .hero--video .hero__content{padding-bottom:calc(var(--bar-h,320px) + 28px)}
  .hero--video .hero__tag{display:inline-flex;font-size:.62rem;letter-spacing:.26em}
  .hero--video .hero__tag::before{width:24px}
  .hero--video .hero__title{font-size:2.4rem;margin-bottom:var(--space-sm)}
  .hero__video-toggle{right:14px;width:34px;height:34px}
  .header__brand--logo{max-width:none}
  .header__brand--logo img{height:38px}
  /* barra de reserva fixa: só o botão (antes ocupava ~1/4 da tela) */
  .hero__booking-bar--sticky .booking-bar__field,.booking-bar-fixed--sticky .booking-bar__field,.booking-bar-wrap.sticky .booking-bar__field{display:none!important}
  .hero__booking-bar--sticky .booking-bar,.booking-bar-fixed--sticky .booking-bar,.booking-bar-wrap.sticky .booking-bar{padding:6px 12px!important}
  .hero__booking-bar--sticky .booking-bar__btn,.booking-bar-fixed--sticky .booking-bar__btn,.booking-bar-wrap.sticky .booking-bar__btn{width:100%;min-height:40px;margin:0}
}

@media (prefers-reduced-motion:reduce){.hero__video{display:none}}
