/* Formulaire Extracta — styles isolés */
.request-page { --form-orange: #ef5724; display: grid; grid-template-columns: minmax(290px, 34%) minmax(0, 1fr); background: #0b0b0b; min-height: calc(100svh - 88px); }
.request-page [hidden] { display: none !important; }
.request-aside { display: flex; flex-direction: column; padding: 32px clamp(24px, 3.5vw, 60px); border-right: 1px solid #2b2824; background: #11110f; }
.request-back { color: #aca79e; font-size: 12px; padding: 10px 0; width: fit-content; }
.request-intro { margin-top: 40px; }
.request-intro h1 { margin: 20px 0; font: 600 clamp(40px, 4vw, 64px)/.98 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: -.015em; }
.request-intro h1 span { color: var(--form-orange); }
.request-intro p { max-width: 290px; color: #aaa59c; font: 400 14px/1.7 "Inter", sans-serif; }
.request-trail { list-style: none; padding: 0; margin: 32px 0; counter-reset: steps; }
.request-trail li { counter-increment: steps; display: flex; align-items: center; gap: 14px; padding: 10px 0; color: #aaa59c; font-size: 12px; }
.request-trail li::before { content: "0" counter(steps); font-family: "Barlow Condensed", sans-serif; color: #777168; font-size: 17px; min-width: 20px; }
.request-trail li.is-current { color: #f3f0e9; font-weight: 600; }
.request-trail li.is-current::before, .request-trail li.is-done::before { color: var(--form-orange); }
.request-trail li.is-done::before { content: "✓"; }
.request-call { margin-top: auto; padding-top: 24px; border-top: 1px solid #302d27; }
.request-call > span, .request-call small { display: block; color: #aaa59c; font-size: 11px; }
.request-call a { display: block; padding: 12px 0; font-size: 19px; font-weight: 500; }
.request-call a span { color: var(--form-orange); margin-left: 12px; }
.request-main { padding: 34px clamp(24px, 4.5vw, 80px) 48px; min-width: 0; }
.request-progress { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; font-size: 10px; letter-spacing: .05em; color: #aaa59c; }
.request-progress > span:first-child { color: var(--form-orange); }
.request-progress progress { appearance: none; width: 100%; height: 2px; border: 0; background: #302d28; color: var(--form-orange); }
.request-progress progress::-webkit-progress-bar { background: #302d28; }
.request-progress progress::-webkit-progress-value { background: var(--form-orange); transition: width .25s ease; }
.request-progress progress::-moz-progress-bar { background: var(--form-orange); }
.request-step { min-width: 0; border: 0; padding: 0; margin: 0 0 40px; }
.request-step legend { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--form-orange); margin-bottom: 14px; }
.is-enhanced .request-step legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.is-enhanced .request-step { animation: step-enter .22s ease-out; }
.request-step h2, .request-success h2 { margin: 0 0 22px; font: 600 clamp(38px, 4.2vw, 64px)/1.03 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.request-step h2:focus, .request-success:focus { outline: none; }
.request-step h2 em { color: var(--form-orange); font-style: normal; }
.request-help { margin: 0 0 28px; color: #b1aba1; font-size: 14px; line-height: 1.65; max-width: 620px; }
.request-choices { display: grid; grid-template-columns: 1fr; gap: 10px; }
.request-choice { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 16px 20px; border: 1px solid #403b33; cursor: pointer; background: #131310; transition: border-color .15s, background .15s; }
.request-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.request-choice:has(input:checked) { border-color: var(--form-orange); background: #251a13; }
.request-choice:has(input:focus-visible) { outline: 2px solid #f3f0e9; outline-offset: 3px; }
.request-choice:hover { border-color: #a66a45; background: #1c1914; }
.request-choice strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.4; }
.request-choice small { display: block; margin-top: 5px; color: #a9a297; font-size: 11px; line-height: 1.45; }
.choice-letter { flex: 0 0 26px; display: grid; place-items: center; height: 26px; border: 1px solid #565044; font-size: 11px; color: #b9b1a4; }
.choice-check { margin-left: auto; color: var(--form-orange); opacity: 0; }
.request-choice:has(input:checked) .choice-check { opacity: 1; }
.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
.compact .request-choice { min-height: 66px; padding: 14px; }
.compact .request-choice strong { font-size: 13px; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; margin-top: 26px; }
.request-fields label, .request-field, .request-label { display: block; color: #ddd7cc; font-size: 12px; line-height: 1.5; }
.request-field { margin-top: 24px; }
.request-label { margin-bottom: 12px; }
.request-fields small, .request-field small { color: #a9a297; font-weight: 400; font-size: 10px; margin-left: 6px; }
.request-page input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=hidden]), .request-page textarea, .request-page select { width: 100%; border: 0; border-bottom: 1px solid #575043; border-radius: 0; background: #141410; padding: 14px 12px; margin-top: 8px; color: #f3f0e9; font: 400 16px/1.5 "Inter", sans-serif; outline: none; }
.request-page input::placeholder, .request-page textarea::placeholder { color: #8e887d; opacity: 1; }
.request-page input:focus-visible, .request-page textarea:focus-visible, .request-page select:focus-visible { border-color: var(--form-orange) !important; outline: 1px solid var(--form-orange) !important; outline-offset: 2px; }
.request-page textarea { resize: vertical; min-height: 150px; }
.request-page select { color-scheme: dark; }
.request-counter { display: block; text-align: right; font-size: 10px; color: #aaa399; margin-top: 8px; }
.request-branch { margin-bottom: 22px; }
.field-error { display: block; color: #ffac89; font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.field-error:empty { display: none; }
.request-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 240px; padding: 28px; border: 1px dashed #73604a; background: #161510; text-align: center; cursor: pointer; }
.request-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.request-drop:has(input:focus-visible), .request-drop.is-dragging { outline: 2px solid var(--form-orange); outline-offset: 4px; background: #271b13; }
.request-drop > span:not(.upload-symbol) { font-size: 12px; color: #aaa399; }
.request-drop small { font-size: 11px; color: #aaa399; line-height: 1.7; }
.upload-symbol { color: var(--form-orange); font-size: 36px; font-weight: 300; }
.request-drop strong { font-weight: 500; font-size: 16px; }
.photo-list { list-style: none; padding: 0; margin: 20px 0 0; }
.photo-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #373128; font-size: 12px; }
.photo-list img { width: 52px; height: 52px; object-fit: cover; flex-shrink: 0; }
.photo-list span { min-width: 0; overflow-wrap: anywhere; }
.photo-list button, .summary-row button { border: 0; background: none; color: var(--form-orange); font: inherit; padding: 12px 0 12px 10px; cursor: pointer; margin-left: auto; }
.summary-row { display: grid; grid-template-columns: 1fr auto; padding: 18px 0; border-bottom: 1px solid #383229; gap: 8px 14px; }
.summary-row strong { color: #aaa399; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.summary-row p { grid-column: 1; margin: 0; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-row button { grid-row: 1 / 3; grid-column: 2; align-self: start; font-size: 11px; }
.request-confirm { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.request-confirm input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--form-orange); margin-top: 3px; }
.request-privacy { font-size: 11px; line-height: 1.7; color: #aaa399; margin-top: 18px; }
.request-privacy a { text-decoration: underline; }
.request-actions { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.request-actions-spacer { flex: 1; }
.request-primary { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 16px 24px; border: 1px solid var(--form-orange); background: var(--form-orange); color: #0b0b0b; font: 600 13px/1.4 "Inter", sans-serif; min-height: 52px; cursor: pointer; text-decoration: none; }
.request-primary:hover { background: #ff7648; border-color: #ff7648; }
.request-primary:disabled { opacity: .65; cursor: wait; }
.request-previous { border: 0; background: none; color: #b9b1a4; font: 400 12px/1.4 "Inter", sans-serif; min-height: 48px; padding: 8px 0; cursor: pointer; }
.request-keyboard { text-align: right; color: #938b7e; font-size: 10px; }
.request-keyboard kbd { font: inherit; color: #c7bfb2; }
.request-status { font-size: 12px; color: #c7bfb2; line-height: 1.6; }
.request-errors { border-left: 2px solid #ffac89; padding: 12px 16px; margin: 0 0 24px; background: #261a13; color: #ffd2bd; font-size: 13px; line-height: 1.6; }
.request-errors p { margin: 4px 0; }
.request-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.request-success { padding-top: 48px; }
.success-symbol { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--form-orange); color: var(--form-orange); font-size: 28px; margin-bottom: 32px; }
.request-success h2 { margin-top: 20px; }
.request-success p { font-size: 15px; line-height: 1.7; color: #b9b1a4; max-width: 540px; }
.request-reference { padding: 18px 0; border-top: 1px solid #383229; border-bottom: 1px solid #383229; margin: 24px 0; }
.request-reference strong { color: #f3f0e9; }
.request-success .request-primary { margin-top: 24px; }
@keyframes step-enter { from {opacity:0;transform:translateY(8px)} to {opacity:1;transform:translateY(0)} }
@media (max-width: 1050px) { .request-aside { padding-inline: 24px; } .request-main { padding-inline: 30px; } .request-progress > span:nth-child(2) { display: none; } }
@media (max-width: 850px) {
 .request-page { grid-template-columns: 1fr; }
 .request-aside { padding: 16px 22px; border-right: 0; border-bottom: 1px solid #2b2824; }
 .request-intro, .request-trail { display: none; }
 .request-call { margin: 0; padding-top: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
 .request-call a { font-size: 14px; padding: 6px 0; }
 .request-call small { display: none; }
 .request-main { padding: 24px 22px 36px; }
 .request-progress { margin-bottom: 28px; scroll-margin-top: 16px; }
 .request-step h2 { font-size: clamp(36px, 8.5vw, 54px); }
 .request-fields { gap: 20px; }
 .request-success { padding-top: 16px; }
}
@media (max-width: 480px) {
 .request-fields { grid-template-columns: 1fr; }
 .request-choice { padding: 14px; gap: 12px; }
 .request-choice strong { font-size: 14px; }
 .compact .request-choice strong { font-size: 12px; }
 .request-primary { padding: 15px 18px; gap: 16px; font-size: 12px; }
 .request-keyboard { display: none; }
 .request-actions { position: sticky; bottom: 0; background: #0b0b0b; padding: 14px 0; border-top: 1px solid #302d27; }
}
@media (prefers-reduced-motion: reduce) { .is-enhanced .request-step { animation: none; } .request-page * { transition: none !important; } }
