/* ============================================
   IMÓVEIS DE ALTO PADRÃO — TEMPLATE
   Premium Landing Page Stylesheet
   ============================================ */

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

:root {
  /* Brand — Gold & Dark */
  --gold: #C8A96E;
  --gold-light: #E2CA98;
  --gold-dark: #A68B4B;
  --gold-glow: rgba(200, 169, 110, 0.35);

  /* Backgrounds — amber/dark brown from reference */
  --bg-primary: #1A1408;
  --bg-secondary: #151006;
  --bg-card: #1E1810;
  --bg-elevated: #231C12;

  /* Text */
  --text-primary: #FAFAFA;
  --text-secondary: #E0E0E0;
  --text-muted: #B3B3B3;

  /* Borders — warm tint */
  --border-subtle: rgba(200, 169, 110, 0.08);
  --border-light: rgba(200, 169, 110, 0.15);
  --border-gold: rgba(200, 169, 110, 0.3);

  /* Amber accent */
  --amber: #D19A49;
  --amber-soft: rgba(209, 154, 73, 0.16);
  --amber-deep: rgba(170, 110, 45, 0.24);

  /* Background */
  --page-bg: radial-gradient(circle at 30% 15%, rgba(217, 154, 73, 0.12), transparent 22%),
    radial-gradient(circle at 70% 20%, rgba(200, 130, 62, 0.10), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(209, 154, 73, 0.16), transparent 32%),
    #000;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --container-max: 1200px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 140% 35% at 50% 0%, rgba(200, 160, 80, 0.2), transparent),
    radial-gradient(ellipse 100% 25% at 35% 8%, rgba(190, 140, 60, 0.14), transparent),
    radial-gradient(ellipse 90% 30% at 65% 15%, rgba(210, 165, 75, 0.1), transparent),
    linear-gradient(180deg, rgba(45, 30, 12, 0.55) 0%, rgba(25, 18, 6, 0.3) 25%, rgba(0, 0, 0, 0) 70%),
    #000;
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

img {
  max-width: 15%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
  background: transparent;
}

.section-dark {
  background: transparent;
}

/* ---------- LENIS smooth scroll (estilo Igloo/Pioneer) ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* ---------- SCROLL ANIMATIONS (GSAP controla) ---------- */
.scroll-item {
  will-change: transform, opacity;
}

/* Magnetic button: não deixa o transform do GSAP conflitar com hover */
.btn-primary,
.btn-secondary,
.navbar-cta {
  transform-origin: center center;
}

/* Testimonials: perspective para rotateX funcionar */
.testimonials-grid {
  perspective: 1000px;
}

/* Fallback visibilidade se GSAP não carregar */
@media (prefers-reduced-motion: reduce) {
  .scroll-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- TEXT UTILITIES ---------- */
.text-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: rgba(200, 169, 110, 0.06);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: rgba(224, 224, 224, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1000px;
  transition: all 0.4s var(--ease-smooth);
}

.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 24px;
  background:
    linear-gradient(135deg, rgba(8, 6, 3, 0.35), rgba(4, 3, 1, 0.45)),
    url('../img/card_nav.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.4s var(--ease-smooth);
}

.navbar-scrolled .navbar-inner {
  background:
    linear-gradient(135deg, rgba(8, 6, 3, 0.45), rgba(4, 3, 1, 0.55)),
    url('../img/card_nav.png') center/cover;
  border-color: rgba(200, 169, 110, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-logo {
  grid-column: 1;
  justify-self: start;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  gap: 1px;
}

.logo-h {
  color: var(--gold-light);
}

.logo-s {
  color: var(--gold);
  font-style: italic;
}

.navbar-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-cta {
  grid-column: 3;
  justify-self: end;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
}

.navbar-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px var(--gold-glow);
}

/* Mobile menu button */
.mobile-menu-btn {
  grid-column: 3;
  justify-self: end;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(20, 16, 8, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.mobile-link:hover,
.mobile-link.cta {
  color: var(--gold);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.12));
}

.hero+.section {
  background: transparent;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(212, 154, 60, 0.22) 0%, rgba(180, 120, 40, 0.10) 35%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

/* --- Amber background (pontilhismo canvas) --- */
.amber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: #000;
}


.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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-repeat: repeat;
  background-size: 256px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: rgba(200, 169, 110, 0.05);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Amber thread animations */
@keyframes amberGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(200, 169, 110, 0.4)) drop-shadow(0 0 20px rgba(209, 154, 73, 0.2));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(200, 169, 110, 0.7)) drop-shadow(0 0 40px rgba(209, 154, 73, 0.4));
  }
}

@keyframes amberFlow {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes amberPulse {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.1);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(to bottom, #ffffff, #ffffff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  border-radius: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow), 0 2px 8px rgba(200, 169, 110, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  transition: all 0.35s var(--ease-smooth);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 110, 0.05);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 40px;
  background-image: linear-gradient(rgba(10, 8, 4, 0.7), rgba(10, 8, 4, 0.85)), url('../img/white_gold_marble.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(200, 169, 110, 0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.hero-stats:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(200, 169, 110, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

.stat-plus,
.stat-prefix,
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--border-light), transparent);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  50.01% {
    transform-origin: bottom;
  }

  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- PROPERTY CARDS ---------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.property-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 14px;
  padding: 18px;
  overflow: hidden;
  transition: all 0.6s var(--ease-out);
  /* Profundidade de quadro: drop shadow externa + rim dourado interno + sombra escura entre moldura e arte */
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(212, 160, 76, 0.18);
}

/* Filete dourado interno — passe-partout */
.property-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid rgba(212, 160, 76, 0.55);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}

/* Mat interna: sombra fininha entre moldura e arte */
.property-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

/* 3 mármores distintos — um por card */
.property-card:nth-child(1) {
  background-image: linear-gradient(rgba(10, 8, 4, 0.35), rgba(10, 8, 4, 0.55)), url('../img/dark_gold_marble.png');
}

.property-card:nth-child(2) {
  background-image: linear-gradient(rgba(10, 8, 4, 0.30), rgba(10, 8, 4, 0.50)), url('../img/mixed_gold_marble.png');
}

.property-card:nth-child(3) {
  background-image: linear-gradient(rgba(10, 8, 4, 0.32), rgba(10, 8, 4, 0.52)), url('../img/white_gold_marble.png');
}

.property-card:hover {
  transform: translateY(-10px);
  border-color: rgba(200, 169, 110, 0.55);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.65),
    0 10px 26px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(212, 160, 76, 0.22),
    inset 0 0 0 1px rgba(212, 160, 76, 0.30);
}

.property-card:hover::before {
  border-color: rgba(212, 160, 76, 0.75);
}

.property-card:nth-child(1):hover {
  background-image: linear-gradient(rgba(10, 8, 4, 0.20), rgba(10, 8, 4, 0.40)), url('../img/dark_gold_marble.png');
}

.property-card:nth-child(2):hover {
  background-image: linear-gradient(rgba(10, 8, 4, 0.18), rgba(10, 8, 4, 0.38)), url('../img/mixed_gold_marble.png');
}

.property-card:nth-child(3):hover {
  background-image: linear-gradient(rgba(10, 8, 4, 0.20), rgba(10, 8, 4, 0.40)), url('../img/white_gold_marble.png');
}

.property-image {
  position: relative;
  height: 260px;
  background: #111;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.property-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out);
}

.property-card:hover .property-image-bg {
  transform: scale(1.05);
}

.property-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(20, 16, 8, 0.8) 100%);
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.property-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.3;
}

.property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 6px;
}

.property-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(20, 16, 8, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.property-info {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, rgba(8, 5, 2, 0.72), rgba(8, 5, 2, 0.90));
  border-radius: 0 0 6px 6px;
  border-top: 1px solid rgba(212, 160, 76, 0.22);
}

.property-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-location svg {
  color: var(--gold);
  flex-shrink: 0;
}

.property-features {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.feature svg {
  color: var(--gold);
  opacity: 0.7;
}

.section-cta {
  text-align: center;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding-bottom: 0;
}

.about-image {
  width: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

.about-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  opacity: 0.5;
}

.about-image-border {
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--gold-dark));
  z-index: 0;
  opacity: 0.3;
}


/* ---------- PODIUM 3D CANVAS ---------- */
.podium-canvas-wrapper {
  width: 100%;
  height: 520px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.podium-canvas-wrapper canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}


.about-content {
  position: relative;
  background:
    linear-gradient(135deg, rgba(8, 5, 2, 0.78), rgba(15, 10, 4, 0.65)),
    url('../img/marmore_card_sobre.png') center/cover;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(200, 169, 110, 0.12);
  border-radius: 20px;
  padding: 40px;
  margin-top: -30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.about-content .section-tag {
  display: inline-block;
}

.about-content .section-title {
  text-align: left;
}

.about-role {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.3s var(--ease-smooth);
}

.credential:hover {
  border-color: var(--border-gold);
  background: rgba(200, 169, 110, 0.03);
}

.credential-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  flex-shrink: 0;
}

.credential strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.credential span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- REGIONS ---------- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.region-card {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
}

.region-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.region-card-large {
  height: 240px;
}

.region-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.9));
  z-index: 1;
  transition: background 0.4s var(--ease-smooth);
}

.region-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.region-card:hover .region-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(10, 10, 10, 0.95));
}

.region-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.region-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.region-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.region-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.region-card:hover .region-link {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all 0.4s var(--ease-smooth);
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-primary);
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
  background: transparent;
}

.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(25, 18, 10, 0.24), rgba(15, 10, 6, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 64px 0 32px;
  border-top: none;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 10, 6, 0.15), rgba(10, 7, 4, 0.07));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: 350%;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease-smooth);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   TABLET — 768px até 1024px
   ============================================ */
@media (max-width: 1024px) {

  .properties-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .region-card-large {
    height: 230px;
  }

  .about-grid {
    gap: 32px;
  }

  /* Podium canvas no tablet: reduz overflow lateral */
  .podium-canvas-wrapper {
    margin-left: -200px !important;
    margin-right: -100px !important;
    width: calc(100% + 300px) !important;
    min-height: 560px !important;
    height: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-content {
    padding: 32px;
  }
}

/* ============================================
   MOBILE — até 768px
   ============================================ */

/* Remove blur da animação no mobile para nitidez máxima */
@media (max-width: 768px) {
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .scroll-item {
    animation-duration: 0.6s;
  }
}

@media (max-width: 768px) {

  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* Botão secundário mais visível no mobile */
  .btn-secondary {
    border: 1.5px solid rgba(200, 169, 110, 0.5);
    color: var(--gold-light);
    background: rgba(200, 169, 110, 0.07);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .stat {
    flex: 1 1 30%;
    min-width: 90px;
    padding: 8px 4px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-plus,
  .stat-prefix,
  .stat-suffix {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-divider {
    display: none;
  }

  .properties-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .regions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .region-card,
  .region-card-large {
    height: 170px;
  }

  /* Podium canvas: remove overflow no mobile */
  .podium-canvas-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    min-height: 380px !important;
    height: 380px;
    border-radius: 12px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .about-content {
    padding: 24px 20px;
    margin-top: 0;
    border-radius: 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #1a1208;
    background-image:
      linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.06)),
      url('../img/marmore_card_sobre.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-credentials {
    text-align: left;
  }

  .about-image-wrapper {
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .cta-card {
    padding: 48px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
    gap: 12px;
  }

  .btn-large {
    justify-content: center;
    padding: 14px 28px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .container {
    padding: 0 16px;
  }
}

/* ============================================
   MOBILE PEQUENO — até 480px
   ============================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .property-image {
    height: 200px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .navbar-inner {
    padding: 10px 14px;
    border-radius: 12px;
  }

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

  .region-card,
  .region-card-large {
    height: 160px;
  }

  .region-name {
    font-size: 1.1rem;
  }

  .region-desc {
    font-size: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .podium-canvas-wrapper {
    min-height: 300px !important;
    height: 300px;
  }

  .hero-stats {
    padding: 16px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    padding: 20px 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #1a1208;
    /* Veu preto moderado — mesmo estilo do desktop, levemente mais leve */
    background-image:
      linear-gradient(135deg, rgba(8, 5, 2, 0.72), rgba(15, 10, 4, 0.58)),
      url('../img/marmore_card_sobre.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }

  .cta-card {
    padding: 40px 16px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================
   2K / QHD — 2560px+
   ============================================ */
@media (min-width: 2560px) {
  :root {
    --container-max: 1600px;
    --section-padding: clamp(120px, 7vw, 200px);
  }

  .navbar {
    max-width: 1400px;
  }

  .hero-title {
    font-size: clamp(5rem, 5.5vw, 8rem);
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 1.2vw, 1.4rem);
    max-width: 680px;
  }

  .section-title {
    font-size: clamp(2.8rem, 3vw, 4.5rem);
  }

  .section-desc {
    max-width: 720px;
    font-size: 1.15rem;
  }

  .properties-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .property-image {
    height: 300px;
  }

  .region-card {
    height: 280px;
  }

  .region-card-large {
    height: 320px;
  }

  .hero-stats {
    padding: 40px 56px;
    gap: 56px;
  }

  .stat-number {
    font-size: 3.2rem;
  }

  .podium-canvas-wrapper {
    height: 680px;
  }

  .cta-card {
    padding: 100px 80px;
  }

  .navbar-logo-img {
    height: 40px;
    width: auto;
  }
}

/* ============================================
   4K / UHD — 3840px+
   ============================================ */
@media (min-width: 3840px) {
  :root {
    --container-max: 2400px;
    --section-padding: clamp(160px, 6vw, 280px);
  }

  .navbar {
    max-width: 2200px;
    top: 32px;
  }

  .navbar-inner {
    padding: 18px 40px;
    border-radius: 24px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .navbar-cta {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .hero-title {
    font-size: clamp(7rem, 6vw, 12rem);
  }

  .hero-subtitle {
    font-size: clamp(1.3rem, 1.1vw, 1.8rem);
    max-width: 900px;
  }

  .section-title {
    font-size: clamp(4rem, 3.5vw, 6rem);
  }

  .section-desc {
    max-width: 1000px;
    font-size: 1.35rem;
  }

  .section-tag {
    font-size: 1rem;
    padding: 8px 24px;
  }

  .property-image {
    height: 420px;
  }

  .property-title {
    font-size: 1.7rem;
  }

  .properties-grid,
  .testimonials-grid {
    gap: 40px;
  }

  .region-card {
    height: 380px;
  }

  .region-card-large {
    height: 440px;
  }

  .region-name {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 48px;
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 4.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .hero-stats {
    padding: 56px 80px;
    gap: 80px;
    border-radius: 32px;
  }

  .podium-canvas-wrapper {
    height: 900px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 1.1rem;
    padding: 18px 44px;
  }

  .cta-title {
    font-size: clamp(3.5rem, 3vw, 5rem);
  }

  .cta-card {
    padding: 140px 120px;
    border-radius: 48px;
  }

  .whatsapp-float {
    width: 80px;
    height: 80px;
    bottom: 48px;
    right: 48px;
  }

  .whatsapp-float svg {
    width: 40px;
    height: 40px;
  }

  .footer {
    padding: 96px 0 48px;
  }

  .footer-col-title {
    font-size: 1rem;
  }

  .footer-col li,
  .footer-col a {
    font-size: 1.1rem;
  }

  .footer-bottom p {
    font-size: 1rem;
  }

  .credential {
    padding: 24px 28px;
    border-radius: 20px;
    background: #0a0604;
    border-color: rgba(200, 169, 110, 0.25);
  }

  .credential:hover {
    background: #110a06;
  }

  .credential-icon {
    width: 64px;
    height: 64px;
  }

  .credential strong {
    font-size: 1.2rem;
  }

  .credential span {
    font-size: 1rem;
  }

  .about-role {
    font-size: 1.1rem;
  }

  .about-text {
    font-size: 1.2rem;
  }
}

/* ============================================
   PREFERS-REDUCED-MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-item {
    animation-play-state: running !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .badge-dot,
  .scroll-line,
  .whatsapp-float,
  .amber-canvas {
    animation: none !important;
  }
}

/* ============================================
   PERFORMANCE HINTS
   ============================================ */
.navbar,
.whatsapp-float {
  will-change: transform;
}

/* will-change só em quem realmente anima continuamente */
.amber-canvas {
  will-change: auto;
}

/* ============================================
   CONTENT-VISIBILITY — skipa layout/paint de seções off-screen
   Ganho enorme em mobile/tablet (browsers > 2021)
   ============================================ */
#imoveis,
#regioes,
#depoimentos,
.cta-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
/* Template/showcase anonimizado: botões de contato (WhatsApp/Email/Instagram/
   Agendar/Falar) desativados — página crua, sem ação de contato. */
a[href="#"] {
  pointer-events: none;
  cursor: default;
}
