/* ============================================================
   LUIZ MIGUEL v2 — CORRETOR DE IMÓVEIS | style.css
   Paleta: Verde escuro, bege/areia, grafite/preto, ouro
   ============================================================ */

/* ----- TOKENS ----- */
:root {
  --verde:        #1A3025;
  --verde-med:    #245C3A;
  --verde-light:  #3A7A52;
  --verde-accent: #4D9966;
  --bege:         #F5EDD9;
  --bege-med:     #E8D7B8;
  --grafite:      #141414;
  --cinza:        #222222;
  --cinza-med:    #3A3A3A;
  --cinza-light:  #6B6B6B;
  --branco:       #FFFFFF;
  --ouro:         #C9A84C;
  --ouro-light:   #E5C87A;
  --shadow-sm:    0 2px 12px rgba(0,0,0,.1);
  --shadow-md:    0 8px 32px rgba(0,0,0,.18);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.28);
  --radius:       10px;
  --radius-lg:    18px;
  --radius-xl:    28px;
  --transition:   0.35s cubic-bezier(.25,.46,.45,.94);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--grafite);
  color: var(--bege);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1300px; margin: 0 auto; }
.section { padding: 110px 0; }

/* ----- TYPOGRAPHY ----- */
.section-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--verde-accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--branco);
}
.section-title em { font-style: italic; color: var(--ouro); }
.section-desc {
  max-width: 520px;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-top: 16px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 16px auto 0; }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--verde-med); color: var(--branco); border-color: var(--verde-med); }
.btn-primary:hover { background: var(--verde-light); border-color: var(--verde-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(36,92,58,.4); }
.btn-ghost { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--branco); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--verde-accent); border-color: var(--verde-accent); }
.btn-outline:hover { background: var(--verde-accent); color: var(--branco); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--branco); border-color: #25D366; border-radius: 50px; padding: 16px 36px; }
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,211,102,.35); }
.btn-hero { padding: 16px 34px; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ----- REVEAL ----- */
@keyframes revealIn { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.reveal { animation: revealIn .7s cubic-bezier(.25,.46,.45,.94) both; }
.reveal.visible { animation: revealIn .65s cubic-bezier(.25,.46,.45,.94) both; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   FIXED WHATSAPP BUTTON
   ============================================================ */
.whatsapp-fixed {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--branco);
  padding: 14px 22px 14px 18px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 30px rgba(37,211,102,.45);
  transition: all var(--transition);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.whatsapp-fixed:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 40px rgba(37,211,102,.55); }
.whatsapp-label { display: none; }
@media (max-width: 768px) {
  .whatsapp-fixed {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
}
@media (min-width: 640px) { .whatsapp-label { display: inline; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(20, 20, 20, 0.9); /* Neutro em vez de verde */
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 95%; width: 100%; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { max-height: 100px; width: auto; transition: opacity var(--transition); }
.logo:hover .logo-img { opacity: 0.85; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--transition), background var(--transition);
  position: relative;
  padding: 5px 10px; border-radius: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -1px; left: 10px;
  width: 0; height: 1px; background: var(--verde-med);
  transition: width var(--transition);
}
.nav-link:hover {
  color: var(--branco);
  background: color-mix(in srgb, var(--verde-med), transparent 70%);
}
.nav-link:hover::after { width: calc(100% - 20px); }
.nav-cta {
  background: var(--verde-med); color: var(--branco) !important;
  padding: 10px 20px; border-radius: 4px; border: 1px solid var(--verde-light);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--verde-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--branco); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: -12%;
  overflow: hidden;
  pointer-events: none;
  will-change: transform; transition: transform .1s linear;
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
  opacity: 1;
}
.hero-youtube {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  min-width: 100%; min-height: 100%;
  border: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--verde), transparent 25%) 0%,
    color-mix(in srgb, var(--verde), transparent 40%) 45%,
    color-mix(in srgb, var(--verde), transparent 15%) 100%
  );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 80px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--verde-accent); margin-bottom: 22px;
  padding: 8px 18px; border: 1px solid color-mix(in srgb, var(--verde-accent), transparent 70%);
  border-radius: 50px; background: color-mix(in srgb, var(--verde-accent), transparent 92%);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--verde-accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--verde-accent), transparent 40%);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--verde-accent), transparent 40%); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400; line-height: 1.07; color: var(--branco);
  margin-bottom: 22px;
}
.hero-title em { color: var(--ouro); font-style: italic; }
.hero-subtitle {
  font-size: clamp(.88rem, 1.3vw, 1rem); line-height: 1.75;
  color: rgba(255,255,255,.7); margin-bottom: 38px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  padding: 20px 28px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  max-width: fit-content;
}
.hstat { text-align: center; padding: 0 28px; }
.hstat strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; color: var(--ouro); line-height: 1; }
.hstat span { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ouro); vertical-align: middle; }
.hstat small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 4px; }
.hstat-div { width: 1px; height: 44px; background: rgba(255,255,255,.15); }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--verde-accent), transparent); animation: scrollAnim 2s ease infinite; }
@keyframes scrollAnim { 0% { opacity: 1; transform: scaleY(1); transform-origin: top; } 50% { opacity: .4; } 100% { opacity: 0; transform: scaleY(0.3); transform-origin: bottom; } }

/* ============================================================
   2. BUSCA INTELIGENTE
   ============================================================ */
.busca {
  background: var(--verde);
  padding: 15px 0;
  position: relative;
  z-index: 10;
}
.busca-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  margin: 30px auto 0; /* Removida a margem negativa que cobria o vídeo */
  position: relative;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  background: var(--verde);
}
.busca-header { margin-bottom: 28px; }
.busca-header .busca-eyebrow { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--verde-accent); margin-bottom: 6px; }
.busca-header h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; color: var(--branco); }
.busca-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 768px) {
  .busca-tabs { grid-template-columns: 1fr; }
}
.busca-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15);
  background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.busca-tab.active, .busca-tab:hover {
  background: var(--verde-med); border-color: var(--verde-med); color: var(--branco);
}
.tab-icon { font-size: 1.1rem; }
.busca-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.busca-field label { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.busca-field select,
.busca-field input[type="text"] {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); color: var(--branco);
  font-family: var(--font-sans); font-size: .88rem;
  outline: none; appearance: none;
  transition: border-color var(--transition), background var(--transition);
}
.busca-field select { cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234D9966' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.busca-field input[type="text"]::placeholder { color: rgba(255,255,255,.4); }
.busca-field select:focus,
.busca-field input[type="text"]:focus { border-color: var(--verde-accent); background-color: color-mix(in srgb, var(--verde-accent), transparent 92%); }
.busca-field select option { background: var(--verde); }
.busca-btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 28px; background: var(--ouro); color: var(--grafite);
  border: none; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .78rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.busca-btn:hover { background: var(--ouro-light); transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--ouro), transparent 70%); }

/* ============================================================
   3. RURAL — DESTAQUE PRINCIPAL
   ============================================================ */
.rural { background: var(--grafite); }
.rural-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.rural-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); min-height: 400px;
  cursor: pointer; display: flex; flex-direction: column;
}
.rural-card--featured {
  grid-column: 1 / -1;
  min-height: 520px;
}
.rcard-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.rural-card:hover .rcard-img { transform: scale(1.05); }
.rcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--verde), transparent 5%) 30%, color-mix(in srgb, var(--verde), transparent 70%) 70%, transparent 100%);
  transition: background var(--transition);
}
.rural-card:hover .rcard-overlay { background: linear-gradient(to top, color-mix(in srgb, var(--verde), transparent 2%) 40%, color-mix(in srgb, var(--verde), transparent 55%) 75%, color-mix(in srgb, var(--verde), transparent 90%) 100%); }
.rcard-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; padding: 36px;
}
.rcard-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rtag {
  padding: 4px 14px; border-radius: 2px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
}
.rtag--destaque { background: var(--ouro); color: var(--grafite); border-color: var(--ouro); }
.rcard-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; color: var(--branco);
  margin-bottom: 10px; line-height: 1.2;
}
.rcard-body p { font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.rcard-specs {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
}
.rspec { display: flex; align-items: center; gap: 10px; }
.rspec-icon { font-size: 1.2rem; }
.rspec strong { display: block; font-size: .83rem; color: var(--branco); }
.rspec small { font-size: .68rem; color: rgba(255,255,255,.45); }
.rcard-btn {
  display: inline-block; align-self: flex-start;
  padding: 12px 24px; border: none;
  background: var(--verde-accent); border-radius: 4px; color: var(--branco);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--verde-accent), transparent 60%);
}
.rcard-btn:hover { background: var(--ouro); color: var(--grafite); transform: translateY(-2px); box-shadow: 0 6px 20px color-mix(in srgb, var(--ouro), transparent 60%); }
.rural-cta { text-align: center; margin-top: 56px; }
.rural-cta p { font-size: .9rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }

/* ============================================================
   4. URBANO
   ============================================================ */
.urbano { background: #111; }
.urbano-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.urbano-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #1a1a1a; border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.urbano-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ucard-img {
  height: 240px; background-size: cover; background-position: center;
  transition: transform .6s ease; position: relative;
}
.urbano-card:hover .ucard-img { transform: scale(1.05); }
.ucard-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; background: color-mix(in srgb, var(--grafite), transparent 15%);
  backdrop-filter: blur(6px); border-radius: 2px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ouro);
  border: 1px solid color-mix(in srgb, var(--ouro), transparent 70%);
}
.ucard-body { padding: 24px; }
.ucard-body h3 {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500;
  color: var(--branco); margin-bottom: 14px; line-height: 1.3;
}
.ucard-specs {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ucard-specs span { font-size: .75rem; color: rgba(255,255,255,.5); }
.ucard-link {
  display: inline-block; padding: 10px 20px;
  background: var(--verde-accent); border-radius: 4px; color: var(--branco);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: all var(--transition); text-decoration: none; border: none;
}
.ucard-link:hover { background: var(--ouro); color: var(--grafite); transform: translateY(-2px); box-shadow: 0 4px 15px color-mix(in srgb, var(--ouro), transparent 70%); }

/* ============================================================
   5. SOBRE
   ============================================================ */
.sobre {
  position: relative; overflow: hidden;
  padding: 0;
}
.sobre-bg {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.sobre-overlay {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--verde), transparent 12%);
}
.sobre-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: center;
  padding: 110px 0;
}
.sobre-foto-wrap { position: relative; }
.sobre-foto-ring {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--verde-accent), transparent 65%);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
}
.sobre-foto { width: 100%; height: 560px; object-fit: cover; object-position: top center; display: block; }
.sobre-creci-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--verde);
  padding: 14px 18px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md); border: 1px solid color-mix(in srgb, var(--verde-accent), transparent 70%);
}
.sobre-creci-badge > span {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--verde-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.sobre-creci-badge strong { display: block; font-size: .84rem; color: var(--branco); }
.sobre-creci-badge small { font-size: .65rem; color: rgba(255,255,255,.45); letter-spacing: .1em; text-transform: uppercase; }
.sobre-text { font-size: .95rem; line-height: 1.8; color: rgba(255,255,255,.65); margin: 18px 0; }
.sobre-difs { display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.sdif {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,.04); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color var(--transition);
}
.sdif:hover { border-color: color-mix(in srgb, var(--verde-accent), transparent 70%); }
.sdif-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 600;
  color: color-mix(in srgb, var(--verde-accent), transparent 60%); line-height: 1; flex-shrink: 0; min-width: 40px;
}
.sdif strong { display: block; font-size: .86rem; color: var(--branco); margin-bottom: 4px; }
.sdif small { font-size: .75rem; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ============================================================
   6. POR QUE INVESTIR?
   ============================================================ */
.investir { background: var(--grafite); }
.investir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.inv-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  animation-delay: var(--delay, 0s);
}
.inv-card:hover { border-color: color-mix(in srgb, var(--verde-accent), transparent 70%); transform: translateY(-6px); }
.inv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--verde-accent), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.inv-card:hover::before { opacity: 1; }
.inv-card-num {
  font-family: var(--font-serif); font-size: 5rem; font-weight: 700;
  color: color-mix(in srgb, var(--verde-accent), transparent 92%); line-height: 1;
  position: absolute; top: 16px; right: 20px;
}
.inv-icon { font-size: 2.2rem; margin-bottom: 16px; }
.inv-card h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--branco); margin-bottom: 12px; }
.inv-card p { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.inv-bar { height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.inv-fill { height: 100%; background: linear-gradient(90deg, var(--verde-light), var(--ouro)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.inv-fill.animated { transform: scaleX(1); }
.inv-bar-label { font-size: .62rem; color: rgba(255,255,255,.3); letter-spacing: .1em; }

.investir-quote {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.iq-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; }
.iq-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--verde), transparent 18%); }
.iq-content { position: relative; z-index: 2; text-align: center; padding: 60px; }
.iq-content blockquote {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300; font-style: italic; color: var(--branco); line-height: 1.4;
  margin-bottom: 14px;
}
.iq-content cite { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--verde-accent); }

/* ============================================================
   7. DEPOIMENTOS
   ============================================================ */
.depoimentos { background: #111; }
.dep-track-wrap { position: relative; }
.dep-track { display: flex; gap: 24px; overflow: hidden; }
.dep-card {
  flex: 0 0 calc(50% - 12px);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 40px 36px;
  transition: border-color var(--transition), transform var(--transition);
}
.dep-card:hover { border-color: color-mix(in srgb, var(--verde-accent), transparent 75%); transform: translateY(-4px); }
.dep-stars { font-size: .9rem; color: var(--ouro); letter-spacing: 3px; margin-bottom: 18px; }
.dep-card p {
  font-family: var(--font-serif); font-size: 1.05rem; font-style: italic;
  line-height: 1.75; color: rgba(255,255,255,.75); margin-bottom: 28px;
}
.dep-author { display: flex; align-items: center; gap: 14px; }
.dep-av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--verde); display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; color: var(--verde-accent);
  border: 2px solid color-mix(in srgb, var(--verde-accent), transparent 75%); flex-shrink: 0;
}
.dep-author strong { display: block; font-size: .86rem; color: var(--branco); }
.dep-author small { font-size: .72rem; color: rgba(255,255,255,.4); }
.dep-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.dep-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--branco);
  font-size: 1.4rem; cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.dep-btn:hover { background: var(--verde-med); border-color: var(--verde-med); }
.dep-dots { display: flex; gap: 8px; }
.dep-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: all var(--transition); }
.dep-dot.active { background: var(--verde-accent); width: 24px; border-radius: 4px; }

/* ============================================================
   8. CONTATO
   ============================================================ */
.contato { background: var(--verde); }
.contato-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contato-desc { font-size: .94rem; line-height: 1.75; color: rgba(255,255,255,.6); margin: 18px 0 30px; }
.contato-infos { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cinfo-item { display: flex; align-items: flex-start; gap: 14px; }
.cinfo-icon { font-size: 1.3rem; margin-top: 2px; }
.cinfo-item strong { display: block; font-size: .88rem; color: var(--branco); margin-bottom: 2px; }
.cinfo-item small { font-size: .74rem; color: rgba(255,255,255,.45); }
.contato-form-wrap {
  background: rgba(255,255,255,.05); border-radius: var(--radius-xl);
  padding: 48px 44px; border: 1px solid rgba(255,255,255,.1);
}
.form-top { margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; }
.form-top h3 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; color: var(--branco); margin-bottom: 4px; }
.form-top p { font-size: .78rem; color: rgba(255,255,255,.4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); color: var(--branco);
  font-family: var(--font-sans); font-size: .88rem; outline: none; appearance: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234D9966' stroke-width='1.5' stroke-linecap='round'/%3E%3Csvg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--verde-accent); background: color-mix(in srgb, var(--verde-accent), transparent 93%); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.22); }
.form-group select option { background: var(--verde); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-privacy { text-align: center; font-size: .7rem; color: rgba(255,255,255,.28); margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--verde); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-img { max-height: 100px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 300px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong, .footer-contact strong { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--verde-accent); margin-bottom: 8px; display: block; }
.footer-links a, .footer-contact a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--branco); }
.footer-contact span { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-creci { color: var(--verde-accent) !important; font-weight: 600; }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: .68rem; color: rgba(255,255,255,.22); letter-spacing: .06em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .investir-grid { grid-template-columns: repeat(2, 1fr); }
  .busca-form { grid-template-columns: 1fr 1fr; }
  .busca-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 900px) {
  .rural-grid { grid-template-columns: 1fr; }
  .rural-card--featured { grid-column: 1; }
  .urbano-grid { grid-template-columns: 1fr 1fr; }
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .sobre-foto { height: 440px; }
  .sobre-creci-badge { right: 0; }
  .contato-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hamburger { display: flex; z-index: 1001; position: relative; }
  .hero-title { font-size: 2rem; line-height: 1.1; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 25px; }
  .hero-stats { padding: 16px 18px; }
  .hstat { padding: 0 16px; }
  .busca-wrap { margin-top: 0; border-radius: var(--radius-lg); padding: 32px 24px; }
  .urbano-grid { grid-template-columns: 1fr; }
  .investir-grid { grid-template-columns: 1fr; }
  .dep-card { flex: 0 0 100%; }
  .hero-stats {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 320px;
  }
  .hstat-div { display: none; }
  .busca-form { grid-template-columns: 1fr; }
  .busca-btn { margin-top: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .contato-form-wrap { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .whatsapp-fixed { padding: 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .rcard-body { padding: 24px; }
  .iq-content { padding: 36px 24px; }
}

/* ============================================================
   PREMIUM UX: SCARCITY TAGS & MICRO-INTERACTIONS
   ============================================================ */
.rtag--alert { background: rgba(220,53,69,.15); color: #ff6b6b; border-color: rgba(220,53,69,.3); }
.pulse-dot-red {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #ff6b6b; margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 0 rgba(255,107,107,.6); animation: pulseRed 2s infinite;
}
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(255,107,107,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,107,107,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); } }
.rtag--scarcity { background: rgba(255,193,7,.15); color: #ffca28; border-color: rgba(255,193,7,.3); }
.tag-alert { background: rgba(220,53,69,.9) !important; color: white !important; border: none !important; }

/* Action Buttons inside cards */
.rcard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.btn-reset { background: none; border: none; padding: 0; cursor: pointer; }
.magnetic-btn { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* ============================================================
   PROPERTY MODAL (LIGHTBOX)
   ============================================================ */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: color-mix(in srgb, var(--verde), transparent 5%); backdrop-filter: blur(12px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-container {
  background: var(--grafite); width: 94%; max-width: 1100px; height: 90vh;
  border-radius: var(--radius-xl); overflow-y: auto; overflow-x: hidden;
  position: relative; transform: translateY(40px) scale(0.98);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.05);
  scrollbar-width: none;
}
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.modal-container::-webkit-scrollbar { display: none; }

.modal-close {
  position: absolute; top: 24px; right: 24px; z-index: 10;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2);
  color: white; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px); transition: all var(--transition);
}
.modal-close:hover { background: var(--verde-accent); border-color: var(--verde-accent); transform: rotate(90deg); }

.modal-hero { position: relative; height: 450px; display: flex; align-items: flex-end; overflow: hidden; }
.modal-hero-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; transition: transform .1s linear; }
.modal-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--grafite) 0%, color-mix(in srgb, var(--grafite), transparent 60%) 60%, transparent 100%); }
.modal-hero-content { position: relative; z-index: 2; padding: 40px; width: 100%; }
.modal-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.modal-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--branco); line-height: 1.1; margin-bottom: 24px; }


.modal-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; padding: 50px 40px; border-bottom: 1px solid rgba(255,255,255,.05); }
.modal-price { font-family: var(--font-serif); font-size: 2rem; color: var(--ouro); margin-bottom: 16px; }
.modal-desc { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.modal-specs { display: flex; flex-wrap: wrap; gap: 24px; }
.modal-cta-box {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 32px;
}
.modal-cta-box h4 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--branco); margin-bottom: 12px; }
.modal-cta-box p { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.5); margin-bottom: 24px; }

.modal-similar { padding: 50px 40px 80px; background: #0f0f0f; }
.modal-similar-header { margin-bottom: 32px; }
.modal-similar-header p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 8px; }
.modal-similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ms-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.05); transition: transform var(--transition);
}
.ms-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.15); }
.ms-img { height: 180px; background-size: cover; background-position: center; transition: transform .5s ease; }
.ms-card:hover .ms-img { transform: scale(1.05); }
.ms-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%); }
.ms-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; }
.ms-info h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--branco); margin-bottom: 6px; }
.ms-info span { font-size: .75rem; color: var(--ouro); }



/* ============================================================
   PREMIUM VISUAL REFINEMENTS
   ============================================================ */
/* Preloader */
.preloader {
  position: fixed; inset: 0; background: #0a0a0a; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader-logo {
  max-height: 240px; width: auto; opacity: 0;
  transform: scale(0.9); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.preloader-logo.show { opacity: 1; transform: scale(1); }

/* Scroll Progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--ouro);
  width: 0%; z-index: 9999999; transition: width 0.1s linear; pointer-events: none;
  box-shadow: 0 0 10px color-mix(in srgb, var(--ouro), transparent 50%);
}

/* Gold Glint Overlays on Cards */
.rural-card, .urbano-card, .inv-card { position: relative; overflow: hidden; }
.rural-card::after, .urbano-card::after, .inv-card::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--ouro), transparent 88%), transparent);
  transform: skewX(-25deg); transition: none; z-index: 5; pointer-events: none;
}
.rural-card:hover::after, .urbano-card:hover::after, .inv-card:hover::after {
  animation: glint 1s ease-in-out forwards;
}
@keyframes glint {
  0% { left: -100%; }
  100% { left: 200%; }
}

@media (max-width: 900px) {
  .modal-body { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .modal-container { width: 100%; height: 100vh; border-radius: 0; }
  .modal-hero { height: 350px; }
  .modal-hero-content { padding: 30px 24px; }
  .modal-body, .modal-similar { padding: 30px 24px; }
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 1024px) {
  .hamburger { display: flex; z-index: 1001; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: color-mix(in srgb, var(--verde), transparent 3%);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 80px 40px 40px;
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1000;
  }
  .nav.open { right: 0; }
  .nav-link:not(.nav-cta) {
    font-size: 1.1rem; font-weight: 500; letter-spacing: .06em;
    padding: 16px 0; margin-bottom: 0; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    width: 100%; background: none;
  }
  .nav-link:not(.nav-cta)::after { display: none; }
  .nav-link:not(.nav-cta):hover { color: var(--verde-accent); background: none; }
  .nav-cta {
    margin-top: 24px; width: auto; padding: 12px 24px;
  }
  .header-inner { max-width: 100%; padding: 0 5%; }
}

@media (max-width: 768px) {
  .logo-img { max-height: 52px !important; }
  .header { padding: 12px 0 !important; }
  .hero-content { padding-top: 140px; }
  .hero-badge { margin-bottom: 30px; }
}
