/* ── RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --verde:        #2d5a27;
  --verde-hover:  #3d6b36;
  --bege:         #f5f0e8;
  --bege-escuro:  #e8dfc9;
  --marrom:       #5c3d1e;
  --texto:        #2a2a2a;
  --texto-leve:   #5a5a5a;
  --branco:       #fff;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--texto);
  background: var(--bege);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45,90,39,.15);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,.12); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--verde);
  text-decoration: none; letter-spacing: .02em;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo em { color: var(--marrom); font-style: italic; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--texto-leve);
  font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700;
  transition: color .2s;
}
.nav-links a:hover { color: var(--verde); }

.nav-cta {
  background: var(--verde) !important; color: white !important;
  padding: 8px 20px; border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--verde-hover) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--verde); border-radius: 2px; transition: .3s;
}

/* ── HERO ─────────────────────────────────────────── */
#hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 10s ease-out;
}
#hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: white;
  padding: 2rem; max-width: 820px;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.1; margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-title em { display: block; font-style: italic; color: #c9e8b0; font-size: .68em; }
.hero-sub {
  font-size: 1.1rem; font-weight: 300;
  margin-bottom: 2.5rem; opacity: .9;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: rgba(255,255,255,.35); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: white; animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown { 0%{top:-100%} 100%{top:200%} }

/* ── BOTÕES ───────────────────────────────────────── */
.btn-primary {
  background: var(--verde); color: white;
  padding: 14px 36px; text-decoration: none; border-radius: 2px;
  font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  display: inline-block; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--verde-hover); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: white;
  padding: 14px 36px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 2px;
  font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  display: inline-block; transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

.btn-wa {
  background: #25D366; color: white;
  padding: 15px 36px; text-decoration: none; border-radius: 2px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s, transform .15s;
}
.btn-wa:hover { background: #1ebe5e; transform: translateY(-2px); }

.btn-tel {
  background: transparent; color: white;
  padding: 15px 36px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 2px;
  font-size: .95rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s;
}
.btn-tel:hover { background: rgba(255,255,255,.1); }

/* ── SECTIONS ─────────────────────────────────────── */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: block; font-size: .72rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--verde); font-weight: 700; margin-bottom: .6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--texto); line-height: 1.2; margin-bottom: 1.2rem;
}
.divider { width: 48px; height: 3px; background: var(--verde); margin-bottom: 2rem; }

/* ── SOBRE ────────────────────────────────────────── */
#sobre { background: var(--branco); }
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.sobre-text p { color: var(--texto-leve); margin-bottom: 1.2rem; font-size: 1.02rem; }
.sobre-text p strong { color: var(--verde); }
.sobre-img { position: relative; }
.sobre-img img { width: 100%; height: 450px; object-fit: cover; border-radius: 2px; display: block; }
.sobre-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--verde); color: white; padding: 1.5rem;
  border-radius: 2px; text-align: center; min-width: 130px;
  box-shadow: 0 8px 30px rgba(45,90,39,.35);
  font-family: 'Playfair Display', serif;
}
.sobre-badge strong { display: block; font-size: 2.5rem; line-height: 1; }
.sobre-badge span { font-size: .8rem; opacity: .85; font-family: 'Lato', sans-serif; font-style: italic; }

/* ── DESTAQUES ────────────────────────────────────── */
#destaques { background: var(--bege); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: white; padding: 2.5rem 2rem; border-radius: 2px;
  border: 1px solid rgba(45,90,39,.1);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,90,39,.12); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--verde); margin-bottom: .6rem; }
.feature-card p { color: var(--texto-leve); font-size: .93rem; }

/* ── GALERIA ──────────────────────────────────────── */
#galeria { background: var(--branco); }
.galeria-header { text-align: center; margin-bottom: 3rem; }
.galeria-header .divider { margin: 0 auto 2rem; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}
.g-item { overflow: hidden; border-radius: 2px; position: relative; cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.g-item:hover img { transform: scale(1.06); }
.g-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: white; padding: 1.5rem 1rem .8rem;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-label { opacity: 1; }

/* layouts das células */
.g-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.g-item:nth-child(2) { grid-column: span 7; }
.g-item:nth-child(3) { grid-column: span 3; }
.g-item:nth-child(4) { grid-column: span 4; }
.g-item:nth-child(5) { grid-column: span 5; }

/* ── PARALLAX STRIP ───────────────────────────────── */
#natureza {
  background-size: cover; background-position: center;
  background-attachment: fixed; padding: 8rem 2rem; position: relative;
}
#natureza::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(20,50,15,.72);
}
.natureza-content { position: relative; z-index: 2; text-align: center; color: white; max-width: 700px; margin: 0 auto; }
.natureza-content blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic; line-height: 1.4; margin-bottom: 1.5rem;
}
.natureza-content p { font-size: 1rem; opacity: .85; font-weight: 300; margin-bottom: 2rem; }

/* ── INFRA ────────────────────────────────────────── */
#infra { background: var(--bege); }
.infra-header { text-align: center; margin-bottom: 4rem; }
.infra-header .divider { margin: 0 auto 2rem; }
.infra-intro { color: var(--texto-leve); max-width: 620px; margin: 0 auto; font-size: 1.02rem; }

.pisos { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.piso-card { background: white; border-radius: 2px; overflow: hidden; border: 1px solid rgba(45,90,39,.1); }
.piso-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.piso-body { padding: 2rem; }
.piso-body h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--verde); margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--bege-escuro); }
.quarto-item { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--bege-escuro); }
.quarto-item:last-of-type { border-bottom: none; margin-bottom: .5rem; padding-bottom: .5rem; }
.quarto-item h4 { font-family: 'Playfair Display', serif; font-size: .97rem; color: var(--marrom); margin-bottom: .35rem; }
.quarto-item p { color: var(--texto-leve); font-size: .9rem; }
.amenidades { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 1.2rem; }
.chip { background: var(--bege); color: var(--verde); font-size: .76rem; padding: 5px 13px; border-radius: 20px; border: 1px solid rgba(45,90,39,.2); font-weight: 700; letter-spacing: .04em; }

/* ── LOCALIZAÇÃO ──────────────────────────────────── */
#localizacao { background: var(--branco); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.loc-map { border-radius: 2px; overflow: hidden; border: 1px solid rgba(45,90,39,.1); }
.loc-map iframe { width: 100%; height: 380px; border: none; display: block; }
.loc-info > p { color: var(--texto-leve); margin-bottom: 1.5rem; }
.loc-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bege); padding: 1.2rem 1.5rem;
  border-radius: 2px; margin-bottom: 1rem; border-left: 3px solid var(--verde);
}
.loc-detail .ic { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.loc-detail strong { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); font-weight: 700; margin-bottom: 2px; }
.loc-detail span { color: var(--texto-leve); font-size: .93rem; }
.loc-detail a { color: var(--verde); text-decoration: none; font-weight: 700; }

/* ── RESERVA CTA ──────────────────────────────────── */
#reserva { background: var(--verde); padding: 7rem 2rem; text-align: center; }
#reserva .section-label { color: #9ed68c; }
#reserva .section-title { color: white; }
#reserva .divider { background: rgba(255,255,255,.35); margin: 0 auto 2rem; }
#reserva > .container > p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 500px; margin: 0 auto 3rem; }
.reserva-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────── */
footer { background: #1a2e18; color: rgba(255,255,255,.7); padding: 3rem 2rem; text-align: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; display: block; margin-bottom: .5rem; }
.footer-logo em { color: #9ed68c; font-style: italic; }
footer p { font-size: .88rem; line-height: 2; }
footer a { color: #9ed68c; text-decoration: none; }
.copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; opacity: .45; }

/* ── LIGHTBOX ─────────────────────────────────────── */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.92); z-index: 999;
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 2px; }
.lb-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: white; font-size: 2.8rem; cursor: pointer;
  line-height: 1; opacity: .7; background: none; border: none;
  transition: opacity .2s;
}
.lb-close:hover { opacity: 1; }

/* ── RESPONSIVO ───────────────────────────────────── */
@media (max-width: 900px) {
  .sobre-grid, .pisos, .loc-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .sobre-img img { height: 300px; }
  .sobre-badge { left: 50%; transform: translateX(-50%); bottom: -25px; }
  .galeria-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 600px) {
  section { padding: 4rem 1.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: white; padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(45,90,39,.1);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    gap: 1.2rem;
  }
  .hero-btns, .reserva-btns { flex-direction: column; align-items: center; }
  .galeria-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  #natureza { background-attachment: scroll; }
}

/* ── THUMBNAILS DOS QUARTOS ───────────────────────── */
.quarto-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.thumb {
  width: 72px;
  height: 54px;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.thumb:hover {
  border-color: var(--verde);
  transform: scale(1.06);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── GALERIA WRAP ─────────────────────────────────── */
.galeria-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
