@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/jost-latin.woff2') format('woff2');
}

:root {
  --ink: #0F0E0C;
  --ink-soft: #4a463f;
  --gold: #C29A52;
  --gold-deep: #8a6a2f;
  --cream: #F2EFE8;
  --paper: #FBFAF6;
  --line: #ddd6c8;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

/* Language switching: only the active language is shown */
html[lang="fr"] [data-l="en"],
html[lang="en"] [data-l="fr"] { display: none; }

a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--cream); padding: 8px 12px; z-index: 10; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 170px; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.nav > a { text-decoration: none; }
.nav > a:hover { color: var(--gold-deep); }
@media (max-width: 640px) { .nav > a { display: none; } }

.lang { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button {
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .08em;
  background: transparent; color: var(--ink); border: 0; padding: 6px 12px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang button:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero__in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .hero__in { grid-template-columns: 1.5fr 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: var(--gold-deep); margin: 0 0 16px; font-weight: 500; }
h1 { font-weight: 600; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 24px; text-wrap: balance; }
.lead { font-size: 19px; font-weight: 300; color: var(--ink-soft); max-width: 36em; margin: 0 0 32px; }
.btn {
  display: inline-block; background: var(--ink); color: var(--cream); text-decoration: none;
  padding: 14px 28px; border-radius: 2px; font-weight: 500; letter-spacing: .04em;
}
.btn:hover { background: var(--gold-deep); color: var(--paper); }
.hero__mark { width: min(260px, 60vw); justify-self: center; }
@media (max-width: 859px) { .hero__mark { display: none; } }

/* Sections */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-weight: 600; font-size: 30px; margin: 0 0 32px; position: relative; padding-left: 20px; }
h2::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; background: var(--gold); }
h3 { font-weight: 600; font-size: 19px; margin: 0 0 8px; }

.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.card p { margin: 0; color: var(--ink-soft); font-weight: 300; }
.card--accent { border-top: 4px solid var(--gold); }

/* Contact */
.section--dark { background: var(--ink); color: var(--cream); border-top: 0; }
.section--dark a { color: var(--cream); }
.section--dark a:hover { color: var(--gold); }
.facts { display: grid; gap: 28px; margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts dt { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 18px; font-weight: 300; overflow-wrap: anywhere; }

/* Legal */
.legal h3 { margin-top: 36px; }
.legal p { max-width: 46em; color: var(--ink-soft); }
.kv { margin: 0; border-top: 1px solid var(--line); max-width: 760px; }
.kv > div { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .kv > div { grid-template-columns: 240px 1fr; } }
.kv dt { color: var(--ink-soft); font-size: 15px; }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.foot { background: var(--ink); color: #cfc8ba; padding: 48px 0; font-size: 14px; border-top: 1px solid #2a2722; }
.foot__in { display: grid; gap: 20px; }
.foot img { width: 150px; }
.foot p { margin: 0; line-height: 1.8; }
.foot a { color: #cfc8ba; }
.foot a:hover { color: var(--gold); }
.copy { color: #8d867a; }
