:root {
  --fond: #f7f6f2;
  --texte: #1c1c1a;
  --discret: #6b6a64;
  --trait: #dedcd4;
  --accent: #2e6b4f;
  --texte-marque: #1d2b33;
  --ecorce: #2e6b4f;
  --chair: #e9544b;
  --pepin: #1d2b33;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #151614;
    --texte: #ecebe6;
    --discret: #9d9c95;
    --trait: #2c2d2a;
    --accent: #7cc4a0;
    --texte-marque: #f6f1e7;
    --ecorce: #5fae84;
    --pepin: #151614;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 18vh 1.25rem 4rem;
}

.marque {
  margin: 0 0 2.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--texte-marque);
}

.marque, .marque a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.symbole { width: 2.6rem; height: 2.6rem; flex: none; }
.symbole path { stroke-width: 4; stroke-linejoin: round; }
.ecorce { fill: var(--ecorce); stroke: var(--ecorce); }
.chair { fill: var(--chair); stroke: var(--chair); }
.pepin { fill: var(--pepin); }

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

p { margin: 0 0 1rem; }

.discret { color: var(--discret); }

a { color: var(--accent); text-underline-offset: 0.18em; }

.produit {
  display: block;
  margin: 2.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--trait);
  border-radius: 0.6rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.produit:hover, .produit:focus-visible { border-color: var(--accent); }

.produit strong { display: block; font-size: 1.15rem; }

.produit span { color: var(--discret); font-size: 0.95rem; }

dl { margin: 0; }

dt { margin-top: 0.9rem; color: var(--discret); font-size: 0.9rem; }

dd { margin: 0; }

footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--trait);
  color: var(--discret);
  font-size: 0.875rem;
}

footer a { color: inherit; }

.legal main { padding-top: 10vh; }
