/** Botão flutuante de WhatsApp. */

.sempra-wa {
	position: fixed;
	bottom: 22px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 8px;
	border-radius: 32px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 22px rgba(7, 29, 78, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease, padding 0.18s ease;
}

.sempra-wa:hover,
.sempra-wa:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(7, 29, 78, 0.34);
}

.sempra-wa:focus-visible {
	outline: 3px solid #aad609;
	outline-offset: 3px;
}

.sempra-wa--direita {
	right: 22px;
}

.sempra-wa--esquerda {
	left: 22px;
}

.sempra-wa__icone {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sempra-wa__icone svg {
	width: 30px;
	height: 30px;
}

.sempra-wa__texto {
	font-family: Poppins, "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	padding-right: 12px;
}

/* Pulso discreto, só uma vez ao carregar, pra chamar atenção sem irritar. */
@media (prefers-reduced-motion: no-preference) {
	.sempra-wa::before {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		border: 2px solid #25d366;
		animation: sempra-wa-pulso 2.4s ease-out 3;
		pointer-events: none;
	}
}

@keyframes sempra-wa-pulso {
	0%   { transform: scale(1);    opacity: 0.7; }
	70%  { transform: scale(1.28); opacity: 0; }
	100% { transform: scale(1.28); opacity: 0; }
}

/* No celular vira só o ícone: o balão comeria a tela. */
@media (max-width: 767px) {
	.sempra-wa {
		bottom: 16px;
		padding: 0 8px;
	}

	.sempra-wa--direita {
		right: 16px;
	}

	.sempra-wa--esquerda {
		left: 16px;
	}

	.sempra-wa__texto {
		display: none;
	}

	.sempra-wa--so-desktop {
		display: none;
	}
}

@media (min-width: 768px) {
	.sempra-wa--so-mobile {
		display: none;
	}
}
