@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist_medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist_mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument_serif_italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --emulsion: #17151F;
  --argent: #D9D6CF;
  --lune: #ECEBE7;
  --label: #B4B0BC;
  --accent: #A9BBDA;
  --rule: rgba(236, 235, 231, 0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--emulsion);
  color: var(--lune);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--lune); }

.wordmark { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; line-height: 0.9; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--label); }

/* accueil */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,21,31,0.92) 0%, rgba(23,21,31,0.55) 38%, rgba(23,21,31,0) 70%); }
.hero-text { position: relative; z-index: 1; padding: 0 24px 56px; max-width: 760px; }
.hero .wordmark { font-size: clamp(64px, 14vw, 132px); margin: 0 0 12px; }
.hero .lead { font-size: clamp(19px, 2.6vw, 24px); margin: 0 0 8px; color: var(--lune); }
.hero .sub { margin: 0 0 24px; color: var(--argent); max-width: 34em; }
.hero .caption { position: absolute; z-index: 1; right: 20px; top: 20px; }

.cta { display: inline-block; padding: 14px 26px; border-radius: 28px; background: var(--lune); color: var(--emulsion); font-weight: 500; text-decoration: none; }
.cta:hover { background: #fff; color: var(--emulsion); }

.points { max-width: 1040px; margin: 0 auto; padding: 72px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.points h2 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0 0 10px; }
.points p { margin: 0; color: var(--argent); }

.fr { max-width: 1040px; margin: 0 auto; padding: 40px 24px 24px; color: var(--argent); border-top: 1px solid var(--rule); margin-top: 48px; }
.fr p { margin: 0 0 8px; }

footer { max-width: 1040px; margin: 0 auto; padding: 32px 24px 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--label); border-top: 1px solid var(--rule); }
footer a { color: var(--label); }
footer .grow { flex: 1 1 auto; }

/* pages de texte */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 32px; }
.doc header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.doc header a { text-decoration: none; color: var(--lune); font-size: 44px; }
.doc h1 { font-weight: 500; font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-weight: 500; font-size: 20px; margin: 40px 0 8px; }
.doc p, .doc li { color: var(--argent); }
.doc strong { color: var(--lune); font-weight: 500; }
.doc ul { padding-left: 20px; }
.doc .updated { margin: 0 0 32px; }
.doc .lang { font-size: 14px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-text { padding-bottom: 40px; }
  .doc header a { font-size: 36px; }
}
