/* Goolab CRM — immersive product film hero v5
   The film is the first viewport of the CRM page. Header + product subnav
   float above it; the section itself always occupies the full viewport. */
.crm-product-film{
  position:relative;
  width:100vw;
  height:100svh;
  min-height:100svh;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#08101f;
  isolation:isolate;
}

@supports(height:100dvh){
  .crm-product-film{
    height:100dvh;
    min-height:100dvh;
  }
}

.crm-product-film__video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:50% 50%;
  background:#08101f;
}

.crm-product-film__scrim{
  position:absolute;
  inset:auto 0 0;
  height:min(24vh,220px);
  pointer-events:none;
  background:linear-gradient(to top,rgba(4,10,22,.44),rgba(4,10,22,0));
}

.crm-product-film__cta-wrap{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:max(34px,calc(env(safe-area-inset-bottom) + 22px));
  transform:translateX(-50%);
}

.crm-product-film__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.58rem;
  min-height:3.35rem;
  padding:.92rem 1.45rem;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(25,72,240,.94);
  color:#fff;
  box-shadow:0 18px 44px rgba(4,10,22,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-weight:800;
  font-size:.86rem;
  letter-spacing:-.01em;
  white-space:nowrap;
  transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease;
}

.crm-product-film__cta svg{
  width:1rem;
  height:1rem;
  transition:transform .18s ease;
}

.crm-product-film__cta:hover,
.crm-product-film__cta:focus-visible{
  transform:translateY(-2px);
  background:#2455ff;
  box-shadow:0 22px 54px rgba(4,10,22,.34);
}

.crm-product-film__cta:hover svg,
.crm-product-film__cta:focus-visible svg{transform:translateY(3px)}

.crm-product-film__cta:focus-visible{
  outline:3px solid rgba(255,255,255,.8);
  outline-offset:4px;
}

/* Header and CRM navigation are intentionally layered on top of the film. */
.site-crm .goolab-header.header{z-index:220!important}
.site-crm .crm-product-subnav{z-index:210!important}

.site-crm main section[id]{scroll-margin-top:1.3rem!important}
#recursos{scroll-margin-top:1.3rem!important}

@media(max-width:959px){
  .site-crm main section[id],#recursos{scroll-margin-top:0!important}
}

@media(max-width:720px){
  .crm-product-film__cta-wrap{bottom:max(22px,calc(env(safe-area-inset-bottom) + 14px))}
  .crm-product-film__cta{min-height:3.1rem;padding:.82rem 1.2rem;font-size:.82rem}
}

@media(prefers-reduced-motion:reduce){
  .crm-product-film__video{display:none}
  .crm-product-film{background:#08101f url('/assets/video/goolab-crm-apresentacao-v7-20260915-poster.jpg') center/cover no-repeat}
  .crm-product-film__cta,.crm-product-film__cta svg{transition:none}
}

/* v6 resilience */
.site-crm .crm-product-film{padding:0!important;margin:0!important;width:100%!important}
.site-crm #recursos>.container{position:relative}
