/* Black House Tendência — Ajustes V6
   - remove repetição visual no topo (mantendo apenas a chamada principal da seção)
   - pulso real dos CTAs no desktop e no mobile
   - preserva fotos, valores, descrições e lógica da LP */

/* Garantia extra: não exibir o bloco-resumo antigo do hero, caso exista em cache. */
.hero .hero-trust{display:none !important;}

/* Texto de abertura da seleção mais comercial */
.listings-section .section-intro p{
  max-width:760px;
}

/* Mata a solução antiga por pseudo-elemento para padronizar o pulso em todas as telas. */
.hero .hero-actions .btn-gold::before,
.header .header-cta::before,
.statement .btn-dark::before,
.closing .btn-gold::before,
.detail-cta-area .btn-interest-pulse::before,
.lead-form .btn-submit:not(:disabled)::before,
.mobile-cta::before,
.property-card .card-interest::before{
  content:none !important;
  display:none !important;
}

@keyframes bhGoldPulseReal{
  0%, 18%, 100%{
    transform:scale(1);
    box-shadow:0 10px 22px rgba(213,179,99,.18), 0 0 0 0 rgba(244,210,131,0);
    filter:brightness(1);
  }
  46%{
    transform:scale(1.035);
    box-shadow:0 16px 34px rgba(213,179,99,.34), 0 0 0 7px rgba(244,210,131,.14);
    filter:brightness(1.1);
  }
  68%{
    transform:scale(1.015);
    box-shadow:0 12px 27px rgba(213,179,99,.26), 0 0 0 3px rgba(244,210,131,.06);
    filter:brightness(1.04);
  }
}
@keyframes bhGoldPulseCard{
  0%, 20%, 100%{
    transform:scale(1);
    box-shadow:0 3px 10px rgba(213,179,99,.08), 0 0 0 0 rgba(244,210,131,0);
    filter:brightness(1);
  }
  48%{
    transform:scale(1.03);
    box-shadow:0 10px 22px rgba(213,179,99,.22), 0 0 0 5px rgba(244,210,131,.12);
    filter:brightness(1.1);
  }
}
@keyframes bhDarkPulseReal{
  0%, 18%, 100%{
    transform:scale(1);
    box-shadow:0 10px 22px rgba(19,24,25,.16), 0 0 0 0 rgba(213,179,99,0);
    filter:brightness(1);
  }
  46%{
    transform:scale(1.03);
    box-shadow:0 15px 30px rgba(19,24,25,.26), 0 0 0 6px rgba(213,179,99,.12);
    filter:brightness(1.08);
  }
}
@keyframes bhBottomBarPulse{
  0%,20%,100%{
    transform:translateZ(0) scale(1);
    box-shadow:0 -8px 28px rgba(0,0,0,.18), 0 0 0 0 rgba(244,210,131,0);
    filter:brightness(1);
  }
  48%{
    transform:translateZ(0) scale(1.012);
    box-shadow:0 -10px 34px rgba(0,0,0,.22), 0 0 0 6px rgba(244,210,131,.12);
    filter:brightness(1.08);
  }
}
@keyframes bhTextCtaPulse{
  0%, 24%, 100%{ color:#fff; border-color:rgba(255,255,255,.78); text-shadow:none; }
  48%{ color:#ffe5a6; border-color:#f5d489; text-shadow:0 0 16px rgba(245,212,137,.62); }
}
@keyframes bhBadgePulseReal{
  0%,22%,100%{transform:scale(1); box-shadow:0 0 0 0 rgba(244,210,131,0); filter:brightness(1);}
  50%{transform:scale(1.03); box-shadow:0 0 0 6px rgba(244,210,131,.12), 0 8px 22px rgba(0,0,0,.16); filter:brightness(1.08);}
}

/* CTAs dourados */
.hero .hero-actions .btn-gold,
.header .header-cta,
.closing .btn-gold,
.detail-cta-area .btn-interest-pulse,
.lead-form .btn-submit:not(:disabled),
.property-card .card-interest{
  background:linear-gradient(120deg,#cfa750 0%,#f2d58c 48%,#d4ad55 100%) !important;
  color:#171919 !important;
  border:1px solid rgba(246,223,160,.7) !important;
  transform-origin:center;
  will-change:transform, box-shadow, filter;
  animation:bhGoldPulseReal 3.4s ease-in-out infinite !important;
}
.property-card .card-interest{
  animation-name:bhGoldPulseCard !important;
  animation-duration:4.1s !important;
}
.property-card:nth-child(3n+2) .card-interest{animation-delay:-1.35s !important;}
.property-card:nth-child(3n+3) .card-interest{animation-delay:-2.7s !important;}
.hero .hero-actions .btn-gold{animation-delay:-.25s !important;}
.header .header-cta{animation-delay:-1.15s !important;}
.closing .btn-gold{animation-delay:-1.9s !important;}
.detail-cta-area .btn-interest-pulse{animation-delay:-.85s !important;}
.lead-form .btn-submit:not(:disabled){animation-delay:-2.3s !important;}

/* CTA fixo mobile */
.mobile-cta{
  background:linear-gradient(120deg,#d1a954 0%,#f0d48b 100%) !important;
  color:#171919 !important;
  border-top:1px solid rgba(246,223,160,.55);
  animation:bhBottomBarPulse 3.8s ease-in-out infinite !important;
  transform-origin:center bottom;
  will-change:transform, box-shadow, filter;
}

/* Botão escuro da seção de apoio */
.statement .btn-dark{
  background:#24302e !important;
  color:#fff !important;
  box-shadow:0 8px 20px rgba(19,24,25,.16);
  animation:bhDarkPulseReal 3.8s ease-in-out infinite !important;
  transform-origin:center;
}

/* Link/CTA de texto */
.hero .text-link{
  animation:bhTextCtaPulse 4.5s ease-in-out infinite !important;
}

/* Chamada especial no mobile logo ao abrir */
.mobile-campaign-callout strong{
  animation:bhBadgePulseReal 3.5s ease-in-out infinite !important;
  transform-origin:left center;
}

/* Hover/focus: mantém responsivo e bonito */
@media (hover:hover){
  .hero .hero-actions .btn-gold:hover,
  .header .header-cta:hover,
  .closing .btn-gold:hover,
  .detail-cta-area .btn-interest-pulse:hover,
  .lead-form .btn-submit:not(:disabled):hover,
  .property-card .card-interest:hover,
  .statement .btn-dark:hover,
  .mobile-cta:hover{
    animation-play-state:paused;
    transform:translateY(-2px) scale(1.015);
  }
  .hero .text-link:hover{animation-play-state:paused;}
}

.hero .hero-actions .btn-gold:focus-visible,
.header .header-cta:focus-visible,
.closing .btn-gold:focus-visible,
.detail-cta-area .btn-interest-pulse:focus-visible,
.lead-form .btn-submit:focus-visible,
.property-card .card-interest:focus-visible,
.mobile-cta:focus-visible,
.statement .btn-dark:focus-visible,
.hero .text-link:focus-visible{
  outline:3px solid #ffe7ac;
  outline-offset:4px;
}

/* Telas menores: pulso mais sutil para não estourar o layout */
@media (max-width: 540px){
  .hero .hero-actions .btn-gold,
  .header .header-cta,
  .closing .btn-gold,
  .detail-cta-area .btn-interest-pulse,
  .lead-form .btn-submit:not(:disabled),
  .property-card .card-interest{
    animation-duration:3.6s !important;
  }
  .property-card .card-interest{
    animation-duration:4.3s !important;
  }
  .hero .hero-actions .btn-gold,
  .closing .btn-gold,
  .lead-form .btn-submit:not(:disabled){
    animation-name:bhGoldPulseCard !important;
  }
}

/* Usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce){
  .hero .hero-actions .btn-gold,
  .header .header-cta,
  .closing .btn-gold,
  .detail-cta-area .btn-interest-pulse,
  .lead-form .btn-submit:not(:disabled),
  .mobile-cta,
  .property-card .card-interest,
  .statement .btn-dark,
  .hero .text-link,
  .mobile-campaign-callout strong{
    animation:none !important;
    transform:none !important;
    filter:none !important;
  }
}
