body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%
}
.representantes-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto; /* Alterei para 'auto' para evitar cortes no conteúdo */
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  padding: 10px 20px; /* Aumentei um pouco para dar mais respiro */
  margin: 0 auto;
  max-width: 1200px; /* Definir um limite de largura para telas grandes */
  width: 90%; /* Faz com que ele não ocupe 100% da largura da tela */
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;

}

.carrossel-representantes {
  text-align: center;
  padding: 60px 0;
  background: #fdf3eb;
  position: relative;
  background-image: url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg'),url('logo-light.svg');
  background-repeat: no-repeat;
  background-size: 40px 36px;
  background-position: 2% 5%,15% 15%,30% 8%,48% 20%,60% 5%,80% 15%,90% 10%,10% 40%,25% 30%,35% 50%,50% 60%,70% 40%,85% 55%,5% 75%,15% 85%,35% 70%,45% 90%,60% 80%,75% 95%,90% 85%,95% 65%,10% 95%,20% 60%,40% 85%,80% 75%,95% 10%,5% 50%,65% 5%,88% 35%
}
h2 {
  color: #ff5300;
  font-size: 32px;
}
h3 {
  color: #ff5300;
  font-size: 22px;
}
.representante {
  flex-shrink: 0;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  text-align: center;
  transition: transform .3s ease-in-out;
  scroll-snap-align: start;
  width: 240px;
  height: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}
.representante img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px
}
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #e25e2b
}
.seta.esquerda {
  left: 10px
}
.seta.direita {
  right: 10px
}
.representante-info h3,
.representante-info p {
  margin: 10px 0
}
.representante-info h3 {
  min-height: 40%
}
.representante-info p {
  padding-bottom: 10px
}
.representante-info {
  flex-grow: 1
}
/* .representante-info p.representante-email {
  display: none
} */
.representante-btn {
  background-color: #ff5300;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color .3s;
  text-decoration: none;

  margin-top: auto
}
.representante-btn:hover {
  background-color: #e25e2b
}
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px
}
.dot {
  width: 24px;
  height: 2px;
  background: #aaa;
  transition: background .3s ease,transform .2s
}
.dot.active {
  background: #ff5300;
  transform: scale(1.2)
}
@media (max-width:768px) {
  .representantes-slider {
    width: 100%
  }
  .representante {
    width: 100%;
    margin: 10px
  }
  .representante-info h3 {
    min-height: 30%
  }
  .representante-info p {
    padding-bottom: 20px
  }
  .representantes-dots {
    text-align: center
  }
}