/* Ajustes exclusivos da prévia /cursos/excelencia2. */
.hero picture {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.vsl-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(to bottom, #02080d 0%, transparent 30%), linear-gradient(130deg, #07151d 0%, #0b222d 56%, #06131b 100%);
  border-bottom: 1px solid var(--line);
}

.vsl-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(23, 183, 198, .28), rgba(11, 63, 83, .16) 42%, transparent 72%);
  filter: blur(52px);
  pointer-events: none;
}

.vsl-content {
  padding-top: 32px;
  padding-bottom: 44px;
  text-align: center;
}

.vsl-content h2 {
  max-width: 940px;
  margin: 0 auto 22px;
  font-size: clamp(34px, 3.1vw, 44px);
  text-wrap: balance;
}

.vsl-content h2 em {
  background: linear-gradient(100deg, #68e5de 0%, #28bfd0 50%, #1686b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vsl-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 1140px);
  margin: 0 auto;
}

.vsl-main { min-width: 0; }

.vsl-aside { display: flex; flex-direction: column; gap: 38px; }
.vsl-aside--left { align-items: flex-end; }
.vsl-aside--right { align-items: flex-start; }

.vsl-note {
  position: relative;
  width: min(100%, 280px);
  min-height: 135px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(84, 203, 215, .42);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 42, 56, .95), rgba(4, 18, 27, .95));
  box-shadow: 0 0 28px rgba(23, 183, 198, .13), 0 22px 42px rgba(0, 0, 0, .23);
  text-align: left;
  animation: vsl-card-float 5.2s ease-in-out infinite;
}

.vsl-note::before {
  content: "";
  position: absolute;
  inset: -50% -60% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(38, 194, 205, .15);
  filter: blur(26px);
  pointer-events: none;
}

.vsl-note__mark {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: #52dedb;
  box-shadow: 0 0 0 5px rgba(82, 222, 219, .1), 0 0 14px rgba(82, 222, 219, .7);
}

.vsl-note strong {
  position: relative;
  display: block;
  color: #f3f7f7;
  font: 600 clamp(19px, 1.7vw, 24px)/1.2 Syne, sans-serif;
}

.vsl-note--highlight strong { color: #69e6e2; }
.vsl-note p { position: relative; margin: 8px 0 0; color: #becfd3; font-size: 14px; line-height: 1.4; }
.vsl-note em { background: linear-gradient(100deg, #68e5de, #1686b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vsl-aside--left .vsl-note:last-child { animation-delay: -2.4s; }
.vsl-aside--right .vsl-note:first-child { animation-delay: -1.6s; }
.vsl-aside--right .vsl-note:last-child { animation-delay: -3.2s; }

@keyframes vsl-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.vsl-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(23, 183, 198, .58);
  border-radius: 22px;
  background: #061019;
  box-shadow: 0 0 40px rgba(23, 183, 198, .32), 0 25px 60px rgba(0, 0, 0, .45);
  transition: box-shadow .4s ease, border-color .4s ease;
}

.vsl-frame:hover {
  border-color: rgba(37, 206, 200, .85);
  box-shadow: 0 0 50px rgba(23, 183, 198, .42), 0 30px 70px rgba(0, 0, 0, .5);
}

.vsl-frame iframe {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 316%;
  max-width: none;
  height: 100%;
  border: 0;
  transform: translateX(-50%);
}

body.vsl-in-view .sticky {
  opacity: 0;
  pointer-events: none;
}

.vsl-sound {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid rgba(104, 229, 222, .8);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(9, 49, 62, .97), rgba(5, 28, 40, .97));
  box-shadow: 0 0 32px rgba(23, 183, 198, .5), 0 12px 30px rgba(0, 0, 0, .45);
  color: #fff;
  font: 700 14px Inter, Arial, sans-serif;
  cursor: pointer;
}

.vsl-sound[hidden] { display: none; }

.vsl-final-cta {
  width: min(100%, 330px);
  margin-top: 18px;
  animation: vsl-cta-in .55s ease-out both;
}

.vsl-final-cta[hidden] { display: none; }

@keyframes vsl-cta-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .vsl-stage { display: flex; flex-direction: column; gap: 0; }
  .vsl-main { order: -1; width: min(100%, 330px); margin: 0 auto 28px; }
  .vsl-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    width: min(100%, 650px);
    margin: 0 auto 12px;
  }
  .vsl-note { width: 100%; min-height: 126px; padding: 20px; }
  .vsl-note strong { font-size: clamp(17px, 2.2vw, 21px); }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-note,
  .vsl-final-cta { animation: none; }
}

@media (max-width: 760px) {
  .hero picture {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45svh, transparent 59svh);
    mask-image: linear-gradient(to bottom, #000 0%, #000 45svh, transparent 59svh);
  }

  .vsl-content {
    padding-top: 46px;
    padding-bottom: 76px;
  }

  .vsl-content h2 {
    margin-bottom: 30px;
    font-size: clamp(28px, 7vw, 38px);
  }

  .vsl-main { width: 100%; }
  .vsl-frame { border-radius: 18px; }
  .vsl-aside { gap: 10px; margin-bottom: 10px; }
  .vsl-note { min-height: 120px; padding: 17px; border-radius: 15px; }
  .vsl-note__mark { margin-bottom: 12px; }
  .vsl-note strong { font-size: clamp(14px, 3.8vw, 18px); line-height: 1.23; }
  .vsl-note p { margin-top: 5px; font-size: 12px; }
}
