@font-face { font-family: Inter; src: url(inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

  :root {
    --bleu: #3058E5;
    --bleu-fonce: #2246c4;
    --jaune: #FEFBC5;
    --texte: #192152;
    --gris: #5b6290;
    --bord: #d5d9ec;
    --erreur: #c62f3a;
    --ok: #1f8a5b;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: transparent; }
  body { padding: 2px 8px 8px 2px; }
  body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--texte); font-size: 16px; line-height: 1.5; }
  .carte { max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--texte); border-radius: 16px; padding: 28px; box-shadow: 6px 6px 0 var(--texte); }
  h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
  .intro { margin: 0 0 24px; color: var(--gris); font-size: 15px; }
  .champ { margin-bottom: 18px; }
  label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
  .facultatif { font-weight: 400; color: var(--gris); }
  input, select, textarea {
    width: 100%; font: inherit; color: var(--texte); background: #fff;
    border: 1.5px solid var(--bord); border-radius: 10px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
  }
  select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23192152' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
  textarea { min-height: 160px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(48, 88, 229, .18); }
  .invalide { border-color: var(--erreur); }
  .msg-erreur { color: var(--erreur); font-size: 13px; margin-top: 4px; min-height: 0; }
  .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  @media (max-width: 520px) { .ligne { grid-template-columns: 1fr; } .carte { padding: 20px; box-shadow: 4px 4px 0 var(--texte); } }
  .aide { font-size: 13px; color: var(--gris); margin-top: 4px; }
  .compteur { text-align: right; }

  .encart { background: var(--jaune); border: 2px solid var(--texte); border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
  .encart p { margin: 0 0 10px; }
  .encart p:last-child { margin-bottom: 0; }
  .encart .prix { font-weight: 700; }
  .bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 600; color: #fff; background: var(--bleu); border: 2px solid var(--texte);
    border-radius: 10px; padding: 12px 22px; cursor: pointer; text-decoration: none; box-shadow: 3px 3px 0 var(--texte);
    transition: transform .1s, box-shadow .1s, background .15s;
  }
  .bouton:hover { background: var(--bleu-fonce); }
  .bouton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--texte); }
  .bouton[disabled] { opacity: .6; cursor: wait; }
  .bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
  .rgpd { font-size: 12.5px; color: var(--gris); flex: 1 1 260px; margin: 0; }
  .alerte { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
  .alerte.ko { background: #fdecee; color: var(--erreur); border: 1.5px solid var(--erreur); }
  .merci { text-align: center; padding: 24px 8px; }
  .merci .icone { font-size: 40px; }
  .merci h2 { margin: 8px 0; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  [hidden] { display: none !important; }
