/* DESIGN SYSTEM - PRIME TERRENOS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  /* Colors */
  --verde-escuro: #0F3D2E;
  --verde-medio: #1F7A63;
  --verde-claro: #E8F5F0;
  --offwhite: #F5F5F5;
  --preto: #1A1A1A;
  --cinza-texto: #5A5A5A;
  --branco: #FFFFFF;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Borders */
  --radius-card: 12px;
  --radius-button: 6px;
  --radius-pill: 999px;
  --border: 1px solid rgba(15, 61, 46, 0.12);
  --container-padding: max(48px, 8vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--offwhite);
  color: var(--preto);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.1;
  color: var(--preto);
}

h1 {
  font-size: 56px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 38px;
  letter-spacing: -0.01em;
}

p {
  color: var(--cinza-texto);
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* UTILITIES */
.container {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde-medio);
  margin-bottom: 16px;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(15, 61, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(15, 61, 46, 0.8);
}

.logo {
  color: var(--branco);
  font-size: 17px;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.logo .prime {
  font-weight: 500;
}

.logo .terrenos {
  font-weight: 300;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-cta {
  background-color: var(--verde-medio);
  color: var(--branco);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
  width: fit-content;
}

.nav-cta:hover {
  transform: scale(1.05);
  background-color: #1a6a56;
  box-shadow: 0 4px 15px rgba(31, 122, 99, 0.3);
}

/* Alternate Navbar State (Light background for green sections) */
.navbar.navbar-light {
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.navbar-light .logo {
  color: var(--verde-escuro);
}

.navbar.navbar-light .logo .terrenos {
  color: var(--verde-medio);
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(15, 61, 46, 0.55) 0%,
      rgba(15, 61, 46, 0.35) 50%,
      rgba(15, 61, 46, 0.75) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--branco);
  max-width: 900px;
  padding: 80px var(--container-padding);
  background: linear-gradient(to right,
      rgba(15, 61, 46, 0.95) 0%,
      rgba(15, 61, 46, 0.8) 20%,
      rgba(15, 61, 46, 0.4) 50%,
      rgba(15, 61, 46, 0) 100%);
  margin-left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Removed backdrop blur from hero-content as it was too 'chamativo' */

.hero .pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  margin-bottom: 24px;
  width: fit-content;
}

.hero h1 {
  color: var(--branco);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-bullets {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--verde-medio);
  color: var(--branco);
  padding: 16px 32px;
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 500;
  margin-top: 32px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #1a6a56;
  box-shadow: 0 10px 30px rgba(31, 122, 99, 0.4);
}

.cta-button svg {
  margin-left: 8px;
}

.microcopy {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* CREDIBILITY SECTION */
.credibility {
  background-color: var(--branco);
  padding: 120px 0;
}

.credibility .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.credibility-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

.credibility p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--cinza-texto);
  margin-top: 0;
}

/* POSSIBILITIES SECTION */
.possibilities {
  background-color: var(--verde-escuro);
  padding: 100px 0;
}

.possibilities h2 {
  color: var(--branco);
  font-size: 42px;
  margin-bottom: 12px;
}

.possibilities .section-label {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  color: var(--branco);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.possibilities .sub {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
}

.possibilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.video-container {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: #0F3D2E;
}

.yoyo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.possibility-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.possibility-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 122, 99, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-footer {
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.card-footer h3 {
  color: var(--branco);
  font-size: 18px;
  font-weight: 500;
}

.card-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* INFRASTRUCTURE SECTION */
.infrastructure {
  background-color: var(--offwhite);
  padding: 100px 0;
}

.infra-header {
  max-width: 600px;
  margin-bottom: 48px;
}

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

.infra-card {
  background: var(--branco);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.infra-card:hover {
  box-shadow: 0 4px 24px rgba(15, 61, 46, 0.08);
  border-color: rgba(31, 122, 99, 0.3);
}

.infra-icon {
  display: inline-flex;
  padding: 10px;
  background-color: var(--verde-claro);
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--verde-medio);
}

.infra-card .card-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--verde-medio);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.infra-card h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--preto);
  margin-top: 4px;
}

/* LOCATION SECTION */
.location {
  background-color: var(--verde-escuro);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-content {
  padding: 80px max(48px, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-content h2 {
  color: var(--branco);
  margin-bottom: 20px;
}

.location-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
}

.location-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.location-bullet svg {
  color: var(--verde-medio);
}

.location-media {
  position: relative;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 61, 46, 0.2);
}

/* PRICE SECTION */
.price {
  background-color: var(--branco);
  padding: 100px 0;
  text-align: center;
}

.price-card {
  background-color: var(--offwhite);
  border: var(--border);
  border-radius: 16px;
  padding: 48px;
  margin: 40px auto 0;
  max-width: 540px;
}

.price-value {
  font-size: 52px;
  font-weight: 500;
  color: var(--verde-escuro);
  letter-spacing: -0.02em;
  display: block;
}

.price-sub {
  font-size: 16px;
  color: var(--cinza-texto);
  margin-top: 8px;
  display: block;
}

.scarcity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--verde-claro);
  color: var(--verde-escuro);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-top: 20px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--branco);
  border: var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
}

.badge svg {
  color: var(--verde-medio);
}

/* FORM SECTION */
.conversion {
  background-color: var(--verde-medio);
  padding: 100px 0;
}

.conversion h2 {
  color: var(--branco);
  font-size: 42px;
  margin-bottom: 12px;
}

.conversion .sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
}

.conversion-warmup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--branco);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 32px;
}

.conversion-warmup i {
  flex-shrink: 0;
}

.form-wrapper {
  max-width: 560px;
}

.conversion-form {
  display: grid;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  color: var(--branco);
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
}

.form-group select {
  cursor: pointer;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}

.form-group svg {
  position: absolute;
  right: 14px;
  top: 40px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.submit-btn {
  background-color: var(--verde-escuro);
  color: var(--branco);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 32px;
  border-radius: var(--radius-button);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: #0a2a1f;
  transform: translateY(-1px);
}

.form-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

/* FOOTER */
.footer {
  background-color: #1A1A1A;
  padding: 48px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo .logo {
  font-size: 17px;
}

.footer-logo p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-bullets {
    flex-direction: column;
    gap: 12px;
  }

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

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

  .location-content {
    padding: 60px 24px;
    order: 1;
  }

  .location-media {
    order: 2;
    height: 300px;
  }

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

  .price-card {
    padding: 32px 20px;
  }

  .price-value {
    font-size: 42px;
  }

  .trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .navbar {
    padding: 0 20px;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Hero Mobile Smoky Glow Adjustments */
  .hero-content {
    margin-left: 0;
    padding: 120px 24px 60px;
    height: auto;
    background: linear-gradient(to top,
        rgba(15, 61, 46, 0.9) 0%,
        rgba(15, 61, 46, 0.7) 50%,
        rgba(15, 61, 46, 0) 100%);
    width: 100%;
    position: absolute;
    bottom: 0;
    border-radius: 0;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
  }

  .nav-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  .cta-button {
    font-size: 15px;
    padding: 14px 24px;
    width: fit-content;
    white-space: nowrap;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  /* Possibilities Mobile Adjustments */
  .video-container {
    height: 280px;
  }

  /* Credibility Mobile Adjustments */
  .credibility {
    padding: 80px 0;
  }

  .credibility .container {
    display: block;
  }

  .credibility-content {
    text-align: center;
    margin-bottom: 24px;
  }

  .credibility p {
    font-size: 17px;
    text-align: center;
  }
}