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

:root {
  --green:    #1A6B3C;
  --green-lt: #2D9E5F;
  --green-bg: #EBF7F0;
  --yellow:   #F5C842;
  --dark:     #141414;
  --body:     #3D3D3D;
  --line:     #E0E0E0;
  --white:    #FFFFFF;
  --offwhite: #F8F8F5;
}

html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--offwhite); color: var(--dark); overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 5%;
}
.nav-logo {
  font-size: 1rem; font-weight: 700; color: var(--green);
  display: flex; align-items: center; gap: .5rem;
}
.nav-logo .dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--body); transition: color .2s; }
.nav-links a:hover { color: var(--green); }

.nav-wa {
  background: var(--green); color: var(--white);
  padding: .6rem 1.4rem; border-radius: 6px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none; display: flex; align-items: center; gap: .45rem;
  transition: background .2s;
}
.nav-wa:hover { background: var(--green-lt); }

/* ─── HERO ─── */
.hero {
  padding: 7rem 5% 0;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 3rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
  min-height: 92vh;
}

.hero-left { padding-bottom: 4rem; }

.univ-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--green); color: var(--white);
  padding: .6rem 1.2rem; border-radius: 6px;
  font-size: .82rem; font-weight: 700;
  margin-bottom: 2rem; letter-spacing: .02em;
}
.univ-badge .walk { background: var(--yellow); color: var(--dark); padding: .2rem .6rem; border-radius: 4px; font-size: .75rem; }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; color: var(--dark);
  margin-bottom: 1.4rem;
}
.hero-title em { font-family: 'Lora', serif; font-style: italic; color: var(--green); }

.hero-sub {
  font-size: 1rem; color: var(--body); line-height: 1.75;
  max-width: 480px; margin-bottom: 2.5rem;
}

.specs-row {
  display: flex; gap: 0; margin-bottom: 2.5rem;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--white);
}
.spec {
  flex: 1; padding: 1rem .8rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.spec:last-child { border-right: none; }
.spec-val { font-size: 1.3rem; font-weight: 700; color: var(--dark); line-height: 1; }
.spec-key { font-size: .68rem; color: #888; text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-wa {
  background: #25D366; color: var(--white);

  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;  /* ajuste fino */
  font-size: 0.9rem;
  line-height: 1.2;        /* valor baixo evita altura extra */
  border-radius: 2rem;
}


.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

.btn-outline {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--line);
  padding: .9rem 2rem; border-radius: 6px;
  font-size: .95rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--green); background: var(--green-bg); }

/* HERO RIGHT */
.hero-right {
  background: var(--dark); border-radius: 16px;
  overflow: hidden; align-self: stretch;
  display: flex; flex-direction: column;
  margin-bottom: 0; position: relative;
}

.hr-top {
  padding: 2rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hr-top .label { font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.hr-top .price { font-size: 2.6rem; font-weight: 700; color: var(--yellow); line-height: 1; }
.hr-top .price-detail { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: .4rem; }

.hr-items { padding: 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.hr-item { display: flex; align-items: center; gap: .9rem; }
.hr-item-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.hr-item-text h4 { font-size: .88rem; font-weight: 600; color: var(--white); }
.hr-item-text p { font-size: .75rem; color: rgba(255,255,255,.4); }

.hr-cta {
  margin: 1.5rem 1.8rem 1.8rem;
  background: var(--green); color: var(--white);
  padding: 1rem; border-radius: 8px; text-align: center;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .2s;
}
.hr-cta:hover { background: var(--green-lt); }

/* ─── MARQUEE ─── */
.marquee-wrap { background: var(--green); padding: 1rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; animation: scroll 18s linear infinite; }
.marquee-item { font-size: .85rem; font-weight: 600; color: var(--white); opacity: .85; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── SECTION SHARED ─── */
.section-wrap { max-width: 1200px; margin: 0 auto; }
.s-eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: .7rem; }
.s-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.s-sub { font-size: .95rem; color: var(--body); line-height: 1.7; }

/* ─── DIFERENCIAIS ─── */
.diferenciais { padding: 5rem 5%; background: var(--white); }

.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.dif-card {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 1.8rem 1.5rem; background: var(--offwhite);
  transition: box-shadow .25s, transform .25s;
}
.dif-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.07); transform: translateY(-3px); }
.dif-card.featured { background: var(--green); border-color: var(--green); color: var(--white); }
.dif-card.featured .dif-body { color: rgba(255,255,255,.75); }

.dif-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.dif-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.dif-body { font-size: .85rem; color: var(--body); line-height: 1.6; }

/* ─── ----------------------------- GALERIA ------------------------------------- ─── */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 2.5rem;
}

.g-item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* quadrado */
  background: var(--line);
  cursor: pointer;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.g-item .g-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
  padding: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.g-item:hover .g-caption {
  opacity: 1;
}

/* Lightbox modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-modal.show {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border: 2px solid white;
  border-radius: 4px;
}

.lightbox-caption {
  color: #fff;
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--yellow);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 4px;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(0,0,0,0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ─── ------------------------------- LOCALIZAÇÃO -------------------------------------- ─── */
.localizacao { padding: 5rem 5%; background: var(--white); }

.loc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 3rem; align-items: start; }

.map-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); height: 360px;
  background: var(--offwhite);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #AAA; font-size: .82rem; gap: .5rem; text-align: center;
  position: relative;
}
.map-wrap .map-icon { font-size: 2.5rem; opacity: .4; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.loc-list { display: flex; flex-direction: column; gap: .8rem; }

.loc-univ {
  background: var(--green); color: var(--white);
  border-radius: 10px; padding: 1.4rem 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: .4rem;
}
.loc-univ .emoji { font-size: 2rem; }
.loc-univ h4 { font-size: 1rem; font-weight: 700; }
.loc-univ p { font-size: .82rem; opacity: .8; margin-top: .2rem; }
.loc-univ .badge {
  margin-left: auto; background: var(--yellow);
  color: var(--dark); font-size: .78rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 4px; white-space: nowrap;
}

.loc-row {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--offwhite);
}
.loc-row .emoji { font-size: 1.3rem; flex-shrink: 0; }
.loc-row p { font-size: .85rem; color: var(--body); flex: 1; }
.loc-row .dist { font-size: .75rem; font-weight: 600; color: var(--green); white-space: nowrap; }

/* ─── PARA QUEM É ─── */
.pra-quem { padding: 5rem 5%; background: var(--dark); color: var(--white); }
.pra-quem .s-title { color: var(--white); }
.pra-quem .s-sub { color: rgba(255,255,255,.5); }

.pq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }

.pq-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 1.6rem 1.4rem;
  transition: background .2s;
}
.pq-card:hover { background: rgba(255,255,255,.04); }
.pq-icon { font-size: 2rem; margin-bottom: 1rem; }
.pq-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.pq-card p { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ─── CTA FINAL ─── */
.cta-final {
  padding: 6rem 5%; background: var(--green-bg);
  text-align: center; border-top: 1px solid #C5E8D5;
}
.cta-final .s-title { max-width: 560px; margin: 0 auto 1rem; }
.cta-final .s-sub { max-width: 420px; margin: 0 auto 2.5rem; }

.cta-wa-big {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #25D366; color: var(--white);
  padding: 1.15rem 2.8rem; border-radius: 8px;
  font-size: 1.05rem; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.cta-wa-big:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,.45); }
.cta-wa-big svg { width: 22px; height: 22px; }

.cta-note { margin-top: 1rem; font-size: .8rem; color: var(--green); font-weight: 500; }

.cta-assurances { display: flex; justify-content: center; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.assurance { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--body); }

/* ─── FOOTER ─── */
footer { background: var(--dark); padding: 2rem 5%; text-align: center; }
footer p { font-size: .8rem; color: rgba(255,255,255,.25); }
footer strong { color: var(--yellow); }

/* ─── WA FLOAT ─── */
.wa-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 500;
  background: #25D366; color: var(--white);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s, transform .65s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 3rem; }
  .hero-right { display: none; }
  .dif-grid, .pq-grid { grid-template-columns: 1fr 1fr; }
  .loc-inner { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .g-slot { grid-column: span 1 !important; height: 160px !important; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .dif-grid, .pq-grid { grid-template-columns: 1fr; }
  .specs-row { flex-wrap: wrap; }
}