/* ==========================================================================
   Auto Harmonisation — espace élève
   Une seule police, des couleurs douces, de la lumière en CSS.
   ========================================================================== */

.ahm {
	--ahm-ink: #2e2940;
	--ahm-muted: #7a7290;
	--ahm-paper: #fffdf9;
	--ahm-line: rgba(110, 90, 160, .13);
	--ahm-shadow: 0 1px 2px rgba(60, 40, 100, .05), 0 12px 40px -12px rgba(90, 60, 150, .18);

	--ahm-priere: #9b87de;
	--ahm-priere-deep: #6f5bc4;
	--ahm-priere-soft: #efe9fd;
	--ahm-intention: #ea8f8a;
	--ahm-intention-deep: #cf6560;
	--ahm-intention-soft: #fdebe7;
	--ahm-lumiere: #eab54a;
	--ahm-lumiere-deep: #c98c1c;
	--ahm-lumiere-soft: #fdf3d8;

	--ahm-accent: var(--ahm-lumiere);
	--ahm-accent-deep: var(--ahm-lumiere-deep);
	--ahm-accent-soft: var(--ahm-lumiere-soft);

	--ahm-grad: linear-gradient(120deg, var(--ahm-priere) 0%, var(--ahm-intention) 50%, var(--ahm-lumiere) 100%);

	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	color: var(--ahm-ink);
	line-height: 1.6;
	max-width: 980px;
	margin: 0 auto 3rem;
	-webkit-font-smoothing: antialiased;
}
.ahm *, .ahm *::before, .ahm *::after { box-sizing: border-box; }
.ahm h2, .ahm h3, .ahm p { margin: 0; font-family: inherit; }
.ahm a { text-decoration: none; }

.ahm-theme--priere    { --ahm-accent: var(--ahm-priere);    --ahm-accent-deep: var(--ahm-priere-deep);    --ahm-accent-soft: var(--ahm-priere-soft); }
.ahm-theme--intention { --ahm-accent: var(--ahm-intention); --ahm-accent-deep: var(--ahm-intention-deep); --ahm-accent-soft: var(--ahm-intention-soft); }
.ahm-theme--lumiere   { --ahm-accent: var(--ahm-lumiere);   --ahm-accent-deep: var(--ahm-lumiere-deep);   --ahm-accent-soft: var(--ahm-lumiere-soft); }

.ahm-eyebrow {
	font-size: .78rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ahm-muted);
}

/* ---------- Pastilles et sphères ---------- */

.ahm-dot {
	display: inline-block;
	width: .62em; height: .62em;
	border-radius: 50%;
	margin-right: .5em;
	vertical-align: .05em;
	background: var(--c, var(--ahm-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--ahm-accent)) 22%, transparent);
}
.ahm-dot--priere    { --c: var(--ahm-priere); }
.ahm-dot--intention { --c: var(--ahm-intention); }
.ahm-dot--lumiere   { --c: var(--ahm-lumiere); }

.ahm-orb {
	--c: var(--ahm-accent);
	--d: var(--ahm-accent-deep);
	position: relative;
	display: inline-block;
	flex: none;
	width: 54px; height: 54px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, #fff 0 8%, rgba(255,255,255,.65) 16%, transparent 42%),
		radial-gradient(circle at 50% 55%, var(--c) 0%, var(--d) 100%);
	box-shadow:
		0 0 0 6px color-mix(in srgb, var(--c) 14%, transparent),
		0 10px 30px -6px color-mix(in srgb, var(--c) 70%, transparent),
		inset 0 -6px 14px rgba(0,0,0,.12);
}
.ahm-orb::after {
	content: "";
	position: absolute; inset: -14px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent) 0%, transparent 70%);
	z-index: -1;
	animation: ahm-breathe 4.5s ease-in-out infinite;
}
.ahm-orb--priere    { --c: var(--ahm-priere);    --d: var(--ahm-priere-deep); }
.ahm-orb--intention { --c: var(--ahm-intention); --d: var(--ahm-intention-deep); }
.ahm-orb--lumiere   { --c: var(--ahm-lumiere);   --d: var(--ahm-lumiere-deep); }

/* ---------- Boutons ---------- */

.ahm-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 52px;
	padding: .8em 1.7em;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 1.02rem;
	letter-spacing: .01em;
	line-height: 1.2;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, background-color .25s ease;
}
.ahm-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--ahm-accent) 55%, transparent); outline-offset: 3px; }

.ahm-btn--primary {
	color: #fff;
	background: var(--ahm-grad);
	background-size: 160% 100%;
	box-shadow: 0 10px 28px -10px rgba(207, 101, 96, .65), inset 0 1px 0 rgba(255,255,255,.35);
	text-shadow: 0 1px 1px rgba(90, 40, 60, .18);
}
.ahm-theme--priere .ahm-btn--primary,
.ahm-theme--intention .ahm-btn--primary,
.ahm-theme--lumiere .ahm-btn--primary {
	background: linear-gradient(120deg, var(--ahm-accent) 0%, var(--ahm-accent-deep) 100%);
	box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--ahm-accent-deep) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
}
.ahm-btn--primary::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
	transform: translateX(-120%);
	transition: transform .9s ease;
	z-index: -1;
}
.ahm-btn--primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(207, 101, 96, .7), inset 0 1px 0 rgba(255,255,255,.35); color: #fff; }
.ahm-btn--primary:hover::after { transform: translateX(120%); }

.ahm-btn--suite::before {
	content: "→";
	order: 2;
	transition: transform .25s ease;
}
.ahm-btn--suite:hover::before { transform: translateX(4px); }

.ahm-btn--ghost {
	color: var(--ahm-ink);
	background: rgba(255,255,255,.7);
	box-shadow: inset 0 0 0 1px var(--ahm-line);
}
.ahm-btn--ghost:hover { background: #fff; color: var(--ahm-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 45%, transparent); }

.ahm-btn[disabled] {
	cursor: not-allowed;
	opacity: .45;
	filter: saturate(.4);
	transform: none;
	box-shadow: none;
}
.ahm-btn[disabled]::after { display: none; }

.ahm-btn__ico { display: inline-grid; width: 1.15em; height: 1.15em; }
.ahm-btn__ico svg { width: 100%; height: 100%; }

.ahm-btn.is-call  { animation: ahm-call 1.8s ease-in-out infinite; }
.ahm-btn.is-loading { pointer-events: none; }
.ahm-btn.is-loading .ahm-btn__ico { animation: ahm-spin 1s linear infinite; }

/* ---------- En-tête lumineux ---------- */

.ahm-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2.5rem;
	align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: 32px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(155,135,222,.24) 0%, transparent 55%),
		radial-gradient(90% 80% at 100% 10%, rgba(234,143,138,.20) 0%, transparent 55%),
		radial-gradient(110% 90% at 60% 110%, rgba(234,181,74,.26) 0%, transparent 60%),
		var(--ahm-paper);
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px rgba(255,255,255,.8);
}
.ahm-hero--centre { grid-template-columns: 1fr; text-align: center; }
.ahm-hero--centre .ahm-cta { justify-content: center; }

.ahm-hero__halo {
	position: absolute;
	inset: -45%;
	z-index: -2;
	background: conic-gradient(from 0deg,
		rgba(155,135,222,.20), rgba(234,143,138,.16), rgba(234,181,74,.22),
		rgba(255,255,255,0) 60%, rgba(155,135,222,.20));
	filter: blur(50px);
	animation: ahm-spin 60s linear infinite;
}

.ahm-hero__sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ahm-hero__sparks i {
	position: absolute;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, rgba(255,240,200,.9) 35%, transparent 70%);
	box-shadow: 0 0 12px 3px rgba(255, 220, 150, .55);
	opacity: 0;
	animation: ahm-float 9s ease-in-out infinite;
}
.ahm-hero__sparks i:nth-child(1) { left: 8%;  top: 70%; animation-delay: 0s; }
.ahm-hero__sparks i:nth-child(2) { left: 22%; top: 25%; animation-delay: 1.6s; width: 4px; height: 4px; }
.ahm-hero__sparks i:nth-child(3) { left: 41%; top: 82%; animation-delay: 3.1s; }
.ahm-hero__sparks i:nth-child(4) { left: 57%; top: 14%; animation-delay: 4.4s; width: 5px; height: 5px; }
.ahm-hero__sparks i:nth-child(5) { left: 72%; top: 62%; animation-delay: 2.2s; width: 4px; height: 4px; }
.ahm-hero__sparks i:nth-child(6) { left: 86%; top: 30%; animation-delay: 5.6s; }
.ahm-hero__sparks i:nth-child(7) { left: 93%; top: 78%; animation-delay: 6.8s; width: 4px; height: 4px; }
.ahm-hero__sparks i:nth-child(8) { left: 33%; top: 50%; animation-delay: 7.5s; width: 3px; height: 3px; }

.ahm-hero__title {
	margin: .35rem 0 1rem !important;
	font-size: clamp(1.9rem, 4.4vw, 2.9rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.01em;
	background: linear-gradient(110deg, var(--ahm-priere-deep) 0%, var(--ahm-intention-deep) 50%, var(--ahm-lumiere-deep) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ahm-hero__text { max-width: 38em; color: #4d4662; font-size: 1.06rem; }
.ahm-hero--centre .ahm-hero__text { margin: 0 auto; }

.ahm-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.ahm-hint { margin-top: 1rem !important; font-size: .95rem; color: var(--ahm-muted); }
.ahm-hint strong { color: var(--ahm-ink); font-weight: 600; }

.ahm-orbs { display: flex; justify-content: center; gap: 1.6rem; margin: .4rem 0 1.6rem; }
.ahm-orbs .ahm-orb { width: 46px; height: 46px; animation: ahm-hover 5s ease-in-out infinite; }
.ahm-orbs .ahm-orb:nth-child(2) { animation-delay: -1.6s; }
.ahm-orbs .ahm-orb:nth-child(3) { animation-delay: -3.2s; }

/* ---------- Anneau de progression ---------- */

.ahm-ring {
	--pct: 0;
	position: relative;
	width: 168px; height: 168px;
	border-radius: 50%;
	background:
		conic-gradient(from -90deg,
			var(--ahm-priere) 0%,
			var(--ahm-intention) calc(var(--pct) * .5%),
			var(--ahm-lumiere) calc(var(--pct) * 1%),
			rgba(110, 90, 160, .10) calc(var(--pct) * 1%) 100%);
	box-shadow: 0 0 60px -10px rgba(234, 181, 74, .55);
	display: grid;
	place-items: center;
}
.ahm-ring::before {
	content: "";
	position: absolute; inset: -10px;
	border-radius: 50%;
	border: 1px dashed rgba(155, 135, 222, .3);
	animation: ahm-spin 50s linear infinite;
}
.ahm-ring__in {
	position: relative;
	width: calc(100% - 22px); height: calc(100% - 22px);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 30%, #fff 0%, var(--ahm-paper) 70%);
	box-shadow: inset 0 2px 10px rgba(110, 90, 160, .08);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
}
.ahm-ring__in strong { font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--ahm-ink); }
.ahm-ring__in strong small { font-size: .45em; margin-left: .1em; color: var(--ahm-muted); }
.ahm-ring__in span { margin-top: .35rem; font-size: .78rem; letter-spacing: .06em; color: var(--ahm-muted); }

/* ---------- Fin de formation ---------- */

.ahm-fin {
	position: relative;
	margin-top: 1.6rem;
	padding: 2.2rem 2rem;
	border-radius: 28px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(80% 120% at 50% 0%, rgba(255, 236, 190, .9) 0%, rgba(255, 248, 230, .6) 45%, transparent 75%),
		var(--ahm-paper);
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px rgba(234, 181, 74, .35);
}
.ahm-fin h3 { margin: .4rem 0 .6rem; font-size: 1.6rem; font-weight: 500; }
.ahm-fin p:last-child { max-width: 36em; margin: 0 auto; color: #4d4662; }

/* ---------- Modules (chemin) ---------- */

.ahm-modules {
	position: relative;
	list-style: none;
	margin: 2.4rem 0 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 1.4rem;
}
.ahm-modules::before {
	content: "";
	position: absolute;
	left: 50px; top: 40px; bottom: 40px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(to bottom, var(--ahm-priere), var(--ahm-intention), var(--ahm-lumiere));
	opacity: .35;
}

.ahm-module {
	position: relative;
	margin: 0 !important;
	padding: 1.6rem 1.8rem 1.6rem 1.8rem;
	border-radius: 26px;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px var(--ahm-line);
	transition: transform .35s ease, box-shadow .35s ease;
}
.ahm-module.is-current {
	background:
		radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--ahm-accent-soft) 90%, transparent) 0%, transparent 60%),
		#fff;
	box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--ahm-accent) 60%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 40%, transparent);
}
.ahm-module.is-locked .ahm-orb,
.ahm-module.is-soon .ahm-orb { filter: grayscale(.75) brightness(1.08); opacity: .6; }
.ahm-module.is-locked .ahm-orb::after,
.ahm-module.is-soon .ahm-orb::after { animation: none; opacity: 0; }
.ahm-module.is-locked .ahm-module__titles,
.ahm-module.is-locked .ahm-module__intro { opacity: .62; }

.ahm-module__head { display: flex; align-items: center; gap: 1.2rem; }
.ahm-module.is-current .ahm-orb { animation: ahm-pulse 3s ease-in-out infinite; }
.ahm-module__titles { flex: 1; min-width: 0; }
.ahm-module__num { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ahm-accent-deep); }
.ahm-module h3 { margin: .1rem 0 0; font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.ahm-module__sub { color: var(--ahm-muted); font-style: italic; }

.ahm-badge {
	flex: none;
	padding: .35em .95em;
	border-radius: 999px;
	font-size: .8rem;
	letter-spacing: .04em;
	color: var(--ahm-accent-deep);
	background: var(--ahm-accent-soft);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 30%, transparent);
}
.ahm-module.is-done .ahm-badge { color: #fff; background: linear-gradient(120deg, var(--ahm-accent), var(--ahm-accent-deep)); box-shadow: none; }
.ahm-module.is-locked .ahm-badge,
.ahm-module.is-soon .ahm-badge { color: var(--ahm-muted); background: rgba(110, 90, 160, .07); box-shadow: none; }

.ahm-module__bar {
	height: 4px;
	margin: 1.2rem 0 0 calc(54px + 1.2rem);
	border-radius: 4px;
	background: rgba(110, 90, 160, .09);
	overflow: hidden;
}
.ahm-module__bar span {
	display: block; height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ahm-accent), var(--ahm-accent-deep));
	transition: width 1s ease;
}

.ahm-module__intro,
.ahm-module__soon {
	margin: 1rem 0 0 calc(54px + 1.2rem) !important;
	color: #5a5370;
	font-size: .98rem;
}
.ahm-module__soon { font-style: italic; color: var(--ahm-muted); }

/* ---------- Liste des vidéos ---------- */

.ahm-lecons {
	list-style: none;
	margin: 1.1rem 0 0 calc(54px + 1.2rem) !important;
	padding: 0 !important;
	display: grid;
	gap: .45rem;
}
.ahm-lecon { margin: 0 !important; }
.ahm-lecon__in {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: .7rem 1rem;
	border-radius: 16px;
	color: var(--ahm-ink);
	background: rgba(255, 255, 255, .6);
	box-shadow: inset 0 0 0 1px var(--ahm-line);
	transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
a.ahm-lecon__in:hover {
	color: var(--ahm-ink);
	background: #fff;
	transform: translateX(3px);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 45%, transparent), 0 8px 20px -12px color-mix(in srgb, var(--ahm-accent) 70%, transparent);
}

.ahm-lecon__ico {
	flex: none;
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border-radius: 50%;
	color: var(--ahm-muted);
	background: rgba(110, 90, 160, .07);
}
.ahm-lecon__ico svg { width: 17px; height: 17px; }
.ahm-lecon.is-done .ahm-lecon__ico { color: #fff; background: linear-gradient(135deg, var(--ahm-accent), var(--ahm-accent-deep)); box-shadow: 0 4px 12px -4px var(--ahm-accent); }
.ahm-lecon.is-next .ahm-lecon__ico,
.ahm-lecon.is-open .ahm-lecon__ico { color: var(--ahm-accent-deep); background: var(--ahm-accent-soft); }
.ahm-lecon.is-next .ahm-lecon__ico { animation: ahm-ring-pulse 2.2s ease-out infinite; }

.ahm-lecon__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ahm-lecon__num { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ahm-muted); }
.ahm-lecon__titre { font-size: 1.02rem; line-height: 1.35; }
.ahm-lecon__duree { flex: none; font-size: .85rem; color: var(--ahm-muted); font-variant-numeric: tabular-nums; }

.ahm-lecon.is-next .ahm-lecon__in {
	background: #fff;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ahm-accent) 55%, transparent), 0 10px 26px -14px var(--ahm-accent);
}
.ahm-lecon__go {
	flex: none;
	padding: .3em .9em;
	border-radius: 999px;
	font-size: .82rem;
	color: #fff;
	background: linear-gradient(120deg, var(--ahm-accent), var(--ahm-accent-deep));
}
.ahm-lecon.is-locked .ahm-lecon__in { background: transparent; box-shadow: inset 0 0 0 1px rgba(110, 90, 160, .07); }
.ahm-lecon.is-locked .ahm-lecon__titre { color: var(--ahm-muted); }

/* ---------- Page vidéo ---------- */

.ahm-fil {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .6rem 1.2rem;
	margin-bottom: 1.6rem;
	font-size: .95rem;
}
.ahm-fil a { color: var(--ahm-muted); transition: color .2s ease; }
.ahm-fil a:hover { color: var(--ahm-accent-deep); }
.ahm-fil__etape {
	padding: .35em 1em;
	border-radius: 999px;
	color: var(--ahm-accent-deep);
	background: var(--ahm-accent-soft);
	font-size: .88rem;
}

.ahm-vue__head { text-align: center; margin-bottom: 1.6rem; }
.ahm-vue__title { margin: .3rem 0 0 !important; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 500; line-height: 1.15; }

.ahm-steps { display: flex; justify-content: center; gap: .4rem; margin-top: 1rem; }
.ahm-steps span {
	width: 26px; height: 5px;
	border-radius: 5px;
	background: rgba(110, 90, 160, .12);
	transition: background .5s ease, width .5s ease;
}
.ahm-steps span.is-done { background: linear-gradient(90deg, var(--ahm-accent), var(--ahm-accent-deep)); }
.ahm-steps span.is-here { width: 44px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ahm-accent) 25%, transparent); }

.ahm-player {
	position: relative;
	padding: 3px;
	border-radius: 26px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--ahm-accent) 70%, #fff), rgba(255,255,255,.7) 40%, color-mix(in srgb, var(--ahm-accent) 45%, #fff));
	box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--ahm-accent-deep) 75%, transparent);
}
.ahm-player::before {
	content: "";
	position: absolute; inset: -30px;
	z-index: -1;
	border-radius: 50px;
	background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--ahm-accent) 30%, transparent), transparent 70%);
	filter: blur(20px);
	animation: ahm-breathe 6s ease-in-out infinite;
}
.ahm-player__frame { border-radius: 23px; overflow: hidden; background: #17131f; aspect-ratio: 16 / 9; }
.ahm-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #17131f; }
.ahm-player__empty {
	height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
	color: rgba(255,255,255,.75);
	background: radial-gradient(circle at 50% 40%, #2d2540 0%, #17131f 75%);
}


.ahm-texte-lecon {
	margin: 2rem auto 0;
	max-width: 46em;
	padding: 1.6rem 1.9rem;
	border-radius: 22px;
	background:
		radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--ahm-accent-soft) 85%, transparent), transparent 60%),
		#fff;
	box-shadow: inset 0 0 0 1px var(--ahm-line);
	font-size: 1.05rem;
}
.ahm-texte-lecon p + p { margin-top: .9em; }

.ahm-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .8rem;
	margin-top: 2rem;
}
.ahm-actions .ahm-btn--ghost { order: -1; }
.ahm-erreur { flex-basis: 100%; text-align: center; color: var(--ahm-intention-deep); font-size: .95rem; }

/* ---------- Bravo ---------- */

.ahm-bravo {
	position: relative;
	margin: 2rem auto 0;
	max-width: 560px;
	padding: 2.2rem 2rem 2rem;
	border-radius: 28px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--ahm-accent-soft) 100%, transparent) 0%, transparent 70%),
		#fff;
	box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--ahm-accent-deep) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 35%, transparent);
	opacity: 0;
	transform: translateY(16px) scale(.98);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2,1.2,.4,1);
}
.ahm-bravo[hidden] { display: none; }
.ahm-bravo.is-visible { opacity: 1; transform: none; }
.ahm-bravo__ico {
	display: inline-grid; place-items: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, var(--ahm-accent), var(--ahm-accent-deep));
	box-shadow: 0 0 0 10px color-mix(in srgb, var(--ahm-accent) 15%, transparent), 0 12px 30px -8px var(--ahm-accent-deep);
}
.ahm-bravo__ico svg { width: 30px; height: 30px; }
.ahm-bravo.is-visible .ahm-bravo__ico { animation: ahm-pop .7s cubic-bezier(.3,1.6,.5,1) .15s both; }
.ahm-bravo__titre { margin-top: 1.1rem !important; font-size: 1.45rem; font-weight: 500; }
.ahm-bravo__msg { margin: .4rem 0 1.5rem !important; color: var(--ahm-muted); }
.ahm-bravo--module .ahm-bravo__titre,
.ahm-bravo--fin .ahm-bravo__titre {
	background: var(--ahm-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.7rem;
}

.ahm-bravo__burst,
.ahm-fin__burst { position: absolute; left: 50%; top: 66px; width: 0; height: 0; pointer-events: none; }
.ahm-fin__burst { top: 40px; }
.ahm-bravo__burst i,
.ahm-fin__burst i {
	position: absolute;
	left: -4px; top: -4px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, var(--ahm-lumiere) 60%, transparent 70%);
	box-shadow: 0 0 10px 2px rgba(234, 181, 74, .6);
	opacity: 0;
}
.ahm-bravo.is-visible .ahm-bravo__burst i,
.ahm-fin__burst i { animation: ahm-burst 1.4s cubic-bezier(.15,.7,.3,1) .2s forwards; }
.ahm-bravo__burst i:nth-child(1),  .ahm-fin__burst i:nth-child(1)  { --a: 0deg; }
.ahm-bravo__burst i:nth-child(2),  .ahm-fin__burst i:nth-child(2)  { --a: 30deg; background: radial-gradient(circle, #fff 0%, var(--ahm-priere) 60%, transparent 70%); }
.ahm-bravo__burst i:nth-child(3),  .ahm-fin__burst i:nth-child(3)  { --a: 60deg; }
.ahm-bravo__burst i:nth-child(4),  .ahm-fin__burst i:nth-child(4)  { --a: 90deg; background: radial-gradient(circle, #fff 0%, var(--ahm-intention) 60%, transparent 70%); }
.ahm-bravo__burst i:nth-child(5),  .ahm-fin__burst i:nth-child(5)  { --a: 120deg; }
.ahm-bravo__burst i:nth-child(6),  .ahm-fin__burst i:nth-child(6)  { --a: 150deg; background: radial-gradient(circle, #fff 0%, var(--ahm-priere) 60%, transparent 70%); }
.ahm-bravo__burst i:nth-child(7),  .ahm-fin__burst i:nth-child(7)  { --a: 180deg; }
.ahm-bravo__burst i:nth-child(8),  .ahm-fin__burst i:nth-child(8)  { --a: 210deg; background: radial-gradient(circle, #fff 0%, var(--ahm-intention) 60%, transparent 70%); }
.ahm-bravo__burst i:nth-child(9),  .ahm-fin__burst i:nth-child(9)  { --a: 240deg; }
.ahm-bravo__burst i:nth-child(10), .ahm-fin__burst i:nth-child(10) { --a: 270deg; background: radial-gradient(circle, #fff 0%, var(--ahm-priere) 60%, transparent 70%); }
.ahm-bravo__burst i:nth-child(11), .ahm-fin__burst i:nth-child(11) { --a: 300deg; }
.ahm-bravo__burst i:nth-child(12), .ahm-fin__burst i:nth-child(12) { --a: 330deg; background: radial-gradient(circle, #fff 0%, var(--ahm-intention) 60%, transparent 70%); }

/* ---------- Message (vidéo verrouillée…) ---------- */

.ahm-carte-msg {
	max-width: 560px;
	margin: 2rem auto;
	padding: 2.6rem 2rem;
	border-radius: 28px;
	text-align: center;
	background:
		radial-gradient(100% 100% at 50% 0%, rgba(155,135,222,.16), transparent 70%),
		#fff;
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px var(--ahm-line);
}
.ahm-carte-msg__ico {
	display: inline-grid; place-items: center;
	width: 58px; height: 58px;
	border-radius: 50%;
	color: var(--ahm-priere-deep);
	background: var(--ahm-priere-soft);
}
.ahm-carte-msg__ico svg { width: 26px; height: 26px; }
.ahm-carte-msg h2 { margin: 1rem 0 .5rem !important; font-size: 1.5rem; font-weight: 500; }
.ahm-carte-msg p { color: var(--ahm-muted); margin-bottom: 1.6rem !important; }

/* ---------- Animations ---------- */

@keyframes ahm-spin    { to { transform: rotate(360deg); } }
@keyframes ahm-breathe { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ahm-hover   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes ahm-pulse   { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ahm-float {
	0%   { opacity: 0; transform: translateY(14px) scale(.6); }
	25%  { opacity: 1; }
	70%  { opacity: .8; }
	100% { opacity: 0; transform: translateY(-46px) scale(1.1); }
}
@keyframes ahm-ring-pulse {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ahm-accent) 50%, transparent); }
	100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--ahm-accent) 0%, transparent); }
}
@keyframes ahm-pop  { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes ahm-call { 0%, 100% { box-shadow: 0 10px 28px -10px var(--ahm-accent-deep), 0 0 0 0 color-mix(in srgb, var(--ahm-accent) 45%, transparent); } 50% { box-shadow: 0 10px 28px -10px var(--ahm-accent-deep), 0 0 0 10px color-mix(in srgb, var(--ahm-accent) 0%, transparent); } }
@keyframes ahm-burst {
	0%   { opacity: 0; transform: rotate(var(--a)) translateX(0) scale(.4); }
	20%  { opacity: 1; }
	100% { opacity: 0; transform: rotate(var(--a)) translateX(130px) scale(1); }
}

/* ---------- Petits écrans ---------- */

@media (max-width: 720px) {
	.ahm-hero { grid-template-columns: 1fr; text-align: center; gap: 1.8rem; border-radius: 26px; }
	.ahm-hero .ahm-cta { justify-content: center; }
	.ahm-hero__text { margin: 0 auto; }
	.ahm-ring { margin: 0 auto; order: -1; width: 140px; height: 140px; }
	.ahm-ring__in strong { font-size: 2rem; }
	.ahm-modules::before { display: none; }
	.ahm-module { padding: 1.3rem 1.1rem; border-radius: 22px; }
	.ahm-module__head { flex-wrap: wrap; }
	.ahm-orb { width: 44px; height: 44px; }
	.ahm-module__bar, .ahm-module__intro, .ahm-module__soon, .ahm-lecons { margin-left: 0 !important; }
	.ahm-lecon__in { padding: .6rem .75rem; gap: .7rem; }
	.ahm-lecon__go { display: none; }
	.ahm-btn { width: 100%; }
	.ahm-actions .ahm-btn--ghost { order: 2; }
	.ahm-texte-lecon { padding: 1.3rem 1.2rem; }
	.ahm-player, .ahm-player__frame { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.ahm *, .ahm *::before, .ahm *::after { animation: none !important; transition: none !important; }
	.ahm-bravo { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page d'offre
   ========================================================================== */

.ahm-centre { text-align: center; }

.ahm-notice {
	margin: 0 0 1.4rem;
	padding: 1rem 1.3rem;
	border-radius: 18px;
	font-size: .98rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ahm-line), var(--ahm-shadow);
}
.ahm-notice a { color: var(--ahm-priere-deep); text-decoration: underline; text-underline-offset: 3px; }
.ahm-notice--ok {
	background: linear-gradient(120deg, rgba(234,181,74,.14), rgba(155,135,222,.12)), #fff;
	box-shadow: inset 0 0 0 1px rgba(234,181,74,.45), 0 14px 34px -18px rgba(201,140,28,.55);
}
.ahm-notice--ok::before { content: "✦ "; color: var(--ahm-lumiere-deep); }
.ahm-notice--info { background: linear-gradient(120deg, rgba(155,135,222,.12), transparent), #fff; }
.ahm-notice--erreur { background: linear-gradient(120deg, rgba(234,143,138,.16), transparent), #fff; box-shadow: inset 0 0 0 1px rgba(207,101,96,.35); }

.ahm-section-titre {
	margin: .35rem 0 2rem !important;
	text-align: center;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 500;
}

.ahm-chemin { margin-top: 3.4rem; }
.ahm-chemin__grid {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	counter-reset: none;
}
.ahm-etape {
	position: relative;
	margin: 0 !important;
	padding: 2rem 1.5rem 1.6rem;
	border-radius: 26px;
	text-align: center;
	background:
		radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--ahm-accent-soft) 95%, transparent) 0%, transparent 65%),
		#fff;
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 22%, transparent);
	transition: transform .35s ease, box-shadow .35s ease;
}
.ahm-etape:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px -22px color-mix(in srgb, var(--ahm-accent-deep) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--ahm-accent) 40%, transparent);
}
.ahm-etape .ahm-orb { width: 58px; height: 58px; margin-bottom: 1rem; animation: ahm-hover 5s ease-in-out infinite; }
.ahm-theme--intention.ahm-etape .ahm-orb { animation-delay: -1.6s; }
.ahm-theme--lumiere.ahm-etape .ahm-orb { animation-delay: -3.2s; }
.ahm-etape h4 { margin: .15rem 0 .1rem; font-family: inherit; font-size: 1.45rem; font-weight: 500; }
.ahm-etape__intro { margin: .9rem 0 1.1rem !important; font-size: .96rem; color: #5a5370; }
.ahm-etape .ahm-badge { display: inline-block; }

/* ---------- Carte tarif ---------- */

.ahm-tarif { margin-top: 3.4rem; scroll-margin-top: 90px; }
.ahm-tarif__carte {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
	padding: 2.6rem 2.2rem 2.2rem;
	border-radius: 32px;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
	background: var(--ahm-paper);
	box-shadow: 0 40px 80px -40px rgba(111, 91, 196, .55), 0 0 0 1px rgba(255,255,255,.9);
}
.ahm-tarif__carte::before {
	content: "";
	position: absolute; inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(from var(--ahm-angle, 0deg), var(--ahm-priere), var(--ahm-intention), var(--ahm-lumiere), var(--ahm-priere));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: ahm-tourne 8s linear infinite;
}
@property --ahm-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ahm-tourne { to { --ahm-angle: 360deg; } }

.ahm-tarif__halo {
	position: absolute; inset: -30% -30% auto;
	height: 70%;
	z-index: -2;
	background: radial-gradient(closest-side, rgba(234,181,74,.28), rgba(155,135,222,.14) 55%, transparent);
	filter: blur(10px);
	animation: ahm-breathe 6s ease-in-out infinite;
}
.ahm-tarif__prix {
	margin: .4rem 0 0 !important;
	font-size: clamp(3.2rem, 9vw, 4.4rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.02em;
	background: linear-gradient(110deg, var(--ahm-priere-deep), var(--ahm-intention-deep) 55%, var(--ahm-lumiere-deep));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ahm-tarif__sous { margin-top: .4rem !important; color: var(--ahm-muted); font-size: .95rem; letter-spacing: .04em; }
.ahm-tarif__liste {
	list-style: none;
	margin: 1.8rem 0 2rem !important;
	padding: 0 !important;
	display: grid;
	gap: .7rem;
	text-align: left;
}
.ahm-tarif__liste li {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	margin: 0 !important;
	font-size: 1rem;
	line-height: 1.45;
}
.ahm-tarif__liste svg {
	flex: none;
	width: 22px; height: 22px;
	padding: 4px;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, var(--ahm-lumiere), var(--ahm-intention));
	box-shadow: 0 4px 10px -3px rgba(207, 101, 96, .5);
}
.ahm-tarif__form { margin: 0; }
.ahm-btn--large { width: 100%; min-height: 60px; font-size: 1.1rem; }
.ahm-tarif__secu {
	display: flex; align-items: center; justify-content: center; gap: .4rem;
	margin-top: 1rem !important;
	font-size: .85rem;
	color: var(--ahm-muted);
}
.ahm-tarif__secu svg { width: 15px; height: 15px; }
.ahm-tarif__login { margin-top: .8rem !important; font-size: .9rem; color: var(--ahm-muted); }
.ahm-tarif__login a { color: var(--ahm-priere-deep); text-decoration: underline; text-underline-offset: 3px; }

.ahm-mention {
	max-width: 40em;
	margin: 2.2rem auto 0 !important;
	text-align: center;
	font-size: .85rem;
	font-style: italic;
	color: var(--ahm-muted);
}

@media (max-width: 820px) {
	.ahm-chemin__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.ahm-tarif__carte { padding: 2.2rem 1.4rem 1.8rem; border-radius: 26px; }
}

/* ==========================================================================
   Page de présentation (pleine largeur)
   ========================================================================== */

body:has(.ahm-plein) { overflow-x: clip; }
.ahm.ahm-plein {
	/* Sort de la colonne du thème pour occuper toute la largeur. */
	max-width: none !important;
	width: auto !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
	background:
		radial-gradient(60% 40% at 10% 0%, rgba(155,135,222,.10), transparent 70%),
		radial-gradient(50% 40% at 95% 30%, rgba(234,143,138,.08), transparent 70%),
		radial-gradient(60% 40% at 50% 100%, rgba(234,181,74,.10), transparent 70%);
}
.ahm-offre__inner { max-width: 1120px; margin: 0 auto; }
.ahm-hero--offre { padding-block: clamp(3rem, 8vw, 5.5rem); }
.ahm-hero--offre .ahm-hero__title { font-size: clamp(2.4rem, 6vw, 4rem); }
.ahm-hero--offre .ahm-hero__text { font-size: 1.15rem; max-width: 36em; }

.ahm-bloc { margin-top: clamp(3.5rem, 8vw, 5.5rem); }

/* Pour vous si… */
.ahm-pourvous__liste {
	list-style: none;
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: 860px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.ahm-pourvous__liste li,
.ahm-tarif__liste li { display: flex; align-items: flex-start; gap: .8rem; margin: 0 !important; }
.ahm-pourvous__liste li {
	padding: 1.2rem 1.3rem;
	border-radius: 20px;
	background: rgba(255,255,255,.85);
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px var(--ahm-line);
	font-size: 1.02rem;
	line-height: 1.5;
}
.ahm-pourvous__liste svg {
	flex: none;
	width: 26px; height: 26px;
	padding: 5px;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, var(--ahm-priere), var(--ahm-intention));
	box-shadow: 0 4px 12px -3px rgba(111, 91, 196, .5);
}

/* Trois façons */
.ahm-facons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}
.ahm-facon {
	position: relative;
	padding: 2rem 1.6rem 1.7rem;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,253,249,.85));
	box-shadow: var(--ahm-shadow), inset 0 0 0 1px var(--ahm-line);
}
.ahm-facon__num {
	position: absolute; right: 1.1rem; top: .2rem;
	font-size: 4.4rem; line-height: 1;
	font-weight: 500;
	background: linear-gradient(160deg, rgba(155,135,222,.28), rgba(234,181,74,.12));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ahm-facon h4 { position: relative; margin: 0 0 .5rem; font-family: inherit; font-size: 1.35rem; font-weight: 500; }
.ahm-facon p { position: relative; color: #5a5370; }

/* FAQ */
.ahm-faq__liste { max-width: 780px; margin: 0 auto; display: grid; gap: .7rem; }
.ahm-faq__item {
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ahm-line);
	transition: box-shadow .3s ease;
}
.ahm-faq__item[open] { box-shadow: inset 0 0 0 1px rgba(155,135,222,.45), 0 14px 34px -20px rgba(111,91,196,.55); }
.ahm-faq__item summary {
	position: relative;
	padding: 1.1rem 3.2rem 1.1rem 1.4rem;
	cursor: pointer;
	list-style: none;
	font-size: 1.06rem;
}
.ahm-faq__item summary::-webkit-details-marker { display: none; }
.ahm-faq__item summary::after {
	content: "";
	position: absolute; right: 1.3rem; top: 50%;
	width: 10px; height: 10px;
	border-right: 2px solid var(--ahm-priere-deep);
	border-bottom: 2px solid var(--ahm-priere-deep);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .3s ease;
}
.ahm-faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.ahm-faq__item p { padding: 0 1.4rem 1.2rem; color: #5a5370; }

/* Appel final */
.ahm-final__carte {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(2.4rem, 6vw, 3.6rem) 1.6rem;
	border-radius: 32px;
	text-align: center;
	background:
		radial-gradient(70% 120% at 50% 0%, rgba(234,181,74,.22), transparent 70%),
		linear-gradient(120deg, rgba(155,135,222,.16), rgba(234,143,138,.12)),
		var(--ahm-paper);
	box-shadow: 0 30px 70px -40px rgba(111,91,196,.6), inset 0 0 0 1px rgba(255,255,255,.9);
}
.ahm-final__carte h3 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 500; }
.ahm-final__carte p { max-width: 34em; margin: 0 auto 1.6rem !important; color: #4d4662; }

/* Étape 2 : accès */
.ahm-offre--acces .ahm-fil { max-width: 520px; margin: 2rem auto 1rem; }
.ahm-offre--acces .ahm-notice { max-width: 520px; margin-left: auto; margin-right: auto; }
.ahm-offre--acces .ahm-tarif { margin-top: 1rem; }
.ahm-orbs--petites { gap: .9rem; margin: 0 0 1.2rem; }
.ahm-orbs--petites .ahm-orb { width: 30px; height: 30px; }
.ahm-orbs--petites .ahm-orb::after { inset: -8px; }
.ahm-tarif__titre { margin: .2rem 0 .4rem !important; font-size: 1.6rem; font-weight: 500; }

@media (max-width: 820px) {
	.ahm-pourvous__liste, .ahm-facons { grid-template-columns: 1fr; }
}

/* ---------- Offre en préparation ---------- */

.ahm-prep {
	position: relative;
	max-width: 30em;
	margin: 1.8rem auto 0;
	padding: 1.3rem 1.5rem 1.2rem;
	border-radius: 22px;
	text-align: center;
	background: rgba(255,255,255,.78);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: inset 0 0 0 1px rgba(155,135,222,.35), 0 18px 40px -24px rgba(111,91,196,.6);
}
.ahm-prep__label {
	display: inline-flex; align-items: center;
	font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--ahm-priere-deep);
}
.ahm-prep__dot {
	display: inline-block;
	width: 9px; height: 9px; margin-right: .6rem;
	border-radius: 50%;
	vertical-align: .1em;
	background: var(--ahm-lumiere);
	box-shadow: 0 0 0 0 rgba(234,181,74,.6);
	animation: ahm-prep-pulse 2.2s ease-out infinite;
}
.ahm-prep p { margin: .55rem 0 0 !important; color: #4d4662; font-size: 1.02rem; }
.ahm-tarif__carte .ahm-prep { margin: 1.2rem 0 1.6rem; }
@keyframes ahm-prep-pulse {
	0% { box-shadow: 0 0 0 0 rgba(234,181,74,.6); }
	100% { box-shadow: 0 0 0 12px rgba(234,181,74,0); }
}
