/*
 * Flo Little Ranch – Questionnaire de pension
 * Direction artistique : papier beige, bordeaux, filet rouge, titres en
 * Instrument Serif, pastilles orange. Toutes les couleurs sont des variables :
 * on peut les surcharger depuis Elementor (CSS personnalisé) sur .flrp.
 */

.flrp {
	--flrp-paper: #e4e2d6;
	--flrp-card: #f4f2ea;
	--flrp-tile: #fbfaf5;
	--flrp-ink: #471616;
	--flrp-ink-2: #5e221f;
	--flrp-text: #2b1a17;
	--flrp-muted: #6f5f59;
	--flrp-line: rgba(71, 22, 20, 0.16);
	--flrp-line-strong: rgba(71, 22, 20, 0.34);
	--flrp-accent: #ff6f03;
	--flrp-red: #b3261e;
	--flrp-ok: #3f6b3a;
	--flrp-serif: "INSTRUMENT", "Instrument Serif", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--flrp-radius-xl: 28px;
	--flrp-radius-lg: 20px;
	--flrp-radius: 14px;
	--flrp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--flrp-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	scroll-margin-top: 90px;
	/* Les mises en page s'adaptent à la largeur de la colonne Elementor,
	   pas seulement à celle de l'écran. */
	container: flrp / inline-size;
}

.flrp :focus:not(:focus-visible) {
	outline: none;
}

.flrp .flrp__legend:focus,
.flrp__done:focus {
	outline: none;
}

.flrp *,
.flrp *::before,
.flrp *::after {
	box-sizing: inherit;
}

.flrp :where(h2, h3, p, ol, dl, dd, fieldset, legend) {
	margin: 0;
	padding: 0;
}

.flrp :where(input, select, textarea, button) {
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}

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

.flrp__head {
	margin-bottom: 28px;
	max-width: 720px;
}

.flrp__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--flrp-ink);
}

.flrp__eyebrow::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--flrp-accent);
}

.flrp .flrp__title {
	font-family: var(--flrp-serif);
	font-weight: 400;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -0.01em;
	color: var(--flrp-ink);
}

.flrp__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin-top: 18px;
	background: var(--flrp-red);
}

.flrp__lead {
	margin-top: 16px;
	font-size: 1.05rem;
	color: var(--flrp-muted);
}

.flrp__noscript {
	padding: 18px 22px;
	border-radius: var(--flrp-radius);
	background: var(--flrp-card);
}

/* ------------------------------------------------------------ Progression */

.flrp__progress {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	margin: 0 0 22px;
	padding: 0;
	counter-reset: none;
}

.flrp__progress-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	text-align: center;
	color: var(--flrp-muted);
	font-size: 13px;
	font-weight: 500;
}

/* Trait reliant les étapes */
.flrp__progress-item:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 17px;
	right: calc(50% + 22px);
	left: calc(-50% + 22px);
	height: 2px;
	border-radius: 2px;
	background: var(--flrp-line);
	transition: background 0.3s var(--flrp-ease);
}

.flrp__progress-item.is-done:not(:first-child)::before,
.flrp__progress-item.is-current:not(:first-child)::before {
	background: var(--flrp-ink);
}

.flrp__progress-num {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--flrp-line-strong);
	background: var(--flrp-tile);
	font-weight: 600;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	transition: all 0.25s var(--flrp-ease);
}

.flrp__progress-item.is-current {
	color: var(--flrp-ink);
	font-weight: 600;
}

.flrp__progress-item.is-current .flrp__progress-num {
	border-color: var(--flrp-ink);
	background: var(--flrp-ink);
	color: #fff;
	box-shadow: 0 0 0 5px rgba(71, 22, 20, 0.12);
}

.flrp__progress-item.is-done {
	color: var(--flrp-ink);
	cursor: pointer;
}

.flrp__progress-item.is-done .flrp__progress-num {
	border-color: var(--flrp-ink);
	color: transparent;
	background: var(--flrp-tile)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23471614' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 18px no-repeat;
}

.flrp__progress-item.is-done:hover .flrp__progress-num {
	background-color: #fff;
}

/* ------------------------------------------------------------- Disposition */

.flrp__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
}

.flrp__form {
	position: relative;
	padding: clamp(22px, 4vw, 44px);
	border-radius: var(--flrp-radius-xl);
	border: 1px solid var(--flrp-line);
	background: var(--flrp-card);
	margin: 0;
}

.flrp__step {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	animation: flrp-in 0.38s var(--flrp-ease);
}

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

.flrp .flrp__legend {
	display: flex;
	align-items: baseline;
	gap: 12px;
	width: 100%;
	margin-bottom: 6px;
	padding: 0;
	font-family: var(--flrp-serif);
	font-weight: 400;
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	line-height: 1.1;
	color: var(--flrp-ink);
}

.flrp__legend-num {
	font-family: inherit;
	font-size: 0.62em;
	color: var(--flrp-accent);
	font-variant-numeric: tabular-nums;
}

.flrp__hint {
	margin: 4px 0 22px !important;
	color: var(--flrp-muted);
	font-size: 0.95rem;
}

.flrp__step > .flrp-grid,
.flrp__step > .flrp-recap {
	margin-top: 22px;
}

/* ------------------------------------------------------ Cartes de formules */

.flrp-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.flrp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 20px 18px;
	border-radius: var(--flrp-radius-lg);
	border: 1.5px solid var(--flrp-line);
	background: var(--flrp-tile);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--flrp-ease);
}

.flrp-card:hover {
	border-color: var(--flrp-line-strong);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -16px rgba(71, 22, 20, 0.45);
}

.flrp-card input,
.flrp-pill input,
.flrp-switch input,
.flrp-consent input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.flrp-card.is-checked {
	border-color: var(--flrp-ink);
	box-shadow: 0 0 0 1px var(--flrp-ink), 0 14px 30px -18px rgba(71, 22, 20, 0.55);
}

.flrp-card:focus-within {
	outline: 3px solid rgba(255, 111, 3, 0.45);
	outline-offset: 2px;
}

.flrp-card:has(input:focus:not(:focus-visible)) {
	outline: none;
}

.flrp-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.flrp-card__name {
	font-family: var(--flrp-serif);
	font-size: 1.45rem;
	line-height: 1.1;
	color: var(--flrp-ink);
}

.flrp-card__check {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1.5px solid var(--flrp-line-strong);
	transition: all 0.2s var(--flrp-ease);
}

.flrp-card.is-checked .flrp-card__check {
	border-color: var(--flrp-accent);
	background: var(--flrp-accent)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}

.flrp-card__price {
	font-family: var(--flrp-serif);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--flrp-ink);
	font-variant-numeric: tabular-nums;
	margin-top: 4px;
}

.flrp-card__unit {
	font-size: 0.6em;
}

.flrp-card__unit small {
	font-family: inherit;
	font-size: 0.7em;
	color: var(--flrp-muted);
	margin-left: 2px;
}

.flrp-card__tagline {
	font-size: 0.92rem;
	color: var(--flrp-muted);
}

.flrp-card__badge {
	align-self: flex-start;
	margin-top: 2px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 111, 3, 0.14);
	color: #9a3f00;
	font-size: 12px;
	font-weight: 600;
}

.flrp-card__groups {
	display: grid;
	gap: 10px;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--flrp-line);
}

.flrp-card__group {
	display: grid;
	gap: 2px;
}

.flrp-card__group-title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--flrp-muted);
	margin-bottom: 1px;
}

.flrp-card__item {
	position: relative;
	padding-left: 14px;
	font-size: 0.9rem;
	line-height: 1.4;
}

.flrp-card__item::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--flrp-accent);
}

/* ------------------------------------------------------------- Options */

.flrp-option {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	gap: 10px 24px;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid var(--flrp-line);
}

.flrp-option:first-of-type {
	border-top: 0;
	padding-top: 6px;
}

.flrp-option__head {
	display: grid;
	gap: 2px;
}

.flrp-option__title {
	font-weight: 600;
	color: var(--flrp-ink);
}

.flrp-option__desc {
	font-size: 0.88rem;
	color: var(--flrp-muted);
}

.flrp__empty {
	padding: 22px;
	border-radius: var(--flrp-radius);
	background: var(--flrp-tile);
	border: 1px dashed var(--flrp-line-strong);
	color: var(--flrp-ink);
}

/* -------------------------------------------------------------- Pastilles */

.flrp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.flrp-pill {
	position: relative;
	cursor: pointer;
}

.flrp-pill span {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--flrp-line);
	background: var(--flrp-tile);
	font-size: 0.95rem;
	line-height: 1.3;
	white-space: nowrap;
	transition: all 0.18s var(--flrp-ease);
}

.flrp-pill small {
	font-size: 0.8em;
	color: var(--flrp-muted);
	font-weight: 500;
}

.flrp-pill:hover span {
	border-color: var(--flrp-line-strong);
}

.flrp-pill input:checked + span {
	background: var(--flrp-ink);
	border-color: var(--flrp-ink);
	color: #fff;
}

.flrp-pill input:checked + span small {
	color: rgba(255, 255, 255, 0.78);
}

.flrp-pill input:focus-visible + span,
.flrp-switch input:focus-visible + .flrp-switch__track,
.flrp-consent input:focus-visible + span::before {
	outline: 3px solid rgba(255, 111, 3, 0.5);
	outline-offset: 2px;
}

/* --------------------------------------------------------------- Interrupteur */

.flrp-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-size: 0.95rem;
}

.flrp-switch small {
	color: var(--flrp-muted);
	margin-left: 4px;
}

.flrp-switch__track {
	position: relative;
	flex: none;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: rgba(71, 22, 20, 0.2);
	transition: background 0.2s var(--flrp-ease);
}

.flrp-switch__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.22s var(--flrp-ease);
}

.flrp-switch input:checked + .flrp-switch__track {
	background: var(--flrp-ink);
}

.flrp-switch input:checked + .flrp-switch__track::after {
	transform: translateX(20px);
}

/* --------------------------------------------------------------- Champs */

.flrp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 18px;
}

.flrp-field {
	display: grid;
	gap: 7px;
	align-content: start;
	min-width: 0;
}

.flrp-field--wide {
	grid-column: 1 / -1;
}

.flrp-field--small input {
	max-width: 140px;
}

.flrp-field > label,
.flrp-label {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--flrp-ink);
}

.flrp-req {
	margin-left: 4px;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--flrp-muted);
}

.flrp-req::before {
	content: "·";
	margin-right: 4px;
}

.flrp .flrp-field :is(input, select, textarea) {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 15px;
	border-radius: var(--flrp-radius);
	border: 1.5px solid var(--flrp-line);
	background: var(--flrp-tile);
	color: var(--flrp-text);
	font-size: 16px; /* évite le zoom iOS */
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.18s, box-shadow 0.18s;
	-webkit-appearance: none;
	appearance: none;
}

.flrp .flrp-field textarea {
	min-height: 104px;
	resize: vertical;
}

.flrp .flrp-field :is(input, select, textarea):hover {
	border-color: var(--flrp-line-strong);
}

.flrp .flrp-field :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--flrp-ink);
	box-shadow: 0 0 0 4px rgba(255, 111, 3, 0.2);
}

.flrp .flrp-field ::placeholder {
	color: #a09189;
	opacity: 1;
}

.flrp .flrp-field [aria-invalid="true"] {
	border-color: var(--flrp-red);
	background: #fff7f5;
}

.flrp-suffix {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.flrp-suffix span {
	color: var(--flrp-muted);
}

.flrp-select {
	position: relative;
}

.flrp-select::after {
	content: "";
	position: absolute;
	right: 17px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--flrp-ink);
	border-bottom: 2px solid var(--flrp-ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.flrp .flrp-select select {
	padding-right: 42px;
	cursor: pointer;
}

.flrp .flrp-field input[type="date"] {
	max-width: 260px;
}

.flrp__error {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 2px !important;
	font-size: 0.87rem;
	font-weight: 500;
	color: var(--flrp-red);
}

.flrp__error::before {
	content: "!";
	display: grid;
	place-items: center;
	flex: none;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--flrp-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.flrp__step > .flrp__error {
	margin-top: 14px !important;
}

/* Champ piège : hors écran, pas display:none (certains robots le détectent). */
.flrp__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------- Récapitulatif */

.flrp-recap {
	display: grid;
	gap: 12px;
}

.flrp-recap__section {
	padding: 16px 18px;
	border-radius: var(--flrp-radius-lg);
	background: var(--flrp-tile);
	border: 1px solid var(--flrp-line);
}

.flrp-recap__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.flrp-recap__title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--flrp-muted);
}

.flrp .flrp-recap__edit {
	padding: 4px 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--flrp-ink);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.flrp .flrp-recap__edit:hover {
	background: rgba(71, 22, 20, 0.07);
}

.flrp-recap dl {
	display: grid;
	grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
	gap: 5px 16px;
	font-size: 0.94rem;
}

.flrp-recap dt {
	color: var(--flrp-muted);
}

.flrp-recap dd {
	margin: 0;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

/* -------------------------------------------------------------- Consentement */

.flrp-consent {
	position: relative;
	display: flex;
	gap: 12px;
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: var(--flrp-radius-lg);
	border: 1.5px solid var(--flrp-line);
	background: var(--flrp-tile);
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--flrp-muted);
}

.flrp-consent span {
	position: relative;
	padding-left: 34px;
}

.flrp-consent span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	border: 1.5px solid var(--flrp-line-strong);
	background: #fff;
	transition: all 0.18s;
}

.flrp-consent input:checked + span::before {
	border-color: var(--flrp-ink);
	background: var(--flrp-ink)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}

.flrp-consent a {
	color: var(--flrp-ink);
	font-weight: 600;
}

.flrp-consent.is-invalid {
	border-color: var(--flrp-red);
}

/* ----------------------------------------------------------- Navigation */

.flrp__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--flrp-line);
}

.flrp__nav [data-next] {
	margin-left: auto;
}

.flrp .flrp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1.5px solid var(--flrp-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.flrp .flrp-btn--primary {
	background: var(--flrp-ink);
	color: #fff;
	box-shadow: 0 10px 22px -14px rgba(71, 22, 20, 0.9);
}

.flrp .flrp-btn--primary:hover {
	background: var(--flrp-ink-2);
}

.flrp .flrp-btn--ghost {
	background: transparent;
	color: var(--flrp-ink);
}

.flrp .flrp-btn--ghost:hover {
	background: rgba(71, 22, 20, 0.06);
}

.flrp .flrp-btn:active {
	transform: translateY(1px);
}

.flrp .flrp-btn:focus-visible {
	outline: 3px solid rgba(255, 111, 3, 0.55);
	outline-offset: 3px;
}

.flrp-btn__arrow {
	transition: transform 0.2s var(--flrp-ease);
}

.flrp-btn:hover .flrp-btn__arrow {
	transform: translateX(3px);
}

.flrp .flrp-btn[aria-busy="true"] {
	pointer-events: none;
	opacity: 0.85;
}

.flrp .flrp-btn[aria-busy="true"] .flrp-btn__arrow {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	color: transparent;
	overflow: hidden;
	animation: flrp-spin 0.7s linear infinite;
}

@keyframes flrp-spin {
	to {
		transform: rotate(360deg);
	}
}

.flrp__alert {
	margin-top: 22px;
	padding: 14px 18px;
	border-radius: var(--flrp-radius);
	background: #fbe9e6;
	color: #7d1d17;
	font-size: 0.95rem;
	font-weight: 500;
}

/* ----------------------------------------------------------- Estimation */

.flrp__summary {
	position: sticky;
	top: 24px;
	padding: 26px 24px 22px;
	border-radius: var(--flrp-radius-xl);
	background: var(--flrp-ink);
	color: #f2ede3;
	overflow: hidden;
}

.flrp__summary::after {
	/* Tampon discret, clin d'œil au logo rond du ranch */
	content: "";
	position: absolute;
	right: -46px;
	bottom: -46px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 1.5px dashed rgba(242, 237, 227, 0.16);
	pointer-events: none;
}

.flrp__summary-title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(242, 237, 227, 0.7);
	margin-bottom: 14px;
}

.flrp__summary-empty {
	font-family: var(--flrp-serif);
	font-size: 1.35rem;
	line-height: 1.25;
	color: rgba(242, 237, 227, 0.85);
}

.flrp-sum__name {
	font-family: var(--flrp-serif);
	font-size: 1.5rem;
	line-height: 1.15;
}

.flrp-sum__badge {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--flrp-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
}

.flrp-sum__lines {
	list-style: none;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid rgba(242, 237, 227, 0.16);
	display: grid;
	gap: 7px;
	font-size: 0.9rem;
}

.flrp-sum__lines li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	color: rgba(242, 237, 227, 0.85);
}

.flrp-sum__lines li span:last-child {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.flrp-sum__total {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(242, 237, 227, 0.28);
}

.flrp-sum__total-label {
	font-size: 0.9rem;
	color: rgba(242, 237, 227, 0.75);
}

.flrp-sum__amount {
	font-family: var(--flrp-serif);
	font-size: 2.7rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.flrp-sum__amount small {
	font-family: inherit;
	font-size: 0.42em;
	color: rgba(242, 237, 227, 0.7);
	margin-left: 3px;
}

.flrp-sum__bump {
	animation: flrp-bump 0.35s var(--flrp-ease);
}

@keyframes flrp-bump {
	40% {
		transform: scale(1.06);
	}
}

.flrp__summary-note {
	margin-top: 16px !important;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(242, 237, 227, 0.62);
}

/* ------------------------------------------------------------- Succès */

.flrp__done {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 56px);
	border-radius: var(--flrp-radius-xl);
	border: 1px solid var(--flrp-line);
	background: var(--flrp-card);
	text-align: center;
	outline: none;
	animation: flrp-in 0.45s var(--flrp-ease);
}

.flrp__done-mark svg {
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	display: block;
}

.flrp__done-mark circle {
	fill: none;
	stroke: var(--flrp-accent);
	stroke-width: 2;
	stroke-dasharray: 152;
	stroke-dashoffset: 152;
	animation: flrp-draw 0.7s var(--flrp-ease) forwards;
}

.flrp__done-mark path {
	fill: none;
	stroke: var(--flrp-ink);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: flrp-draw 0.45s 0.45s var(--flrp-ease) forwards;
}

@keyframes flrp-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.flrp .flrp__done-title {
	font-family: var(--flrp-serif);
	font-weight: 400;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.1;
	color: var(--flrp-ink);
}

.flrp__done-text {
	margin-top: 14px !important;
	font-size: 1.05rem;
	color: var(--flrp-muted);
}

.flrp__done-ref {
	margin-top: 18px !important;
	font-size: 0.85rem;
	color: var(--flrp-muted);
}

.flrp__done-ref strong {
	color: var(--flrp-ink);
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------- Responsive */

@container flrp (max-width: 880px) {
	.flrp__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	/* L'estimation devient une barre collée en bas de l'écran */
	.flrp__summary {
		position: sticky;
		top: auto;
		bottom: 10px;
		z-index: 5;
		order: 2;
		margin-top: 14px;
		padding: 14px 20px;
		border-radius: 18px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		box-shadow: 0 16px 34px -18px rgba(43, 26, 23, 0.8);
	}

	.flrp__summary::after,
	.flrp__summary-title,
	.flrp__summary-note,
	.flrp-sum__lines,
	.flrp-sum__badge {
		display: none;
	}

	.flrp__summary-body {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.flrp__summary-empty {
		font-size: 1.05rem;
	}

	.flrp-sum__name {
		font-size: 1.15rem;
	}

	.flrp-sum__total {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.flrp-sum__total-label {
		display: none;
	}

	.flrp-sum__amount {
		font-size: 1.9rem;
	}
}

@container flrp (max-width: 620px) {
	.flrp__progress-label {
		display: none;
	}

	.flrp__progress-item.is-current .flrp__progress-label {
		display: block;
		position: absolute;
		top: 44px;
		white-space: nowrap;
	}

	.flrp__progress {
		margin-bottom: 40px;
	}

	.flrp__progress-num {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	.flrp__progress-item:not(:first-child)::before {
		top: 15px;
		right: calc(50% + 19px);
		left: calc(-50% + 19px);
	}

	.flrp__form {
		border-radius: 22px;
	}

	.flrp-grid,
	.flrp-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.flrp-option {
		grid-template-columns: minmax(0, 1fr);
	}

	.flrp-recap dl {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.flrp-recap dd {
		margin-bottom: 8px;
	}

	.flrp__nav {
		position: relative;
	}

	.flrp .flrp-btn {
		padding: 0 20px;
	}

	.flrp .flrp-btn--primary {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.flrp *,
	.flrp *::before,
	.flrp *::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		transition-duration: 0.01ms !important;
	}

	.flrp__done-mark circle,
	.flrp__done-mark path {
		stroke-dashoffset: 0;
	}
}
