/* =================================================================
   Bib+ — Styles spécifiques aux pages SEO & légales
   Complète site.css (mêmes tokens). À charger APRÈS site.css.
   ================================================================= */

/* ---------- Breadcrumb ---------- */
.breadcrumb{padding:18px 0 0;}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  font-family:'Geist Mono',monospace;font-size:12.5px;color:var(--ink-3);font-weight:500;}
.breadcrumb a{color:var(--ink-2);transition:color .2s;}
.breadcrumb a:hover{color:var(--ink);}
.breadcrumb .sepc{opacity:.5;}
.breadcrumb [aria-current]{color:var(--ink);}

/* ---------- Page hero (SEO) ---------- */
.page-hero{padding:34px 0 64px;overflow:hidden;}
.page-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;}
.page-hero h1{font-size:clamp(34px,4.4vw,58px);font-weight:700;line-height:1.04;letter-spacing:-.03em;margin:18px 0 0;text-wrap:balance;}
.page-hero h1 .grad{background:var(--aurora);-webkit-background-clip:text;background-clip:text;color:transparent;}
.page-hero .lead{font-size:clamp(17px,1.6vw,20px);color:var(--ink-2);margin:20px 0 28px;max-width:520px;text-wrap:pretty;}
.page-hero .stores{margin-bottom:16px;}
.page-hero-visual{display:flex;justify-content:center;position:relative;min-height:520px;align-items:center;}
.page-hero-visual .hero-glow{width:480px;height:480px;}

/* tag chips under hero */
.taglist{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;}
.taglist .tag{font-family:'Geist Mono',monospace;font-size:12px;font-weight:500;letter-spacing:.3px;
  color:var(--ink-2);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 13px;box-shadow:var(--sh-sm);}

/* ---------- Prose (rich content) ---------- */
.prose{max-width:760px;margin:0 auto;}
.prose.wide{max-width:860px;}
.prose h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;line-height:1.1;letter-spacing:-.025em;margin:0 0 18px;text-wrap:balance;}
.prose h3{font-size:21px;font-weight:700;letter-spacing:-.02em;margin:36px 0 10px;}
.prose p{font-size:17.5px;color:var(--ink-2);margin:0 0 18px;line-height:1.7;text-wrap:pretty;}
.prose p strong{color:var(--ink);font-weight:600;}
.prose ul{list-style:none;margin:0 0 22px;display:flex;flex-direction:column;gap:12px;}
.prose ul li{position:relative;padding-left:30px;font-size:16.5px;color:var(--ink);line-height:1.55;}
.prose ul li::before{content:"";position:absolute;left:4px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--aurora);}
.prose a.inl{color:#7E5BC4;font-weight:600;border-bottom:1.5px solid rgba(126,91,196,.3);}
.prose a.inl:hover{border-color:#7E5BC4;}

/* callout */
.callout{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:26px 28px;box-shadow:var(--sh-sm);margin:8px 0 26px;display:flex;gap:16px;align-items:flex-start;}
.callout .ci{width:46px;height:46px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:23px;}
.callout .ct h4{font-size:17px;font-weight:700;letter-spacing:-.01em;}
.callout .ct p{font-size:15.5px;color:var(--ink-2);margin:6px 0 0;line-height:1.6;}

/* ---------- Related pages (internal linking) ---------- */
.related{padding:88px 0;}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px;}
.rel-card{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:24px 24px 22px;box-shadow:var(--sh-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease);}
.rel-card:hover{transform:translateY(-4px);box-shadow:var(--sh);}
.rel-card .ri{width:48px;height:48px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:23px;}
.rel-card h3{font-size:19px;font-weight:700;letter-spacing:-.02em;}
.rel-card p{font-size:14.5px;color:var(--ink-2);line-height:1.5;flex:1;}
.rel-card .more{font-size:14px;font-weight:600;color:#7E5BC4;display:flex;align-items:center;gap:6px;margin-top:2px;}

/* ---------- Legal pages ---------- */
.legal-head{padding:40px 0 28px;border-bottom:1px solid var(--line);margin-bottom:40px;}
.legal-head h1{font-size:clamp(32px,4vw,50px);font-weight:700;letter-spacing:-.03em;line-height:1.05;margin:14px 0 0;}
.legal-head .upd{font-family:'Geist Mono',monospace;font-size:13px;color:var(--ink-3);margin-top:14px;}
.legal{max-width:780px;margin:0 auto;padding-bottom:80px;}
.legal .toc{background:var(--surface-2);border-radius:var(--r);padding:22px 26px;margin-bottom:40px;}
.legal .toc h2{font-size:13px;font-family:'Geist Mono',monospace;letter-spacing:1.5px;text-transform:uppercase;color:var(--ink-3);margin-bottom:12px;}
.legal .toc ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:7px;}
.legal .toc a{font-size:15.5px;color:var(--ink-2);font-weight:500;}
.legal .toc a:hover{color:var(--ink);}
.legal section{margin-bottom:38px;scroll-margin-top:100px;}
.legal h2.lh{font-size:23px;font-weight:700;letter-spacing:-.02em;margin-bottom:14px;display:flex;align-items:baseline;gap:12px;}
.legal h2.lh .ln{font-family:'Geist Mono',monospace;font-size:15px;color:var(--ink-3);font-weight:500;}
.legal h3{font-size:17px;font-weight:700;margin:22px 0 8px;}
.legal p{font-size:16.5px;color:var(--ink-2);line-height:1.7;margin-bottom:14px;text-wrap:pretty;}
.legal ul{margin:0 0 16px;padding-left:4px;list-style:none;display:flex;flex-direction:column;gap:9px;}
.legal ul li{position:relative;padding-left:24px;font-size:16px;color:var(--ink-2);line-height:1.55;}
.legal ul li::before{content:"";position:absolute;left:2px;top:9px;width:7px;height:7px;border-radius:2px;background:var(--violet);}
.legal a.inl{color:#7E5BC4;font-weight:600;}
.legal .ph{background:rgba(232,193,95,.14);color:#9a7b1f;font-weight:600;border-radius:6px;padding:1px 7px;font-size:.92em;}
.legal-note{background:rgba(242,166,90,.1);border:1px solid rgba(242,166,90,.3);border-radius:var(--r);padding:20px 24px;margin-bottom:36px;font-size:15px;color:#9a6a28;line-height:1.6;}
.legal-note strong{color:#7a5018;}

@media (max-width:980px){
  .page-hero-grid{grid-template-columns:1fr;gap:14px;text-align:center;}
  .page-hero .lead{margin-left:auto;margin-right:auto;}
  .page-hero .stores,.page-hero .taglist,.breadcrumb ol{justify-content:center;}
  .page-hero-visual{min-height:auto;margin-top:22px;}
  .related-grid{grid-template-columns:1fr;}
}

/* =================================================================
   BLOG — index & articles
   ================================================================= */
.blog-hero{padding:30px 0 8px;text-align:center;}
.blog-hero .kicker{justify-content:center;}
.blog-hero h1{font-size:clamp(34px,4.4vw,56px);font-weight:700;letter-spacing:-.03em;line-height:1.05;margin:16px auto 0;max-width:760px;text-wrap:balance;}
.blog-hero p{font-size:clamp(17px,1.6vw,20px);color:var(--ink-2);margin:18px auto 0;max-width:560px;text-wrap:pretty;}

/* category chip */
.cat-chip{display:inline-flex;align-items:center;gap:7px;font-family:'Geist Mono',monospace;font-size:11.5px;font-weight:500;
  letter-spacing:.4px;color:var(--ink-2);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:5px 11px;}
.cat-chip .cd{width:7px;height:7px;border-radius:50%;}
.cd-amber{background:var(--amber);}.cd-rose{background:var(--rose);}.cd-violet{background:var(--violet);}
.cd-blue{background:var(--blue);}.cd-green{background:var(--green);}.cd-gold{background:var(--gold);}

/* post cover (tinted panel) */
.post-cover{position:relative;border-radius:var(--r);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--surface-2);}
.post-cover .emoji{font-size:64px;filter:drop-shadow(0 6px 14px rgba(33,30,42,.12));position:relative;z-index:1;}
.post-cover .cglow{position:absolute;width:75%;height:160%;border-radius:50%;filter:blur(8px);opacity:.7;}
.cover-amber{background:linear-gradient(135deg,rgba(242,166,90,.18),rgba(232,193,95,.1));}
.cover-rose{background:linear-gradient(135deg,rgba(245,140,168,.18),rgba(181,140,255,.1));}
.cover-violet{background:linear-gradient(135deg,rgba(169,139,240,.2),rgba(116,194,255,.1));}
.cover-blue{background:linear-gradient(135deg,rgba(116,180,232,.2),rgba(111,203,154,.08));}
.cover-green{background:linear-gradient(135deg,rgba(111,203,154,.2),rgba(232,193,95,.1));}

/* featured */
.featured{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;margin:36px 0 70px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px;box-shadow:var(--sh-sm);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);}
.featured:hover{transform:translateY(-3px);box-shadow:var(--sh);}
.featured .post-cover{aspect-ratio:16/11;height:100%;min-height:300px;}
.featured .post-cover .emoji{font-size:88px;}
.featured .fc-body{padding:8px 18px 8px 6px;}
.featured h2{font-size:clamp(24px,2.6vw,34px);font-weight:700;letter-spacing:-.025em;line-height:1.12;margin:16px 0 0;text-wrap:balance;}
.featured p{font-size:16.5px;color:var(--ink-2);margin:14px 0 0;line-height:1.6;}
.post-meta{display:flex;align-items:center;gap:10px;margin-top:18px;font-family:'Geist Mono',monospace;font-size:12.5px;color:var(--ink-3);}
.post-meta .dot{width:4px;height:4px;border-radius:50%;background:var(--ink-3);opacity:.5;}

/* grid */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  box-shadow:var(--sh-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease);}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--sh);}
.post-card .post-cover{aspect-ratio:16/10;}
.post-card .pc-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:11px;flex:1;}
.post-card h3{font-size:20px;font-weight:700;letter-spacing:-.02em;line-height:1.18;text-wrap:balance;}
.post-card p{font-size:14.5px;color:var(--ink-2);line-height:1.55;flex:1;}

/* ---------- Article page ---------- */
.article-head{max-width:760px;margin:0 auto;padding:20px 0 0;text-align:center;}
.article-head h1{font-size:clamp(30px,4vw,50px);font-weight:700;letter-spacing:-.03em;line-height:1.06;margin:16px auto 0;text-wrap:balance;}
.article-head .post-meta{justify-content:center;margin-top:20px;}
.article-cover{width:100%;max-width:980px;margin:40px auto 0;border-radius:var(--r-lg);aspect-ratio:21/9;min-height:240px;}
.article-cover .emoji{font-size:110px;}
.article-body{max-width:720px;margin:0 auto;padding:48px 0 10px;}
.article-body h2{font-size:clamp(24px,2.6vw,32px);font-weight:700;letter-spacing:-.025em;line-height:1.15;margin:42px 0 14px;text-wrap:balance;}
.article-body h3{font-size:20px;font-weight:700;letter-spacing:-.02em;margin:30px 0 8px;}
.article-body p{font-size:18px;color:var(--ink-2);line-height:1.72;margin:0 0 18px;text-wrap:pretty;}
.article-body p strong{color:var(--ink);font-weight:600;}
.article-body ul{list-style:none;margin:0 0 22px;display:flex;flex-direction:column;gap:12px;}
.article-body ul li{position:relative;padding-left:30px;font-size:17px;color:var(--ink);line-height:1.55;}
.article-body ul li::before{content:"";position:absolute;left:4px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--aurora);}
.article-body a.inl{color:#7E5BC4;font-weight:600;border-bottom:1.5px solid rgba(126,91,196,.3);}
.article-body a.inl:hover{border-color:#7E5BC4;}
.article-body .callout{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:24px 26px;box-shadow:var(--sh-sm);margin:26px 0;display:flex;gap:15px;align-items:flex-start;}
.article-body .callout .ci{width:44px;height:44px;border-radius:13px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:22px;}
.article-body .callout h4{font-size:16.5px;font-weight:700;}
.article-body .callout p{font-size:15.5px;margin:6px 0 0;line-height:1.6;}

/* in-article CTA */
.article-cta{margin:40px auto;max-width:720px;background:var(--aurora);border-radius:var(--r);padding:30px 32px;color:#fff;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 44px rgba(165,118,255,.3);}
.article-cta::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.25),transparent 55%);}
.article-cta .acx{position:relative;z-index:1;}
.article-cta h4{font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.15;}
.article-cta p{font-size:15px;color:rgba(255,255,255,.9);margin-top:6px;}
.article-cta .btn{position:relative;z-index:1;background:#fff;color:var(--ink);flex-shrink:0;box-shadow:0 6px 16px rgba(33,30,42,.16);}
.article-cta .btn:hover{transform:translateY(-2px);}

.article-disclaimer{max-width:720px;margin:18px auto 0;font-size:13.5px;color:var(--ink-3);line-height:1.6;text-align:center;font-style:italic;}

@media (max-width:980px){
  .featured{grid-template-columns:1fr;}
  .featured .post-cover{width:100%;height:auto;min-height:220px;aspect-ratio:16/9;}
  .post-grid{grid-template-columns:1fr;}
  .article-cta{flex-direction:column;align-items:flex-start;}
}
