@font-face { font-family: "Figtree"; src: url(figtree-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(figtree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Allura"; src: url(allura-latin-400-normal.woff2) format("woff2"); font-display: swap; }
:root { --foret:#03190F; --foret2:#08281C; --vif:#8EE479; --fonc:#2E9E2A; --pale:#D2EAC4; --creme:#F8F5EE; --sombre:#0F1F17; --doux:#5A6B61; }
* { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.55 Figtree, system-ui, sans-serif; }
body.light { background: var(--creme); color: var(--sombre); }
body.dark { background: var(--foret); color: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 16px 0; }
h2 { margin: 36px 0 12px; }
.script { font-family: Allura, cursive; font-weight: 400; font-size: 72px; margin: 8px 0; }
.card { background: #fff; color: var(--sombre); border-radius: 18px; padding: 24px; margin: 16px 0; }
body.dark .card { background: var(--foret2); color: #fff; }
.narrow { max-width: 520px; margin: 48px auto; }
.bar { display: flex; justify-content: space-between; align-items: center; }
label { display: grid; gap: 6px; margin: 10px 0; font-weight: 600; font-size: 14px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
input, select { font: inherit; padding: 11px 12px; border-radius: 10px; border: 1px solid #cfc7b6; background: #fff; color: var(--sombre); }
body.dark input { background: var(--foret); color: #fff; border-color: #2b5642; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.btn { display: inline-block; background: var(--vif); color: var(--sombre); border: 0; border-radius: 999px; padding: 12px 22px; font: 600 16px Figtree, sans-serif; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.link { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.list { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.list td, .list th { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee6d6; }
.muted { color: var(--doux); font-size: 14px; }
body.dark .muted { color: #a9bdb1; }
.err { color: #b3261e; font-weight: 600; }
.film { width: 100%; max-height: 70vh; border-radius: 14px; background: #000; }
:focus-visible { outline: 3px solid var(--vif); outline-offset: 2px; }
