/* =========================================================
ESTILOS ESPECÍFICOS DA PÁGINA IMOBILIÁRIA
(Usa as variáveis de cor e fonte já definidas em style.css)
========================================================= */

/* Ajuste específico para o Hero desta página */
.hero-imobiliaria {
  padding-top: 160px;
  /* Compensa o header fixo */
  padding-bottom: 80px;
  min-height: auto;
}

.hero-lead {
  max-width: 650px;
  font-size: 18px;
  color: var(--cinza-claro);
  margin-bottom: 38px;
}

/* Mockup do Anúncio Imobiliário (Adaptado para o tema escuro) */
.anuncio-mockup {
  background: var(--cinza);
  border: 1px solid #333333;
  border-radius: 10px;
  overflow: hidden;
  max-width: 380px;
  margin: 40px auto 0;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

.anuncio-mockup:hover {
  transform: translateY(-5px);
  border-color: var(--laranja);
}

.anuncio-foto {
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  /* Garante que a imagem respeite a borda superior do card */
}

.anuncio-foto img {
  width: 100%;
  height: 220px;
  /* Altura fixa para manter o padrão visual dos cards */
  object-fit: cover;
  /* Garante que a foto preencha o espaço sem distorcer ou esticar */
  display: block;
}

.anuncio-corpo {
  padding: 1.5rem;
}

.anuncio-preco {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amarelo);
  margin-bottom: 8px;
}

.anuncio-corpo p {
  color: var(--cinza-claro);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.anuncio-local {
  color: #888888;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.anuncio-botoes {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.anuncio-botoes span {
  flex: 1;
  text-align: center;
  padding: 8px;
  border: 1px solid #444444;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--branco);
  transition: 0.3s;
}

.anuncio-botoes .fav {
  color: var(--amarelo);
  border-color: var(--amarelo);
}

.anuncio-botoes span:hover {
  background: rgba(255, 90, 0, 0.1);
  border-color: var(--laranja);
}

/* Seções Gerais da Página Imobiliária */
.secao-imobiliaria {
  padding: 80px 0;
}

.bg-claro {
  background: #ffffff;
  color: #111111;
}

.bg-claro .section-title p,
.bg-claro .imob-card p,
.bg-claro .passo-item p {
  color: #555555;
}

.bg-escuro {
  background: var(--preto-2);
}

/* Grid de Cards (Para quem é) */
.imob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.imob-card {
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  transition: 0.3s;
}

.bg-escuro .imob-card {
  background: #151515;
  border-color: #252525;
}

.bg-escuro .imob-card p {
  color: #a9a9a9;
}

.imob-card:hover {
  transform: translateY(-5px);
  border-color: var(--laranja);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.imob-card span {
  display: block;
  color: var(--laranja);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.imob-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: inherit;
}

/* Grid de Vídeos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.video-card {
  background: #151515;
  border: 1px solid #252525;
  border-radius: 12px;
  padding: 20px;
  transition: 0.3s;
}

.video-card:hover {
  border-color: var(--laranja);
}

.video-wrap {
  aspect-ratio: 16/9;
  background: #080808;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-btn {
  width: 100%;
  height: 100%;
  border: 0;
  background: #111111;
  color: var(--branco);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
}

.video-btn:hover:not(:disabled) {
  background: #1a1a1a;
  color: var(--laranja);
}

.video-btn:disabled {
  cursor: default;
  opacity: 0.7;
  color: #888888;
}

.play-icon {
  font-size: 24px;
  color: var(--laranja);
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--branco);
}

.video-card p {
  color: #a9a9a9;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Passos */
.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.passo-item {
  text-align: center;
  padding: 30px;
}

.passo-numero {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--laranja), var(--amarelo));
  color: #111111;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.passo-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Chamada Final (CTA) */
.cta-final {
  background: linear-gradient(135deg, #111111 0%, #080808 65%, #151515 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -150px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.15), transparent 65%);
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.cta-text {
  max-width: 700px;
}

.cta-text h2 {
  font-size: 38px;
  line-height: 1.15;
  margin: 15px 0;
}

.cta-text p {
  color: var(--cinza-claro);
  font-size: 17px;
  margin-bottom: 30px;
}

/* =========================================================
RESPONSIVO
========================================================= */

@media (max-width:900px) {
  .imob-grid,
  .videos-grid,
  .passos-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-action {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .anuncio-mockup {
    margin-top: 50px;
  }
}

@media (max-width:600px) {
  .hero-imobiliaria {
    padding-top: 120px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .cta-text h2 {
    font-size: 30px;
  }
}
