﻿.container-companies {
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

#tranding {
  overflow: hidden;
}

#tranding .tranding-slider {
  height: auto;
  padding: 3rem 0;
}

@media (max-width:500px) {
  #tranding .tranding-slider {
    height: 22.5rem;
  }

  .tranding-slide {
    width: 16rem !important;
    height: 17rem !important;
  }

  .logo-company-slide {
    height: 140px;
    padding: 10px;
  }
}

.tranding-slide {
  width: 28.5rem;
  height: 28rem;
  position: relative;
  border-radius: 20px;
}

.tranding-slide .tranding-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.tranding-slide .tranding-slide-content a {
  width: 100%;
  display: flex;
  justify-content: center;
}

#opusenergy-slide {
  background-color: #121212;
}

#popmove-slide {
  background-color: #121212;
}

#agrofix-slide {
  background-color: #121212;
}

#fixxbank-slide {
  background-color: #431A60;
}

#fixxcapital-slide {
  background-color: #ffffff;
}

#chickeninhouse-slide {
  background-color: #D41C21;
}

#agtech-slide {
  background-color: #007F29;
}

#nexxfixx-slide {
  background: linear-gradient(#8A288F, #6A2C91);
}

#ckfoods-slide {
  background: linear-gradient(#E40C1E, #F8AD1A);
}

#staragency-slide {
  background-color: #000000;
}

#mcompany-slide {
  background-color: #660EB8;
}

#fxesquadrias-slide {
  background-color: #000000;
}

#starcorporate-slide {
  background-color: #ffffff;
}


/* Ajustes específicos para as logos problemáticas */
#fixxcapital-slide .logo-company-slide > img {
  width: 300px;
  height: auto;
  max-width: 300px;
  max-height: none;
}

#opusenergy-slide .logo-company-slide > img {
  width: 300px;
  height: auto;
  max-width: 300px;
  max-height: none;
}

#popmove-slide .logo-company-slide > img {
  width: 300px;
  height: auto;
  max-width: 300px;
  max-height: none;
}


.logo-company-slide {
  width: 100%;
  height: 180px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-company-slide > img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.btn-company-slide {
  width: 100%;
}

.btn-company-slide button {
  border: none;
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 16px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #121212;
  background-color: #F5F5F5;
  cursor: pointer;
}

.tranding-slider-control {
  position: relative;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tranding-slider-control .slider-arrow {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: white;
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
  z-index: 5;
  cursor: pointer;
  background-color: #ff8c00;
}

.tranding-slider-control .swiper-pagination {
  position: relative;
  width: 100%;
  z-index: 4;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
  background: #ff8c00;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
}

.tranding-slider-control {
  bottom: 0;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
  background-color: white;
}

.tranding-slider-control .button-prev {
  left: 48.6%;
}

.tranding-slider-control .button-next {
  left: 51.2%;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  top: 15px;
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-prev {
    transform: translateX(-30%) !important;
  }

  .btn-company-slide button {
    font-size: 14px;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .button-prev {
    left: 48%;
  }
  
  .tranding-slider-control .button-next {
    left: 51.6%;
  }

  .btn-company-slide button {
    font-size: 12px;
  }

  .logo-company-slide {
    height: 120px;
    padding: 8px;
  }
}







