/* ==========================================================================
   VOOS QUE MARCAM — INCORPORAÇÃO ESCURA E INTEGRADA DO INSTAGRAM
   Arquivo: /css/voos.css
   ========================================================================== */

.voos-dark-section {
  position: relative;
  width: 100%;
  background-color: #030303;
}

/* Moldura Exclusivamente Escura Integrada (100% Dark Theme) */
.voos-dark-container {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

/* Cabeçalho do Perfil Escuro */
.voos-profile-dark-header {
  padding: 1.5rem;
  background: linear-gradient(180deg, #09090b 0%, #000000 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .voos-profile-dark-header {
    padding: 2.25rem;
  }
}

/* Anel de gradiente do Story Oficial */
.voos-story-ring {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 2.5px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.voos-story-inner {
  background-color: #000000;
  border-radius: 9999px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Barra de Título Única: Últimos Vídeos / Trabalhos (Sem aba Reels) */
.voos-section-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #000000;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Grade de Publicações Escura com Proporção Vertical 9:16 (Sem cortes) */
.voos-dark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background-color: #000000;
  padding: 8px;
}

@media (min-width: 640px) {
  .voos-dark-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
  }
}

.voos-grid-item {
  position: relative;
  aspect-ratio: 9 / 16;
  background-color: #0d0d12;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.voos-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.96);
}

.voos-grid-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Overlay Escuro com Título e Ação nos Cards Verticais */
.voos-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  padding: 1.5rem 1rem;
  text-align: center;
}

.voos-grid-item:hover .voos-dark-overlay {
  opacity: 1;
}

/* Modal In-Site Totalmente Escuro (Dark Mode) */
.voos-dark-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: voosDarkModalFade 0.2s ease forwards;
}

@keyframes voosDarkModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
