/*! css-scope-couvert-par: parcours.css — dépendance d'enfilement déclarée (formule.php), fournit :root et le reset, vérifié à l'audit du 22/08/2026. */
/* Page d'accueil : premier écran vert, recherche par étapes, grille. */

/*
 * [4.57.3] PLEINE LARGEUR. Le conteneur porte aussi la classe « sam », que
 * parcours.css borne à 46 rem et centre (c'est la largeur du formulaire de
 * recherche, pas celle d'une page). Ici « margin: 0 » annulait le centrage :
 * l'accueil entier — héros compris — restait collé à gauche sur 736 px, avec
 * une bande vide à droite dès que la zone de contenu était plus large.
 * Le héros est conçu en pleine largeur et la grille se borne elle-même à
 * 72 rem (.sam-ac-corps) : le plafond hérité n'a pas lieu d'être.
 */
.sam-ac {
	max-width: none;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.sam-ac *,
.sam-ac *::before,
.sam-ac *::after {
	box-sizing: border-box;
}

/* ---------- premier écran ---------- */

.sam-une {
	position: relative;
	overflow: hidden;
	margin: 0 0 2rem;
	padding: 3rem 1.5rem 2.6rem;
	background: var(--sam-vert);
	color: var(--sam-papier);
	border-radius: 0 0 24px 24px;
}

.sam-une::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.12;
	pointer-events: none;
	background-image: radial-gradient(circle at 15px 15px, var(--sam-or) 1.3px, transparent 1.4px);
	background-size: 30px 30px;
}

.sam-une-in {
	position: relative;
	z-index: 2;
	max-width: 46rem;
	margin: 0 auto;
	text-align: center;
}

.sam .sam-une-t {
	margin: 0 0 0.45rem;
	font-size: clamp(1.6rem, 4.2vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.06;
	color: var(--sam-papier);
}

.sam .sam-une-s {
	margin: 0 0 1.4rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(239, 231, 218, 0.78);
}

.sam .sam-une-r {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.4rem;
	margin: 1.2rem 0 0;
	font-size: 0.76rem;
	color: rgba(239, 231, 218, 0.7);
}

.sam-une-r span::before {
	content: "✓";
	margin-right: 0.35rem;
	color: var(--sam-or);
}

/* ---------- durée ---------- */

.sam-duree {
	display: inline-flex;
	gap: 0.2rem;
	margin: 0 0 1rem;
	padding: 0.25rem;
	background: rgba(255, 255, 255, 0.13);
	border-radius: 999px;
}

.sam-duree button {
	margin: 0;
	padding: 0.45rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: none;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: rgba(239, 231, 218, 0.72);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.sam-duree button[aria-pressed="true"] {
	background: var(--sam-papier);
	color: var(--sam-vert);
}

/* ---------- barre de recherche ---------- */

.sam-rech {
	position: relative;
	max-width: 44rem;
	margin: 0 auto;
	text-align: left;
}

.sam-rech-barre {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ded3c0;
	border-radius: 999px;
	box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.6);
}

.sam-rech-c {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0.7rem 1.3rem;
	border: 0;
	border-right: 1px solid #ede8de;
	background: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease;
}

.sam-rech-c:hover {
	background: #faf8f4;
}

.sam-rech-c[aria-expanded="true"] {
	background: #f4f1ea;
}

.sam-rech-c b {
	display: block;
	margin-bottom: 2px;
	font-size: 0.64rem;
	font-weight: 800;
	color: var(--sam-vert);
}

.sam-rech-c span {
	display: block;
	overflow: hidden;
	font-size: 0.82rem;
	color: var(--sam-mute);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sam-rech-c span.is-rempli {
	color: var(--sam-ink, #1f2a24);
	font-weight: 600;
}

.sam-rech-go {
	flex: none;
	margin: 0.42rem;
	padding: 0 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--sam-or);
	color: #fff;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.16s ease;
}

.sam-rech-go:hover {
	background: var(--sam-vert);
}

/* ---------- volets ---------- */

.sam-volet {
	display: none;
	margin-top: 0.6rem;
	padding: 1.3rem;
	background: #fff;
	border: 1px solid #e6e0d4;
	border-radius: 18px;
	color: var(--sam-vert);
	box-shadow: 0 16px 40px -26px rgba(31, 42, 36, 0.5);
}

.sam-volet.is-on {
	display: block;
	animation: sam-vol 0.22s ease-out;
}

@keyframes sam-vol {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

.sam .sam-volet-t {
	margin: 0 0 0.2rem;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sam-vert);
}

.sam .sam-volet-a {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	color: var(--sam-mute);
}

.sam-volet-f {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.1rem;
	padding-top: 0.9rem;
	border-top: 1px solid #ede8de;
}

.sam-volet-s {
	padding: 0.6rem 1.4rem;
	border: 0;
	border-radius: 10px;
	background: var(--sam-vert);
	color: #fff;
	font: inherit;
	font-size: 0.83rem;
	font-weight: 800;
	cursor: pointer;
}

.sam-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sam-opt {
	margin: 0;
	padding: 0.6rem 1.1rem;
	border: 1px solid #ded3c0;
	border-radius: 11px;
	background: #fff;
	font: inherit;
	font-size: 0.83rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sam-vert);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sam-opt:hover {
	border-color: var(--sam-vert);
}

.sam-opt[aria-pressed="true"] {
	background: var(--sam-vert);
	border-color: var(--sam-vert);
	color: #fff;
}

.sam-opt small {
	display: block;
	margin-top: 1px;
	font-size: 0.66rem;
	font-weight: 500;
	opacity: 0.76;
}

.sam-champs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.sam .sam-champ {
	flex: 1 1 9rem;
	min-width: 0;
	margin: 0;
}

.sam .sam-champ label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8d9589;
}

.sam .sam-champ input {
	width: 100%;
	padding: 0.62rem 0.7rem;
	border: 1px solid #ded3c0;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-weight: 600;
	color: var(--sam-vert);
}

.sam-cpt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #ede8de;
}

.sam-cpt:last-of-type {
	border-bottom: 0;
}

.sam-cpt-l b {
	display: block;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--sam-vert);
}

.sam-cpt-l span {
	display: block;
	font-size: 0.72rem;
	color: var(--sam-mute);
}

.sam-cpt-b {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.sam-cpt-b button {
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid #ccc5b8;
	border-radius: 50%;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	line-height: 1;
	color: var(--sam-vert);
	cursor: pointer;
}

.sam-cpt-b button:hover {
	border-color: var(--sam-vert);
}

.sam-cpt-b button[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

.sam-cpt-b output {
	min-width: 1.6rem;
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
	color: var(--sam-vert);
}

/* ---------- grille ---------- */

.sam-ac-corps {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.sam-tete {
	margin: 0 0 0.9rem;
}

.sam .sam-tete-t {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--sam-vert);
}

.sam .sam-tete-s {
	margin: 0.15rem 0 0;
	font-size: 0.8rem;
	color: var(--sam-mute);
}

.sam-grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1.9rem 1.4rem;
	padding: 0 0 2rem;
}

.sam-l {
	min-width: 0;
}

.sam-l-ph {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 94%;
	margin: 0 0 0.6rem;
	overflow: hidden;
	background: #ece7dd;
	border-radius: 14px;
}

.sam-l-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.sam-l:hover .sam-l-ph img {
	transform: scale(1.05);
}

.sam-l-vide {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 1.8rem;
	color: #c9c2b4;
}

.sam-l-badge {
	position: absolute;
	left: 0.6rem;
	top: 0.6rem;
	z-index: 2;
	max-width: calc(100% - 1.2rem);
	padding: 0.25rem 0.62rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--sam-vert);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sam-l-pts {
	position: absolute;
	bottom: 0.5rem;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 0.25rem;
}

.sam-l-pts i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
}

.sam-l-pts i.is-on {
	background: #fff;
}

.sam .sam-l-nom {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--sam-vert);
}

.sam .sam-l-det {
	margin: 0.12rem 0 0;
	font-size: 0.77rem;
	line-height: 1.4;
	color: var(--sam-mute);
}

.sam .sam-l-tarif {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.4rem 0 0;
}

.sam-l-tarif b {
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sam-vert);
}

.sam-l-tarif span {
	font-size: 0.76rem;
	color: var(--sam-mute);
}

.sam .sam-l-remise {
	display: table;
	margin: 0.3rem 0 0;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	background: #e7f5ec;
	font-size: 0.64rem;
	font-weight: 800;
	color: #14663a;
}

.sam-l-actions {
	display: flex;
	gap: 0.45rem;
	margin-top: 0.7rem;
}

.sam .sam-l-resa {
	flex: 1;
	padding: 0.62rem 0.6rem;
	border: 0;
	border-radius: 10px;
	background: var(--sam-or);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	transition: background 0.16s ease;
}

.sam .sam-l-resa:hover {
	background: var(--sam-vert);
	color: #fff;
}

.sam .sam-l-wa {
	flex: none;
	padding: 0.62rem 0.85rem;
	border: 1px solid #bfe0cc;
	border-radius: 10px;
	background: #fff;
	color: #1f7a45;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.sam .sam-l-wa:hover {
	background: #eef8f2;
	border-color: #1f7a45;
}

.sam .sam-vide {
	margin: 0 0 2rem;
	padding: 2rem 1.25rem;
	border: 1px dashed var(--sam-line);
	border-radius: 14px;
	background: #fff;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--sam-mute);
	text-align: center;
}

/* ---------- bandeau cours ---------- */

.sam-cours {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin: 1rem 0 2.4rem;
	padding: 1.3rem 1.5rem;
	background: var(--sam-papier);
	border: 1px solid #e6e0d4;
	border-radius: 16px;
}

.sam-cours-tx {
	flex: 1;
	min-width: 15rem;
}

.sam-cours-tag {
	display: inline-block;
	margin: 0 0 0.4rem;
	padding: 0.16rem 0.55rem;
	border-radius: 999px;
	background: #eef2ee;
	color: var(--sam-vert-clair);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sam .sam-cours-t {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sam-vert);
}

.sam .sam-cours-s {
	margin: 0;
	font-size: 0.79rem;
	line-height: 1.5;
	color: var(--sam-mute);
}

.sam .sam-cours-go {
	flex: none;
	padding: 0.7rem 1.3rem;
	border-radius: 10px;
	background: var(--sam-vert);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.16s ease;
}

.sam .sam-cours-go:hover {
	background: var(--sam-or);
	color: #fff;
}

@media (max-width: 44rem) {
	.sam-une {
		padding: 2.2rem 1rem 2rem;
	}

	.sam-rech-barre {
		flex-direction: column;
		border-radius: 20px;
	}

	.sam-rech-c {
		border-right: 0;
		border-bottom: 1px solid #ede8de;
	}

	.sam-rech-go {
		margin: 0.6rem;
		padding: 0.8rem;
	}

	.sam-l-actions {
		flex-direction: column;
	}

	.sam .sam-l-wa {
		flex: 1;
		text-align: center;
	}

	.sam-cours {
		flex-direction: column;
		align-items: flex-start;
	}

	.sam .sam-cours-go {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sam-l-ph img,
	.sam-duree button,
	.sam-opt,
	.sam .sam-l-resa {
		transition: none;
	}

	.sam-volet.is-on {
		animation: none;
	}
}

/* ---------- lien « cours » dans l'en-tête ---------- */

.sam-entete-cours {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.42rem 0.85rem;
	border: 1px solid #e0d5c3;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	color: #243d32;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.16s ease, background 0.16s ease;
}

.sam-entete-cours:hover {
	border-color: #a28f55;
	background: #fbf8f2;
	color: #243d32;
}

.sam-entete-cours span {
	font-size: 0.68rem;
	color: #a28f55;
}

/* ---------- fiches produit Medinatouna ---------- */

.sam-produits {
	position: relative;
	left: 50%;
	width: min(74rem, calc(100vw - 2rem));
	max-width: none;
	margin: 1.5rem 0 2.5rem;
	padding: clamp(2.4rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
	transform: translateX(-50%);
	border: 1px solid #e9e1d4;
	border-radius: 24px;
	background: linear-gradient(180deg, #fff 0%, #fdfbf7 100%);
	box-shadow: 0 28px 60px -52px rgba(28, 57, 44, 0.5);
}

.sam-produits-in {
	max-width: 69rem;
	margin: 0 auto;
}

.sam-produits-tete {
	margin: 0 0 2rem;
	text-align: center;
}

.sam .sam-produits-t {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 4vw, 2.55rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: var(--sam-vert);
}

.sam .sam-produits-s {
	margin: 0.55rem 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--sam-mute);
}

.sam-produits-grille {
	display: grid;
	grid-template-columns: repeat(var(--sam-produits-colonnes, 3), minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.6rem);
}

.sam-produit {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #dedfd9;
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 15px 34px -27px rgba(20, 53, 38, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sam-produit:hover {
	transform: translateY(-4px);
	border-color: #cfc4ae;
	box-shadow: 0 23px 42px -27px rgba(20, 53, 38, 0.48);
}

.sam-produit-visuel {
	display: block;
	margin: clamp(0.72rem, 1.6vw, 0.95rem) clamp(0.72rem, 1.6vw, 0.95rem) 0;
	overflow: hidden;
	border-radius: 11px;
	background: #f4efe5;
}

.sam-produit-visuel img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.sam-produit-sans-image {
	display: grid;
	width: 100%;
	aspect-ratio: 4 / 5;
	place-items: center;
	background:
		radial-gradient(circle at 50% 40%, rgba(162, 143, 85, 0.2) 0 2px, transparent 3px),
		radial-gradient(circle at 50% 50%, rgba(36, 61, 50, 0.1), transparent 55%),
		linear-gradient(145deg, #f9f4e9, #eef2ee);
}

.sam-produit-sans-image i {
	display: block;
	width: 4rem;
	border-top: 1px solid rgba(36, 61, 50, 0.25);
	border-bottom: 1px solid rgba(162, 143, 85, 0.45);
	height: 4rem;
	transform: rotate(45deg);
}

.sam-produit:hover .sam-produit-visuel img {
	transform: scale(1.018);
}

.sam-produit-corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem clamp(0.85rem, 2vw, 1.05rem) 1.05rem;
}

.sam .sam-produit-t {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 500;
	line-height: 1.18;
	color: #172b22;
}

.sam .sam-produit-t a {
	color: inherit;
	text-decoration: none;
}

.sam .sam-produit-t a:hover,
.sam .sam-produit-t a:focus-visible {
	color: #0b6e4f;
}

.sam .sam-produit-prix {
	margin: 1rem 0 1.15rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 500;
	line-height: 1.25;
	color: #087755;
}

.sam .sam-produit-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	margin-top: auto;
	padding: 0.78rem 1rem;
	border-radius: 10px;
	background: #087b59;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	transition: background 0.16s ease, transform 0.16s ease;
}

.sam .sam-produit-cta:hover,
.sam .sam-produit-cta:focus-visible {
	background: var(--sam-or);
	color: #fff;
}

.sam-produit-paiements {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 0.8rem;
	padding-top: 0.75rem;
	border-top: 1px solid #eee9df;
}

.sam-produit-paiements-label {
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.2;
	color: #66736c;
}

.sam-produit-paiements ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sam .sam-paiement {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 1.7rem;
	margin: 0;
	padding: 0.24rem 0.48rem;
	border: 1px solid #ddd8ce;
	border-radius: 6px;
	background: #fff;
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1;
	color: #23372e;
}

.sam-paiement svg {
	width: 1.2rem;
	height: 0.9rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.sam-paiement-p {
	display: grid;
	width: 1rem;
	height: 1rem;
	place-items: center;
	border-radius: 50%;
	background: #073b81;
	font-family: Arial, sans-serif;
	font-size: 0.66rem;
	font-style: italic;
	font-weight: 900;
	color: #fff;
}

.sam .sam-produit-cta:focus-visible,
.sam .sam-produit-t a:focus-visible,
.sam-produit-visuel:focus-visible {
	outline: 3px solid rgba(162, 143, 85, 0.4);
	outline-offset: 3px;
}

@media (max-width: 60rem) {
	.sam-produits {
		width: min(46rem, calc(100vw - 1.5rem));
	}

	.sam-produits-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sam-produit:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		width: calc(50% - 0.5rem);
		justify-self: center;
	}
}

@media (max-width: 38rem) {
	.sam-produits {
		width: calc(100vw - 1rem);
		margin-top: 1rem;
		padding: 2.2rem 0.75rem;
		border-radius: 18px;
	}

	.sam-produits-tete {
		margin-bottom: 1.4rem;
	}

	.sam-produits-grille {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.sam-produit:last-child:nth-child(odd) {
		grid-column: auto;
		width: auto;
	}

	.sam-produit {
		max-width: 27rem;
		justify-self: center;
	}

	.sam-produit-paiements {
		align-items: flex-start;
		flex-direction: column;
	}

	.sam-produit-paiements ul {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sam-produit,
	.sam-produit-visuel img,
	.sam .sam-produit-cta {
		transition: none;
	}
}

/* ---------- section Activités, plein écran ---------- */

/*
 * Les teintes viennent de l'ambiance choisie en réglages, injectées en
 * variables sur la section. Une seule règle sert les trois ambiances : les
 * dupliquer aurait garanti qu'une seule reste à jour.
 */
.sam-act {
	position: relative;
	display: block;
	background: linear-gradient(
		180deg,
		var(--sam-act-haut, #12261d) 0%,
		var(--sam-act-milieu, #1d4534) 42%,
		var(--sam-act-bas, #c9a227) 100%
	);
	color: var(--sam-act-txt, #efe7da);
	overflow: hidden;
}

.sam-act-scene {
	position: relative;
	min-height: var(--sam-act-min, 100dvh);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem 1.3rem 7rem;
}

/* Halo de lumière : donne une profondeur que le dégradé seul n'a pas. */
.sam-act-halo {
	position: absolute;
	left: 50%;
	bottom: 26%;
	width: min(62vw, 20rem);
	aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 240, 200, 0.45), transparent 62%);
	filter: blur(6px);
	pointer-events: none;
}

.sam-act-arc {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
}

.sam-act-in {
	position: relative;
	z-index: 2;
	max-width: 30rem;
	margin: 0 auto;
	text-align: center;
}

.sam-act-kick {
	display: inline-block;
	margin-bottom: 0.9rem;
	padding: 0.3rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.78;
}

.sam-act-t {
	margin: 0 0 0.7rem;
	font-size: clamp(2.1rem, 9vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.98;
}

.sam-act-s {
	margin: 0 auto 1.4rem;
	max-width: 24rem;
	font-size: 0.94rem;
	line-height: 1.55;
	opacity: 0.72;
}

.sam-act-chips {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin: 0 0 1.5rem;
}

.sam-act-chip {
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
	font-size: 0.72rem;
	font-weight: 700;
}

.sam-act-go {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.7rem;
	border-radius: 999px;
	background: var(--sam-act-haut, #0d1a14);
	color: var(--sam-act-txt, #efe7da);
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}

.sam-act-go:hover,
.sam-act-go:focus {
	background: var(--sam-act-txt, #efe7da);
	color: var(--sam-act-haut, #0d1a14);
}

.sam-act-px {
	display: block;
	margin-top: 0.9rem;
	font-size: 0.75rem;
	font-weight: 700;
	opacity: 0.62;
}

/* Pastilles : posées au-dessus de la scène, hors du flux. */
.sam-act-pills {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	padding: 0 1.3rem 1.5rem;
	scrollbar-width: none;
}

.sam-act-pills::-webkit-scrollbar {
	display: none;
}

.sam-act-pill {
	flex: 0 0 auto;
	padding: 0.42rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.22);
	font: inherit;
	font-size: 0.73rem;
	font-weight: 700;
	color: inherit;
	white-space: nowrap;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.16s ease, background 0.16s ease;
}

.sam-act-pill:hover {
	opacity: 1;
}

.sam-act-pill[aria-pressed="true"] {
	background: var(--sam-act-txt, #efe7da);
	color: var(--sam-act-haut, #0d1a14);
	border-color: var(--sam-act-txt, #efe7da);
	opacity: 1;
}

@media (max-width: 24rem) {
	.sam-act-scene {
		padding: 2.4rem 1.05rem 6.5rem;
	}
}

/* Image mise en avant en fond de scène. */
.sam-act-fond {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	pointer-events: none;
}

/*
 * Voile réglable. Une affiche claire sous du texte clair ne se lit pas :
 * sans lui, la section serait belle en maquette et illisible en production.
 */
.sam-act-voile {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--sam-act-haut, #12261d) 0%, rgba(0, 0, 0, 0.55) 55%, var(--sam-act-haut, #12261d) 100%);
	pointer-events: none;
}

/* Avec photo, le halo dessiné n'a plus lieu d'être. */
.sam-act-photo .sam-act-halo {
	display: none;
}

/* ---------- cadrage de l'image de fond ---------- */

/*
 * « Remplir » recadre pour couvrir l'écran : juste pour une photographie,
 * désastreux pour une affiche portrait, qui se retrouve zoomée sur un
 * fragment arbitraire.
 */
.sam-act-remplir .sam-act-fond {
	background-size: cover;
	background-position: center;
}

/* L'affiche entière, jamais rognée. */
.sam-act-entiere .sam-act-fond {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
}

/*
 * Sans texte par-dessus, l'image doit RESPIRER : le voile s'allège et
 * l'espace du bas est réservé au bouton, qui ne recouvre plus rien.
 */
.sam-act-muet .sam-act-kick,
.sam-act-muet .sam-act-t,
.sam-act-muet .sam-act-s,
.sam-act-muet .sam-act-chips {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.sam-act-muet .sam-act-in {
	margin-top: auto;
}

.sam-act-muet .sam-act-voile {
	background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/*
 * En mode affiche, l'image occupe le haut et le bouton s'ancre en bas.
 * La classe est posée SUR la scène, pas sur un parent : le sélecteur
 * descendant qui figurait ici ne correspondait à rien.
 */
.sam-act-scene.sam-act-entiere {
	justify-content: flex-end;
}

/*
 * Couche floue : remplit les bandes latérales d'une affiche verticale.
 * Placée sous l'image nette, jamais au-dessus.
 */
.sam-act-flou {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(38px) brightness(0.45) saturate(1.1);
	/* Débordement : le flou éclaircit les bords, l'agrandissement les cache. */
	transform: scale(1.15);
	pointer-events: none;
}

/* En mode « remplir », l'image couvre déjà tout : le flou serait invisible. */
.sam-act-remplir .sam-act-flou {
	display: none;
}

/*
 * L'affiche garde son format. Sans hauteur maximale, une image très haute
 * déborderait sous le bouton sur un écran large.
 */
.sam-act-entiere .sam-act-fond {
	top: 0;
	bottom: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.sam-act-flou {
		transform: none;
	}
}
