/* shampoing.net — feuille de style unique. Polices système uniquement (0 requête externe). */
:root {
  --ink: #17211d;
  --ink-2: #4b5a54;
  --line: #d9e3df;
  --surface: #f2f7f4;
  --white: #fff;
  --green: #0b6e5b;
  --green-dark: #084f42;
  --ochre: #b8891a;
  --ochre-bg: #fbf3df;
  --ochre-text: #7d5c0e;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
}
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
a { color: var(--green); text-underline-offset: .15em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }
img { max-width: 100%; height: auto; }

/* Typographie */
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 3rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.25rem; margin: 1.6rem 0 .5rem; }
p, ul, ol, table { margin: 0 0 1.1rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 52rem; }
.small { font-size: .9rem; color: var(--ink-2); }
strong { font-weight: 650; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.logo { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; margin: 0; }
.logo span { color: var(--green); }
.menu-btn { margin-left: auto; font: inherit; background: none; border: 1px solid var(--line); border-radius: 6px; padding: .4rem .9rem; cursor: pointer; color: var(--ink); }
.nav { display: none; width: 100%; padding-bottom: .75rem; }
.nav.open { display: flex; flex-direction: column; }
.nav a { padding: .55rem 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
@media (min-width: 56rem) {
  .menu-btn { display: none; }
  .nav { display: flex; width: auto; margin-left: auto; padding: 0; gap: 1.3rem; }
  .nav a { border: 0; padding: 0; font-size: .95rem; }
  .nav a:hover { color: var(--green); }
}

/* Fil d'Ariane */
.crumbs { font-size: .85rem; color: var(--ink-2); margin: 1rem 0 0; }
.crumbs a { color: var(--ink-2); }
main { padding: 1.5rem 0 3rem; }
.crumbs + h1 { margin-top: .9rem; }

/* Accueil — sélecteur par besoin */
.hero { padding: 2rem 0 1rem; max-width: 56rem; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
.tiles { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); margin: 1.5rem 0 2.5rem; padding: 0; list-style: none; }
.tiles a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .15s, transform .15s;
}
.tiles a:hover { border-color: var(--green); transform: translateY(-2px); }
.tiles b { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: .2rem; }
.tiles span { font-size: .88rem; color: var(--ink-2); }

/* Fiches produit ("le dossier") */
.picks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.pick {
  display: grid; gap: .5rem; padding: 1.2rem 1.3rem; background: var(--surface);
  border-left: 4px solid var(--green); border-radius: 0 10px 10px 0;
}
.pick h3 { margin: 0; }
.pick-tag { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--ochre-text); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .78rem; padding: .15rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); }
.pick p { margin: 0; }
.pick .btn { justify-self: start; margin-top: .3rem; }
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  padding: .6rem 1.1rem; border-radius: 8px; font-size: .95rem;
}
.btn:hover { background: var(--green-dark); color: #fff; }

/* Tableaux */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); font-weight: 650; }

/* Encadrés */
.note { background: var(--ochre-bg); border-left: 4px solid var(--ochre); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; margin: 1.2rem 0; }
.faq details { border-top: 1px solid var(--line); padding: .6rem 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: .6rem 0 0; }

/* Listes de pages (maillage) */
.pagelist { columns: 2; column-gap: 2rem; padding: 0; list-style: none; }
.pagelist li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.pagelist a { text-decoration: none; }
.pagelist a:hover { text-decoration: underline; }
@media (min-width: 56rem) { .pagelist { columns: 3; } }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.updated { font-size: .85rem; color: var(--ink-2); margin-bottom: 1.5rem; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
.foot { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 40rem) { .foot { grid-template-columns: 1fr; } }
.foot a { display: block; text-decoration: none; padding: .2rem 0; color: var(--ink); }
.foot-title { font-weight: 650; margin-bottom: .4rem; }
.copy { margin-top: 2rem; }
