/* Quizz, contact, mentions légales */
.quiz-opt.ko .mark { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--pierre); }
.quiz-opt.ko .mark .ico { transform: rotate(45deg); }
.quiz-opt { font: inherit; color: inherit; width: 100%; }
.quiz-opt:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.quiz-q:focus { outline: none; }
.quiz > .small { margin-bottom: 0.7rem; }
.quiz-expl strong { font-weight: 500; }

.field .err { display: none; color: var(--bordeaux); font-size: 0.9rem; font-weight: 500; }
.field.has-error .err { display: block; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--bordeaux); }
.check.has-error { color: var(--bordeaux); }
.check .err { display: none; font-weight: 500; margin-top: 0.3rem; }
.check.has-error .err { display: block; }
.form-status.is-error { border-left-color: var(--bordeaux); background: rgba(132, 29, 30, 0.07); }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form .req { color: var(--bordeaux); }

.map-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; }
.contact-hours { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.5rem; font-size: 0.97rem; }
.contact-hours dt { color: var(--muted); }
.contact-hours dd { font-variant-numeric: tabular-nums; }

.todo { background: rgba(205, 187, 140, 0.35); padding: 0.05em 0.35em; border-radius: 2px; color: #5c4f27; white-space: nowrap; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.legal h2[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal .prose { max-width: 70ch; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.quiz [hidden] { display: none !important; }
.on-sapin .contact-hours dt { color: var(--muted-dark); }
.on-sapin .contact-hours dd { color: var(--pierre); }

.form-row { align-items: start; }
.form fieldset.field { display: grid; }
.form legend { padding: 0; margin-bottom: 0.45rem; float: none; width: 100%; }

.contact-photo { margin: 2rem 0 0; }
.contact-photo img { width: 100%; max-height: 28rem; object-fit: cover; border-radius: 4px; }
.contact-photo figcaption { margin-top: 0.8rem; }

/* Rendez-vous et questionnaire de création */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .hint { margin: 0; }
.next-steps { counter-reset: ns; display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 2.6rem; color: var(--muted); }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sapin); color: var(--pierre); display: grid; place-items: center; font-size: 0.9rem; }
.next-steps strong { color: var(--encre); font-weight: 500; }

.qsteps { counter-reset: qs; display: grid; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.qsteps li { display: flex; align-items: center; gap: 0.85rem; padding: 0.55rem 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.qsteps li span { width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 0.85rem; }
.qsteps li[aria-current="step"] { color: var(--encre); font-weight: 500; }
.qsteps li[aria-current="step"] span { background: var(--sapin); border-color: var(--sapin); color: var(--pierre); }
.qsteps li.done span { background: var(--sable); border-color: var(--sable); color: var(--encre); }

.qc { gap: 2rem; }
.qc-head { display: grid; gap: 0.6rem; }
.qc-count { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.qc-track { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.qc-bar { height: 100%; background: var(--sapin); transition: width 0.35s var(--ease); width: 25%; }
.q-step { display: grid; gap: 1.8rem; }
.q-step[hidden] { display: none; }
.q-title { margin: 0; outline: none; }
.qc-nav { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn-ghost-dark { border: 1px solid var(--line); background: none; color: var(--encre); }
.btn-ghost-dark:hover { border-color: var(--sapin); }

.recap { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; padding: 1.2rem 0; border-block: 1px solid var(--line); font-size: 0.97rem; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; }
.orient { margin-top: 1.5rem; padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sable); display: grid; gap: 0.8rem; }
.orient p, .orient ul { margin: 0; }
.orient ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.orient-k { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sable-fonce); }
.orient-h { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.25; margin: 0; }
.orient-disclaimer { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.8rem; }

@media (max-width: 640px) {
  .recap { grid-template-columns: 1fr; gap: 0.1rem; }
  .recap dd { margin-bottom: 0.6rem; }
  .qc-nav .btn { flex: 1 1 auto; justify-content: center; }
}
.btn[hidden] { display: none; }
.next-steps { margin-top: 1.2rem; }
.qsteps { margin-block: 1.5rem; }
