/* Relais visuel des widgets Elementor Pro. Les couleurs fines restent dans
   les CSS générées (uploads/elementor/css), ici seulement la structure. */

header.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

@media (max-width: 767px) {
	header.elementor-location-header {
		position: relative;
	}
}

.csp-logo {
	display: inline-block;
	line-height: 0;
}

.csp-logo img {
	width: var(--csp-logo-w, 231px);
	height: auto;
}

@media (max-width: 767px) {
	.csp-logo img {
		width: var(--csp-logo-m, 150px);
	}
}

.csp-featured img {
	width: var(--csp-w, 100%);
	height: auto;
}

@media (max-width: 767px) {
	.csp-featured img {
		width: var(--csp-w-m, 100%);
	}
}

.elementor-widget-nav-menu .elementor-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-nav-menu--main > .elementor-nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.elementor-nav-menu--main .menu-item {
	position: relative;
}

.elementor-nav-menu .elementor-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 15px 10px;
	color: #015a83;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item:focus,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #fff;
	background: #fbab0c;
}

.elementor-nav-menu--main .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: rgba(255, 255, 255, 0.96);
	border: 1px dashed #015a83;
	text-align: left;
}

.elementor-nav-menu--main .menu-item:hover > .sub-menu,
.elementor-nav-menu--main .menu-item:focus-within > .sub-menu {
	display: block;
}

.elementor-nav-menu--main .sub-menu .elementor-item {
	text-transform: none;
	padding: 10px 16px;
}

.elementor-nav-menu--main .sub-menu .elementor-item:hover,
.elementor-nav-menu--main .sub-menu .elementor-item:focus {
	color: #fbab0c;
	background: #045c84;
}

.elementor-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-left: auto;
	cursor: pointer;
}

.csp-burger,
.csp-burger:before,
.csp-burger:after {
	display: block;
	width: 22px;
	height: 2px;
	background: #045c84;
	position: relative;
}

.csp-burger:before,
.csp-burger:after {
	content: "";
	position: absolute;
	left: 0;
}

.csp-burger:before {
	top: -7px;
}

.csp-burger:after {
	top: 7px;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	display: none;
	background: #fff;
}

.elementor-nav-menu--dropdown .elementor-item {
	text-transform: none;
}

.elementor-nav-menu--dropdown .sub-menu {
	display: block;
	margin: 0;
	padding: 0 0 0 14px;
	list-style: none;
}

@media (max-width: 1024px) {
	.elementor-widget-nav-menu .elementor-widget-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.elementor-nav-menu--main {
		display: none;
	}

	.elementor-menu-toggle {
		display: flex;
	}

	.elementor-nav-menu--dropdown.elementor-nav-menu__container.is-open {
		display: block;
		flex: 0 0 100%;
	}
}

.csp-posts {
	display: grid;
	grid-template-columns: repeat(var(--csp-cols, 3), minmax(0, 1fr));
	gap: 28px 22px;
}

@media (max-width: 1024px) {
	.csp-posts {
		grid-template-columns: repeat(var(--csp-cols-t, var(--csp-cols, 3)), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.csp-posts {
		grid-template-columns: repeat(var(--csp-cols-m, 1), minmax(0, 1fr));
	}
}

.elementor-post__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	box-shadow: 0 8px 24px rgba(1, 90, 131, 0.08);
}

.elementor-post__thumbnail {
	position: relative;
	display: block;
	overflow: hidden;
	padding-bottom: 66%;
}

.elementor-post__thumbnail img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.elementor-post__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 8px;
	background: #015a83;
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
}

.elementor-post__text {
	padding: 16px 18px 20px;
}

.elementor-post__title {
	margin: 0 0 10px;
	font-size: 1.05rem;
	line-height: 1.35;
}

.elementor-post__title a,
.elementor-post__read-more {
	color: #015a83;
	text-decoration: none;
}

.elementor-post__read-more {
	display: inline-block;
	color: #fcac0c;
	font-weight: 700;
}

.elementor-widget-hotspot .elementor-widget-container,
.csp-hotspot {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
}

.csp-hotspot > img,
.elementor-widget-hotspot .elementor-widget-container > img {
	display: block;
	width: 100%;
	height: auto;
}

.e-hotspot {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.e-hotspot--position-left {
	left: var(--hotspot-translate-x, 0);
	right: auto;
}

.e-hotspot--position-right {
	right: var(--hotspot-translate-x, 0);
	left: auto;
}

.e-hotspot--position-top {
	top: var(--hotspot-translate-y, 0);
	bottom: auto;
}

.e-hotspot--position-bottom {
	bottom: var(--hotspot-translate-y, 0);
	top: auto;
}

.e-hotspot:hover,
.e-hotspot:focus-within,
.e-hotspot.is-open {
	z-index: 5;
}

.e-hotspot__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--hotspot-min-width, 0);
	min-height: var(--hotspot-min-height, 0);
	padding: var(--hotspot-padding, 11px);
	border: 0;
	border-radius: var(--hotspot-border-radius, 33px);
	background: var(--hotspot-box-color, rgba(1, 90, 131, 0.84));
	color: var(--hotspot-color, #f8ad0b);
	font-size: var(--hotspot-size, 15px);
	line-height: 1.2;
	cursor: pointer;
}

.e-hotspot__tooltip {
	position: absolute;
	z-index: 6;
	min-width: var(--tooltip-min-width, 220px);
	max-width: min(var(--tooltip-max-width, 320px), 80vw);
	padding: var(--tooltip-padding, 20px);
	background: #fff;
	background: var(--tooltip-color, #fff);
	border-radius: var(--tooltip-border-radius, 0);
	color: var(--tooltip-text-color, #015a83);
	text-align: var(--tooltip-align, center);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	pointer-events: none;
}

.e-hotspot:hover .e-hotspot__tooltip,
.e-hotspot:focus-within .e-hotspot__tooltip,
.e-hotspot.is-open .e-hotspot__tooltip {
	opacity: 1;
	pointer-events: auto;
}

.csp-gallery {
	column-count: var(--csp-cols, 3);
	column-gap: 10px;
}

.csp-gallery .e-gallery-item {
	display: block;
	margin: 0 0 10px;
	break-inside: avoid;
}

.csp-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.csp-gallery {
		column-count: var(--csp-cols-t, var(--csp-cols, 3));
	}
}

@media (max-width: 767px) {
	.csp-gallery {
		column-count: var(--csp-cols-m, 2);
	}
}

.elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.elementor-field-group {
	box-sizing: border-box;
}

.elementor-col-100 {
	width: 100%;
}

.elementor-col-50 {
	width: calc(50% - 7px);
}

.elementor-col-33 {
	width: calc(33.33% - 10px);
}

.elementor-field-textual,
.csp-form select,
.csp-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d5dde3;
	border-radius: 2px;
	background: #fff;
	color: #333;
	font: inherit;
}

.csp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.45;
}

.csp-form-submit {
	margin-top: 16px;
}

.csp-form-submit--center {
	text-align: center;
}

.csp-form .elementor-button {
	padding: 12px 28px;
	border: 0;
	background: #015a83;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.csp-form-message {
	margin: 0 0 14px;
	padding: 12px 14px;
}

.csp-form-message--ok {
	background: #e7f6ee;
	color: #0d5c2e;
}

.csp-form-message--err {
	background: #fdecec;
	color: #8a1f1f;
}

.csp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.elementor-screen-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 767px) {
	.elementor-col-50,
	.elementor-col-33 {
		width: 100%;
	}
}

html.csp-notice-closed .csp-notice {
	display: none;
}

html:not(.csp-notice-closed) body:has(#csp-notice) {
	overflow: hidden;
}

.csp-notice {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.csp-notice__overlay {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: rgba(6, 5, 29, 0.86);
	cursor: pointer;
}

.csp-notice__align {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	height: 100%;
	pointer-events: none;
}

.csp-notice__panel {
	position: relative;
	width: min(980px, 100%);
	max-height: 100%;
	overflow: auto;
	background: #06051d;
	color: #fff;
	pointer-events: auto;
	animation: csp-fade-in-right 0.45s ease;
}

.csp-notice__panel > .elementor {
	width: 100%;
}

.csp-notice__close {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.52);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.csp-notice__close:hover,
.csp-notice__close:focus-visible {
	color: #c100fb;
}

@keyframes csp-fade-in-right {
	from {
		opacity: 0;
		transform: translate3d(100%, 0, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.csp-notice__panel {
		animation: none;
	}
}
