/* ════════════════════════════════════════════════════════
   BELLATOR HOSPEDAGEM — v2 Styles
   Paleta: #1A1A2E · #16213E · #C9A84C · #E8D5A3 · #F5F0E8
   ════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy-deep:   #1A1A2E;
  --navy:        #16213E;
  --gold:        #C9A84C;
  --gold-light:  #E8D5A3;
  --cream:       #F5F0E8;
  --white:       #FFFFFF;

  --text-dark:   var(--navy-deep);
  --text-mid:    rgba(26,26,46,0.60);
  --text-light:  rgba(245,240,232,0.80);

  --gold-glow:   rgba(201,168,76,0.25);

  --ff-display:  'Playfair Display', serif;
  --ff-sans:     'Karla', sans-serif;

  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-pill: 100px;

  --transition:  0.4s cubic-bezier(0.4,0,0.2,1);
  --ease-out:    cubic-bezier(0.165,0.84,0.44,1);

  --container:   1280px;
  --section-pad: 140px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: auto; }
html, body {
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.15; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--section-pad) 0; }
.section-header { text-align: center; margin-bottom: 72px; }

.label {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.title {
  font-size: clamp(2.0rem, 5vw, 3.8rem);
  color: var(--navy-deep);
  margin-bottom: 20px;
}
.title em { color: var(--gold); }
.subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 14px 40px rgba(201,168,76,0.40);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: rgba(245,240,232,0.45);
  color: var(--cream);
}
.btn-outline:hover {
  background: rgba(245,240,232,0.10);
  border-color: var(--cream);
}
.btn-outline-dark {
  background: transparent;
  border-color: rgba(26,26,46,0.30);
  color: var(--navy-deep);
}
.btn-outline-dark:hover {
  background: var(--navy-deep);
  color: var(--cream);
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 0;
  transition: padding 0.5s var(--ease-out), background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 4px 32px rgba(26,26,46,0.07);
  border-bottom: 1px solid rgba(26,26,46,0.06);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-logo { justify-self: start; }
.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.nav-logo { display: block; transition: opacity 0.3s; }
.nav-logo:hover { opacity: 0.80; }
.logo-img { height: 68px; width: auto; }

/* Alterna logo: cream no topo, dark após scroll */
.logo-dark  { display: none; }
.logo-light { display: block; }
.nav.scrolled .logo-light { display: none; }
.nav.scrolled .logo-dark  { display: block; }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-cta-mobile { display: none; }
.nav-links li a {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.80);
  transition: color 0.3s, opacity 0.3s;
}
.nav.scrolled .nav-links li a { color: rgba(26,26,46,0.55); }
.nav-links li a:hover { color: var(--gold) !important; opacity: 1 !important; }

/* CTA button in nav */
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 12px 26px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  box-shadow: 0 6px 20px var(--gold-glow);
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; box-shadow: 0 10px 28px rgba(201,168,76,0.35) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--navy-deep); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-links.open {
  display: flex !important;
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 9999;
  padding-top: 80px;
}
.nav-links.open li a {
  font-size: 1.1rem !important;
  letter-spacing: 0.20em;
  color: rgba(245,240,232,0.85) !important;
}
.nav-links.open .nav-cta { font-size: 0.80rem !important; padding: 16px 40px !important; }

/* Card como link */
a.dest-card { text-decoration: none; display: block; cursor: pointer; }
a.dest-card:hover .dest-img { transform: scale(1.06); }

/* CTA dentro do card */
.dest-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}
a.dest-card:hover .dest-cta { letter-spacing: 0.30em; }

/* Grupo de destinos — oculto no desktop */
.nav-dest-group { display: none; }

/* Mobile: mostra grupo de destinos dentro do overlay */
.nav-links.open .nav-dest-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid rgba(245,240,232,0.12);
  border-bottom: 1px solid rgba(245,240,232,0.12);
  list-style: none;
}
.nav-dest-group a {
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.85) !important;
  transition: color 0.3s;
}
.nav-dest-group a:hover { color: var(--gold) !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.40) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.20) 0%, rgba(26,26,46,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 0 24px;
}
.hero-logo-wrap { margin-bottom: 36px; display: flex; align-items: center; justify-content: center; }
.hero-logo { height: 140px; width: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,0.50)); }

.hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0.95;
}
.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.1;
}
.hero h1 em { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245,240,232,0.65);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 52px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 100px; }
.wave-path { animation: wave-float 9s ease-in-out infinite; transform-origin: center bottom; }
.wave-path.w2 { animation-duration: 12s; animation-delay: -3s; }
.wave-path.w3 { animation-duration: 15s; animation-delay: -6s; }
@keyframes wave-float {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50%       { transform: translateX(-4%) scaleY(1.05); }
}

/* ── STRIP MARQUEE ───────────────────────────────────────── */
.strip {
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 28px 0;
  position: relative;
  z-index: 2;
}
.strip-track {
  display: flex;
  white-space: nowrap;
  gap: 64px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  will-change: transform;
}
.strip-track .dot { color: var(--gold); }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: flex; }
.about-text { max-width: 760px; }
.about-text p { font-size: 1.10rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 48px; }

.about-stats {
  display: flex;
  gap: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(26,26,46,0.10);
}
.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: 3.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--text-mid);
}

/* ── DESTINATIONS ────────────────────────────────────────── */
.carousel-hint {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 24px;
  opacity: 0.60;
}
.destinations-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
  cursor: grab;
}
.destinations-grid:active { cursor: grabbing; }
.destinations-grid::-webkit-scrollbar { display: none; }

.dest-card {
  flex: 0 0 340px;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(26,26,46,0.12);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(26,26,46,0.22); }
.dest-card:hover .dest-img { transform: scale(1.05); }
.dest-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.08) 0%, rgba(26,26,46,0.15) 45%, rgba(26,26,46,0.82) 100%);
  pointer-events: none;
}
.dest-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 32px;
  z-index: 1;
}
.dest-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.dest-info h3 { font-size: 1.35rem; color: var(--cream); margin-bottom: 10px; line-height: 1.2; }
.dest-info p { font-size: 0.88rem; color: rgba(245,240,232,0.75); line-height: 1.65; }

/* ── CONCIERGE ───────────────────────────────────────────── */
.concierge {
  background: var(--navy-deep);
  position: relative;
}
.concierge-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concierge .label { color: var(--gold); }
.concierge .title { color: var(--cream); }
.concierge .title em { color: var(--gold); }
.concierge p { color: rgba(245,240,232,0.65); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.80; }

/* Phone mockup */
.concierge-phone { display: flex; justify-content: center; }
.phone-mockup {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.10);
  border-radius: 28px;
  padding: 36px 28px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(20px);
}
.chat-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 85%;
}
.chat-bubble.bot {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--cream);
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
}
.chat-bubble.guest {
  background: var(--gold);
  color: var(--navy-deep);
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  font-weight: 600;
}

/* ── PROPERTIES ──────────────────────────────────────────── */
.properties-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
  cursor: grab;
}
.properties-grid:active { cursor: grabbing; }
.properties-grid::-webkit-scrollbar { display: none; }

.prop-card {
  flex: 0 0 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(26,26,46,0.07);
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,26,46,0.12); }
.prop-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.prop-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy-deep);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.prop-info { padding: 24px; }
.prop-info h3 { font-size: 1.15rem; color: var(--navy-deep); margin-bottom: 8px; }
.prop-info p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.65; }
.prop-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  transition: gap 0.3s;
  display: inline-flex;
  gap: 6px;
}
.prop-link:hover { gap: 10px; }

.props-footer {
  text-align: center;
  margin-top: 64px;
}
.props-footer p { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 32px; }
.props-footer strong { color: var(--navy-deep); }
.props-footer-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials { background: var(--cream); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(26,26,46,0.06);
  transition: transform 0.4s var(--ease-out);
}
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { font-size: 1rem; color: var(--gold); letter-spacing: 2px; margin-bottom: 18px; }
.testi-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.80; margin-bottom: 28px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.90rem; color: var(--navy-deep); font-family: var(--ff-sans); }
.testi-author small { font-size: 0.75rem; color: var(--text-mid); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer-cta {
  background: var(--navy-deep);
  padding: 120px 0;
  text-align: center;
}
.footer-cta h2 {
  font-size: clamp(2.0rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-cta h2 em { color: var(--gold); }
.footer-cta p { font-size: 1.05rem; color: rgba(245,240,232,0.60); margin-bottom: 44px; }
.footer-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.footer-bottom {
  background: var(--navy);
  padding: 40px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo { height: 52px; width: auto; opacity: 0.90; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: rgba(245,240,232,0.55);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.35);
  margin-left: auto;
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.40);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.10);
  box-shadow: 0 14px 40px rgba(37,211,102,0.50);
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.40); }
  50%       { box-shadow: 0 8px 40px rgba(37,211,102,0.65); }
}

/* ── REVEAL (GSAP) ───────────────────────────────────────── */
.reveal { opacity: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .concierge-inner { grid-template-columns: 1fr; gap: 56px; }
  .concierge-phone { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .logo-img { height: 52px; }
  .hero-logo { height: 100px; }

  /* Mobile nav */
  .nav-container { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open .nav-cta-mobile { display: flex; }

  .about-stats { flex-direction: column; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-copy { margin-left: 0; }
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .hero-logo { height: 80px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; }
  .dest-card { flex: 0 0 290px; }
  .prop-card { flex: 0 0 270px; }
  .stat-number { font-size: 2.8rem; }
  .footer-links { gap: 16px; }
}

@media (max-width: 375px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .hero-logo { height: 68px; }
  .stat-number { font-size: 2.2rem; }
  .dest-card { flex: 0 0 260px; }
  .prop-card { flex: 0 0 250px; }
  .footer-links { gap: 12px; }
  .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}
