/* Parcours autonome : aucun sélecteur d’étape du vendeur réutilisé. */
[hidden] { display: none !important; }
.intent-switch { display: flex; justify-content: center; gap: 6px; padding: 5px; background: #edf4f8; border: 1px solid #ccdae5; border-radius: 14px; width: min(100%, 370px); margin: 0 auto 24px; }
.intent-switch button { flex: 1; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #17435f; font: inherit; font-weight: 700; cursor: pointer; }
.intent-switch button[aria-pressed="true"] { background: #015581; color: #fff; box-shadow: 0 3px 10px #15344d20; }
.intent-switch button:hover { border-color: #015581; }
.intent-switch button:active { transform: scale(.98); }
.buyer-card { text-align: left; }
.buyer-step, .buyer-fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.buyer-step:not([hidden]) { animation: buyer-appear 240ms ease both; }
@keyframes buyer-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.buyer-fieldset { margin: 22px 0; }
.buyer-fieldset legend { font-size: 1rem; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.buyer-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 22px; }
.buyer-option { position: relative; cursor: pointer; flex: 1 1 auto; }
.buyer-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.buyer-option span { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid #788fa2; border-radius: 10px; background: #fff; font-weight: 600; font-size: .95rem; text-align: center; transition: background-color 220ms, border-color 220ms, transform 220ms; }
.buyer-option input:checked + span { color: #01456a; background: #eaf4fc; border-color: #015581; box-shadow: inset 0 0 0 1px #015581; }
.buyer-option input:focus-visible + span { outline: 3px solid #015581; outline-offset: 4px; }
.buyer-option:active span { transform: scale(.98); }
.buyer-check { display: flex; align-items: flex-start; gap: 12px; line-height: 1.65; cursor: pointer; margin: 20px 0; }
.buyer-check input { accent-color: #015581; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; }
.buyer-consent { font-size: .88rem; }
.buyer-locality-row { display: flex; gap: 8px; }
.buyer-locality-row input { flex: 1; width: 0; }
.buyer-locality-row .btn { padding-inline: 12px; }
.buyer-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0; list-style: none; }
.buyer-tags li { display: flex; align-items: center; background: #eaf4fc; border: 1px solid #b9cddb; border-radius: 24px; padding-left: 14px; max-width: 100%; overflow-wrap: anywhere; }
.buyer-tags button { border: 0; background: transparent; color: #015581; min-width: 44px; min-height: 44px; font-size: 1.2rem; border-radius: 50%; cursor: pointer; }
.buyer-card .step-nav-buttons { margin-top: 26px; }
.buyer-card .btn-primary { flex: 1; }
.buyer-card .step-title:focus { outline: none; }
.buyer-card .buyer-contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.buyer-card .btn-link-skip { margin: 12px 0; }
.buyer-card [aria-invalid="true"] { border-color: #b42318; }
.buyer-card .buyer-privacy { text-decoration: underline; min-height: 44px; }
body.buyer-active .hero-subtitle { max-width: 650px; margin-inline: auto; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7; }
@media (max-width: 639px) {
 .intent-switch { margin-bottom: 20px; }
 .buyer-options { gap: 8px; }
 .buyer-option span { font-size: .87rem; padding-inline: 10px; }
 .buyer-card .step-name { font-size: .8rem; }
 .buyer-card .step-nav-buttons .btn { min-width: 0; }
 .buyer-card .step-nav-buttons .btn-primary { flex: 1; }
}
@media (hover: hover) and (pointer: fine) { .buyer-option:hover span { border-color: #015581; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .buyer-step, .buyer-option span, .intent-switch button { animation: none !important; transition: none !important; transform: none !important; } }
#buyer-panel { scroll-margin-top: 100px; }
#buyer-locality-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 359px) { .buyer-card .step-badge { font-size: .72rem; white-space: nowrap; } .buyer-card .step-indicator { gap: 8px; } }
