/* Marcos Imóveis — Corretor em Cascavel/PR
   Warm premium / editorial. Serif display (Fraunces) + sans body (Inter). */

:root {
  /* Warm neutrals */
  --bone:    #f8f5ef;
  --bone-2:  #f1ece2;
  --sand:    #e9e2d4;
  --paper:   #ffffff;

  /* Ink (warm near-black) */
  --ink-900: #1b1916;
  --ink-800: #2a2723;
  --ink-700: #423d35;
  --ink-500: #6c6457;
  --ink-400: #908778;
  --ink-300: #b6ad9d;

  /* Accent — deep forest green */
  --green-900: #14302a;
  --green-800: #1b4138;
  --green-700: #235144;
  --green-600: #2f6655;
  --green-500: #3f7e69;
  --green-300: #8fbfae;
  --green-100: #e3efe9;

  /* Secondary — terracotta (used sparingly) */
  --terra-600: #b06a43;
  --terra-100: #f5e7dd;

  --line:    #e6ddcf;
  --line-2:  #ded3c1;

  --wa: #25d366;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; box-sizing: border-box; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: var(--bone);
}
body { font-feature-settings: 'ss01' 1, 'cv11' 1; margin: 0; }

/* Display serif */
.font-display { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-optical-sizing: auto; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-900); margin: 0; }
h1 { font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

.font-mono { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-600); font-weight: 500;
}

/* Layout */
.container-app    { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 860px;  margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section    { padding-top: 104px; padding-bottom: 104px; }
.section-sm { padding-top: 68px;  padding-bottom: 68px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; transition: all 0.16s ease; white-space: nowrap; cursor: pointer; border: 0; }
.btn-primary { background: var(--green-700); color: #fff; padding: 14px 24px; border-radius: 10px; font-size: 15px; }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(20,48,42,0.55); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; padding: 14px 24px; border-radius: 10px; font-size: 15px; }
.btn-wa:hover { background: #1fb957; transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(37,211,102,0.6); color: #fff; }
.btn-outline { background: transparent; color: var(--ink-900); padding: 14px 22px; border-radius: 10px; font-size: 15px; border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); background: var(--paper); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-ghost { color: var(--ink-700); padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.btn-ghost:hover { background: var(--bone-2); color: var(--ink-900); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 9px; }

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; padding: 6px 13px; border-radius: 999px;
  background: var(--green-100); border: 1px solid var(--green-300);
  color: var(--green-700); font-weight: 500;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.tag {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.92); color: var(--green-800);
  border: 1px solid var(--line);
}

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all 0.2s ease; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 26px 50px -28px rgba(27,25,22,0.32); }

/* Property card image */
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .prop-media img { transform: scale(1.05); }
.prop-media .tag { position: absolute; top: 14px; left: 14px; }
.prop-price { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 22px; color: var(--ink-900); letter-spacing: -0.01em; }
.prop-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-500); }
.prop-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Filter chips */
.chip {
  font-size: 14px; font-weight: 500; color: var(--ink-500);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--paper);
  transition: all 0.15s ease;
}
.chip:hover { color: var(--ink-900); border-color: var(--ink-300); }
.chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-900); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,32,28,0.55) 0%, rgba(15,32,28,0.30) 40%, rgba(15,32,28,0.78) 100%),
    linear-gradient(90deg, rgba(15,32,28,0.55) 0%, rgba(15,32,28,0.05) 70%);
}
.hero-content { position: relative; z-index: 2; }

/* Foto + selo "CRECI Verificado" */
.photo-wrap { position: relative; }
.verified-badge {
  position: absolute; right: 14px; bottom: -22px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 15px; padding: 12px 16px 12px 12px;
  box-shadow: 0 20px 44px -18px rgba(27,25,22,0.38);
}
.verified-badge-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--green-900); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.vb-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink-900); line-height: 1.2; }
.vb-sub { font-size: 13px; color: var(--ink-500); line-height: 1.3; }

@media (max-width: 480px) {
  .verified-badge { right: 10px; bottom: -18px; padding: 10px 14px 10px 10px; }
  .verified-badge-icon { width: 38px; height: 38px; }
  .vb-title { font-size: 14px; }
}

/* Stat */
.stat-num { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

/* Divider lines */
.rule { height: 1px; background: var(--line); border: 0; }

/* Lists */
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li { position: relative; padding-left: 30px; line-height: 1.6; color: var(--ink-700); margin-bottom: 14px; }
.feat-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23235144' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>");
  background-repeat: no-repeat; background-size: 18px 18px;
}

/* Nav */
[data-nav] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
[data-nav].scrolled {
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-link { padding: 9px 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.88); border-radius: 8px; transition: color 0.15s; }
.nav-link:hover { color: #fff; }
.brand { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: #fff; display: inline-flex; align-items: center; gap: 9px; }
.brand .brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--green-700); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
}
.nav-burger { color: #fff; }

/* Scrolled state → dark text on bone */
[data-nav].scrolled .nav-link { color: var(--ink-700); }
[data-nav].scrolled .nav-link:hover { color: var(--green-700); }
[data-nav].scrolled .brand { color: var(--ink-900); }
[data-nav].scrolled .btn-outline { color: var(--ink-900); border-color: var(--line-2); }
[data-nav].scrolled .nav-burger { color: var(--ink-900); }

/* Nav outline button over hero */
[data-nav] .btn-outline { color: #fff; border-color: rgba(255,255,255,0.45); }
[data-nav] .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Mobile menu */
.mobile-menu { display: none; border-top: 1px solid var(--line); }
.mobile-menu.open { display: block; }

/* WhatsApp floater */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--wa); color: #fff;
  width: 58px; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -12px rgba(37,211,102,0.65);
  transition: transform 0.16s ease;
}
.whatsapp-float:hover { transform: scale(1.07); color: #fff; }

/* Links */
a { color: inherit; text-decoration: none; }
.link-arrow { color: var(--green-700); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: gap 0.15s; }
.link-arrow:hover { gap: 11px; color: var(--green-800); }

/* Section label */
.section-head { max-width: 640px; }

/* Footer */
.footer { background: var(--green-900); color: rgba(255,255,255,0.82); }
.footer a:hover { color: #fff; }
.footer-region { color: rgba(255,255,255,0.6); font-size: 14px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  cursor: pointer; background: none; border: 0;
  font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 500; color: var(--ink-900);
}
.faq-trigger:hover { color: var(--green-700); }
.faq-trigger .chev { transition: transform 0.22s ease; color: var(--green-600); flex-shrink: 0; }
.faq-trigger.open .chev { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.26s ease; color: var(--ink-700); line-height: 1.7; }
.faq-body.open { max-height: 480px; padding-bottom: 22px; }
.faq-body p { margin: 0; }

/* Empty state */
.prop-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-500); padding: 48px 0; }

@media (max-width: 768px) {
  .section    { padding-top: 68px; padding-bottom: 68px; }
  .section-sm { padding-top: 48px; padding-bottom: 48px; }
  h1 { line-height: 1.08; }
}
