:root {
  --preto: #000;
  --grafite: #121212;
  --cinza: #272626;
  --dourado: #ba8a00;
  --dourado-claro: #d59743;
  --branco: #fff;
  --fonte: "Roboto", Arial, Helvetica, sans-serif;
  --fonte-eventos: "Montserrat", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body {
  background: var(--preto);
  color: var(--branco);
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Topo ---------- */
.topo {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 40px;
  transition: background-color .3s ease;
}
.topo.rolou {
  position: fixed;
  background: rgba(53, 39, 0, .63);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.topo__logo img {
  width: 110px;
  height: auto;
  transition: transform .3s ease;
  animation: descer .8s ease both;
}
.topo__logo:hover img { transform: scale(1.1); }
.topo__menu { display: flex; gap: 14px; }
.botao-menu {
  min-width: 120px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  border-radius: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, .85);
  transition: background-color .25s ease;
}
.botao-menu:hover { background: rgba(213, 151, 67, .25); }
.botao-menu--destaque {
  background: rgba(213, 151, 67, .46);
  font-size: 17px;
}
.botao-menu--destaque:hover { background: rgba(213, 151, 67, .7); }

.hamburguer { display: none; width: 30px; height: 22px; position: relative; }
.hamburguer span {
  position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px;
  background: var(--dourado-claro);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.hamburguer span:nth-child(1) { top: 0; }
.hamburguer span:nth-child(2) { top: 9px; }
.hamburguer span:nth-child(3) { top: 18px; }
.hamburguer[aria-expanded="true"] span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburguer[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguer[aria-expanded="true"] span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.menu-celular {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0, 0, 0, .96);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  font-size: 22px; font-weight: 500;
}
.menu-celular[hidden] { display: none; }
.menu-celular__logo { width: 150px; margin-bottom: 20px; }
.menu-celular a, .menu-celular button {
  min-width: 220px; text-align: center; padding: 10px 20px;
  border-bottom: 2px solid rgba(255, 255, 255, .6);
}
.menu-celular button { background: rgba(213, 151, 67, .46); border-radius: 3px; }

@keyframes descer { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }

/* ---------- Abertura ---------- */
.abertura {
  position: relative;
  height: 94vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--preto);
}
/* Foto por baixo do vídeo (aparece antes dele e se ele não carregar):
   vista noturna da cidade pelo vidro, com o letreiro do Boussolé. Ocupa a tela inteira. */
.abertura::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("img/vista-noite.jpg") center 45% / cover no-repeat;
}
.abertura__video { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: transparent; }
.abertura__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;          /* 16:9 */
  min-height: 100%; min-width: 177.78vh;  /* cobre a tela toda */
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.abertura__video iframe.pronto { opacity: 1; }
.abertura__sombra {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.1) 100%);
}
.abertura__texto {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 10px 18px;
  text-align: center;
}
.abertura__texto h1 { font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: .5px; }
.abertura__texto p { font-size: 20px; font-weight: 600; margin-top: 14px; }
.abertura__texto hr { border: 0; border-top: 1px solid var(--branco); margin: 20px 0 14px; }
.abertura__seta { display: inline-block; width: 26px; color: var(--branco); animation: pulo 2s ease-in-out infinite; }
@keyframes pulo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Vitrine (3 fotos grandes) ---------- */
.vitrine {
  background: var(--grafite);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 90px 10px;
}
.vitrine__card {
  position: relative;
  height: min(884px, 88vh);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform .4s ease;
}
.vitrine__card span {
  position: absolute; left: 50%; bottom: 28px;
  transform: translate(-50%, 10px);
  padding: 10px 26px;
  border: 2px solid var(--dourado);
  border-radius: 100px;
  background: rgba(0, 0, 0, .45);
  font-size: 16px; font-weight: 500; white-space: nowrap;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.vitrine__card:hover { transform: scale(1.02); }
.vitrine__card:hover span, .vitrine__card:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Experiência ---------- */
.experiencia {
  position: relative;
  min-height: 400px;
  padding: 70px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: url("img/sskaltemir-62-min.jpg") center / cover fixed;
}
.experiencia::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .86); }
.experiencia > * { position: relative; }
.experiencia__titulo { font-size: 43px; font-weight: 600; line-height: 1.2; }
.palavra-girando {
  display: inline-grid;
  color: var(--dourado-claro);
  text-align: left;
  vertical-align: bottom;
}
.palavra-girando span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(-60%);
  transition: opacity .5s ease, transform .5s ease;
}
.palavra-girando span.ativa { opacity: 1; transform: none; }
.palavra-girando span.saindo { opacity: 0; transform: translateY(60%); }
.experiencia p { max-width: 1000px; margin-top: 30px; font-size: 20px; line-height: 1.5; }

/* ---------- Faixa com botão de reserva ---------- */
.faixa-reserva {
  background: var(--cinza);
  min-height: 238px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.botao-reserva {
  padding: 12px 24px;
  font-size: 28px; font-weight: 500;
  border: 3px solid var(--dourado);
  border-radius: 100px;
  box-shadow: 2px 7px 10px rgba(119, 88, 0, .92);
  transition: background-color .25s ease, transform .25s ease;
}
.botao-reserva:hover { background: rgba(186, 138, 0, .25); transform: translateY(-2px); }

/* ---------- Carrossel ---------- */
.carrossel { position: relative; height: 520px; overflow: hidden; }
.carrossel__trilho {
  display: flex; height: 100%;
  transition: transform .5s ease;
}
.carrossel__trilho img {
  flex: 0 0 calc(100% / 3);
  height: 100%;
  object-fit: cover;
}
.carrossel__seta {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; font-size: 42px; line-height: 1;
  color: var(--branco); text-shadow: 0 1px 6px rgba(0,0,0,.6);
  z-index: 2;
}
.carrossel__seta--ant { left: 8px; }
.carrossel__seta--prox { right: 8px; }
.carrossel__pontos {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.carrossel__pontos button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.carrossel__pontos button.ativo { background: var(--branco); }

/* ---------- Eventos ---------- */
.eventos {
  position: relative;
  padding: 50px 20px 70px;
  text-align: center;
  font-family: var(--fonte-eventos);
  background: url("img/img_4753.jpg") center / cover fixed;
}
.eventos::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .67); }
.eventos > * { position: relative; }
.eventos h2 { font-size: 40px; font-weight: 500; color: var(--dourado); line-height: 1.2; }
.eventos__texto { max-width: 1050px; margin: 14px auto 0; font-size: 18px; font-weight: 500; line-height: 1.3; }
.eventos__texto p + p { margin-top: 0; }
.eventos__texto p:first-child { margin-bottom: 20px; }
.eventos__cards {
  max-width: 1140px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.evento {
  position: relative;
  min-height: 281px;
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  padding: 30px 20px;
}
.evento::before {
  content: ""; position: absolute; inset: 0;
  background: var(--foto) center / cover;
  transition: transform .6s ease;
}
.evento::after { content: ""; position: absolute; inset: 0; background: rgba(2, 1, 1, var(--sombra)); }
.evento:hover::before { transform: scale(1.08); }
.evento > * { position: relative; z-index: 1; }
.evento h3 { font-size: 23px; font-weight: 600; line-height: 1.25; }
.evento button {
  font-family: var(--fonte);
  font-size: 15px; font-weight: 500;
  background: var(--dourado);
  border-radius: 3px;
  padding: 12px 24px;
  transition: filter .25s ease;
}
.evento button:hover { filter: brightness(1.15); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--preto); padding: 30px 20px 26px; text-align: center; }
.rodape__redes { display: flex; justify-content: center; gap: 45px; margin-bottom: 26px; }
.rodape__redes a { width: 45px; height: 45px; color: var(--dourado); transition: transform .25s ease; }
.rodape__redes a:hover { transform: scale(1.12); }
.rodape__redes svg { width: 100%; height: 100%; }
.rodape p { font-size: 14px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
}
.whats-flutuante__texto {
  background: var(--branco); color: #333;
  font-size: 14px; padding: 4px 12px; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  opacity: 0; transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.whats-flutuante:hover .whats-flutuante__texto { opacity: 1; transform: none; }
.whats-flutuante__icone {
  width: 50px; height: 50px; border-radius: 50%;
  background: #25d366; color: var(--branco);
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.35);
}
.whats-flutuante__icone svg { width: 28px; height: 28px; }

/* ---------- Janelas (reserva e galeria) ---------- */
.janela {
  border: 0; padding: 0; margin: auto;
  background: transparent; color: var(--branco);
  max-width: none; max-height: none;
}
.janela::backdrop { background: rgba(0, 0, 0, .85); }
.janela[open] { animation: aparecer .6s ease both; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
.janela__fechar {
  position: fixed; top: 14px; right: 20px; z-index: 5;
  font-size: 44px; line-height: 1; color: var(--branco);
}
.janela__reserva-corpo { width: min(620px, 94vw); height: min(900px, 88vh); background: var(--branco); border-radius: 8px; overflow: hidden; }
.janela__reserva-corpo iframe { width: 100%; height: 100%; border: 0; display: block; }

.janela--galeria { width: min(1200px, 94vw); max-height: 90vh; overflow-y: auto; }
.galeria { columns: 3 280px; column-gap: 12px; padding: 4px; }
.galeria button { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; overflow: hidden; }
.galeria img { width: 100%; height: auto; transition: transform .4s ease; }
.galeria button:hover img { transform: scale(1.04); }

.foto-ampliada {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .95);
  display: flex; align-items: center; justify-content: center;
}
.foto-ampliada[hidden] { display: none; }
.foto-ampliada img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.foto-ampliada__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 60px; line-height: 1; padding: 10px; color: var(--branco);
}
.foto-ampliada__nav--ant { left: 10px; }
.foto-ampliada__nav--prox { right: 10px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .topo { padding: 10px 20px; }
  .botao-menu { min-width: 0; padding: 8px 12px; }
  .experiencia__titulo { font-size: 36px; }
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
  .topo { padding: 10px 16px; }
  .topo.rolou { background: rgba(53, 39, 0, .63); }
  .topo { justify-content: center; }
  .topo__logo img { width: 96px; }
  .topo__menu { display: none; }
  .hamburguer { display: block; z-index: 60; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }

  .abertura { height: 100svh; min-height: 0; }
  .abertura::after { background-position: 55% center; }
  .abertura__texto h1 { font-size: 28px; }
  .abertura__texto p { font-size: 18px; }

  .vitrine { grid-template-columns: 1fr; padding: 40px 16px; gap: 16px; }
  .vitrine__card { height: 70vh; }
  .vitrine__card span { opacity: 1; transform: translate(-50%, 0); }

  .experiencia, .eventos { background-attachment: scroll; }
  .experiencia { padding: 60px 16px; }
  .experiencia__titulo { font-size: 28px; }
  .palavra-girando { display: grid; text-align: center; }
  .experiencia p { font-size: 17px; }

  .faixa-reserva { min-height: 170px; }
  .botao-reserva { font-size: 22px; }

  .carrossel { height: 480px; }
  .carrossel__trilho img { flex-basis: 100%; }

  .eventos { padding: 40px 16px 50px; }
  .eventos h2 { font-size: 32px; }
  .eventos__texto { font-size: 16px; }
  .eventos__cards { grid-template-columns: 1fr; }

  .rodape { padding-bottom: 84px; } /* espaço para o botão do WhatsApp não cobrir o texto */
  .rodape__redes { gap: 32px; }
  .rodape__redes a { width: 38px; height: 38px; }

  .whats-flutuante__texto { display: none; }
  .galeria { columns: 2 140px; column-gap: 8px; }
  .galeria button { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
