:root{
  --bg0:#07110c;
  --bg1:#0b1a12;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.14);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  --accent: #8ff2b8;   /* vert kombucha */
  --accent2:#ffd18a;   /* miel / thé */
  --danger:#ff9aa2;

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);

  --max: 980px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 8%, rgba(143,242,184,.18), transparent 62%),
    radial-gradient(820px 440px at 88% 0%, rgba(255,209,138,.14), transparent 58%),
    radial-gradient(950px 600px at 70% 95%, rgba(143,242,184,.10), transparent 64%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(7,17,12,.88), rgba(7,17,12,.60));
  border-bottom: 1px solid var(--line);
}

.brand{ padding: 18px 0 10px; }
.brand-title{
  font-weight: 850;
  letter-spacing:.2px;
  font-size: 18px;
}
.brand-sub{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.nav{
  padding: 0 0 16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 13px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
  text-decoration:none;
}

main{ padding: 22px 0 56px; }

/* Hero / intro */
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}
.hero-card h1{
  margin:0 0 10px;
  font-size: 30px;
  line-height: 1.12;
}
.hero-card p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Post card */
.post{
  margin-top: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  padding: 16px;
  overflow:hidden;
}

.post-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
  margin-bottom: 10px;
}
.post-title{
  margin:0;
  font-size: 20px;
  letter-spacing:.1px;
}
.post-meta{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.post-body{
  color: rgba(255,255,255,.88);
  font-size: 15.5px;
  line-height: 1.65;
}
.post-body p{ margin: 10px 0; }

/* Images */
.post-body img{
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  overflow: hidden;
  transition: transform .15s ease;
}
.post-body img:hover {
  transform: scale(1.01);
}
.post-body figure{ margin: 12px 0; }
.post-body figcaption{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.post-body img,
figure img {
  border-radius: 16px;
  overflow: hidden;
}

/* Lists & quotes */
.post-body ul, .post-body ol{ padding-left: 22px; }
.post-body li{ margin: 6px 0; }

.post-body blockquote{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
}
.post-body blockquote p{ margin:0; }

/* “Recette / sécurité” callouts */
.callout{
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.callout strong{ color: var(--accent2); }

hr{
  border:0;
  border-top: 1px solid rgba(255,255,255,.14);
  margin: 18px 0;
}

/* Bottom navigation (prev/next) */
.nav-bottom{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top: 16px;
}
.btn{
  flex: 1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 750;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.26);
  text-decoration:none;
}
.btn.secondary{ color: var(--muted); font-weight: 700; }

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  background: rgba(0,0,0,.16);
}
.foot-note{
  color: var(--muted);
  font-size: 12px;
}

/* Small screens */
@media (max-width: 700px){
  .post-head{ flex-direction: column; align-items:flex-start; }
  .post-meta{ white-space: normal; }
  .hero-card h1{ font-size: 26px; }
  .nav-bottom{ flex-direction: column; }
}

figure,
.post-body figure {
  max-width: 760px; /* ou 720 / 800 selon ton goût */
  margin: 16px auto;
}

figure img,
.post-body img {
  width: 100%;
  height: auto;
}

