.Banner-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  max-height: 772px;

  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #110f35;
    opacity: 0.8;
    z-index: 1;
  }

  .banner-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%; /* Largura total do iframe */
      height: 100%; /* Altura total do iframe */
      transform: translate(-50%, -50%); /* Centraliza o vídeo */
      min-width: 100%; /* Garantir que a largura mínima é 100% */
      min-height: 100%; /* Garantir que a altura mínima é 100% */
      object-fit: cover; /* Faz o vídeo cobrir todo o contêiner sem distorção */
    }
  }

  .header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);

    p {
      color: #e2e2e2;
      text-align: center;
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      padding-bottom: 40px;
      margin: 0 auto;
      max-width: 495px;
    }

    .Title {
      font-size: 48px;
      line-height: 120%;
      color: #fff;
      max-width: 489px;
      margin: auto;
      margin-bottom: 16px;
    }

    .Button {
      height: 52px;
      padding: 0 24px;
    }
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 100%;
    max-height: 144px;
    width: 100%;
    background: linear-gradient(180deg, rgba(17, 15, 53, 0) 0%, #110f35 100%);
  }
}

@media (min-width: 300px) and (max-width: 768px) {
  .Banner-video {
    height: 26vh;

    .header-content {
      p {
        font-size: $text-sm;
        margin-bottom: 10px;
      }

      .Title {
        font-size: $title-lg;
        max-width: 300px;
        line-height: 32px;
      }
    }
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .Banner-video {
    height: 44vh;
  }
}

@media (min-width: 1025px) and (max-width: 1920px) {
  .Banner-video {
    height: 80vh;
  }
}
