/* =====================================================
   DAVIDSON RAFAEL IMÓVEIS — style.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #8B6914;
  --dark:       #0D0D0D;
  --dark2:      #161616;
  --dark3:      #1E1E1E;
  --text:       #F0EDE6;
  --muted:      #9A9286;
  --white:      #FAFAF8;
}

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

/* ── NAVEGAÇÃO ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 0 5vw;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  position: relative;
}
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--dark);
  padding: 10px 22px; border-radius: 2px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }

/* hambúrguer — ESCONDIDO no desktop, visível só no mobile */
.nav-toggle {
  display: none !important;
  background: none; border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); font-size: 18px;
  width: 38px; height: 38px; border-radius: 4px;
  cursor: pointer; align-items: center; justify-content: center;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 0 5vw; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0D0D0D 0%, #1a1208 50%, #0D0D0D 100%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow { position: absolute; top: 20%; right: 10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; width: 100%; padding-top: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 16px; border-radius: 2px; margin-bottom: 32px;
}
.hero-badge span { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(42px, 6vw, 82px); font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(14px, 1.8vw, 18px); color: var(--muted); font-weight: 300; max-width: 520px; line-height: 1.7; margin-bottom: 48px; margin-top: 20px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--dark);
  padding: 16px 36px; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,0.4); color: var(--gold);
  padding: 16px 36px; border-radius: 2px;
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 190px));
  gap: 34px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.stat-item { min-width: 0; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.05;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.25;
}

/* ── SEÇÕES GERAIS ── */
section { padding: 100px 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.section-title em { font-style: normal; color: var(--gold); }
.divider { width: 60px; height: 1px; background: var(--gold); margin-bottom: 48px; opacity: 0.6; }

/* ── IMÓVEIS NA HOME ── */
.home-imoveis { background: #101010; border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); }
.home-section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 42px;
}
.home-section-head .section-title { margin-bottom: 0; }
.section-link {
  color: var(--gold); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; white-space: nowrap;
}
.section-link:hover { color: var(--gold-light); }
.home-imoveis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-imovel-card {
  background: var(--dark3); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.home-imovel-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.4); box-shadow: 0 16px 36px rgba(0,0,0,0.35); }
.home-imovel-foto { position: relative; height: 220px; background: #070707; overflow: hidden; }
.home-imovel-foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  background: #070707;
}
.home-imovel-card:hover .home-imovel-foto img { transform: scale(1.015); }
.home-imovel-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--dark);
  padding: 5px 12px; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.home-imovel-badge.lancamento { background: #7C3AED; color: #fff; }
.home-imovel-body { padding: 20px; display: grid; gap: 10px; }
.home-imovel-preco {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,168,76,0.32);
}
.home-imovel-titulo { color: var(--white); font-size: 15px; line-height: 1.4; font-weight: 500; }
.home-imovel-local { color: var(--muted); font-size: 12px; line-height: 1.5; }
.home-imovel-specs { display: flex; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 12px; }
.home-imoveis-loading { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.home-foto-placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center;
  color: rgba(201,168,76,0.5); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  background: linear-gradient(145deg, #141414, #202020);
}

/* ── SOBRE ── */
.sobre { background: var(--dark2); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sobre-visual { position: relative; }
.sobre-frame {
  background: var(--dark3); border: 1px solid rgba(201,168,76,0.2);
  padding: 28px; border-radius: 4px; text-align: center;
  display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; align-items: center;
}
.sobre-brand img { width: 170px; height: 170px; object-fit: contain; margin: 0 auto 22px; display: block; }
.sobre-frame p { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.sobre-photo {
  aspect-ratio: 3 / 4; min-height: 230px;
  border: 1px solid rgba(201,168,76,0.25);
  background: linear-gradient(145deg, #121212, #202020);
  overflow: hidden; position: relative; border-radius: 3px;
}
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sobre-photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--gold); text-transform: uppercase; letter-spacing: 2px;
}
.sobre-photo-placeholder span { font-size: 12px; font-weight: 600; }
.sobre-photo-placeholder small { font-size: 10px; color: var(--muted); letter-spacing: 1.5px; }
.sobre-corner { position: absolute; top: -12px; left: -12px; width: 40px; height: 40px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.sobre-corner.br { top: auto; left: auto; bottom: -12px; right: -12px; border-top: none; border-left: none; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.sobre-text p { color: var(--muted); line-height: 1.8; font-size: 15px; margin-bottom: 20px; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); color: var(--gold); padding: 6px 16px; border-radius: 2px; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

/* ── SERVIÇOS ── */
.servicos-section { background: var(--dark); }
.servicos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.card-servico {
  background: var(--dark3); border: 1px solid rgba(201,168,76,0.12);
  padding: 40px 32px; border-radius: 4px;
  transition: all 0.4s; position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block; cursor: pointer;
}
.card-servico::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.4s; }
.card-servico:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-6px); }
.card-servico:hover::before { opacity: 1; }
.card-icon { font-size: 32px; margin-bottom: 24px; }
.card-servico h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.card-servico p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-servico-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ── DIFERENCIAIS ── */
.diferenciais { background: var(--dark2); }
.diff-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; margin-top: 48px; }
.diff-item { background: var(--dark3); padding: 40px; display: flex; align-items: flex-start; gap: 24px; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.diff-item.visible { opacity: 1; transform: translateY(0); }
.diff-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 700; color: rgba(201,168,76,0.2); line-height: 1; min-width: 56px; }
.diff-item h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.diff-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CTA WHATSAPP ── */
.cta-faixa { background: linear-gradient(135deg, #1a1208, #0D0D0D); border-top: 1px solid rgba(201,168,76,0.2); border-bottom: 1px solid rgba(201,168,76,0.2); padding: 80px 5vw; text-align: center; }
.cta-faixa h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 52px); font-weight: 300; color: var(--white); margin-bottom: 16px; }
.cta-faixa h2 em { font-style: normal; color: var(--gold); }
.cta-faixa p { font-size: 15px; color: var(--muted); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: 14px; background: #25D366; color: #fff; padding: 18px 44px; border-radius: 3px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.3s; box-shadow: 0 0 40px rgba(37,211,102,0.2); }
.whatsapp-btn:hover { background: #1eb858; transform: translateY(-3px); }
.wa-icon { width: 22px; height: 22px; fill: #fff; }

/* ── INSTAGRAM ── */
.insta { background: var(--dark2); text-align: center; }
.insta-link { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; padding: 16px 36px; border-radius: 3px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.3s; margin-top: 32px; }
.insta-link:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: #080808; border-top: 1px solid rgba(201,168,76,0.1); padding: 48px 5vw; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.footer-copy { font-size: 12px; color: var(--muted); }
.creci { font-size: 12px; color: rgba(201,168,76,0.5); letter-spacing: 1px; margin-top: 4px; }
.footer-points { display: grid; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.footer-point { display: flex; align-items: center; gap: 9px; }
.footer-point svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--gold); stroke-width: 1.8; }

/* ── BOTÃO FLUTUANTE ── */
.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: all 0.3s; }
.float-wa:hover { transform: scale(1.1); }

/* ── RESPONSIVO MOBILE ── */
@media (max-width: 980px) {
  .home-imoveis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* hambúrguer aparece só aqui */
  .nav-toggle { display: flex !important; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    padding: 20px 5vw; gap: 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .nav-links.aberto { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-links a { display: block; padding: 14px 0; font-size: 14px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-section-head { align-items: flex-start; flex-direction: column; }
  .home-imoveis-grid { grid-template-columns: 1fr; }
  .sobre-frame { grid-template-columns: 1fr; }
  .sobre-photo { width: min(260px, 100%); margin: 0 auto; }
  .servicos-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
}
