/* ============================================================
   Recanto dos Sonhos — Global CSS
   Design system completo: variáveis, reset, tipografia,
   nav, footer, whatsapp, cta-band, utilitários e responsivo.
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── VARIÁVEIS ── */
:root {
  --claret:       #3d0c1f;
  --claret-mid:   #5c1530;
  --claret-light: #7a2040;
  --cream:        #f7f3ec;
  --ivory:        #faf8f4;
  --gold:         #c9a55a;
  --gold-lt:      #dfc07d;
  --sand:         #e8dfc8;
  --charcoal:     #1a1410;
  --text:         #201510;
  --text-mid:     #5a4535;
  --text-muted:   #9a8a78;
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Raleway', sans-serif;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  background: rgba(29,8,14,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,165,90,.18);
  transition: background .3s;
}
.nav-logo img { height: 44px; filter: brightness(1.1); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(247,243,236,.65); font-weight: 500; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-lt); }
.nav-reserve {
  background: var(--gold); color: var(--claret);
  padding: .55rem 1.5rem; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; transition: background .2s;
}
.nav-reserve:hover { background: var(--gold-lt); }

/* Dropdown Vilas */
.nav-dropdown-wrapper {
  position: relative;
}
.dropdown-arrow {
  font-size: .48rem;
  margin-left: .25rem;
  vertical-align: middle;
  transition: transform .25s;
  display: inline-block;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(29,8,14,.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,165,90,.25);
  list-style: none;
  min-width: 220px;
  padding: .6rem 0;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 250;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.nav-dropdown li {
  width: 100%;
}
.nav-dropdown li a {
  display: block !important;
  padding: .7rem 1.2rem !important;
  font-size: .65rem !important;
  color: rgba(247,243,236,.7) !important;
  border-bottom: none !important;
  text-align: left;
  letter-spacing: .12em !important;
}
.nav-dropdown li a:hover {
  color: var(--gold-lt) !important;
  background: rgba(201,165,90,.08);
}
.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-wrapper:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile nav toggle */
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: .5rem;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: rgba(247,243,236,.7); transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  position: relative; height: 65vh; min-height: 460px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--charcoal); margin-top: 72px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: .55;
  transition: opacity .4s;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,5,10,.97) 0%, rgba(20,5,10,.4) 60%, rgba(20,5,10,.1) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; max-width: 900px;
  padding: 0 4rem 5rem; animation: fadeUp .9s ease both;
}
.page-hero-kicker {
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.page-hero-kicker::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.page-hero-title {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1; color: var(--cream);
}
.page-hero-title em { font-style: italic; font-weight: 400; color: var(--gold-lt); }
.page-hero-sub {
  font-size: .95rem; color: rgba(247,243,236,.55); max-width: 520px;
  font-weight: 300; margin-top: .9rem; line-height: 1.75;
}

/* ── SECTION BASE ── */
.sec { padding: 7rem 4rem; }
.sec-label {
  display: flex; align-items: center; gap: .8rem;
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.sec-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.sec-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1.1; color: var(--claret);
}
.sec-title.h900 { font-weight: 900; }
.sec-title em { font-style: italic; font-weight: 400; }
.sec-title.light { color: var(--cream); }
.sec-body {
  font-size: .92rem; color: var(--text-mid);
  font-weight: 300; line-height: 1.9; margin-top: 1.2rem;
}

/* ── BOTÕES ── */
.btn-gold {
  background: var(--gold); color: var(--claret);
  padding: .85rem 2.5rem; font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600;
  transition: all .25s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-dark {
  background: var(--claret); color: var(--cream);
  padding: .85rem 2.5rem; font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600;
  transition: background .2s; display: inline-block;
}
.btn-dark:hover { background: var(--claret-mid); }

.btn-cream {
  background: var(--cream); color: var(--claret);
  padding: .8rem 2.2rem; font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600;
  transition: all .25s; display: inline-block;
}
.btn-cream:hover { background: var(--sand); }

.btn-outline-dark {
  border: 2px solid var(--claret); color: var(--claret);
  padding: .85rem 2.5rem; font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600;
  transition: all .2s; display: inline-block;
}
.btn-outline-dark:hover { background: rgba(61,12,31,.08); }

.btn-ghost {
  color: rgba(247,243,236,.7); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem; transition: color .2s;
}
.btn-ghost:hover { color: var(--gold-lt); }
.btn-ghost::after { content: '→'; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--gold);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 5.5rem 4rem; gap: 1.6rem;
}
.cta-band .sec-label { justify-content: center; color: rgba(61,12,31,.55); }
.cta-band .sec-label::before { background: rgba(61,12,31,.3); }
.cta-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--claret); line-height: 1.05;
}
.cta-title em { font-style: italic; font-weight: 400; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }

/* ── FOOTER ── */
footer { background: #0e0408; padding: 5rem 4rem 3rem; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-logo img { height: 48px; filter: brightness(1.1); margin-bottom: 1.2rem; }
.footer-about {
  font-size: .82rem; color: rgba(247,243,236,.35);
  font-weight: 300; line-height: 1.75; max-width: 280px;
}
.footer-col h5 {
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem; font-family: var(--sans); font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .82rem; color: rgba(247,243,236,.4); font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1280px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(247,243,236,.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .7rem; color: rgba(247,243,236,.2); }

/* ── WHATSAPP ── */
.wa {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  background: #25d366; color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(0,0,0,.3); transition: transform .25s;
}
.wa:hover { transform: scale(1.1); }
.wa-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── ANIMAÇÕES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── UTILITÁRIOS ── */
.badge {
  padding: .4rem 1rem; border: 1px solid rgba(201,165,90,.35);
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; display: inline-block;
}
.quote-block {
  padding: 1.8rem 0 1.8rem 2rem; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--claret); line-height: 1.5; margin-top: 2rem;
}
.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .5rem; }
.feature-item {
  display: flex; align-items: center; gap: .8rem;
  font-size: .85rem; color: var(--text-mid);
  padding: .6rem 0; border-bottom: 1px solid rgba(61,12,31,.07);
}
.feature-item::before { content: '—'; color: var(--gold); flex-shrink: 0; }
.badge-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(20,5,10,.97); padding: 1rem 0;
  }
  .nav-links.open li a {
    display: block; padding: .9rem 1.5rem;
    border-bottom: 1px solid rgba(201,165,90,.08);
  }

  /* Mobile Dropdown styles */
  .nav-links.open .nav-dropdown {
    position: static;
    transform: none;
    background: rgba(20,5,10,.3);
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    padding-left: 1.2rem;
  }
  .nav-links.open .nav-dropdown-wrapper.active-mobile .nav-dropdown {
    display: block;
  }
  .nav-links.open .nav-dropdown li a {
    padding: .75rem 1.5rem !important;
  }

  .sec { padding: 5rem 1.5rem; }
  .page-hero-content { padding: 0 1.5rem 3rem; }
  .cta-band { padding: 4rem 1.5rem; }
  footer { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── LIGHTBOX / CARROSSEL GALERIA GLOBAL ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 4, 8, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  border: 2px solid rgba(201, 165, 90, 0.3);
  animation: scaleIn 0.3s ease both;
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--gold);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(61, 12, 31, 0.4);
  border: 1px solid rgba(201, 165, 90, 0.25);
  color: var(--cream);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1010;
}
.lightbox-nav:hover {
  background: var(--gold);
  color: var(--claret);
  border-color: var(--gold);
}
.lightbox-nav.prev {
  left: -4rem;
}
.lightbox-nav.next {
  right: -4rem;
}

/* Ajustes finos para cursores clicáveis nas imagens de galeria */
.chale-card img, 
.tab-content img, 
.room-gallery img, 
.intro-mosaic img, 
.gallery-grid img, 
.cafe-mosaic img, 
.gallery-strip img, 
.lazer-mosaic img, 
.split-inner img, 
.cafe-intro-inner img,
.gallery-mosaic img,
.intro-visual img,
.room-card img,
.cafe-gallery-sec img,
.cafe-gallery-inner img,
.intro-visual-wrap img,
.vilas-grid img,
.chale-details-grid img {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.chale-card img:hover, 
.tab-content img:hover, 
.room-gallery img:hover, 
.intro-mosaic img:hover, 
.gallery-grid img:hover, 
.cafe-mosaic img:hover, 
.gallery-strip img:hover, 
.lazer-mosaic img:hover, 
.split-inner img:hover, 
.cafe-intro-inner img:hover,
.gallery-mosaic img:hover,
.intro-visual img:hover,
.room-card img:hover,
.cafe-gallery-sec img:hover,
.cafe-gallery-inner img:hover,
.intro-visual-wrap img:hover,
.vilas-grid img:hover,
.chale-details-grid img:hover {
  filter: brightness(1.08);
}


@media (max-width: 768px) {
  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
  .lightbox-close { right: 1rem; top: -3rem; }
}

