/* A.A.M Cobranças v21.5.32 — contenção definitiva do botão hero no site público.
   Este arquivo é exclusivo da landing page; não afeta app, admin, banco, nem formulário. */
:root{--home-night:#08051a;--home-violet:#963aff;--home-gold:#ffcf79}
body{overflow-x:clip}
#inicio.hero{position:relative;isolation:isolate}
#inicio .hero-text{position:relative;z-index:2;min-width:0}
#inicio .hero-actions{
  display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;
  position:relative;z-index:3;min-width:0;
}
#inicio .hero-actions > a.site-btn{
  box-sizing:border-box!important;
  position:relative!important;
  display:inline-flex!important;
  flex:0 1 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:54px!important;
  height:auto!important;
  max-height:76px!important;
  padding:12px 18px!important;
  margin:0!important;
  font-size:clamp(.82rem,2.7vw,.94rem)!important;
  line-height:1.24!important;
  font-weight:800!important;
  white-space:normal!important;
  text-align:center!important;
  vertical-align:middle!important;
  overflow:hidden!important;
  border-radius:16px!important;
  transform:none;
}
#inicio .hero-actions > a.site-btn.gold{
  color:#210b2c!important;
  background:linear-gradient(118deg,#ffe5a4 0%,#ffd077 47%,#ffb043 100%)!important;
  border:1px solid rgba(255,229,160,.98)!important;
  box-shadow:0 0 23px rgba(255,180,67,.24),inset 0 1px rgba(255,255,255,.42)!important;
}
#inicio .hero-actions > a.site-btn.outline{
  color:#f5edff!important;
  background:linear-gradient(125deg,#311363,#1a0b43)!important;
  border:1px solid rgba(177,105,255,.70)!important;
  box-shadow:0 0 20px rgba(144,62,255,.12)!important;
}
#inicio .hero-actions > a.site-btn .aam-home-cta-text{
  display:inline!important;position:static!important;
  flex:0 1 auto!important;
  width:auto!important;height:auto!important;
  font:inherit!important;line-height:inherit!important;
  color:inherit!important;opacity:1!important;visibility:visible!important;
  transform:none!important;
}
#inicio .hero-actions > a.site-btn .aam-home-cta-arrow{
  display:inline-block!important;position:static!important;
  flex:none!important;width:auto!important;height:auto!important;
  font-size:1.15em!important;line-height:1!important;
  color:inherit!important;opacity:1!important;visibility:visible!important;
  transform:none!important;
}
/* Keep decorative glint behind text and prevent it covering the CTA. */
#inicio .hero-actions > a.site-btn::before,
#inicio .hero-actions > a.site-btn::after{pointer-events:none!important}
#inicio .hero-actions > a.site-btn .aam-home-cta-text,
#inicio .hero-actions > a.site-btn .aam-home-cta-arrow{z-index:1}
#inicio .hero-visual{position:relative;z-index:1;min-width:0;max-width:100%}
#inicio .dashboard-demo{max-width:100%;overflow:hidden}
@media(max-width:790px){
  .site-header{z-index:40}
  #inicio.hero{padding-top:36px!important;padding-bottom:60px!important;gap:26px!important}
  #inicio .hero-text>p{margin-bottom:16px!important}
  #inicio .hero-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:20px 0 20px!important}
  #inicio .hero-actions>a.site-btn{width:100%!important;max-width:100%!important;min-height:54px!important;max-height:74px!important}
  #inicio .hero-visual{min-height:315px!important;max-height:none!important}
  #inicio .dashboard-demo{min-height:290px!important}
}
@media(max-width:360px){
  #inicio.hero{padding-top:28px!important}
  #inicio .hero-actions>a.site-btn{padding:12px 11px!important;font-size:.82rem!important}
  #inicio .benefit-line{gap:8px 12px}
}
@media(prefers-reduced-motion:reduce){#inicio .hero-actions>a.site-btn{transition:none!important}}
