/* =========================================================
   EEP – Why Choose Us — Version: 1.2.0 — charte Landscop
   Vert anis #97b545 · vert foncé #0f3714 · doré #f4be29
   6 designs · apparitions en cascade
   Le sur-titre, le titre et le texte portent aussi les classes
   du thème (pxl-item--subtitle / --title / --subtext) : la
   typographie suit donc celle du reste du site.
   ========================================================= */

.eep-wcu [hidden] { display: none !important; }

.eep-wcu {
	--eep-primary: #97b545;
	--eep-dark: #0f3714;
	--eep-accent: #f4be29;
	--eep-muted: #5b6b5d;
	--eep-align: left;
	--eep-pad-x: 0px;
	--eep-gap: 26px;
	--eep-eyebrow-icon: 30px;
	--eep-check: 52px;
	--eep-duo-col: 44%;
	--eep-duo-radius: 20px;
	--eep-badge: 170px;
	--eep-badge-c1: #0f3714;
	--eep-badge-c2: #2f6b2f;

	padding-left: var(--eep-pad-x);
	padding-right: var(--eep-pad-x);
	max-width: 100%;
}

.eep-wcu *,
.eep-wcu *::before,
.eep-wcu *::after { box-sizing: border-box; }

/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */
.eep-wcu__header {
	text-align: var(--eep-align);
	margin: 0 0 40px 0;
}

.eep-wcu__eyebrow {
	display: flex;
	align-items: center;
	justify-content: var(--eep-align);
	margin: 0 0 10px 0;
	padding: 0;
	line-height: 1.2;
}

.eep-wcu__eyebrow-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--eep-eyebrow-icon);
	height: var(--eep-eyebrow-icon);
	color: var(--eep-primary);
	margin-right: 12px !important;
}

.eep-wcu__eyebrow-icon img,
.eep-wcu__eyebrow-icon svg,
.eep-wcu__eyebrow-icon i {
	width: 100%;
	max-width: 100%;
	height: 100% !important; /* contre les thèmes qui forcent svg{height:auto} */
	object-fit: contain;
	font-size: calc(var(--eep-eyebrow-icon) * 0.9);
	line-height: 1 !important;
	display: block;
}

.eep-wcu__eyebrow-icon svg { fill: currentColor; }

.eep-wcu__eyebrow-text {
	display: inline-block;
	text-transform: none;
}

/* Sans héritage du thème, le sur-titre reprend l'écriture manuscrite du site */
.eep-wcu:not(.eep-wcu--herite) .eep-wcu__eyebrow-text {
	font-family: 'Dancing Script', 'Brush Script MT', cursive;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

/* Pastille arrondie, comme le bloc « À Propos » */
.eep-wcu__eyebrow.is-badge {
	display: inline-flex;
	background-color: #eef1e8;
	border-radius: 60px;
	padding: 7px 24px 7px 18px;
}

/* Variante avec un trait avant le texte */
.eep-wcu__eyebrow.is-trait .eep-wcu__eyebrow-text::before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 2px;
	vertical-align: middle;
	background-color: var(--eep-primary);
	margin-right: 12px !important;
}

.eep-wcu__title {
	color: var(--eep-dark);
	margin: 0 0 18px 0;
	text-transform: none;
	overflow-wrap: break-word;
}

.eep-wcu__title span { color: var(--eep-primary); }

.eep-wcu__text {
	color: var(--eep-muted);
	margin: 0;
	line-height: 1.7;
}

/* ---------------------------------------------------------
   RAISONS — base commune
   --------------------------------------------------------- */
.eep-wcu__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--eep-gap);
}

.eep-wcu__card {
	position: relative;
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
}

.eep-wcu__item-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--eep-check);
	height: var(--eep-check);
	border-radius: 14px;
	background-color: rgba(151, 181, 69, .14);
	color: var(--eep-primary);
	font-size: calc(var(--eep-check) * 0.4);
	line-height: 1 !important;
	margin-right: 16px !important;
	transition: background-color .35s ease, color .35s ease, transform .35s ease;
}

.eep-wcu__item-icon i,
.eep-wcu__item-icon i::before { line-height: 1 !important; vertical-align: middle; }

.eep-wcu__item-icon svg {
	width: calc(var(--eep-check) * 0.42);
	height: calc(var(--eep-check) * 0.42) !important;
	fill: currentColor;
}

.eep-wcu__item-body { min-width: 0; }

.eep-wcu__item-text {
	display: block;
	color: var(--eep-dark);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
}

.eep-wcu__item-desc {
	color: var(--eep-muted);
	font-size: .95rem;
	line-height: 1.62;
	margin: 7px 0 0 0;
}

/* ---------------------------------------------------------
   DESIGN 1 — LISTE À COCHES
   --------------------------------------------------------- */
.eep-wcu--liste .eep-wcu__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.eep-wcu--liste .eep-wcu__card {
	align-items: flex-start;
	justify-content: var(--eep-align);
}

.eep-wcu--liste .eep-wcu__card + .eep-wcu__card {
	margin-top: 16px !important;
}

.eep-wcu--liste .eep-wcu__item-icon {
	--eep-check: 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--eep-accent);
	color: #fff;
	font-size: 12px;
	margin-right: 14px !important;
	margin-top: 2px;
}

.eep-wcu--liste .eep-wcu__item-icon svg {
	width: 12px;
	height: 12px !important;
}

.eep-wcu--liste .eep-wcu__item-text {
	font-size: 17px;
	font-weight: 400;
}

/* ---------------------------------------------------------
   DESIGN 2 — CARTES
   --------------------------------------------------------- */
.eep-wcu--cartes .eep-wcu__card {
	background-color: #fff;
	border: 1px solid rgba(15, 55, 20, .10);
	border-radius: 16px;
	padding: 26px 24px;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.eep-wcu--cartes .eep-wcu__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px rgba(15, 55, 20, .14);
	border-color: rgba(151, 181, 69, .45);
}

.eep-wcu--cartes .eep-wcu__card:hover .eep-wcu__item-icon,
.eep-wcu--sombre .eep-wcu__card:hover .eep-wcu__item-icon {
	background-color: var(--eep-primary);
	color: #fff;
	transform: scale(1.06) rotate(-4deg);
}

/* ---------------------------------------------------------
   DESIGN 3 — IMAGE CENTRALE
   --------------------------------------------------------- */
.eep-wcu--central .eep-wcu__central {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 340px) minmax(0, 1fr);
	gap: var(--eep-gap);
	align-items: center;
}

.eep-wcu--central .eep-wcu__col {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.eep-wcu--central .eep-wcu__card { padding: 16px 6px; }

.eep-wcu--central .eep-wcu__col--left .eep-wcu__card {
	flex-direction: row-reverse;
	text-align: right;
}

.eep-wcu--central .eep-wcu__col--left .eep-wcu__item-icon {
	margin-right: 0 !important;
	margin-left: 16px !important;
}

.eep-wcu__img-wrap {
	position: relative;
	padding: 16px;
}

.eep-wcu__img-ring-clip {
	position: absolute;
	inset: 0;
	overflow: hidden; /* contient la rotation, pas d'extension du scroll */
	pointer-events: none;
}

.eep-wcu__img-ring {
	position: absolute;
	inset: 0;
	border: 2px dashed rgba(151, 181, 69, .55);
	border-radius: 50%;
	animation: eepWcuSpin 40s linear infinite;
}

@keyframes eepWcuSpin { to { transform: rotate(360deg); } }

.eep-wcu__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 26px 52px rgba(15, 55, 20, .22);
}

/* ---------------------------------------------------------
   DESIGN 4 — NUMÉROTÉ ÉDITORIAL
   --------------------------------------------------------- */
.eep-wcu--numero .eep-wcu__card {
	flex-direction: column;
	border-top: 1px solid rgba(15, 55, 20, .16);
	padding: 24px 8px 8px;
	transition: border-color .35s ease;
}

.eep-wcu--numero .eep-wcu__card:hover { border-top-color: var(--eep-primary); }

.eep-wcu__num {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(151, 181, 69, .6);
	margin: 0 0 14px 0;
	transition: color .35s ease;
}

.eep-wcu--numero .eep-wcu__card:hover .eep-wcu__num {
	color: var(--eep-primary);
	-webkit-text-stroke: 1.5px var(--eep-primary);
}

.eep-wcu--numero .eep-wcu__item-icon { display: none; }
.eep-wcu--numero .eep-wcu__item-text { font-size: 1.14rem; }

/* ---------------------------------------------------------
   DESIGN 5 — SOMBRE
   --------------------------------------------------------- */
.eep-wcu--sombre {
	background: linear-gradient(135deg, #0b280f, #1d5823);
	border-radius: 22px;
	padding: 54px calc(var(--eep-pad-x) + 44px);
}

.eep-wcu--sombre .eep-wcu__title { color: #fff; }
.eep-wcu--sombre .eep-wcu__text { color: rgba(255, 255, 255, .74); }

.eep-wcu--sombre .eep-wcu__card {
	background-color: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 16px;
	padding: 26px 24px;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.eep-wcu--sombre .eep-wcu__card:hover {
	transform: translateY(-6px);
	border-color: rgba(151, 181, 69, .6);
	box-shadow: 0 22px 44px rgba(0, 0, 0, .35);
}

.eep-wcu--sombre .eep-wcu__item-icon { background-color: rgba(151, 181, 69, .22); }
.eep-wcu--sombre .eep-wcu__item-text { color: #fff; }
.eep-wcu--sombre .eep-wcu__item-desc { color: rgba(255, 255, 255, .7); }

/* =========================================================
   DESIGN 6 — DUO IMAGE + LISTE
   ========================================================= */
.eep-wcu--duo .eep-wcu__duo {
	display: grid;
	grid-template-columns: var(--eep-duo-col) minmax(0, 1fr);
	gap: calc(var(--eep-gap) + 16px);
	align-items: center;
}

.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo {
	grid-template-columns: minmax(0, 1fr) var(--eep-duo-col);
}

.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo-media { order: 2; }
.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo-list { order: 1; }

.eep-wcu__duo-media {
	position: relative;
	min-width: 0;
}

.eep-wcu__duo-img {
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: var(--eep-duo-radius);
	background-color: #eef1e8;
	aspect-ratio: 4 / 5;
}

.eep-wcu__duo-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.eep-wcu__duo-media:hover .eep-wcu__duo-img img { transform: scale(1.05); }

/* Pastille chiffrée en surimpression */
.eep-wcu__badge {
	position: absolute;
	z-index: 3;
	right: -18px;
	bottom: 28px;
	width: var(--eep-badge);
	height: var(--eep-badge);
	border-radius: 50%;
	border: 8px solid #ffffff;
	background-image: linear-gradient(150deg, var(--eep-badge-c1) 0%, var(--eep-badge-c2) 100%);
	background-color: var(--eep-badge-c1);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	box-shadow: 0 18px 40px rgba(15, 55, 20, .28);
}

.eep-wcu--duo-inverse .eep-wcu__badge { right: auto; left: -18px; }

.eep-wcu__badge-num {
	display: block;
	font-size: calc(var(--eep-badge) * .3);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
}

.eep-wcu__badge-suf { font-size: .62em; }

.eep-wcu__badge-label {
	display: block;
	margin-top: 6px;
	font-size: calc(var(--eep-badge) * .085);
	font-weight: 500;
	line-height: 1.3;
	opacity: .95;
}

/* La liste du duo : chaque raison est une ligne aérée séparée d'un filet */
.eep-wcu__duo-list {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.eep-wcu--duo .eep-wcu__card {
	padding: 20px 0;
	border-bottom: 1px solid rgba(15, 55, 20, .10);
	transition: border-color .35s ease;
}

.eep-wcu--duo .eep-wcu__card:last-child { border-bottom: none; }
.eep-wcu--duo .eep-wcu__card:hover { border-bottom-color: var(--eep-primary); }

.eep-wcu--duo .eep-wcu__item-icon {
	--eep-check: 46px;
	border-radius: 50%;
	background-color: rgba(151, 181, 69, .16);
}

.eep-wcu--duo .eep-wcu__card:hover .eep-wcu__item-icon {
	background-color: var(--eep-primary);
	color: #fff;
	transform: scale(1.06);
}

/* ---------------------------------------------------------
   BOUTONS
   --------------------------------------------------------- */
.eep-wcu__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var(--eep-align);
	row-gap: 12px;
	margin: 40px 0 0 0;
	padding: 0;
}

.eep-wcu__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	padding: 20px 34px;
	border-radius: 4px;
	background-color: var(--eep-dark);
	color: #fff;
	cursor: pointer;
	transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

.eep-wcu__btn + .eep-wcu__btn { margin-left: 16px !important; }

.eep-wcu__btn--btn2 { background-color: #1d5823; }

.eep-wcu__btn:hover { background-color: var(--eep-primary); color: #fff; text-decoration: none; }
.eep-wcu__btn--btn2:hover { background-color: var(--eep-dark); }

.eep-wcu__btn-arrow {
	margin-left: 10px !important;
	transition: transform .35s ease;
}

.eep-wcu__btn:hover .eep-wcu__btn-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------
   APPARITIONS EN CASCADE (amélioration progressive)
   Le masquage n'existe que si le JS a posé .is-ready :
   sans JS, tout reste visible.
   --------------------------------------------------------- */
.eep-wcu--reveal.is-ready [data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
	transition-delay: calc(var(--eep-i, 0) * 90ms);
}

.eep-wcu--reveal.is-ready.is-in [data-reveal] {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.eep-wcu--reveal.is-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
	.eep-wcu__img-ring { animation: none; }
	.eep-wcu__card:hover { transform: none; }
	.eep-wcu__btn,
	.eep-wcu__btn-arrow,
	.eep-wcu__item-icon { transition: none; }
}

/* ---------------------------------------------------------
   ÉTAT VIDE (éditeur)
   --------------------------------------------------------- */
.eep-wcu--empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--eep-muted);
	background: #f4f6f0;
	border-radius: 12px;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1024px) {
	.eep-wcu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.eep-wcu--duo .eep-wcu__duo,
	.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo { grid-template-columns: 1fr; }
	.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo-media,
	.eep-wcu--duo.eep-wcu--duo-inverse .eep-wcu__duo-list { order: initial; }
	.eep-wcu__duo-img { aspect-ratio: 16 / 10; }
	.eep-wcu__badge { --eep-badge: 140px; right: 16px; bottom: -30px; }
	.eep-wcu--duo-inverse .eep-wcu__badge { left: auto; right: 16px; }
	.eep-wcu__duo-list { margin-top: 46px; }
	.eep-wcu--central .eep-wcu__central {
		grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(0, 1fr);
	}
}

@media (max-width: 880px) {
	/* Image centrale : image en haut, raisons empilées dessous */
	.eep-wcu--central .eep-wcu__central { grid-template-columns: 1fr; }
	.eep-wcu--central .eep-wcu__img-wrap {
		order: 0;
		max-width: 300px;
		margin: 0 auto;
	}
	.eep-wcu--central .eep-wcu__col--left { order: 1; }
	.eep-wcu--central .eep-wcu__col--right { order: 2; }
	.eep-wcu--central .eep-wcu__col--left .eep-wcu__card {
		flex-direction: row;
		text-align: left;
	}
	.eep-wcu--central .eep-wcu__col--left .eep-wcu__item-icon {
		margin-left: 0 !important;
		margin-right: 16px !important;
	}
	.eep-wcu--sombre { padding: 40px calc(var(--eep-pad-x) + 22px); }
}

@media (max-width: 767px) {
	.eep-wcu__grid { grid-template-columns: 1fr; }
	.eep-wcu__badge { --eep-badge: 120px; border-width: 6px; right: 12px; bottom: -26px; }
	.eep-wcu--duo-inverse .eep-wcu__badge { right: 12px; }
	.eep-wcu__duo-list { margin-top: 42px; }
	.eep-wcu:not(.eep-wcu--herite) .eep-wcu__eyebrow-text { font-size: 24px; }
	.eep-wcu__eyebrow.is-badge { padding: 6px 18px 6px 14px; }
	.eep-wcu__header { margin-bottom: 30px; }
	.eep-wcu--cartes .eep-wcu__card,
	.eep-wcu--sombre .eep-wcu__card { padding: 20px 18px; }
	.eep-wcu--liste .eep-wcu__item-text { font-size: 16px; }

	.eep-wcu__btn {
		padding: 16px 26px;
		font-size: 15px;
	}

	.eep-wcu--stack .eep-wcu__btns {
		flex-direction: column;
		align-items: stretch;
	}

	.eep-wcu--stack .eep-wcu__btn + .eep-wcu__btn {
		margin-left: 0 !important;
		margin-top: 12px !important;
	}
}
