:root {
  --absinto-gold: #c99a2e;
  --absinto-gold-soft: #e8c96a;
  --absinto-black: #080808;
  --absinto-secondary: #101010;
  --absinto-white: #f4f1ea;
  --absinto-gray: #b8b5ae;
  --absinto-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--absinto-black);
  color: var(--absinto-white);
  -webkit-font-smoothing: antialiased;
}

/* Gradiente dourado em texto */
.text-gold-gradient {
  background: linear-gradient(105deg, #a67c1f 0%, #c99a2e 40%, #e8c96a 70%, #c99a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Linhas decorativas do título da seção */
.heading-rule {
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: linear-gradient(90deg, transparent, var(--absinto-gold));
}

.heading-rule--right {
  background: linear-gradient(90deg, var(--absinto-gold), transparent);
}

/* Botão outline dourado */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--absinto-gold);
  color: var(--absinto-gold);
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--absinto-ease), color 0.35s var(--absinto-ease),
    transform 0.35s var(--absinto-ease), box-shadow 0.35s var(--absinto-ease);
}

.btn-gold:hover {
  background: var(--absinto-gold);
  color: var(--absinto-black);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 154, 46, 0.28);
}

.btn-gold--pill {
  border-radius: 999px;
}

.btn-gold--rect {
  border-radius: 2px;
}

/* Card de categoria */
.suite-card {
  border: 1px solid rgba(201, 154, 46, 0.85);
  border-radius: 10px;
  background: var(--absinto-secondary);
  transition: transform 0.45s var(--absinto-ease), border-color 0.35s ease,
    box-shadow 0.45s var(--absinto-ease);
}

.suite-card:hover {
  transform: translateY(-6px);
  border-color: var(--absinto-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.suite-card img {
  transition: transform 0.7s var(--absinto-ease);
}

.suite-card:hover img {
  transform: scale(1.04);
}

/* Hero overlays — cobre UI do mockup à esquerda, preserva a suíte à direita */
.hero-overlay {
  background:
    linear-gradient(
      105deg,
      rgba(8, 8, 8, 0.97) 0%,
      rgba(8, 8, 8, 0.9) 28%,
      rgba(8, 8, 8, 0.55) 48%,
      rgba(8, 8, 8, 0.2) 68%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, transparent 22%, transparent 72%, rgba(8, 8, 8, 0.7) 100%);
}

.hero-photo {
  background-position: 62% center;
}

/* Nav separator */
.nav-link + .nav-link::before {
  content: "|";
  margin: 0 0.85rem;
  color: rgba(244, 241, 234, 0.35);
  font-weight: 300;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--absinto-ease), transform 0.8s var(--absinto-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* FAB WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--absinto-gold);
  background: rgba(8, 8, 8, 0.85);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--absinto-ease), box-shadow 0.35s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(201, 154, 46, 0.35);
}

.whatsapp-fab img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Seção Detalhes */
.detalhes-panel {
  border-left: 0;
}

@media (min-width: 1024px) {
  .detalhes-panel {
    border-left: 1px solid var(--absinto-gold);
  }
}

.detalhes-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(201, 154, 46, 0.55);
}

.detalhes-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detalhes-item:first-of-type {
  padding-top: 0;
}

.detalhes-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--absinto-gold);
}

.detalhes-icon svg {
  width: 100%;
  height: 100%;
}

/* Avaliações */
.review-card {
  border: 1px solid rgba(201, 154, 46, 0.55);
  border-radius: 8px;
  background: transparent;
  padding: 1.75rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.35s ease, transform 0.45s var(--absinto-ease);
}

.review-card:hover {
  border-color: var(--absinto-gold);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--absinto-gold);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.review-text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--absinto-white);
  flex: 1;
}

.review-rule {
  width: 2rem;
  height: 1px;
  background: rgba(244, 241, 234, 0.55);
  margin: 1.25rem 0 0.9rem;
}

.review-name {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--absinto-white);
}

.review-source {
  margin: 0.35rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  color: var(--absinto-gold);
}

/* ========== Galeria Suítes ========== */
.page-nav {
  border-bottom: 1px solid rgba(201, 154, 46, 0.2);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.filter-btn {
  border: 1px solid rgba(201, 154, 46, 0.45);
  background: transparent;
  color: var(--absinto-white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--absinto-gold);
  color: var(--absinto-gold);
}

.filter-btn.is-active {
  background: var(--absinto-gold);
  border-color: var(--absinto-gold);
  color: var(--absinto-black);
}

.filter-count {
  display: inline-block;
  margin-left: 0.35rem;
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 0;
}

.filter-btn.is-active .filter-count {
  opacity: 0.9;
}

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

/* 1 foto — protagonista central */
.gallery-grid--solo {
  grid-template-columns: 1fr;
  max-width: min(920px, 100%);
  margin-inline: auto;
}

.gallery-grid--solo .gallery-thumb {
  aspect-ratio: 16 / 10;
}

/* 2 fotos */
.gallery-grid--duo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1100px;
  margin-inline: auto;
}

.gallery-grid--duo .gallery-thumb {
  aspect-ratio: 4 / 3;
}

/* 3–4 fotos */
.gallery-grid--quad {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid--quad .gallery-thumb {
  aspect-ratio: 4 / 3;
}

/* 5+ fotos — grade densa */
.gallery-grid--many {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .gallery-grid--many {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid--many {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid--many .gallery-thumb {
  aspect-ratio: 4 / 3;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(201, 154, 46, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background: var(--absinto-secondary);
  cursor: zoom-in;
  transition: border-color 0.3s ease, transform 0.35s var(--absinto-ease);
}

.gallery-thumb:hover {
  border-color: var(--absinto-gold);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--absinto-ease);
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__stage {
  position: relative;
  width: min(96vw, 1200px);
  height: min(82vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(201, 154, 46, 0.35);
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(201, 154, 46, 0.7);
  background: rgba(8, 8, 8, 0.65);
  color: var(--absinto-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

.lightbox__btn:hover {
  background: var(--absinto-gold);
  color: var(--absinto-black);
}

.lightbox__btn--close {
  top: 1rem;
  right: 1rem;
  position: fixed;
}

.lightbox__btn--prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__meta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  pointer-events: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--absinto-gray);
}

.lightbox__meta strong {
  color: var(--absinto-gold);
  font-weight: 500;
}

@media (max-width: 640px) {
  .lightbox__btn--prev,
  .lightbox__btn--next {
    width: 40px;
    height: 40px;
  }

  .filter-btn {
    font-size: 0.6rem;
    padding: 0.55rem 0.85rem;
  }
}

/* Mobile menu */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--absinto-ease);
}

.mobile-nav.is-open {
  max-height: 320px;
}

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