* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f8fafc; /* Azul acinzentado muito mais leve */
  font-family: 'Inter', sans-serif;
  color: #334155; /* Texto principal mais suave, menos agressivo */
  padding: 40px 20px; /* Melhor espaçamento lateral nativo */
}

.container {
  max-width: 1200px; /* Reduzido para melhor proporção */
  margin: auto;
  background: #fff;
  border-radius: 24px; /* Cantos arredondados mais modernos e menos exagerados */
  padding: 50px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03); /* Sombras muito mais sutis */
}

/* HERO */

.hero {

  display: flex;
  gap: 40px;
  align-items: flex-start; /* Alinhado ao topo */
  justify-content: space-between;
  flex-wrap: wrap;

}

/* Força o wrapper da logo a ocupar 100% da largura, empurrando o botão para a extrema direita da tela */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; 
  margin-bottom: 10px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  margin-top: 40px; /* Alinha a imagem com o início do texto */
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 32px; /* Tamanho comercial padrão */
  color: #2563eb;
}

h1 {
  font-size: 48px; /* Reduzido de 70px para melhor legibilidade */
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* CSS do novo botão de login superior */
.btn-login-topo {
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-login-topo:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.line {
  width: 50px;
  height: 4px;
  background: #10b981;
  border-radius: 10px;
  margin: 20px 0;
}

h2 {
  font-size: 32px; /* Reduzido de 48px para hierarquia harmônica */
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

h2 span {
  color: #2563eb;
}

.hero-text p {
  font-size: 18px; /* Reduzido de 22px para cansar menos os olhos */
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* CARDS */

.features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.card {
  background: #f8fafc; /* Fundo leve para destacar do container branco */
  flex: 1;
  min-width: 160px; /* Garante que quebrem corretamente em telas menores */
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 6px;
  font-weight: 600;
}

.card p {
  font-size: 14px !important;
  color: #64748b;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* IMAGEM */

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px; /* Reduzido para equilibrar com o texto */
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* CTA */

.cta-box {
  margin-top: 48px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text h3 {
  font-size: 24px; /* Reduzido de 36px para evitar quebras agressivas */
  color: #16a34a;
  margin-bottom: 8px;
  font-weight: 700;
}

.cta-text p {
  font-size: 16px;
  color: #166534;
}

.btn {
  background: #10b981;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px; /* Proporções mais elegantes de botão */
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* FOOTER */

footer {
  margin-top: 48px;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-item {
  font-size: 15px; /* Ajustado para tamanho padrão de metadados */
  font-weight: 500;
  color: #64748b;
}

.footer-item span {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
}
/* CSS para Alteração 2: Bloco centralizado do WhatsApp */
.footer-whatsapp {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.footer-whatsapp a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #16a34a;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.footer-whatsapp a:hover {
  transform: scale(1.05);
}

.footer-whatsapp .wp-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

/* RESPONSIVO AJUSTADO */

@media(max-width: 768px) {
  body {
    padding: 12px; /* Otimiza espaço em telas de celulares pequenos */
  }

  .container {
    padding: 24px;
    border-radius: 16px;
  }

/* Ajuste do topo no mobile */
  .logo-wrapper {
    flex-direction: row; /* Mantém lado a lado no mobile */
    justify-content: space-between;
    align-items: center;
  }
  .btn-login-topo {
    width: auto;
  }



  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .features {
    flex-direction: column; /* Evita cards esmagados no mobile */
  }

  .card {
    width: 100%;
  }

  .cta-box {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
