.akef-wrap,
.akef-wrap * { box-sizing: border-box; }

.akef-wrap {
  --akef-orange: #f39223;
  --akef-orange-dark: #c96800;
  --akef-dark: #202020;
  --akef-text: #5f5a55;
  --akef-border: #e6d7c7;
  --akef-pale: #fffaf5;
  padding: clamp(46px, 7vw, 90px) 18px;
  background: #fffaf5;
  color: var(--akef-dark);
  font-family: "Montserrat", Arial, sans-serif;
}

.akef-shell { width: min(1120px, 100%); margin: 0 auto; }
.akef-header { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.akef-eyebrow { margin-bottom: 12px; color: var(--akef-orange-dark); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.akef-header h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 600; text-transform: uppercase; }
.akef-header p { margin: 0; color: var(--akef-text); font-size: 16px; line-height: 1.7; }

.akef-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.akef-progress-item { display:flex; align-items:center; gap:10px; min-height:62px; padding:12px 14px; border:1px solid var(--akef-border); background:#fff; color:#777; }
.akef-progress-item span { display:grid; width:32px; height:32px; place-items:center; background:#f0ebe5; color:#555; font-size:12px; font-weight:700; }
.akef-progress-item strong { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.03em; }
.akef-progress-item.is-active { border-color:var(--akef-orange); color:var(--akef-dark); }
.akef-progress-item.is-active span, .akef-progress-item.is-done span { background:var(--akef-orange); color:#fff; }

.akef-form, .akef-success { padding: clamp(24px, 5vw, 54px); border:1px solid var(--akef-border); background:#fff; box-shadow:0 18px 48px rgba(70,42,15,.07); }
.akef-step[hidden], .akef-company-field[hidden], .akef-inline-error[hidden], .akef-success[hidden] { display:none !important; }
.akef-step-head { margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid #eee5da; }
.akef-step-kicker { margin-bottom:8px; color:var(--akef-orange-dark); font-size:12px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
.akef-step-head h2 { margin:0 0 8px; font-size:clamp(25px,4vw,38px); font-weight:600; text-transform:uppercase; }
.akef-step-head p { margin:0; color:var(--akef-text); line-height:1.6; }

.akef-choice-grid { display:grid; gap:12px; }
.akef-choice-grid--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.akef-choice-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.akef-choice { display:block; cursor:pointer; }
.akef-choice input { position:absolute; opacity:0; pointer-events:none; }
.akef-choice span { display:flex; min-height:112px; flex-direction:column; justify-content:center; gap:7px; padding:20px; border:1px solid var(--akef-border); background:#fff; transition:.2s ease; }
.akef-choice span strong { font-size:14px; font-weight:650; text-transform:uppercase; }
.akef-choice span small { color:var(--akef-text); font-size:13px; line-height:1.55; }
.akef-choice input:checked + span { border-color:var(--akef-orange); box-shadow:inset 5px 0 0 var(--akef-orange); background:var(--akef-pale); }
.akef-choice input:focus-visible + span { outline:2px solid var(--akef-dark); outline-offset:2px; }
.akef-choice--compact span { min-height:78px; padding:16px; }

.akef-zone-fieldset { margin:26px 0 0; padding:0; border:0; }
.akef-zone-fieldset legend, .akef-field label { display:block; margin-bottom:8px; color:var(--akef-dark); font-size:13px; font-weight:650; text-transform:uppercase; letter-spacing:.03em; }
.akef-zone-fieldset legend span, .akef-field label span { color:var(--akef-orange-dark); }

.akef-fields { display:grid; gap:16px; }
.akef-fields--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.akef-field { margin-top:16px; }
.akef-field input[type="text"], .akef-field input[type="tel"], .akef-field input[type="email"], .akef-field input[type="file"], .akef-field select, .akef-field textarea {
  width:100%; min-height:52px; padding:13px 14px; border:1px solid #d8cec3; border-radius:0; background:#fff; color:var(--akef-dark); font:inherit; box-shadow:none; outline:none;
}
.akef-field textarea { resize:vertical; }
.akef-field input:focus, .akef-field select:focus, .akef-field textarea:focus { border-color:var(--akef-orange); box-shadow:inset 4px 0 0 var(--akef-orange); }
.akef-field small { display:block; margin-top:7px; color:#777; font-size:12px; line-height:1.5; }

.akef-consent { display:flex; align-items:flex-start; gap:10px; margin-top:22px; padding:16px; border:1px solid var(--akef-border); background:#fffaf5; font-size:13px; line-height:1.55; }
.akef-consent input { margin-top:3px; }
.akef-consent a { color:var(--akef-orange-dark); text-decoration:underline; }

.akef-actions { display:flex; justify-content:space-between; gap:12px; margin-top:30px; }
.akef-actions--end { justify-content:flex-end; }
.akef-btn { display:inline-flex; min-height:50px; align-items:center; justify-content:center; gap:10px; padding:0 22px; border:1px solid var(--akef-orange); border-radius:0; background:var(--akef-orange); color:#fff; font-family:"Montserrat",Arial,sans-serif; font-size:12px; font-weight:700; text-transform:uppercase; cursor:pointer; transition:.2s ease; }
.akef-btn:hover { transform:translateY(-2px); background:var(--akef-orange-dark); border-color:var(--akef-orange-dark); }
.akef-btn--ghost { border-color:#d9cbbc; background:#fff; color:var(--akef-dark); }
.akef-btn--ghost:hover { background:var(--akef-dark); border-color:var(--akef-dark); color:#fff; }
.akef-btn:disabled { opacity:.6; cursor:not-allowed; transform:none; }

.akef-inline-error, .akef-submit-status.is-error { margin-top:12px; padding:12px 14px; border-left:4px solid #b42318; background:#fff2f0; color:#8f1d13; font-size:13px; }
.akef-hp { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.akef-success { text-align:center; }
.akef-success-mark { display:grid; width:64px; height:64px; margin:0 auto 20px; place-items:center; background:var(--akef-orange); color:#fff; font-size:30px; font-weight:700; }
.akef-success h2 { margin:0 0 12px; font-size:30px; text-transform:uppercase; }
.akef-success p { max-width:620px; margin:0 auto; color:var(--akef-text); line-height:1.7; }

@media (max-width: 820px) {
  .akef-progress { grid-template-columns:repeat(2,1fr); }
  .akef-choice-grid--3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .akef-wrap { padding-inline:12px; }
  .akef-header { text-align:left; }
  .akef-progress { grid-template-columns:1fr; }
  .akef-progress-item { min-height:48px; }
  .akef-choice-grid--2, .akef-choice-grid--3, .akef-fields--2 { grid-template-columns:1fr; }
  .akef-form, .akef-success { padding:22px 16px; }
  .akef-actions { flex-direction:column-reverse; }
  .akef-actions--end { flex-direction:column; }
  .akef-btn { width:100%; }
}

/* v1.1 — groupes conditionnels selon la nature de la demande */
.akef-conditional[hidden] { display:none !important; }
.akef-context-note { margin:18px 0 0; padding:14px 16px; border-left:4px solid var(--akef-orange); background:var(--akef-pale); color:var(--akef-text); font-size:13px; line-height:1.55; }
