/**
 * CF Widgets — Botão WhatsApp flutuante
 */

.cf-whatsapp-btn {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #25D366 !important;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 50px;
	padding: 14px 20px 14px 16px;
	box-shadow: 0 4px 24px rgba( 37, 211, 102, 0.45 );
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	font-weight: 700;
	transition: transform .2s, box-shadow .2s;
	white-space: nowrap;
	box-sizing: border-box;
}

.cf-whatsapp-btn:hover,
.cf-whatsapp-btn:visited,
.cf-whatsapp-btn:active,
.cf-whatsapp-btn:focus {
	transform: translateY( -3px );
	box-shadow: 0 8px 32px rgba( 37, 211, 102, 0.55 );
	color: #fff !important;
	text-decoration: none !important;
	background: #1fb558 !important;
}

.cf-whatsapp-btn svg {
	flex-shrink: 0;
}

/* No editor fica estático, para não tapar a página. */
.cf-whatsapp-btn--editor {
	position: static;
	display: inline-flex;
}

@media ( max-width: 768px ) {
	.cf-whatsapp-btn {
		bottom: 90px; /* espaço para não colidir com a barra de rodapé fixa */
		right: 16px;
		padding: 0;
		width: 52px;
		height: 52px;
		border-radius: 50%;
		gap: 0;
	}

	.cf-wa-label {
		display: none;
	}
}
