/* WhatsApp Écoles Float - Frontend styles */

.wef-float {
	position: fixed;
	bottom: 24px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.wef-float.wef-right {
	right: 24px;
}

.wef-float.wef-left {
	left: 24px;
}

/* Bouton principal */
.wef-main-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: none;
	border-radius: 50%;
	background-color: var(--wef-color, #25D366);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	padding: 0;
}

.wef-main-btn:hover,
.wef-main-btn:focus {
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	outline: none;
}

.wef-main-btn:focus-visible {
	outline: 3px solid rgba(37, 211, 102, 0.5);
	outline-offset: 3px;
}

.wef-icon {
	display: block;
	width: 28px;
	height: 28px;
}

/* Menu déroulant */
.wef-menu {
	position: absolute;
	bottom: 72px;
	min-width: 240px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
	padding: 12px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(0.95);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	pointer-events: none;
}

.wef-float.wef-right .wef-menu {
	right: 0;
}

.wef-float.wef-left .wef-menu {
	left: 0;
}

.wef-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.wef-menu[hidden] {
	display: none;
}

.wef-menu.is-open[hidden] {
	display: block;
}

.wef-menu-title {
	margin: 0 0 8px;
	padding: 0 16px 8px;
	font-size: 13px;
	font-weight: 600;
	color: #666;
	border-bottom: 1px solid #eee;
}

/* Options */
.wef-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	text-decoration: none;
	color: #1a1a1a;
	transition: background-color 0.15s ease;
}

.wef-option:hover,
.wef-option:focus {
	background-color: #f0fdf4;
	outline: none;
}

.wef-option-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #25D366;
	color: #fff;
	flex-shrink: 0;
}

.wef-option-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wef-option-text strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.wef-option-text small {
	font-size: 12px;
	color: #666;
}

/* Responsive */
@media (max-width: 480px) {
	.wef-float {
		bottom: 16px;
	}

	.wef-float.wef-right {
		right: 16px;
	}

	.wef-float.wef-left {
		left: 16px;
	}

	.wef-main-btn {
		width: 54px;
		height: 54px;
	}

	.wef-menu {
		min-width: 220px;
		bottom: 66px;
	}
}
