#wpp-float-btn {
	position: fixed;
	bottom: 25px;
	left: 25px;
	width: 72px;
	height: 72px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#wpp-float-btn img {
	width: 54px;
	height: 54px;
}

/* ===== PULSE LEVE NO BOTÃO WHATSAPP ===== */
#wpp-float-btn::before {
	content: "";
	position: absolute;
	inset: -5px;
	border: 2px solid rgba(37, 211, 102, 0.55);
	border-radius: 50%;
	pointer-events: none;
	animation: wppFloatPulse 2s ease-out infinite;
}

@keyframes wppFloatPulse {
	0% { opacity: .65; transform: scale(.94); }
	70%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
	#wpp-float-btn::before { animation: none; opacity: 0; }
}

/* ===== INPUTS PREMIUM ===== */
body #wppForm input {
  width: 100% !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
  font-size: 15px !important;
  color: #333 !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

/* Placeholder elegante */
body #wppForm input::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
}

/* Hover */
body #wppForm input:hover {
  border-color: #b6bbc4 !important;
}

/* Focus */
body #wppForm input:focus {
  border-color: #25D366 !important;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15) !important;
}

/* Estado inválido */
#wppForm input:invalid {
	border-color: #dddddd;
}

/* ===== BOTÃO SUBMIT PREMIUM ===== */
#wppForm button {
	width: 100%;
	padding: 14px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: #ffffff;
	background: linear-gradient(135deg, #25D366, #1ebe5d);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Hover */
#wppForm button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

/* Active (clique) */
#wppForm button:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

/* Disabled (se usar futuramente) */
#wppForm button:disabled {
	background: #9ca3af;
	cursor: not-allowed;
	box-shadow: none;
}

/* OVERLAY (FUNDO ESCURO) */
#wpp-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	/* opacidade do fundo */
	z-index: 99999;
}

/* CONTAINER DO POPUP (ANCORADO NO BOTÃO) */
.wpp-modal-content {
	position: absolute;
	bottom: 100px;
	/* distância do botão */
	left: 25px;
	width: 360px;
	background: #f5f1ec;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	padding: 20px;
	animation: wppSlideUp 0.3s ease;
}

/* SETINHA APONTANDO PARA O BOTÃO */
.wpp-modal-content::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 20px;
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #f5f1ec transparent transparent transparent;
}

/* BOTÃO FECHAR */
.wpp-close {
	position: absolute;
	right: 10px;
	top: 8px;
	font-size: 18px;
	cursor: pointer;
}

/* INPUTS */
#wppForm input {
	width: 100%;
	padding: 10px;
	margin-bottom: 8px;
	border-radius: 4px;
	border: 1px solid #ccc;
}

/* BOTÃO */
#wppForm button {
	width: 100%;
	background: #4CAF50;
	color: #fff;
	border: none;
	padding: 12px;
	font-size: 15px;
	cursor: pointer;
	border-radius: 4px;
}

/* ANIMAÇÃO */
@keyframes wppSlideUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* MOBILE */
@media (max-width: 480px) {
	.wpp-modal-content {
		width: 92vw;
		right: 4%;
		bottom: 90px;
	}
}

/* ===== LOADING DO BOTÃO ===== */
#wppForm button[aria-busy="true"] {
	align-items: center;
	display: inline-flex;
	gap: 9px;
	justify-content: center;
	cursor: wait;
	opacity: .9;
	transform: none;
}
#wppForm button[aria-busy="true"]:hover,
#wppForm button[aria-busy="true"]:active { transform: none; }
.wpp-submit-loading {
	width: 16px; height: 16px;
	border: 2px solid rgba(255,255,255,.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wppButtonSpin .7s linear infinite;
	flex: 0 0 16px;
}
@keyframes wppButtonSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wpp-submit-loading { animation: none; } }
