/* Pages du Laboratoire alphabette.eu (embarquement, badge, Pass, merci, Tableau d'Honneur).
   Aucune police ni ressource externe. Clair par défaut, sombre selon l'appareil. */
:root {
  --fond: #fbf8f3; --carte: #ffffff; --encre: #1c1917; --doux: #57534e; --trait: #e7e5e4;
  --acc: #0f766e; --acc-encre: #ffffff; --acc-fond: #f0fdfa; --ok: #166534; --err: #b91c1c; --vedette: #6d28d9;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0b1220; --carte: #111a2e; --encre: #f1f5f9; --doux: #cbd5e1; --trait: #2a3a58;
    --acc: #5eead4; --acc-encre: #0b1220; --acc-fond: #0f2a2a; --ok: #86efac; --err: #fca5a5; --vedette: #c4b5fd;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 18px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 46rem; margin: 0 auto; padding: 1rem 1.1rem 3rem; }
a { color: var(--acc); font-weight: 700; text-underline-offset: 3px; }
.retour { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
h1 { font-size: 1.9rem; line-height: 1.15; margin: .5rem 0 .5rem; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 2rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
p, li { color: var(--doux); }
strong, b { color: var(--encre); }
.chapeau { font-size: 1.1rem; }
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 1.1rem; padding: 1rem; margin: .75rem 0; }
.carte--acc { border-color: var(--acc); background: var(--acc-fond); }
.carte--vedette { border: 2px solid var(--vedette); }
.grille { display: grid; gap: .75rem; }
@media (min-width: 40rem) { .grille--2 { grid-template-columns: 1fr 1fr; } }
.prix { font-size: 1.8rem; font-weight: 800; color: var(--encre); line-height: 1.1; }
.prix small { font-size: 1rem; font-weight: 600; color: var(--doux); }
.note { font-size: .95rem; }
.petit { font-size: .9rem; }
button, .bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .6rem 1.1rem;
  border-radius: .9rem; border: 2px solid var(--acc); background: var(--acc); color: var(--acc-encre);
  font: 800 1rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; text-decoration: none; text-align: center;
}
button.secondaire, .bouton.secondaire { background: transparent; color: var(--acc); }
button:disabled { opacity: .55; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--vedette); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.actions > * { flex: 1 1 12rem; }
label.champ { display: block; margin: .9rem 0; font-weight: 700; color: var(--encre); }
label.champ span.aide { display: block; font-weight: 500; font-size: .9rem; color: var(--doux); }
input[type=text], input[type=url], input[type=email], input:not([type]), textarea, select {
  display: block; width: 100%; margin-top: .35rem; min-height: 48px; padding: .6rem .75rem; border-radius: .7rem;
  border: 1px solid var(--trait); background: var(--carte); color: var(--encre); font: 500 1rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
textarea { min-height: 6rem; resize: vertical; }
.case { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem 0; border-top: 1px solid var(--trait); color: var(--encre); }
.case:first-of-type { border-top: 0; }
.case input { width: 26px; height: 26px; margin: .1rem 0 0; flex: 0 0 auto; accent-color: var(--acc); }
.case span { color: var(--encre); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message { min-height: 1.5em; font-weight: 700; }
.message.ok { color: var(--ok); }
.message.err { color: var(--err); }
pre.code { margin: 0; max-height: 12rem; overflow: auto; white-space: pre-wrap; word-break: break-all; font: 600 .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--encre); }
.pastille { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .3rem .8rem; border-radius: 999px; background: var(--acc-fond); border: 1px solid var(--acc); color: var(--encre); font-weight: 700; font-size: .95rem; }
.liste-simple { list-style: none; padding: 0; margin: 0; }
.liste-simple li { padding: .55rem 0; border-top: 1px solid var(--trait); color: var(--encre); }
.liste-simple li:first-child { border-top: 0; }
.cache { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { float: left; width: 100%; font-weight: 800; font-size: 1.1rem; color: var(--encre); padding: 0; margin-bottom: .3rem; }
legend + * { clear: both; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.radios label { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--trait); border-radius: .7rem; background: var(--carte); color: var(--encre); font-weight: 700; }
.radios input { width: 20px; height: 20px; accent-color: var(--acc); }
footer.pied { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--trait); font-size: .95rem; }
footer.pied a { display: inline-flex; min-height: 44px; align-items: center; margin-right: 1rem; }
