/* Bouton WhatsApp flottant léger — public (coupe-circuit ESM_WA_LIGHT_PUBLIC).
   Police Authentic Signature chargée ici pour ne pas retomber sur Poppins.
   z-index au-dessus de Complianz. Aucun noir : pas de bordure, pas d'ombre noire,
   pas d'outline #000 (reset Hello). Hover olive #5F6446 / crème #FBF3E8.
   Sélecteurs : esm-wa-light (site entier), esm-home-code (accueil), esm-token-ui (secours).
   Le panneau ne s'ouvre pas au survol (:hover / :focus-within) : uniquement .esm-wa--open (clic / toucher / clavier).
   Le survol du FAB garde l'effet olive, sans ouvrir le panneau. */

@font-face {
	font-family: "Authentic Signature";
	src: url("../fonts/services-modernisation/authentic-signature.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.esm-wa {
	--esm-wa-lift: 0px;
	position: fixed;
	right: 28px;
	bottom: calc(7px + var(--esm-wa-lift, 0px));
	z-index: 2147483647;
	font-family: Poppins, sans-serif;
	color: #1d1c17;
	pointer-events: auto;
	isolation: isolate;
}
@media (max-width: 767px) {
	.esm-wa { right: 8px; bottom: calc(12px + var(--esm-wa-lift, 0px)); }
}

body.esm-wa-light .esm-wa__fab,
body.esm-token-ui .esm-wa__fab,
body.esm-home-code .esm-wa__fab,
body.esm-wa-light a.esm-wa__fab,
body.esm-token-ui a.esm-wa__fab,
body.esm-home-code a.esm-wa__fab {
	width: 56px;
	height: 56px;
	box-sizing: border-box;
	border: 0 !important;
	border-radius: 50% !important;
	background: #FBF3E8 !important;
	color: #5B3A29 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(91, 58, 41, 0.18);
	text-decoration: none !important;
	filter: none !important;
	outline: none !important;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}
body.esm-wa-light .esm-wa__fab svg,
body.esm-token-ui .esm-wa__fab svg,
body.esm-home-code .esm-wa__fab svg {
	display: block;
	fill: currentColor;
	color: inherit;
}
body.esm-wa-light .esm-wa__fab:hover,
body.esm-token-ui .esm-wa__fab:hover,
body.esm-home-code .esm-wa__fab:hover,
body.esm-wa-light .esm-wa__fab:focus,
body.esm-token-ui .esm-wa__fab:focus,
body.esm-home-code .esm-wa__fab:focus,
body.esm-wa-light .esm-wa__fab:active,
body.esm-token-ui .esm-wa__fab:active,
body.esm-home-code .esm-wa__fab:active,
body.esm-wa-light a.esm-wa__fab:hover,
body.esm-token-ui a.esm-wa__fab:hover,
body.esm-home-code a.esm-wa__fab:hover,
body.esm-wa-light a.esm-wa__fab:focus,
body.esm-token-ui a.esm-wa__fab:focus,
body.esm-home-code a.esm-wa__fab:focus,
body.esm-wa-light a.esm-wa__fab:active,
body.esm-token-ui a.esm-wa__fab:active,
body.esm-home-code a.esm-wa__fab:active {
	background: #5F6446 !important;
	color: #FBF3E8 !important;
	border-color: transparent !important;
	filter: none !important;
	text-decoration: none !important;
	transform: scale(1.08);
	outline: none !important;
}
body.esm-wa-light a.esm-wa__fab:focus-visible,
body.esm-token-ui a.esm-wa__fab:focus-visible,
body.esm-home-code a.esm-wa__fab:focus-visible {
	background: #5F6446 !important;
	color: #FBF3E8 !important;
	outline: 2px solid #FBF3E8 !important;
	outline-offset: 3px;
	box-shadow: 0 0 0 4px #5F6446 !important;
}

.esm-wa__panel {
	display: none;
	width: min(320px, calc(100vw - 24px));
	margin-bottom: 12px;
	background: #FBF3E8;
	border: 0 !important;
	outline: none !important;
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(91, 58, 41, 0.16);
	overflow: hidden;
	pointer-events: auto;
	position: relative;
}
.esm-wa--open .esm-wa__panel { display: block; }
.esm-wa--dismissed .esm-wa__panel { display: none !important; }

.esm-wa__top {
	display: flex;
	flex-direction: column;
	padding: 14px 48px 12px 16px;
	background: #5B3A29;
	color: #FBF3E8;
	border: 0;
	position: relative;
}
html body.home.esm-token-ui.esm-wa-light .esm-wa .esm-wa__name,
html body.home.esm-token-ui.esm-wa-light .esm-wa .esm-wa__bubble-name,
html body.esm-wa-light .esm-wa .esm-wa__name,
html body.esm-token-ui .esm-wa .esm-wa__name,
html body.esm-home-code .esm-wa .esm-wa__name,
html body.esm-wa-light .esm-wa .esm-wa__bubble-name,
html body.esm-token-ui .esm-wa .esm-wa__bubble-name,
html body.esm-home-code .esm-wa .esm-wa__bubble-name,
.esm-wa .esm-wa__name,
.esm-wa .esm-wa__bubble-name {
	font-family: "Authentic Signature", cursive !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-synthesis: none;
	line-height: 1.15;
	letter-spacing: 0;
	margin: 0;
	text-transform: none !important;
}
html body.esm-wa-light .esm-wa .esm-wa__name,
html body.esm-token-ui .esm-wa .esm-wa__name,
html body.esm-home-code .esm-wa .esm-wa__name,
.esm-wa .esm-wa__name {
	font-size: 28px !important;
	color: #FBF3E8 !important;
}
html body.esm-wa-light .esm-wa .esm-wa__bubble-name,
html body.esm-token-ui .esm-wa .esm-wa__bubble-name,
html body.esm-home-code .esm-wa .esm-wa__bubble-name,
.esm-wa .esm-wa__bubble-name {
	font-size: 24px !important;
	color: #5B3A29 !important;
	margin: 0 0 4px !important;
}
.esm-wa__role {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 15px;
	margin: 4px 0 0;
	color: #FBF3E8;
}

/* Croix : uniquement le X crème, aucun carré (bordure / fond / outline au clic).
   Contour réservé à :focus-visible (clavier), 1.5px crème arrondi, légèrement rentré
   pour ne pas être coupé par le border-radius du panneau. */
html body .esm-wa .esm-wa__close,
html body.esm-wa-light .esm-wa .esm-wa__close,
html body.esm-token-ui .esm-wa .esm-wa__close,
html body.esm-home-code .esm-wa .esm-wa__close,
html body.home .esm-wa .esm-wa__close,
html body .esm-wa .esm-wa__close:hover,
html body .esm-wa .esm-wa__close:active,
html body .esm-wa .esm-wa__close:focus,
html body .esm-wa .esm-wa__close:focus:not(:focus-visible) {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	outline: none !important;
	outline-width: 0 !important;
	outline-style: none !important;
	outline-color: transparent !important;
	outline-offset: 0 !important;
	color: #FBF3E8 !important;
	filter: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transition: opacity 0.15s ease;
	line-height: 0;
}
html body .esm-wa .esm-wa__close:hover,
html body .esm-wa .esm-wa__close:active {
	opacity: 0.7;
	transform: none !important;
}
.esm-wa__close-icon {
	display: block;
	width: 16px;
	height: 16px;
	position: relative;
}
.esm-wa__close-icon::before,
.esm-wa__close-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 2px;
	background: #FBF3E8;
	border-radius: 1px;
}
.esm-wa__close-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.esm-wa__close-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
html body .esm-wa .esm-wa__close:focus-visible {
	outline: 1.5px solid #FBF3E8 !important;
	outline-offset: 2px;
	border-radius: 8px !important;
	box-shadow: none !important;
	background: transparent !important;
	opacity: 1;
}

.esm-wa__photo {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 50%;
	background: #efe6d6;
	flex: 0 0 auto;
	border: 0;
}
.esm-wa__bubble {
	margin: 14px;
	background: #fff;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	border: 0;
	box-shadow: none;
}
.esm-wa__bubble-body {
	font-size: 15px;
	margin: 0;
	line-height: 1.45;
	color: #5B3A29;
	font-family: Poppins, sans-serif;
}

body.esm-wa-light a.esm-wa__cta,
body.esm-token-ui a.esm-wa__cta,
body.esm-home-code a.esm-wa__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 14px 14px;
	padding: 10px 14px;
	background: #5B3A29 !important;
	color: #FBF3E8 !important;
	text-decoration: none !important;
	border-radius: 999px;
	border: 0 !important;
	font-size: 16px;
	filter: none !important;
	box-shadow: none !important;
	outline: none !important;
}
body.esm-wa-light a.esm-wa__cta:hover,
body.esm-token-ui a.esm-wa__cta:hover,
body.esm-home-code a.esm-wa__cta:hover,
body.esm-wa-light a.esm-wa__cta:focus,
body.esm-token-ui a.esm-wa__cta:focus,
body.esm-home-code a.esm-wa__cta:focus,
body.esm-wa-light a.esm-wa__cta:active,
body.esm-token-ui a.esm-wa__cta:active,
body.esm-home-code a.esm-wa__cta:active {
	background: #5F6446 !important;
	color: #FBF3E8 !important;
	filter: none !important;
	text-decoration: none !important;
	outline: none !important;
}
body.esm-wa-light a.esm-wa__cta:focus-visible,
body.esm-token-ui a.esm-wa__cta:focus-visible,
body.esm-home-code a.esm-wa__cta:focus-visible {
	outline: 2px solid #5F6446 !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #FBF3E8 !important;
}
.esm-wa__cta svg { width: 20px; height: 20px; color: inherit; fill: currentColor; }

body.esm-wa-light .elementor-location-floating_buttons,
body.esm-token-ui .elementor-location-floating_buttons,
body.esm-home-code .elementor-location-floating_buttons,
body.esm-wa-light .elementor-8714,
body.esm-token-ui .elementor-8714,
body.esm-home-code .elementor-8714 { display: none !important; }
