/* ================================================
   HERO — 3º Ofício de Registro de Imóveis PVH/RO
   ================================================ */

.hero-preview {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1628;
  margin-top: -64px;
  padding-top: 64px;
}

.hero-preview__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.95) 0%, rgba(13, 31, 60, 0.7) 40%, rgba(13, 31, 60, 0.25) 75%, rgba(13, 31, 60, 0.15) 100%),
    linear-gradient(160deg, rgba(24, 95, 165, 0.18) 0%, transparent 60%),
    url('../images/trem-pvh-pb.jpg') center right / cover no-repeat,
    #0a1628;
}

.hero-preview__inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem 3rem;
  max-width: 580px;
}

.hero-preview__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 95, 165, 0.3);
  border: 0.5px solid rgba(24, 95, 165, 0.6);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12px;
  color: #85B7EB;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  font-family: 'Inter', sans-serif;
}

.hero-preview__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #378ADD;
  flex-shrink: 0;
  animation: hero-pulse 2s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hero-preview__title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 10px;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.hero-preview__title em {
  font-style: italic;
  color: #f5c775;
}

.hero-preview__sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #f5c775;
  font-style: italic;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hero-preview__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin: 0 0 28px;
}

.hero-preview__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-preview--primary {
  background: #185FA5;
  color: #fff;
}
.btn-preview--primary:hover { background: #1a6bb8; color: #fff; }

.btn-preview--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
}
.btn-preview--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-preview__info-cards {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-preview__info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 210px;
}

.hero-preview__info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 199, 117, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5c775;
  font-size: 17px;
  flex-shrink: 0;
}

.hero-preview__info-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 3px;
  letter-spacing: 0.03em;
}

.hero-preview__info-value {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero-preview__bg {
    background:
      linear-gradient(180deg, rgba(10, 22, 40, 0.88) 0%, rgba(13, 31, 60, 0.65) 55%, rgba(13, 31, 60, 0.5) 100%),
      url('../images/trem-pvh-pb.jpg') center center / cover no-repeat,
      #0a1628;
  }

  .hero-preview__info-cards {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 1.5rem 2rem;
    gap: 8px;
  }

  .hero-preview__info-card {
    min-width: unset;
    flex: 1 1 calc(50% - 4px);
  }

  .hero-preview__inner {
    padding: 2.5rem 1.5rem 1rem;
  }

  .hero-preview__title { font-size: 26px; }
}
