/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333333;
  line-height: 1.6;
}

/* Cabeçalho – fundo claro fixo no topo */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent; /* Mantém o fundo transparente sobre o hero */
  padding: 20px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  height: 40px;
}

/* Ícone do menu hamburger */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  border-radius: 20px;
  padding: 8px 12px;
}

nav a:hover {
  background: rgba(63, 186, 84, 0.2);
  color: #3fba54;
}

/* Botões de teste e login no menu */
.btn-teste {
  background: #3fba54;
  color: #ffffff !important;
}

.btn-login {
  border: 1px solid #3fba54;
  color: #3fba54 !important;
}

/* Seção Hero */
.hero-section {
  position: relative;
  background: url('hero-bg-light.jpg') no-repeat center center; /* Altere a imagem conforme desejar */
  background-size: cover;
  padding: 150px 20px;
  text-align: center;
  color: #333;
  min-height: 500px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
  color: #333333;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #555555;
}

.hero-content .subtext {
  margin-bottom: 40px;
  font-size: 1rem;
  color: #777777;
}

.cta-button {
  background: #3fba54;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background: #35a84c;
}

/* Seção Sobre */
.sobre-section {
  padding: 80px 20px;
  text-align: center;
}

.sobre-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.sobre-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.sobre-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.5;
}

.sobre-section img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Seção de Planos */
.pricing-section {
  padding: 80px 20px;
  text-align: center;
}

.pricing-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.pricing-section p {
  margin-bottom: 40px;
  color: #666;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Efeito de borda animada (similar ao do wzap-api) */
.card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3fba54, transparent, #3fba54, transparent);
  background-size: 400%;
  z-index: -1;
  filter: blur(4px);
  border-radius: 10px;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ticket {
  position: absolute;
  top: 15px;
  right: -15px;
  background: #3fba54;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  transform: rotate(15deg);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #3fba54;
}

.price {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.price span {
  font-size: 1rem;
  color: #777;
}

.instancias {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #999;
}

.card ul {
  list-style: none;
  margin-bottom: 20px;
  text-align: left;
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: #555;
  font-size: 0.95rem;
}

.card-btn {
  background: #3fba54;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s;
  text-decoration: none;
}

.card-btn:hover {
  background: #35a84c;
}

/* Informação de Pagamento */
.payment-info {
  margin-top: 30px;
}

.payment-info p {
  color: #666;
}

/* Seção FAQ */
.faq-section {
  padding: 80px 20px;
  background: #ffffff;
}

.faq-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #3fba54;
  font-size: 1.1rem;
  text-align: left;
  padding: 10px 0;
  cursor: pointer;
  outline: none;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 10px 0;
  color: #555;
}

/* Seção CTA */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: #f5f5f5;
}

.cta-section .container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-form input {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-enviar {
  padding: 14px;
  background: #3fba54;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background: #35a84c;
}

/* Rodapé */
footer {
  background: #ffffff;
  padding: 40px 20px;
  color: #666;
  border-top: 1px solid #eee;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  color: #333;
}

.footer-column p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-column strong {
  color: #3fba54;
}

.payments {
  text-align: right;
}

.payments img {
  max-width: 150px;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Exibe o hamburger e oculta o menu padrão em mobile */
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #f5f5f5;
    transition: right 0.3s ease;
    z-index: 1100;
    padding-top: 60px;
  }

  nav ul {
    flex-direction: column;
    padding: 0 20px;
  }

  nav li {
    margin: 15px 0;
  }

  /* Quando o menu estiver ativo */
  nav.active {
    right: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .subtext {
    font-size: 0.9rem;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    margin: 0 auto;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .payments {
    text-align: center;
  }
}
