/* WhatsApp Flottant - Bouton de contact permanent */

.whatsapp-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	width: 60px;
	height: 60px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	text-decoration: none;
	animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
	background-color: #128C7E;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
	color: #ffffff;
	font-size: 32px;
}

.whatsapp-float .badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: #ff3b30;
	color: #ffffff;
	font-size: 10px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 20px;
	white-space: nowrap;
	animation: badge-bounce 1s ease infinite;
}

@keyframes whatsapp-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	50% {
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
	}
}

@keyframes badge-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-3px);
	}
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
	.whatsapp-float {
		width: 50px;
		height: 50px;
		bottom: 15px;
		right: 15px;
	}

	.whatsapp-float i {
		font-size: 26px;
	}

	.whatsapp-float .badge {
		font-size: 9px;
		padding: 2px 6px;
	}
}

@media only screen and (max-width: 479px) {
	.whatsapp-float {
		width: 45px;
		height: 45px;
		bottom: 10px;
		right: 10px;
	}

	.whatsapp-float i {
		font-size: 22px;
	}
}
