/* Elementor Add-on — widgets */

.ea-loop-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ea-loop-grid__item {
	min-width: 0;
}

.ea-loop-grid__pagination {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.ea-loop-grid__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid currentColor;
	border-radius: 6px;
	text-decoration: none;
	opacity: .75;
}

.ea-loop-grid__pagination .page-numbers.current {
	opacity: 1;
	font-weight: 600;
}

/* Publications */
.ea-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ea-posts__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ea-posts__template-item {
	min-width: 0;
}

.ea-posts__thumb {
	display: block;
}

.ea-posts__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.ea-posts__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 0;
}

.ea-posts__title {
	margin: 0;
	font-size: 1.15em;
	line-height: 1.3;
}

.ea-posts__title a {
	text-decoration: none;
	color: inherit;
}

.ea-posts__meta {
	font-size: .85em;
	opacity: .7;
}

.ea-posts__excerpt {
	font-size: .95em;
}

.ea-posts__more {
	align-self: flex-start;
	margin-top: 4px;
	text-decoration: none;
	font-weight: 600;
}

.ea-posts__title a,
.ea-posts__more,
.ea-post-content a,
.ea-post-meta a,
.ea-post-terms a,
.ea-post-navigation a,
.ea-post-featured-image img {
	transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

/* Gallery */
.ea-gallery--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ea-gallery--masonry {
	column-count: 3;
	column-gap: 12px;
}

.ea-gallery__item {
	margin: 0;
	overflow: hidden;
	position: relative;
}

.ea-gallery--masonry .ea-gallery__item {
	break-inside: avoid;
	margin-bottom: 12px;
	display: inline-block;
	width: 100%;
}

.ea-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
}

.ea-gallery--zoom .ea-gallery__item img {
	transition: transform .4s ease;
}

.ea-gallery--zoom .ea-gallery__item:hover img {
	transform: scale(1.08);
}

.ea-gallery__caption {
	font-size: .85em;
	padding: 6px 2px;
	opacity: .8;
}

/* Gallery — mode slider */
.ea-gallery--slider {
	position: relative;
	padding-left: 46px;
	padding-right: 46px;
}

.ea-gallery--slider .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}

/* Logos/images : pas d'etirement, taille uniforme, centres */
.ea-gallery--slider .ea-gallery__item {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ea-gallery--slider .ea-gallery__item img {
	width: auto;
	max-width: 100%;
	max-height: 90px;
	margin: 0 auto;
	object-fit: contain;
}

/* Fleches dans la gouttiere laterale, pas par-dessus les images */
.ea-gallery--slider .swiper-button-prev,
.ea-gallery--slider .swiper-button-next {
	color: inherit;
	width: 36px;
	height: 36px;
	margin-top: -18px;
}

.ea-gallery--slider .swiper-button-prev { left: 2px; }
.ea-gallery--slider .swiper-button-next { right: 2px; }

/* Points sous le carrousel */
.ea-gallery--slider .swiper-pagination {
	position: static;
	margin-top: 14px;
}

/* Off-Canvas */
.ea-offcanvas__trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
}

.ea-offcanvas__overlay {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, .5 );
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease;
	z-index: 9998;
}

.ea-offcanvas.is-open .ea-offcanvas__overlay {
	opacity: 1;
	visibility: visible;
}

.ea-offcanvas__panel {
	position: fixed;
	z-index: 9999;
	max-width: 100%;
	max-height: 100%;
	background: #fff;
	overflow: auto;
	transition: transform .3s ease;
	box-shadow: 0 0 40px rgba( 0, 0, 0, .15 );
}

.ea-offcanvas[data-position="right"] .ea-offcanvas__panel { top: 0; bottom: 0; right: 0; transform: translateX( 100% ); }
.ea-offcanvas[data-position="left"]  .ea-offcanvas__panel { top: 0; bottom: 0; left: 0;  transform: translateX( -100% ); }
.ea-offcanvas[data-position="top"]    .ea-offcanvas__panel { left: 0; right: 0; top: 0;    width: 100% !important; transform: translateY( -100% ); }
.ea-offcanvas[data-position="bottom"] .ea-offcanvas__panel { left: 0; right: 0; bottom: 0; width: 100% !important; transform: translateY( 100% ); }

.ea-offcanvas.is-open .ea-offcanvas__panel { transform: none; }

.ea-offcanvas__close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}

.ea-offcanvas__content { padding: 48px 24px 24px; }

body.ea-offcanvas-lock { overflow: hidden; }

/* Loop Carousel */
.ea-loop-carousel {
	position: relative;
	overflow: hidden;
}

.ea-loop-carousel .swiper-slide {
	height: auto;
}

/* Single Post */
.ea-archive-title,
.ea-post-title {
	margin: 0;
}

.ea-post-title a,
.ea-post-terms a,
.ea-post-meta a,
.ea-post-navigation a {
	color: inherit;
}

.ea-post-featured-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.ea-post-content::after {
	content: "";
	display: table;
	clear: both;
}

.ea-post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.ea-post-meta__separator {
	opacity: .55;
}

.ea-post-navigation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}

.ea-post-navigation__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
}

.ea-post-navigation--next {
	text-align: right;
}

.ea-post-navigation__label {
	font-size: .8em;
	opacity: .7;
}

.ea-post-navigation__title {
	font-weight: 600;
}

.ea-post-widget__notice {
	padding: 12px;
	border: 1px dashed currentColor;
	opacity: .7;
}

.ea-loop-carousel .swiper-button-prev,
.ea-loop-carousel .swiper-button-next {
	color: currentColor;
}

.ea-loop-grid__notice {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	color: #50575e;
	background: #f6f7f7;
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* 2.18 — Menu, recherche, auteur, partage, appel a l'action           */
/* ------------------------------------------------------------------ */

.ea-nav-menu .screen-reader-text,
.ea-search-form .screen-reader-text,
.ea-share .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Menu de navigation */
.ea-nav-menu {
	position: relative;
	display: flex;
	align-items: center;
}

.ea-nav-menu__list,
.ea-nav-menu__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-nav-menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.ea-nav-menu--vertical .ea-nav-menu__list {
	flex-direction: column;
	align-items: flex-start;
}

.ea-nav-menu__list li {
	position: relative;
}

.ea-nav-menu__list a {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.ea-nav-menu__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100;
	min-width: 200px;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.ea-nav-menu__list .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.ea-nav-menu__list .sub-menu a {
	padding: 8px 16px;
}

.ea-nav-menu__list li:hover > .sub-menu,
.ea-nav-menu__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ea-nav-menu__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.ea-nav-menu__bars {
	display: grid;
	gap: 5px;
	width: 22px;
}

.ea-nav-menu__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.ea-nav-menu.is-open .ea-nav-menu__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ea-nav-menu.is-open .ea-nav-menu__bars span:nth-child(2) { opacity: 0; }
.ea-nav-menu.is-open .ea-nav-menu__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.ea-nav-menu--bp-tablet .ea-nav-menu__toggle { display: inline-flex; }
	.ea-nav-menu--bp-tablet .ea-nav-menu__panel { display: none; }
	.ea-nav-menu--bp-tablet.is-open .ea-nav-menu__panel { display: block; }
}

@media (max-width: 767px) {
	.ea-nav-menu--bp-mobile .ea-nav-menu__toggle { display: inline-flex; }
	.ea-nav-menu--bp-mobile .ea-nav-menu__panel { display: none; }
	.ea-nav-menu--bp-mobile.is-open .ea-nav-menu__panel { display: block; }
}

@media (max-width: 1024px) {
	.ea-nav-menu--bp-tablet.is-open .ea-nav-menu__panel,
	.ea-nav-menu--bp-mobile.is-open .ea-nav-menu__panel {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 200;
		width: min(320px, 90vw);
		max-height: 80vh;
		overflow-y: auto;
		padding: 12px 20px;
		background: var(--ea-nav-panel-bg, #fff);
		box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
	}

	.ea-nav-menu.is-open .ea-nav-menu__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ea-nav-menu.is-open .ea-nav-menu__list a {
		padding: 10px 0;
	}

	.ea-nav-menu.is-open .ea-nav-menu__list .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 14px;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* Formulaire de recherche */
.ea-search-form {
	display: flex;
	align-items: stretch;
}

.ea-search-form__input {
	min-width: 0;
	width: 220px;
	padding: 8px 12px;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	background: #fff;
	font: inherit;
}

.ea-search-form__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 0 10px;
	border: 1px solid #e6e6e6;
	border-left: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.ea-search-form--icon {
	position: relative;
}

.ea-search-form--icon .ea-search-form__button {
	border: 0;
}

.ea-search-form--icon .ea-search-form__input {
	position: absolute;
	right: 100%;
	top: 50%;
	width: 0;
	padding-left: 0;
	padding-right: 0;
	border-width: 0;
	opacity: 0;
	transform: translateY(-50%);
	transition: width .2s ease, opacity .2s ease;
}

.ea-search-form--icon.is-open .ea-search-form__input {
	width: 220px;
	padding: 8px 12px;
	border-width: 1px;
	opacity: 1;
}

/* Boite auteur */
.ea-author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px;
	background: #f8f8f6;
	border-radius: 10px;
}

.ea-author-box--column {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ea-author-box__avatar img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.ea-author-box__eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.ea-author-box__name {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
}

.ea-author-box__name a,
.ea-author-box__link {
	color: inherit;
	text-decoration: none;
}

.ea-author-box__bio {
	margin: 0 0 10px;
	line-height: 1.6;
}

.ea-author-box__link {
	font-weight: 700;
}

@media (max-width: 600px) {
	.ea-author-box--row {
		flex-direction: column;
	}
}

/* Boutons de partage */
.ea-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.ea-share__label {
	font-weight: 700;
}

.ea-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-share__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 0;
	border-radius: 6px;
	color: #fff;
	background: #555;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: filter .2s ease, background .2s ease;
}

.ea-share--brand .ea-share__button:hover,
.ea-share--brand .ea-share__button:focus { filter: brightness(.9); }
.ea-share--brand .ea-share__button--facebook { background: #1877f2; }
.ea-share--brand .ea-share__button--x { background: #000; }
.ea-share--brand .ea-share__button--pinterest { background: #e60023; }
.ea-share--brand .ea-share__button--linkedin { background: #0a66c2; }
.ea-share--brand .ea-share__button--whatsapp { background: #25d366; }
.ea-share--brand .ea-share__button--email { background: #6b6b6b; }
.ea-share--brand .ea-share__button--copy { background: #1a1a1a; }

.ea-share__glyph {
	font-weight: 700;
	line-height: 1;
}

.ea-share__button[data-ea-tooltip]::after {
	content: attr(data-ea-tooltip);
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	padding: 4px 8px;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	transform: translateX(-50%);
}

/* Appel a l'action */
.ea-cta {
	position: relative;
	display: flex;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
}

.ea-cta--right { flex-direction: row-reverse; }
.ea-cta--top { flex-direction: column; }

.ea-cta__media {
	flex: 0 0 38%;
	min-width: 0;
}

.ea-cta__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ea-cta--top .ea-cta__image {
	height: auto;
	aspect-ratio: 16 / 9;
}

.ea-cta__body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 24px;
}

.ea-cta__ribbon {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 4px;
	background: #e0301e;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ea-cta__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.ea-cta__title {
	margin: 0 0 10px;
}

.ea-cta__text p {
	margin: 0 0 10px;
}

.ea-cta__features {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.ea-cta__features li {
	position: relative;
	margin: 0 0 6px;
	padding-left: 24px;
}

.ea-cta__features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	font-weight: 700;
	color: #e0301e;
}

.ea-cta__button {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 6px;
	background: #e0301e;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.ea-cta__note {
	margin: 10px 0 0;
	font-size: 12px;
	opacity: .7;
}

@media (max-width: 767px) {
	.ea-cta--left,
	.ea-cta--right {
		flex-direction: column;
	}

	.ea-cta--left .ea-cta__image,
	.ea-cta--right .ea-cta__image {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* Les styles globaux de boutons du kit Elementor (.elementor-kit-N button)
   ne doivent pas repeindre les boutons d'interface des widgets EA. */
.ea-nav-menu .ea-nav-menu__toggle,
.ea-nav-menu .ea-nav-menu__toggle:hover,
.ea-nav-menu .ea-nav-menu__toggle:focus,
.ea-search-form--icon .ea-search-form__button,
.ea-search-form--icon .ea-search-form__button:hover,
.ea-search-form--icon .ea-search-form__button:focus {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	box-shadow: none;
}

.ea-search-form--inline .ea-search-form__button,
.ea-search-form--inline .ea-search-form__button:hover,
.ea-search-form--inline .ea-search-form__button:focus {
	padding: 0 10px;
	background: transparent;
	color: inherit;
}

/* Formulaire */
.ea-form {
	--ea-form-gap: 16px;
}

.ea-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ea-form-gap);
}

.ea-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 0 100%;
	min-width: 0;
}

.ea-form__field--w75 { flex-basis: calc(75% - var(--ea-form-gap) / 2); }
.ea-form__field--w66 { flex-basis: calc(66.666% - var(--ea-form-gap) / 2); }
.ea-form__field--w50 { flex-basis: calc(50% - var(--ea-form-gap) / 2); }
.ea-form__field--w33 { flex-basis: calc(33.333% - var(--ea-form-gap) * 2 / 3); }
.ea-form__field--w25 { flex-basis: calc(25% - var(--ea-form-gap) * 3 / 4); }

@media (max-width: 767px) {
	.ea-form__field { flex-basis: 100% !important; }
}

.ea-form__label {
	font-size: 14px;
	font-weight: 600;
}

.ea-form__required {
	color: #d63638;
}

.ea-form__input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background: #fff;
	color: inherit;
	font: inherit;
	box-sizing: border-box;
}

.ea-form__input:focus {
	border-color: currentColor;
	outline: 2px solid transparent;
}

textarea.ea-form__input {
	min-height: 140px;
	resize: vertical;
}

.ea-form__input[aria-invalid="true"] {
	border-color: #d63638;
}

.ea-form__check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	cursor: pointer;
}

.ea-form__checkbox {
	margin-top: 4px;
}

.ea-form__error {
	margin: 0;
	color: #d63638;
	font-size: 13px;
}

.ea-form__actions {
	flex-direction: row;
	justify-content: flex-start;
}

.ea-form .ea-form__submit {
	padding: 12px 26px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.ea-form.is-sending .ea-form__submit {
	opacity: .6;
	cursor: wait;
}

.ea-form__message {
	margin-top: 14px;
	font-weight: 600;
}

.ea-form__message.is-success { color: #1e7e34; }
.ea-form__message.is-error { color: #d63638; }

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

.ea-form .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Mini-panier */
.ea-menu-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.ea-menu-cart__icon {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.ea-menu-cart__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ea-menu-cart__count {
	position: absolute;
	top: -8px;
	left: 14px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e0301e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ea-menu-cart--hide-empty .ea-menu-cart__count[data-count="0"] {
	display: none;
}

.ea-menu-cart__subtotal {
	margin-left: 6px;
	font-weight: 600;
}
