/* ==================================================
   NYFER - Botão flutuante WhatsApp com formulário
================================================== */

.nyfer-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 9999;
}

.nyfer-whatsapp-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.38);
  cursor: pointer;
}

.nyfer-whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 8, 66, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.nyfer-whatsapp-modal.active {
  display: flex;
}

.nyfer-whatsapp-box {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  position: relative;
}

.nyfer-whatsapp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #eef4ff;
  color: #020842;
  font-size: 20px;
  cursor: pointer;
}

.nyfer-whatsapp-box h3 {
  margin: 0 38px 8px 0;
  color: #020842;
  font-size: 26px;
  line-height: 1.2;
}

.nyfer-whatsapp-box p {
  margin: 0 0 22px;
  color: #5f6472;
  font-size: 15px;
  line-height: 1.5;
}

.nyfer-whatsapp-form {
  display: grid;
  gap: 14px;
}

.nyfer-whatsapp-form input,
.nyfer-whatsapp-form textarea {
  width: 100%;
  border: 1px solid #dbe5f5;
  background: #f8fbff;
  color: #020842;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.nyfer-whatsapp-form textarea {
  min-height: 105px;
  resize: vertical;
}

.nyfer-whatsapp-submit {
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.nyfer-whatsapp-small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #7a8090;
  line-height: 1.4;
}

@media screen and (max-width: 575px) {
  .nyfer-whatsapp-float {
    right: 18px;
    bottom: 92px;
  }

  .nyfer-whatsapp-button {
    width: 58px;
    height: 58px;
    font-size: 27px;
  }

  .nyfer-whatsapp-box {
    padding: 24px;
    border-radius: 22px;
  }

  .nyfer-whatsapp-box h3 {
    font-size: 23px;
  }
}
