/* BDX Guides — front (hub + page guide). Charte BDX, Inter (déjà chargé par le thème). */
.bdxg-single, .bdxg-archive{ --g-accent:#FCAF3B; --g-dark:#E2941F; --ink:#1a1a1a; --muted:#5a5a5a;
  max-width:1160px; margin:0 auto; padding:32px 20px 64px; color:var(--ink);
  font-family:'Inter',system-ui,sans-serif; }
.bdxg-eyebrow{ display:inline-block; font-weight:700; font-size:12px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--g-dark); }

/* ---- page guide ---- */
.bdxg-wrap{ display:grid; grid-template-columns:1fr 360px; gap:44px; align-items:start; }
.bdxg-back{ display:inline-block; color:var(--muted); text-decoration:none; font-weight:600;
  font-size:14px; margin-bottom:14px; }
.bdxg-title{ font-size:40px; line-height:1.08; font-weight:800; letter-spacing:-.02em; margin:6px 0 14px; }
.bdxg-excerpt{ font-size:18px; line-height:1.5; color:var(--muted); margin-bottom:26px; }
.bdxg-body{ font-size:16.5px; line-height:1.72; }
.bdxg-body h2{ font-size:25px; font-weight:800; letter-spacing:-.01em; margin:38px 0 12px;
  padding-top:6px; }
.bdxg-body h2::before{ content:""; display:block; width:44px; height:4px; border-radius:2px;
  background:var(--g-accent); margin-bottom:14px; }
.bdxg-body h3{ font-size:19px; font-weight:700; margin:26px 0 8px; }
.bdxg-body p{ margin:0 0 14px; } .bdxg-body ul,.bdxg-body ol{ margin:0 0 16px 22px; }
.bdxg-body li{ margin-bottom:6px; }
.bdxg-body a{ color:var(--g-dark); font-weight:600; }
.bdxg-body strong{ font-weight:700; }
.bdxg-body table{ width:100%; border-collapse:collapse; margin:16px 0; font-size:15px; }
.bdxg-body th{ background:var(--ink); color:#fff; text-align:left; padding:9px 12px; }
.bdxg-body td{ padding:9px 12px; border-bottom:1px solid #eee; }
.bdxg-body blockquote{ background:#fff7ea; border-left:4px solid var(--g-accent); margin:18px 0;
  padding:14px 18px; border-radius:0 8px 8px 0; }
.bdxg-cta-bottom{ margin-top:38px; background:#faf9f7; border:1px solid #eee; border-radius:14px;
  padding:22px 26px; }
.bdxg-cta-bottom p{ margin:0 0 12px; font-weight:600; }
.bdxg-btn{ display:inline-block; background:var(--g-dark); color:#fff !important; text-decoration:none;
  font-weight:700; font-size:15px; padding:12px 22px; border-radius:10px; border:none; cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.14); }
.bdxg-btn:hover{ filter:brightness(1.06); }

/* ---- colonne capture ---- */
.bdxg-side{ position:sticky; top:24px; }
.bdxg-card{ background:#fff; border:1px solid #ececec; border-radius:18px; overflow:hidden;
  box-shadow:0 10px 34px rgba(0,0,0,.08); }
.bdxg-cover{ background:linear-gradient(135deg,#f6f6f6,#efefef); }
.bdxg-cover img{ width:100%; display:block; }
.bdxg-form-in{ padding:20px 22px 24px; }
.bdxg-form-in h2{ font-size:19px; font-weight:800; margin:6px 0 12px; }
.bdxg-bullets{ list-style:none; margin:0 0 16px; padding:0; }
.bdxg-bullets li{ position:relative; padding-left:24px; margin-bottom:8px; font-size:14.5px; }
.bdxg-bullets li::before{ content:"✓"; position:absolute; left:0; color:var(--g-dark); font-weight:800; }
.bdxg-fields input[type=email]{ width:100%; box-sizing:border-box; padding:12px 14px; border:1.5px solid #ddd;
  border-radius:10px; font-size:15px; font-family:inherit; }
.bdxg-fields input[type=email]:focus{ border-color:var(--g-accent); outline:none; }
.bdxg-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.bdxg-submit{ width:100%; margin-top:10px; }
.bdxg-rgpd{ font-size:11.5px; color:#8a8a8a; line-height:1.45; margin:12px 0 0; }
.bdxg-err{ color:#c0392b; font-size:13px; margin:8px 0 0; }
.bdxg-done{ text-align:center; padding:8px 0; }
.bdxg-check{ width:52px; height:52px; border-radius:50%; background:var(--g-accent); color:#fff;
  font-size:26px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:4px auto 12px; }
.bdxg-done-msg{ font-weight:600; margin:0 0 16px; }

/* ---- hub ---- */
.bdxg-hero{ text-align:center; max-width:760px; margin:0 auto 38px; }
.bdxg-hero h1{ font-size:38px; font-weight:800; letter-spacing:-.02em; line-height:1.1; margin:10px 0 12px; }
.bdxg-hero p{ font-size:18px; color:var(--muted); }
.bdxg-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.bdxg-cardlink{ display:flex; flex-direction:column; background:#fff; border:1px solid #ececec;
  border-radius:16px; overflow:hidden; text-decoration:none; color:var(--ink);
  box-shadow:0 6px 20px rgba(0,0,0,.06); transition:transform .15s, box-shadow .15s; }
.bdxg-cardlink:hover{ transform:translateY(-4px); box-shadow:0 14px 32px rgba(0,0,0,.12); }
.bdxg-card-cover{ aspect-ratio:1/1.414; overflow:hidden; background:#f4f4f4; }
.bdxg-card-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.bdxg-card-body{ padding:16px 18px 20px; }
.bdxg-tag{ display:inline-block; font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; color:#fff; background:var(--g-accent); padding:3px 9px; border-radius:20px; }
.bdxg-card-body h2{ font-size:18px; font-weight:800; line-height:1.2; margin:10px 0 6px; }
.bdxg-card-body p{ font-size:14px; color:var(--muted); line-height:1.5; margin:0 0 12px; }
.bdxg-more{ font-weight:700; color:var(--g-dark); font-size:14px; }
.bdxg-empty{ grid-column:1/-1; text-align:center; color:var(--muted); padding:60px 0; }

@media(max-width:880px){
  .bdxg-wrap{ grid-template-columns:1fr; } .bdxg-side{ position:static; order:-1; }
  .bdxg-grid{ grid-template-columns:1fr 1fr; } .bdxg-title{ font-size:32px; }
}
@media(max-width:560px){ .bdxg-grid{ grid-template-columns:1fr; } }
