:root {
  --bg: #ffffff;
  --bg-soft: #faf9f7;
  --bg-dark: #1a1208;
  --bg-darker: #0f0c06;
  --text: #1a1a1a;
  --muted: #666;
  --muted-2: #888;
  --gold: #b8975a;
  --gold-dark: #9a7a44;
  --line: #ece7de;
  --shadow: 0 20px 45px rgba(17, 17, 17, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.center { text-align: center; }
.mt-4 { margin-top: 28px; }
.grid { display: grid; gap: 24px; }
.btn-gold, .btn-outline, .btn-text, .btn-small {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; transition: .2s ease; border: 1px solid transparent; cursor: pointer;
}
.btn-gold {
  background: var(--gold); color: #fff; padding: 13px 22px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(184,151,90,.18);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--gold); color: var(--gold); background: transparent; padding: 13px 22px; font-weight: 700;
}
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-1px); }
.btn-large { padding: 15px 28px; }
.btn-text { border-color: transparent; color: var(--text); padding: 10px 14px; background: transparent; }
.btn-small { width: 36px; height: 36px; border-radius: 10px; background: #f4f4f4; color: #444; }
.btn-small.danger { background: #ffe8e8; color: #b53b3b; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; z-index: 2; }
.badge-sale { background: #dff5e6; color: #1f7a3f; }
.badge-rent { background: #dceeff; color: #245e9f; }
.featured-pill, .area-pill, .inactive-pill {
  position: absolute; z-index: 2; right: 14px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.featured-pill { top: 14px; background: var(--gold); color: #fff; right: 14px; }
.area-pill { bottom: 14px; background: rgba(0,0,0,.45); color: #fff; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(10px); }
.inactive-pill { bottom: 14px; left: 14px; right: auto; background: rgba(181,59,59,.9); color: #fff; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.gold-text { color: var(--gold); }
.section { padding: 92px 0; }
.section.light { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.section-heading h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 45px); margin: 0 0 14px; color: inherit; }
.section-heading.center { text-align: center; }
.section-heading .divider { width: 56px; height: 2px; background: var(--gold); margin: 0 auto; }
.section-heading .divider.left { margin-left: 0; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: .25s ease; padding: 18px 0;
}
.site-header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 10px 0; }
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #b8975a, #9a7a44);
  color: #fff; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 12px 22px rgba(184,151,90,.22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 15px; font-weight: 800; }
.brand-text small { font-size: 11px; opacity: .72; margin-top: 4px; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a { font-size: 14px; font-weight: 600; color: inherit; opacity: .88; }
.site-header:not(.scrolled) .nav-desktop a, .site-header:not(.scrolled) .phone-link { color: rgba(255,255,255,.92); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.menu-btn { display: none; background: transparent; border: 0; font-size: 22px; color: inherit; }
.mobile-menu {
  display: none; background: #fff; border-top: 1px solid var(--line); padding: 16px 16px 18px; flex-direction: column; gap: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.mobile-menu.open { display: flex; }
.hero {
  position: relative; min-height: 100vh; display: grid; align-items: center; justify-items: center;
  background: center/cover no-repeat var(--hero-bg); color: #fff; overflow: hidden; padding-top: 100px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.76), rgba(0,0,0,.56), rgba(26,18,8,.72)); }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 40px 0 70px; }
.hero-logo {
  width: 110px; height: 110px; border-radius: 32px; border: 1px solid rgba(255,255,255,.16); margin: 0 auto 26px;
  display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 34px; color: #fff;
  background: rgba(255,255,255,.08); box-shadow: 0 25px 55px rgba(0,0,0,.25);
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 6vw, 76px); line-height: 1.06; margin: 0 0 16px; }
.hero h1 span { display: block; }
.hero .gold { color: #d4b07a; }
.hero p { max-width: 700px; margin: 0 auto 28px; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-down { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: 28px; animation: bounce 1.6s infinite; z-index: 2; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.specialties-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.specialty-card {
  background: #fff; padding: 24px; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid #f0ece3; position: relative;
}
.specialty-badge {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.specialty-amber .specialty-badge { background: #fff4dd; color: #c0891b; }
.specialty-emerald .specialty-badge { background: #e7f8ee; color: #1c8d4b; }
.specialty-blue .specialty-badge { background: #e6f1ff; color: #2e6fc1; }
.specialty-rose .specialty-badge { background: #ffe9ee; color: #cf4f72; }
.specialty-sky .specialty-badge { background: #e6f8ff; color: #1787b8; }
.specialty-violet .specialty-badge { background: #f0e8ff; color: #7b4bc3; }
.specialty-card h3, .property-body h3, .about-grid h2, .form-card h3, .admin-edit-card h1, .testimonial-card strong { font-family: 'Playfair Display', serif; }
.specialty-card h3 { margin: 0 0 10px; font-size: 20px; }
.specialty-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.properties-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.property-card {
  background: #fff; border: 1px solid #ece7de; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.property-media { position: relative; height: 230px; background: #f5f3ef; }
.property-media img { width: 100%; height: 100%; object-fit: cover; }
.property-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.36), transparent 45%); }
.property-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #ccc; font-size: 40px; }
.property-body { padding: 22px; }
.property-body h3 { margin: 0 0 8px; font-size: 22px; }
.property-location { color: var(--muted-2); font-size: 13px; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.property-body p { color: var(--muted); line-height: 1.7; font-size: 14px; margin: 0 0 14px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 14px; border-top: 1px solid #f0ece3; color: #555; font-size: 13px; }
.property-meta span { display: inline-flex; align-items: center; gap: 6px; }
.property-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.property-price { font-size: 22px; font-weight: 800; color: var(--gold); font-family: 'Playfair Display', serif; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 18px; color: #fff; }
.about-grid p { line-height: 1.9; color: rgba(255,255,255,.68); margin: 0 0 16px; }
.stats-row { display: flex; gap: 28px; margin: 26px 0 28px; flex-wrap: wrap; }
.stats-row strong { display: block; font-family: 'Playfair Display', serif; font-size: 44px; line-height: 1; color: #d4b07a; }
.stats-row span { display: block; margin-top: 6px; color: rgba(255,255,255,.56); font-size: 12px; }
.about-aside { display: grid; gap: 18px; }
.about-photo { border-radius: 24px; overflow: hidden; position: relative; height: 215px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; left: 20px; bottom: 18px; color: #d4b07a; font-family: 'Playfair Display', serif; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 18px; }
.value-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--gold); margin-bottom: 12px; }
.value-card h4, .testimonial-card strong, .contact-card strong { margin: 0 0 6px; font-size: 15px; color: #fff; }
.value-card p { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.7; }
.testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card {
  background: #fff; border: 1px solid #ece7de; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); position: relative;
}
.testimonial-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p { color: var(--muted); line-height: 1.8; font-style: italic; margin: 0 0 24px; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.avatar-circle { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(184,151,90,.15); color: var(--gold-dark); font-weight: 800; }
.testimonial-meta span { display: block; font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.contact-section { background: #f5f3ef; }
.contact-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 34px; align-items: start; }
.contact-intro { color: var(--muted); line-height: 1.8; max-width: 620px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.contact-card {
  background: #fff; border: 1px solid #ece7de; border-radius: 20px; padding: 18px; display: grid; gap: 8px; box-shadow: 0 8px 18px rgba(0,0,0,.04);
}
.contact-card:hover { transform: translateY(-1px); }
.contact-icon { width: 42px; height: 42px; border-radius: 14px; background: rgba(184,151,90,.12); color: var(--gold-dark); display: grid; place-items: center; }
.contact-card span { color: var(--muted); font-size: 13px; }
.contact-card small { color: var(--gold); font-weight: 700; }
.form-card {
  background: #fff; border: 1px solid #ece7de; border-radius: 24px; padding: 30px; box-shadow: var(--shadow);
}
.form-card h3 { margin: 0 0 6px; font-size: 26px; color: var(--text); }
.form-card p { margin: 0 0 20px; color: var(--muted-2); }
.form-card form, .admin-form { display: grid; gap: 14px; }
.form-grid, .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 8px; color: #444; font-size: 13px; font-weight: 600; }
input, textarea, select {
  width: 100%; padding: 13px 14px; border: 1px solid #e2dbcf; border-radius: 14px; background: #fff; color: var(--text); outline: none; transition: .2s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,.12); }
textarea { resize: vertical; min-height: 120px; }
.atendimentos {
  margin-top: 34px; background: #fff; border: 1px solid #ece7de; border-radius: 24px; padding: 26px; text-align: center;
}
.atendimentos h3 { margin: 0 0 6px; font-family: 'Playfair Display', serif; }
.atendimentos p { color: var(--muted-2); margin: 0 0 18px; font-size: 13px; }
.mini-location {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: #faf9f7; border: 1px solid #ece7de; border-radius: 18px; padding: 14px 22px; gap: 4px;
}
.mini-location i { color: var(--gold); }
.site-footer { background: var(--bg-darker); color: rgba(255,255,255,.7); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 34px; }
.footer-brand .brand-text strong { color: #fff; }
.site-footer p { color: rgba(255,255,255,.5); line-height: 1.8; max-width: 380px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.socials a:hover { background: var(--gold); }
.site-footer h4 { color: #fff; margin: 0 0 18px; font-size: 15px; }
.footer-links, .contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a, .contact-list a { color: rgba(255,255,255,.55); }
.footer-links a:hover, .contact-list a:hover { color: var(--gold); }
.contact-list a { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 46px; padding: 18px 0 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.36);
}
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; background: #25d366; color: #fff; border-radius: 999px; padding: 14px 18px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 18px 35px rgba(37,211,102,.3);
}
.whatsapp-float span { font-weight: 700; }
.empty-state { text-align: center; padding: 46px 18px; color: #999; background: #fff; border: 1px dashed #ddd; border-radius: 24px; }
.empty-state i { font-size: 42px; opacity: .3; margin-bottom: 12px; }
.alert { padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: #e9f8ef; color: #206a39; border: 1px solid #bce9cb; }
.alert-error { background: #ffecec; color: #a33a3a; border: 1px solid #f0bbbb; }
.admin-body { background: #f5f3ef; }
.admin-header { background: #1a1208; color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.12); position: sticky; top: 0; z-index: 40; }
.admin-userbar { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.7); }
.admin-main { padding: 26px 0 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card, .table-card { background: #fff; border: 1px solid #ece7de; border-radius: 24px; box-shadow: var(--shadow); }
.stat-card { padding: 20px; }
.stat-card strong { display: block; font-family: 'Playfair Display', serif; font-size: 36px; color: var(--gold); line-height: 1; }
.stat-card span { display: block; color: var(--muted-2); font-size: 13px; margin-top: 8px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 22px 0; }
.toolbar-left { display: flex; gap: 12px; flex-wrap: wrap; }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 16px 18px; border-bottom: 1px solid #f0ece3; text-align: left; vertical-align: top; }
.admin-table th { background: #faf9f7; color: #444; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.admin-table td small { color: var(--muted-2); }
.status-pill { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill.ok { background: #e9f8ef; color: #206a39; }
.status-pill.off { background: #ffecec; color: #a33a3a; }
.actions { display: flex; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at top, #2d2113 0, #1a1208 55%, #0f0c06 100%); }
.admin-login-card { width: min(430px, 100%); background: #fff; border-radius: 26px; padding: 32px; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.admin-brand { margin-bottom: 10px; }
.login-subtitle, .login-hint { color: var(--muted-2); font-size: 14px; }
.login-hint { margin-top: 14px; }
.btn-full { width: 100%; border: 0; }
.admin-form label { color: #444; }
.admin-edit-card { padding: 28px; }
.switches label { display: flex; align-items: center; gap: 10px; }
.switches input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
@media (max-width: 1080px) {
  .specialties-grid, .properties-grid, .testimonials-grid, .footer-grid, .contact-grid, .about-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .nav-desktop, .header-actions .phone-link { display: none; }
  .menu-btn { display: inline-flex; }
  .specialties-grid, .properties-grid, .testimonials-grid, .footer-grid, .contact-grid, .about-grid, .stats-grid, .contact-cards, .form-grid, .grid-2, .values-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero h1 { font-size: clamp(34px, 10vw, 58px); }
  .section { padding: 72px 0; }
  .property-footer, .admin-toolbar, .header-wrap, .footer-bottom, .form-actions { flex-direction: column; align-items: stretch; }
  .actions { flex-wrap: wrap; }
  .admin-table th:nth-child(4), .admin-table td:nth-child(4) { display: none; }
}
