/* ===================================================
   RAÍZES HOME RESORT — Landing Page Styles
   Versão 2.1 — Com melhorias de animação, responsividade,
   hover nos cards e otimização de carregamento
   =================================================== */

/* ---- FONTS ---- */
@font-face {
  font-family: 'Rossanova';
  src: url('../assets/fonts/RossanovaTrial-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap; /* MELHORIA 10: font-display swap para carregamento otimizado */
}
@font-face {
  font-family: 'Rossanova';
  src: url('../assets/fonts/RossanovaTrial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rossanova';
  src: url('../assets/fonts/RossanovaTrial-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS TOKENS ---- */
:root {
  --color-black:     #161616;
  --color-offblack:  #21211f;
  --color-raiz:      #302822;
  --color-terra:     #3f362f;
  --color-argila:    #5b5149;
  --color-mata:      #474833;
  --color-oliva:     #747462;
  --color-buzios:    #526776;
  --color-bege:      #a6946f;
  --color-areia:     #d0c6b0;
  --color-offwhite:  #e4decd;
  --color-creme:     #f0ece3;
  --font-main: 'Rossanova', 'Georgia', serif;
  --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s ease;
  /* MELHORIA 10: will-change otimizado */
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, ::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* MELHORIA 10: Otimização de renderização */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-main);
  background-color: var(--color-offblack);
  color: var(--color-offwhite);
  overflow-x: hidden;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
  /* MELHORIA 10: content-visibility para lazy rendering */
}
a { text-decoration: none; color: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-offblack); }
::-webkit-scrollbar-thumb { background: var(--color-argila); border-radius: 3px; }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast), padding var(--transition-fast), box-shadow var(--transition-fast);
}
.navbar.scrolled {
  background: rgba(33, 33, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(166, 148, 111, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.navbar-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-areia);
  transition: color var(--transition-fast);
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-bege);
  transition: width var(--transition-fast);
}
.navbar-links a:hover { color: var(--color-offwhite); }
.navbar-links a:hover::after { width: 100%; }
.navbar-search {
  color: var(--color-areia);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-search:hover { color: var(--color-offwhite); }
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--color-areia);
  transition: all var(--transition-fast);
}
/* MELHORIA 7: Animação do hamburger ao abrir */
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO CAROUSEL
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

/* Barrinhas de progresso */
.hero-progress {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex !important;
  gap: 8px;
  align-items: center;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.2s forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-progress-bar {
  position: relative;
  width: 80px;
  height: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease;
}
.hero-progress-bar:hover {
  opacity: 0.9;
}
.hero-progress-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.hero-progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: none;
}
.hero-progress-bar.active .hero-progress-fill {
  animation: progressFill var(--slide-duration, 10s) linear forwards;
}
.hero-progress-bar.done .hero-progress-fill {
  width: 100%;
  animation: none;
}

@keyframes progressFill {
  from { width: 0%; }
  to   { width: 100%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 31, 0.35) 0%,
    rgba(33, 33, 31, 0.5) 50%,
    rgba(33, 33, 31, 0.78) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 190px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-logo-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  justify-content: center;
  padding: 20px 40px;
  pointer-events: none;
}
.hero-logo {
  width: 220px;
  height: auto;
  display: block;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-logo-wrap.hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-offwhite);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--color-areia);
}
.hero-subtitle {
  font-family: 'Rossanova', Georgia, serif;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--color-areia);
  letter-spacing: 0.06em;
  margin-top: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}
.hero-nav-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: rgba(33, 33, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(166, 148, 111, 0.2);
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}
.hero-nav-center {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-nav-bottom a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-areia);
  transition: color var(--transition-fast);
}
.hero-nav-bottom a:hover { color: var(--color-offwhite); }

/* Hero nav dropdown (Participe) */
.hero-nav-dropdown {
  position: absolute;
  right: 40px;
}
.hero-nav-participe {
  color: var(--color-bege) !important;
  border: 1px solid rgba(166, 148, 111, 0.4);
  padding: 6px 18px;
  border-radius: 20px;
  transition: all var(--transition-fast) !important;
}
.hero-nav-participe:hover {
  background: rgba(166, 148, 111, 0.15);
  border-color: var(--color-bege);
}
.hero-nav-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: rgba(33, 33, 31, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(166, 148, 111, 0.15);
  border-radius: 4px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.hero-nav-dropdown.dropdown-open .hero-nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.hero-nav-dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-areia);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.hero-nav-dropdown-menu li a:hover {
  background: rgba(166, 148, 111, 0.1);
  color: var(--color-offwhite);
}

.hero-nav-divider {
  color: rgba(166, 148, 111, 0.4);
  font-size: 12px;
}

/* ========================================
   NOSSA RAIZ
   ======================================== */
.nossa-raiz {
  background: var(--color-raiz);
  padding: 0;
  position: relative;
}
.nossa-raiz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.nossa-raiz-image {
  overflow: hidden;
  height: 700px;
}
.nossa-raiz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 8s ease;
}
.nossa-raiz-image:hover img { transform: scale(1.04); }
.nossa-raiz-text {
  padding: 80px 80px 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nossa-raiz-monogram {
  margin: 0 auto 28px;
  text-align: center;
}
.monogram-img {
  width: 65px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.nossa-raiz-text .section-tag {
  align-self: center;
}
.nossa-raiz-text .section-divider {
  align-self: center;
}
.nossa-raiz-text .section-text {
  text-align: justify;
  max-width: 100%;
}
.nossa-raiz-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  text-align: center;
}
.nossa-raiz-title em {
  font-style: italic;
  color: var(--color-bege);
}

/* ========================================
   SECTION BASE (compartilhado)
   ======================================== */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
.section-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-bege);
  margin-bottom: 20px;
}
.section-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-areia);
  line-height: 1.85;
  max-width: 580px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--color-bege);
  color: var(--color-offblack);
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
/* MELHORIA 9: Efeito hover mais elaborado no botão */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  background: var(--color-areia);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166, 148, 111, 0.3);
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-primary svg {
  transition: transform var(--transition-fast);
}


/* ========================================
   A IMERSÃO
   ======================================== */
.imersao {
  background: var(--color-creme);
  padding: 100px 0 80px;
}
.imersao .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.imersao .section-tag { color: var(--color-terra); }
.imersao-header {
  text-align: center;
  margin-bottom: 60px;
}
.imersao-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-raiz);
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
.imersao-title em {
  font-style: italic;
  color: var(--color-terra);
}
.imersao .section-text { color: var(--color-argila); }
.imersao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.imersao-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
}
.imersao-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition-fast);
  will-change: transform;
}
/* MELHORIA 9: Hover mais elaborado nos cards de imersão */
.imersao-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}
.imersao-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33,33,31,0.3);
  transition: background var(--transition-fast);
}
.imersao-card:hover .imersao-card-overlay {
  background: rgba(33,33,31,0.55);
}
.imersao-card-label {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  font-weight: 400;
  transition: all var(--transition-fast);
  transform: translateY(-50%);
}
.imersao-card:hover .imersao-card-label {
  letter-spacing: 0.45em;
}
.imersao-card::after {
  content: '';
  position: absolute;
  top: calc(50% + 16px);
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 1px;
  background: var(--color-bege);
  transition: transform var(--transition-fast);
  transform-origin: center;
}
.imersao-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}


/* ========================================
   DESTINOS
   ======================================== */
.destinos {
  background: var(--color-terra);
  padding: 100px 0;
}
.destinos .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.destinos .section-tag {
  color: var(--color-areia);
  opacity: 0.7;
}
.destinos-header {
  text-align: center;
  margin-bottom: 60px;
}
.destinos-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
}
.destinos-title em {
  font-style: italic;
  color: var(--color-areia);
}
.destinos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.destino-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
}
.destino-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition-fast);
  will-change: transform;
}
/* MELHORIA 9: Hover mais elaborado nos destinos */
.destino-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}
.destino-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33,33,31,0.8) 0%, rgba(33,33,31,0.1) 60%);
  transition: background var(--transition-fast);
}
.destino-card:hover .destino-card-overlay {
  background: linear-gradient(to top, rgba(33,33,31,0.9) 0%, rgba(33,33,31,0.2) 70%);
}
.destino-card-content {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  text-align: center;
  transition: transform var(--transition-fast);
}
.destino-card:hover .destino-card-content {
  transform: translateY(-6px);
}
.destino-card-name {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  margin-bottom: 6px;
  transition: letter-spacing var(--transition-fast);
}
.destino-card:hover .destino-card-name {
  letter-spacing: 0.18em;
}
.destino-card-desc {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-areia);
  font-style: italic;
  transition: opacity var(--transition-fast);
}
.destino-card:hover .destino-card-desc {
  opacity: 0.9;
}

/* ========================================
   O LEGADO
   ======================================== */
.legado {
  background: var(--color-creme);
  padding: 100px 0;
}
.legado .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.legado .section-tag { color: var(--color-terra); }
.legado-header {
  text-align: center;
  margin-bottom: 60px;
}
.legado-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-raiz);
  letter-spacing: 0.02em;
}
.legado-title em {
  font-style: italic;
  color: var(--color-terra);
}
.legado-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.legado-item {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
}
.legado-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition-fast);
  display: block;
  will-change: transform;
}
/* MELHORIA 9: Hover mais elaborado na galeria */
.legado-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}
.legado-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 31, 0);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-offwhite);
}
.legado-item:hover .legado-item-overlay {
  background: rgba(33, 33, 31, 0.4);
}
.legado-item-overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}
.legado-item:hover .legado-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(22, 22, 22, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 28px;
  color: var(--color-areia);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  background: none;
  border: none;
  font-family: var(--font-main);
}
.lightbox-close:hover {
  color: var(--color-offwhite);
  transform: rotate(90deg);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(166, 148, 111, 0.3);
  color: var(--color-areia);
  font-size: 36px;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-main);
}
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--color-bege);
  color: var(--color-offwhite);
}
@media (max-width: 640px) {
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 28px; }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--color-offblack);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(166, 148, 111, 0.15);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-logo img { height: 40px; width: auto; opacity: 0.8; }
.footer-center {
  font-size: 12px;
  color: var(--color-argila);
  letter-spacing: 0.1em;
  text-align: center;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(166, 148, 111, 0.3);
  color: var(--color-argila);
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  border-color: var(--color-bege);
  color: var(--color-bege);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(166, 148, 111, 0.15);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 36px; right: 36px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  animation: floatPulse 3s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(33, 33, 31, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  overflow-y: auto;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu.open ~ .hero-logo-wrap,
.hero-logo-wrap.menu-open {
  opacity: 0 !important;
  pointer-events: none;
}

/* Nav principal */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu-nav .mobile-link {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--color-areia);
  text-transform: uppercase;
  transition: color var(--transition-fast), opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open .mobile-menu-nav .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu-nav .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-nav .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-nav .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-nav .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-nav .mobile-link:hover {
  color: var(--color-offwhite);
}

/* Divisor */
.mobile-menu-divider {
  width: 60px;
  height: 1px;
  background: var(--color-bege);
  opacity: 0.3;
  margin: 28px 0;
}

/* Grupos */
.mobile-menu-groups {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}
.mobile-menu.open .mobile-menu-groups {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-menu-group-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bege);
  margin-bottom: 8px;
  opacity: 0.7;
}
.mobile-menu-group-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-menu-group-links .mobile-link {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-areia);
  transition: color var(--transition-fast);
}
.mobile-menu-group-links .mobile-link:hover {
  color: var(--color-offwhite);
}
.mobile-menu-dot {
  color: var(--color-bege);
  opacity: 0.4;
  font-size: 14px;
}

/* CTA */
.mobile-menu-cta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-bege);
  border: 1px solid rgba(166, 148, 111, 0.4);
  padding: 14px 36px;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(15px);
  transition: color var(--transition-fast), border-color var(--transition-fast), opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}
.mobile-menu.open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-cta:hover {
  color: var(--color-offwhite);
  border-color: var(--color-bege);
}

.mobile-menu-close {
  position: fixed;
  top: 28px; right: 28px;
  background: none; border: none;
  color: var(--color-areia);
  font-size: 28px;
  cursor: pointer;
  z-index: 1005;
  font-family: var(--font-main);
  transition: transform var(--transition-fast);
}
.mobile-menu-close:hover {
  transform: rotate(90deg);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

/* MELHORIA 7: Novas animações suaves */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lineExpand {
  from { width: 0; }
  to   { width: 60px; }
}

/* Scroll reveal — melhorado */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* MELHORIA 7: Variantes de reveal para direções diferentes */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* MELHORIA 7: Separador animado entre seções */
.section-divider {
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-bege);
  margin: 0 auto 24px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-divider.visible {
  width: 60px;
}

/* ========================================
   RESPONSIVE — MELHORIA 8
   ======================================== */

/* Tablet landscape */
@media (max-width: 1100px) {
  .section-inner { padding: 0 40px; }
  .nossa-raiz-text { padding: 60px 50px; }

}

/* Tablet portrait */
@media (max-width: 900px) {
  .navbar-links { display: none; }

  .nossa-raiz-inner { grid-template-columns: 1fr; }
  .nossa-raiz-image { height: 400px; }
  .nossa-raiz-text { padding: 60px 32px; }

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

  .destinos-grid { grid-template-columns: 1fr; }
  .destino-card { height: 320px; }

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

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* MELHORIA 8: Hero nav bottom responsivo */
  .hero-nav-bottom {
    gap: 16px;
    padding: 14px 20px;
    flex-wrap: wrap;
  }
  .hero-nav-bottom a {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section-inner { padding: 0 24px; }
  .navbar { padding: 16px 24px; }

  /* MELHORIA 8: Hero melhorado para mobile */
  .hero {
    min-height: 100svh;
  }
  .hero-logo {
    width: 160px;
  }
  .hero-logo-wrap {
    padding: 16px 24px;
  }
  .hero-content {
    top: 165px;
    bottom: 80px;
  }
  .hero-progress-bar {
    width: 50px;
  }
  .hero-progress {
    bottom: 56px;
    gap: 6px;
  }
  .hero-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .hero-subtitle {
    font-size: 0.8rem;
  }
  .hero-tagline {
    font-size: 9px;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
  }
  .hero-nav-bottom {
    gap: 12px;
    padding: 12px 16px;
  }
  .hero-nav-bottom a {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .hero-nav-divider {
    font-size: 10px;
  }

  .imersao { padding: 70px 0 60px; }
  .imersao-grid { grid-template-columns: 1fr; }
  .imersao-card { height: 260px; }
  .imersao-header { margin-bottom: 40px; }

  .destinos { padding: 70px 0; }
  .destinos .section-inner { padding: 0 24px; }
  .destinos-header { margin-bottom: 40px; }
  .destino-card { height: 280px; }

  .legado { padding: 70px 0; }
  .legado .section-inner { padding: 0 24px; }
  .legado-grid { grid-template-columns: 1fr; }
  .legado-item { height: 260px; }
  .legado-header { margin-bottom: 40px; }

  .nossa-raiz-text { padding: 50px 24px; }
  .nossa-raiz-image { height: 320px; }
  .nossa-raiz-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .whatsapp-float { bottom: 24px; right: 24px; width: 52px; height: 52px; }
  .footer-inner { padding: 0 24px; gap: 24px; }
  .footer-logo img { height: 32px; }

  /* MELHORIA 8: Botão CTA responsivo */
  .btn-primary {
    padding: 16px 32px;
    font-size: 11px;
    letter-spacing: 0.18em;
    width: 100%;
    justify-content: center;
  }

  /* MELHORIA 8: Mobile menu ajustes */
  .mobile-menu a {
    font-size: 1.4rem;
  }
  .mobile-menu {
    gap: 32px;
  }
}

/* Telas muito pequenas */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-nav-bottom {
    gap: 8px;
  }
  .hero-nav-bottom a {
    font-size: 8px;
  }
  .nossa-raiz-text { padding: 40px 20px; }
  .section-inner { padding: 0 16px; }
}

/* MELHORIA 8: Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  .hero-logo {
    width: 100px;
  }
  .hero-logo-wrap {
    padding: 16px 24px;
  }
  .hero-content {
    top: 110px;
    bottom: 50px;
  }
  .hero-tagline {
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: 1.2rem;
  }
}

/* ========================================
   FOCUS VISIBLE — G/N
   ======================================== */
:focus-visible {
  outline: 2px solid var(--color-bege);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ========================================
   SCROLL PROGRESS — H
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-bege), var(--color-areia));
  z-index: 2000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ========================================
   CURSOR CUSTOMIZADO — I
   ======================================== */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.custom-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-bege);
  flex-shrink: 0;
}
.cursor-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  font-family: var(--font-main);
  white-space: nowrap;
}
@media (hover: none) {
  .custom-cursor { display: none; }
}

/* ========================================
   TEXTURA NAS SEÇÕES ESCURAS — J
   ======================================== */
.nossa-raiz::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.6;
  z-index: 0;
}
.nossa-raiz-inner { position: relative; z-index: 1; }

/* ========================================
   NAV DROPDOWN
   ======================================== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition-fast);
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(-135deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: rgba(33, 33, 31, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(166, 148, 111, 0.15);
  border-radius: 4px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.dropdown-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-areia);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-dropdown-menu li a::after {
  display: none;
}
.nav-dropdown-menu li a:hover {
  background: rgba(166, 148, 111, 0.1);
  color: var(--color-offwhite);
}


/* ========================================
   PAGE HERO (internal pages)
   ======================================== */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 31, 0.4) 0%,
    rgba(33, 33, 31, 0.7) 100%
  );
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.page-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-offwhite);
  letter-spacing: 0.03em;
}
.page-hero-title em {
  font-style: italic;
  color: var(--color-areia);
}
.page-hero-subtitle {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--color-areia);
  letter-spacing: 0.06em;
  margin-top: 1rem;
}

/* ========================================
   PAGE CONTENT (internal pages)
   ======================================== */
.page-content {
  padding: 80px 0 100px;
  background: var(--color-creme);
  color: var(--color-raiz);
}
.page-content .section-inner {
  max-width: 860px;
}
.page-content h2 {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-raiz);
  margin-bottom: 24px;
}
.page-content h2 em {
  font-style: italic;
}
.page-content p {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-argila);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Dark variant */
.page-content-dark {
  background: var(--color-raiz);
}
.page-content-dark h2 { color: var(--color-offwhite); }
.page-content-dark p { color: var(--color-areia); }

/* Internal page — navbar always visible */
.page-internal .navbar {
  background: rgba(33, 33, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(166, 148, 111, 0.2);
}

/* Responsive internal pages */
@media (max-width: 640px) {
  .page-hero {
    height: 40vh;
    min-height: 280px;
  }
  .page-content {
    padding: 60px 0 80px;
  }
}

/* MELHORIA 10: Reduzir animações para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
