/* =============================================
   KELVIN EIYNG | CONSULTORIA IMOBILIÁRIA
   Preto #0A0A0F | Dourado #C9A84C | Branco #F1F5F9
   ============================================= */

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

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

:root {
  --black:      #0A0A0F;
  --black-soft: #111118;
  --card:       #16161F;
  --gold:       #C9A84C;
  --gold-light: #E2C47A;
  --gold-glow:  rgba(201, 168, 76, 0.12);
  --white:      #F1F5F9;
  --white-dim:  rgba(241, 245, 249, 0.60);
  --white-faint:rgba(241, 245, 249, 0.07);
  --border:     rgba(201, 168, 76, 0.15);
  --radius:     12px;
  --shadow:     0 4px 32px rgba(0,0,0,0.5);
  --shadow-gold:0 8px 32px rgba(201,168,76,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.navbar-brand span { color: var(--gold); }

.navbar-links { display: flex; gap: 32px; list-style: none; }
.navbar-links a {
  color: var(--white-dim);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--gold); }

.navbar-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.navbar-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  min-height: 88vh;
  background: var(--black-soft);
  display: flex;
  align-items: center;
  padding: 90px 48px 48px;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(to left, rgba(201,168,76,0.04), transparent);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 500px;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 18px;
}
.hero-title em { font-style: normal; color: var(--gold); }

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--white-dim);
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.40); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--white-dim);
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Foto hero ---- */
.hero-photo {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 1;
  min-width: 260px;
}

.hero-photo img {
  width: clamp(240px, 36vw, 400px);
  height: clamp(320px, 52vw, 540px);
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
}

/* ---- Stats ---- */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--white-dim);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 5px;
  text-transform: uppercase;
}

/* ---- Sections ---- */
section { padding: 72px 48px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.section-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---- Serviços ---- */
.services { background: var(--black); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
}
.service-icon svg {
  width: 26px; height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.65; }

/* ---- Sobre ---- */
.about { background: var(--black-soft); }

.about-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 920px;
  margin: 0 auto;
}

.about-photo { flex-shrink: 0; }
.about-photo img {
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
}

.about-text .section-header { text-align: left; margin-bottom: 16px; }
.about-text .section-divider { margin: 12px 0 0; }
.about-text p { font-size: 0.93rem; color: var(--white-dim); line-height: 1.8; margin-top: 18px; }

.about-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge {
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ---- Depoimentos ---- */
.testimonials { background: var(--black); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }

.testimonial-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 0.88rem; color: var(--white-dim); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-weight: 600; font-size: 0.88rem; color: var(--gold); }
.testimonial-role { font-size: 0.75rem; color: rgba(241,245,249,0.35); margin-top: 2px; }

/* ---- Contato ---- */
.contact { background: var(--black-soft); text-align: center; }
.contact-subtitle { font-size: 0.93rem; color: var(--white-dim); margin-bottom: 32px; }

.contact-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-social:hover { transform: translateY(-3px); }
.btn-social svg { width: 20px; height: 20px; }

.btn-whatsapp-cta { background: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.25); }
.btn-whatsapp-cta svg { fill: #fff; }
.btn-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff; }
.btn-instagram svg { fill: #fff; }
.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook svg { fill: #fff; }

.contact-info {
  font-size: 0.86rem;
  color: var(--white-dim);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.contact-info-item { display: flex; align-items: center; gap: 6px; }
.contact-info-item svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2; }

/* ---- Footer ---- */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  color: rgba(241,245,249,0.30);
  text-align: center;
  padding: 24px 48px;
  font-size: 0.8rem;
}
footer strong { color: var(--gold); }

/* ---- Responsivo ---- */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .navbar-links.open { display: flex; }
  .navbar-links li a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }

  .hero {
    flex-direction: column-reverse;
    padding: 80px 20px 36px;
    text-align: center;
    gap: 24px;
    min-height: unset;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-photo { justify-content: center; min-width: unset; }
  .hero-photo img { width: 200px; height: 260px; border-radius: var(--radius); }

  .stats-bar { padding: 20px; gap: 28px; }
  section { padding: 52px 20px; }

  .about-inner { flex-direction: column; gap: 28px; text-align: center; }
  .about-text .section-header { text-align: center; }
  .about-text .section-divider { margin: 12px auto 0; }
  .about-badges { justify-content: center; }
  .about-photo img { width: 100%; max-width: 260px; height: 320px; margin: 0 auto; }

  footer { padding: 20px; }
}

@media (max-width: 480px) {
  .btn-social { width: 100%; justify-content: center; }
  .contact-buttons { flex-direction: column; align-items: center; }
}