/* HornetMap — pages de texte (mentions légales). Même palette que l'application. */
:root { --encre: #0b2e21; --gris: #55635c; --lien: #9a4c00; --fond: #f6f3ee; --surface: #fff; --trait: #e5dfd5; --creme: #fbf1e2; --creme-bord: #e8cfa6; color-scheme: light; }
:root[data-theme=sombre] { --encre: #eef2ec; --gris: #a2b0a7; --lien: #f2a968; --fond: #0e1512; --surface: #17211c; --trait: #2a3731; --creme: #33291b; --creme-bord: #6b5026; color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=clair]) { --encre: #eef2ec; --gris: #a2b0a7; --lien: #f2a968; --fond: #0e1512; --surface: #17211c; --trait: #2a3731; --creme: #33291b; --creme-bord: #6b5026; color-scheme: dark; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 860px; margin: 0 auto; padding: 14px 16px; }
header img { display: block; background: #fffaf2; border-radius: 12px; }
a { color: var(--lien); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--lien); outline-offset: 2px; border-radius: 4px; }
.retour { font-weight: 650; white-space: nowrap; }
main { max-width: 860px; margin: 0 auto 3rem; padding: 1.6rem 1.4rem 2rem; background: var(--surface); border-radius: 22px; box-shadow: 0 1px 2px #0b2e2114, 0 8px 28px #0b2e2114; }
h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .3rem; text-wrap: balance; }
h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2.2rem 0 .5rem; padding-top: .9rem; border-top: 1px solid var(--trait); scroll-margin-top: 1rem; }
h3 { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin: 1.5rem 0 .4rem; }
p { margin: .6rem 0; max-width: 70ch; }
ul { margin: .5rem 0; padding-left: 1.2rem; max-width: 70ch; }
li { margin: .35rem 0; }
.maj { color: var(--gris); font-size: .92rem; }
nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 0; }
nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--encre); background: var(--creme); border: 1px solid var(--creme-bord); border-radius: 99px; padding: .3rem .8rem; }
nav a:hover { filter: brightness(.96); }
code { font-size: .9em; background: var(--fond); border-radius: 5px; padding: .05em .35em; }
table { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .95rem; }
th { text-align: left; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gris); padding: .4rem .6rem .4rem 0; border-bottom: 2px solid var(--trait); }
td { vertical-align: top; padding: .6rem .6rem .6rem 0; border-bottom: 1px solid var(--trait); }
td:first-child { font-weight: 650; width: 30%; }
.chapo { font-size: 1.12rem; color: var(--encre); margin: .6rem 0 0; }
ol.etapes { list-style: none; counter-reset: etape; padding: 0; margin: .8rem 0; max-width: 70ch; }
ol.etapes li { counter-increment: etape; position: relative; padding: .35rem 0 .35rem 2.8rem; margin: .5rem 0; }
ol.etapes li::before { content: counter(etape); position: absolute; left: 0; top: .35rem; width: 2rem; height: 2rem; border-radius: 50%; background: #b85c05; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.qr { border: 1px solid var(--trait); border-radius: 14px; padding: .8rem 1rem; margin: .6rem 0; }
.qr h3 { text-transform: none; letter-spacing: 0; font-size: 1.02rem; color: var(--encre); margin: 0 0 .3rem; }
.qr p { margin: 0; }
.pied { margin-top: 2.2rem; font-weight: 650; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
a.bouton { background: #b85c05; color: #fff; text-decoration: none; padding: .7rem 1.2rem; border-radius: 14px; font-weight: 700; }
.note { color: var(--gris); font-size: .92rem; }
@media (max-width: 640px) {
  main { margin: 0 8px 2rem; padding: 1.2rem 1rem 1.5rem; border-radius: 18px; }
  h1 { font-size: 1.45rem; }
  /* Tableau en fiches : une donnée par bloc */
  thead { display: none; }
  tr { display: block; padding: .7rem 0; border-bottom: 1px solid var(--trait); }
  td { display: block; width: auto !important; padding: .1rem 0; border: 0; }
}
