/* ================================================================
   PAUSA VISUAL — full-bleed contínua antes do simulador (#diferenciais)
================================================================ */

#diferenciais {
  scroll-margin-top: calc(var(--navbar-height) + var(--space-4));
}

.secao-tecnologia {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  margin: 0;
  background-color: #0b2c3d;
}

/* Imagem fixa ao viewport — efeito parallax clássico */
.secao-tecnologia__parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* background-image via data-bg + IntersectionObserver (main.js) — PSI */
  background-color: #0b2c3d;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.secao-tecnologia__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 44, 61, 0.72),
    rgba(11, 44, 61, 0.94)
  );
}

/* Textura de rede — mais visível, leitura em branco (soft-light) */
.secao-tecnologia__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../img/banners/rede-textura.svg");
  background-size: 220px auto;
  background-repeat: repeat;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .secao-tecnologia__parallax {
    background-attachment: scroll;
  }
}

.secao-tecnologia__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px;
  text-align: center;
}

/* Entrada proporcional (stagger) ao rolar até a seção */
.secao-tecnologia__content > * {
  opacity: 0;
  transform: translateY(clamp(0.75rem, 2.5vw, 1.35rem));
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.secao-tecnologia--visible .secao-tecnologia__content > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.secao-tecnologia--visible .secao-tecnologia__content > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.secao-tecnologia--visible .secao-tecnologia__content > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

.secao-tecnologia__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.secao-tecnologia__sub {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: balance;
}

.secao-tecnologia__cta.btn--whatsapp {
  box-shadow:
    0 0 28px rgba(37, 211, 102, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

.secao-tecnologia__cta.btn--whatsapp:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 36px rgba(37, 211, 102, 0.45),
    0 12px 32px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .secao-tecnologia__content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .secao-tecnologia__cta.btn--whatsapp:hover {
    transform: none;
  }
}
