:root {
  --bg-dark: #0b0f14;
  --bg-page: #f5f7fb;
  --text-main: #111827;
  --text-soft: #4b5563;
  --line: #e5e7eb;
  --gold: #c8a15a;
  --gold-dark: #ac8541;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

.vitrine-body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 60;
  background: rgba(11, 15, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  max-width: 240px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-logo[hidden] {
  display: none;
}

.gallery-image-card figcaption {
  padding: 12px 16px;
  color: #475569;
  background: #fff;
  overflow-wrap: anywhere;
}

.brand-text strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 21px;
  line-height: 1;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: #1f2937 !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  margin-top: 72px;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.32));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  align-self: center;
  margin-bottom: 12px;
  background: rgba(200, 161, 90, 0.18);
  border: 1px solid rgba(200, 161, 90, 0.58);
  color: #fef3c7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.hero-badge[hidden] {
  display: none;
}

.hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
}

.hero p {
  max-width: 620px;
  margin: 16px auto 0;
  color: #e5e7eb;
  font-size: clamp(15px, 2.3vw, 19px);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline,
.btn-dark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: #1f2937;
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.btn-dark {
  background: #101827;
  color: #fff;
}

.section {
  padding: 84px 0;
  background: #fff;
}

.section-soft {
  background: #f3f6fb;
}

.section-head h2,
.section-head .page-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.section-head.center {
  text-align: center;
  margin-bottom: 28px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hotel-local-context { font-size: 14px; line-height: 1.6; color: #475569; margin: 12px 0 16px; }

/* Reserve the two mobile heading lines before the webfont loads. */
@media (max-width: 480px) {
  #gallery-page-title { min-height: 96px; }
  #gallery-page-subtitle { min-height: 51px; }
}

.editorial-media {
  margin: 0;
}

.editorial-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.eyebrow {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-size: 12px;
  margin: 0;
  font-weight: 700;
}

.editorial-content h2 {
  margin: 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1;
}

.editorial-content p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.benefits-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #1f2937;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.room-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.room-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.room-content {
  padding: 14px;
}

.room-content h3 {
  margin: 0;
  font-size: 20px;
}

.room-meta {
  color: var(--text-soft);
  margin: 6px 0 10px;
}

.room-desc {
  margin: 0 0 10px;
  color: #334155;
  font-size: 14px;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: #374151;
}

.room-amenity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.room-amenity svg {
  width: 15px;
  height: 15px;
}

.room-price {
  font-weight: 700;
  margin-bottom: 10px;
}

.room-actions {
  display: flex;
  gap: 8px;
}

.room-actions .btn-primary,
.room-actions .btn-dark {
  flex: 1;
  border-radius: 10px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.experience-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

.experience-card > .experience-title {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 22px;
  font-family: 'Playfair Display', serif;
}

.experience-card.large {
  grid-row: span 2;
}

.gallery-page-main {
  margin-top: 72px;
}

.gallery-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}

.gallery-category-btn.active {
  border-color: var(--gold);
  background: #fffbeb;
  color: #7c4a03;
}

.gallery-images-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-image-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #dbe3ef;
  background: #fff;
}

.gallery-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-empty {
  color: #64748b;
  margin: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: stretch;
}

.location-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.location-card a {
  color: #0f172a;
  font-weight: 700;
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
}

.site-footer {
  background: var(--bg-dark);
  color: #f3f4f6;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 10px;
}

.site-footer p,
.site-footer li {
  color: #cbd5e1;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 30px;
  padding: 14px 0 20px;
  font-size: 12px;
  color: #9ca3af;
}

.tariff-widget-toggle {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 50;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.tariff-widget {
  position: fixed;
  right: 18px;
  bottom: 68px;
  z-index: 50;
  width: min(320px, calc(100% - 24px));
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
}

.tariff-widget h4 {
  margin: 0 0 10px;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tariff-widget label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #374151;
}

.tariff-widget input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
}

.tariff-widget .full {
  margin-top: 10px;
  width: 100%;
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 128px;
  z-index: 50;
  border-radius: 999px;
  background: var(--gold);
  color: #35220e;
  text-decoration: none;
  font-weight: 700;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 240, 200, .65);
  box-shadow: 0 5px 18px rgba(53, 34, 14, .2);
  animation: whatsapp-pulse 3s ease-in-out infinite;
  transition: background .2s, transform .2s;
}

.whatsapp-fab[hidden] { display: none; }
.whatsapp-fab:hover { background: var(--gold-dark); transform: translateY(-2px); animation: none; }
.whatsapp-fab:focus-visible { outline: 3px solid #35220e; outline-offset: 4px; }
.hero-whatsapp { gap: 8px; }
.hero-whatsapp svg { color: var(--gold); flex-shrink: 0; }
@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 5px 18px rgba(53, 34, 14, .2), 0 0 0 0 rgba(200, 161, 90, .25); }
  50% { transform: scale(1.025); box-shadow: 0 5px 18px rgba(53, 34, 14, .2), 0 0 0 9px rgba(200, 161, 90, 0); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-fab { animation: none; transition: none; } }

.language-switch {
  position: fixed;
  left: 14px;
  bottom: 16px;
  z-index: 50;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
}

.language-switch button {
  border: 0;
  background: transparent;
  padding: 7px 11px;
  font-weight: 700;
  color: #4b5563;
}

.language-switch button.active {
  background: #111827;
  color: #fff;
}

.experience-modal {
  border: 0;
  padding: 0;
  border-radius: 14px;
  width: min(520px, calc(100% - 24px));
}

.experience-modal::backdrop {
  background: rgba(0, 0, 0, 0.52);
}

.experience-modal article {
  background: #fff;
  padding: 22px 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 960px) {
  .site-header {
    height: 60px;
  }

  .hero {
    margin-top: 60px;
    min-height: 460px;
    height: 60vh;
  }

  .brand-logo {
    height: 44px;
    max-width: 180px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 60px;
    right: 0;
    width: min(320px, 92vw);
    height: calc(100vh - 60px);
    background: #0f172a;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .editorial-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid,
  .gallery-images-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-page-main {
    margin-top: 60px;
  }

  .experience-card.large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .rooms-grid,
  .experience-grid,
  .gallery-images-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .experience-card.large {
    grid-column: auto;
  }

  .section {
    padding: 62px 0;
  }

  .widget-grid {
    grid-template-columns: 1fr;
  }
}

/* Acao de reserva acessivel sem abrir o menu no celular. */
.mobile-booking-cta { display: none; }
@media (max-width: 960px) {
  .header-inner { gap: 8px; }
  .header-inner .brand { min-width: 0; flex: 1; overflow: hidden; gap: 6px; }
  .header-inner .brand-logo { max-width: 100px; flex-shrink: 1; }
  .header-inner .brand-text { min-width: 0; }
  .header-inner .brand-text strong { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-inner .brand-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
  .mobile-booking-cta { display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; padding: 9px 11px; font-size: 12px; text-decoration: none; }
  .menu-toggle { flex-shrink: 0; }
}

/* Primeira tela mobile completa: altura visivel menos o cabecalho. */
.site-header { -webkit-backdrop-filter: blur(8px); }
@media (max-width: 960px) {
  .hero { height: calc(100vh - 60px); height: calc(100svh - 60px); height: calc(100dvh - 60px); min-height: 0; max-height: none; }
  .hero + .section { padding-top: 36px; }
  .site-nav { height: calc(100vh - 60px); height: calc(100dvh - 60px); padding-bottom: max(20px, env(safe-area-inset-bottom)); overflow-y: auto; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-booking-cta { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .site-nav { transition: none; }
}

/* Capas de categoria com ate quatro fotos, sem novas dependencias. */
.experience-mosaic { position: absolute; inset: 0; display: grid; gap: 3px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.experience-mosaic.tiles-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.experience-mosaic.tiles-2 { grid-template-rows: 1fr; }
.experience-mosaic.tiles-3 .experience-tile:first-child { grid-row: span 2; }
.experience-tile { min-width: 0; min-height: 0; overflow: hidden; }
.experience-mosaic img { display: block; }
.experience-card > .experience-more { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; color: #fff; background: rgba(11, 15, 20, .78); font: 600 14px/1.4 Inter, sans-serif; pointer-events: none; }
