/* Section Pneus - Carrossel Automático */
.section-pneus {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../../back-peneu.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}

.content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 0 2rem;
  position: relative;
  gap: 3rem;
  z-index: 1; /* Garantir que o conteúdo fique acima do background */
}

.left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 0;
  min-width: 250px;
  max-width: 100%;
}

.content ul {
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  color: var(--text-light);
  margin: 0;
  padding: 0;
  padding-right: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.content ul li {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.5s ease;
  cursor: default;
  color: var(--text-light);
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

.content ul li.active {
  color: var(--primary-color);
}

.content .right {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.right .slide {
  position: absolute;
  width: 100%;
  max-width: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  transform-origin: center center;
  pointer-events: none;
}

.right .slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.right .slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 80vh;
}

.right .slide.center {
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .left-content {
    width: 100%;
    min-width: auto;
    max-width: 100%;
  }

  .content ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: clamp(0.85rem, 1.8vw, 1.3rem);
  }

  .content ul li {
    letter-spacing: 0.05em;
    padding: 0.25rem 0;
  }

  .pneus-cta-button {
    text-align: center;
    margin-top: 1rem;
    padding-right: 0;
  }

  .right .slide {
    max-width: 700px;
  }

  .right .slide img {
    max-height: 70vh;
  }
}

/* Mobile - Replica Desktop com ajustes apenas para escritas */
@media (max-width: 768px) {

  .section-pneus {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../../back-peneu.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }


  .section-pneus {
    overflow-x: hidden;
  }

  .content {
    padding: 0 0.5rem;
    gap: 0.2rem;
  }

  .left-content {
    min-width: auto;
    padding-right: 0.5rem;
  }

  .content ul {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    padding-right: 1.2rem;
    gap: 1rem;
  }

  .content ul li {
    letter-spacing: 0.05em;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .pneus-cta-button {
    padding-right: 1rem;
    margin-top: 1rem;
  }

  .pneus-cta-button .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
  }

  .right .slide {
    max-width: 600px;
  }

  .right .slide img {
    max-height: 60vh;
  }
}

@media (max-width: 480px) {

  .section-pneus .content {
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../../back-peneu.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  .content {
    padding: 0 1.5rem;
    gap: 1.2rem;
  }

  .left-content {
    padding-right: 0.5rem;
    min-width: 150px;
  }

  .content ul {
    font-size: clamp(0.65rem, 2.5vw, 0.8rem);
    padding-right: 0.5rem;
    gap: 0.5rem;
  }

  .content ul li {
    letter-spacing: 0.03em;
    line-height: 1.3;
  }

  .pneus-cta-button {
    padding-right: 0.5rem;
    margin-top: 1rem;
  }

  .pneus-cta-button .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* CTA Button */
.pneus-cta-button {
  margin-top: 0.1rem;
  padding-right: 0.2rem;
}

.pneus-cta-button .btn {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
