:root { --fond: #faf8f4; --carte: #ffffff; --texte: #1d1b19; --doux: #5f5a53; --trait: #e4ded4; --accent: #b4441f; --accent-doux: #f6e7df; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.55 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 64px; }
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 10px; padding: 22px 18px; margin: 32px auto; max-width: 680px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 1.15rem; margin: 0 0 4px; }
.etape { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
fieldset { border: 1px solid var(--trait); border-radius: 10px; background: var(--carte); padding: 18px 16px 6px; margin: 0 0 18px; }
legend { padding: 0 6px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
.aide { display: block; font-weight: 400; color: var(--doux); font-size: .9rem; margin-top: 2px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfc7bb; border-radius: 8px; background: #fff; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.choix label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.intro { color: var(--doux); }
.encadre { background: var(--accent-doux); border-radius: 8px; padding: 12px 14px; margin: 14px 0; font-size: .95rem; }
button { width: 100%; font: inherit; font-weight: 700; padding: 14px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer; }
.piege { position: absolute; left: -5000px; }
.obligatoire::after { content: " *"; color: var(--accent); }
ol.questions { padding-left: 20px; margin: 4px 0 12px; } ol.questions li { margin-bottom: 4px; }
.enregistreur { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
button.rond { width: auto; min-width: 150px; border-radius: 999px; padding: 14px 22px; }
button.rond.actif { background: #8f1d0a; }
button.secondaire { width: auto; background: #fff; color: var(--accent); border: 1px solid var(--accent); padding: 10px 16px; }
#chrono { font-variant-numeric: tabular-nums; font-weight: 600; }
audio { width: 100%; margin: 6px 0 10px; }
.erreur { background: #fdecea; color: #8f1d0a; border-radius: 8px; padding: 10px 12px; }
