/* Goolab CRM — product film fullscreen */
.crm-product-film {
  position: relative;
  width: 100%;
  height: calc(100svh - 7.55rem);
  min-height: 560px;
  margin-top: 7.55rem;
  padding: 0;
  overflow: hidden;
  background: #08101f;
  isolation: isolate;
}

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

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

.crm-product-film__cta-wrap {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(34px, env(safe-area-inset-bottom));
  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: translateX(3px);
}

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

@media (max-width: 959px) {
  .crm-product-film {
    height: calc(100svh - 4.8rem);
    min-height: 520px;
    margin-top: 4.8rem;
  }
}

@media (max-width: 720px) {
  .crm-product-film {
    min-height: 520px;
  }
  .crm-product-film__video {
    object-fit: contain;
  }
  .crm-product-film__cta-wrap {
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 10px));
  }
  .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('video/goolab-crm-apresentacao-poster.jpg') center/cover no-repeat;
  }
  .crm-product-film__cta,
  .crm-product-film__cta svg {
    transition: none;
  }
}

/* V2: film is the CRM hero; the CTA continues the page instead of leaving it. */
.crm-product-film__cta svg{transform:rotate(90deg)}
.crm-product-film__cta:hover svg,.crm-product-film__cta:focus-visible svg{transform:rotate(90deg) translateX(3px)}
#recursos{scroll-margin-top:7.55rem}
@media(max-width:959px){#recursos{scroll-margin-top:4.8rem}}
