/* ===============================
   RESET GLOBAL + ANTI SCROLL
=============================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  max-width:100%;
  overflow-x:hidden;
}

html{
  scroll-behavior:smooth;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

p, li, a, h1, h2, h3{
  word-wrap:break-word;
  overflow-wrap:break-word;
}

/* ===============================
   BASE
=============================== */
body{
  font-family:'Montserrat',sans-serif;
  background:#f6f1e9;
  color:#3a3a3a;
  line-height:1.6;
  font-size:16px;
  padding-top:80px;
}

/* ===============================
   CONTAINER
=============================== */
.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* ===============================
   HEADER
=============================== */
.header{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(246,241,233,0.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(0,0,0,0.05);
  z-index:1000;
  transition:all .3s ease;
}

.header.scrolled{
  background:#f6f1e9;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.header-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  height:44px;
}

.logo-name strong{
  font-family:'Playfair Display',serif;
  font-size:18px;
  font-weight:500;
  color:#2e4a42;
}

.logo-name small{
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#7a5c3e;
}

/* ===============================
   NAV DESKTOP
=============================== */
.nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav a{
  text-decoration:none;
  color:#1c2f2a;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  transition:opacity .3s ease;
}

.nav a:hover{
  opacity:.6;
}

.btn-nav{
  padding:10px 18px;
  border:1px solid #4f6f64;
  color:#4f6f64;
}

/* ===============================
   HERO
=============================== */
.hero{
  min-height:100vh;
  background:url('../img/hero/caraiva-hero-main.jpg') center center / cover no-repeat;
  background-attachment:fixed;
  position:relative;
  display:flex;
  align-items:center;
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(46,74,66,0.75),
    rgba(46,74,66,0.35)
  );
}

.hero-content{
  position:relative;
  max-width:520px;
  color:#ffffff;
  margin-top:40px;
  animation:heroFade 1.5s ease;
}

.hero h1{
  font-family:'Playfair Display',serif;
  font-size:44px;
  font-weight:400;
  margin-bottom:20px;
}

.hero p{
  font-size:17px;
  margin-bottom:35px;
  opacity:.95;
}

/* ===============================
   BOTÃO PRINCIPAL
=============================== */
.btn-primary{
  display:inline-block;
  padding:16px 34px;
  border:1px solid #f6f1e9;
  color:#f6f1e9;
  text-decoration:none;
  letter-spacing:3px;
  text-transform:uppercase;
  transition:all .3s ease;
}

.btn-primary:hover{
  background:#f6f1e9;
  color:#2e4a42;
}

/* ===============================
   SEÇÕES
=============================== */
.section{
  padding:130px 0;
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}

.section.visible{
  opacity:1;
  transform:translateY(0);
}

.section-light{
  background:#ffffff;
}

.section h2{
  font-family:'Playfair Display',serif;
  font-size:34px;
  font-weight:400;
  margin-bottom:40px;
  color:#1c2f2a;
}

/* ===============================
   FEATURES
=============================== */
.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* ===============================
   CARROSSEL
=============================== */
.carousel{
  position:relative;
  overflow:hidden;
}

.carousel-track{
  display:flex;
  transition:transform .6s cubic-bezier(.22,.61,.36,1);
}

.carousel-slide{
  min-width:100%;
}

.carousel-slide img{
  width:100%;
  height:460px;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* ===============================
   INTRO SUÍTES
=============================== */
.suites-intro{
  max-width:600px;
  margin:0 auto 40px;
  text-align:center;
  color:#555;
}

/* ===============================
   BOTÕES DO CARROSSEL
=============================== */
.carousel-nav{
  position:absolute;
  top:50%;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  transform:translateY(-50%);
  pointer-events:none;
}

.carousel-nav button{
  pointer-events:auto;
  background:rgba(46,74,66,0.8);
  color:white;
  border:none;
  font-size:24px;
  width:44px;
  height:44px;
  border-radius:50%;
  cursor:pointer;
  transition:all .3s ease;
}

.carousel-nav button:hover{
  background:#2e4a42;
}

/* ===============================
   MENU MOBILE
=============================== */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}

.menu-toggle span{
  width:26px;
  height:2px;
  background:#1c2f2a;
}

.menu-mobile{
  position:fixed;
  inset:0;
  background:#f6f1e9;
  z-index:2000;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:30px;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease;
}

.menu-mobile.active{
  opacity:1;
  pointer-events:auto;
}

.menu-mobile a{
  font-size:20px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#1c2f2a;
  text-decoration:none;
}

/* ===============================
   PROVA SOCIAL
=============================== */
.testimonials{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:60px;
}

.testimonial{
  max-width:320px;
}

.stars{
  margin-top:14px;
  font-size:14px;
  letter-spacing:4px;
  color:#c9a24d;
}

/* ===============================
   FOOTER
=============================== */
.footer{
  background:#2e4a42;
  color:#f6f1e9;
  padding:60px 0 30px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.footer-copy{
  text-align:center;
  margin-top:40px;
  font-size:12px;
  opacity:.6;
}

/* ===============================
   WHATSAPP FLOAT
=============================== */
.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  padding:14px 20px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  z-index:9999;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
  transition:all .3s ease;
}

.whatsapp-float:hover{
  transform:translateY(-2px);
}

/* ===============================
   FLAGS
=============================== */
.lang-switch{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:20px;
}

.lang-switch img{
  width:20px;
  height:14px;
}

/* ===============================
   EXPERIÊNCIAS
=============================== */
.exp-item{
  overflow:hidden;
  border-radius:8px;
}

.exp-item img{
  width:100%;
  height:200px;
  object-fit:cover;
  object-position:center 50%;
  transition:transform .4s ease;
}

.exp-item img:hover{
  transform:scale(1.08);
}

/* ===============================
   RESPONSIVO
=============================== */
@media (max-width:768px){

  .nav{
    display:none;
  }

  .menu-toggle{
    display:flex;
  }

  .hero h1{
    font-size:28px;
  }

  .features{
    grid-template-columns:1fr;
  }

  .carousel-slide img{
    height:300px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .testimonials{
    grid-template-columns:1fr;
    text-align:center;
  }

}