/**
 * WPloy — botão flutuante de WhatsApp.
 *
 * Fica no canto inferior esquerdo para não colidir com o botão
 * "voltar ao topo" do tema (canto direito) nem com a barra fixa mobile.
 */

.wploy-whatsapp {
	position: fixed;
	left: 22px;
	bottom: 22px;
	z-index: 940;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	color: #fff;
	text-decoration: none;
	transition: transform .25s ease;
}
.wploy-whatsapp:hover,
.wploy-whatsapp:focus {
	color: #fff;
	transform: translateY(-2px);
}
.wploy-whatsapp__icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	flex: none;
	background: #25d366;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
	animation: wploy-wa-pulse 2.4s ease-out infinite;
}
.wploy-whatsapp__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	background: #fff;
	color: #1d2327;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
	opacity: 0;
	padding: 0;
	transition: max-width .3s ease, opacity .3s ease, padding .3s ease;
}
.wploy-whatsapp:hover .wploy-whatsapp__label,
.wploy-whatsapp:focus .wploy-whatsapp__label {
	max-width: 220px;
	opacity: 1;
	padding: 12px 16px;
}

@keyframes wploy-wa-pulse {
	0%   { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
	70%  { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.wploy-whatsapp__icon { animation: none; }
}

@media (max-width: 991px) {
	.wploy-whatsapp {
		left: 16px;
		bottom: 74px; /* acima da barra fixa mobile do tema */
	}
	.wploy-whatsapp__icon {
		width: 50px;
		height: 50px;
	}
}
