/* Circular WhatsApp ripple using the reference's colors, timing and spread. */
.hero-whatsapp-ripple {
	position: relative;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	padding: 15px;
	border-radius: 50%;
	background: #16723e;
	flex-shrink: 0;
	isolation: isolate;
}
.hero-whatsapp-ripple > .whatsapp-icon {
	width: 40px;
	height: 40px;
	margin: 0;
	filter: brightness(0) invert(1);
}
.hero-whatsapp-ripple:hover,
.hero-whatsapp-ripple:focus-visible {
	background: #0d5a30;
}
.hero-whatsapp-ripple::before,
.hero-whatsapp-ripple::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	pointer-events: none;
}
.hero .actions {
	align-items: center;
	gap: 30px;
}
@media (prefers-reduced-motion: no-preference) {
	.hero-whatsapp-ripple,
	.hero-whatsapp-ripple::before,
	.hero-whatsapp-ripple::after {
		animation: hero-whatsapp-contrast-ripple 2s linear infinite;
	}
	.hero-whatsapp-ripple::before {
		animation-delay: 0.9s;
	}
	.hero-whatsapp-ripple::after {
		animation-delay: 0.6s;
	}
}
@keyframes hero-whatsapp-contrast-ripple {
	from {
		box-shadow: 0 0 0 8px #16723e33;
	}
	to {
		box-shadow: 0 0 0 38px #16723e00;
	}
}
.floating-wa {
	position: fixed;
	bottom: 120px;
	right: 20%;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	padding: 15px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #4caf50;
	box-shadow: 0 0 0 10px #ffffff4d;
	isolation: isolate;
	overflow: visible;
	cursor: pointer;
}
.floating-wa > .whatsapp-icon {
	width: 40px;
	height: 40px;
	margin: 0;
	filter: none;
}
.floating-wa > span {
	display: none;
}
.floating-wa::before,
.floating-wa::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 0;
	border-radius: 50%;
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.floating-wa,
	.floating-wa::before,
	.floating-wa::after {
		animation: whatsapp-reference-ripple 2s linear infinite;
	}
	.floating-wa::before {
		animation-delay: 0.9s;
	}
	.floating-wa::after {
		animation-delay: 0.6s;
	}
}
@keyframes whatsapp-reference-ripple {
	from {
		box-shadow: 0 0 0 10px #ffffff4d;
	}
	to {
		box-shadow: 0 0 0 70px #ffffff00;
	}
}
@media (max-width: 768px) {
	.floating-wa {
		bottom: 95px;
		right: 2%;
	}
}
.floating-contact {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.floating-contact .floating-wa,
.floating-contact .floating-email {
	position: static;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	padding: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 6px 22px #143a302e;
	color: #fff;
	animation: none;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}
.floating-contact .floating-wa {
	background: #4caf50;
}
.floating-contact .floating-email {
	background: #cf2d01;
}
.floating-contact .floating-wa > .whatsapp-icon {
	width: 32px;
	height: 32px;
	filter: brightness(0) invert(1);
}
.floating-contact .floating-wa::before,
.floating-contact .floating-wa::after {
	display: none;
	animation: none;
}
.floating-contact a:hover {
	transform: translateY(-3px);
	box-shadow: 0 9px 26px #143a3040;
}
.floating-contact a:focus-visible {
	outline: 3px solid #9476d6;
	outline-offset: 4px;
}
@media (max-width: 760px) {
	.hero .actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 24px;
	}
	.floating-contact {
		right: 12px;
		bottom: 15px;
		gap: 10px;
	}
	.floating-contact .floating-wa,
	.floating-contact .floating-email {
		width: 54px;
		height: 54px;
		padding: 10px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.floating-contact a {
		transition: none;
	}
	.floating-contact a:hover {
		transform: none;
	}
}
