/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563EB;
  --blue-dark: #1d4ed8;
  --orange: #F97316;
  --orange-dark: #ea6c0a;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

em { font-family: 'Playfair Display', serif; font-style: italic; color: var(--orange); }

/* ===== TOP BANNER ===== */
.top-banner {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}
.top-banner a { color: white; text-decoration: underline; margin-left: 8px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  line-height: 1.1;
}
.logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1.5px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: #eff6ff;
}

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: var(--blue); color: white; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Chapada_do_Araripe_-_CE.jpg/1280px-Chapada_do_Araripe_-_CE.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(37,99,235,0.6) 50%, rgba(249,115,22,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fed7aa;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-btns .btn-primary { padding: 14px 28px; font-size: 15px; }
.hero-btns .btn-outline { padding: 14px 28px; font-size: 15px; border-color: white; color: white; }
.hero-btns .btn-outline:hover { background: white; color: var(--blue); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 24px; font-weight: 700; color: white; }
.stat span { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

/* SEARCH CARD */
.search-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.search-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 700;
}
.search-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Sora', sans-serif;
  color: var(--dark);
  transition: border-color 0.2s;
  background: white;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-search {
  background: var(--blue);
  color: white;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Sora', sans-serif;
}
.btn-search:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ===== FEATURES ===== */
.features {
  padding: 60px 0;
  background: var(--light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.feature-icon.blue { background: #eff6ff; }
.feature-icon.orange { background: #fff7ed; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section.bg-light { background: var(--light); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p { color: var(--gray); font-size: 16px; }

.section-footer { text-align: center; margin-top: 40px; }

/* ===== IMÓVEIS GRID ===== */
.imoveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.imovel-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.imovel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.imovel-img {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imovel-img-placeholder { font-size: 64px; opacity: 0.4; }
.imovel-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.imovel-badge.aluguel { background: var(--blue); color: white; }
.imovel-badge.venda { background: var(--orange); color: white; }

.imovel-info { padding: 20px; }
.imovel-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.imovel-local { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.imovel-detalhes {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.imovel-preco { font-size: 20px; font-weight: 700; color: var(--blue); }
.imovel-preco span { font-size: 13px; font-weight: 400; color: var(--gray); }

/* ===== PRESTADORES ===== */
.prestadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prestador-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  transition: transform 0.2s;
}
.prestador-card:hover { transform: translateY(-4px); }

.prestador-avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.prestador-top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px; flex-wrap: wrap;
}
.prestador-top h4 { font-size: 15px; font-weight: 700; }
.prestador-cidade { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.prestador-desc { font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.prestador-preco { font-size: 14px; font-weight: 600; color: var(--blue); }

.selo-premium {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.selo-verificado {
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Chapada_do_Araripe_-_CE.jpg/1280px-Chapada_do_Araripe_-_CE.jpg') center/cover;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.9), rgba(249,115,22,0.8));
}
.cta-content {
  position: relative;
  z-index: 1;
  color: white;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-content p { font-size: 17px; opacity: 0.9; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: white;
  color: var(--blue);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-outline-white {
  border: 2px solid white;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-outline-white:hover { background: white; color: var(--orange); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links a, .footer-links p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--orange); }

/* ===== PÁGINAS INTERNAS ===== */
.page-hero {
  background: linear-gradient(135deg, var(--light), white);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 10px;
}
.page-hero p { color: var(--gray); font-size: 16px; }

.filters-bar {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.empty-state p { font-size: 15px; }

/* ===== FORMULÁRIOS ===== */
.form-page { padding: 60px 0; }
.form-container {
  max-width: 800px;
  margin: 0 auto;
}
.progress-bar-wrap {
  background: var(--border);
  border-radius: 100px;
  height: 6px;
  margin-bottom: 8px;
}
.progress-bar {
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.4s;
  width: 0%;
}
.progress-label {
  font-size: 13px;
  color: var(--gray);
  text-align: right;
  margin-bottom: 32px;
}

.form-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light);
}
.form-section-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.form-section-title h3 { font-size: 18px; font-weight: 700; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-row.four { grid-template-columns: 1fr 1fr 1fr 1fr; }

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.radio-btn input { display: none; }
.radio-btn.selected {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.checkbox-item.checked {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-area:hover { border-color: var(--blue); background: #eff6ff; }
.upload-icon { font-size: 40px; margin-bottom: 12px; }
.upload-area p { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.upload-area span { font-size: 13px; color: var(--gray); }
.upload-count {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-top: 12px;
}
input[type="file"] { display: none; }

.alert-error {
  background: #fff7ed;
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: white;
  padding: 18px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Sora', sans-serif;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ===== PLANOS ===== */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plano-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  position: relative;
  transition: transform 0.2s;
}
.plano-card:hover { transform: translateY(-4px); }
.plano-card.popular {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(249,115,22,0.2);
}
.plano-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plano-label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.plano-preco { margin-bottom: 8px; }
.plano-preco strong { font-size: 40px; font-weight: 800; color: var(--dark); }
.plano-preco span { font-size: 15px; color: var(--gray); }
.plano-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; line-height: 1.5; }
.plano-features { list-style: none; margin-bottom: 32px; }
.plano-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.plano-features li:last-child { border-bottom: none; }
.plano-features li.off { color: var(--gray); text-decoration: line-through; opacity: 0.5; }
.check { color: #16a34a; font-weight: 700; }
.cross { color: var(--gray); }

/* ===== CONTATO ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contato-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contato-info p { color: var(--gray); margin-bottom: 32px; line-height: 1.7; }
.info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.info-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--gray); margin: 0; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  background: var(--light);
  margin-top: 24px;
  border: 2px solid var(--border);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .search-card { max-width: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .imoveis-grid, .prestadores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-inner .btn-primary { display: none; }
  .menu-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .imoveis-grid, .prestadores-grid { grid-template-columns: 1fr; }
  .planos-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.three, .form-row.four { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .form-row.three, .form-row.four { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
