:root {
  --primaria: #1b3a57;
  --secundaria: #f9c74f;
  --fundo: #ffffff;
  --cinza-claro: #f0f0f0;
  --texto: #222222;
  --verde-wpp: #25d366;
  --desconto: #25d366;
  --desconto-red: #d62828;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--fundo);
  color: var(--texto);
  line-height: 1.6;
}

header {
  background-color: var(--primaria);
  color: white;
  padding: 0px 20px 0px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.btn-wpp {
  background-color: var(--verde-wpp);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 20px 20px 0px 20px;
  background: linear-gradient(to bottom, #f7f7f7, #fff);
}

.hero h2 {
  font-size: 28px;
  color: var(--primaria);
}

.hero p {
  font-size: 18px;
  margin: 15px 0;
}

.hero .cta {
  background-color: var(--secundaria);
  padding: 12px 30px;
  border-radius: 25px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.section {
  padding: 40px 122px;
  max-width: 1200px;
  margin: auto;
}

.section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primaria);
}

.carousel-container {
  position: relative;
  overflow: visible;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 30px 10px 10px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card,
.testimonial-card {
  scroll-snap-align: start;
}

.card {
  background-color: var(--cinza-claro);
  border-radius: 10px;
  padding: 15px;
  flex: 0 0 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.card iframe {
  width: 100%;
  height: 170px;
  border: none;
  border-radius: 10px;
  pointer-events: auto;
  z-index: 2;
  position: relative;
}

iframe {
  touch-action: manipulation;
}

.card h4 {
  margin-top: 10px;
  font-size: 18px;
  color: var(--primaria);
}

.card p {
  font-size: 14px;
  margin: 5px 0;
}

.preco-original {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}

.preco-desconto {
  color: black;
  /* font-weight: bold; */
  font-size: 24px;
}

.porcentagem {
  color: var(--desconto);
  /* font-weight: bold; */
  font-size: 12px !important;
}

.urgente {
  color: var(--desconto-red);
  font-weight: bold;
  font-size: 14px;
}

.card .btn-wpp {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 80px);
  left: -48px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
}

.carousel-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-buttons button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
  .section {
    padding: 40px 30px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .card,
  .testimonial-card {
    flex: 0 0 85vw !important;
  }

  .carousel-buttons {
    max-width: 90vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-wpp,
  .hero .cta {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.bloco-info {
  background-color: var(--cinza-claro);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
}

.bloco-info h4 {
  margin-bottom: 10px;
  color: var(--primaria);
}

.bloco-info ul {
  list-style: disc;
  margin-left: 20px;
}

footer {
  background-color: var(--primaria);
  color: white;
  text-align: center;
  padding: 30px 10px;
  font-size: 14px;
}

.testimonial-card {
  background: var(--cinza-claro);
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
  flex: 0 0 300px;
}
