/* ================================================
   LUDMILA PASSOS — CORRETORA DE IMÓVEIS
   Premium Real Estate Website — styles.css
   ================================================ */

/* --- VARIABLES --- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A07830;
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 40%, #B38728 70%, #FBF5B7 100%);
  --gold-gradient-2: linear-gradient(135deg, #C9A84C 0%, #E8D48A 50%, #A07830 100%);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #1A1A1A;
  --gray-dark: #4D4D4D;
  --gray-mid: #888888;
  --gray-light: #E6E6E6;
  --gray-bg: #F2F2F0;
  --white: #FAFAFA;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* Lenis handles scroll */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-dark);
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- SELECTION --- */
::selection { background: var(--gold); color: var(--dark); }

/* --- CUSTOM CURSOR --- */
#cursor, #cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
#cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  top: 0; left: 0;
}
#cursor-follower {
  width: 32px; height: 32px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  top: 0; left: 0;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
body.cursor-hover #cursor-follower { width: 48px; height: 48px; border-color: var(--gold); }
@media (hover: none) { #cursor, #cursor-follower { display: none; } }

/* --- PRELOADER --- */
#preloader {
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(201,168,76,0.10), transparent 34%),
    linear-gradient(135deg, #050505 0%, #111 42%, #050505 100%);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-logo {
  width: 170px;
  max-width: 48vw;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0;
  animation: preloaderFade 0.8s 0.3s var(--ease-out) forwards;
}
.preloader-line {
  width: 0; height: 1px;
  background: var(--gold-gradient);
  animation: preloaderLine 0.8s 0.8s var(--ease-out) forwards;
}
.preloader-text {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  opacity: 0;
  animation: preloaderFade 0.6s 1.2s var(--ease-out) forwards;
}
@keyframes preloaderFade { to { opacity: 1; } }
@keyframes preloaderLine { to { width: 120px; } }

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* --- HEADER --- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s;
}
#header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 32px;
}
.header-logo { flex-shrink: 0; width: 160px; display: flex; align-items: center; }
.header-logo img { width: 100%; height: auto; display: block; }
/* Logo branca fixa no topo: evita preto sobre preto no header cinematográfico */
.header-logo .logo-color { display: none; }
.header-logo .logo-white { display: block; filter: none !important; }
#header.scrolled .header-logo .logo-color { display: none; }
#header.scrolled .header-logo .logo-white { display: block; }

.header-nav { margin-left: auto; }
.header-nav ul { display: flex; gap: 32px; }
.header-nav a {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-gradient);
  transition: width 0.3s var(--ease-out);
}
.header-nav a:hover { color: var(--gold-light); }
.header-nav a:hover::after { width: 100%; }
.btn-whatsapp-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--gold-gradient-2);
  color: var(--dark) !important;
  font-size: 11px; letter-spacing: 1.5px; font-weight: 600;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.btn-whatsapp-header:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; gap: 20px; }
  .header-nav ul { gap: 20px; }
}
@media (max-width: 860px) {
  .header-nav, .btn-whatsapp-header { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 24px; }
  .header-logo { width: 130px; }
  .header-nav.mobile-open {
    display: block;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    z-index: 999;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .header-nav.mobile-open ul { flex-direction: column; gap: 0; text-align: center; }
  .header-nav.mobile-open ul li { border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
  .header-nav.mobile-open ul a {
    display: block; padding: 20px 40px;
    font-size: 13px; letter-spacing: 4px;
    color: rgba(255,255,255,0.8);
  }
  .header-nav.mobile-open ul a:hover { color: var(--gold-light); }
}

/* --- TYPOGRAPHY HELPERS --- */
.section-label {
  display: inline-block;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
  margin-bottom: 16px;
}
.section-label.light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.15;
  color: var(--dark-2);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc {
  font-size: 15px; line-height: 1.8; color: var(--gray-mid);
  max-width: 600px;
}
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: var(--gold-gradient-2);
  color: var(--dark);
  font-size: 11px; letter-spacing: 2px; font-weight: 600;
  text-transform: uppercase; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.btn-primary:hover::after { opacity: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  text-transform: uppercase; border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px;
  border: 1px solid rgba(77,77,77,0.3);
  color: var(--gray-dark);
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  text-transform: uppercase; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  text-transform: uppercase; border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.92) 0%,
    rgba(8,8,8,0.75) 50%,
    rgba(20,14,4,0.88) 100%
  );
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.12) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  padding-top: 120px; padding-bottom: 80px;
  width: 100%;
}
.hero-tag {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 820px;
  opacity: 0; transform: translateY(30px);
}
.hero-headline em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 15px; line-height: 1.8; font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 560px; margin-bottom: 48px;
  opacity: 0; transform: translateY(24px);
}
.hero-ctas {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-line {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: horizontal-tb;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}
.desktop-only { display: inline; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .hero-content { padding: 0 20px; padding-top: 100px; }
  .hero-scroll-hint { display: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* --- POSITIONING SECTION --- */
.section-positioning {
  padding: 120px 0;
  background: var(--white);
}
.positioning-header {
  max-width: 680px;
  margin-bottom: 80px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pillar-card {
  padding: 48px 36px;
  background: var(--gray-bg);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pillar-card:hover { background: #EDEDEB; }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}
.pillar-card:hover .pillar-icon { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500;
  color: var(--dark-2);
  margin-bottom: 12px;
}
.pillar-card p { font-size: 14px; line-height: 1.8; color: var(--gray-mid); }

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

/* --- ABOUT SECTION --- */
.section-about {
  padding: 120px 0;
  background: var(--gray-light);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrapper {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--dark-3);
  border-radius: 22px;
}
.about-img-wrapper img {
  width: 100%; height: 100%; object-fit: contain;
  object-position: center;
  transition: transform 0.8s var(--ease-out);
}
.about-img-wrapper:hover img { transform: scale(1.03); }
.about-img-accent {
  position: absolute; right: -20px; bottom: -20px;
  width: 100px; height: 100px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  pointer-events: none;
}
.about-content { }
.about-text {
  font-size: 15px; line-height: 1.9; color: var(--gray-dark);
  margin-bottom: 20px;
}
.about-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrapper { aspect-ratio: 1/1; }
  .about-img-accent { display: none; }
}

/* --- PROPERTIES --- */
.section-properties {
  padding: 120px 0;
  background: var(--white);
}
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  text-transform: uppercase;
  border: 1px solid rgba(77,77,77,0.2);
  color: var(--gray-mid);
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,168,76,0.07);
}
.properties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.property-card.hidden { display: none; }
.property-img-wrap {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--dark-3);
}
.property-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.property-card:hover .property-img-wrap img { transform: scale(1.07); }
.property-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px;
  background: var(--gold-gradient-2);
  color: var(--dark);
  font-size: 9px; letter-spacing: 2px; font-weight: 600;
  text-transform: uppercase; border-radius: 1px;
}
.property-tag.destaque { background: linear-gradient(135deg, #080808, #2a2a2a); color: var(--gold-light); }
.property-tag.oportunidade { background: rgba(8,8,8,0.85); color: var(--white); }
.property-tag.aluguel { background: rgba(77,77,77,0.9); color: var(--white); }
.property-body { padding: 24px; }
.property-type {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.property-location {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--gray-mid);
  margin-bottom: 14px;
}
.property-price {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  color: var(--dark-2); margin-bottom: 14px;
}
.property-specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.property-specs span {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--gray-mid); letter-spacing: 0.5px;
}
.btn-card {
  display: block; width: 100%; padding: 12px;
  text-align: center;
  font-size: 10px; letter-spacing: 2px; font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-dark);
  transition: all 0.2s;
}
.btn-card:hover {
  background: var(--gold-gradient-2);
  color: var(--dark);
  border-color: transparent;
}
.properties-cta { text-align: center; margin-top: 56px; }

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

/* --- SERVICES --- */
.section-services {
  padding: 120px 0;
  background: var(--dark-2);
}
.section-services .section-label { color: var(--gold-light); }
.section-services .section-title { color: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
.service-card {
  padding: 48px 36px;
  background: var(--dark-2);
  transition: background 0.3s;
  position: relative;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 36px; right: 36px;
  height: 1px;
  background: transparent;
  transition: background 0.3s;
}
.service-card:hover { background: #161616; }
.service-card:hover::after { background: var(--gold-gradient-2); }
.service-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 24px;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--white); margin-bottom: 12px;
}
.service-card p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.4); }

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

/* --- PROCESS TIMELINE --- */
.section-process { padding: 120px 0; background: var(--gray-bg); }
.timeline {
  position: relative; padding-top: 20px;
}
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; transform: translateX(-50%);
  background: rgba(201,168,76,0.15);
  overflow: hidden;
}
.timeline-line::after {
  content: ''; display: block; width: 100%;
  height: 0;
  background: var(--gold-gradient-2);
  transition: height 0.05s;
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  margin-bottom: 80px; position: relative;
}
.timeline-item.right { direction: rtl; }
.timeline-item.right .timeline-content { direction: ltr; }
.timeline-item.right .timeline-num { direction: ltr; }
.timeline-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300; line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  text-align: center;
}
.timeline-content {
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.timeline-content::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold-gradient-2);
}
.timeline-item.right .timeline-content::before { left: auto; right: 0; }
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500;
  color: var(--dark-2); margin-bottom: 12px;
}
.timeline-content p { font-size: 14px; line-height: 1.8; color: var(--gray-mid); }

@media (max-width: 768px) {
  .timeline-line { left: 20px; }
  .timeline-item, .timeline-item.right { grid-template-columns: 1fr; direction: ltr; gap: 16px; padding-left: 50px; }
  .timeline-num { display: none; }
}

/* --- DIFFERENTIALS --- */
.section-differentials {
  padding: 120px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.section-differentials::before {
  content: ''; position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.differentials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
}
.differential-item { }
.diff-icon {
  color: var(--gold); margin-bottom: 16px;
  transition: transform 0.3s;
}
.differential-item:hover .diff-icon { transform: translateY(-3px); }
.differential-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--white); margin-bottom: 10px;
}
.differential-item p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.38); }

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

/* --- TESTIMONIALS --- */
.section-testimonials { padding: 120px 0; background: var(--white); }
.testimonials-slider {
  overflow: hidden; margin-bottom: 40px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}
.testimonial-card {
  min-width: 100%; padding: 56px;
  background: var(--gray-bg);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 24px; left: 40px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--gold); opacity: 0.25;
}
.testimonial-stars { font-size: 16px; color: var(--gold); margin-bottom: 24px; }
.testimonial-card > p {
  font-family: var(--font-display);
  font-size: 1.2rem; font-style: italic;
  line-height: 1.7; color: var(--dark-2);
  max-width: 700px; margin-bottom: 32px;
}
.testimonial-author strong {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dark-2); margin-bottom: 4px;
}
.testimonial-author span { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.testimonial-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
}
.slider-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  transition: all 0.2s;
}
.slider-btn:hover { background: var(--gold-gradient-2); color: var(--dark); border-color: transparent; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(201,168,76,0.25);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  border: none;
}
.slider-dot.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 768px) {
  .testimonial-card { padding: 32px 24px; }
  .testimonial-card > p { font-size: 1rem; }
}

/* --- CTA FINAL --- */
.section-cta-final {
  position: relative; padding: 160px 0;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute; inset: 0;
}
.cta-final-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.cta-final-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.92) 0%, rgba(20,14,4,0.85) 100%);
}
.cta-final-content {
  position: relative; z-index: 2;
  text-align: center;
}
.cta-final-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 20px;
}
.cta-final-content p {
  font-size: 15px; color: rgba(255,255,255,0.55);
  margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- CONTACT --- */
.section-contact { padding: 120px 0; background: var(--gray-bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 80px; align-items: start;
}
.contact-channels { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.channel-text strong { display: block; font-size: 12px; font-weight: 600; color: var(--dark-2); margin-bottom: 2px; }
.channel-text span { font-size: 12px; color: var(--gray-mid); }

.contact-form-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: start;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: var(--gray-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  font-family: var(--font-sans); font-size: 13px;
  color: var(--dark-2);
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { grid-column: 1 / -1; width: 100%; justify-content: center; padding: 18px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { grid-template-columns: 1fr; }
}

/* --- FOOTER --- */
.footer { background: var(--dark); color: var(--white); }
.footer-top { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}
.footer-brand .footer-logo { width: 140px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,0.35); margin-bottom: 24px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links h4 {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-col h4 {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-contact-col p { margin-bottom: 8px; }
.footer-contact-col a {
  font-size: 12px; color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-contact-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}
.footer-bottom-inner a { color: rgba(201,168,76,0.5); transition: color 0.2s; }
.footer-bottom-inner a:hover { color: var(--gold); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- REVEAL ANIMATIONS --- */
.reveal-element {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-element.revealed { opacity: 1; transform: none; }

/* stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- MOBILE NAV OVERLAY CLOSE BTN --- */
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 24px; color: rgba(255,255,255,0.6);
  background: none; border: none; cursor: pointer;
  display: none;
}
.header-nav.mobile-open .mobile-close { display: block; }

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg-img { transform: none !important; }
}

/* --- WHATSAPP FLOATING --- */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  color: white;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* --- SKIP LINK --- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  padding: 8px 16px; background: var(--gold); color: var(--dark);
  font-size: 12px; z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.empty-properties {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 18px;
  background: rgba(201,168,76,0.06);
  color: var(--gray-mid);
  text-align: center;
  font-size: 14px;
  letter-spacing: .5px;
}

@media (max-width: 600px) {
  .preloader-logo { width: 140px; }
}


/* =========================================================
   RESPONSIVE FINAL — ajustes de layout, mobile, tablet e toque
   ========================================================= */
html { overflow-x: hidden; }
body { min-width: 320px; }
main, section, header, footer { max-width: 100vw; }
img, video, canvas, svg { max-width: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* Área segura para iPhone com notch */
#header { padding-top: max(18px, env(safe-area-inset-top)); }
#header.scrolled { padding-top: max(12px, env(safe-area-inset-top)); }

/* Header mais estável em tablets/notebooks estreitos */
@media (max-width: 1180px) {
  .header-inner { max-width: 100%; padding: 0 28px; gap: 22px; }
  .header-logo { width: 136px; }
  .header-nav ul { gap: 22px; }
  .header-nav a { font-size: 10px; letter-spacing: 1.5px; }
  .btn-whatsapp-header { padding: 10px 16px; letter-spacing: 1.1px; }
}

@media (max-width: 960px) {
  #header { background: rgba(8,8,8,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 14px 0; }
  .header-inner { padding: 0 20px; }
  .header-logo { width: 128px; }
  .btn-whatsapp-header { display: none; }
}

@media (max-width: 860px) {
  .header-nav.mobile-open {
    width: 100vw;
    min-height: 100dvh;
    padding: 86px 24px 44px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 50% 0%, rgba(201,168,76,.18), transparent 34%),
      rgba(5,5,5,.98);
  }
  .header-nav.mobile-open ul { width: min(430px, 100%); }
  .header-nav.mobile-open ul li { border-bottom: 1px solid rgba(255,255,255,.075); }
  .header-nav.mobile-open ul a { padding: 18px 14px; font-size: 12px; letter-spacing: 3px; }
  .mobile-close { top: max(22px, env(safe-area-inset-top)); right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
}

/* Tipografia fluida e seções */
@media (max-width: 768px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .section-title { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.05; }
  .section-desc { font-size: 14px; line-height: 1.75; }
  .section-label { letter-spacing: 3px; }
  .section-header { margin-bottom: 38px; }
}

@media (max-width: 480px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section-title { font-size: clamp(1.9rem, 10vw, 2.35rem); }
  .section-label { font-size: 9px; letter-spacing: 2.4px; }
}

/* Hero responsivo */
@media (max-width: 900px) {
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 72px; }
  .hero-content { width: 100%; max-width: 720px; padding: 0 28px; padding-top: 112px; }
  .hero-headline { font-size: clamp(3rem, 11vw, 5.8rem); line-height: .92; }
  .hero-sub { max-width: 620px; }
  .desktop-only { display: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 100svh; padding-bottom: 56px; }
  .hero-content { padding: 0 20px; padding-top: 112px; }
  .hero-tag { font-size: 9px; letter-spacing: 2.6px; line-height: 1.7; }
  .hero-headline { font-size: clamp(2.85rem, 15vw, 4.2rem); line-height: .92; max-width: 100%; }
  .hero-sub { font-size: 14px; line-height: 1.7; max-width: 100%; }
  .hero-ctas { width: 100%; gap: 12px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; justify-content: center; padding: 15px 16px; text-align: center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.74) 56%, rgba(8,8,8,.55) 100%); }
}

/* Botões e elementos clicáveis */
@media (max-width: 600px) {
  .btn-primary, .btn-outline, .btn-ghost, .btn-outline-light, .btn-card { min-height: 46px; align-items: center; justify-content: center; }
  .about-ctas, .cta-final-btns { width: 100%; flex-direction: column; }
  .about-ctas a, .cta-final-btns a { width: 100%; justify-content: center; text-align: center; }
}

/* Pilares / Sobre */
@media (max-width: 860px) {
  .section-positioning, .section-about, .section-properties, .section-services, .section-process, .section-differentials, .section-testimonials, .section-contact { padding: 82px 0; }
  .pillars { gap: 18px; }
  .pillar-card { padding: 28px 24px; border-radius: 18px; }
  .about-grid { gap: 34px; }
  .about-visual { order: 2; }
  .about-content { order: 1; }
  .about-img-wrapper { max-width: 520px; margin: 0 auto; border-radius: 22px; }
}

@media (max-width: 520px) {
  .section-positioning, .section-about, .section-properties, .section-services, .section-process, .section-differentials, .section-testimonials, .section-contact { padding: 68px 0; }
  .pillar-card { padding: 24px 20px; }
  .pillar-card h3, .service-card h3, .differential-item h3 { font-size: 1.15rem; }
  .about-img-wrapper { aspect-ratio: 1 / 1.08; }
  .about-text { font-size: 14px; line-height: 1.85; }
}

/* Imóveis */
@media (max-width: 1100px) {
  .properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .filter-tabs { gap: 10px; margin-bottom: 30px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; padding: 10px 16px; font-size: 10px; letter-spacing: 1.5px; }
  .properties-grid { grid-template-columns: 1fr; gap: 18px; }
  .property-card { border-radius: 20px; }
  .property-body { padding: 20px; }
  .property-price { font-size: 1.6rem; }
  .property-specs { gap: 8px 12px; }
  .property-specs span { font-size: 10px; }
}

/* Serviços e diferenciais */
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; gap: 1px; border-radius: 22px; overflow: hidden; }
  .service-card { padding: 34px 24px; }
  .differentials-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Timeline mobile mais limpa */
@media (max-width: 768px) {
  .timeline { padding-top: 0; }
  .timeline-line { left: 12px; }
  .timeline-item, .timeline-item.right { padding-left: 34px; margin-bottom: 28px; }
  .timeline-content { padding: 26px 22px; border-radius: 18px; }
  .timeline-content h3 { font-size: 1.25rem; }
  .timeline-content p { font-size: 13px; line-height: 1.75; }
}

/* Depoimentos */
@media (max-width: 700px) {
  .testimonial-card { padding: 34px 22px; border-radius: 20px; }
  .testimonial-card::before { top: 14px; left: 22px; font-size: 4rem; }
  .testimonial-card > p { font-size: 1.06rem; line-height: 1.65; }
  .testimonial-controls { gap: 14px; }
  .slider-btn { width: 42px; height: 42px; }
}

/* CTA final e contato */
@media (max-width: 760px) {
  .section-cta-final { padding: 96px 0; }
  .cta-final-content h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); line-height: 1; }
  .cta-final-content p { font-size: 14px; margin-bottom: 32px; }
  .contact-grid { gap: 36px; }
  .contact-channel { padding: 18px; border-radius: 18px; }
  .contact-form-wrap { gap: 14px; }
  .form-group input, .form-group select, .form-group textarea { min-height: 48px; border-radius: 12px; font-size: 16px; }
  .submit-btn { border-radius: 12px; }
}

/* Footer */
@media (max-width: 820px) {
  .footer-top { padding: 58px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .footer-logo { width: 152px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand p { max-width: 100%; }
  .footer-social a { width: 42px; height: 42px; }
  .footer-bottom-inner { gap: 10px; line-height: 1.6; }
}

/* WhatsApp flutuante não cobre conteúdo no celular */
@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); box-shadow: 0 8px 32px rgba(37,211,102,.36); }
}

/* Ajustes extremos: celulares pequenos */
@media (max-width: 380px) {
  .header-logo { width: 112px; }
  .hero-headline { font-size: 2.65rem; }
  .hero-content { padding-left: 16px; padding-right: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .preloader-logo { width: 138px; max-width: 70vw; }
  .preloader-text { letter-spacing: 4px; font-size: 10px; }
}
