/* ================================================================
   Conceito – Formulário WhatsApp  |  form.css  v1.1.0
   ================================================================ */

#cwaf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}
#cwaf-overlay.cwaf-visible { display: flex; }

#cwaf-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: cwaf-up .22s ease;
  box-sizing: border-box;
}
@keyframes cwaf-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

#cwaf-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 24px; line-height: 1;
  color: #888; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
  transition: color .15s, background .15s;
}
#cwaf-close:hover { color: #333; background: #f0f0f0; }

#cwaf-title {
  margin: 0 0 6px;
  font-size: 20px; font-weight: 700;
  color: #1a1a1a; line-height: 1.3;
}
#cwaf-subtitle {
  margin: 0 0 24px;
  font-size: 14px; color: #666; line-height: 1.5;
}

.cwaf-field { margin-bottom: 14px; }

.cwaf-field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  color: #1a1a1a;
  background: #fafafa;
}
.cwaf-field input:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37,211,102,.18);
  background: #fff;
}

.cwaf-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #d63031;
  min-height: 16px;
}

#cwaf-submit {
  display: flex;
  align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 10px;
  padding: 13px 20px;
  background: #25d366; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  box-sizing: border-box;
}
#cwaf-submit::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.116.552 4.105 1.519 5.833L0 24l6.335-1.493A11.93 11.93 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm6.012 16.484c-.252.708-1.474 1.354-2.027 1.441-.524.082-1.179.116-1.903-.118-.44-.143-1.005-.333-1.73-.65-3.041-1.31-5.026-4.363-5.176-4.566-.15-.203-1.224-1.628-1.224-3.108 0-1.481.774-2.208 1.049-2.51.275-.301.6-.376.8-.376.2 0 .4.002.575.01.185.008.432-.07.676.516.252.607.854 2.09.929 2.241.075.15.125.326.025.526-.1.2-.15.326-.3.501-.15.176-.316.393-.45.528-.15.15-.306.312-.132.612.175.3.776 1.28 1.665 2.073 1.144 1.02 2.109 1.334 2.409 1.484.3.15.476.125.651-.075.175-.2.75-.874 1.05-1.174.175-.2.35-.15.575-.075.225.075 1.424.67 1.668.793.244.125.407.186.47.288.062.103.062.593-.19 1.168z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
#cwaf-submit:hover:not(:disabled) { background: #1ebe5c; transform: translateY(-1px); }
#cwaf-submit:active:not(:disabled) { transform: translateY(0); }
#cwaf-submit:disabled { opacity: .65; cursor: not-allowed; }

@media (max-width: 480px) {
  #cwaf-modal { padding: 28px 20px 24px; border-radius: 12px; }
  #cwaf-title  { font-size: 18px; }
}
