:root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--brand-ink);
  background: var(--brand-surface);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button { border: 0; background: none; padding: 0; }
a { color: var(--brand-action); }
button, a, select, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand-action); outline-offset: 4px; }
h1, h2, h3, p, ol, ul, dl { margin: 0; }
.icon { flex-shrink: 0; vertical-align: middle; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 12px 20px; background: var(--brand-white); }
.wrap { width: min(1256px, calc(100% - 96px)); margin-inline: auto; }
.facts, .facts span, .breadcrumbs, .crumb-home, .btn, .rail-head, .summary-heading, .actions, .info-note, .dialog-header, .step-caption { display: flex; align-items: center; }
.crumb-home:hover { color: var(--brand-action); }
.breadcrumbs { min-height: 52px; gap: 10px; color: var(--brand-muted); font-size: 12px; font-weight: 500; }
.crumb-home { gap: 6px; min-height: 36px; color: var(--brand-muted); text-decoration: none; flex-shrink: 0; }
.crumb-home:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; background: var(--brand-tint); }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 52%; height: 100%; object-fit: cover; object-position: 50% 64%; mask-image: linear-gradient(90deg,transparent 0%,currentColor 26%); }
.hero-art[src$="hero-voiture.webp"] { filter: saturate(.55); mix-blend-mode: multiply; }
.hero-text { padding: clamp(30px,3.2vw,48px); width: 56%; }
h1 { font-family: "Spectral", Georgia, serif; font-weight: 400; font-size: clamp(40px,4.25vw,64px); line-height: .98; letter-spacing: -.054em; color: var(--brand-ink); text-wrap: balance; }
#hero-desc { color: var(--brand-muted); max-width: 49ch; font-size: 16px; line-height: 1.55; margin-top: 14px; }
.facts { gap: 16px; margin-top: 20px; color: var(--brand-ink); }
.facts span { font-size: 13px; line-height: 1.3; font-weight: 650; gap: 7px; }
.facts span + span { border-left: 1px solid var(--brand-line); padding-left: 16px; }
.workflow { display: grid; grid-template-columns: minmax(238px,.36fr) minmax(0,1fr); align-items: start; gap: clamp(20px,2.2vw,34px); margin-top: 28px; margin-bottom: 48px; }
.rail, .panel { min-width: 0; }
.steps-box, .panel { border: 1px solid var(--brand-line); background: var(--brand-white); border-radius: 14px; box-shadow: 0 2px 3px color-mix(in srgb, var(--brand-ink) 3%, transparent); }
.steps-box { padding: 23px 15px 16px; }
.rail-head { justify-content: space-between; margin: 0 8px 14px; }
.rail-head h2 { font-size: 18px; letter-spacing: -.55px; font-weight: 700; }
#counter { font-size: 12px; font-weight: 650; color: var(--brand-muted); }
.steps { list-style: none; padding: 0; }
.steps li { position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; width: 1px; background: var(--brand-line); left: 29px; top: 39px; height: calc(100% - 19px); pointer-events: none; z-index: 1; }
.steps button { width: 100%; position: relative; display: flex; align-items: center; text-align: left; min-height: 66px; padding: 9px 13px; border-radius: 9px; gap: 12px; }
.steps button:hover { background: var(--brand-surface); }
.steps .active button { background: var(--brand-tint); }
.step-num { border: 1px solid var(--brand-line); background: var(--brand-white); border-radius: 50%; flex: 0 0 33px; height: 33px; display: grid; place-items: center; position: relative; z-index: 2; font-size: 14px; font-weight: 650; color: var(--brand-muted); }
.active .step-num { background: var(--brand-action); color: var(--brand-white); border-color: var(--brand-action); }
.done .step-num { background: var(--brand-tint); color: var(--brand-action); border-color: var(--brand-line); }
.step-copy { display: grid; gap: 1px; }
.step-copy strong { font-size: 14px; color: var(--brand-ink); font-weight: 630; }
.active .step-copy strong { color: var(--brand-action); }
.step-copy small { color: var(--brand-muted); font-size: 12px; }
.side-help { display: flex; text-align: left; align-items: center; width: 100%; gap: 12px; padding: 18px 12px; }
.help-icon { border-radius: 10px; background: var(--brand-tint); color: var(--brand-action); width: 37px; height: 37px; display: inline-grid; place-items: center; flex-shrink: 0; }
.side-help strong, .side-help small { display: block; }
.side-help strong { font-size: 14px; font-weight: 650; }
.side-help small { color: var(--brand-muted); font-size: 13px; }
.side-help > .icon { margin-left: auto; color: var(--brand-muted); }
.side-help:hover small { color: var(--brand-action); text-decoration: underline; }
.panel { padding: clamp(24px,2.5vw,38px); scroll-margin-top: 16px; }
.panel:focus:not(:focus-visible), #panel-title:focus { outline: 0; }
.step-caption { gap: 8px; font-size: 12px; font-weight: 700; color: var(--brand-action); margin-bottom: 6px; }
.step-caption span { width: 17px; height: 2px; background: var(--brand-action); }
#panel-title, dialog h2 { font-size: clamp(26px,2.2vw,34px); line-height: 1.18; font-weight: 690; letter-spacing: -.045em; }
.intro { margin-top: 7px; color: var(--brand-muted); font-size: 15px; line-height: 1.55; }
.document-box { display: flex; gap: 24px; align-items: center; margin-top: 23px; padding: 22px 24px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 10px; }
.document-drawing { position: relative; flex: 0 0 95px; height: 98px; display: grid; place-items: center; background: var(--brand-line); border-radius: 12px; }
.sheet-front,.sheet-back { position: absolute; width: 52px; height: 66px; border-radius: 5px; }
.sheet-back { transform: translate(-7px,-1px) rotate(-12deg); background: var(--brand-accent); border: 1px solid var(--brand-accent); }
.sheet-front { background: var(--brand-white); border: 1.25px solid var(--brand-accent); transform: translate(4px,1px) rotate(7deg); box-shadow: 1px 3px 0 color-mix(in srgb, var(--brand-action) 15%, transparent); color: var(--brand-action); padding: 7px; }
.sheet-rule { width: 25px; height: 3px; background: var(--brand-line); margin-bottom: 2px; }
.sheet-front i { display: block; height: 2px; margin: 2px 0 0; background: var(--brand-line); width: 30px; }
.sheet-front i:last-child { width: 21px; margin-top: 4px; }
.doc-copy { min-width: 0; }
.doc-copy h3,.summary-heading h3,.result-doc h3 { font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
.requirements { display: grid; gap: 7px; list-style: none; padding: 0; margin-top: 10px; }
.requirements li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--brand-ink); }
.requirements .icon { color: var(--brand-action); }
.prep-actions { margin-block: 21px; }
.btn { justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 7px; font-size: 14px; font-weight: 650; line-height: 1.4; transition: background-color .15s ease; }
.primary { background: var(--brand-action); color: var(--brand-white); box-shadow: 0 2px 2px color-mix(in srgb, var(--brand-dark) 7%, transparent); }
.primary:hover { background: var(--brand-hover); }
.secondary { background: var(--brand-white); color: var(--brand-action); border: 1px solid var(--brand-line); }
.secondary:hover { background: var(--brand-tint); }
.faq { border-top: 1px solid var(--brand-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0 0; color: var(--brand-action); font-size: 14px; font-weight: 620; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq p { padding-top: 10px; color: var(--brand-muted); font-size: 14px; line-height: 1.6; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset + fieldset { margin-top: 25px; padding-top: 8px; }
legend { padding: 0; width: 100%; color: var(--brand-ink); font-size: 18px; letter-spacing: -.45px; font-weight: 690; margin-bottom: 13px; }
.link-button { color: var(--brand-action); min-height: 44px; padding: 4px 0; background: none; font-size: 13px; }
.link-button:hover { text-decoration: underline; }
.actions { justify-content: space-between; gap: 12px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--brand-line); }
.info-note { gap: 8px; color: var(--brand-action); background: var(--brand-tint); border-radius: 7px; padding: 12px; font-size: 14px; margin-top: 18px; }
.summary-heading { justify-content: space-between; gap: 8px; margin-top: 21px; }
.result-doc { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 20px; background: var(--brand-tint); border-radius: 9px; }
.result-doc p { margin-top: 4px; font-size: 14px; color: var(--brand-muted); }
dialog { width: min(490px,calc(100% - 32px)); max-height: 85dvh; padding: 27px; color: var(--brand-ink); border: 1px solid var(--brand-line); border-radius: 15px; box-shadow: 0 20px 70px color-mix(in srgb, var(--brand-dark) 21%, transparent); }
dialog::backdrop { background: color-mix(in srgb, var(--brand-dark) 40%, transparent); }
.dialog-header { justify-content: space-between; margin-bottom: 12px; }
.icon-btn { min-width: 36px; min-height: 36px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn:hover { background: var(--brand-tint); }
dialog h2 { font-size: 25px; }
dialog h2 + p { margin-block: 8px 20px; font-size: 15px; color: var(--brand-muted); }
dialog .faq { padding-bottom: 15px; }
@media (min-width: 1500px) { .hero-text { padding-block: 45px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero-text { width: 60%; }
  .hero-art { width: 49%; object-position: 65% 58%; }
  .workflow { grid-template-columns: 232px minmax(0,1fr); gap: 18px; }
  .document-box { padding: 18px; gap: 16px; }
  .document-drawing { flex-basis: 78px; height: 84px; }
  .steps-box { padding-inline: 10px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .breadcrumbs { min-height: 42px; font-size: 11px; gap: 6px; }
  .hero-text { width: 61%; padding: 24px; }
  h1 { font-size: clamp(32px,5.5vw,43px); }
  #hero-desc { font-size: 14px; }
  .facts { flex-wrap: wrap; gap: 9px; margin-top: 14px; }
  .facts span { font-size: 12px; }
  .facts span + span { padding-left: 9px; }
  .workflow { display: flex; flex-direction: column; gap: 12px; margin-block: 16px 30px; }
  .rail,.panel { width: 100%; }
  .steps-box { padding: 12px 8px 6px; }
  .rail-head { margin: 0 7px 7px; }
  .rail-head h2 { font-size: 15px; }
  .steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .steps li:not(:last-child)::before { top: 20px; left: calc(50% + 13px); width: calc(100% - 26px); height: 1px; }
  .steps button { flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; gap: 4px; min-height: 58px; padding: 6px 1px; }
  .steps .active button { background: transparent; }
  .step-num { flex: 0 0 28px; width: 28px; height: 28px; font-size: 12px; }
  .step-copy strong { font-size: 12px; line-height: 1.2; }
  .step-copy small { display: none; }
  .side-help { width: auto; min-height: 44px; margin: 4px 0 0 auto; padding: 5px 2px; gap: 8px; }
  .side-help .help-icon { width: 27px; height: 27px; border-radius: 7px; }
  .side-help .help-icon .icon { width: 16px; height: 16px; }
  .side-help small { display: none; }
  .side-help strong { color: var(--brand-action); font-size: 13px; }
  .panel { padding: 23px; }
}
@media (max-width: 540px) {
  .hero { display: flex; flex-direction: column; border-radius: 13px; }
  .hero-text { width: 100%; padding: 23px 22px 0; }
  h1 { max-width: 14em; font-size: clamp(32px,8.75vw,43px); line-height: 1.02; text-wrap: initial; }
  #hero-desc { margin-top: 9px; line-height: 1.45; }
  .hero-art { position: relative; width: 100%; height: clamp(125px,34vw,180px); order: 2; object-position: 52% 65%; mask-image: linear-gradient(180deg, transparent 0%,currentColor 20%); }
  .document-box { gap: 13px; padding: 14px; align-items: flex-start; }
  .document-drawing { flex-basis: 43px; height: 51px; border-radius: 7px; }
  .sheet-back,.sheet-front { width: 26px; height: 36px; border-radius: 3px; }
  .sheet-front { padding: 3px; transform: translate(2px,1px) rotate(7deg); }
  .sheet-back { transform: translate(-3px,0) rotate(-11deg); }
  .sheet-front .icon { width: 17px; height: 17px; display: block; }
  .sheet-rule { width: 16px; height: 2px; }
  .sheet-front i { width: 15px; height: 1px; }
  .sheet-front i:last-child { width: 12px; margin-top: 2px; }
  .doc-copy h3 { font-size: 15px; }
  .requirements { gap: 8px; }
  .requirements li { font-size: 13px; gap: 6px; }
  .requirements .icon { width: 15px; height: 17px; }
  .panel { padding: 19px; }
  .prep-actions .btn { width: 100%; }
  .actions { flex-wrap: wrap; }
  .actions .btn { flex-grow: 1; }
  .result-doc { gap: 12px; padding: 14px; }
}
@media (max-width: 359px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 4px; }
  .steps li:not(:last-child)::before { display: none; }
  .steps button { flex-direction: row; justify-content: flex-start; gap: 7px; padding: 5px 6px; min-height: 44px; text-align: left; }
  .steps .active button { background: var(--brand-tint); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; } }
.btn { text-decoration: none; }
.prep-actions, .official-info, .privacy-note { display: flex; align-items: center; gap: 10px; }
.prep-actions { flex-wrap: wrap; }
.official-info { display: inline-flex; min-height: 44px; font-size: 14px; font-weight: 600; text-underline-offset: .18em; }
#vehicle-form { margin-top: 24px; }
.profile-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.profile-choice, .task-choice { display: flex; align-items: flex-start; gap: 10px; padding: 14px; cursor: pointer; }
.profile-choice { border: 1px solid var(--brand-line); border-radius: 8px; }
.profile-choice:has(input:checked) { border-color: var(--brand-action); background: var(--brand-tint); }
.profile-choice input, .task-choice input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--brand-action); }
.profile-choice strong, .task-choice strong { display: block; font-size: 15px; }
.profile-choice small, .task-choice small { display: block; color: var(--brand-muted); font-size: 14px; margin-top: 3px; }
.form-error { color: var(--brand-error); margin-top: 8px; font-size: 14px; }
.task-list { margin-top: 8px; border-block: 1px solid var(--brand-line); }
.task-choice { padding-inline: 0; }
.task-choice + .task-choice { border-top: 1px solid var(--brand-line); }
.privacy-note, .completion { margin-top: 15px; color: var(--brand-muted); font-size: 14px; }
.summary-heading { flex-wrap: wrap; }
.sheet-offer { border-top: 1px solid var(--brand-line); padding-top: 18px; }
.sheet-offer p { margin: 4px 0 14px; color: var(--brand-muted); font-size: 14px; }
@media (max-width: 870px) {
  .profile-choices { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .prep-actions > .official-info { justify-content: center; width: 100%; }
}
@media (max-width: 540px) {
  .facts span + span { padding-left: 0; border: 0; }
}
.other-offers { margin: 10px 0 0; padding-left: 20px; }
.other-offers li { margin-block: 3px; }
.other-offers a { display: inline-block; padding-block: 5px; }
.scope-note,.order-timing { color: var(--brand-muted); font-size: 15px; line-height: 1.55; margin-top: 16px; }
#order-form { margin-top: 26px; }
.order-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.order-choices .profile-choice { align-items: center; padding: 11px 13px; }
.order-choices .profile-choice strong { font-size: 14px; }
.order-field { display: grid; gap: 5px; margin-top: 22px; }
.order-field label { font-size: 15px; font-weight: 650; }
.order-field input,.order-field textarea { width: 100%; border: 1px solid color-mix(in srgb, var(--brand-muted) 75%, var(--brand-white)); border-radius: 6px; padding: 10px 12px; color: var(--brand-ink); background: var(--brand-white); font: inherit; }
.order-field input { min-height: 46px; }
.order-field textarea { resize: vertical; min-height: 76px; }
.order-field small { color: var(--brand-muted); font-size: 13px; }
.order-field [aria-invalid=true],.profile-choice:has([aria-invalid=true]) { border-color: var(--brand-error); background: var(--brand-error-tint); }
.consent-line input[aria-invalid=true] { outline: 1px solid var(--brand-error); outline-offset: 1px; }
.consent-line input[aria-invalid=true]:focus-visible { outline: 3px solid var(--brand-action); outline-offset: 4px; }
.order-privacy { margin-top: 16px; font-size: 14px; color: var(--brand-muted); }
.order-summary { margin-top: 12px; }
.order-summary > div { display: grid; grid-template-columns: minmax(135px, .8fr) minmax(0,1.2fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--brand-line); font-size: 14px; }
.order-summary dt { color: var(--brand-muted); }
.order-summary dd { margin: 0; color: var(--brand-ink); font-weight: 650; text-align: right; word-break: break-word; white-space: pre-wrap; }
.order-total { display: flex; justify-content: space-between; align-items: center; border-block: 1px solid var(--brand-line); padding: 12px 0; }
.order-total strong:last-child { font-size: 24px; }
.order-consents { display: grid; gap: 12px; margin-top: 18px; }
.consent-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.consent-line input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--brand-action); }
.consent-line label,.consent-line input,.consent-line[for],label.consent-line { cursor: pointer; }
.order-notice { margin-top: 20px; padding: 14px; background: var(--brand-tint); border-radius: 7px; }
.order-notice p { margin: 0 0 10px; font-size: 14px; }
.order-notice .official-info { margin-left: 8px; }
.btn:disabled { opacity: .72; cursor: wait; }
.panel:has(#terms:not(:checked)) [data-action="pay"]:disabled {
  background: var(--brand-tint); color: var(--brand-muted); box-shadow: none; opacity: 1; cursor: not-allowed;
}
.steps button:disabled { cursor: default; }
@media (max-width: 540px) {
  .order-summary > div { grid-template-columns: 1fr; gap: 3px; }
  .order-summary dd { text-align: left; }
  .order-choices { flex-direction: column; }
  .actions .btn { flex: 1 1 auto; }
}
