/* Hero Carousel Section */
.produto-hero.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: 0rem 0 4rem;
  min-height: 40vh;
  background: linear-gradient(
    90deg,
    var(--cor-quartenaria),
    var(--cor-quintenaria)
  );
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 400px;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(50px);
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  z-index: 2;
}

.banner-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.banner-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: white;
  color: var(--cor-primaria);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--cor-secundaria);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--cor-primaria);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Navigation Dots */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid white;
  color: var(--cor-primaria);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
  background: white;
  color: var(--cor-primaria);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-arrow.prev {
  left: 2rem;
}

.carousel-arrow.next {
  right: 2rem;
}

/* Valor Digital Section */
.valor-digital {
  padding: 4rem 2rem;
  background: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.valor-digital h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--cor-titulo);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.beneficio-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.beneficio-icon {
  background: var(--cor-primaria);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.beneficio-card h3 {
  color: var(--cor-titulo);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.beneficio-card p {
  color: var(--cor-texto);
  line-height: 1.6;
}

/* Nossos Clientes Section */
.nossos-clientes {
  padding: 4rem 2rem;
  background: var(--card-bg);
}

.nossos-clientes h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--cor-titulo);
}

.clientes-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--cor-texto);
  font-size: 1.1rem;
}

/* Carrossel de Clientes - Copiado da Home */
.clientes-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  max-width: 1200px;
  min-height: 70vh;
  overflow: visible;
}

.carousel-btn {
  background: var(--cor-primaria);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-btn.left {
  left: -60px;
}

.carousel-btn.right {
  right: -60px;
}

.carousel-btn:hover {
  background: var(--cor-secundaria);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1160px;
  max-width: 100vw;
  position: relative;
  perspective: 1200px;
  min-height: 70vh;
  gap: 0;
  margin: 0 auto;
}

.cliente-card {
  min-width: 400px;
  max-width: 400px;
  margin: 0;
  opacity: 0;
  transform: scale(0.7) translateX(0) rotateY(0deg);
  z-index: 1;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s,
    left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cliente-card.carousel-center {
  opacity: 1;
  transform: scale(1.08) translateX(-50%) rotateY(0deg);
  z-index: 3;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  pointer-events: auto;
  left: 50%;
  border: 1px solid var(--cor-primaria);
}

.cliente-card.carousel-left {
  opacity: 1;
  transform: scale(0.85) translateX(-170%) translateY(20px) rotateY(15deg);
  z-index: 2;
  pointer-events: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  left: 50%;
}

.cliente-card.carousel-right {
  opacity: 1;
  transform: scale(0.85) translateX(50%) translateY(20px) rotateY(-15deg);
  z-index: 2;
  pointer-events: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  left: 50%;
}

.cliente-card.carousel-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7) translateX(0) rotateY(0deg);
  z-index: 1;
  left: 50%;
}

.cliente-img {
  width: 100%;
  height: 55vh;
  min-height: 400px;
  max-height: 650px;
  object-fit: cover;
  object-position: top;
}

.cliente-info {
  padding: 1.5rem;
  text-align: center;
}

.cliente-info h4 {
  color: var(--cor-titulo);
  font-size: 1.2rem;
}

.cliente-info p {
  margin-bottom: 1rem;
  color: var(--cor-titulo);
  font-size: 1rem;
}

.btn-visitar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--cor-primaria);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.3s ease;
  font-weight: 500;
}

.btn-visitar:hover {
  background: var(--cor-secundaria);
}

/* Estilos para os toggles duplos */
.preco-switch-secundario {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.preco-switch-secundario.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

/* Estilos para os diferentes tipos de preço */
.preco-valor {
  display: none;
  text-align: center;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.preco-valor.active {
  display: flex;
  flex-direction: column;
  border: 2px solid;
  padding: 20px;
  border-radius: 11px;
}

.preco-valor.compra-unica {
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--cor-primaria),
    var(--cor-secundaria)
  );
  border-radius: var(--radius);
  color: white;
}

.preco-valor.compra-unica .valor {
  color: white;
}

.preco-valor.compra-unica .periodo {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.parcelamento {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  font-style: italic;
}

.juros {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
  font-style: normal;
  line-height: 1.2;
}

/* Estilos para parcelamento anual */
.parcelamento-anual {
  font-size: 0.8rem;
  color: var(--cor-texto);
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.8;
}

.juros-anual {
  font-size: 0.7rem;
  color: var(--cor-texto);
  margin-top: 0.3rem;
  font-style: normal;
  line-height: 1.2;
  opacity: 0.7;
}

/* Estilos personalizados para os toggles */
.produto-precos .slider {
  background-color: var(--cor-primaria) !important;
}

.produto-precos input:checked + .slider {
  background-color: var(--cor-primaria) !important;
}

.produto-precos input:not(:checked) + .slider {
  background-color: var(--cor-primaria) !important;
}

/* Controle de exibição das listas de recursos */
.preco-recursos {
  display: none;
}

.preco-recursos.active {
  display: block;
}

/* Destaque para itens diferenciais */
.item-diferencial {
  color: var(--cor-primaria) !important;
  font-weight: bold !important;
  position: relative;
}

.item-diferencial::before {
  color: var(--cor-primaria) !important;
  font-weight: bold !important;
}

/* CTA Final */
.cta-final {
  background: linear-gradient(
    135deg,
    var(--cor-primaria),
    var(--cor-secundaria)
  );
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 2.5rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-cta-final:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* Box de Aviso */
.aviso-templates {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  padding: 0 2rem;
}

.aviso-content {
  background: var(--card-bg);
  border: 2px solid var(--cor-primaria);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.aviso-content:hover {
  box-shadow: var(--shadow-md);
}

.aviso-content i {
  color: var(--cor-primaria);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.aviso-text {
  color: var(--cor-texto);
  font-size: 1rem;
  line-height: 1.5;
}

.aviso-text strong {
  color: var(--cor-titulo);
  font-weight: 600;
}

/* Responsividade para a box de aviso */
@media (max-width: 768px) {
  .aviso-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .aviso-content i {
    font-size: 1.3rem;
  }

  .aviso-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .aviso-templates {
    padding: 0 1rem;
  }

  .aviso-content {
    padding: 1rem;
  }

  .aviso-text {
    font-size: 0.9rem;
  }
}

/* Responsividade Carrossel */
@media (max-width: 1100px) {
  .carousel-track {
    width: 100vw;
  }
  .cliente-card,
  .cliente-card.carousel-center,
  .cliente-card.carousel-left,
  .cliente-card.carousel-right {
    min-width: 320px;
    max-width: 320px;
  }
}

@media (max-width: 900px) {
  .clientes-carousel {
    max-width: 100vw;
  }
  .carousel-track {
    width: 100vw;
  }
  .cliente-card,
  .cliente-card.carousel-center,
  .cliente-card.carousel-left,
  .cliente-card.carousel-right {
    min-width: 280px;
    max-width: 280px;
  }
  .carousel-btn.left {
    left: 10px;
  }
  .carousel-btn.right {
    right: 10px;
  }
}

/* Responsividade do Hero Carousel */
@media (max-width: 1200px) {
  .produto-hero.hero-carousel {
    min-height: 55vh;
    padding: 5rem 0 3.5rem;
  }

  .carousel-container {
    height: 55vh;
    min-height: 380px;
  }

  .banner-text h1 {
    font-size: 2.4rem;
  }

  .banner-text p {
    font-size: 1.05rem;
  }

  .carousel-arrow {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .carousel-arrow {
    top: 70%;
  }

  .produto-hero.hero-carousel {
    min-height: 50vh;
    padding: 0;
  }

  .carousel-container {
    height: 50vh;
    min-height: 350px;
  }

  .banner-content {
    padding: 1rem;
  }

  .banner-text {
    max-width: 100%;
    padding: 1rem;
  }

  .banner-text h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .banner-text p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .banner-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    min-width: 180px;
    justify-content: center;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }

  .carousel-arrow.prev {
    left: 1rem;
  }

  .carousel-arrow.next {
    right: 1rem;
  }

  .carousel-dots {
    bottom: 1rem;
  }

  .dot {
    width: 12px;
    height: 12px;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .clientes-carousel {
    max-width: 100vw;
    min-height: 10vh;
  }
  .carousel-track {
    width: 100vw;
    min-height: 45vh;
  }
  .cliente-card,
  .cliente-card.carousel-center,
  .cliente-card.carousel-left,
  .cliente-card.carousel-right {
    min-width: 260px;
    max-width: 260px;
  }
  .cliente-card.carousel-left {
    transform: scale(0.75) translateX(-120%) translateY(15px) rotateY(10deg);
  }
  .cliente-card.carousel-right {
    transform: scale(0.75) translateX(20%) translateY(15px) rotateY(-10deg);
  }

  .valor-digital h2,
  .nossos-clientes h2,
  .cta-final h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cliente-card,
  .cliente-card.carousel-center,
  .cliente-card.carousel-left,
  .cliente-card.carousel-right {
    min-width: 220px;
    max-width: 220px;
  }
  .cliente-card.carousel-left {
    transform: scale(0.7) translateX(-100%) translateY(10px) rotateY(8deg);
  }
  .cliente-card.carousel-right {
    transform: scale(0.7) translateX(0%) translateY(10px) rotateY(-8deg);
  }

  .cliente-img {
    min-height: 250px;
    height: 30vh;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}
