/* Botão flutuante de WhatsApp + formulário de captura de leads */
.wl-fab {
  position: fixed;
  right: 22px;
  bottom: 95px; /* acima do botão "voltar ao topo" do Mobirise */
  z-index: 10000;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.wl-fab:hover { transform: scale(1.08); }
.wl-fab:focus-visible { outline: 3px solid #128c7e; outline-offset: 3px; }
.wl-fab svg { width: 32px; height: 32px; fill: currentColor; }

.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, .5);
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
}
.wl-overlay.wl-open { display: flex; }

.wl-panel {
  width: 100%;
  max-width: 360px;
  margin-bottom: 70px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  font-family: 'Nunito', 'Muli', Arial, sans-serif;
  animation: wl-up .2s ease;
}
@keyframes wl-up { from { opacity: 0; transform: translateY(16px); } }

.wl-head {
  background: #980101;
  color: #fff;
  padding: 16px 44px 16px 18px;
  position: relative;
}
.wl-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.wl-head p { margin: 4px 0 0; font-size: 14px; opacity: .9; }
.wl-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.wl-form { padding: 16px 18px 18px; }
.wl-form label { display: block; margin: 0 0 10px; font-size: 14px; color: #333; }
.wl-form input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
  background: #fff;
}
.wl-form input:focus { outline: none; border-color: #980101; box-shadow: 0 0 0 2px rgba(152, 1, 1, .15); }
.wl-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.wl-submit:disabled { opacity: .6; cursor: wait; }
.wl-msg { margin: 10px 0 0; font-size: 14px; text-align: center; }
.wl-msg.wl-error { color: #b00020; }
.wl-msg.wl-ok { color: #128c7e; font-weight: 700; }

@media (max-width: 480px) {
  .wl-fab { right: 16px; bottom: 85px; width: 54px; height: 54px; }
  .wl-overlay { align-items: flex-end; justify-content: center; }
  .wl-panel { margin-bottom: 0; }
}
