/*
  dfordirect.com — feuille de style unique, partagée entre / et /en/.
  Aucune ressource externe, aucune police distante, aucun framework.
*/

/*
  Police officielle Hanken Grotesk — désactivée en l'absence de fichier .woff2
  local dans ce dépôt. À activer uniquement si public/assets/fonts/ contient
  les fichiers officiels, sans dépendance à un CDN.

  @font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/HankenGrotesk-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/HankenGrotesk-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
*/

:root {
  --bone: #f1ece1;
  --ink: #15130d;
  --gold: #bc8636;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  padding: 1.75rem 0 1rem;
  border-bottom: 1px solid rgba(21, 19, 13, 0.12);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/*
  Accent purely decorative (WCAG 1.4.1) — a gold mark, never gold text on
  bone. Carries no information; the wordmark reads correctly without it.
*/
.wordmark .accent {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.lang-switch a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.15rem 0.3rem;
}

.lang-switch [aria-current="true"] {
  font-weight: 700;
  text-decoration: none;
}

.lang-switch .sep {
  color: rgba(21, 19, 13, 0.4);
}

main {
  padding: 2.75rem 0 1rem;
}

h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
  line-height: 1.25;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.3;
  margin: 2.5rem 0 0.9rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-weight: 600;
  font-size: 1.15rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  margin: 0.5rem 0 2.5rem;
}

.button:hover {
  background: #2a2618;
}

hr {
  border: none;
  border-top: 1px solid rgba(21, 19, 13, 0.15);
  margin: 2.5rem 0;
}

.legal-block p {
  margin: 0 0 0.9rem;
}

.legal-block h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

footer.site-footer {
  margin-top: 2.5rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(21, 19, 13, 0.12);
  font-size: 0.9rem;
  color: rgba(21, 19, 13, 0.75);
}

footer.site-footer h2 {
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

@media (max-width: 480px) {
  main {
    padding-top: 2rem;
  }

  .button {
    display: block;
    text-align: center;
  }
}
