/* FastFoto: botão flutuante do WhatsApp (configurado em Revelação > WhatsApp). */
.ff-whats {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.ff-whats--left {
	right: auto;
	left: 22px;
	flex-direction: row-reverse;
}

.ff-whats__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 12px 24px -8px rgba(8, 35, 43, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-whats__icon svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.ff-whats:hover .ff-whats__icon,
.ff-whats:focus-visible .ff-whats__icon {
	transform: scale(1.07);
	box-shadow: 0 16px 30px -10px rgba(8, 35, 43, 0.45);
}

.ff-whats:focus-visible {
	outline: none;
}

.ff-whats:focus-visible .ff-whats__icon {
	outline: 3px solid #00607F;
	outline-offset: 3px;
}

.ff-whats__label {
	padding: 9px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 24px -10px rgba(8, 35, 43, 0.45);
	color: #00607F;
	font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ff-whats--left .ff-whats__label {
	transform: translateX(-8px);
}

.ff-whats:hover .ff-whats__label,
.ff-whats:focus-visible .ff-whats__label {
	opacity: 1;
	transform: none;
}

@media (max-width: 767px) {
	.ff-whats {
		right: 16px;
		bottom: 16px;
	}

	.ff-whats--left {
		left: 16px;
	}

	.ff-whats__icon {
		width: 52px;
		height: 52px;
	}

	.ff-whats__icon svg {
		width: 27px;
		height: 27px;
	}

	.ff-whats__label {
		display: none;
	}
}

/* Na página de envio, sobe para não cobrir a barra com o botão "Continuar". */
@media (max-width: 1300px) {
	body:has(#ffw-app) .ff-whats {
		bottom: 132px;
	}
}

@media (max-width: 767px) {
	body:has(#ffw-app) .ff-whats {
		bottom: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ff-whats__icon,
	.ff-whats__label {
		transition: none;
	}
}
