/* =============================================================================
   Lesieur Accessibility — global preference effects
   ---------------------------------------------------------------------------
   @font-face for Lexend are loaded only when `body.a11y-dyslexia-friendly`
   matches a `font-family: Lexend`, so the .woff2 files are not downloaded on
   page load. Self-hosted to avoid sending user IPs to fonts.gstatic.com (RGPD).
   --------------------------------------------------------------------------- */

@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-ext-400.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-400.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-ext-500.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-500.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-ext-600.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-600.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-ext-700.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/lexend/lexend-latin-700.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================================
   Force mobile burger up to 1280px to avoid overlap between the horizontal
   mega-menu and the right-side action icons on tablet/medium-laptop sizes.
   ---------------------------------------------------------------------------
   Below 1280px we hide every desktop header widget (mega-menu shortcode,
   ACCESSIBILITÉ button, Toggle/Search/LinkedIn icons) and show the burger.
   --------------------------------------------------------------------------- */

@media (max-width: 1280px) {
	/* Hide desktop-only widgets in both the main header bar and the sticky
	   header copy (container 38c633a). */
	.elementor-location-header .elementor-element-072580a,
	.elementor-location-header .elementor-element-1792e0b,
	.elementor-location-header .elementor-element-c0e201a,
	.elementor-location-header .elementor-element-ec14a8c,
	.elementor-location-header .elementor-element-1a9edf3,
	.elementor-location-header .elementor-element-1b4b5be,
	.elementor-location-header .elementor-element-6393c24,
	.elementor-location-header .elementor-element-546adce,
	.elementor-location-header .elementor-element-f49df39,
	.elementor-location-header .elementor-element-289555b,
	.elementor-location-header .elementor-element-3eec7c1,
	/* Vertical separators between the desktop action icons */
	.elementor-location-header .elementor-element-49b756e,
	.elementor-location-header .elementor-element-06f864b,
	.elementor-location-header .elementor-element-4c76fd1,
	.elementor-location-header .elementor-element-5f905ba,
	.elementor-location-header .elementor-element-4061f8f,
	.elementor-location-header .elementor-element-6b8abcf,
	/* "Accès Fournisseur" link */
	.elementor-location-header .elementor-element-a0bdafd,
	.elementor-location-header .elementor-element-10055cd-supplier {
		display: none !important;
	}

	/* Show the burger and the mobile-only widgets that Elementor would
	   normally only render under its tablet breakpoint. */
	.elementor-location-header .elementor-element-10055cd {
		display: inline-flex !important;
	}
}

/* =============================================================================
   Mobile menu inside Orpheon OffCanvas
   ---------------------------------------------------------------------------
   The lesieur-mega-menu is designed for desktop hover. Inside the OffCanvas
   we re-style it as a vertical accordion: every link full-width, dropdowns
   collapse below their parent and reveal on tap.
   --------------------------------------------------------------------------- */

.orpheon-offcanvas-content .lesieur-mobile-menu {
	/* Top padding clears the close button (top-right, ~50px). */
	padding: 64px 16px 24px;
	font-family: inherit;
}

.orpheon-offcanvas-content .lesieur-mega-menu,
.orpheon-offcanvas-content .lesieur-mega-menu-list {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.orpheon-offcanvas-content .lesieur-menu-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid #ececec;
	padding: 0;
	margin: 0;
	list-style: none;
	/* Override theme styles that would otherwise apply a red oval bg
	   when our accordion class is added. */
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 0 !important;
}

.orpheon-offcanvas-content .lesieur-menu-link {
	flex: 1;
	min-width: 0;
	display: block;
	padding: 14px 8px;
	font-size: 16px;
	font-weight: 600;
	color: #222221 !important;
	text-decoration: none;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.orpheon-offcanvas-content .lesieur-menu-item.is-mobile-expanded > .lesieur-menu-link {
	color: #C20E1A !important;
}

.orpheon-offcanvas-content .lesieur-mobile-accordion-toggle {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	color: #222221;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.orpheon-offcanvas-content .lesieur-mobile-accordion-toggle:hover,
.orpheon-offcanvas-content .lesieur-mobile-accordion-toggle:focus-visible {
	color: #C20E1A;
	background: #f8f8f8;
}

.orpheon-offcanvas-content .lesieur-mobile-accordion-toggle:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: -2px;
}

/* The dropdown wraps below the link + button (flex-basis 100%). */
.orpheon-offcanvas-content .lesieur-menu-item > .lesieur-mega-dropdown {
	flex-basis: 100%;
}

.orpheon-offcanvas-content .lesieur-menu-link:hover,
.orpheon-offcanvas-content .lesieur-menu-link:focus {
	color: #fff !important;
	background: #C20E1A !important;
}

/* Dropdown becomes a static block under the parent, not a hover popup.
   We strip every visual effect inherited from the desktop mega-menu
   (red circular bg, white text, shadows, gradients). */
.orpheon-offcanvas-content .lesieur-mega-dropdown,
.orpheon-offcanvas-content .lesieur-mega-dropdown::before,
.orpheon-offcanvas-content .lesieur-mega-dropdown::after,
.orpheon-offcanvas-content .lesieur-dropdown-content,
.orpheon-offcanvas-content .lesieur-dropdown-content::before,
.orpheon-offcanvas-content .lesieur-dropdown-content::after,
.orpheon-offcanvas-content .lesieur-submenu-list,
.orpheon-offcanvas-content .lesieur-submenu-list::before,
.orpheon-offcanvas-content .lesieur-submenu-list::after {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	border: none !important;
}

.orpheon-offcanvas-content .lesieur-mega-dropdown {
	position: static !important;
	display: block !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	padding: 0 0 8px 16px !important;
	max-height: 0;
	overflow: hidden;
	transition: max-height 240ms ease;
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	clip-path: none !important;
}

.orpheon-offcanvas-content .lesieur-menu-item.is-mobile-expanded > .lesieur-mega-dropdown {
	max-height: 1000px;
}

.orpheon-offcanvas-content .lesieur-dropdown-content {
	padding: 0 !important;
	display: block !important;
	min-width: 0 !important;
	width: auto !important;
}

.orpheon-offcanvas-content .lesieur-submenu-list {
	display: block !important;
	width: auto !important;
}

.orpheon-offcanvas-content .lesieur-submenu-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.orpheon-offcanvas-content .lesieur-submenu-item {
	display: block;
	list-style: none;
}

.orpheon-offcanvas-content .lesieur-submenu-link {
	display: block;
	padding: 10px 8px;
	font-size: 14px;
	font-weight: 400;
	color: #555;
	text-decoration: none;
}

.orpheon-offcanvas-content .lesieur-submenu-link:hover,
.orpheon-offcanvas-content .lesieur-submenu-link:focus {
	color: #C20E1A;
}

/* "Accès Fournisseur" — extra link below the main menu, separated by a
   coloured top border to mark it as a secondary navigation. */
.orpheon-offcanvas-content .lesieur-mobile-extra-link {
	display: block;
	padding: 14px 8px;
	margin-top: 16px;
	border-top: 2px solid #C20E1A;
	font-size: 16px;
	font-weight: 600;
	color: #222221 !important;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.orpheon-offcanvas-content .lesieur-mobile-extra-link:hover,
.orpheon-offcanvas-content .lesieur-mobile-extra-link:focus {
	background: #C20E1A !important;
	color: #fff !important;
}

/* Mobile actions row at the bottom. */
.orpheon-offcanvas-content .lesieur-mobile-actions {
	margin: 24px 0 0;
	padding: 16px 0 0;
	border-top: 2px solid #C20E1A;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.orpheon-offcanvas-content .lesieur-mobile-action {
	display: block;
	padding: 12px 8px;
	font-size: 14px;
	font-weight: 600;
	color: #222221;
	text-decoration: none;
	border: 1px solid #222221;
	border-radius: 800px;
	text-align: center;
}

.orpheon-offcanvas-content .lesieur-mobile-action:hover,
.orpheon-offcanvas-content .lesieur-mobile-action:focus {
	background: #C20E1A;
	border-color: #C20E1A;
	color: #fff;
}

/* =============================================================================
   Search results page (search.php)
   --------------------------------------------------------------------------- */

.lesieur-search-results {
	background: #fff;
	color: #222221;
	min-height: 60vh;
}

.lesieur-search-results__container {
	max-width: 920px;
	margin: 0 auto;
	padding: 48px 20px 96px;
}

.lesieur-search-results__header {
	border-bottom: 2px solid #C20E1A;
	padding-bottom: 24px;
	margin-bottom: 32px;
}

.lesieur-search-results__title {
	margin: 0 0 16px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.2;
}
.lesieur-search-results__title span { color: #C20E1A; }

.lesieur-search-results__form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.lesieur-search-results__form input[type="search"] {
	flex: 1 1 240px;
	min-width: 0;
	padding: 12px 16px;
	font-size: 16px;
	font-family: inherit;
	border: 2px solid #ececec;
	border-radius: 8px;
	background: #fff;
	color: #222221;
}
.lesieur-search-results__form input[type="search"]:focus {
	border-color: #C20E1A;
	outline: none;
}
.lesieur-search-results__form button {
	padding: 12px 22px;
	background: #C20E1A;
	color: #fff;
	border: 2px solid #C20E1A;
	border-radius: 8px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}
.lesieur-search-results__form button:hover { background: #a00b16; border-color: #a00b16; }

.lesieur-search-results__count {
	margin: 0 0 24px;
	color: #555;
	font-size: 14px;
}

.lesieur-search-results__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
}

.lesieur-search-result {
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 24px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lesieur-search-result:hover {
	border-color: #C20E1A;
	box-shadow: 0 4px 16px rgba(194, 14, 26, 0.08);
}

.lesieur-search-result__title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.lesieur-search-result__title a {
	color: #222221;
	text-decoration: none;
}
.lesieur-search-result__title a:hover,
.lesieur-search-result__title a:focus { color: #C20E1A; }

.lesieur-search-result__meta {
	margin: 0 0 12px;
	color: #888;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lesieur-search-result__excerpt {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.6;
	color: #444;
}

.lesieur-search-result__link {
	color: #C20E1A;
	font-weight: 600;
	text-decoration: none;
}
.lesieur-search-result__link:hover,
.lesieur-search-result__link:focus { text-decoration: underline; }

.lesieur-search-results__pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}
.lesieur-search-results__pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}
.lesieur-search-results__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ececec;
	border-radius: 8px;
	color: #222221;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.lesieur-search-results__pagination .page-numbers.current,
.lesieur-search-results__pagination .page-numbers:hover {
	background: #C20E1A;
	border-color: #C20E1A;
	color: #fff;
}

.lesieur-search-results__empty {
	padding: 48px 24px;
	text-align: center;
	background: #f8f8f8;
	border-radius: 12px;
}
.lesieur-search-results__empty h2 { margin: 0 0 12px; font-size: 24px; }
.lesieur-search-results__empty p { margin: 0; color: #555; }

/* =============================================================================
   Search overlay — opens when the user clicks any "/?s=" link (Search icon
   in the desktop header or the mobile FAB). Provides a real input so the
   user can type their query, instead of landing on an empty results page.
   --------------------------------------------------------------------------- */

.lesieur-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: none;
	opacity: 0;
	transition: opacity 200ms ease;
}

.lesieur-search-overlay.is-open {
	display: block;
	opacity: 1;
}

.lesieur-search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.lesieur-search-overlay__inner {
	position: relative;
	max-width: 720px;
	margin: 16vh auto 0;
	/* top padding clears the absolute close button (36px tall + 12px from top) */
	padding: 64px 24px 32px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.lesieur-search-overlay__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #222221;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.lesieur-search-overlay__close:hover { background: #f3f3f3; }
.lesieur-search-overlay__close:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 2px;
}

.lesieur-search-overlay__form {
	display: flex;
	gap: 12px;
	align-items: stretch;
	flex-wrap: wrap;
}

.lesieur-search-overlay__input {
	flex: 1 1 280px;
	min-width: 0;
	padding: 14px 18px;
	font-size: 18px;
	font-family: inherit;
	color: #222221;
	background: #fff;
	border: 2px solid #ececec;
	border-radius: 8px;
	outline: none;
}
.lesieur-search-overlay__input:focus {
	border-color: #C20E1A;
}

.lesieur-search-overlay__submit {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px;
	padding: 12px 22px !important;
	background: #C20E1A !important;
	background-color: #C20E1A !important;
	color: #fff !important;
	border: 2px solid #C20E1A !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	font-family: inherit;
	cursor: pointer;
}
.lesieur-search-overlay__submit svg {
	color: #fff;
}
.lesieur-search-overlay__submit:hover,
.lesieur-search-overlay__submit:focus-visible {
	background: #a00b16 !important;
	background-color: #a00b16 !important;
	border-color: #a00b16 !important;
}
.lesieur-search-overlay__submit:focus-visible {
	outline: 3px solid rgba(194, 14, 26, 0.4) !important;
	outline-offset: 2px;
}

/* =============================================================================
   Floating Action Button group — visible ≤ 1280px (when desktop header tools
   are hidden). Three round buttons stacked: Search, LinkedIn, Accessibility.
   --------------------------------------------------------------------------- */

.lesieur-mobile-fab-group {
	display: none;
	position: fixed;
	bottom: 16px;
	right: 16px;
	z-index: 99990;
	flex-direction: column;
	gap: 10px;
}

.lesieur-mobile-fab {
	display: inline-flex !important;
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	background: #C20E1A !important;
	background-color: #C20E1A !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
	cursor: pointer;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	text-decoration: none !important;
	transition: transform 160ms ease, background-color 160ms ease;
}

.lesieur-mobile-fab svg {
	color: #fff;
}

.lesieur-mobile-fab:hover,
.lesieur-mobile-fab:focus-visible {
	background: #a00b16 !important;
	background-color: #a00b16 !important;
	transform: scale(1.06);
}

.lesieur-mobile-fab:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 3px;
}

.lesieur-a11y-fab.is-active {
	background: #222221 !important;
	background-color: #222221 !important;
}

@media (max-width: 1280px) {
	.lesieur-mobile-fab-group {
		display: flex;
	}
}

/* =============================================================================
   Skip-link — WCAG 2.4.1 (Bypass Blocks, A)
   --------------------------------------------------------------------------- */

.lesieur-skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	padding: 12px 16px;
	background: #C20E1A;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 4px;
	z-index: 999999;
	transition: top 120ms ease;
}
.lesieur-skip-link:focus,
.lesieur-skip-link:focus-visible {
	top: 8px;
	outline: 3px solid #fff;
	outline-offset: 2px;
}

:root {
	--a11y-text-scale: 1;
}

/* Text scaling — two strategies depending on viewport:
   - ≥ 1024px (desktop): `zoom` on content containers. Reliably scales
     Elementor's inline px font-sizes without rebuilding the kit.
   - < 1024px (tablet/mobile): font-size scaling on common text selectors,
     so the layout still reflows correctly (WCAG 1.4.10) instead of producing
     horizontal overflow that `zoom` would create on a 320px viewport at 200%.
*/
@media (min-width: 1024px) {
	body.a11y-text-scaled #content,
	body.a11y-text-scaled main,
	body.a11y-text-scaled article,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer),
	body.a11y-text-scaled footer.site-footer,
	body.a11y-text-scaled .elementor-location-footer {
		zoom: var(--a11y-text-scale);
	}

	@supports not (zoom: 1) {
		body.a11y-text-scaled #content,
		body.a11y-text-scaled main {
			font-size: calc(1rem * var(--a11y-text-scale));
		}
	}
}

@media (max-width: 1023px) {
	/* Apply scaling on leaf text elements only — avoids the em-composition
	   trap (a parent and its child both multiplying by `--a11y-text-scale`).
	   We target the elements Elementor most commonly uses for visible text. */
	body.a11y-text-scaled main p,
	body.a11y-text-scaled main li,
	body.a11y-text-scaled main td,
	body.a11y-text-scaled main label,
	body.a11y-text-scaled main input,
	body.a11y-text-scaled main textarea,
	body.a11y-text-scaled main select,
	body.a11y-text-scaled article p,
	body.a11y-text-scaled article li,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) p,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) li,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) td,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) input,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) textarea,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) label,
	body.a11y-text-scaled .elementor-heading-title,
	body.a11y-text-scaled .elementor-button-text,
	body.a11y-text-scaled .elementor-icon-list-text,
	body.a11y-text-scaled .elementor-widget-text-editor p,
	body.a11y-text-scaled .elementor-widget-text-editor li,
	body.a11y-text-scaled .elementor-widget-text-editor span,
	body.a11y-text-scaled .elementor-widget-text-editor h1,
	body.a11y-text-scaled .elementor-widget-text-editor h2,
	body.a11y-text-scaled .elementor-widget-text-editor h3,
	body.a11y-text-scaled .elementor-widget-text-editor h4,
	body.a11y-text-scaled .elementor-widget-text-editor h5,
	body.a11y-text-scaled .elementor-widget-text-editor h6 {
		font-size: calc(1em * var(--a11y-text-scale)) !important;
		line-height: 1.4;
	}

	/* Allow text to wrap aggressively at large scales to prevent overflow. */
	body.a11y-text-scaled main,
	body.a11y-text-scaled article,
	body.a11y-text-scaled .elementor:not(.elementor-location-header):not(.elementor-location-footer) {
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	/* Elementor's heading widget often gets `white-space: nowrap !important`
	   from per-page Elementor CSS (e.g. `.elementor-863 .elementor-element-X
	   .elementor-heading-title`, specificity (0,3,0)). We bump our specificity
	   by anchoring on `html`, `body[class]`, and the widget container. */
	html body.a11y-text-scaled .elementor-widget .elementor-heading-title,
	html body.a11y-text-scaled .elementor-widget .elementor-heading-title * {
		white-space: normal !important;
		overflow-wrap: break-word !important;
	}
}

/* High-contrast theme — uses the "smart invert" approach:
   - Invert + hue-rotate the content containers (keeps blacks/whites readable
     and preserves the perceived hue of coloured elements).
   - Re-invert images, videos and elements with a CSS background-image so
     photographs stay recognisable.
   - The accessibility panel sits outside this scope so it keeps its native
     palette regardless of the body class. */
body.a11y-high-contrast .elementor-location-header,
body.a11y-high-contrast .elementor-location-footer,
body.a11y-high-contrast #content,
body.a11y-high-contrast main,
body.a11y-high-contrast article,
body.a11y-high-contrast .elementor:not(.elementor-location-header):not(.elementor-location-footer),
body.a11y-high-contrast footer.site-footer {
	filter: invert(1) hue-rotate(180deg);
	background: #fff;
}

body.a11y-high-contrast img,
body.a11y-high-contrast video,
body.a11y-high-contrast picture,
body.a11y-high-contrast iframe,
body.a11y-high-contrast canvas,
body.a11y-high-contrast [style*="background-image"],
body.a11y-high-contrast [data-settings*="background_image"] {
	filter: invert(1) hue-rotate(180deg);
}

/* Boost text/element contrast a touch within the inverted scope. */
body.a11y-high-contrast .elementor:not(.elementor-location-header):not(.elementor-location-footer) {
	color: #000 !important;
}

/* Dyslexia-friendly font (Lexend, loaded on-demand by JS).
   Lexend is a sans-serif science-backed reading-proficiency typeface. */
body.a11y-dyslexia-friendly,
body.a11y-dyslexia-friendly *:not(.lesieur-a11y-panel):not(.lesieur-a11y-panel *) {
	font-family: "Lexend", "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	letter-spacing: 0.02em !important;
}

/* Readable spacing — WCAG 1.4.12 reference values. Applied to all text
   nodes outside the panel. */
body.a11y-readable-spacing p,
body.a11y-readable-spacing li,
body.a11y-readable-spacing h1,
body.a11y-readable-spacing h2,
body.a11y-readable-spacing h3,
body.a11y-readable-spacing h4,
body.a11y-readable-spacing h5,
body.a11y-readable-spacing h6,
body.a11y-readable-spacing span,
body.a11y-readable-spacing a,
body.a11y-readable-spacing div {
	line-height: 1.6 !important;
	letter-spacing: 0.12em !important;
	word-spacing: 0.16em !important;
}
body.a11y-readable-spacing p {
	margin-bottom: 2em !important;
}

/* Underline all links — useful when colour is the only differentiator. */
body.a11y-underline-links a:not(.elementor-button):not(.lesieur-menu-link):not(.lesieur-submenu-link),
body.a11y-underline-links a:not(.elementor-button):not(.lesieur-menu-link):not(.lesieur-submenu-link) * {
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 2px !important;
}

/* Reduce motion — kill all animations and transitions site-wide. */
body.a11y-no-animation *,
body.a11y-no-animation *::before,
body.a11y-no-animation *::after {
	animation-duration: 0.001s !important;
	animation-delay: 0s !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.001s !important;
	transition-delay: 0s !important;
	scroll-behavior: auto !important;
}

/* =============================================================================
   Header trigger buttons — keyboard focus + active state
   --------------------------------------------------------------------------- */

.elementor-location-header .js-a11y-toggle,
.elementor-location-header [data-a11y-trigger],
.elementor-location-header a[href^="/?s="],
.elementor-location-header a[href*="linkedin.com"] {
	cursor: pointer;
	border-radius: 4px;
	transition: outline-offset 120ms ease, transform 120ms ease, background-color 160ms ease, color 160ms ease;
}

.elementor-location-header .js-a11y-toggle:focus-visible,
.elementor-location-header [data-a11y-trigger]:focus-visible,
.elementor-location-header a[href^="/?s="]:focus-visible,
.elementor-location-header a[href*="linkedin.com"]:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 4px;
}

.elementor-location-header .js-a11y-toggle:hover img,
.elementor-location-header a[href^="/?s="]:hover img,
.elementor-location-header a[href*="linkedin.com"]:hover img {
	transform: scale(1.08);
}

/* Active state — applied to header triggers when the panel is open. */
.elementor-location-header .js-a11y-toggle.is-active .elementor-button {
	background-color: #C20E1A !important;
	border-color: #C20E1A !important;
	color: #fff !important;
}
.elementor-location-header .js-a11y-toggle.is-active .elementor-button-text {
	color: #fff !important;
}
.elementor-location-header .js-a11y-toggle.is-active img {
	filter: invert(20%) sepia(89%) saturate(2614%) hue-rotate(347deg) brightness(95%) contrast(99%);
}

/* Active state for image-only triggers (Toggle.svg widget) — show a coloured
   background pill so users get visual feedback that the panel is open. */
.elementor-location-header .elementor-widget-image.js-a11y-toggle.is-active {
	outline: 2px solid #C20E1A;
	outline-offset: 4px;
	border-radius: 50%;
}

/* =============================================================================
   Panel
   --------------------------------------------------------------------------- */

.lesieur-a11y-panel {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
}

.lesieur-a11y-panel.is-open {
	pointer-events: auto;
	opacity: 1;
}

.lesieur-a11y-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.lesieur-a11y-panel__inner {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(380px, 92vw);
	background: #fff;
	color: #222221;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 240ms ease;
	display: flex;
	flex-direction: column;
	padding: 24px;
	gap: 16px;
	overflow-y: auto;
}

.lesieur-a11y-panel.is-open .lesieur-a11y-panel__inner {
	transform: translateX(0);
}

.lesieur-a11y-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lesieur-a11y-panel__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #222221;
}

.lesieur-a11y-panel__close {
	background: transparent;
	border: 2px solid transparent;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #222221;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
}

.lesieur-a11y-panel__close:hover {
	background: #f3f3f3;
}

.lesieur-a11y-panel__close:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 2px;
}

.lesieur-a11y-panel__desc {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.lesieur-a11y-section {
	border-top: 1px solid #ececec;
	padding-top: 14px;
}

.lesieur-a11y-section__title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #222221;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lesieur-a11y-stepper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lesieur-a11y-stepper__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #222221;
	background: #fff;
	color: #222221;
	font-size: 22px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	flex-shrink: 0;
}

.lesieur-a11y-stepper__btn:hover {
	background: #C20E1A;
	border-color: #C20E1A;
	color: #fff;
}

.lesieur-a11y-stepper__btn:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 2px;
}

.lesieur-a11y-stepper__value {
	flex: 1;
	text-align: center;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.lesieur-a11y-toggle-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid #222221;
	background: #fff;
	color: #222221;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}

.lesieur-a11y-toggle-btn__content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.lesieur-a11y-toggle-btn__hint {
	font-size: 12px;
	font-weight: 400;
	color: #666;
	line-height: 1.4;
}

.lesieur-a11y-toggle-btn:hover {
	background: #C20E1A;
	border-color: #C20E1A;
	color: #fff;
}
.lesieur-a11y-toggle-btn:hover .lesieur-a11y-toggle-btn__hint {
	color: rgba(255, 255, 255, 0.9);
}

.lesieur-a11y-toggle-btn:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 2px;
}

.lesieur-a11y-toggle-btn[aria-pressed="true"] {
	background: #222221;
	border-color: #222221;
	color: #fff;
}
.lesieur-a11y-toggle-btn[aria-pressed="true"] .lesieur-a11y-toggle-btn__hint {
	color: rgba(255, 255, 255, 0.75);
}

.lesieur-a11y-toggle-btn__state {
	width: 36px;
	height: 20px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.15);
	position: relative;
	flex-shrink: 0;
	transition: background 160ms ease;
}

.lesieur-a11y-toggle-btn__state::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform 160ms ease;
}

.lesieur-a11y-toggle-btn[aria-pressed="true"] .lesieur-a11y-toggle-btn__state {
	background: #C20E1A;
}

.lesieur-a11y-toggle-btn[aria-pressed="true"] .lesieur-a11y-toggle-btn__state::after {
	transform: translateX(16px);
}

.lesieur-a11y-panel__footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #ececec;
}

.lesieur-a11y-reset {
	width: 100%;
	padding: 12px 16px;
	background: transparent;
	border: 1px solid #222221;
	border-radius: 16px;
	font-size: 14px;
	font-weight: 600;
	color: #222221;
	cursor: pointer;
}

.lesieur-a11y-reset:hover {
	background: #222221;
	color: #fff;
}

.lesieur-a11y-reset:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 2px;
}
