
.media-container {
  max-width: 1500px;
  margin: 0 auto;
}

.media-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilos da Imagem */
.image-frame {
  width: 477px;
  height: 650px;
  border-radius: 15px;
  overflow: hidden;
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.video-content::-webkit-media-controls-panel {
  background-color: transparent !important;
}
.image-content {
  width: 100%;
  
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;
}

.image-content:hover {
  transform: scale(1.02);
}

/* Estilos do Vídeo */
.video-frame {
  width: 437px;
  height: 650px;
  border-radius: 15px;
  
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame:hover {
  transform: translateY(-5px);
  
}

.video-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;
  
}

.video-content:hover {
  transform: scale(1.02);
}


/* Responsividade para Tablets */
@media (max-width: 992px) {
  .media-container {
    max-width: 900px;
  }

  .image-frame,
  .video-frame {
    width: 380px;
    height: 480px;
  }
}

/* Responsividade para Tablets Pequenos */
@media (max-width: 768px) {
  .media-container {
    gap: 2rem !important;
  }

  .image-frame,
  .video-frame {
    width: 320px;
    height: 400px;
  }

  .media-label {
    font-size: 1.1rem;
  }

  .media-section {
    padding: 3rem 0;
  }
}

/* Responsividade para Mobile */
@media (max-width: 576px) {
  .image-frame,
  .video-frame {
    width: 280px;
    height: 350px;
    padding: 6px;
  }

  .media-label {
    font-size: 1rem;
  }

  .media-container {
    gap: 1.5rem !important;
  }

  .media-section {
    padding: 2rem 0;
  }
}

/* Mobile muito pequeno */
@media (max-width: 320px) {
  .image-frame,
  .video-frame {
    width: 250px;
    height: 315px;
  }
}

/* Melhorias de acessibilidade */
.image-content:focus,
.video-content:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-item {
  animation: fadeInUp 0.8s ease forwards;
}

.media-item:nth-child(1) {
  animation-delay: 0.2s;
}

.media-item:nth-child(2) {
  animation-delay: 0.4s;
}

/* Garantir que o vídeo mantenha proporção */
.video-content {
  min-width: 100%;
  min-height: 100%;
}

/* Fallback para navegadores que não suportam object-fit */
@supports not (object-fit: cover) {
  .image-content,
  .video-content {
    width: auto;
    height: 100%;
    max-width: 100%;
  }
}

/* Otimizações para impressão */
@media print {
  .media-section {
    background: white !important;
    
  }

 