/* Formulaire de change en 3 étapes — [helvetic_change] */
.hc {
	--hc-accent: #BE984D;
	--hc-border: #d9d9d9;
	--hc-muted: #777;
	--hc-radius: 6px;
	max-width: 640px;
	margin: 0 auto;
}

.hc-progress {
	display: flex;
	gap: 8px;
	list-style: none !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
	font-size: 14px;
	color: var(--hc-muted);
}
.hc-progress li {
	flex: 1;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--hc-border);
}
.hc-progress li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 0;
	border-radius: 50%;
	background: var(--hc-border);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.hc-progress li.is-active,
.hc-progress li.is-done { color: inherit; border-color: var(--hc-accent); }
.hc-progress li.is-active span,
.hc-progress li.is-done span { background: var(--hc-accent); }

/* Divi force un display sur les éléments : on impose le masquage des étapes inactives. */
.hc .hc-step[hidden],
.hc .hc-error[hidden] { display: none !important; }

.hc,
.hc input,
.hc select,
.hc textarea,
.hc button,
.hc label,
.hc p { font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif; }

.hc .hc-title {
	margin-bottom: 16px;
	font-family: 'DM Serif Text', Georgia, "Times New Roman", serif;
}
.hc-subtitle { margin-bottom: 16px; padding: 0 !important; font-weight: 600; }

.hc-field { margin-bottom: 16px; }
.hc-field label { display: block; margin-bottom: 6px; font-weight: 600; }
.hc .hc-field select,
.hc .hc-field input {
	width: 100%;
	height: auto;
	min-height: 46px;
	line-height: 1.4;
	color: #333;
	padding: 10px 12px;
	border: 1px solid var(--hc-border);
	border-radius: var(--hc-radius);
	background: #fff;
	font-size: 16px;
}

.hc-points {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.hc-point { cursor: pointer; margin: 0; }
.hc-point input { position: absolute; opacity: 0; pointer-events: none; }
.hc-point span {
	display: block;
	padding: 18px 12px;
	border: 2px solid var(--hc-border);
	border-radius: var(--hc-radius);
	text-align: center;
	font-weight: 600;
	transition: border-color .15s, background-color .15s;
}
.hc-point:hover span { border-color: var(--hc-accent); }
.hc-point input:checked + span {
	border-color: var(--hc-accent);
	background: var(--hc-accent);
	color: #fff;
}
.hc-point input:focus-visible + span { outline: 2px solid var(--hc-accent); outline-offset: 2px; }

.hc-recap {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-left: 4px solid var(--hc-accent);
	background: #f6f6f6;
}
.hc-recap p { padding: 0; }

.hc-error { color: var(--hc-accent); font-weight: 600; margin-top: 12px; }

.hc-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}
.hc-actions .hc-next { margin-left: auto; }

.hc-btn {
	padding: 12px 28px;
	border: 2px solid var(--hc-accent);
	border-radius: var(--hc-radius);
	background: var(--hc-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.hc-btn--ghost { background: transparent; color: var(--hc-accent); }

@media (max-width: 480px) {
	.hc-points { grid-template-columns: 1fr; }
	.hc-progress { font-size: 12px; }
}
