/* Pages légales de krobien (static/legal/) : mêmes couleurs et même police que l'appli. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../polices/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --marque: #0DB561; --sur-marque: #0B0C10; --lien: #087A41; --fond: #F4F6F8; --carte: #FFFFFF; --encre: #0B0C10; --doux: #4A5060; --trait: #E3E6EC; --alerte: #C62828; --orange-fond: #FFF1DC; --orange-texte: #7A4300; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --marque: #2FCF7C; --lien: #5BE3A0; --fond: #121212; --carte: #1E1E1E; --encre: #EDEDED; --doux: #B8B8B8; --trait: #2E2E2E; --alerte: #EF5350; --orange-fond: #3A2A12; --orange-texte: #FFD08A; }
}
:root[data-theme="dark"] { --marque: #2FCF7C; --lien: #5BE3A0; --fond: #121212; --carte: #1E1E1E; --encre: #EDEDED; --doux: #B8B8B8; --trait: #2E2E2E; --alerte: #EF5350; --orange-fond: #3A2A12; --orange-texte: #FFD08A; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 1rem/1.6 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--encre); background: var(--fond); overflow-wrap: anywhere; }
a { color: var(--lien); font-weight: 700; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
header { background: var(--marque); color: var(--sur-marque); padding: calc(16px + env(safe-area-inset-top)) 0 18px; border-radius: 0 0 24px 24px; }
header > div, main, footer > div { width: min(760px, 100%); margin: 0 auto; padding: 0 16px; }
.retour { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-weight: 800; }
header h1 { margin: 2px 0 0; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.02em; }
main { padding-top: 16px; padding-bottom: 24px; display: grid; gap: 16px; }
section { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 16px; }
h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; }
p, ul { margin: 0 0 8px; } ul { padding-left: 20px; } li { margin-bottom: 4px; }
.provisoire { background: var(--orange-fond); color: var(--orange-texte); border: 0; font-weight: 700; }
.a-remplir { font-family: ui-monospace, monospace; font-size: .92em; background: var(--fond); border: 1px dashed var(--doux); border-radius: 6px; padding: 0 4px; }
.maj { color: var(--doux); font-size: .92rem; }
footer { padding: 0 0 calc(24px + env(safe-area-inset-bottom)); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
/* Formulaire de signalement */
form { display: grid; gap: 10px; }
label { font-weight: 700; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: inherit; background: var(--fond); border: 1.5px solid var(--trait); border-radius: 12px; }
textarea { min-height: 120px; resize: vertical; }
button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--marque); color: var(--sur-marque); font: inherit; font-weight: 800; cursor: pointer; justify-self: start; }
button:disabled { opacity: .6; cursor: default; }
.aide { color: var(--doux); font-size: .92rem; }
.erreur { color: var(--alerte); font-weight: 700; }
.recu { font-weight: 700; }
