/* Variáveis CSS */
:root {
  --primary-color: #2A2A72;
  --secondary-color: #009FFD;
  --accent-color: #FF0076;
  --text-color: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-light: #2d2d2d;
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Estilos Gerais */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.6;
}

/* Botão de Voltar */
.back-to-home {
  position: fixed;
  top: 20px;
  left: 20px;
  background: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

.back-to-home:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
}

/* Header */
.page-header {
  background: var(--gradient);
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
}

.header-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.header-title .highlight {
  color: var(--accent-color);
}

.header-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

.header-badge {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

/* Seções */
.intro-section {
  padding: 4rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Galeria de Vídeos */
.video-gallery-section {
  padding: 4rem 2rem;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem; /* Espaçamento reduzido */
}

.video-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem; /* Espaçamento entre vídeos */
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* Aspect Ratio 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: none;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
  .video-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Colunas menores */
    gap: 0.5rem; /* Espaçamento menor */
  }

  .video-item {
    margin-bottom: 0.5rem; /* Espaçamento menor */
  }
}

/* Call to Action */
.cta-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-btn {
  background: var(--accent-color);
  color: var(--text-color);
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
}

/* Rodapé */
footer {
  background: var(--bg-light);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Efeito de fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 

/* Mantenha TODOS os estilos existentes e adicione apenas isso: */

/* Ajustes específicos para os Reels do Instagram */
.video-item {
  background: transparent;
  margin: 10px;
  transition: transform 0.3s ease;
}

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

.instagram-media {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  border: none !important;
}

/* Mantenha a responsividade existente */
@media (max-width: 768px) {
  .video-item {
    margin: 8px 0;
  }
  
  .instagram-media {
    min-width: 280px !important;
  }
}