/* Botão flutuante */
#whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.2s ease;
}
#whatsapp-button:hover {
  transform: scale(1.1);
}
#whatsapp-button img {
  width: 35px;
  height: 35px;
}

/* Popup */
#whatsapp-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  background: #fff url("assets/img/whatsapp-bg.png") repeat;
  background-size: contain;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* Cabeçalho */
.popup-header {
  background: #075e54;
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
.popup-header small {
  font-weight: normal;
  margin-left: 5px;
  font-size: 12px;
  opacity: 0.9;
}
.popup-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Corpo */
.popup-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #ddd;
}
.popup-body p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #333;
}

/* Inputs */
.popup-body input[type="text"],
.popup-body input[type="email"],
.popup-body input[type="tel"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  font-size: 14px;
}
.popup-body input:focus {
  border-color: #25D366;
  box-shadow: 0 0 4px rgba(37, 211, 102, 0.3);
}

/* Checkbox */
.popup-body label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}

/* Texto menor */
.popup-body small {
  font-size: 12px;
  color: #777;
  line-height: 1.3;
}

/* Botão */
.popup-body .btn-start {
  background: #25D366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  transition: background 0.2s;
}
.popup-body .btn-start:hover {
  background: #1ebe5d;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
