:root {
  --fond: #fbfaf6;
  --texte: #1f2a22;
  --doux: #5b6a5f;
  --accent: #2f6b3f;
  --accent-clair: #e6efe4;
  --ligne: #dfe4dc;
  --surligne: #fff1a8;
  --largeur: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #141a16;
    --texte: #e8ede7;
    --doux: #a6b3a9;
    --accent: #8fd19e;
    --accent-clair: #1f2b22;
    --ligne: #2c362f;
    --surligne: #5c4f00;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.entete, .contenu, .pied { max-width: var(--largeur); margin: 0 auto; padding: 0 1rem; }
.entete {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ligne);
}
.marque { font-weight: 700; font-size: 1.15rem; color: var(--texte); text-decoration: none; }
.entete nav { display: flex; gap: 1.25rem; }
.entete nav a { text-decoration: none; }

.contenu { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.chapeau { font-size: 1.2rem; color: var(--doux); }
.maj { color: var(--doux); font-size: .95rem; }

.encadre {
  background: var(--accent-clair);
  border-left: 4px solid var(--accent);
  padding: .9rem 1.1rem; border-radius: 6px; margin: 1.5rem 0;
}
.encadre ul { margin: .25rem 0; padding-left: 1.2rem; }

.atouts { list-style: none; padding: 0; display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.atouts li { border: 1px solid var(--ligne); border-radius: 8px; padding: .9rem 1rem; }
.atouts strong { display: block; }

.boutiques { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.boutiques span {
  border: 1px dashed var(--doux); border-radius: 8px;
  padding: .6rem 1rem; color: var(--doux);
}

.tableau { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--ligne); }
th { background: var(--accent-clair); }

details { border-bottom: 1px solid var(--ligne); padding: .75rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .5rem 0 0; }

dl.fiche { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .4rem 1rem; }
dl.fiche dt { font-weight: 600; }
dl.fiche dd { margin: 0; }
@media (max-width: 34rem) { dl.fiche { grid-template-columns: 1fr; } dl.fiche dd { margin-bottom: .5rem; } }

mark.a-completer { background: var(--surligne); color: inherit; padding: 0 .2em; border-radius: 3px; }

.bandeau-brouillon {
  background: #8a2b2b; color: #fff; text-align: center;
  padding: .5rem 1rem; font-weight: 600; font-size: .95rem;
}

.pied {
  border-top: 1px solid var(--ligne);
  padding-top: 1.25rem; padding-bottom: 2rem;
  color: var(--doux); font-size: .92rem;
}
.pied nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.pied p { margin: .75rem 0 0; }
.choix-langue { list-style: none; padding: 0; }
