/* Carrossel base */
.carousel-section {
  margin: 40px 0;
  text-align: center;
}
.carousel-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: visible;
}
.carousel-track {
  display: flex;
  justify-content: center;
  width: auto;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(.4,1.3,.5,1);
}
.carousel-card {
  cursor: pointer;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  width: 700px;
  opacity: 0.7;
  background: #fff;
  overflow: hidden;
  border: 3px solid transparent;
 
    
  

}



.carousel-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Instagram/TikTok formato vertical */
.carousel-section.instagram .carousel-card,
.carousel-section.tiktok .carousel-card {
  width: 320px;
  height: 490px;
  
  
  
}
.carousel-section.instagram .carousel-card img,
.carousel-section.tiktok .carousel-card img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  
  
}

/* YouTube formato horizontal */
.carousel-section.youtube .carousel-card {
  width: 440px;
  height: 300px;
}
.carousel-section.youtube .carousel-card img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Destaque do card central */
.carousel-card.active {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  opacity: 1;
  
  z-index: 2;
}

/* Botões modernos */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  color: #222;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: #f0f0f0;
}
.carousel-btn.prev { left: -24px; }
.carousel-btn.next { right: -24px; }

/* Dots */
.carousel-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots span {
  display: block;
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  transition: background 0.2s;
  cursor: pointer;
}
.carousel-dots span.active {
  background: var( --primary-color);
}

/* ...existing code... */

/* ...existing code... */

/* ...existing code... */

@media (max-width: 998px) {
  .carousel-container {
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    
    
  }
  .carousel-track {
    gap: 0;
    width: 100%;
    justify-content: flex-start !important; /* Garante alinhamento à esquerda */
    align-items: stretch !important;
  }
  .carousel-card {
    min-width: 100vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 480px;
    
  }

 

  #img-insta {
    width: 100%;
    height: 100%;
    object-fit: cover;

  }

  .carousel-container.tiktokContainer{
    display: flex;
    justify-content: center;
    
  }

  
  .carousel-section.instagram .carousel-card,
  .carousel-section.tiktok .carousel-card
  {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 580px ;
  }

  .carousel-section.youtube .carousel-card {
  width: 150px;
  height: 230px;
}
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }

  .carousel-dots{
    margin-bottom: 2%;

  }
}