/* Direction de travail : une page presque vide, qui n’en dit pas plus
   que nécessaire. Libre Franklin (OFL) est hébergée avec le site : aucune
   requête vers un service tiers. */
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --fond: #ffffff;
  --encre: #111111;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #111111;
    --encre: #f2f2f0;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 1.5rem;
}
@media (min-width: 40rem) { main { padding: 2.5rem; } }

.cartouche {
  place-self: center;
  margin: 0;
  border: 0.13em solid currentColor;
  padding: 0.07em 0.14em 0.13em;
  font-size: clamp(2.75rem, min(11.5vw, 22vh), 10.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.86;
}
.cartouche span { display: block; }

.legende {
  max-width: 17rem;
  margin: 0;
}
.legende p { margin: 0; }
.legende .bloc { margin-top: 0.75rem; }

a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
