* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 16px;
  color: #111827;
}

.container {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  padding: 24px 24px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.92rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.form-group,
fieldset {
  margin-bottom: 16px;
}

label,
legend {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #374151;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

fieldset {
  border: 1px solid #e5e7eb;
  padding: 10px 12px 12px;
  border-radius: 10px;
}

legend {
  padding: 0 4px;
  font-weight: 500;
}

.radio-inline {
  margin-right: 16px;
  font-size: 0.92rem;
  color: #4b5563;
}

.radio-inline input {
  margin-right: 4px;
}

/* Checkbox de consentimento */
.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #4b5563;
}

.checkbox-inline input {
  margin-top: 3px;
}

.checkbox-inline a {
  color: #16a34a;
  text-decoration: underline;
}

/* BOTÃO WHATSAPP */
.btn-primary {
  width: 100%;
  padding: 10px 18px;
  border-radius: 999px;            /* pílula */
  border: none;
  background: #25d366;             /* verde WhatsApp */
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  transition: filter 0.1s ease, transform 0.1s ease,
              box-shadow 0.1s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.35);
}

/* ÍCONE SVG DO WHATSAPP */
.wa-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;   /* ícone branco em cima do verde */
}

/* resto */
.small-text {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
}

.hidden {
  display: none;
}

.cnpj-status {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #4b5563; /* cinzinha */
}

.cnpj-status--ok {
  color: #16a34a; /* verde */
}

.cnpj-status--novo {
  color: #2563eb; /* azul */
}

@media (max-width: 480px) {
  .container {
    padding: 20px 16px 18px;
    border-radius: 14px;
  }
}
