/* ==========================================================================
   Componente · Transição para o próximo passo (#s-t5)
   Portado do slide "Let's Define the Next Move" do deck de referência: tela
   preta tomada por faixas de luz laranja curvas na metade de cima, título
   grande na base à esquerda e o bloco de apoio à direita.

   As faixas são elipses achatadas com gradiente vertical — é a curvatura que
   faz cada uma parecer um tubo de luz, e não uma tarja. Elas respiram devagar
   em loop; nada aqui pisca nem corre.
   ========================================================================== */

#s-t5 {
  padding: 0;
  display: block;
  overflow: hidden;
  --tf-hot: #FCCAAC;
  --tf-core: #F24C10;
  --tf-deep: #5B1D06;
}

/* ---------- as faixas ---------- */
.tf-waves {
  position: absolute;
  /* o exagero lateral é o que traz a curvatura da elipse para dentro da tela:
     sem ele as faixas leem como tarjas retas */
  inset: -16% -34% auto;
  height: 82%;
  z-index: 1;
  pointer-events: none;
}

.tf-waves i {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(91, 29, 6, 0) 0%,
    var(--tf-deep) 12%,
    var(--tf-core) 38%,
    var(--tf-hot) 52%,
    var(--tf-core) 66%,
    var(--tf-deep) 88%,
    rgba(91, 29, 6, 0) 100%
  );
  will-change: transform;
}

/* alturas e posições irregulares: é o que evita a leitura de "listras" */
.tf-waves i:nth-child(1) { top: -2%; height: 20%; filter: blur(5px); opacity: .95; animation: tf-drift 19s ease-in-out infinite alternate; }
.tf-waves i:nth-child(2) { top: 17%; height: 15%; filter: blur(4px); opacity: .92; animation: tf-drift 23s ease-in-out infinite alternate-reverse; }
.tf-waves i:nth-child(3) { top: 33%; height: 19%; filter: blur(6px); opacity: 1;   animation: tf-drift 27s ease-in-out infinite alternate; }
.tf-waves i:nth-child(4) { top: 54%; height: 9%;  filter: blur(4px); opacity: .78; animation: tf-drift 21s ease-in-out infinite alternate-reverse; }
.tf-waves i:nth-child(5) { top: 66%; height: 5%;  filter: blur(3px); opacity: .55; animation: tf-drift 31s ease-in-out infinite alternate; }
.tf-waves i:nth-child(6) { top: 76%; height: 3%;  filter: blur(3px); opacity: .35; animation: tf-drift 26s ease-in-out infinite alternate-reverse; }

@keyframes tf-drift {
  from { transform: translate3d(-2%, 0, 0) scaleY(1); }
  to   { transform: translate3d(2%, 1.2%, 0) scaleY(1.12); }
}

/* ---------- conteúdo ---------- */
#s-t5 .content.tfinal {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 8vh 6.5% 9vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  box-sizing: border-box;
}

.tfinal__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: clamp(30px, 5vw, 100px);
}

.tfinal__bottom h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(38px, 5.4vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #FFFFFF;
}

.tfinal__bottom h2 em {
  font-style: normal;
  color: var(--tf-hot);
}

.tfinal__aside {
  display: flex;
  flex-direction: column;
  gap: 2.4vh;
  padding-bottom: .6vh;
}

.tfinal__aside p {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.35vw, 24px);
  line-height: 1.45;
  color: rgba(250, 250, 250, .78);
}

.tfinal__next {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
  padding-top: 2vh;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tf-hot);
}

.tfinal__next i {
  display: block;
  width: clamp(24px, 2.4vw, 44px);
  height: 1px;
  background: var(--tf-hot);
}

@media (max-width: 1100px) {
  .tfinal__bottom { grid-template-columns: 1fr; gap: 3vh; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-waves i { animation: none; }
}
