/* Guide du coussin d'allaitement, feuille de style éditoriale
   Base crème, accent rose poudré, titres serif chaleureux (Fraunces),
   corps sans empattement (Mulish). Pensé mobile d'abord. */

:root {
  --cream: #faf5ec;
  --cream-deep: #f3 ece0;
  --paper: #fffdf8;
  --ink: #363029;
  --ink-soft: #5c5347;
  --ink-faint: #8a8073;
  --rose: #b27d74;
  --rose-deep: #97645c;
  --rose-wash: #f2e3df;
  --line: #e7ddce;
  --sage: #8a9a85;
  --shadow: 0 1px 2px rgba(54, 48, 41, 0.05), 0 8px 24px rgba(54, 48, 41, 0.06);
  --radius: 14px;
  --maxw: 1080px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* fix typo fallback */
:root { --cream-deep: #f2ebdf; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.68;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 550;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 2em 0 0.6em; }
h3 { font-size: 1.28rem; margin: 1.8em 0 0.5em; }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ---------- Barre de navigation ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--rose);
  display: inline-block;
  flex: none;
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--rose-wash); color: var(--rose-deep); text-decoration: none; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 2px;
  }
  .nav-links a { padding: 11px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  #navcheck:checked ~ .nav-links { display: flex; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; font-weight: 700; color: var(--ink-soft);
    font-size: 0.95rem; padding: 6px 8px;
  }
}

/* ---------- Hero / bandeaux ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 82% 8%, var(--rose-wash) 0%, rgba(242,227,223,0) 55%),
    linear-gradient(180deg, var(--paper), var(--cream));
  border-bottom: 1px solid var(--line);
  padding: 62px 0 54px;
}
.hero .kicker { color: var(--rose-deep); }
.hero p.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--rose-deep);
  margin: 0 0 14px;
}

/* Vignette illustrée (remplace une photo) */
.thumb {
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.thumb.tall { aspect-ratio: 4 / 5; }
.thumb svg { width: 100%; height: 100%; display: block; }

.feature-figure {
  margin: 0 0 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-figure .thumb { border: 0; border-radius: 0; aspect-ratio: 21 / 9; }
figcaption {
  font-size: 0.85rem;
  color: var(--ink-faint);
  padding: 9px 14px;
  background: var(--paper);
}

/* ---------- Grilles de cartes ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(54,48,41,0.1); }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card h3 a { color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.card .tag {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--rose-deep);
}

.pillar-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 26px;
  box-shadow: var(--shadow);
}
.pillar h3 { margin: 6px 0 8px; }
.pillar h3 a { color: var(--ink); }
.pillar ul { margin: 12px 0 0; padding: 0; list-style: none; }
.pillar li { padding: 5px 0; border-top: 1px solid var(--line); }
.pillar li:first-child { border-top: 0; }
.pillar li a { font-weight: 600; }
.pillar .glyph {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--rose-wash); color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center;
}
.pillar .glyph svg { width: 24px; height: 24px; }

/* ---------- Corps d'article ---------- */
.article { padding: 44px 0 20px; }
.article .meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: 0 0 26px;
}
.article-body { font-size: 1.06rem; }
.article-body h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.article-body li { margin: 0.35em 0; }
.article-body strong { color: var(--ink); }

blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--rose);
  color: var(--ink-soft);
  font-style: italic;
}

.callout {
  background: var(--rose-wash);
  border: 1px solid #e6cfc9;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.8em 0;
}
.callout.safety {
  background: #fbf1e6;
  border-color: #edd9bf;
}
.callout .label {
  font-weight: 800; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; display: block; margin-bottom: 6px;
  color: var(--rose-deep);
}
.callout.safety .label { color: #a76a2e; }
.callout p:last-child { margin-bottom: 0; }

.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin: 0 0 18px; }
.breadcrumb a { color: var(--ink-soft); }

/* Bloc d'auteur */
.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 34px 0;
}
.author-box .avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: var(--rose-wash); overflow: hidden; border: 1px solid var(--line);
}
.author-box .avatar svg { width: 100%; height: 100%; }
.author-box .name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.author-box p { font-size: 0.92rem; color: var(--ink-soft); margin: 4px 0 0; }

/* verdict des avis */
.verdict {
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.8em 0;
}
.verdict h3 { margin: 0 0 8px; }

.pros-cons { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin: 1.6em 0; }
@media (max-width: 620px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons .col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.pros-cons h4 { margin: 0 0 8px; font-size: 1rem; }
.pros-cons ul { margin: 0; padding-left: 1.1em; }
.pros-cons li { font-size: 0.95rem; }

/* Bandeau confiance */
.trust {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 12px 0;
}
.trust .item { display: flex; gap: 12px; align-items: flex-start; }
.trust .item svg { width: 26px; height: 26px; color: var(--rose-deep); flex: none; margin-top: 3px; }
.trust .item h4 { margin: 0 0 3px; font-size: 1.02rem; }
.trust .item p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Boutons / liens d'action éditoriaux (pas commerciaux) */
.btn {
  display: inline-block;
  background: var(--rose-deep);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn:hover { background: var(--rose); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--rose-deep); border: 1.5px solid var(--rose); }
.btn.ghost:hover { background: var(--rose-wash); }

section { margin: 46px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.section-head a { font-weight: 700; font-size: 0.92rem; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: #d8cfc2;
  margin-top: 64px;
  padding: 48px 0 34px;
  font-size: 0.94rem;
}
.site-footer a { color: #ecdfd6; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-note { border-top: 1px solid #4a4239; margin-top: 32px; padding-top: 20px; color: #a99f92; font-size: 0.85rem; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: 10px; display: flex; gap: 9px; align-items: center; }
.footer-brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rose); }
.no-ads { display: inline-block; border: 1px solid #4a4239; border-radius: 999px; padding: 4px 12px; font-size: 0.78rem; color: #cdbfb0; margin-top: 8px; }
