@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* Ruchée tokens (design system). Never miel text on a light ground. */
:root {
  color-scheme: light;
  --miel: #f5b301;
  --miel-soft: #ffe7a3;
  --encre: #1b1a16;
  --gris: #5b574c;
  --creme: #fbf7ec;
  --creme-strong: #f1ecdd;
  --blanc: #ffffff;
  --ligne: #e6e1d3;
  --nuit: #1b1a16;
  --on-nuit: #fbf7ec;
  --on-dark-muted: #d9d3c3;
  --on-miel: #1b1a16;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --miel-soft: #3f3311;
    --encre: #f3eee2;
    --gris: #b8b1a0;
    --creme: #14130f;
    --creme-strong: #2a2721;
    --blanc: #1e1c18;
    --ligne: #36322a;
    --nuit: #24221c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 400 17px/1.6 "Manrope", ui-sans-serif, system-ui, sans-serif;
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--miel); text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--miel); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { background: var(--nuit); color: var(--on-nuit); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
header.top img { height: 30px; width: auto; display: block; }
header.top a.cta { text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none;
}
.btn-accent { background: var(--miel); color: var(--on-miel); }
.btn-outline-dark { border: 1px solid var(--on-dark-muted); color: var(--on-nuit); }

.hero { background: var(--nuit); color: var(--on-nuit); padding: 56px 0 72px; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 12px; }
h1, h2, h3 { font-family: "Outfit", ui-sans-serif, system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.08; margin: 0 0 16px; max-width: 16ch; }
.hero p.lead { font-size: 19px; color: var(--on-dark-muted); max-width: 52ch; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 56px 0; }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; padding: 20px; }
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--gris); }
.tag { display: inline-block; background: var(--miel-soft); color: var(--encre); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }

.principles { background: var(--creme-strong); }
.principles ul { margin: 0; padding-left: 20px; }
.principles li { margin: 0 0 8px; }

.contact { text-align: left; }
footer { border-top: 1px solid var(--ligne); padding: 24px 0 40px; color: var(--gris); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.legal { padding: 40px 0 56px; }
.legal h1 { color: var(--encre); max-width: none; font-size: 34px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { max-width: 72ch; }
.legal .meta { color: var(--gris); }
