/* Carrossel Horizontal */
.carrossel-cp {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin: 16px 0;
}

.carrossel-cp .item {
  flex: 0 0 auto;
  width: 100%;
  max-width: 233px;
  height: auto;
  scroll-snap-align: center;
  margin: 8px;
  transition: 0.2s ease-in-out;
}

.carrossel-cp .item a img {
  border-radius: 16px;
  background-color: #F5E5D8;
  width: 100%;
  height: auto;
}

.carrossel-cp .item:hover {
  transform: scale(1.02);
}

.carrossel-cp::-webkit-scrollbar {
  height: 8px;
  background-color: #F5E5D8;
  border-radius: 8px;
}

.carrossel-cp::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 5px;
}

.carrossel-cp::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-primary-blue);
}

.item-description {
  color: var(--color-font-defeault);
  margin: 8px 0;
  font-size: 14px;
}

.item-description p {
  font-size: 14px !important;
}

.scroll-h-icon {
  width: 100%;
  height: auto;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

/* Seção de mídia (vídeo + imagens laterais) */
.mid-media-section {
  width: 100%;
  padding: 48px 0;
  background-color: #F5E5D8;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
  min-height: 300px;
}

.mid-media-container {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1280px;
  width: 100%;
  padding: 0 16px;
}

/* Imagens laterais (desktop) */
.mid-image {
  width: 280px;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* Vídeo central (desktop) */
.video-box {
  width: 360px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsivo (mobile) */
@media screen and (max-width: 768px) {
  .mid-media-container {
    flex-direction: column;
    gap: 24px;
  }

  .mid-image {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .video-box {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .video-box iframe {
    height: 100%;
  }
}