/* YS Forms — style minimaliste repris du formulaire 61 (navy / or, bordure basse). */
.ysf-wrap {
	--ysf-navy: #1a2755;
	--ysf-gold: rgb(201, 176, 134);
	--ysf-slate: #64748b;
	--ysf-line: #e2e8f0;
	--ysf-bg: #f8fafc;
	--ysf-red: #dc2626;
	max-width: 900px;
	margin: 0 auto;
	color: var(--ysf-navy);
	font-family: inherit;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

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

.ysf-wrap [hidden] {
	display: none !important;
}

.ysf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Étapes */
.ysf-steps {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.ysf-step {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 0 12px;
	border-bottom: 3px solid var(--ysf-line);
	color: var(--ysf-slate);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.ysf-step-num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ysf-line);
	color: var(--ysf-navy);
	font-size: 13px;
	transition: background 0.3s ease, color 0.3s ease;
}

.ysf-step.is-active {
	border-bottom-color: var(--ysf-gold);
	color: var(--ysf-navy);
}

.ysf-step.is-active .ysf-step-num {
	background: var(--ysf-navy);
	color: #fff;
}

.ysf-step.is-done {
	border-bottom-color: var(--ysf-navy);
	cursor: pointer;
}

.ysf-step.is-done:hover {
	color: var(--ysf-navy);
}

.ysf-step.is-done .ysf-step-num {
	background: var(--ysf-gold);
	color: #fff;
}

.ysf-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 26px;
	padding: 12px 16px;
	border: 1px solid var(--ysf-line);
	border-left: 3px solid var(--ysf-gold);
	border-radius: 8px;
	background: var(--ysf-bg);
	font-size: 13px;
	font-weight: 600;
	color: var(--ysf-navy);
}

.ysf-summary-item {
	cursor: pointer;
	transition: color 0.15s ease;
}

.ysf-summary-item:hover {
	color: var(--ysf-gold);
}

.ysf-summary-item:not(:last-child)::after {
	content: "•";
	margin-left: 10px;
	color: var(--ysf-gold);
}

/* Grille */
.ysf-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 26px 24px;
}

.ysf-field,
.ysf-w-full {
	grid-column: span 12;
	min-width: 0;
}

.ysf-w-half {
	grid-column: span 6;
}

.ysf-w-third {
	grid-column: span 4;
}

.ysf-subgrid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px 24px;
}

.ysf-page:not([hidden]) .ysf-field {
	animation: ysf-in 0.4s ease both;
}

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

/* Libellés */
.ysf-label {
	display: block;
	margin: 0 0 8px;
	color: var(--ysf-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

@media (min-width: 681px) {
	.ysf-w-half.ysf-float:has(+ .ysf-w-half:not(.ysf-float):not([hidden]):not([data-ysg-off])),
	.ysf-w-half:not(.ysf-float):not([hidden]):not([data-ysg-off]) + .ysf-w-half.ysf-float {
		padding-top: 26px;
	}

	.ysf-w-half.ysf-float:has(+ .ysf-w-half:not(.ysf-float):not([hidden]):not([data-ysg-off])) + .ysf-w-half:not(.ysf-float) .ysf-choice,
	.ysf-w-half:not(.ysf-float):has(+ .ysf-w-half.ysf-float:not([hidden]):not([data-ysg-off])) .ysf-choice,
	.ysf-w-half.ysf-float:has(+ .ysf-w-half:not(.ysf-float):not([hidden]):not([data-ysg-off])) + .ysf-w-half:not(.ysf-float) .ysf-input,
	.ysf-w-half:not(.ysf-float):has(+ .ysf-w-half.ysf-float:not([hidden]):not([data-ysg-off])) .ysf-input {
		min-height: 58px;
	}
}

.ysf-field:focus-within > .ysf-label {
	color: var(--ysf-gold);
}

.ysf-req {
	color: var(--ysf-gold);
}

.ysf-sublabel {
	display: block;
	margin-top: 4px;
	color: var(--ysf-slate);
	font-size: 12px;
}

.ysf-desc,
.ysf-hint {
	margin-top: 6px;
	color: var(--ysf-slate);
	font-size: 13px;
}

.ysf-desc p {
	margin: 0;
}

.ysf-html {
	padding: 14px 18px;
	border-left: 3px solid var(--ysf-gold);
	background: var(--ysf-bg);
	color: var(--ysf-navy);
	font-size: 14px;
}

/* Champs */
.ysf-wrap .ysf-input {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-bottom: 2px solid var(--ysf-line);
	border-radius: 6px 6px 0 0;
	background-color: var(--ysf-bg);
	color: var(--ysf-navy);
	font: inherit;
	box-shadow: none;
	outline: none;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ysf-wrap textarea.ysf-input {
	min-height: 110px;
	resize: vertical;
}

.ysf-wrap select.ysf-input {
	padding-right: 40px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a2755' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.ysf-wrap .ysf-input:focus {
	border-bottom-color: var(--ysf-gold);
	background-color: #fff;
}

.ysf-input-wrap {
	position: relative;
}

.ysf-wrap .ysf-input.has-unit {
	padding-right: 54px;
}

.ysf-unit {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	color: var(--ysf-slate);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	pointer-events: none;
}

/* Labels flottants */
.ysf-float-box {
	position: relative;
}

.ysf-float .ysf-input {
	min-height: 58px;
	padding: 22px 14px 8px;
}

.ysf-float textarea.ysf-input {
	min-height: 116px;
	padding-top: 26px;
}

.ysf-float .ysf-input.has-unit {
	padding-right: 54px;
}

.ysf-float select.ysf-input,
.ysf-float .ysf-combo-input {
	padding-right: 40px;
}

.ysf-float .ysf-label {
	position: absolute;
	top: 50%;
	left: 14px;
	right: 42px;
	transform: translateY(-50%);
	margin: 0;
	color: var(--ysf-slate);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
	transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease, letter-spacing 0.18s ease;
}

.ysf-float.ysf-type-textarea .ysf-label {
	top: 18px;
	transform: none;
}

.ysf-float:focus-within .ysf-label,
.ysf-float.has-value .ysf-label {
	top: 7px;
	transform: none;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ysf-slate);
}

.ysf-float:focus-within .ysf-label {
	color: var(--ysf-gold);
}

.ysf-float.has-value .ysf-input {
	font-weight: 600;
}

.ysf-float .ysf-unit {
	top: auto;
	bottom: 10px;
	transform: none;
}

/* Libellé trop long pour flotter : affiché en entier au-dessus du champ */
.ysf-float.ysf-float-long .ysf-float-box {
	display: flex;
	flex-direction: column-reverse;
}

.ysf-float.ysf-float-long .ysf-label,
.ysf-float.ysf-float-long:focus-within .ysf-label,
.ysf-float.ysf-float-long.has-value .ysf-label {
	position: static;
	transform: none;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	pointer-events: auto;
}

.ysf-float.ysf-float-long .ysf-input {
	min-height: 48px;
	padding: 12px 14px;
}

.ysf-float.ysf-float-long select.ysf-input,
.ysf-float.ysf-float-long .ysf-combo-input {
	padding-right: 40px;
}

.ysf-float.ysf-float-long .ysf-unit {
	top: auto;
	bottom: 14px;
}

.ysf-field.has-error .ysf-input {
	border-bottom-color: var(--ysf-red);
}

.ysf-error {
	margin-top: 6px;
	color: var(--ysf-red);
	font-size: 13px;
}

.ysf-warn {
	margin-top: 6px;
	padding: 8px 12px;
	border-left: 3px solid #d97706;
	background: #fffbeb;
	color: #92400e;
	font-size: 13px;
}

.ysf-message {
	margin-top: 24px;
	padding: 12px 16px;
	border-left: 3px solid var(--ysf-red);
	background: #fef2f2;
	color: #991b1b;
	font-size: 14px;
}

/* Choix (cartes / pilules cliquables) */
.ysf-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ysf-type-checkbox .ysf-choices {
	flex-direction: column;
}

.ysf-choice {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 11px 16px;
	border: 1.5px solid var(--ysf-line);
	border-radius: 10px;
	background: var(--ysf-bg);
	color: var(--ysf-navy);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ysf-choice:hover {
	border-color: var(--ysf-gold);
	background: #fff;
}

.ysf-choice:has(input:focus-visible) {
	outline: 2px solid var(--ysf-gold);
	outline-offset: 2px;
}

.ysf-choice:has(input:checked) {
	border-color: var(--ysf-navy);
	background: #fff;
	box-shadow: 0 4px 12px rgba(26, 39, 85, 0.1);
	font-weight: 600;
}

.ysf-type-radio .ysf-choice:has(input:checked) {
	background: rgba(26, 39, 85, 0.045);
	box-shadow: 0 4px 12px rgba(26, 39, 85, 0.1), inset 0 0 0 0.5px var(--ysf-navy);
}

.ysf-choice input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--ysf-navy);
}

.ysf-type-radio .ysf-choice input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	pointer-events: none !important;
}

.ysf-choice-ico {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	color: var(--ysf-slate);
	transition: color 0.2s ease, transform 0.2s ease;
}

.ysf-choice:hover .ysf-choice-ico {
	color: var(--ysf-navy);
}

.ysf-choice:has(input:checked) .ysf-choice-ico {
	color: var(--ysf-navy);
}

.ysf-choice input:checked ~ span {
	color: var(--ysf-navy);
	font-weight: 600;
}

/* Listes recherchables (pays, nationalité, pavillon) */
.ysf-sr-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

.ysf-combo {
	position: relative;
}

.ysf-wrap .ysf-combo-input {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a2755' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.ysf-combo-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 45;
	max-height: 240px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ysf-line);
	border-radius: 10px;
	box-shadow: 0 16px 36px rgba(26, 39, 85, 0.16);
}

.ysf-combo-item {
	padding: 9px 12px;
	border-radius: 6px;
	color: var(--ysf-navy);
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.ysf-combo-item.is-active {
	background: rgba(201, 176, 134, 0.22);
}

.ysf-combo-item.is-selected {
	font-weight: 700;
}

.ysf-combo-group {
	margin: 6px 0 2px;
	padding: 6px 12px 4px;
	border-top: 1px solid var(--ysf-line);
	color: var(--ysf-slate);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: default;
}

.ysf-combo-group:first-child {
	margin-top: 0;
	border-top: 0;
}

/* Téléphone */
.ysf-field:focus-within {
	position: relative;
	z-index: 30;
}

.ysf-wrap .iti {
	display: block;
	width: 100%;
}

.ysf-wrap .iti--allow-dropdown input[type="tel"].ysf-tel {
	padding-left: 54px !important;
}

.ysf-wrap .iti__flag {
	width: 20px;
	background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png?1") !important;
	background-size: 5762px 15px !important;
}

.ysf-wrap .iti__flag.iti__be { width: 18px; }
.ysf-wrap .iti__flag.iti__ch { width: 15px; }
.ysf-wrap .iti__flag.iti__mc { width: 19px; }
.ysf-wrap .iti__flag.iti__ne { width: 18px; }
.ysf-wrap .iti__flag.iti__np { width: 13px; background-color: transparent; }
.ysf-wrap .iti__flag.iti__va { width: 15px; }

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.ysf-wrap .iti__flag {
		background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png?1") !important;
		background-size: 5762px 15px !important;
	}
}

.ysf-wrap .iti__country-list {
	z-index: 40;
	max-height: 280px;
	border: 1px solid var(--ysf-line);
	border-radius: 10px;
	box-shadow: 0 16px 36px rgba(26, 39, 85, 0.16);
}

.ysf-iti-search-wrap {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 8px;
	background: #fff;
	border-bottom: 1px solid var(--ysf-line);
}

.ysf-wrap .iti input[type="text"].ysf-iti-search {
	display: block;
	width: 100%;
	min-height: 36px;
	height: 36px;
	margin: 0 !important;
	padding: 7px 12px !important;
	border: 1px solid var(--ysf-line) !important;
	border-radius: 6px !important;
	background: var(--ysf-bg) !important;
	color: var(--ysf-navy) !important;
	font: inherit;
	font-size: 13px !important;
	box-shadow: none !important;
	outline: none !important;
}

.ysf-wrap .iti input[type="text"].ysf-iti-search:focus {
	border-color: var(--ysf-gold) !important;
	background: #fff !important;
}

/* Calendrier (Flatpickr — thème YachtSecure navy & or) */
.ysf-wrap .ysf-type-date .ysf-input,
.ysf-wrap .ysf-date-input {
	min-height: 58px;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a2755' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.flatpickr-calendar {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(26, 39, 85, 0.16);
	font-family: inherit;
	overflow: hidden;
}

.flatpickr-months {
	padding: 8px 6px 4px;
	background: #1a2755;
	color: #fff;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
	color: #fff;
	fill: #fff;
	font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
	background: #1a2755;
	color: #fff;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
	top: 8px;
	color: #fff;
	fill: #fff;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
	fill: rgb(201, 176, 134);
}

.flatpickr-weekdays {
	background: #1a2755;
	padding-bottom: 6px;
}

span.flatpickr-weekday {
	color: rgb(201, 176, 134);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.flatpickr-days {
	border: 0;
}

.flatpickr-day {
	color: #1a2755;
	border-radius: 8px;
	font-weight: 500;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
	background: rgba(201, 176, 134, 0.22);
	border-color: transparent;
}

.flatpickr-day.today {
	border-color: rgb(201, 176, 134);
}

.flatpickr-day.today:hover {
	background: rgb(201, 176, 134);
	border-color: rgb(201, 176, 134);
	color: #fff;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
	background: #1a2755;
	border-color: #1a2755;
	color: #fff;
	font-weight: 700;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
	color: #cbd5e1;
}

/* Fichiers */
.ysf-drop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 28px 16px;
	border: 2px dashed var(--ysf-line);
	border-radius: 12px;
	background: var(--ysf-bg);
	color: var(--ysf-slate);
	text-align: center;
	transition: border-color 0.3s ease, background 0.3s ease;
}

.ysf-drop.is-over {
	border-color: var(--ysf-gold);
	background: #fff;
}

.ysf-files {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.ysf-files li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--ysf-line);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.ysf-wrap .ysf-file-remove {
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ysf-red);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
}

/* Boutons */
.ysf-nav {
	display: flex;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 36px;
}

.ysf-wrap .ysf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 36px;
	border: 2px solid var(--ysf-navy);
	border-radius: 999px;
	background: var(--ysf-navy);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(26, 39, 85, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.ysf-wrap .ysf-btn:hover,
.ysf-wrap .ysf-btn:focus-visible {
	background: var(--ysf-navy);
	color: #fff;
	transform: scale(1.04);
	box-shadow: 0 10px 24px rgba(26, 39, 85, 0.28);
}

.ysf-wrap .ysf-btn:disabled {
	opacity: 0.85;
	cursor: wait;
	transform: none;
}

.ysf-btn-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: var(--ysf-gold, rgb(201, 176, 134));
	border-radius: 50%;
	animation: ysf-spin 0.75s linear infinite;
	flex: 0 0 auto;
}

.ysf-wrap.is-submitting,
.ysg.is-submitting {
	position: relative;
}

.ysf-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(26, 39, 85, 0.32);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	animation: ysf-fade-in 0.2s ease both;
}

.ysf-loading-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 28px 38px;
	border-radius: 14px;
	border-top: 3px solid var(--ysf-gold, rgb(201, 176, 134));
	background: #fff;
	box-shadow: 0 20px 50px rgba(26, 39, 85, 0.25);
	text-align: center;
}

.ysf-loading-ring {
	display: block;
	width: 44px;
	height: 44px;
	border: 3.5px solid #e2e8f0;
	border-top-color: #1a2755;
	border-right-color: rgb(201, 176, 134);
	border-radius: 50%;
	animation: ysf-spin 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.ysf-loading-text {
	color: #1a2755;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

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

@keyframes ysf-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.ysf-wrap .ysf-btn-ghost {
	margin-right: auto;
	background: transparent;
	color: var(--ysf-navy);
	box-shadow: none;
}

.ysf-wrap .ysf-btn-ghost:hover,
.ysf-wrap .ysf-btn-ghost:focus-visible {
	background: transparent;
	color: var(--ysf-navy);
	box-shadow: none;
}

.ysf-wrap .ysf-btn-small {
	min-height: 38px;
	padding: 6px 20px;
	font-size: 12px;
	box-shadow: none;
}

/* Confirmation */
.ysf-confirm {
	padding: 40px 28px;
	border-radius: 12px;
	background: var(--ysf-bg);
	border-left: 4px solid var(--ysf-gold);
	text-align: center;
}

.ysf-confirm h3 {
	margin: 0 0 8px;
	color: var(--ysf-navy);
}

.ysf-confirm p {
	margin: 0;
	color: var(--ysf-slate);
}

@media (max-width: 768px) {
	.ysf-grid,
	.ysf-subgrid {
		gap: 22px 0;
	}

	.ysf-w-half,
	.ysf-w-third {
		grid-column: span 12;
	}

	.ysf-step-label {
		display: none;
	}

	.ysf-step {
		justify-content: center;
	}

	.ysf-nav {
		flex-wrap: wrap;
	}

	.ysf-wrap .ysf-btn {
		flex: 1 1 auto;
		padding: 12px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ysf-page:not([hidden]) .ysf-field {
		animation: none;
	}

	.ysf-wrap .ysf-btn {
		transition: none;
	}
}

/* Intertitres de section et texte à accepter (conditions générales, déclaration) */
.ysf-section-title {
	margin: 10px 0 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ysf-line, #e2e8f0);
	color: var(--ysf-navy);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ysf-terms {
	max-height: 260px;
	margin: 0 0 14px;
	padding: 16px 18px;
	overflow-y: auto;
	border: 1px solid var(--ysf-line, #e2e8f0);
	border-radius: 8px;
	background: var(--ysf-bg);
	color: var(--ysf-navy);
	font-size: 13.5px;
	line-height: 1.55;
}

.ysf-terms:focus-visible {
	outline: 2px solid var(--ysf-gold);
	outline-offset: 2px;
}

.ysf-terms h2 {
	margin: 0 0 8px;
	color: var(--ysf-navy);
	font-size: 16px;
	font-weight: 700;
}

.ysf-terms p,
.ysf-terms ul {
	margin: 0 0 10px;
}

.ysf-terms ul {
	padding-left: 20px;
}

.ysf-terms li {
	margin: 0 0 6px;
}
