/* Container principal */
.container {
  width: 100%;
  background-color: #EFEFEF;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  box-sizing: border-box;
  min-height: 640px;
}

/* Wrapper do banner */
.bannerWrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 600px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

/* Vídeo */
.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  min-height: 600px;
}

/* Overlay de texto */
.textOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40%;
  height: 100%;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Título */
.title {
  font-size: 2rem;
  color: #BB0606;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  min-height: 2.4em;
  font-family: Arial, sans-serif;
  display: block;
}

/* Subtítulo */
.subtitle {
  font-size: 1rem; /* Aumentado de 0.8rem para 1rem */
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.4;
  max-width: 80%;
  min-height: 3.5em; /* Ajustado para o novo tamanho */
  font-family: Arial, sans-serif;
}

/* Botão */
.button {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 2px solid #BB0606;
  border-radius: 8px;
  color: #BB0606;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background-color: #BB0606;
  color: #fff;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
  .container {
    min-height: 740px;
  }

  .bannerWrapper {
    height: 700px;
  }

  .video {
    min-height: 700px;
  }

  .textOverlay {
    bottom: 0;
    top: auto;
    width: 80%;
    height: 40%;
    padding: 20px;
    background-color: rgba(250, 250, 250, 0.3);
    border-top-right-radius: 2em;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }

  .title {
    font-size: 1.5rem;
    min-height: 1.8em;
  }

  .subtitle {
    font-size: 0.875rem; /* Aumentado de 0.7rem para 0.875rem */
    max-width: 100%;
    min-height: 2.6em; /* Ajustado para o novo tamanho */
  }

  .button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}