@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* ===================================================
   RESET & RESPONSIVIDADE GLOBAL (MOBILE / TABLET)
=================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===================================================
   1. CARROSSEL PRINCIPAL (BANNER TOP)
=================================================== */
.banner-carousel-container {
  position: relative;
  width: 100%;
}

.owl-carousel1 .item img.desktop {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  display: block;
}

.owl-carousel1 .item img.mobile {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Posicionamento e estilização das barras (Dots) */
.owl-carousel1 .owl-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
  margin: 0 !important;
  width: 100%;
}

.owl-carousel1 .owl-dots .owl-dot {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.owl-carousel1 button.owl-dot {
  width: auto;
}

.owl-carousel1 .owl-dots .owl-dot span {
  display: block;
  width: 120px;
  height: 2px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.4) !important;
  transition: all 0.3s ease;
}

.owl-carousel1 .owl-dots .owl-dot.active span,
.owl-carousel1 .owl-dots .owl-dot:hover span {
  background: #ffffff !important;
  height: 2px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

.setaScroll {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -18px;
  opacity: .3;
}

/* Transições e limites de breakpoints do Banner */
@media (max-width: 575px) {
  .owl-carousel1 .item img.desktop {
    display: none !important;
  }
  .owl-carousel1 .item img.mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 576px) {
  .owl-carousel1 .item img.mobile {
    display: none !important;
  }
  .owl-carousel1 .item img.desktop {
    display: block !important;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .owl-carousel1 .owl-dots .owl-dot span {
    width: 40px !important;
    height: 2px !important;
  }
}

/* ===================================================
   2. SEÇÃO CINEMA & SKELETON
=================================================== */
.section1.cinema {
  background-color: #3b3633 !important;
  font-family: 'Raleway', sans-serif !important;
  padding: 40px 0 60px 0;
  color: #e3b288;
}

.section1.cinema h1 {
  color: #e3b288 !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.skeleton-cinema-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.skeleton-card {
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-box {
  background: linear-gradient(90deg, #2b2725 25%, #47413d 50%, #2b2725 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 2px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-poster { width: 100%; height: 270px; border-radius: 2px; }
.skeleton-meta { width: 55%; height: 10px; background-color: #47413d; }
.skeleton-title { width: 85%; height: 14px; }
.skeleton-button { width: 60%; height: 30px; border-radius: 20px; margin-top: 4px; }

@media (max-width: 768px) {
  .section1.cinema { padding: 30px 15px; }
  .section1.cinema h1 { font-size: 24px; }
  .skeleton-cinema-grid {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .skeleton-card { min-width: 130px; }
  .skeleton-card:nth-child(n+3) { display: none; }
}

/* ===================================================
   3. SEÇÃO "VOCÊ ENCONTRA"
=================================================== */
.voe-encontra-section {
  background-color: #f4f4f4;
  padding: 50px 0;
}

.voe-encontra-title {
  color: #e5a875;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.item-voce-encontra {
  cursor: pointer;
  padding: 0 8px;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; 
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.item-voce-encontra:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.card-title-overlay {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #e5a875;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  padding: 0 10px;
  z-index: 2;
}

#owl-carousel2 .owl-stage {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* ===================================================
   4. SEÇÃO NOVIDADES
=================================================== */
.novidades-section {
  background-color: #ffffff;
  padding: 50px 0;
  font-family: 'Montserrat', sans-serif;
}

.novidades-title {
  color: #e5a875;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.novidades-subtitle {
  color: #999999;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 35px;
}

.card-novidade-box {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-novidade-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.novidade-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f9f9f9;
}

.novidade-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.novidade-footer {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  background-color: #ffffff;
}

.novidade-text {
  font-size: 13px;
  color: #888888;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.novidade-arrow {
  color: #bbbbbb;
  font-size: 16px;
  font-weight: 300;
  flex-shrink: 0;
}

.card-novidade-box:hover .novidade-arrow {
  color: #e5a875;
}

.btn-ver-todas-novidades {
  display: inline-block;
  background-color: #e5a875;
  color: #ffffff !important;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.btn-ver-todas-novidades:hover {
  background-color: #d49561;
}

#owl-carousel3 .owl-stage {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* Flexbox fixes no mobile para carrosséis 2 e 3 */
@media (max-width: 768px) {
  #owl-carousel2 .owl-stage,
  #owl-carousel3 .owl-stage {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  .voe-encontra-title, 
  .novidades-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .btn-ver-todas-novidades {
    display: block;
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    padding: 12px 0;
  }
}