.sam {
	--sam-vert: #243d32;
	--sam-vert-clair: #4a6b58;
	--sam-or: #a28f55;
	--sam-papier: #fbf8f2;
	--sam-line: #e4dac8;
	--sam-mute: #6d7a72;
	max-width: 46rem;
	margin: 0 auto;
}

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

.sam-panel {
	background: var(--sam-papier);
	border: 1px solid #e0d5c3;
	border-radius: 20px;
	overflow: hidden;
	padding: 0;
	box-shadow: 0 26px 54px -44px rgba(31, 42, 36, 0.5);
}

.sam-sum {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0.8rem 1.1rem;
	background: var(--sam-vert);
	list-style: none;
}

.sam-sc {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	border: 1px solid rgba(239, 231, 218, 0.28);
	border-radius: 999px;
	padding: 0.3rem 0.75rem;
	font-size: 0.71rem;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(239, 231, 218, 0.5);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sam-sc.is-set {
	background: #efe7da;
	border-color: #efe7da;
	color: var(--sam-vert);
}

.sam-sc em {
	font-style: normal;
	opacity: 0.85;
}

.sam-body {
	padding: 1.25rem 1.1rem 1.35rem;
}

.sam-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0 0 0.9rem;
	overflow: hidden;
}

.sam-meta > * {
	margin: 0;
	padding: 0;
}

.sam-stepnum {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9aa39c;
}

.sam-stepnum b,
.sam-stepnum span {
	color: var(--sam-vert);
}

.sam-live {
	display: block;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--sam-vert);
}

.sam-live u {
	display: inline;
	text-decoration: none;
	font-size: 1.2rem;
	line-height: 1;
	margin: 0 0.15rem 0 0;
	color: var(--sam-or);
}

.sam-step {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.sam-step + .sam-step {
	margin-top: 2.25rem;
}

.sam-panel.is-stepped .sam-step + .sam-step {
	margin-top: 0;
}

.sam-panel.is-stepped .sam-step:not(.is-active) {
	display: none;
}

.sam-panel.is-stepped .sam-step.is-active {
	animation: sam-in 0.28s ease-out;
}

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

.sam-step legend {
	float: none;
	width: auto;
	padding: 0;
	margin: 0 0 0.2rem;
	font-size: 1.32rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--sam-vert);
}

.sam-step legend:focus-visible {
	outline: 2px solid var(--sam-or);
	outline-offset: 4px;
}

.sam-hint {
	margin: 0 0 1.1rem;
	color: var(--sam-mute);
	font-size: 0.82rem;
}

.sam-cards {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.62rem;
	margin: 0;
	padding: 0;
	list-style: none;
	float: none;
	position: static;
}

.sam-card-opt {
	display: flex;
	flex: 1 1 9.5rem;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	position: relative;
	inset: auto;
	float: none;
	clear: none;
	transform: none;
	cursor: pointer;
}

.sam-card-opt input {
	position: static;
	flex: none;
	width: 1px;
	height: 1px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	clip-path: inset(50%);
}

.sam-card-in {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	position: relative;
	float: none;
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 14px;
	padding: 0.8rem 0.85rem 0.7rem;
	font-size: 1rem;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.sam .sam-card-in > * {
	display: block;
	float: none;
	position: static;
	width: auto;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1.35;
}

.sam .sam-card-in > .sam-dot {
	position: absolute;
}

.sam-card-opt:hover .sam-card-in {
	border-color: var(--sam-vert-clair);
	box-shadow: 0 3px 14px -8px rgba(31, 42, 36, 0.55);
}

.sam-card-opt input:focus-visible + .sam-card-in {
	outline: 2px solid var(--sam-or);
	outline-offset: 3px;
}

.sam-card-opt input:checked + .sam-card-in,
.sam-card-opt.is-checked .sam-card-in {
	border-color: var(--sam-vert);
	background: #f5f8f5;
	box-shadow: inset 0 0 0 1px var(--sam-vert);
}

.sam .sam-dot {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid #ded3c0;
	display: grid;
	place-items: center;
	font-size: 9px;
	line-height: 1;
	color: transparent;
	background: #fff;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.sam-card-opt input:checked + .sam-card-in .sam-dot,
.sam-card-opt.is-checked .sam-card-in .sam-dot {
	background: var(--sam-vert);
	border-color: var(--sam-vert);
	color: #fff;
}

.sam .sam-card-in > .sam-glyph {
	font-size: 1.05rem;
	line-height: 1;
	color: var(--sam-vert-clair);
	margin: 0 0 0.4rem;
}

.sam .sam-card-in > strong {
	font-size: 0.93rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--sam-vert);
}

.sam .sam-card-in > .sam-card-desc {
	margin: 0.15rem 0 0;
	font-size: 0.735rem;
	line-height: 1.38;
	color: var(--sam-mute);
}

.sam .sam-card-in > .sam-dispo {
	margin: 0.5rem 0 0;
	padding: 0.4rem 0 0;
	border-top: 1px solid #f0e9dc;
	font-style: normal;
	font-size: 0.655rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sam .sam-dispo.is-free {
	color: #1f7a45;
}

.sam .sam-dispo.is-full {
	color: #9a4a42;
}

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

.sam-opt {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 11px;
	padding: 0.6rem 0.9rem;
	margin: 0;
	font-size: 0.83rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sam-vert);
	cursor: pointer;
	transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

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

.sam-opt:focus-within {
	outline: 2px solid var(--sam-or);
	outline-offset: 3px;
}

.sam-opt input {
	position: static;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	clip-path: inset(50%);
}

.sam-opt small {
	display: block;
	font-size: 0.66rem;
	font-weight: 500;
	color: #8d9589;
}

.sam-opt:has(input:checked) {
	background: var(--sam-vert);
	border-color: var(--sam-vert);
	color: var(--sam-papier);
}

.sam-opt:has(input:checked) small {
	color: rgba(251, 248, 242, 0.68);
}

.sam-opt.is-checked {
	background: var(--sam-vert);
	border-color: var(--sam-vert);
	color: var(--sam-papier);
}

.sam-opt.is-checked small {
	color: rgba(251, 248, 242, 0.68);
}

.sam-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
}

.sam-grid > .sam-field {
	flex: 1 1 8.5rem;
	min-width: 0;
	max-width: 100%;
}

.sam-field {
	margin: 0;
}

.sam-field label {
	display: block;
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8d9589;
	margin: 0 0 0.3rem;
}

.sam-field input {
	width: 100%;
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 10px;
	padding: 0.65rem 0.7rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	min-height: 2.8rem;
}

.sam-field input:focus-visible {
	outline: 2px solid var(--sam-or);
	outline-offset: 2px;
}

.sam-warn {
	margin: 0.8rem 0 0;
	font-size: 0.8rem;
	color: #9a5b12;
	background: #fdf4e6;
	border: 1px solid #f0dfc2;
	border-radius: 10px;
	padding: 0.6rem 0.75rem;
}

.sam-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.7rem;
	margin: 1.35rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid #eee5d5;
}

.sam-back {
	background: none;
	border: 0;
	color: var(--sam-mute);
	font: inherit;
	font-size: 0.83rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0.5rem 0.2rem;
}

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

.sam-next {
	background: var(--sam-or);
	color: #fff;
	border: 0;
	border-radius: 11px;
	padding: 0.75rem 1.5rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	min-height: 2.9rem;
	cursor: pointer;
	transition: background 0.16s ease;
}

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

.sam-form {
	background: var(--sam-papier);
	border: 1px solid #e0d5c3;
	border-radius: 20px;
	padding: 1.35rem;
	margin: 1.5rem 0 0;
}

.sam-checkout h2 {
	margin: 0 0 0.3rem;
	color: var(--sam-vert);
}

@media (max-width: 40rem) {
	.sam-card-opt {
		flex: 1 1 100%;
	}

	.sam-nav {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.sam-next {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sam-card-in,
	.sam-opt,
	.sam-next,
	.sam-sc,
	.sam-dot {
		transition: none;
	}
}

.sam-results {
	margin-top: 2.5rem;
}

.sam-count {
	font-size: 1.35rem;
	margin: 0 0 0.25rem;
}

.sam-recap {
	margin: 0 0 1.5rem;
	color: var(--sam-mute);
	font-size: 0.9rem;
}

.sam-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.sam-card {
	display: flex;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 16px;
	padding: 1rem;
}

.sam-thumb img {
	width: 9rem;
	height: auto;
	border-radius: 12px;
	display: block;
}

.sam-body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
}

.sam-body h3 a {
	text-decoration: none;
}

.sam-meta {
	margin: 0 0 0.6rem;
	color: var(--sam-mute);
	font-size: 0.875rem;
}

.sam-price {
	margin: 0 0 0.75rem;
}

.sam-price b {
	font-size: 1.25rem;
	margin-right: 0.5rem;
}

.sam-price span {
	color: var(--sam-mute);
	font-size: 0.8rem;
}

.sam-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
}

.sam-wa,
.sam-more {
	display: inline-block;
	border-radius: 11px;
	padding: 0.7rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.sam-wa {
	background: #1f7a45;
	color: #fff;
}

.sam-more {
	border: 1.5px solid var(--sam-line);
	color: var(--sam-vert);
}

.sam-empty {
	border: 1px dashed var(--sam-line);
	border-radius: 14px;
	padding: 1.5rem;
	text-align: center;
	color: var(--sam-mute);
}

@media (max-width: 40rem) {
	.sam-card {
		flex-direction: column;
	}

	.sam-thumb img {
		width: 100%;
	}

	.sam-nav {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.sam-next {
		width: 100%;
	}
}

.sam-ok {
	background: #e7f5ec;
	border: 1px solid #b7e0c6;
	color: #14663a;
	border-radius: 11px;
	padding: 0.85rem 1rem;
	font-weight: 600;
}

.sam-bill {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25rem 0;
}

.sam-bill th,
.sam-bill td {
	text-align: left;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--sam-line);
	font-weight: 400;
}

.sam-bill td {
	text-align: right;
	font-weight: 600;
}

.sam-bill .sam-total th,
.sam-bill .sam-total td {
	font-weight: 700;
	font-size: 1.15rem;
	border-bottom: 0;
}

.sam-note {
	color: var(--sam-mute);
	font-size: 0.85rem;
	margin-top: 1rem;
}


/* ---------- Fiche logement ---------- */

.sam-fiche {
	max-width: 68rem;
	margin: 0 auto;
}

.sam-mosaique {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 0.5rem;
	border-radius: 16px;
	overflow: hidden;
	margin: 0 0 1.5rem;
	position: relative;
	aspect-ratio: 2 / 1;
}

.sam-mo-vue {
	display: block;
	padding: 0;
	margin: 0;
	border: 0;
	background: #ece7dd;
	overflow: hidden;
	cursor: zoom-in;
	position: relative;
}

.sam-mo-vue img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sam-mo-vue:hover img {
	transform: scale(1.04);
}

.sam-mo-vue.is-grande {
	grid-row: span 2;
}

.sam-mo-vue:only-child {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
}

.sam-mo-plus {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	background: #fff;
	border: 1px solid var(--sam-vert);
	border-radius: 10px;
	padding: 0.55rem 1rem;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--sam-vert);
	cursor: pointer;
}

.sam-fiche-lieu {
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sam-or);
}

.sam-fiche-resume {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	color: var(--sam-vert);
	font-weight: 600;
}

.sam-fiche-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: 2.5rem;
	align-items: start;
}

.sam-fiche-main {
	min-width: 0;
}

.sam-desc {
	font-size: 1rem;
	line-height: 1.65;
	color: #3f4a44;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--sam-line);
}

.sam-desc > *:first-child {
	margin-top: 0;
}

.sam-equip2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.5rem 1.5rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.sam-equip2 li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.35rem 0;
	font-size: 0.92rem;
	color: #3f4a44;
}

.sam-equip2 li::before {
	content: "✓";
	flex: none;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #eef2ee;
	color: var(--sam-vert);
	font-size: 0.7rem;
	display: grid;
	place-items: center;
}

.sam-fiche-side {
	position: sticky;
	top: 1.5rem;
}

.sam-resa-card {
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 16px;
	padding: 1.4rem;
	box-shadow: 0 18px 40px -34px rgba(31, 42, 36, 0.6);
}

.sam-resa-prix {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.sam-resa-prix li {
	margin: 0 0 0.2rem;
	font-size: 0.85rem;
	color: var(--sam-mute);
}

.sam-resa-prix li b {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--sam-vert);
}

.sam-resa-prix li.is-principal b {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.sam-resa-det {
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0.9rem 0 0;
	border-top: 1px solid var(--sam-line);
}

.sam-resa-det li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.45rem;
	font-size: 0.85rem;
	color: var(--sam-mute);
}

.sam-resa-det b {
	color: var(--sam-vert);
	font-weight: 700;
	white-space: nowrap;
}

.sam-resa-cta {
	display: block;
	background: var(--sam-or);
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 12px;
	padding: 0.95rem;
	font-size: 0.95rem;
	font-weight: 700;
	transition: background 0.16s ease;
}

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

.sam-resa-note {
	margin: 0.9rem 0 0;
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--sam-mute);
	text-align: center;
}

.sam-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(20, 26, 22, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1rem;
}

.sam-lightbox[hidden] {
	display: none;
}

.sam-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 10px;
	display: block;
}

.sam-lb-x,
.sam-lb-nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #fff;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.sam-lb-x {
	top: 1rem;
	right: 1rem;
}

.sam-lb-prev {
	left: 1rem;
}

.sam-lb-next {
	right: 1rem;
}

.sam-lb-x:hover,
.sam-lb-nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 62rem) {
	.sam-fiche-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.sam-fiche-side {
		position: static;
	}
}

@media (max-width: 40rem) {
	.sam-mosaique {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		aspect-ratio: auto;
	}

	.sam-mo-vue.is-grande {
		grid-row: auto;
		aspect-ratio: 4 / 3;
	}

	.sam-mo-vue:not(.is-grande) {
		display: none;
	}

	.sam-mo-plus {
		position: static;
		display: block;
		width: 100%;
		margin-top: 0.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sam-mo-vue img {
		transition: none;
	}
}

/* ---------- Titres et listes partagés ---------- */

.sam-h2 {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sam-vert);
	margin: 1.75rem 0 0.85rem;
}

.sam-optlist {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--sam-line);
}

.sam-optlist li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--sam-line);
	font-size: 0.9rem;
}

.sam-optlist b {
	white-space: nowrap;
	color: var(--sam-vert);
}

.sam-optlist small {
	font-weight: 500;
	color: var(--sam-mute);
}

.sam-checkopts {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.sam-checkopts li {
	margin: 0 0 0.4rem;
}

.sam-checkopts label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #fff;
	border: 1px solid var(--sam-line);
	border-radius: 11px;
	padding: 0.7rem 0.85rem;
	font-size: 0.9rem;
	cursor: pointer;
}

.sam-checkopts label:hover {
	border-color: var(--sam-vert-clair);
}

.sam-checkopts small {
	display: block;
	font-size: 0.72rem;
	color: var(--sam-mute);
}

.sam-optprice {
	margin-left: auto;
	font-weight: 700;
	color: var(--sam-vert);
	white-space: nowrap;
}
