/* ===================================================================
   RESIDENT — Folha de Estilos Personalizada
   Apartamento de luxo — landing page moderna e minimalista
   Stack: HTML5 + CSS3 + Bootstrap 5.3
   =================================================================== */

/* -------------------------------------------------------------------
   VARIÁVEIS CSS
   ------------------------------------------------------------------- */
:root {
  --bg-dark: #103c3b;
  --bg-dark-2: #1e4645;
  --accent-gold: #b07e50;
  --accent-orange: #ff7c03;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --radius-pill: 50px;

  --transition: 0.3s ease;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.22);
  --shadow-nav: 0 4px 40px rgba(0, 0, 0, 0.35);

  /* Cor dourada escura para hover dos botões */
  --gold-dark: #9a6e44;
}

/* -------------------------------------------------------------------
   RESET E BASE GLOBAL
   ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent-gold);
  color: #fff;
}

::-moz-selection {
  background: var(--accent-gold);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* contém a translação horizontal do AOS (fade-left) em elementos fora do
     ecrã — o overflow-x:hidden do body não é propagado ao viewport de forma
     fiável em browsers móveis, daí o espaço à direita só no telemóvel */
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

/* -------------------------------------------------------------------
   TIPOGRAFIA
   ------------------------------------------------------------------- */
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  /* letra-espacamento neutro — sem valores negativos agressivos */
  letter-spacing: -0.3px;
  color: var(--text-light);
}

.text-gold {
  color: var(--accent-gold) !important;
}
.text-orange {
  color: var(--accent-orange) !important;
}
.text-muted-custom {
  color: var(--text-muted);
}

/* -------------------------------------------------------------------
   BADGE PILL — etiqueta decorativa de categoria
   ------------------------------------------------------------------- */
.badge-pill {
  display: inline-block;
  padding: 5px 18px;
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------
   RITMO DAS SECÇÕES
   ------------------------------------------------------------------- */
.section-pad {
  padding: 110px 0;
}

.section-alt {
  background-color: var(--bg-dark-2);
}

/* -------------------------------------------------------------------
   BOTÕES — cor principal: dourado (--accent-gold)
   ------------------------------------------------------------------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-gold);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-cta:hover {
  background-color: var(--gold-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(176, 126, 80, 0.45);
}

.btn-lg-custom {
  padding: 16px 40px;
  font-size: 0.82rem;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-light);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------
   NAVBAR — flutuante, fixo, cantos arredondados
   ------------------------------------------------------------------- */
/* Wrapper fixo full-width — transparente, apenas gere o espaço vertical */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  pointer-events: none; /* cliques passam para a página nas margens transparentes */
  padding: 16px 16px 0;
  transition: padding-top var(--transition);
}

#mainNav.scrolled {
  padding-top: 8px;
}

/* Ao fazer scroll, o visual blur/escurecimento vai para o inner */
#mainNav.scrolled .nav-inner {
  background: rgba(30, 70, 69, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.42);
}

/* Pill visível — largura igual ao container Bootstrap (1140px), centrado */
.nav-inner {
  pointer-events: all; /* re-activa cliques no pill */
  max-width: 1140px;
  margin: 0 auto;
  padding: 13px 24px;
  border-radius: var(--radius);
  background: var(--bg-dark-2);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

/* Logótipo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--accent-gold);
}

.nav-logo i {
  color: var(--accent-gold);
  font-size: 1.45rem;
}

/* Links de navegação — desktop */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-link-item {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 15px;
  transition:
    color var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.07);
}

/* Botão hambúrguer */
.nav-toggler {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  line-height: 1;
  padding: 0;
}

.nav-toggler:hover {
  background: rgba(255, 255, 255, 0.09);
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
  line-height: 1;
}

.lang-toggle:hover {
  border-color: var(--accent-gold);
  background: rgba(176, 126, 80, 0.12);
  color: var(--accent-gold);
}

/* Menu Offcanvas — mobile */
.offcanvas {
  background: var(--bg-dark-2);
  color: var(--text-light);
  max-width: 290px;
}

.offcanvas-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offcanvas-body {
  padding: 16px 24px 28px;
}

.offcanvas-link {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    color var(--transition),
    padding-left var(--transition);
}

.offcanvas-link:hover {
  color: var(--text-light);
  padding-left: 16px;
}

/* -------------------------------------------------------------------
   HERO — ecrã completo
   ------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
}

/* Desactiva parallax em dispositivos iOS (bug conhecido) */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    background-attachment: scroll;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 60, 59, 0.58);
  z-index: 1;
}

/* Área de conteúdo central */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 1.04;
  /* Sem letter-spacing negativo — pedido do cliente */
  letter-spacing: 0;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* Barra de informação — fundo do hero */
.hero-bottom {
  position: relative;
  z-index: 2;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 36px;
  background: rgba(16, 60, 59, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-info-item--last {
  border-right: none;
}

.hero-info-item i {
  font-size: 2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero-info-item .fw-semibold {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-info-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------
   SOBRE — cartões de estatísticas
   ------------------------------------------------------------------- */
.stat-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(176, 126, 80, 0.18);
  padding: 32px 20px;
  text-align: center;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card);
}

.stat-icon {
  font-size: 2.1rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 14px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 7px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* -------------------------------------------------------------------
   GALERIA DE DIVISÕES — scroll lateral com lightbox
   ------------------------------------------------------------------- */

/* Swiper de divisões */
.rooms-swiper {
  padding: 4px 40px 52px !important;
  cursor: grab;
}

.rooms-swiper.swiper-initialized {
  cursor: grab;
}

/* Paginação — pontos dourados */
.rooms-pagination.swiper-pagination {
  bottom: 12px !important;
}

.rooms-pagination .swiper-pagination-bullet {
  background: var(--accent-gold);
  opacity: 0.35;
  width: 8px;
  height: 8px;
}

.rooms-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 22px;
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

/* Altura fixa no slide — evita layout shift antes do Swiper inicializar */
.rooms-swiper .swiper-slide {
  height: 420px;
}

/* Cartão individual — preenche o slide */
.room-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card:hover .room-img {
  transform: scale(1.06);
}

.room-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 60, 59, 0.88) 0%,
    rgba(16, 60, 59, 0.12) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: background var(--transition);
}

.room-card:hover .room-overlay {
  background: linear-gradient(
    to top,
    rgba(16, 60, 59, 0.95) 0%,
    rgba(16, 60, 59, 0.42) 50%,
    rgba(16, 60, 59, 0.18) 100%
  );
}

.room-label {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 60, 59, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(176, 126, 80, 0.35);
  color: var(--text-light);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.room-overlay-content {
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.room-card:hover .room-overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.room-overlay-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.room-overlay-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* -------------------------------------------------------------------
   PLANTA DO APARTAMENTO
   ------------------------------------------------------------------- */
.fp-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(176, 126, 80, 0.2);
}

/* Override de variáveis Bootstrap para tabela em fundo escuro */
.fp-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(30, 70, 69, 0.55);
  --bs-table-hover-bg: rgba(176, 126, 80, 0.1);
  --bs-table-color: var(--text-muted);
  --bs-table-striped-color: var(--text-muted);
  --bs-table-hover-color: var(--text-light);
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
  margin: 0;
}

.fp-table thead th {
  background: rgba(30, 70, 69, 0.9);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 22px;
  border-bottom-color: rgba(176, 126, 80, 0.2);
}

.fp-table tbody td {
  padding: 9px 22px;
  vertical-align: middle;
  font-weight: 500;
}

.fp-table tbody td:last-child {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Contentor da imagem da planta */
.fp-img-wrap {
  overflow: hidden;
}

/* Imagem local da planta — sem filtro, mostra as cores originais do ficheiro */
.fp-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.fp-img-wrap:hover .fp-img {
  transform: scale(1.02);
}

/* -------------------------------------------------------------------
   GALERIA DO APARTAMENTO — filtros + grelha
   ------------------------------------------------------------------- */
.filter-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text-light);
}

.filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--text-light);
}

/* Miniatura da galeria */
.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 60, 59, 0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:hover .g-overlay {
  background: rgba(16, 60, 59, 0.42);
}

.g-zoom-icon {
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.gallery-thumb:hover .g-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Estado oculto controlado por JS */
.gallery-item {
  transition: opacity 0.28s ease;
}

.gallery-item.hidden {
  display: none !important;
}

/* -------------------------------------------------------------------
   COMODIDADES — lista de amenidades
   ------------------------------------------------------------------- */
.amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  transition:
    color var(--transition),
    padding-left var(--transition);
}

.amenities-list li:last-child {
  border-bottom: none;
}

.amenities-list li:hover {
  color: var(--text-light);
  padding-left: 6px;
}

.amenities-list li i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------
   FORMULÁRIO DE CONTACTO — inputs outline transparentes com label flutuante
   ------------------------------------------------------------------- */
.contact-form .form-floating > .form-control,
.contact-form .form-floating > textarea.form-control {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font-family: "DM Sans", sans-serif;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > textarea.form-control:focus {
  background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 0 0 3px rgba(176, 126, 80, 0.18) !important;
  color: var(--text-light);
  outline: none;
}

.contact-form .form-floating > label {
  color: var(--text-muted);
  font-family: "DM Sans", sans-serif;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > textarea.form-control:focus ~ label,
.contact-form
  .form-floating
  > textarea.form-control:not(:placeholder-shown)
  ~ label {
  color: var(--accent-gold) !important;
  opacity: 1;
}

/* Correcção do autofill do browser em fundos escuros */
.contact-form .form-control:-webkit-autofill,
.contact-form .form-control:-webkit-autofill:hover,
.contact-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-light) !important;
  -webkit-box-shadow: 0 0 0 60px #1a4544 inset !important;
}

/* -------------------------------------------------------------------
   LIGHTBOX DE DIVISÕES
   ------------------------------------------------------------------- */
.room-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 24, 24, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.room-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 1;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 24px 24px;
  max-width: 92vw;
}

.lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lb-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

/* -------------------------------------------------------------------
   TOUR VIRTUAL — secção de vídeo com modal
   ------------------------------------------------------------------- */

/* Miniatura clicável */
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  outline: none;
  border: 2px solid rgba(176, 126, 80, 0.2);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.video-thumb:hover img,
.video-thumb:focus img {
  transform: scale(1.04);
}

/* Overlay semitransparente sobre a miniatura */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 60, 59, 0.38);
  transition: background var(--transition);
}

.video-thumb:hover .video-overlay,
.video-thumb:focus .video-overlay {
  background: rgba(16, 60, 59, 0.52);
}

/* Botão de play circular */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(176, 126, 80, 0.48);
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.video-thumb:hover .video-play-btn,
.video-thumb:focus .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--gold-dark);
  box-shadow: 0 12px 40px rgba(176, 126, 80, 0.6);
}

/* Etiqueta de duração no canto inferior esquerdo */
.video-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(16, 60, 59, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(176, 126, 80, 0.35);
  color: var(--text-light);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Modal de vídeo */
.video-modal-content {
  background: var(--bg-dark-2);
  border: 1px solid rgba(176, 126, 80, 0.2);
  overflow: hidden;
}

.video-modal-content .modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}

/* -------------------------------------------------------------------
   AOS — reduz a distância de translação para um fade mais suave
   (o valor padrão da biblioteca é 100px, demasiado abrupto)
   ------------------------------------------------------------------- */
[data-aos='fade-up']    { transform: translate3d(0, 20px, 0); }
[data-aos='fade-down']  { transform: translate3d(0, -20px, 0); }
[data-aos='fade-right'] { transform: translate3d(-20px, 0, 0); }
[data-aos='fade-left']  { transform: translate3d(20px, 0, 0); }

/* -------------------------------------------------------------------
   OVERRIDES BOOTSTRAP — remove border-radius de componentes nativos
   ------------------------------------------------------------------- */
.modal-content {
  border-radius: 0 !important;
}
.form-control {
  border-radius: 0 !important;
}
.offcanvas {
  border-radius: 0 !important;
}

/* -------------------------------------------------------------------
   RODAPÉ
   ------------------------------------------------------------------- */
.footer-section {
  background: #0b2e2d;
}

.footer-heading {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-light);
  gap: 8px;
  transition: color var(--transition);
}

.footer-logo:hover {
  color: var(--accent-gold);
}

.footer-logo i {
  color: var(--accent-gold);
}

.footer-link {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* Ícones de redes sociais */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(176, 126, 80, 0.38);
}

/* Lista de contactos */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact li i {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Barra de copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------
   BOTÃO SCROLL-TO-TOP
   ------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1030;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--text-light);
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* Oculto por defeito */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(176, 126, 80, 0.38);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(176, 126, 80, 0.52);
}

/* -------------------------------------------------------------------
   RESPONSIVIDADE — mobile-first
   ------------------------------------------------------------------- */

/* ≤ 991px (tablets) */
@media (max-width: 991.98px) {
  .section-pad {
    padding: 80px 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .room-card {
    aspect-ratio: 16 / 10;
  }
}

/* ≤ 767px (mobile) */
@media (max-width: 767.98px) {
  #mainNav {
    padding: 10px 12px 0;
  }

  .nav-inner {
    padding: 10px 16px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .hero-info-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 18px 24px;
  }

  .hero-info-item--last {
    border-bottom: none;
  }

  .rooms-swiper .swiper-slide {
    height: 340px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
}

/* ≤ 575px (mobile pequeno) */
@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.85rem;
  }

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

  .video-play-btn {
    width: 58px;
    height: 58px;
    font-size: 1.7rem;
  }
}
