/* BP Comment Utiliser Preparation widget styles
 *
 * Full-bleed "GUIDE D'UTILISATION — Préparation" section for
 * the "Comment utiliser" page. Same architecture as the
 * bp-g4-preparation widget: the section is a 100vw breakout
 * with a centred 1140px inner that holds the actual content,
 * while the decorative botanicals are absolutely positioned
 * against the FULL-WIDTH section root so they reach the actual
 * viewport edges (not the 1140px wrapper).
 *
 * Layout (desktop, top → bottom):
 *   1. Header copy column (eyebrow / large serif title /
 *      subtitle / gold divider / body paragraph) on the left
 *      + the "Le saviez-vous ?" card below the copy
 *   2. Large premium preparation image on the right with the
 *      G4 → G3 circular badge overlayed at the top-end corner
 *   3. Centered "ÉTAPES DE PRÉPARATION" header with thin
 *      olive divider lines extending left/right
 *   4. 5 equal-width steps in a single horizontal row with
 *      a dotted connector line running through the row, dark
 *      green numbered badges above each icon circle
 *   5. Bottom "Conseil pratique" rounded strip with the
 *      lightbulb mark on the inline-start and 4 tips separated
 *      by thin vertical dividers
 *
 * Mobile (≤ 768px):
 *   - Header copy stays first, the main image and the badge
 *     come next, then the "Le saviez-vous ?" card, then the
 *     process header, then the 5 steps stacked vertically,
 *     then the Conseil pratique strip stacked
 *   - The horizontal step row collapses to a single column
 *   - The horizontal connector line disappears (steps use
 *     their own per-step flow)
 *   - The Conseil strip collapses to a 2-column tablet grid
 *     then a 1-column phone stack; vertical dividers disappear
 *   - All side botanicals hide so they never crowd the content
 *
 * Approved palette ONLY:
 *   #374F37  dark green
 *   #FBF6EC  cream
 *   #B8B25A  olive
 *   #F4ECDC  light cream tint
 *   #FFFFFF  white
 *   plus existing neutral tokens (#1F2A1F, #E4DCCB).
 *
 * All rules are scoped under `.bp-cu-prep` and use logical
 * CSS properties (margin-inline, padding-inline,
 * inset-inline-start/end, text-align start/end) so LTR and
 * RTL share the same stylesheet.
 */

/* =========================================================
 * ROOT SECTION (full-width, breakout)
 * ========================================================= */
.bp-cu-prep {
	/* Theme tokens (approved palette only). Editable via
	 * inline :root variables written by the Elementor style
	 * controls (badge colors, etc.). */
	--bp-cu-prep-bg:           #FBF6EC;
	--bp-cu-prep-green:        #374F37;
	--bp-cu-prep-cream:        #FBF6EC;
	--bp-cu-prep-cream-tint:   #F4ECDC;
	--bp-cu-prep-olive:        #B8B25A;
	--bp-cu-prep-text:         #1F2A1F;
	--bp-cu-prep-border:       #E4DCCB;
	--bp-cu-prep-shadow:       0 6px 18px rgba(55, 79, 55, 0.07);

	--bp-cu-prep-inner-max:    1140px;
	--bp-cu-prep-steps-gap:    16px;
	--bp-cu-prep-image-h:      480px;
	--bp-cu-prep-step-circle:  96px;
	--bp-cu-prep-step-num:     32px;
	--bp-cu-prep-conseil-icon: 40px;
	--bp-cu-prep-saviez-icon:  42px;

	--bp-cu-prep-connector:        #B8B25A;
	--bp-cu-prep-connector-dash:   4px;

	/* Per-botanical X / Y offsets (set per-device via Elementor
	 * responsive controls). */
	--bp-cu-prep-tl-x: 0px; --bp-cu-prep-tl-y: 0px;
	--bp-cu-prep-le-x: 0px; --bp-cu-prep-le-y: 0px;
	--bp-cu-prep-bl-x: 0px; --bp-cu-prep-bl-y: 0px;
	--bp-cu-prep-tr-x: 0px; --bp-cu-prep-tr-y: 0px;
	--bp-cu-prep-re-x: 0px; --bp-cu-prep-re-y: 0px;
	--bp-cu-prep-br-x: 0px; --bp-cu-prep-br-y: 0px;

	/* Badge X / Y offsets (set per-device via Elementor controls). */
	--bp-cu-prep-badge-x: 0px;
	--bp-cu-prep-badge-y: 0px;

	--bp-cu-prep-font-body:    var(--bp-font-body,    'Manrope', system-ui, sans-serif);
	--bp-cu-prep-font-display: var(--bp-font-display, 'DM Serif Display', Georgia, serif);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	inline-size: 100%;
	max-inline-size: 100%;
	box-sizing: border-box;
	margin: 0;
	padding-block: 72px;
	background: var(--bp-cu-prep-bg);
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
}

.bp-cu-prep *,
.bp-cu-prep *::before,
.bp-cu-prep *::after {
	box-sizing: border-box;
}

/* =========================================================
 * ELEMENTOR FULL-BLEED BREAKOUT
 * Same :has()-anchored pattern as bp-comment-utiliser-hero and
 * bp-g4-preparation: every override is scoped to a parent that
 * ACTUALLY hosts this widget, so no global Elementor rule leaks
 * onto other pages. The widget's Elementor widget class is
 * `elementor-widget-bp-comment-utiliser-preparation`.
 * ========================================================= */
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-container,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-row,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .e-con,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .e-con > .e-con-inner,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-container > .elementor-column,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-container > .elementor-column > .elementor-widget-wrap,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget,
.elementor-section:has(> .elementor-container .elementor-widget-bp-comment-utiliser-preparation) > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget > .bp-cu-prep {
	inline-size: 100% !important;
	max-inline-size: 100% !important;
}

.elementor-element.bp-cu-prep,
.elementor .bp-cu-prep,
.e-con.bp-cu-prep,
.bp-cu-prep {
	padding: 0;
	margin: 0;
	inline-size: 100%;
	max-inline-size: 100%;
}

.elementor-inner section.elementor-section:has(.elementor-widget-bp-comment-utiliser-preparation) > .elementor-container,
.elementor-inner section.elementor-section:has(.elementor-widget-bp-comment-utiliser-preparation) > .elementor-row,
.elementor-inner section.elementor-section:has(.elementor-widget-bp-comment-utiliser-preparation) > .elementor-row > .elementor-column,
.elementor-inner section.elementor-section:has(.elementor-widget-bp-comment-utiliser-preparation) > .elementor-row > .elementor-column > .elementor-widget-wrap {
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	padding-inline: 0 !important;
}

.elementor .elementor-widget.elementor-widget-bp-comment-utiliser-preparation,
.elementor-widget.elementor-widget-bp-comment-utiliser-preparation {
	inline-size: 100vw !important;
	max-inline-size: 100vw !important;
	margin-inline-start: calc(50% - 50vw) !important;
	margin-inline-end:   calc(50% - 50vw) !important;
	position: relative;
	z-index: 1;
}

/* =========================================================
 * DECOR LAYER (full-bleed, behind inner)
 * Six absolutely-positioned slots, each anchored to its own
 * screen edge. pointer-events:none so they never block clicks.
 * ========================================================= */
.bp-cu-prep__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.bp-cu-prep__botanical {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
	color: var(--bp-cu-prep-olive);
	inline-size: 180px;
	max-block-size: 360px;
}

.bp-cu-prep__botanical img,
.bp-cu-prep__botanical-svg {
	inline-size: 100%;
	block-size: auto;
	max-block-size: inherit;
	display: block;
	color: inherit;
	fill: none;
	stroke: currentColor;
}

.bp-cu-prep__botanical--default { opacity: 0.5; }

/* Each slot uses CSS variables for the per-device X / Y offset
 * written by Elementor. The base position is the relevant screen
 * edge. */
.bp-cu-prep__botanical--tl {
	inset-block-start: 0;
	left: 0;
	right: auto;
	transform: translate(
		var(--bp-cu-prep-tl-x, 0px),
		var(--bp-cu-prep-tl-y, 0px)
	);
}
.bp-cu-prep__botanical--le {
	inset-block-start: 50%;
	left: 0;
	right: auto;
	transform: translate(
		var(--bp-cu-prep-le-x, 0px),
		calc(-50% + var(--bp-cu-prep-le-y, 0px))
	);
}
.bp-cu-prep__botanical--bl {
	inset-block-end: 0;
	left: 0;
	right: auto;
	transform: translate(
		var(--bp-cu-prep-bl-x, 0px),
		var(--bp-cu-prep-bl-y, 0px)
	);
}
.bp-cu-prep__botanical--tr {
	inset-block-start: 0;
	right: 0;
	left: auto;
	transform: translate(
		var(--bp-cu-prep-tr-x, 0px),
		var(--bp-cu-prep-tr-y, 0px)
	);
}
.bp-cu-prep__botanical--re {
	inset-block-start: 50%;
	right: 0;
	left: auto;
	transform: translate(
		var(--bp-cu-prep-re-x, 0px),
		calc(-50% + var(--bp-cu-prep-re-y, 0px))
	);
}
.bp-cu-prep__botanical--br {
	inset-block-end: 0;
	right: 0;
	left: auto;
	transform: translate(
		var(--bp-cu-prep-br-x, 0px),
		var(--bp-cu-prep-br-y, 0px)
	);
}

/* =========================================================
 * INNER (1140px, centered)
 * ========================================================= */
.bp-cu-prep__inner {
	position: relative;
	z-index: 2;
	inline-size: calc(100% - 40px);
	max-inline-size: var(--bp-cu-prep-inner-max);
	margin-inline: auto;
	padding-inline: clamp(18px, 3vw, 24px);
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* =========================================================
 * TOP ROW (header copy + image)
 * Desktop: 2 columns (≈ 5/12 left + 7/12 right). Mobile: 1 column.
 * ========================================================= */
.bp-cu-prep__top {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	column-gap: 40px;
	row-gap: 32px;
	align-items: start;
	position: relative;
	z-index: 2;
}

.bp-cu-prep__left {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-inline-size: 0;
}

.bp-cu-prep__right {
	position: relative;
	min-inline-size: 0;
}

/* =========================================================
 * HEADER TYPOGRAPHY
 * ========================================================= */
.bp-cu-prep__eyebrow {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bp-cu-prep-green);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	line-height: 1.3;
}

.bp-cu-prep__eyebrow-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 18px;
	block-size: 18px;
	color: var(--bp-cu-prep-green);
	flex: 0 0 auto;
}

.bp-cu-prep__eyebrow-mark svg {
	inline-size: 100%;
	block-size: 100%;
	display: block;
}

.bp-cu-prep__title {
	margin: 0;
	color: var(--bp-cu-prep-green);
	font-family: var(--bp-cu-prep-font-display);
	font-weight: 400;
	font-size: clamp(40px, 4.6vw, 64px);
	line-height: 1.05;
	letter-spacing: 0.005em;
}

.bp-cu-prep__subtitle {
	margin: 0;
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-display);
	font-weight: 400;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.35;
	max-inline-size: 32ch;
}

.bp-cu-prep__divider {
	display: block;
	inline-size: 56px;
	block-size: 2px;
	background-color: var(--bp-cu-prep-olive);
	margin-block: 4px 2px;
}

.bp-cu-prep__body {
	margin: 0;
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 15px;
	line-height: 1.6;
	max-inline-size: 40ch;
}

/* =========================================================
 * SAVIEZ-VOUS CARD
 * Light cream surface, rounded, thin border, soft shadow.
 * Dark-green circular icon at the inline-start.
 * ========================================================= */
.bp-cu-prep__saviez {
	margin-block-start: 18px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 16px;
	row-gap: 8px;
	padding: 18px 20px;
	background-color: var(--bp-cu-prep-cream-tint);
	border: 1px solid var(--bp-cu-prep-border);
	border-radius: 14px;
	box-shadow: var(--bp-cu-prep-shadow);
	align-items: start;
	max-inline-size: 440px;
}

.bp-cu-prep__saviez-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: var(--bp-cu-prep-saviez-icon);
	block-size: var(--bp-cu-prep-saviez-icon);
	border-radius: 50%;
	background-color: var(--bp-cu-prep-green);
	color: var(--bp-cu-prep-cream);
	flex: 0 0 auto;
	box-shadow: 0 4px 10px rgba(31, 42, 31, 0.18);
	grid-row: 1 / span 2;
}

.bp-cu-prep__saviez-icon i,
.bp-cu-prep__saviez-icon svg {
	color: inherit;
	fill: currentColor;
}

.bp-cu-prep__saviez-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-inline-size: 0;
}

.bp-cu-prep__saviez-title {
	margin: 0;
	color: var(--bp-cu-prep-green);
	font-family: var(--bp-cu-prep-font-body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
}

.bp-cu-prep__saviez-text {
	margin: 0;
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 13.5px;
	line-height: 1.55;
}

/* =========================================================
 * MAIN IMAGE + BADGE
 * ========================================================= */
.bp-cu-prep__image-wrap {
	position: relative;
	isolation: isolate;
	block-size: var(--bp-cu-prep-image-h);
	overflow: hidden;
	border-radius: 24px;
}

.bp-cu-prep__image {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	object-position: center;
}

.bp-cu-prep__image-placeholder {
	inline-size: 100%;
	block-size: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bp-cu-prep-olive);
	font-family: var(--bp-cu-prep-font-display);
	font-size: 24px;
}

/* G4 → G3 circular badge.
 * Anchored to the top-end corner of the image wrap. Per-device
 * X / Y offsets are written by Elementor into
 * --bp-cu-prep-badge-x / --bp-cu-prep-badge-y. The base anchor
 * is the top-end corner with a small inset; the transform
 * pushes the badge inwards. The "↓" arrow is an inline SVG. */
.bp-cu-prep__badge {
	position: absolute;
	inset-block-start: 0;
	inset-inline-end: 0;
	transform: translate(
		calc(-1 * var(--bp-cu-prep-badge-x, 0px)),
		var(--bp-cu-prep-badge-y, 0px)
	);
	inline-size: 140px;
	block-size: 140px;
	border-radius: 50%;
	background-color: var(--bp-cu-prep-cream);
	border: 1px solid var(--bp-cu-prep-green);
	box-shadow: 0 8px 24px rgba(31, 42, 31, 0.18);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--bp-cu-prep-green);
	text-align: center;
	padding: 12px;
	z-index: 2;
}

.bp-cu-prep__badge::after {
	/* Subtle botanical line-art accent crossing the lower edge
	 * of the badge (mirrors the reference). */
	content: "";
	position: absolute;
	inset-block-end: -2px;
	inset-inline-start: 50%;
	inline-size: 64%;
	block-size: 8px;
	transform: translateX(-50%);
	background: radial-gradient(
		circle at 0% 50%,
		currentColor 1px,
		transparent 1.5px
	) repeat-x left center / 8px 4px;
	color: var(--bp-cu-prep-olive);
	opacity: 0.7;
	pointer-events: none;
}

.bp-cu-prep__badge-g4,
.bp-cu-prep__badge-g3 {
	font-family: var(--bp-cu-prep-font-display);
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	color: inherit;
}

.bp-cu-prep__badge-arrow-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 18px;
	block-size: 18px;
	color: inherit;
}

.bp-cu-prep__badge-arrow {
	inline-size: 100%;
	block-size: 100%;
	display: block;
	color: inherit;
}

.bp-cu-prep__badge-status {
	font-family: var(--bp-cu-prep-font-body);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: inherit;
	line-height: 1.2;
	margin-block-start: 2px;
}

/* =========================================================
 * PROCESS HEADER (centered eyebrow with divider lines)
 * ========================================================= */
.bp-cu-prep__process-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	position: relative;
	z-index: 2;
	margin-block-start: 8px;
}

.bp-cu-prep__process-line {
	display: block;
	inline-size: clamp(40px, 12vw, 160px);
	block-size: 1px;
	background-color: var(--bp-cu-prep-olive);
	flex: 1 1 auto;
	max-inline-size: 220px;
}

.bp-cu-prep__process-label {
	margin: 0;
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	line-height: 1.3;
	flex: 0 0 auto;
	white-space: nowrap;
}

/* =========================================================
 * 5-STEP PROCESS (5-col grid on desktop)
 * Strategy:
 *   - .bp-cu-prep__steps is a CSS grid with 5 equal columns.
 *     `align-items: stretch` makes every step share the row height.
 *   - The dotted connector is drawn as a horizontal repeating
 *     gradient on the grid's ::before pseudo, so it spans the full
 *     row width and lives at the same vertical center as the
 *     step icon circles. It is a pure decoration behind the
 *     circles (z-index:0). The circles sit at z-index:1 inside
 *     their own step, on top of the connector.
 *   - The number badge floats above the icon circle (negative
 *     margin-bottom) so it visually rests on the circle's top
 *     edge, like the reference.
 * ========================================================= */
.bp-cu-prep__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: var(--bp-cu-prep-steps-gap);
	row-gap: 24px;
	position: relative;
	z-index: 2;
	align-items: stretch;
}

/* Horizontal dotted connector behind the icon circles.
 * Drawn on the grid's ::before so it spans the full width and
 * is automatically centered with the icon row. */
.bp-cu-prep__steps::before {
	content: "";
	position: absolute;
	inset-block-start: calc(
		var(--bp-cu-prep-step-num) +
		( var(--bp-cu-prep-step-circle) / 2 )
	);
	inset-inline: calc( var(--bp-cu-prep-step-circle) / 2 );
	block-size: 1px;
	background-image: linear-gradient(
		to right,
		var(--bp-cu-prep-connector) 0,
		var(--bp-cu-prep-connector) var(--bp-cu-prep-connector-dash),
		transparent var(--bp-cu-prep-connector-dash),
		transparent calc( var(--bp-cu-prep-connector-dash) * 2 )
	);
	background-size: calc( var(--bp-cu-prep-connector-dash) * 2 ) 1px;
	background-repeat: repeat-x;
	z-index: 0;
	pointer-events: none;
	opacity: 0.7;
}

.bp-cu-prep__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	min-inline-size: 0;
	min-block-size: 0;
	z-index: 1;
}

/* Number badge: small dark-green circle that visually rests on
 * the top edge of the icon circle (negative margin-bottom). */
.bp-cu-prep__step-number {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: var(--bp-cu-prep-step-num);
	block-size: var(--bp-cu-prep-step-num);
	border-radius: 50%;
	background-color: var(--bp-cu-prep-green);
	color: var(--bp-cu-prep-cream);
	font-family: var(--bp-cu-prep-font-body);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	z-index: 3;
	margin-block-end: calc( var(--bp-cu-prep-step-num) / -2 + 1px );
	box-shadow: 0 4px 10px rgba(31, 42, 31, 0.18);
}

/* Step icon circle. */
.bp-cu-prep__step-circle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: var(--bp-cu-prep-step-circle);
	block-size: var(--bp-cu-prep-step-circle);
	border-radius: 50%;
	background-color: var(--bp-cu-prep-cream-tint);
	border: 1px solid var(--bp-cu-prep-border);
	color: var(--bp-cu-prep-green);
	z-index: 1;
}

.bp-cu-prep__step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 30px;
	block-size: 30px;
	color: inherit;
}

.bp-cu-prep__step-icon i,
.bp-cu-prep__step-icon svg {
	inline-size: 30px;
	block-size: 30px;
	color: inherit;
	fill: currentColor;
}

.bp-cu-prep__step-title {
	margin: 0;
	color: var(--bp-cu-prep-green);
	font-family: var(--bp-cu-prep-font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
}

.bp-cu-prep__step-desc {
	margin: 0;
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 13px;
	line-height: 1.55;
	max-inline-size: 24ch;
}

/* =========================================================
 * CONSEIL PRATIQUE STRIP
 * Single rounded surface. The lightbulb + "Conseil pratique"
 * mark sits on the inline-start, then 4 tips separated by thin
 * vertical dividers on desktop.
 * ========================================================= */
.bp-cu-prep__conseil {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	background-color: var(--bp-cu-prep-cream-tint);
	border: 1px solid var(--bp-cu-prep-border);
	border-radius: 16px;
	box-shadow: var(--bp-cu-prep-shadow);
}

.bp-cu-prep__conseil-head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	min-inline-size: 0;
}

.bp-cu-prep__conseil-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: var(--bp-cu-prep-conseil-icon);
	block-size: var(--bp-cu-prep-conseil-icon);
	border-radius: 50%;
	background-color: var(--bp-cu-prep-green);
	color: var(--bp-cu-prep-cream);
	flex: 0 0 auto;
	box-shadow: 0 4px 10px rgba(31, 42, 31, 0.18);
}

.bp-cu-prep__conseil-icon i,
.bp-cu-prep__conseil-icon svg {
	color: inherit;
	fill: currentColor;
}

.bp-cu-prep__conseil-title {
	margin: 0;
	color: var(--bp-cu-prep-green);
	font-family: var(--bp-cu-prep-font-body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	white-space: nowrap;
}

.bp-cu-prep__conseil-tips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0;
	flex: 1 1 auto;
	min-inline-size: 0;
}

.bp-cu-prep__conseil-tip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-inline: 18px;
	min-inline-size: 0;
	flex: 1 1 0;
}

/* Vertical separator between tips (desktop only). */
.bp-cu-prep__conseil-tip + .bp-cu-prep__conseil-tip {
	border-inline-start: 1px solid var(--bp-cu-prep-olive);
}

.bp-cu-prep__conseil-tip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 22px;
	block-size: 22px;
	color: var(--bp-cu-prep-green);
	flex: 0 0 auto;
}

.bp-cu-prep__conseil-tip-icon i,
.bp-cu-prep__conseil-tip-icon svg {
	inline-size: 22px;
	block-size: 22px;
	color: inherit;
	fill: currentColor;
}

.bp-cu-prep__conseil-tip-text {
	color: var(--bp-cu-prep-text);
	font-family: var(--bp-cu-prep-font-body);
	font-size: 12.5px;
	line-height: 1.45;
	flex: 1 1 auto;
	min-inline-size: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

/* =========================================================
 * TABLET (769–1024)
 * ========================================================= */
@media (min-width: 769px) and (max-width: 1024px) {

	.bp-cu-prep { padding-block: 60px; }
	.bp-cu-prep__inner { gap: 32px; }
	.bp-cu-prep__top { column-gap: 28px; }

	.bp-cu-prep__title { font-size: clamp(34px, 5vw, 52px); }
	.bp-cu-prep__image-wrap { block-size: 420px; }
	.bp-cu-prep__badge { inline-size: 120px; block-size: 120px; }
	.bp-cu-prep__badge-g4, .bp-cu-prep__badge-g3 { font-size: 22px; }

	/* Step row still horizontal but tighter; descriptions allowed
	 * to wrap on multiple lines without breaking the row height. */
	.bp-cu-prep__step-circle { inline-size: 84px; block-size: 84px; }
	.bp-cu-prep__step-title { font-size: 15px; }
	.bp-cu-prep__step-desc { max-inline-size: 100%; }

	/* Conseil strip wraps to a 2-column grid on tablet for the
	 * tips area while keeping the head row inline. */
	.bp-cu-prep__conseil {
		flex-wrap: wrap;
		gap: 16px;
	}
	.bp-cu-prep__conseil-head { flex: 0 0 100%; }
	.bp-cu-prep__conseil-tips {
		flex: 1 1 100%;
		flex-wrap: wrap;
		gap: 14px;
	}
	.bp-cu-prep__conseil-tip {
		flex: 1 1 calc(50% - 14px);
		padding-inline: 0;
		border-inline-start: 0 !important;
	}
	/* Re-introduce a horizontal divider between row 1 and row 2
	 * of tips on tablet so the grid stays clean. */
	.bp-cu-prep__conseil-tip:nth-child(n+3) {
		border-block-start: 1px solid var(--bp-cu-prep-olive);
		padding-block-start: 14px;
	}
}

/* =========================================================
 * MOBILE (≤ 768)
 * Intentional single-column stack. NO horizontal step row.
 * ========================================================= */
@media (max-width: 768px) {

	.bp-cu-prep { padding-block: 48px; }
	.bp-cu-prep__inner {
		gap: 28px;
		padding-inline: 18px;
	}

	/* Editorial row: stack to one column with the image AFTER
	 * the header copy. */
	.bp-cu-prep__top {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
	}

	.bp-cu-prep__title { font-size: clamp(34px, 9vw, 48px); }
	.bp-cu-prep__subtitle { font-size: 17px; max-inline-size: 100%; }
	.bp-cu-prep__body { font-size: 14.5px; max-inline-size: 100%; }

	.bp-cu-prep__image-wrap { block-size: 320px; }
	.bp-cu-prep__badge { inline-size: 110px; block-size: 110px; padding: 8px; }
	.bp-cu-prep__badge-g4, .bp-cu-prep__badge-g3 { font-size: 20px; }
	.bp-cu-prep__badge-status { font-size: 8.5px; letter-spacing: 0.08em; }

	/* Steps: single column with a small per-step vertical flow
	 * (the horizontal connector is hidden). */
	.bp-cu-prep__steps {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 18px;
	}
	.bp-cu-prep__steps::before { display: none; }

	.bp-cu-prep__step {
		flex-direction: row;
		align-items: flex-start;
		text-align: start;
		gap: 14px;
		padding: 16px;
		background-color: var(--bp-cu-prep-cream-tint);
		border: 1px solid var(--bp-cu-prep-border);
		border-radius: 14px;
	}

	.bp-cu-prep__step-number {
		inline-size: 28px;
		block-size: 28px;
		font-size: 12px;
		margin: 0;
		order: 0;
		flex: 0 0 auto;
	}

	.bp-cu-prep__step-circle {
		inline-size: 56px;
		block-size: 56px;
		order: 1;
		flex: 0 0 auto;
	}
	.bp-cu-prep__step-icon,
	.bp-cu-prep__step-icon i,
	.bp-cu-prep__step-icon svg {
		inline-size: 22px;
		block-size: 22px;
	}

	.bp-cu-prep__step-title {
		order: 2;
		flex: 0 0 100%;
		font-size: 15px;
	}

	.bp-cu-prep__step-desc {
		order: 3;
		flex: 0 0 100%;
		max-inline-size: 100%;
		font-size: 12.5px;
	}

	/* Conseil strip: stack to a single column; all vertical
	 * separators disappear. */
	.bp-cu-prep__conseil {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px;
	}
	.bp-cu-prep__conseil-head { flex: 0 0 auto; }
	.bp-cu-prep__conseil-tips {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.bp-cu-prep__conseil-tip {
		flex: 0 0 auto;
		padding: 0;
		border: 0 !important;
	}

	/* Hide large side botanicals on small screens so they never
	 * crowd the content. */
	.bp-cu-prep__botanical { display: none; }

	/* Prevent any horizontal overflow. */
	.elementor .elementor-widget.elementor-widget-bp-comment-utiliser-preparation,
	.elementor-widget.elementor-widget-bp-comment-utiliser-preparation {
		inline-size: 100% !important;
		max-inline-size: 100% !important;
		min-inline-size: 100% !important;
		margin-inline-start: 0 !important;
		margin-inline-end: 0 !important;
	}
}

/* =========================================================
 * SMALL MOBILE (≤ 480) — MOBILE REBUILD
 * ========================================================= */
@media (max-width: 480px) {

	/* === ROOT: kill the width bug === */
	.elementor-widget.elementor-widget-bp-comment-utiliser-preparation,
	.elementor .elementor-widget.elementor-widget-bp-comment-utiliser-preparation {
		inline-size: 100% !important;
		max-inline-size: 100% !important;
		min-inline-size: 0 !important;
		margin-inline: 0 !important;
		overflow-x: clip;
	}
	.bp-cu-prep {
		inline-size: 100% !important;
		max-inline-size: 100% !important;
		min-inline-size: 0 !important;
		margin-inline: 0 !important;
		padding-block: 40px;
		height: auto;
		min-height: 0;
	}

	/* === INNER: real content wrapper === */
	.bp-cu-prep__inner {
		inline-size: calc(100% - 36px) !important;
		width: calc(100% - 36px) !important;
		max-inline-size: none !important;
		min-inline-size: 0 !important;
		margin-inline: auto !important;
		padding-inline: 0 !important;
		gap: 22px;
		display: flex;
		flex-direction: column;
	}

	.bp-cu-prep__inner > * {
		width: 100% !important;
		max-width: none !important;
		min-inline-size: 0 !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
		transform: none !important;
	}

	/* Hide botanicals */
	.bp-cu-prep__botanical { display: none !important; }
	.bp-cu-prep__decor { display: none !important; }

	/* === TOP GRID → 1 column === */
	.bp-cu-prep__top {
		display: grid !important;
		grid-template-columns: 1fr !important;
		grid-auto-columns: 1fr !important;
		grid-auto-flow: row !important;
		row-gap: 18px;
		column-gap: 0;
	}
	.bp-cu-prep__top > * {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: none !important;
		min-inline-size: 0 !important;
	}

	.bp-cu-prep__left, .bp-cu-prep__right {
		min-inline-size: 0 !important;
		width: 100% !important;
	}

	.bp-cu-prep__title { font-size: clamp(28px, 9vw, 38px); }
	.bp-cu-prep__subtitle { font-size: 16px; max-inline-size: 100%; }
	.bp-cu-prep__body { font-size: 14px; max-inline-size: 100%; }

	/* === SAVIEZ-VOUS CARD === */
	.bp-cu-prep__saviez {
		max-inline-size: 100% !important;
		padding: 14px 16px;
		column-gap: 12px;
	}
	.bp-cu-prep__saviez-title { font-size: 14px; }
	.bp-cu-prep__saviez-text { font-size: 12.5px; }

	/* === IMAGE + BADGE === */
	.bp-cu-prep__image-wrap {
		block-size: auto !important;
		min-block-size: 0 !important;
		block-size: 240px;
	}
	.bp-cu-prep__image {
		display: block !important;
		inline-size: 100% !important;
		width: 100% !important;
		block-size: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}
	.bp-cu-prep__badge { inline-size: 88px; block-size: 88px; padding: 6px; }
	.bp-cu-prep__badge-g4, .bp-cu-prep__badge-g3 { font-size: 16px; }
	.bp-cu-prep__badge-status { font-size: 7px; }

	/* === PROCESS HEADER === */
	.bp-cu-prep__process-header { gap: 10px; margin-block-start: 4px; }
	.bp-cu-prep__process-line { inline-size: 30px; max-inline-size: 60px; }
	.bp-cu-prep__process-label { font-size: 12px; letter-spacing: 0.16em; }

	/* === STEPS GRID → 1 column === */
	.bp-cu-prep__steps {
		display: grid !important;
		grid-template-columns: 1fr !important;
		grid-auto-columns: 1fr !important;
		grid-auto-flow: row !important;
		row-gap: 12px;
		column-gap: 0;
		width: 100% !important;
	}
	.bp-cu-prep__steps::before { display: none; }
	.bp-cu-prep__steps > * {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: none !important;
		min-inline-size: 0 !important;
	}

	.bp-cu-prep__step { padding: 14px; }
	.bp-cu-prep__step-title { font-size: 14.5px; }
	.bp-cu-prep__step-desc { font-size: 12.5px; }

	/* === CONSEIL STRIP === */
	.bp-cu-prep__conseil {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 14px;
		padding: 16px;
	}
	.bp-cu-prep__conseil-head { flex: 0 0 auto; }
	.bp-cu-prep__conseil-tips {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px;
		width: 100% !important;
	}
	.bp-cu-prep__conseil-tip {
		flex: 0 0 auto !important;
		width: 100% !important;
		padding: 0;
		border: 0 !important;
	}
	.bp-cu-prep__conseil-title { font-size: 14px; }
	.bp-cu-prep__conseil-tip-text { font-size: 12px; }
}

/* =========================================================
 * Safe-area insets (notched devices)
 * ========================================================= */
@supports (padding: max(0px)) {
	.bp-cu-prep__inner {
		padding-inline-start: max(clamp(18px, 3vw, 24px), env(safe-area-inset-left));
		padding-inline-end:   max(clamp(18px, 3vw, 24px), env(safe-area-inset-right));
	}
}

/* =========================================================
 * ARABIC / RTL
 * Display family falls back to the Arabic family; the layout
 * mirrors automatically through logical properties.
 * ========================================================= */
[lang="ar"] .bp-cu-prep__title,
[dir="rtl"] .bp-cu-prep__title {
	font-family: var(--bp-font-arabic, 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

[lang="ar"] .bp-cu-prep__subtitle,
[dir="rtl"] .bp-cu-prep__subtitle {
	font-family: var(--bp-font-arabic, 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif);
	font-weight: 600;
	line-height: 1.5;
}

[lang="ar"] .bp-cu-prep__step-title,
[dir="rtl"] .bp-cu-prep__step-title {
	font-family: var(--bp-font-arabic, 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif);
	font-weight: 700;
}

[lang="ar"] .bp-cu-prep__saviez-title,
[dir="rtl"] .bp-cu-prep__saviez-title,
[lang="ar"] .bp-cu-prep__conseil-title,
[dir="rtl"] .bp-cu-prep__conseil-title,
[lang="ar"] .bp-cu-prep__process-label,
[dir="rtl"] .bp-cu-prep__process-label {
	font-family: var(--bp-font-arabic, 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif);
}

/* =========================================================
 * REDUCED MOTION
 * ========================================================= */
@media (prefers-reduced-motion: reduce) {
	.bp-cu-prep [data-bp-reveal],
	.bp-cu-prep [data-bp-stagger] {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================
 * ELEMENTOR WRAPPER SPACING
 * ========================================================= */
.e-con:has(> .elementor-widget-bp-comment-utiliser-preparation),
.e-con:has(> .e-con-inner > .elementor-widget-bp-comment-utiliser-preparation),
.e-con-inner:has(> .elementor-widget-bp-comment-utiliser-preparation) {
	--container-default-padding-top: 0px !important;
	--container-default-padding-bottom: 0px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.elementor-widget.elementor-widget-bp-comment-utiliser-preparation {
	margin-block-end: 0 !important;
	--kit-widget-spacing: 0px !important;
}

/* =========================================================
 * PRINT
 * ========================================================= */
@media print {
	.elementor .elementor-widget.elementor-widget-bp-comment-utiliser-preparation,
	.elementor-widget.elementor-widget-bp-comment-utiliser-preparation {
		inline-size: 100% !important;
		max-inline-size: 100% !important;
		margin-inline-start: 0 !important;
		margin-inline-end: 0 !important;
	}
	.bp-cu-prep { padding-block: 0; }
	.bp-cu-prep__botanical { display: none; }
	.bp-cu-prep__steps::before { display: none; }
}
