/* ==========================================================================
   HERO SECTION STYLES — IMÓVEL IDEAL
   Hero Section de alto impacto com barra de busca integrada (Estado, Cidade, Tipo)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-main) 100%);
  padding: 60px 20px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Elementos de Fundo Decorativos */
.hero-bg-accent {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 123, 111, 0.08) 0%, rgba(195, 164, 107, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-accent-left {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 61, 58, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gold-pale);
  border: 1px solid var(--brand-gold-border);
  color: #7D6331;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(195, 164, 107, 0.12);
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--brand-gold);
}

/* Título e Subtítulo */
.hero-title {
  font-family: var(--font-family);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 20ch;
}

.hero-title span.highlight {
  color: var(--brand-accent);
  position: relative;
  display: inline-block;
}

.hero-title span.highlight-gold {
  color: var(--brand-gold);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 58ch;
  margin: 0 auto 40px;
  font-weight: 400;
}

/* Barra de Busca Integrada (Estado, Cidade, Tipo) */
.hero-search-card {
  width: 100%;
  max-width: 1000px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition);
}

.hero-search-card:focus-within {
  box-shadow: 0 24px 60px rgba(23, 61, 58, 0.14);
}

.hero-search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .hero-search-form {
    grid-template-columns: 1.2fr 1.3fr 1.1fr auto;
    align-items: center;
  }
}

.hero-field-group {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-field-group label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-field-group label svg {
  width: 13px;
  height: 13px;
  color: var(--brand-accent);
}

.hero-control {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

select.hero-control {
  appearance: none;
  cursor: pointer;
  background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2377817E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 34px;
}

.hero-control:focus {
  background: #FFFFFF;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(22, 123, 111, 0.12);
}

.hero-submit-btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 750;
  padding: 0 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(23, 61, 58, 0.2);
}

@media (max-width: 767px) {
  .hero-submit-btn {
    width: 100%;
    margin-top: 6px;
  }
}

.hero-submit-btn:hover {
  background: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 123, 111, 0.3);
}

.hero-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Tags Rápidas Abaixo da Busca */
.hero-quick-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.hero-tag-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.hero-tag-link:hover {
  color: var(--brand-accent);
}

/* Barra de Confiança e Métricas */
.hero-metrics {
  margin-top: 50px;
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-value span.gold {
  color: var(--brand-gold);
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
