/* WhatsApp FAB — mesmo método Ow Mãe (wa.me + nome + recado humanizado) */
.wa-fab {
  --wa: #25d366;
  --wa-deep: #128c7e;
  position: fixed;
  z-index: 60;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}
.wa-fab__rings {
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  pointer-events: none;
}
.wa-fab__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.wa-fab__ring--delay { animation-delay: 1.1s; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}
.wa-fab__btn {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35);
}
.wa-fab__svg { display: block; }
.wa-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media print {
  .wa-fab, .wa-name { display: none !important; }
}
.wa-fab:focus-visible {
  outline: 3px solid #06b6d4;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab__ring { animation: none; }
}

.wa-name {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 1.25rem;
}
.wa-name.is-open { display: grid; }
.wa-name__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}
.wa-name__dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.45rem 1.4rem 1.5rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.wa-name__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #06b6d4;
}
.wa-name__dialog h3 {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}
.wa-name__field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  font: inherit;
  font-size: 16px;
}
.wa-name__error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #b91c1c;
}
.wa-name__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.wa-name__cancel,
.wa-name__go {
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.wa-name__cancel {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: #334155;
}
.wa-name__go {
  border: 0;
  background: #25d366;
  color: #fff;
}
