/* BDX — Inspiration hub. Chargé uniquement sur /inspiration/. */
body.page-id-5836 .bdx-content { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; padding: 0 clamp(12px, 2vw, 28px); }
body.page-id-5836 .bdx-page-content { max-width: 100% !important; width: 100%; }
body.page-id-5836 .bdx-page-body { background: none; border: none; padding: 0; box-shadow: none; width: 100%; box-sizing: border-box; }

.bdxih { color: #111827; padding-bottom: 56px; }

/* ── Hero immersif : défilé de modèles derrière un voile sombre ── */
.bdxih-hero { position: relative; overflow: hidden; border-radius: 22px; background: #111827; margin-bottom: 30px; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.bdxih-marquees { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: .45; }
.bdxih-marquee { overflow: hidden; }
.bdxih-track { display: flex; gap: 16px; width: max-content; animation: bdxihScroll 70s linear infinite; }
.bdxih-marquee-rev .bdxih-track { animation-direction: reverse; animation-duration: 85s; }
@keyframes bdxihScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bdxih-track { animation: none; } }
.bdxih-mini { width: 170px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.bdxih-mini svg, .bdxih-mini img { display: block; width: 100%; height: auto; }
.bdxih-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(17,24,39,.55) 0%, rgba(17,24,39,.88) 75%); }
.bdxih-hero-in { position: relative; z-index: 2; text-align: center; padding: 60px 24px; max-width: 780px; }
.bdxih-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #FCAF3B; margin-bottom: 12px; }
.bdxih-hero-in h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin: 0 0 14px; line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.bdxih-hero-in p { color: rgba(255,255,255,.88); font-size: 16.5px; line-height: 1.6; margin: 0 0 22px; }
.bdxih-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.bdxih-stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bdxih-stats span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; }
.bdxih-stats strong { font-weight: 800; margin-right: 4px; color: #FCAF3B; }

/* Boutons partagés */
.bdxih-btn { display: inline-block; padding: 12px 22px; border-radius: 11px; font-size: 14.5px; font-weight: 800; text-decoration: none !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.4); transition: border-color .15s, color .15s, transform .15s, background .15s; }
.bdxih-btn:hover { border-color: #FCAF3B; color: #FCAF3B !important; transform: translateY(-1px); }
.bdxih-btn-plein { background: #FCAF3B; border-color: #FCAF3B; color: #111 !important; box-shadow: 0 6px 24px rgba(252,175,59,.4); }
.bdxih-btn-plein:hover { background: #f5a017; color: #111 !important; }

/* ── Univers : têtes + rails horizontaux ── */
.bdxih-univ { margin-bottom: 30px; }
.bdxih-univ-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.bdxih-univ-head h2 { font-size: 20px; font-weight: 900; color: #111; margin: 0; }
.bdxih-univ-head p { font-size: 13.5px; color: #6b7280; margin: 2px 0 0; }
.bdxih-univ-nav { display: flex; align-items: center; gap: 8px; }
.bdxih-univ-nav a { font-size: 13.5px; font-weight: 800; color: #b45309; text-decoration: none; margin-left: 6px; }
.bdxih-univ-nav a:hover { text-decoration: underline; }
.bdxih-arrow { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid #e5e7eb; background: #fff; font-size: 15px; cursor: pointer; color: #374151; transition: border-color .15s, transform .15s; }
.bdxih-arrow:hover { border-color: #FCAF3B; transform: translateY(-1px); }
.bdxih-rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.bdxih-rail::-webkit-scrollbar { height: 8px; }
.bdxih-rail::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* Cartes des rails */
.bdxih-card { position: relative; flex: 0 0 230px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bdxih-card:hover { border-color: #FCAF3B; box-shadow: 0 8px 24px rgba(0,0,0,.09); transform: translateY(-3px); }
/* Vignette à hauteur FIXE : les formats très verticaux (roll-ups) ne déforment plus le rail. */
.bdxih-thumb { background: #f1f3f5; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; box-sizing: border-box; }
.bdxih-thumb svg, .bdxih-thumb img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.bdxih-card-body { display: flex; flex-direction: column; flex: 1; }
.bdxih-perso { margin-top: auto; }
.bdxih-badge { position: absolute; top: 10px; left: 10px; background: rgba(17,24,39,.75); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 10.5px; font-weight: 700; }
.bdxih-card-body { padding: 12px 14px 14px; }
.bdxih-card-name { font-size: 13px; font-weight: 800; color: #111; line-height: 1.3; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdxih-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.bdxih-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.12); cursor: pointer; padding: 0; }
.bdxih-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #FCAF3B; }
.bdxih-perso { display: block; text-align: center; background: #FCAF3B; color: #111 !important; font-size: 13px; font-weight: 800; padding: 9px 10px; border-radius: 9px; text-decoration: none !important; transition: background .15s; }
.bdxih-perso:hover { background: #f5a017; }

/* ── Bande CTA + atelier + suivre ── */
.bdxih-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, #111827, #1f2937 55%, #374151); border-radius: 16px; padding: 22px 26px; margin: 4px 0 30px; position: relative; overflow: hidden; }
.bdxih-cta::before { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(252,175,59,.28), transparent 70%); }
.bdxih-cta-txt { display: flex; flex-direction: column; gap: 4px; position: relative; }
.bdxih-cta-txt strong { color: #fff; font-size: 17px; font-weight: 800; }
.bdxih-cta-txt span { color: rgba(255,255,255,.75); font-size: 13.5px; }
.bdxih-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.bdxih-cta .bdxih-btn { padding: 10px 18px; font-size: 13.5px; }
.bdxih-atelier { margin-bottom: 26px; }
.bdxih-suivre { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 20px 26px; }
.bdxih-suivre h2 { font-size: 17px; font-weight: 800; color: #111; margin: 0 0 4px; }
.bdxih-suivre p { font-size: 13px; color: #6b7280; margin: 0; }
.bdxih-social { display: flex; gap: 8px; flex-wrap: wrap; }
.bdxih-social a { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; color: #374151; text-decoration: none; transition: border-color .15s, color .15s, transform .15s; }
.bdxih-social a:hover { border-color: #FCAF3B; color: #b45309; transform: translateY(-1px); }

@media (max-width: 640px) {
  .bdxih-hero { min-height: 400px; }
  .bdxih-card { flex-basis: 190px; }
}
