@font-face { font-family: "Figtree RL"; src: url("/fonts/FigtreeRL-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree RL"; src: url("/fonts/FigtreeRL-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree RL"; src: url("/fonts/FigtreeRL-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bebas Neue RL"; src: url("/fonts/BebasNeueRL-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --encre: #14213d;
  --ambre: #f2a93b;
  --sur-ambre: #1f1300;
  --fond: #f4f5f7;
  --surface: #ffffff;
  --trait: #e3e6ec;
  --secondaire: #5b6478;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --encre: #e6e9f5; --fond: #0b1020; --surface: #151c35; --trait: #222b4d; --secondaire: #9aa3c2; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 18px/1.6 "Figtree RL", -apple-system, sans-serif; }
a { color: inherit; text-decoration-color: var(--ambre); text-underline-offset: 3px; }
main { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
h1 { font-size: 40px; line-height: 1.1; font-weight: 800; margin: 24px 0 12px; }
h2 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 32px 0 8px; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 8px; }
.discret { color: var(--secondaire); font-size: 16px; }
.chapeau { font-size: 20px; color: var(--secondaire); }

.entete { padding: 18px 20px; max-width: 760px; margin: 0 auto; }
.logo, .poste { font-family: "Bebas Neue RL", sans-serif; letter-spacing: 1.5px; text-decoration: none; font-weight: 400; }
.logo { font-size: 28px; }
.une { padding: 8vh 0 4vh; }
.poste { font-size: clamp(64px, 14vw, 120px); line-height: .95; margin: 0; }
.devise { font-style: italic; font-size: 24px; margin: 4px 0 16px; }

.trois { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 24px 0; }
.trois article, .encart { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 20px; }
.trois h2, .encart h2 { margin-top: 0; }
.encart { border-color: var(--ambre); }

.charte { font-size: 20px; }
.charte li { margin-bottom: 16px; padding-left: 6px; }
.charte li::marker { font-family: "Bebas Neue RL", sans-serif; color: var(--ambre); font-size: 28px; }

.code { font: 700 40px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 4px; margin: 16px 0; }
.bouton { display: inline-block; background: var(--ambre); color: var(--sur-ambre); font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 999px; }

.pied { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; border-top: 1px solid var(--trait); color: var(--secondaire); font-size: 15px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  h1 { font-size: 32px; }
}
