.tab-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0 !important;
  gap: 20px;
}
.tab-menu li {
  padding: 10px;
  cursor: pointer;
  background: #ddd;
  margin-right: 5px;
  border-radius: 5px;
  transition: background 0.3s;
}
.tab-menu li:hover {
  background: #bbb;
}
.tab-menu li.active {
  background: #555;
  color: white;
}
.trailer-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}
.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-embed .tab-menu li {
  list-style-type: none !important;
}
.video-embed .tab-menu .tab-button {
  margin: 0 !important;
}

.trailer-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

#trailer-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}

.consent-overlay p {
  margin: 0;
}

.unblock-video-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Container da Fachada */
.video-embed-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Mantém a proporção de vídeo */
  background-size: cover;
  background-position: center;
  background-color: #000;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px; /* Opcional: para combinar com o layout do seu site */
}

/* Efeito de hover na imagem */
.video-embed-facade:hover {
  filter: brightness(1.1);
}

/* O botão de Play (fundo cinza/escuro) */
.play-button {
  width: 68px;
  height: 48px;
  background-color: rgba(33, 33, 33, 0.8);
  border-radius: 12% / 17%;
  position: relative;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 2;
}

/* Quando passa o mouse, o botão fica vermelho como o do YouTube */
.video-embed-facade:hover .play-button {
  background-color: #f00;
  transform: scale(1.1);
}

/* O triângulo branco do Play */
.play-button:before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
}
