/*
  Estilos estruturais das secoes da home.
  Unifica espacamento, transparencias e animacoes de entrada.
*/

.about-section,
.services-section-backup,
.licensing-section,
.outsourcing-section,
.security-section,
.partners-section,
.contact-section {
  position: relative;
  padding: 4.6rem 0;
}

.about-section h2,
.services-section-backup h2,
.licensing-section h2,
.outsourcing-section h2,
.security-section h2,
.partners-section h2,
.contact-section h2 {
    margin: 15px 0px 1rem;
    color: #2cc3a8;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    line-height: 1.14;
}

.about-section p,
.services-section-backup p,
.licensing-section p,
.outsourcing-section p,
.security-section p,
.partners-section p,
.contact-section p {
    margin: 0;
    color: #8d8d8d;
    font-size: 20px;
    line-height: 1.62;
    margin-bottom: 35px;
}

.about-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(55, 153, 131, 0.1), transparent 36%),
    linear-gradient(180deg, #f7fbfa 0%, #f2f2f2 100%);
}

.services-section-backup {
  background: none;
  width: 100%;
  min-height: 100vh;
}

.licensing-section,
.outsourcing-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.licensing-section {
  background:
    radial-gradient(circle at 18% 14%, rgba(45, 194, 166, 0.13), transparent 42%),
    linear-gradient(165deg, #f7f9fa 0%, #edf3f2 100%);
}

.outsourcing-section {
  background:
    radial-gradient(circle at 80% 22%, rgba(45, 194, 166, 0.12), transparent 42%),
    linear-gradient(170deg, #eef4f5 0%, #e7f0ef 100%);
}

.services-section-backup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 12, 18, 0.84) 0%, rgba(4, 12, 18, 0.58) 40%, rgba(4, 12, 18, 0.22) 72%, rgba(4, 12, 18, 0.36) 100%),
    radial-gradient(130% 120% at 90% 50%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.34) 100%);
}

.services-section-backup__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: brightness(0.56) saturate(0.82) contrast(0.9);
  opacity: 0.9;
}

/* Transição suave entre todas as seções adjacentes */
main > section + section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: min(92vw, 1280px);
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(45, 194, 166, 0),
    rgba(45, 194, 166, 0.4),
    rgba(45, 194, 166, 0)
  );
  box-shadow: 0 0 18px rgba(45, 194, 166, 0.16);
  filter: blur(0.2px);
  pointer-events: none;
  z-index: 1;
}

.security-section {
  background:
    linear-gradient(145deg, rgba(18, 51, 44, 0.95), rgba(27, 73, 64, 0.9)),
    #12332c;
}

.security-section h2,
.security-section p {
  color: #e7f9f4;
}

.partners-section {
  background:
    radial-gradient(circle at 22% 14%, rgba(55, 153, 131, 0.14), transparent 32%),
    #f5f7f8;
}

.contact-section {
  background:
    linear-gradient(180deg, #f2f2f2 0%, #f8f8f8 100%);
}

/* Base do efeito de entrada "subindo" */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tracking-in-expand {
  animation: tracking-in-expand 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.4em;
    opacity: 0;
  }
  40% {
    opacity: 0.55;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

