@charset "UTF-8";

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

/* Botão só pra abrir o modal */
#openModalBtn,
#openCarouselModalBtn,
#openThumbsModalBtn,
#openFullVideoModalBtn {
  padding: 10px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

/* Modal (overlay) */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  /* escondido por padrão */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Quando estiver aberto */
.modal.open {
  display: flex;
  flex-direction: column;
}

/* Fundo escuro */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Caixa do modal com tamanho fixo */
.modal-content {
  position: relative;
  background: #01a2fd;
  border-radius: 8px;
  width: 94vw;
  height: 63vh;
  /* TAMANHO FIXO DO MODAL */
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Botão fechar */
.close-btn {
  position: absolute;
  right: 0;
  left: 0;
  bottom: -12%;
  z-index: 99;
  margin: 0 auto;
  background-color: transparent;
  border: none;
  width: 110px;
  height: 110px;
  cursor: pointer;
}

/* Área que "recorta" a imagem */
.image-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  /* fundamental pra manter o tamanho do modal */
  border-radius: 4px;
  background: #000;
  cursor: grab;
}

/* Imagem que vai ser transformada (zoom + arrastar) */
#zoomImage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: none;
  /* deixa a imagem crescer além do wrapper */
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  transition: transform 0.2s ease;
  cursor: grab;
}

/* enquanto arrasta */
.image-wrapper.dragging,
#zoomImage.dragging {
  cursor: grabbing;
  transition: none;
  /* sem animação durante o arraste */
}

/* Dica */
.hint {
  font-size: 18px;
  margin: 0 auto 8px;
  color: #fff;
  z-index: 99;
}

/* Deixa esse modal um pouco mais baixo se quiser */
.carousel-modal-content {
  width: 60%;
  height: auto;
  padding: 24px;
  border: 5px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel-title {
  margin: 0;
  color: white;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
}

/* Área geral do carrossel */
.carousel {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Janela que "recorta" o slide */
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 8px;
}

/* Faixa que se move */
.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  aspect-ratio: 16/9;
}

/* Cada slide ocupa 100% da largura */
.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

/* A imagem dentro do slide */
.carousel-slide img {
  max-width: 100%;
  max-height: 60vh;
  -o-object-fit: contain;
  object-fit: contain;
}

/* Setas */
.carousel-arrow {
  background-color: transparent;
  border: none;
  color: #fff;
  width: 50px;
  height: 157px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Contador tipo "3 / 52" */
.carousel-counter {
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin: 0;
}

/* Botão fechar */
.close-btn-2 {
  position: absolute;
  top: -8%;
  right: -5%;
  z-index: 99;
  margin: 0 auto;
  background-color: transparent;
  border: none;
  width: 110px;
  height: 110px;
  cursor: pointer;
}

/* Tamanho geral do modal desse terceiro caso */
.thumbs-modal {
  width: 1000px;
  max-width: 95vw;
  height: 600px;
  max-height: 90vh;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0094ff;
  /* seu azul claro do print */
  border: 5px solid white;
  border-radius: 20px;
}

/* Título da grade */
.thumbs-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

/* GRID 4 x 3 */
.thumb-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}

/* Card (thumb) – aqui você pode colocar o triângulo de play via background ou pseudo */
.thumb-card {
  background: #0066aa;
  /* azul mais escuro, tipo print */
  border-radius: 12px;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.selecionado {
  background-color: #0046c0;
}

/* Se tiver imagem de thumb real */
.thumb-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Navegação de páginas */
.thumbs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  font-size: 14px;
  color: #ffffff;
}

.thumbs-nav-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.thumbs-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

#thumbPageIndicator {
  min-width: 80px;
  text-align: center;
}

/* Seção de vídeo */
#videoSection {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.back-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}

.video-wrapper {
  flex: 1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#thumbVideo {
  width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 16px;
  background: #001833;
}

/* Esconder/mostrar seções */
.hidden {
  display: none !important;
}

/* Modal específico pro vídeo cheio */
.full-video-modal {
  width: 90%;
  height: auto;
  max-width: 1200px;
  /* opcional */
  max-height: 90vh;
  aspect-ratio: 16/9;
  padding: 0;
  /* vídeo encostando nas bordas internas */
  background: #000;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
}

/* Contêiner do vídeo */
.full-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Vídeo ocupando 100% do modal */
#fullVideo {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
  /* ou "cover" se quiser cortar */
  background: #000;
}

/* Botão de tela cheia (overlay) */
.fullscreen-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* Ajuste do X pra não ficar em cima do vídeo */
.full-video-modal .close-btn {
  z-index: 10;
}

/* Modal específico pro vídeo cheio */
.full-image-modal {
  width: 90%;
  height: auto;
  max-width: 1200px;
  /* opcional */
  max-height: 90vh;
  aspect-ratio: 600/277;
  padding: 0;
  /* vídeo encostando nas bordas internas */
  background: transparent;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  box-shadow: none;
}

/* Contêiner do vídeo */
.full-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Vídeo ocupando 100% do modal */
#fullimage {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
  /* ou "cover" se quiser cortar */
  background: #000;
}

/* Botão de tela cheia (overlay) */
.fullscreen-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* Ajuste do X pra não ficar em cima do vídeo */
.full-image-modal .close-btn {
  z-index: 10;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/*# sourceMappingURL=style.css.map */

.porto-overlay-1,
.porto-overlay-2,
.porto-overlay-3,
.porto-overlay-4 {
  width: 15% !important;
  height: auto !important;

  position: absolute;
}

.porto-overlay-1 {
  top: 5%;
  left: 3%;
}

.porto-overlay-2 {
  top: 5%;
  right: 3%;
}

.porto-overlay-3 {
  bottom: 5%;
  left: 3%;
}

.porto-overlay-4 {
  bottom: 5%;
  right: 3%;
}

.msg-overlay {
  position: absolute;
  top: 27%;
  right: 0;
  left: 0;
  bottom: 0;

  color: white;
  font-size: 20px;
  text-align: center;
  text-shadow: 0 0 15px #000;
  margin: 0;
}

.gif {
  position: absolute;
  bottom: 24%;

  width: 150px !important;
  height: auto !important;
}