﻿/*
Theme Name: Tema Imobi
Author: Codex
Description: Tema WordPress leve e editavel com Elementor, focado em imobiliaria.
Version: 1.0.0
Text Domain: tema-imobi
*/

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-alt: #f0f4f6;
  --text: #1b1b1b;
  --muted: #6f7780;
  --accent: #ffb347;
  --accent-2: #4aa3a3;
  --border: #e6e6e6;
  --shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, #e7f2f2 0%, #f7f6f2 40%, #faf8f4 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
}

.site-tagline {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.site-nav .menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-main {
  padding: 32px 0 64px;
  min-height: 60vh;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 14px;
  color: var(--muted);
}

.button,
button,
input[type="submit"],
.wp-element-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.button.is-outline,
input[type="submit"].is-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: linear-gradient(120deg, #f5f3ee 0%, #eff5f6 100%);
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.page-content {
  padding: 24px 0;
}

.hero {
  padding: 36px 0 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 12px 0;
}

.hero-content p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 520px;
}

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

.hero-search {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 12px;
  background: var(--surface);
  padding: 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero-search input,
.hero-search select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
}

.hero-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-image {
  overflow: hidden;
  padding: 0;
}

.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-cards {
  display: grid;
  gap: 12px;
}

.mini-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.mini-title {
  margin: 0 0 4px;
  font-weight: 600;
}

.mini-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.mini-price {
  font-weight: 700;
}

.section-logos {
  padding-top: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(74, 163, 163, 0.14);
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 12px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}

.property-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.property-body {
  padding: 18px 20px 22px;
}

.property-body h3 {
  margin: 0 0 6px;
}

.property-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.property-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.text-block p {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.checklist li::before {
  content: "+";
  color: var(--accent-2);
  font-weight: 700;
}

.media-block img.rounded {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.stat h3 {
  margin: 0;
  font-size: 32px;
}

.stat p {
  margin: 4px 0 0;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 18px 20px 22px;
}

.blog-body h3 {
  margin: 0 0 8px;
}

.blog-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.text-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent-2);
}

.section-cta {
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.2) 0%, rgba(74, 163, 163, 0.2) 100%);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 8px;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .property-grid,
  .blog-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .property-grid,
  .blog-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }
}