/* Police adaptée à la dyslexie */
.body-dyslexia {
	font-family: 'Open-Dyslexic', "Inter", sans-serif;
	--cnvs-primary-font: 'Open-Dyslexic', "Inter", sans-serif !important;
	--cnvs-secondary-font: 'Open-Dyslexic', "Inter", sans-serif !important;
	--bs-font-sans-serif: 'Open-Dyslexic', sans-serif !important;
	--bs-font-monospace: 'Open-Dyslexic', monospace !important;
	--cnvs-primary-menu-submenu-font: 'Open-Dyslexic', "Inter", sans-serif !important;
}

.dark .custom-border-shadow {
	--cnvs-box-shadow-sm: 0 0.125rem 0.25rem rgb(255 255 255 / 8%);
	--cnvs-box-shadow: 0 0.5rem 1rem rgb(255 255 255 / 15%);
}

.dark .module.shadow {
	box-shadow: 0 2px 20px 0 rgb(255 255 255 / 10%) !important;
}

.clickable-composite:hover .quick-access,
.clickable-composite:focus-within .quick-access {
	border-bottom: 1px solid #fff;
}

/* Neutralise totalement le style natif du <button> */
#copyrights .as-link {
	appearance: none;
	-webkit-appearance: none;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	/* on gère le focus nous-mêmes plus bas */
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

/* Effets hover/focus sans "cadre" */
#copyrights .as-link:hover,
#copyrights .as-link:focus-visible,
#copyrights .copy-links a.copy-link:hover,
#copyrights .copy-links a.copy-link:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}

/* Si un style global rajoute une ombre/focus, on la coupe ici aussi */
#copyrights .as-link:focus,
#copyrights .as-link:active {
	box-shadow: none !important;
	outline: none !important;
}

/* Taille responsive SANS saut de mise en page */
.partners-carousel .partner-card {
	/* hauteur de carte (zone de clic) */
	min-height: clamp(80px, 10vw, 140px);
	padding: 12px 18px;
	display: grid;
	place-items: center;
}

/* Le logo occupe au max la hauteur dispo */
.partners-carousel .partner-logo {
	max-height: 100% !important;
	/* prime sur styles thème */
	height: clamp(48px, 8vw, 110px) !important;
	/* ↑ augmente ici si tu veux plus grand */
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain;
}

/* Certains thèmes imposent une petite hauteur aux images du carrousel : on écrase */
#oc-clients-full .owl-item img {
	height: auto !important;
	max-height: none !important;
	width: auto !important;
}

/* (Option) Si ton thème force une hauteur globale sur .clients img ou .image-carousel img */
.image-carousel img,
.clients-grid img,
.clients-carousel img {
	max-height: none !important;
	height: auto !important;
}

/* Effets hover/focus (tu peux garder ceux d'avant) */
.partners-carousel .partner-card:hover .partner-logo,
.partners-carousel .partner-card:focus-visible .partner-logo {
	transform: translateY(-2px) scale(1.04);
	filter: grayscale(0%) opacity(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .2));
}

.partners-carousel .partner-logo {
	filter: grayscale(100%) opacity(.85);
	transform: translateY(0) scale(1);
	transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}


a:focus-visible {
	border: 0.1rem dashed #1f1c00;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.allmargin-xs {
	margin: 1rem !important;
}

.leftmargin-xs {
	margin-left: 1rem !important;
}

.rightmargin-xs {
	margin-right: 1rem !important;
}

.topmargin-xs {
	margin-top: 1rem !important;
}

.bottommargin-xs {
	margin-bottom: 1rem !important;
}

.dark .quickLink:hover {
	color: #CCC;
	filter: none;
	transform: scale(1.35);
	background-color: rgb(238, 185, 62);
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	cursor: pointer;
	width: 100px;
	height: 100px;
}

.footer-logo {
	display: block;
	margin-bottom: 30px;
	max-width: 250px;
}

.bgiconAccueil {
	display: block;
	position: absolute;
	bottom: -44px;
	right: 23px;
	font-size: 210px;
	color: rgba(0, 0, 0, 0.1);
}

/* Correction de la position des listes à puces dans la section blog */
.entry-content ul {
	margin-left: 30px;
}

.map {
	margin-bottom: 0px !important;
}

.primary-menu .menu-item:focus {
	outline: 1px solid #205089 !important;
	background-color: #020101;
	margin-left: 7px;
}

.entry-content a:not(.button):not(.relatifContent) {
	display: inline-block;
	font-style: italic;
	border-bottom: 1px solid #205089;
}

.entry-content a:not(.button):not(.relatifContent):hover {
	color: #E2001A;
	border-bottom-color: #E2001A;
	text-decoration: none !important;
	transition: all 0.3s ease-in-out;
}

.dark .button:hover {
	border: solid 2px #fff;
}

/* Ajout des différentes style pour la partie : Contact du Template Tinymce */
.highlightEvent {
	display: flex;
	flex-direction: column;
	margin-top: 3rem;
}

.heading-nav-list {
	max-width: 1320px;
	margin: 0 auto 2rem;
	padding: 1.5rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 1rem;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dark .heading-nav-list {
	background-color: rgba(15, 23, 42, 0.9);
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.heading-view-panel {
	position: relative;
}

.heading-nav-list__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.75rem;
	margin: 0;
	padding: 0;
}

.heading-nav-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 1rem;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.dark .heading-nav-card {
	background-color: rgba(24, 33, 57, 0.95);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.heading-nav-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.heading-nav-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.heading-nav-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.heading-nav-card__title {
	font-weight: 600;
	line-height: 1.3;
}

.heading-nav-card__meta,
.heading-nav-card__excerpt {
	color: var(--cnvs-contrast-700);
}

.dark .heading-nav-card__meta,
.dark .heading-nav-card__excerpt {
	color: rgba(255, 255, 255, 0.75);
}

.heading-view-toggle {
	min-width: 240px;
	font-weight: 600;
	background-color: #ffffff;
	color: #1f2937;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.75rem 1.85rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.heading-view-toggle:hover,
.heading-view-toggle:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	color: #fff;
	border-color: rgba(17, 24, 39, 0.35);
}

.section.dark .heading-view-toggle,
.dark .heading-view-toggle {
	background-color: rgba(255, 255, 255, 0.98);
	color: #111827;
	border-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section.dark .heading-view-toggle:hover,
.section.dark .heading-view-toggle:focus-visible,
.dark .heading-view-toggle:hover,
.dark .heading-view-toggle:focus-visible {
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.heading-view-toggle:focus-visible {
	outline: 3px solid rgba(252, 211, 77, 0.8);
	outline-offset: 3px;
}

.heading-nav-card__link:hover,
.heading-nav-card__link:focus-visible {
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.heading-nav-list {
		padding: 1.25rem;
	}

	.heading-nav-card__body {
		padding: 1rem;
	}
}

.module.shadow {
	border-radius: 17px;
	background-color: var(--white);
	padding: 1.5rem 1.5rem;
	box-shadow: 0 2px 20px 0 rgb(0 0 0 / 10%) !important;
}

.module {
	width: 100%;
	min-width: 50%;
	max-width: 100%;
	border: 0;
	margin-top: 0;
	margin-bottom: 2rem;
	overflow: hidden;
}

.iconTest {
	fill: #fff;
	/* Couleur initiale de l'icône */
	transition: fill 0.3s;
	/* Animation de transition de couleur */
}

.iconTest:hover {
	fill: #eeb93e;
	/* Couleur au survol de la souris */
}

.wprock-img-zoom-hover .wprock-img-zoom {
	overflow: hidden;
	position: relative;
}

.wprock-img-zoom-hover .wprock-img-zoom img {

	max-width: 100%;
	-moz-transition: all 0.8s;
	-webkit-transition: all 0.8s;
	transition: all 0.8s;
}

.wprock-img-zoom-hover .wprock-img-zoom * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.wprock-img-zoom-hover:hover .wprock-img-zoom img {
	-moz-transform: scale(1.20);
	-webkit-transform: scale(1.20);
	transform: scale(1.20);
}

.dp-none {
	display: none !important;
}

.responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	/* ratio d'aspect 16:9 pour une vidéo YouTube */
	height: 0;
	overflow: hidden;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button i {
	margin-right: 15px !important;
}

.button-mini i {
	margin-right: 9px !important;
}

.fw-extrabold {
	font-weight: 1000 !important;
	font-size: 1.0em;
}

.sib-form {
	padding: 0px !important;
	margin: 0px !important;
}

.sib-form-container {
	padding: 0px !important;
	margin: 0px !important;
}

.dark a {
	color: white;
}

.dark .entry-content a:not(.button) {
	border-bottom: 1px solid #fff;
}

.dark .iconlist>li i:first-child,
.iconlist>li img:first-child {
	color: white;
}

.quickaccess {
	background-color: #215089;
	padding: 1rem;
	margin-right: -0px;
	margin-left: -0px;
}

.dark .quickaccess {
	background-color: #36393d;
}

.dark .button.button-border {
	--cnvs-btn-border-color: #ffffff;
	border: var(--cnvs-btn-border-width) solid var(--cnvs-btn-border-color);
	background: none;
	color: var(--cnvs-btn-border-color);
}

.dark #oc-clients-full {
	background-color: #dddcdc;
}

/* ---------------------------------------------------------------- Communiqués de presse -----------------------------------------------------------------*/
.color-2,
.h-color-2:hover {
	color: var(--cnvs-secondary-color) !important;
}

.color-3,
.h-color-3:hover {
	color: #6c7885 !important;
}

.bg-color-2,
.h-bg-color-2:hover {
	background-color: var(--cnvs-secondary-color) !important;
}

.iconlist>li {
	line-height: 24px;
}

.iconlist>li [class^="icon-"]:first-child,
.iconlist>li [class*=" icon-"]:first-child {
	width: 24px;
	height: 24px;
	text-align: center;
	border-radius: 50%;
}

.dotted-bg:before {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: 110%;
	height: 100%;
	background-size: 12px 12px;
	background-position: center;
	transform: translate(-50%, -50%);
	background-image: radial-gradient(rgba(var(--cnvs-themecolor-rgb), 0.3) 14%, transparent 14%);
	-webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
	mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
	z-index: 0;
}

.services-grid .feature-box {
	padding: 2rem;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: .5rem;
	border: 1px solid var(--cnvs-secondary-color);
}

.services-grid .feature-box:hover {
	background-size: cover;
}

.hover-button {
	display: block;
	margin-top: 20px;
	font-weight: 600;
}

.dark .hover-button {
	color: #FFF;
}

.dark .services-grid .feature-box {
	background-color: #343a40;
}

.services-grid .feature-box {
	background-color: #e0e0e0;
}

.fbox-icon i {
	background-color: #343a40;
}

.dark .fbox-icon i {
	background-color: rgba(0, 0, 0, 0.1);
	color: #fff;
}


.services-grid .feature-box,
.services-grid .feature-box .fbox-icon,
.services-grid .feature-box .fbox-content,
.hover-button {
	transition: all .4s ease, border-color .0s ease;
}

.heading-block h3 {
	font-size: 2.1rem;
	line-height: 1.3 !important;
}


.form-widget label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 5px;
}

.dark .presse {
	color: #fff !important;
}

.presse {
	color: #000 !important;
}

/* Changement de couleur lors du survol */
.feature-box:hover .presse {
	color: white !important;
}

@media (min-width: 992px) {

	.services-grid .feature-box {
		padding: 3rem;
		background-size: 0;
		border: 1px solid rgba(0, 0, 0, 0.1);
	}

	.dark .services-grid .feature-box {
		border: 1px solid rgba(255, 255, 255, 0.1);
	}

	.services-grid .feature-box:hover {
		transform: translateY(-6px);
		border-color: var(--cnvs-themecolor);
	}

	.services-grid .feature-box:not(:hover) .hover-button {
		opacity: 0;
		transform: translateY(-5px);
	}

	.services-grid .feature-box .fbox-icon,
	.services-grid .feature-box .fbox-content {
		transform: translateY(20px);
	}

	.services-grid .feature-box:hover .fbox-icon,
	.services-grid .feature-box:hover .fbox-content {
		transform: translateY(0px);
	}

	.dark .services-grid .feature-box:hover .fbox-icon i {
		background-color: rgba(92, 112, 131, 0.6);
	}

	.services-grid .feature-box:hover .fbox-icon i {
		background-color: rgba(52, 58, 64, 0.6);
	}

	.heading-block h3 {
		font-size: 2.5rem;
		line-height: 1.3 !important;
	}

	body .dark .heading-block h3 {
		color: #000 !important;
	}

	.hero-title.display-3 {
		font-size: 4.25rem;
		letter-spacing: -3px;
	}
}

@media (max-width: 991.98px) {
	.presse {
		color: #fff !important;
	}

	.dark .fbox-icon i {
		background-color: #343a40;
	}
}

/* CSS pour masquer le contenu du titre destiné à l'affichage visuel */
h3 .ellipsis {
	visibility: visible;
	/* rend les points de suspension visibles seulement si 'ellipsis' n'est pas vide */
}

.clickable-composite {
	cursor: pointer;
}

#footer {
	--cnvs-copyrights-link-color: var(--cnvs-contrast-900);
}

/* ----------------------------------------------------------------
	accessibilité : Gestion des différents focus
-----------------------------------------------------------------*/
.using-keyboard a:focus {
	outline: 3px solid blue !important;
}

.using-keyboard button:focus {
	outline: 3px solid green !important;
}

.using-keyboard div[tabindex]:focus {
	outline: 3px solid yellow !important;
}

.using-keyboard .entry a:focus {
	outline: 3px solid blue;
	display: block;
}

.using-keyboard #gotoTop:focus {
	outline: 3px solid blue;
	box-shadow: 0 0 5px blue;
}

.using-keyboard .menu-link:focus {
	outline: 3px solid #007BFF;
}

.using-keyboard .leaflet-marker-icon:focus {
	outline: 3px solid orange !important;
	box-shadow: 0 0 5px orange;
}

.using-keyboard .leaflet-marker-icon:focus-visible {
	outline: 3px solid orange !important;
	box-shadow: 0 0 5px orange;
}

.widget>h2,
.widget>.h2 {
	margin-bottom: var(--cnvs-widget-title-margin);
	font-size: var(--cnvs-widget-title-font-size);
	font-weight: var(--cnvs-widget-title-font-weight);
	letter-spacing: var(--cnvs-widget-title-letter-spacing);
	text-transform: var(--cnvs-widget-title-text-transform);
}

.entry-title h3,
.entry-title .h3 {
	--cnvs-post-title-font-size: 0.875rem;
}

/* Classe CSS pour cacher les éléments visuellement mais les rendre accessibles aux lecteurs d'écran */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Retailler les images de la page voir le visuel de l'annuaire */
.image-container-annuaire-view {
	height: 193px;
	overflow: hidden;
	position: relative;
}

.image-container-annuaire-view img {
	display: block;
	min-height: 193px;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.btn-blue {
	--bs-btn-color: #fff;
	--bs-btn-bg: #1265a8;
	--bs-btn-border-color: #1265a8;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--bs-gray-900);
	;
	--bs-btn-hover-border-color: #565e64;
	--bs-btn-focus-shadow-rgb: 130, 138, 145;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--bs-gray-900);
	;
	--bs-btn-active-border-color: var(--bs-gray-900);
	;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #1265a8;
	--bs-btn-disabled-border-color: #1265a8;
}

.btn-outline-blue {
	--bs-btn-color: #1265a8;
	--bs-btn-border-color: #1265a8;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #1265a8;
	--bs-btn-hover-border-color: #1265a8;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #1265a8;
	--bs-btn-active-border-color: #1265a8;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #1265a8;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: #1265a8;
	--bs-gradient: none;
}

.dark .btn-outline-blue {
	--bs-btn-color: #fff;

}

.dark .button.button-circle {
	border: solid 3px white;
}

.theme {
	width: 9rem;
	height: 3.5rem;
	border: 2px solid #a8a699;
	border-radius: 4.5rem;
	padding: 3px;
	display: flex;
	box-sizing: border-box;
	justify-content: space-between;
}

.theme-btn {
	font-size: 1.6rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 0;
}

.theme-clair {
	color: #000;
	background-color: #fff;
}

.theme-sombre {
	color: #fff;
	background-color: #000;
}

.text-acc {
	width: auto;
	height: 6rem;
	border: 1px solid #a8a699;
	background-color: #fff;
	border-radius: 1rem;
	padding: 0 1.2rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.text-acc-btn {
	font-size: 1.6rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: solid 1px #000;
	background-color: #fff;
	color: #000;
}

.text-acc-btn:hover {
	background-color: #000;
	color: #fff;
}

button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.modal1 .block .button {
	white-space: normal;
	/* Permet au texte de s'adapter à la largeur disponible */
	word-wrap: break-word;
	/* Si le texte est trop long, il sera coupé et placé à la ligne suivante */
	width: 100%;
	/* Assurez-vous que le bouton utilise toute la largeur du modal */
	text-align: center;
	/* Centrer le texte à l'intérieur du bouton */
	box-sizing: border-box;
	/* Assure que le padding et la bordure n'augmentent pas la largeur totale du bouton */
}

.zoom-value,
.spacing-value {
	font-size: 16px;
	font-weight: bold;
	margin-left: 10px;
}

.dark .entry-title h2 a:hover,
.dark .entry-title h3 a:hover,
.dark .entry-title h4 a:hover {
	color: #E2001A;
	border-bottom-color: #E2001A;
	text-decoration: none !important;
	transition: all 0.3s ease-in-out;
}

.dark .menu-item>.menu-link span,
.menu-item:hover>.menu-link span {
	color: #fff !important;
}

.dark .sub-menu-container .menu-item .menu-link:hover {
	color: #fff !important;
	/* Forcer l'application avec !important */
	border: solid 1px #fff !important;
	/* Forcer également la bordure */
}

.entry-meta li {
	color: var(--cnvs-contrast-700) !important;
}

.dark#footer .footer-widgets-wrap a,
.dark #footer .footer-widgets-wrap a {
	color: rgba(255, 255, 255, 1);
}

.dark .text-copyright {
	color: rgba(255, 255, 255, 1);
}

.menu-header-link {
	text-transform: uppercase;
	font-weight: 700 !important;
	font: var(--cnvs-primary-font);
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 1.1);
	letter-spacing: 1px;
	color: var(--cnvs-primary-menu-submenu-color);
	padding: 0 !important;
	line-height: 1.3 !important;
}

.entry-title a.hover {
	color: var(--cnvs-themecolor);
	border-bottom: 1px solid #205089;
}

.dark .entry-title a.hover {
	color: var(--cnvs-contrast-700) !important;
	border-bottom: 1px solid #fff;
}

.card-title a.hover {
	color: var(--cnvs-themecolor);
	border-bottom: 1px solid #205089;
}

.dark .card-title a.hover {
	color: var(--cnvs-contrast-700) !important;
	border-bottom: 1px solid #fff;
}

.img-search {
	width: 100%;
	/* Occupe toute la largeur disponible */
	height: 250px !important;
	/* Fixe une hauteur identique pour toutes les images */
	object-fit: cover;
	/* Adapte l'image tout en remplissant l'espace */
	border-radius: 8px;
	/* Conserve les coins arrondis */
}

.bg-light2 {
	background-color: #f8f9fa;
}

.dark .bg-light2 {
	background-color: #4a4b4c;
}

/* =========================
	LE SLIDER ACCUEIL
	Chaîne de hauteur Splide (s'aligne sur les classes min-vh-* existantes)
========================= */

#home-splide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#home-splide .splide__track,
#home-splide .splide__list,
#home-splide .splide__slide,
#home-splide .slide-bg-wrapper {
	height: 100%;
	min-height: 100%;
}

/* Certains navigateurs exigent que html/body occupent 100% */
html,
body {
	height: 100%;
}

/* =========================
	Aspect visuel : image "cover", voile sombre, centrage du contenu
========================= */

/* Chaque diapositive est un conteneur positionné, contenu masqué si dépassement */
#home-splide .splide__slide {
	position: relative;
	overflow: hidden;
}

/* Wrapper qui couvre toute la diapositive */
#home-splide .slide-bg-wrapper {
	position: absolute;
	inset: 0;
	/* top/right/bottom/left: 0 */
}

/* Image qui remplace l’ancien background-image en mode cover + centrée */
#home-splide .slide-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* équivalent de background-size: cover */
	object-position: center;
	/* équivalent de background-position: center */
	z-index: 0;
}

/* Voile sombre (overlay) sur toute la diapositive */
#home-splide .video-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* Légendes et contenu au-dessus de l’image/overlay */
#home-splide .container,
#home-splide .slider-caption {
	position: relative;
	z-index: 2;
}

/* Centrage vertical et horizontal du bloc de légende sur toute la slide */
#home-splide .slider-caption.slider-caption-center {
	display: grid;
	place-items: center;
	/* centre x/y */
	text-align: center;
	min-height: 100%;
	/* occupe toute la hauteur de la diapo */
}

/* =========================
   Commandes : flèches, pagination, compteur, bouton Lecture/Pause
========================= */

/* Conteneur des flèches, centré verticalement, aux bords gauche/droit */
#home-splide .splide__arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 1rem;
	z-index: 3;
}

/* Style des boutons flèches (fond sombre translucide, circulaires) */
#home-splide .splide__arrow {
	background: rgb(37, 83, 139);
	color: #fff;
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	/* conserve la couleur du thème (ex. .dark) */
}

/* Anneau de focus visible pour l’accessibilité clavier */
#home-splide .splide__arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Position de la pagination (points) */
#home-splide .splide__pagination {
	bottom: 1rem;
}

/* Compteur “slide actuelle / total” en bas à droite */
#home-splide .slide-number {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	z-index: 3;
	color: #fff;
	display: inline-flex;
	gap: .25rem;
	align-items: baseline;
	font-weight: 600;
}

/* Bouton Lecture/Pause discret en bas à gauche */
#home-splide .a11y-toggle {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	z-index: 3;
	background: rgb(37, 83, 139);
	color: #fff;
	border: 0;
	padding: .4rem .75rem;
	border-radius: 999px;
	cursor: pointer;
}

/* Focus visible pour le bouton Lecture/Pause */
#home-splide .a11y-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#events-splide .splide__arrow {
	background: rgb(37, 83, 139);
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: #fff;
}

#events-splide .splide__arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* cartes cliquables comme avant */
.card .stretched-link {
	position: relative;
	z-index: 1;
}

.card {
	border-radius: .5rem;
	overflow: hidden;
}

/* plein écran + marge intérieure comme ton ancien padding:20px; */
.splide-fw .splide__track {
	padding-left: 20px;
	padding-right: 20px;
}

/* flèches centrées verticalement, visibles par-dessus */
#events-splide .splide__arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 12px;
	/* léger recul pour ne pas coller au bord */
	z-index: 3;
}

/* arrondis + ombre bien visibles quand on ajoute du padding */
#events-splide .card {
	border-radius: .75rem;
	overflow: hidden;
}

/* déplacer un peu les flèches vers l’intérieur en mobile (ou les masquer si tu préfères) */
@media (max-width: 576px) {
	#events-splide .splide__arrows {
		padding: 0 6px;
	}

	/* ou: #events-splide .splide__arrows { display:none; } */
}

/* plein écran + respiration intérieure comme ton padding inline */
.splide-fw .splide__track {
	padding-left: 0;
	padding-right: 0;
}

/* flèches centrées verticalement, style discret */
#news-splide .splide__arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 12px;
	z-index: 3;
}

#news-splide .splide__arrow {
	background: rgb(37, 83, 139);
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	cursor: pointer;
}

#news-splide .splide__arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* images = même rendu */
#news-splide img.object-cover {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

#news-splide.splide--few .splide__list::before,
#news-splide.splide--few .splide__list::after {
	content: '';
	flex: 0 0 var(--news-splide-offset-px, 0);
}
