/* ============================================================
   Studio Connecta Arch — Popup de captura antes do WhatsApp
   Mesma estrutura/lógica do #waModal do site oficial, na
   identidade da Arch: Work Sans, dourado #85754E, flat/cantos
   retos, base clara. Botão de ação em verde WhatsApp (affordance).
   Escopo sob .awa-modal para não vazar no tema Avada.
   ============================================================ */
.awa-modal {
  --awa-gold: #85754E;
  --awa-ink: #2c2f33;
  --awa-body: #656a70;
  --awa-line: #d7d5cf;
  --awa-wa: #25d366;
  --awa-wa-deep: #1fb457;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
}
.awa-modal[hidden] { display: none; }
.awa-modal *, .awa-modal *::before, .awa-modal *::after { box-sizing: border-box; }

.awa-overlay { position: absolute; inset: 0; background: rgba(20,19,16,.6); backdrop-filter: blur(3px); }
.awa-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--awa-line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  padding: 26px 26px 24px;
  animation: awa-in .3s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes awa-in { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }

.awa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.awa-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--awa-ink);
}
.awa-brand svg { width: 22px; height: 22px; fill: var(--awa-wa); }
.awa-close {
  border: 0; background: transparent; cursor: pointer;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  color: var(--awa-body); border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.awa-close:hover { background: #f1efe9; color: var(--awa-ink); }
.awa-close svg { width: 17px; height: 17px; fill: currentColor; }

.awa-lead {
  font-size: 13.5px; line-height: 1.5; color: var(--awa-body);
  margin: 0 0 18px;
}

.awa-field { margin-bottom: 12px; }
.awa-modal input[type=text],
.awa-modal input[type=email],
.awa-modal input[type=tel] {
  width: 100%;
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  color: var(--awa-ink);
  background: #fff;
  border: 1px solid var(--awa-line);
  border-radius: 0;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.awa-modal input::placeholder { color: #a7a49c; }
.awa-modal input:focus {
  outline: none;
  border-color: var(--awa-gold);
  box-shadow: 0 0 0 1px var(--awa-gold);
}
.awa-modal input.invalid,
.awa-modal input.invalid:focus {
  border-color: #b23b3b;
  box-shadow: 0 0 0 1px #b23b3b;
}

.awa-error {
  margin: 2px 0 12px;
  font-size: 12.5px; line-height: 1.5; color: #b23b3b;
  border-left: 2px solid #b23b3b; padding-left: 10px;
}

.awa-submit {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: var(--awa-wa);
  border: 0; border-radius: 0;
  padding: 15px 20px; cursor: pointer;
  transition: background .2s ease;
  margin-top: 4px;
}
.awa-submit:hover { background: var(--awa-wa-deep); }
.awa-submit svg { width: 20px; height: 20px; fill: #fff; }

.awa-foot {
  margin: 12px 0 0;
  font-size: 11px; line-height: 1.5; color: #9a978f; text-align: center;
}

@media (max-width: 480px) {
  .awa-card { padding: 22px 18px 20px; }
}
