/* SellerPrint — Blog
   Réutilise la palette et la police du site principal (index.html) */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --primary:#667eea;--secondary:#764ba2;
  --gradient:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  --dark:#1a1a2e;--bg:#f8f9ff;--shadow:0 8px 30px rgba(102,126,234,.1);--r:16px;
}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;background:var(--bg);color:var(--dark);line-height:1.7}

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

/* ── Header (identique à index.html) ── */
header.site{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.1rem 5vw;background:#fff;box-shadow:var(--shadow);
  position:sticky;top:0;z-index:10;flex-wrap:wrap;gap:.8rem;
}
header.site .logo{font-weight:800;font-size:1.3rem;color:var(--dark)}
header.site .logo span{background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
header.site nav{display:flex;gap:1.4rem;flex-wrap:wrap;font-weight:600;font-size:.92rem}
header.site nav a{color:var(--dark)}
header.site nav a:hover{color:var(--primary);text-decoration:none}

/* ── Fil d'ariane ── */
.crumb{max-width:760px;margin:1.4rem auto 0;padding:0 1.2rem;font-size:.82rem;color:#777}
.crumb a{color:#777}
.crumb a:hover{color:var(--primary)}

/* ── Article ── */
article.post{max-width:760px;margin:0 auto;padding:1.6rem 1.2rem 4rem}
article.post .cat-tag{
  display:inline-block;background:#eef0ff;color:var(--primary);
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:.3rem .7rem;border-radius:20px;margin-bottom:1rem;
}
article.post h1{font-size:1.9rem;font-weight:800;line-height:1.25;margin-bottom:.6rem}
article.post .meta{font-size:.85rem;color:#888;margin-bottom:2rem}
article.post h2{font-size:1.3rem;font-weight:700;margin:2.2rem 0 .8rem;color:var(--dark)}
article.post p{margin-bottom:1.1rem;color:#3a3a4a}
article.post ul,article.post ol{margin:0 0 1.1rem 1.3rem;color:#3a3a4a}
article.post li{margin-bottom:.5rem}
article.post strong{color:var(--dark)}
article.post .lead{font-size:1.08rem;color:#555}

/* ── Bloc produit lié ── */
.product-plug{
  background:#fff;border-radius:var(--r);box-shadow:var(--shadow);
  padding:1.3rem 1.5rem;margin:1.8rem 0;display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
}
.product-plug .txt{flex:1 1 200px}
.product-plug .txt strong{display:block;font-size:1rem;margin-bottom:.2rem}
.product-plug .txt span{font-size:.85rem;color:#777}
.product-plug a.cta{
  padding:.65rem 1.3rem;background:var(--gradient);color:#fff;border-radius:50px;
  font-weight:700;font-size:.88rem;white-space:nowrap;
}
.product-plug a.cta:hover{opacity:.9;text-decoration:none}

/* ── CTA fin d'article ── */
.end-cta{
  background:#fff;border-radius:var(--r);box-shadow:var(--shadow);
  padding:2rem;text-align:center;margin-top:2.5rem;
}
.end-cta h3{font-size:1.15rem;margin-bottom:.6rem}
.end-cta p{color:#777;margin-bottom:1.2rem}
.end-cta a.cta{
  display:inline-block;padding:.85rem 2rem;background:var(--gradient);color:#fff;
  border-radius:50px;font-weight:700;font-size:.95rem;
}
.end-cta a.cta:hover{opacity:.9;text-decoration:none}

/* ── Articles liés ── */
.related{max-width:760px;margin:2rem auto 0;padding:0 1.2rem}
.related h3{font-size:.95rem;text-transform:uppercase;letter-spacing:.04em;color:#888;margin-bottom:.8rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.related-grid a{
  display:block;background:#fff;border-radius:var(--r);box-shadow:var(--shadow);
  padding:1rem 1.1rem;color:var(--dark);font-weight:600;font-size:.88rem;
}
.related-grid a:hover{text-decoration:none;transform:translateY(-2px)}
.related-grid a span{display:block;font-weight:400;font-size:.78rem;color:#888;margin-top:.3rem}

/* ── Index du blog ── */
.blog-hero{text-align:center;padding:3rem 1.2rem 1.5rem;max-width:700px;margin:0 auto}
.blog-hero h1{font-size:2rem;font-weight:800;margin-bottom:.6rem}
.blog-hero p{color:#666;font-size:1.02rem}
.blog-grid{
  max-width:1000px;margin:2rem auto 4rem;padding:0 1.2rem;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.3rem;
}
.blog-card{
  background:#fff;border-radius:var(--r);box-shadow:var(--shadow);
  padding:1.4rem 1.5rem;display:flex;flex-direction:column;
}
.blog-card .cat-tag{
  display:inline-block;background:#eef0ff;color:var(--primary);
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:.25rem .6rem;border-radius:20px;margin-bottom:.7rem;align-self:flex-start;
}
.blog-card h2{font-size:1.05rem;font-weight:700;line-height:1.3;margin-bottom:.5rem}
.blog-card p{font-size:.85rem;color:#777;flex:1;margin-bottom:.9rem}
.blog-card a.read-more{font-weight:700;font-size:.85rem}

/* ── Footer ── */
footer.site{text-align:center;padding:2rem 1rem;color:#999;font-size:.82rem}
footer.site a{color:#999}

@media (max-width:640px){
  header.site{padding:1rem 4vw}
  article.post h1{font-size:1.55rem}
  .blog-hero h1{font-size:1.6rem}
}
