/* ===================================
   ESTILOS ESPECÍFICOS - PÁGINA PARCEIROS
   =================================== */

/* ===================================
   BANNER PARCEIROS
   =================================== */
.banner-parceiros {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   TÍTULO E DESCRIÇÃO
   =================================== */
.section-title {
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 300;
  text-transform: uppercase;
  color: #777;
  margin: 0;
  letter-spacing: 2px;
}

.section-title h2 span {
  font-weight: 800;
  color: #555;
}

.section-title p {
  max-width: 800px;
  margin: 30px auto 0;
  font-size: 18px;
  color: #666;
  line-height: 1.8;
}

.section-title p b {
  color: #333;
  font-weight: 600;
}

/* ===================================
   CARROSSEL DE PARCEIROS - ESTEIRA INFINITA
   =================================== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 100px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.partner-img {
  position: absolute;
  width: 200px;
  height: auto;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
  opacity: 0.5;
  transform: scale(0.7) translateZ(-100px);
}

/* Link como imagem do carrossel */
a.partner-img {
  display: inline-block;
  text-decoration: none;
}

a.partner-img img {
  width: 200px;
  height: auto;
  display: block;
}

/* Posições do carrossel */
.partner-img:nth-child(1) {
  left: 10%;
  z-index: 1;
}

.partner-img:nth-child(2) {
  left: 50%;
  transform: translateX(-50%) scale(1.2) translateZ(0);
  z-index: 3;
  opacity: 1;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.partner-img:nth-child(3) {
  right: 10%;
  z-index: 1;
}

.partner-img:nth-child(4) {
  left: -20%;
  opacity: 0;
  z-index: 0;
}

.partner-img:nth-child(5) {
  right: -20%;
  opacity: 0;
  z-index: 0;
}

/* Animação de rotação */
@keyframes rotateCarousel {
  0% {
    transform: translateX(-50%) scale(1.2) translateZ(0);
  }
  100% {
    transform: translateX(-50%) scale(1.2) translateZ(0);
  }
}

/* Navegação */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.carousel-nav:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* ===================================
   RESPONSIVO
   =================================== */
@media (max-width: 768px) {
  .top-bar .block {
    font-size: 16px;
    height: 120px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .carousel {
    gap: 20px;
  }

  .partner-img {
    width: 160px;
  }
}

@media (max-width: 640px) {
  .top-bar .block {
    font-size: 14px;
    height: 100px;
  }

  .section-title {
    margin-top: 60px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 14px;
    padding: 0 20px;
  }

  .carousel {
    margin-bottom: 60px;
  }

  .partner-img {
    width: 140px;
  }
}
