@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fdf6ed;
  --ink: #031c30;
  --ink-soft: #4a5a68;
  --rule: #eadfcc;
  --gold: #e6b800;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--ink); }
a:hover { color: #0a2f4a; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Landing : les mises en page sont portées par la page, ceci les adapte aux petits écrans */
.landing section, .landing footer { overflow-wrap: break-word; }
.landing form strong { white-space: nowrap; flex: none; }
.landing a[style*="border-radius: 30px"] { text-align: center; }
.landing [style*="font-size: 88px"] { font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .landing .nav-link { display: none; }
  .landing [style*="padding: 96px 24px"] { padding-top: 60px !important; padding-bottom: 60px !important; }
  .landing [style*="gap: 44px"] { gap: 32px !important; }
  .landing [style*="padding: 32px;"], .landing [style*="padding: 36px;"] { padding: 24px !important; }
  .landing a[style*="min-height: 52px"], .landing a[style*="min-height: 54px"] {
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
  }
  .landing [style*="font-size: 88px"] { font-size: 68px !important; }
  .landing blockquote { font-size: 22px !important; }
  .landing p[style*="min-height: 36px"] { padding: 8px 18px !important; line-height: 1.35; border-radius: 18px !important; }
  .landing p[style*="font-size: 20px"] { font-size: 18px !important; }
  .landing [style*="font-size: 34px"] { font-size: 30px !important; }
}

/* Pages de texte */
.doc-top { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.doc-top img { width: 148px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 800px; }
.doc h1, .doc h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 25px; margin-top: 44px; }
.doc h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 22px 0 0; }
.doc .updated { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.doc p { margin: 12px 0 0; max-width: 72ch; }
.doc ul.bullets { margin: 12px 0 0; padding-left: 1.25em; max-width: 72ch; }
.doc ul.bullets li { margin-top: 6px; }
.table-scroll { overflow-x: auto; margin-top: 16px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; line-height: 1.45; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 700; }
code { font-size: 0.92em; background: #f3e7d3; padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.foot { padding: 28px 0 36px; font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--rule); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot p, .foot ul { margin: 0; padding: 0; list-style: none; }
