/* ===== Page Cession d'entreprise : questionnaire d'orientation ===== */
.quiz {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.quiz-progress { font-size: 0.9rem; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.quiz-bar { height: 6px; background: var(--cream); border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
.quiz-bar span { display: block; height: 100%; background: var(--gold); transition: width 0.25s ease; }
.quiz fieldset { border: 0; padding: 0; margin: 0; }
.quiz legend { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 18px; padding: 0; }
.quiz legend:focus { outline: none; }
.quiz-option { display: block; margin: 0 0 10px; }
.quiz-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-option span {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.quiz-option span:hover { border-color: var(--gold); background: var(--cream); }
.quiz-option input:checked + span { border-color: var(--teal); background: var(--cream); font-weight: 600; box-shadow: inset 4px 0 0 var(--gold); }
.quiz-option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.quiz-actions button, .quiz-result-actions button, .quiz-result-actions a { cursor: pointer; }
.quiz-actions button[disabled] { opacity: 0.45; cursor: not-allowed; }
.quiz-note { font-size: 0.85rem; color: #4d5565; margin-top: 18px; }
.quiz-result h3 { font-size: 1.4rem; margin-bottom: 6px; }
.quiz-result h3:focus { outline: none; }
.quiz-alert { background: #fff6e0; border-left: 4px solid #b3721a; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 14px; }
.quiz-piste { border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 20px; margin: 0 0 14px; background: var(--white); }
.quiz-piste h4 { margin: 0 0 8px; font-size: 1.05rem; color: var(--teal); font-family: var(--font-sans); font-weight: 700; }
.quiz-piste p { margin: 0 0 8px; }
.quiz-piste .vigilance { font-size: 0.92rem; color: #3f4756; margin-bottom: 0; }
.quiz-piste .vigilance b { color: var(--navy); }
.quiz-piste a { font-weight: 600; }
.quiz-result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.quiz-privacy { font-size: 0.85rem; color: #4d5565; margin-top: 14px; }
.quiz-copied { font-size: 0.9rem; color: var(--teal); margin-left: 4px; align-self: center; }
@media (max-width: 600px) {
  .quiz { padding: 24px 18px; }
  .quiz legend { font-size: 1.12rem; }
}
