#whatsappfoco {
  width: 100%;
  height: 100%;
  background: rgba(19, 20, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  z-index: 850;
  left: 0;
  top: 0;
  display: none;
}

.whatsappmautic {
  --nmc-wa-azure: #C6A664;
  --nmc-wa-azure-600: #A9893F;
  --nmc-wa-azure-300: #D9BE82;
  --nmc-wa-next: #25D366;
  --nmc-wa-ink: #1B1D21;
  --nmc-wa-muted: #8aa0ad;
  --nmc-wa-display: "Sora", system-ui, sans-serif;
  --nmc-wa-text: "Manrope", system-ui, sans-serif;
  --nmc-wa-mono: "Manrope", ui-monospace, monospace;
}

.whatsappmautic .formulariomautic {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
  display: none;
  background: #131417;
  border-radius: 18px;
  border: 1px solid rgba(198, 166, 100, 0.28);
  box-shadow: 0 22px 60px rgba(19, 20, 23, 0.55), 0 0 40px rgba(198, 166, 100, 0.16);
  font-family: var(--nmc-wa-text);
  color: #eaf2f7;
}

.whatsappmautic .formulariomautic.is-open,
body.nmc-wa-open .whatsappmautic .formulariomautic {
  display: block !important;
}

body.nmc-wa-open #whatsappfoco,
#whatsappfoco.is-open {
  display: block !important;
}

.nmc-wa-head {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 14px;
  background: linear-gradient(160deg, #1B1D21 0%, #131417 48%, #25282E 100%);
}

.nmc-wa-glow {
  position: absolute;
  top: -40%;
  right: -18%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(198, 166, 100, 0.28) 0%, rgba(37, 211, 102, 0.08) 42%, transparent 70%);
  pointer-events: none;
}

.nmc-wa-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 190, 130, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 190, 130, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
}

.nmc-wa-head__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.nmc-wa-head__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.nmc-wa-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(198, 166, 100, 0.18);
  border: 1px solid rgba(217, 190, 130, 0.28);
  color: #fff;
}

.nmc-wa-avatar svg { width: 22px; height: 22px; }

.nmc-wa-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nmc-wa-azure-300);
}

.whatsappmautic .formulariomautic .bemvindomsg {
  padding: 0;
  font-family: var(--nmc-wa-display);
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #eaf2f7;
}

.whatsappmautic .formulariomautic .bemvindomsg .nmc-wa-lead {
  display: block;
  margin-top: 4px;
  font-family: var(--nmc-wa-text);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(234, 242, 247, 0.78);
}

.nmc-wa-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 242, 247, 0.62);
}

.nmc-wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nmc-wa-next);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.nmc-wa-status__sep {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 166, 100, 0.6), transparent);
}

.nmc-wa-status__next { color: var(--nmc-wa-next); }

.nmc-wa-cursor {
  color: var(--nmc-wa-next);
  animation: nmc-wa-blink 1s steps(1) infinite;
}

@keyframes nmc-wa-blink {
  50% { opacity: 0; }
}

#whatsappfocofechar {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 242, 247, 0.12);
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  flex: 0 0 auto;
}

#whatsappfocofechar:hover {
  background: rgba(198, 166, 100, 0.22);
}

.nmc-wa-body {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(198, 166, 100, 0.06), transparent 28%), #1B1D21;
}

#whatsappautomacao .row,
#whatsappautomacao .col-lg-12 {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.enviarbtn,
.whatsappmautic .formulariomautic button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #C6A664 0%, #A9893F 100%);
  box-shadow: 0 8px 24px rgba(198, 166, 100, 0.28);
  color: #1B1D21;
  font-family: var(--nmc-wa-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.enviarbtn:hover { background: linear-gradient(135deg, #D9BE82 0%, #C6A664 100%); }
.enviarbtn.is-busy { opacity: .7; pointer-events: none; }

.whatsappmautic .formulariomautic input.nmc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}

#whatsappautomacao input.common-input,
.whatsappmautic .formulariomautic input[type="text"],
.whatsappmautic .formulariomautic input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 190, 130, 0.18);
  border-radius: 10px;
  background: rgba(19, 20, 23, 0.55);
  color: #eaf2f7;
  font-family: var(--nmc-wa-text);
  font-size: 14.5px;
  box-sizing: border-box;
}

#whatsappautomacao input:focus {
  border-color: var(--nmc-wa-azure);
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.22);
}

.alert-msg {
  margin-top: 8px;
  font-size: 12px;
  color: var(--nmc-wa-azure-300);
}

.whatsappbotao.wa-float,
a.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  background: #25D366;
  color: #fff;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 13px 20px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.whatsappbotao.wa-float:hover,
a.wa-float:hover {
  transform: translateY(-2px);
  color: #fff;
}

.whatsappbotao.wa-float .botaowhatsplugin {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.whatsappbotao.wa-float .botaowhatsplugin::before {
  display: none;
}

.whatsappbotao.wa-float .botaowhatsplugin svg,
a.wa-float svg {
  display: block;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #fff;
}

@media (max-width: 700px) {
  .whatsappmautic .formulariomautic {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
  }
  .whatsappbotao.wa-float,
  a.wa-float {
    right: 12px;
    bottom: 16px;
  }
}
