:root {
  --color-background: #faf9f6;
  --color-foreground: #1c2b32;
  --color-teal: #20495d;
  --color-teal-dark: #142e3b;
  --color-gold: #95713b;
  --color-gold-light: #c6a06b;
  --color-accent: #95713b;
  --color-accent-foreground: #faf9f6;
  --color-muted: #ece7dd;
  --color-muted-foreground: #5c6a70;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.font-display {
  font-family: var(--font-display);
}

.gold-text {
  background: linear-gradient(135deg, #b78a4a 0%, #95713b 60%, #7a5b2d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stone-gradient-bg {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-muted);
  background: var(--color-background);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark img {
  height: 4rem;
  width: 4rem;
  object-fit: contain;
}

.wordmark.small img {
  height: 3rem;
  width: 3rem;
}

.wordmark-text {
  line-height: 1;
}

.wordmark-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.5rem;
}

.wordmark-title.light .wordmark-title-main {
  color: var(--color-background);
}

.wordmark-title-main {
  color: var(--color-foreground);
}

.wordmark-subtitle {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-muted-foreground);
}

.wordmark-subtitle.light {
  color: rgba(250, 249, 246, 0.6);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(28, 43, 50, 0.8);
}

.site-nav a:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
  .wordmark-title {
    font-size: 1.875rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 8;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-media {
    aspect-ratio: 21 / 8;
  }
}

.hero-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 46, 59, 0.35) 0%, rgba(20, 46, 59, 0.2) 40%, rgba(20, 46, 59, 0.9) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem 3.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    padding-bottom: 5rem;
  }
}

.hero-eyebrow {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-background);
}

@media (min-width: 768px) {
  .hero-eyebrow {
    font-size: 3.75rem;
  }
}

.hero-location {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(250, 249, 246, 0.7);
}

.hero-title {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: var(--color-background);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.hero-subtitle {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: rgba(250, 249, 246, 0.85);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn-solid {
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-solid:hover {
  opacity: 0.9;
}

.btn-outline-light {
  border: 1px solid rgba(250, 249, 246, 0.4);
  color: var(--color-background);
}

.btn-outline-light:hover {
  border-color: var(--color-background);
  background: rgba(250, 249, 246, 0.1);
}

.btn-light {
  background: var(--color-background);
  color: var(--color-foreground);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
  opacity: 0.9;
}

/* ---------- Sections ---------- */

section {
  padding: 5rem 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-lead {
  margin-top: 0.5rem;
  color: var(--color-muted-foreground);
}

/* Sobre */

.sobre {
  text-align: center;
}

.sobre .section-lead {
  margin: 1.25rem auto 0;
  max-width: 42rem;
}

/* Ambientes */

.ambientes-section {
  border-top: 1px solid var(--color-muted);
  border-bottom: 1px solid var(--color-muted);
  background: rgba(236, 231, 221, 0.4);
  padding: 0;
}

.ambientes-section > .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.ambientes-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

.ambiente-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--color-muted);
  background: var(--color-background);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.photo-frame {
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
}

.ambiente-card .photo-frame {
  border-radius: 0;
}

.photo-frame.square {
  aspect-ratio: 1 / 1;
}

.photo-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.photo-frame img:hover {
  opacity: 0.9;
}

.ambiente-body {
  padding: 1.5rem;
}

.ambiente-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-teal);
}

.ambiente-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.ambiente-more {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
}

.ambiente-more:hover {
  color: var(--color-accent);
}

.ambiente-link {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.ambiente-link:hover {
  text-decoration: underline;
}

/* Galeria */

.galeria-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

/* Videos */

.videos-section {
  border-top: 1px solid var(--color-muted);
  border-bottom: 1px solid var(--color-muted);
  background: rgba(236, 231, 221, 0.4);
}

.videos-scroller {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1.5rem 1rem;
  scrollbar-width: thin;
}

.video-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 10rem;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .video-thumb {
    width: 12rem;
  }
}

.video-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 43, 50, 0.7), transparent 60%);
}

.video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(250, 249, 246, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.video-thumb:hover .play-circle {
  transform: scale(1.1);
}

.play-triangle {
  margin-left: 3px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-foreground);
}

.video-thumb-title {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-background);
}

/* Contato */

.contato-section {
  text-align: center;
  color: var(--color-background);
}

.contato-section .section-title,
.contato-section .section-eyebrow {
  color: var(--color-background);
}

.contato-section .section-lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: rgba(250, 249, 246, 0.85);
}

.contato-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */

.site-footer {
  background: var(--color-foreground);
  color: var(--color-background);
}

.site-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-line {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(250, 249, 246, 0.7);
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(250, 249, 246, 0.5);
}

/* Floating WhatsApp */

.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
}

/* ---------- Lightbox / Video modal ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 1rem;
}

.overlay.open {
  display: flex;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(250, 249, 246, 0.2);
  color: var(--color-background);
  font-size: 1.5rem;
}

.overlay-close:hover {
  background: rgba(250, 249, 246, 0.3);
}

.overlay-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(250, 249, 246, 0.25);
  color: var(--color-background);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.overlay-nav:hover {
  background: rgba(250, 249, 246, 0.4);
}

.overlay-nav.prev {
  left: 0.5rem;
}

.overlay-nav.next {
  right: 0.5rem;
}

@media (min-width: 640px) {
  .overlay-nav.prev {
    left: 1.5rem;
  }
  .overlay-nav.next {
    right: 1.5rem;
  }
}

.overlay-nav svg {
  height: 1.75rem;
  width: 1.75rem;
}

.overlay-media-wrap {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 56rem;
  align-items: center;
  justify-content: center;
}

.overlay-media-wrap img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 0.5rem;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.overlay-caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 249, 246, 0.8);
}

.overlay-video-wrap {
  position: relative;
}

.overlay-video-wrap video {
  max-height: 80vh;
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
