/* Torchons & Serviettes — site statique public.
   Zéro requête externe (pas de Google Fonts/CDN/analytics) : cohérent avec
   la politique de confidentialité. Polices système, CSS unique. */

:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --muted: #5b6b70;
  --accent: #0f766e;       /* teal "linge propre" */
  --accent-ink: #ffffff;
  --line: #e7e0d4;
  --radius: 14px;
  --maxw: 46rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand .dot {
  width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: .95rem;
}
nav.site a:hover { color: var(--accent); }

main { padding: 2.5rem 0 3rem; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
h3 { font-size: 1.02rem; margin: 1.4rem 0 .3rem; }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.5rem; }
p, li { color: var(--ink); }
small, .meta { color: var(--muted); font-size: .9rem; }

.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
}
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .95rem;
}
th, td {
  text-align: left;
  padding: .55rem .6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; }

.callout {
  border-left: 3px solid var(--accent);
  background: #f0f6f5;
  padding: .8rem 1rem;
  border-radius: 8px;
  margin: 1.25rem 0;
  font-size: .95rem;
}
.todo {
  border-left: 3px solid #b45309;
  background: #fdf4e7;
  padding: .8rem 1rem;
  border-radius: 8px;
  margin: 1.25rem 0;
  font-size: .92rem;
  color: #6b4310;
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem 0;
  font-size: .9rem;
  color: var(--muted);
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .hero { padding: 1.4rem; }
}
