/* Formulaire de rappel (src/pages/formulaire.mjs + js/form.js). */
.carte-form { background: #fff; border-radius: 28px; padding: 32px; box-shadow: 0 0 0 1px var(--ligne), 0 40px 90px -40px rgba(47, 109, 238, 0.45); }
.form-progression { height: 4px; background: var(--carte); border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.form-progression span { display: block; height: 100%; width: 15%; background: var(--bleu); border-radius: 4px; transition: width 0.45s var(--ressort); }
fieldset { border: 0; min-width: 0; }
legend { font-size: 23px; font-weight: 650; color: var(--encre); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 20px; padding: 0; }
.choix-grille { display: grid; gap: 10px; }
.choix { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 17px 20px; border: 0; border-radius: 16px; background: var(--carte); font: 500 17px Inter, sans-serif; color: var(--encre); cursor: pointer; transition: background 0.2s, transform 0.25s var(--ressort), box-shadow 0.2s; }
.choix::after { content: '→'; color: var(--tres-doux); transition: transform 0.25s var(--ressort), color 0.2s; }
.choix:hover, .choix:focus-visible { background: var(--bleu-pale); box-shadow: 0 0 0 1.5px var(--bleu); outline: none; }
.choix:hover::after, .choix:focus-visible::after { color: var(--bleu); transform: translateX(3px); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champs label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--encre); }
.champ-large { grid-column: 1 / -1; }
.facultatif { color: var(--tres-doux); font-weight: 400; }
.carte-form input:not([type="checkbox"]) { font: 16px Inter, sans-serif; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--carte); color: var(--encre); width: 100%; transition: box-shadow 0.2s, background 0.2s; }
.carte-form input:not([type="checkbox"]):focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--bleu); }
.case { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; color: var(--doux); line-height: 1.45; }
.case input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--bleu); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-erreur { color: #B42318; font-size: 14.5px; font-weight: 500; margin-bottom: 12px; }
.form-info { color: var(--doux); }
.lien-retour { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--tres-doux); font: 500 14px Inter, sans-serif; cursor: pointer; }
.lien-retour:hover { color: var(--encre); }
.merci-titre { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--encre); margin-bottom: 8px; }
.ecran-merci:focus { outline: none; }
.form-pied { text-align: center; font-size: 13.5px; color: var(--tres-doux); margin-top: 16px; }

@media (max-width: 520px) {
  .carte-form { padding: 22px; border-radius: 24px; }
  .champs { grid-template-columns: 1fr; }
  legend { font-size: 21px; }
}
