/* =============================================
   Sítio Museu Nono Antônio — Style
   ============================================= */

/* ----- RESET ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ----- CUSTOM PROPERTIES ----- */
:root {
  --clr-olive: #5B6C3A;
  --clr-olive-dark: #4A5A2E;
  --clr-bege: #D4C9B3;
  --clr-bege-light: #E5DDCF;
  --clr-offwhite: #F8F6F0;
  --clr-brown: #8B7D6B;
  --clr-brown-light: #A49480;
  --clr-gold: #C4A97D;
  --clr-warm-white: #FAF8F4;
  --clr-text: #2C2B28;
  --clr-text-light: #6B6559;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --nav-height: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --section-padding: 120px 0;
  --section-padding-mobile: 80px 0;
}

/* ----- BASE STYLES ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-brown);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--clr-bege);
  vertical-align: middle;
  margin: 0 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--clr-olive);
  color: var(--clr-warm-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-olive-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 6px;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 108, 58, 0.25);
}

.btn-primary--hero {
  padding: 16px 40px;
  font-size: 0.95rem;
  border: 1px solid rgba(196, 169, 125, 0.25);
  box-shadow: 0 0 24px rgba(91, 108, 58, 0.25);
}

.btn-primary--hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(91, 108, 58, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--clr-warm-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* ----- ICONS (inline SVG, substitui Phosphor webfont) ----- */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.contato-item .icon,
.acomodacao-feature .icon {
  font-size: 1.5rem;
  margin-top: 4px;
}

.carousel-arrow .icon {
  font-size: 1.2rem;
}

.depoimento-stars .icon {
  font-size: 1rem;
}

.whatsapp-float .icon {
  font-size: 1.5rem;
}

.footer-social .icon {
  font-size: 1rem;
}

/* ----- MAPA (iframe direto, com tamanho para evitar CLS) ----- */
.contato-map {
  min-height: 400px;
}

.contato-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ----- A11Y: foco visível + links não só por cor ----- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.contato-item a,
.footer-links a,
.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.contato-item a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  text-decoration-color: currentColor;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--clr-olive);
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  position: relative;
  text-align: center;
}

.preloader-logo {
  position: relative;
  z-index: 1;
  line-height: 1.1;
}

.logo-line {
  display: block;
  white-space: nowrap;
}

.word {
  display: inline-block;
  color: var(--clr-warm-white);
  position: relative;
  clip-path: inset(0 100% 0 0);
}

.word-sitio {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.word-museu {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-left: 16px;
  opacity: 0.7;
}

.word-nono {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.18em;
  margin-right: 8px;
  opacity: 0.7;
}

.word-antonio {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.preloader-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-bege);
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
}

/* ----- Fallback CSS do loader (mesma coreografia, sem depender do GSAP) ----- */
/* Ativado via #preloader.css-loader quando o GSAP não carrega (adblock/rede).
   Durações/espelhos da timeline GSAP: fill 2.4s, words stagger 0.3s, saída. */
#preloader.css-loader .preloader-fill {
  animation: loaderFill 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0s forwards,
             loaderFillFade 0.1s linear 2.35s forwards;
}

#preloader.css-loader .word {
  opacity: 0;
  animation: loaderWord 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

#preloader.css-loader .word-sitio { animation-delay: 0.15s; }
#preloader.css-loader .word-museu { animation-delay: 0.45s; }
#preloader.css-loader .word-nono { animation-delay: 0.75s; }
#preloader.css-loader .word-antonio { animation-delay: 1.05s; }

#preloader.css-loader .preloader-content {
  animation: loaderExit 0.8s cubic-bezier(0.55, 0.06, 0.68, 0.19) 2.15s forwards;
}

#preloader.css-loader {
  animation: loaderWrap 0.5s ease-out 2.65s forwards;
}

@keyframes loaderFill {
  from { width: 100%; }
  to { width: 0%; }
}

@keyframes loaderFillFade {
  to { opacity: 0; }
}

@keyframes loaderWord {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderExit {
  to {
    transform: translateY(-160px);
    opacity: 0;
  }
}

@keyframes loaderWrap {
  to { opacity: 0; }
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 24px;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-warm-white);
  line-height: 1.2;
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-bege);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--clr-warm-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-mobile {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-warm-white);
  transition: all var(--transition);
}

/* Scrolled state */
#navbar.scrolled {
  background: rgba(44, 43, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.12);
}

#navbar.scrolled .nav-logo {
  color: var(--clr-warm-white);
}

#navbar.scrolled .nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 43, 40, 0.15) 0%,
    rgba(44, 43, 40, 0.4) 40%,
    rgba(44, 43, 40, 0.75) 100%
  );
  z-index: 1;
}

.parallax-layer {
  will-change: transform;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--clr-warm-white);
  max-width: 800px;
  padding: 0 24px;
}

.hero-subtitle-top {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 40px;
}

.hero-subtitle--logo {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 16px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  background: var(--clr-offwhite);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-light);
}

.sobre-text p:last-child {
  margin-bottom: 0;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(91, 108, 58, 0.08));
  z-index: 1;
  pointer-events: none;
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

/* =============================================
   MUSEU
   ============================================= */
.museu {
  background: var(--clr-warm-white);
}

.museu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.museu-item {
  transition: all var(--transition);
}

.museu-item:hover {
  transform: translateY(-6px);
}

.museu-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  height: 330px;
}

.museu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.museu-item:hover .museu-image img {
  transform: scale(1.05);
}

.museu-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--clr-text);
}

.museu-desc {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

/* =============================================
   NATUREZA
   ============================================= */
.natureza {
  background: var(--clr-offwhite);
}

.natureza-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.natureza-item--large {
  grid-row: span 2;
}

.natureza-item {
  border-radius: 12px;
  overflow: hidden;
  height: 330px;
  transition: transform 0.4s ease;
}

.natureza-item--large {
  height: 680px;
}

.natureza-item:hover {
  transform: scale(1.01);
}

.natureza-item .placeholder-img,
.natureza-item--large .placeholder-img {
  width: 100%;
  height: 100%;
}

.natureza-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   PLACEHOLDER
   ============================================= */
.placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--clr-bege-light);
  color: var(--clr-brown);
  border-radius: 12px;
  text-align: center;
  padding: 24px;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.placeholder-img i {
  font-size: 2.5rem;
  color: var(--clr-brown-light);
}

.placeholder-img span {
  max-width: 200px;
  line-height: 1.4;
}

/* =============================================
   EVENTOS
   ============================================= */
.eventos {
  background: var(--clr-warm-white);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.evento-card {
  background: var(--clr-offwhite);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.evento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 43, 40, 0.08);
}

.evento-image {
  height: 220px;
  overflow: hidden;
}

.evento-image .placeholder-img {
  border-radius: 0;
}

.evento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.evento-card:hover .evento-image img {
  transform: scale(1.05);
}

.evento-info {
  padding: 24px;
}

.evento-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--clr-text);
}

.evento-info p {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

/* =============================================
   ACOMODAÇÃO
   ============================================= */
.acomodacao {
  position: relative;
  background: var(--clr-warm-white);
}

.acomodacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.acomodacao-text > p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-light);
  margin-bottom: 32px;
}

.acomodacao-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.acomodacao-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.acomodacao-feature i {
  font-size: 1.5rem;
  color: var(--clr-olive);
  margin-top: 4px;
  flex-shrink: 0;
}

.acomodacao-feature h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--clr-text);
}

.acomodacao-feature p {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.acomodacao-image {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.acomodacao-image-bg {
  width: 100%;
  height: 80%;
  position: relative;
  overflow: hidden;
}

.acomodacao-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--clr-warm-white) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.acomodacao-image-bg img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  object-position: 75% center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.acomodacao-image-bg:hover img {
  transform: scale(1.03);
}

.acomodacao-interna-faixa {
  background: var(--clr-warm-white);
  padding: 0 0 120px;
}

.acomodacao-interna-text {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.acomodacao-interna-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.acomodacao-interna-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text-light);
}

.acomodacao-interna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.acomodacao-interna-item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(44, 43, 40, 0.06);
}

.acomodacao-interna-photo {
  height: 240px;
  overflow: hidden;
}

.acomodacao-interna-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.acomodacao-interna-item:hover .acomodacao-interna-photo img {
  transform: scale(1.05);
}

.acomodacao-interna-item figcaption {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acomodacao-interna-item figcaption strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text);
}

.acomodacao-interna-item figcaption span {
  font-size: 0.88rem;
  color: var(--clr-text-light);
  line-height: 1.5;
}

/* =============================================
   GALERIA
   ============================================= */
.galeria {
  background: var(--clr-offwhite);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.galeria-slide {
  display: contents;
}

.galeria-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-item .placeholder-img {
  border-radius: 0;
  height: 100%;
  cursor: pointer;
}

.galeria-item--w2 {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 43, 40, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.galeria-overlay i {
  color: var(--clr-warm-white);
  font-size: 2rem;
  transform: scale(0) rotate(-45deg);
  transition: transform var(--transition);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-item:hover .galeria-overlay i {
  transform: scale(1) rotate(0deg);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-warm-white);
  border: none;
  cursor: pointer;
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* =============================================
   EXPERIÊNCIA / TIMELINE
   ============================================= */
.experiencia {
  background: var(--clr-warm-white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-track {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--clr-bege);
  transform-origin: top;
}

.timeline-step {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--clr-olive);
  min-width: 80px;
  line-height: 1;
  opacity: 0.6;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.timeline-content p {
  font-size: 1rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  max-width: 500px;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimentos {
  background: var(--clr-offwhite);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--clr-olive);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.depoimentos-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.depoimento-card {
  background: var(--clr-warm-white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--clr-bege-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.depoimento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44, 43, 40, 0.06);
}

.depoimento-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--clr-gold);
  font-size: 1rem;
}

.depoimento-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--clr-text-light);
  margin-bottom: 20px;
  font-style: italic;
  flex: 1;
}

.depoimento-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 20px;
}

.depoimento-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text);
}

.depoimento-date {
  font-size: 0.8rem;
  color: var(--clr-brown-light);
}

/* =============================================
   CAROUSEL (mobile only)
   ============================================= */
.carousel-outer {
  position: relative;
}

.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-warm-white);
  color: var(--clr-text);
  box-shadow: 0 2px 12px rgba(44, 43, 40, 0.15);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: translateY(-50%);
  transition: all var(--transition);
}

.carousel-arrow:hover {
  background: var(--clr-olive);
  color: var(--clr-warm-white);
}

.carousel-arrow--prev {
  left: 8px;
}

.carousel-arrow--next {
  right: 8px;
}

@media (max-width: 768px) {
  .carousel-outer {
    overflow: clip;
  }

  .mobile-carousel {
    display: flex;
    gap: 0;
    will-change: transform;
  }

  .mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-carousel .carousel-cell {
    flex: 0 0 100%;
  }

  /* Natureza */
  .natureza-grid.mobile-carousel {
    display: flex;
    gap: 0;
    border-radius: 12px;
  }

  .natureza-grid.mobile-carousel .carousel-cell {
    flex: 0 0 100%;
    height: 300px;
    border-radius: 12px;
  }

  /* Eventos */
  .eventos-grid.mobile-carousel {
    display: flex;
    gap: 0;
  }

  .eventos-grid.mobile-carousel .carousel-cell {
    flex: 0 0 100%;
  }

  /* Galeria */
  .galeria-grid.mobile-carousel {
    display: flex;
    gap: 0;
  }

  .galeria-grid.mobile-carousel .galeria-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .galeria-grid.mobile-carousel .galeria-slide .galeria-item {
    height: 220px;
    grid-column: auto;
    grid-row: auto;
  }

  /* Depoimentos */
  .depoimentos-carousel.mobile-carousel {
    display: flex;
    gap: 0;
  }

  .depoimentos-carousel.mobile-carousel .carousel-cell {
    flex: 0 0 100%;
  }

  /* Acomodação interna */
  .acomodacao-interna-faixa {
    padding: 0 0 80px;
  }

  .acomodacao-interna-grid.mobile-carousel {
    display: flex;
    gap: 0;
  }

  .acomodacao-interna-grid.mobile-carousel .carousel-cell {
    flex: 0 0 100%;
    border-radius: 12px;
  }

  .acomodacao-interna-photo {
    height: 280px;
  }

  /* Arrows */
  .carousel-arrow {
    display: flex;
  }
}

@media (max-width: 480px) {
  .stats-grid.mobile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* =============================================
   CONTATO
   ============================================= */
.contato {
  background: var(--clr-warm-white);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contato-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contato-item i {
  font-size: 1.5rem;
  color: var(--clr-olive);
  margin-top: 4px;
}

.contato-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--clr-text);
}

.contato-item p,
.contato-item a {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.contato-item a:hover {
  color: var(--clr-olive);
}

.contato-item .btn-small {
  margin-top: 8px;
  display: inline-flex;
  color: var(--clr-olive);
  border-color: var(--clr-olive);
}

.contato-item .btn-small:hover {
  background: var(--clr-olive);
  color: var(--clr-warm-white);
}

.contato-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 43, 40, 0.06);
}

.contato-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--clr-text);
  color: var(--clr-warm-white);
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 280px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--clr-bege);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social .social-icons {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--clr-bege);
  color: var(--clr-bege);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: var(--clr-bege);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--clr-warm-white);
}

/* =============================================
   ANIMAÇÕES BASE
   ============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */

/* Notebook / Small Desktop */
@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }

  .sobre-grid {
    gap: 48px;
  }

  .acomodacao-grid {
    gap: 48px;
  }

  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: var(--section-padding-mobile);
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 43, 40, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: -1;
  }

  .nav-links.active .nav-link {
    font-size: 1.5rem;
    color: var(--clr-warm-white);
  }

  .nav-cta-mobile {
    display: block;
  }

  .nav-cta-mobile .btn-primary {
    font-size: 1rem;
    padding: 14px 36px;
  }

  .nav-cta-mobile .btn-primary::before {
    display: none;
  }

  #navbar.scrolled .nav-links.active .nav-link {
    color: var(--clr-warm-white);
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-image {
    order: -1;
  }

  .image-wrapper img {
    height: 350px;
  }

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

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

  .natureza-item--large {
    grid-column: span 2;
    height: 350px;
  }

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

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .acomodacao-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .acomodacao-image {
    position: static;
    width: 100%;
    height: auto;
    order: -1;
    border-radius: 12px;
    aspect-ratio: 3 / 2;
  }

  .acomodacao-image-bg {
    height: 100%;
  }

  .acomodacao-image-bg::after {
    background: linear-gradient(to top, var(--clr-warm-white) 0%, transparent 40%);
  }

  .acomodacao-image-bg img {
    width: 100%;
    height: 100%;
    object-position: center 25%;
  }

  .acomodacao {
    padding-top: 16px;
  }

  .depoimentos-carousel {
    grid-template-columns: 1fr;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Tablet — fade mais forte na acomodação */
@media (min-width: 769px) and (max-width: 1024px) {
  .acomodacao-image-bg::after {
    background: linear-gradient(to top, var(--clr-warm-white) 0%, transparent 60%);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sobre {
    text-align: center;
  }

  .sobre-text p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .image-wrapper {
    max-width: 640px;
    margin: 0 auto;
  }

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

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

  .natureza-item--large {
    grid-column: span 1;
    height: 250px;
  }

  .natureza-item {
    height: 250px;
  }

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

  .acomodacao {
    text-align: center;
  }

  .acomodacao-features {
    align-items: center;
  }

  .acomodacao-feature {
    justify-content: center;
    text-align: center;
    max-width: 420px;
  }

  .acomodacao-image-bg::after {
    background: linear-gradient(to top, var(--clr-warm-white) 0%, transparent 70%);
  }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .galeria-item--w2 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .timeline-step {
    gap: 24px;
  }

  .timeline-number {
    font-size: 1.8rem;
    min-width: 60px;
  }

  .contato-map iframe {
    height: 280px;
  }

  .contato-map {
    min-height: 280px;
  }

  .contato-info {
    align-items: center;
    text-align: center;
  }

  .contato-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .contato-item i {
    margin-top: 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .lightbox-prev {
    left: 12px;
    width: 44px;
    height: 44px;
  }

  .lightbox-next {
    right: 12px;
    width: 44px;
    height: 44px;
  }
}
