/* ============================================================
   BOUNCING BALL — Design system (dark cinema + orange)
   ============================================================ */

:root{
  --bb-orange:#F7931E;
  --bb-orange-2:#FFB23E;
  --bb-orange-deep:#E07C0A;
  --bb-black:#0b0b0d;
  --bb-bg:#101013;
  --bb-surface:#17171c;
  --bb-surface-2:#1e1e25;
  --bb-border:rgba(255,255,255,.09);
  --bb-text:#f5f5f7;
  --bb-muted:#a2a2ad;
  --bb-display:'Oswald',Impact,sans-serif;
  --bb-body:'Inter',system-ui,Arial,sans-serif;
  --bb-maxw:1200px;
  --bb-radius:16px;
  --bb-shadow:0 18px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bb-bg);color:var(--bb-text);
  font-family:var(--bb-body);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--bb-orange);text-decoration:none;transition:color .2s}
a:hover{color:var(--bb-orange-2)}
h1,h2,h3,h4{font-family:var(--bb-display);font-weight:600;line-height:1.08;margin:0 0 .4em;letter-spacing:.5px}
h1{font-size:clamp(2.4rem,6vw,4.6rem);text-transform:uppercase}
h2{font-size:clamp(1.9rem,4vw,3rem);text-transform:uppercase}
h3{font-size:clamp(1.3rem,2.4vw,1.7rem)}
p{margin:0 0 1rem}
.bb-container{max-width:var(--bb-maxw);margin:0 auto;padding:0 22px}
.bb-section{padding:88px 0}
.bb-section--tight{padding:56px 0}
.bb-center{text-align:center}
.bb-muted{color:var(--bb-muted)}
.bb-orange{color:var(--bb-orange)}
.bb-eyebrow{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:3px;
  color:var(--bb-orange);font-size:.95rem;font-weight:600;margin-bottom:10px;display:block}
.bb-lead{font-size:1.15rem;color:var(--bb-muted);max-width:760px}
.bb-center .bb-lead{margin-left:auto;margin-right:auto}
section.bb-alt{background:var(--bb-surface)}

/* ---------- Buttons ---------- */
.bb-btn{display:inline-flex;align-items:center;gap:.55em;font-family:var(--bb-display);
  text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:1rem;
  padding:15px 30px;border-radius:50px;border:2px solid transparent;cursor:pointer;
  transition:transform .15s ease,box-shadow .2s,background .2s,color .2s;line-height:1}
.bb-btn:hover{transform:translateY(-2px)}
.bb-btn--primary{background:var(--bb-orange);color:#15110a;box-shadow:0 5px 16px rgba(247,147,30,.18)}
.bb-btn--primary:hover{background:var(--bb-orange-2);color:#15110a}
.bb-btn--ghost{border-color:rgba(255,255,255,.28);color:var(--bb-text);background:transparent}
.bb-btn--ghost:hover{border-color:var(--bb-orange);color:var(--bb-orange)}
.bb-btn--discord{background:#5865F2;color:#fff;box-shadow:0 5px 16px rgba(88,101,242,.22)}
.bb-btn--discord:hover{background:#6b76f5;color:#fff}
.bb-btn--sm{padding:11px 20px;font-size:.85rem}
.bb-btn--block{display:flex;width:100%;justify-content:center}

/* ---------- Header ---------- */
.bb-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:transparent;border-bottom:1px solid transparent;
  transition:background .35s ease,border-color .35s ease,backdrop-filter .35s ease,box-shadow .35s ease}
.bb-header.is-scrolled{background:rgba(9,9,11,.6);backdrop-filter:blur(18px) saturate(150%);
  border-bottom:1px solid var(--bb-border);box-shadow:0 10px 34px rgba(0,0,0,.4)}
.admin-bar .bb-header{top:32px}
/* Sur mobile, la barre d'admin WP passe en position absolue (elle défile avec la page) :
   on garde donc l'en-tête collé en haut pour éviter un trou de 46px au défilement.
   (La barre d'admin ne concerne que les utilisateurs connectés, jamais les visiteurs.) */
@media(max-width:782px){.admin-bar .bb-header{top:0}}
/* La barre est fixe et transparente : on décale le contenu, sauf les pages à hero plein écran */
main#bb-content{padding-top:78px}
body.home main#bb-content,
body.single-formation main#bb-content,
body.tax-discipline main#bb-content{padding-top:0}
.bb-header__inner{display:flex;align-items:center;gap:24px;height:78px;
  max-width:var(--bb-maxw);margin:0 auto;padding:0 22px}
.bb-logo{display:flex;align-items:center;flex:0 0 auto}
.bb-logo img{height:60px;width:auto}
.bb-logo .bb-logo__text{font-family:var(--bb-display);font-size:1.5rem;color:var(--bb-orange);
  text-transform:uppercase;letter-spacing:1px}
.bb-nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.bb-nav a.bb-nav__link{color:var(--bb-text);font-weight:500;font-size:1rem}
.bb-nav a.bb-nav__link:hover{color:var(--bb-orange)}
.bb-nav .menu{display:flex;gap:26px;list-style:none;margin:0;padding:0}
.bb-nav .menu a{color:var(--bb-text);font-weight:500}
.bb-nav .menu a:hover{color:var(--bb-orange)}
.bb-header__cta{display:flex;align-items:center;gap:12px}
.bb-burger{display:none;background:none;border:0;cursor:pointer;width:42px;height:42px;
  flex-direction:column;justify-content:center;gap:6px}
.bb-burger span{display:block;height:3px;width:26px;background:var(--bb-text);border-radius:3px;transition:.25s}
.bb-mobile{display:none}

@media(max-width:980px){
  .bb-nav,.bb-header__cta .bb-btn{display:none}
  .bb-burger{display:flex}
  .bb-mobile{display:block;position:fixed;inset:78px 0 auto 0;background:var(--bb-black);
    border-bottom:1px solid var(--bb-border);transform:translateY(-120%);transition:transform .3s;z-index:999}
  .bb-mobile.is-open{transform:translateY(0)}
  .bb-mobile ul{list-style:none;margin:0;padding:14px 22px}
  .bb-mobile li{border-bottom:1px solid var(--bb-border)}
  .bb-mobile a{display:block;padding:16px 0;color:var(--bb-text);font-family:var(--bb-display);
    text-transform:uppercase;letter-spacing:1px}
  .bb-mobile .bb-btn{margin:16px 0;display:flex;justify-content:center}
}

/* ---------- Hero ---------- */
.bb-hero{position:relative;min-height:88vh;display:flex;align-items:center;
  background:#000 center/cover no-repeat;overflow:hidden}
.bb-hero__media{position:absolute;inset:0;z-index:0;background:#000}
.bb-hero__media img,.bb-hero__media video{width:100%;height:100%;object-fit:cover;opacity:.92}
/* La vidéo reste invisible (fond noir) tant qu'elle n'est pas prête à jouer,
   puis apparaît en fondu. À défaut de vidéo qui démarre : écran noir, jamais
   d'image pixelisée. */
.bb-hero__media video{opacity:0;transition:opacity .5s ease}
.bb-hero__media video.is-ready{opacity:.92}
.bb-hero::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(8,8,10,.6) 0%,rgba(8,8,10,.26) 40%,rgba(8,8,10,.04) 72%,rgba(8,8,10,0) 100%),
             linear-gradient(0deg,var(--bb-bg) 0%,rgba(11,11,13,0) 38%)}
.bb-hero__yt{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.bb-hero__yt iframe{position:absolute;top:50%;left:50%;width:100vw;height:56.25vw;
  min-height:100%;min-width:177.78vh;transform:translate(-50%,-50%);border:0}
.bb-hero__inner{position:relative;z-index:2;max-width:var(--bb-maxw);margin:0 auto;padding:60px 22px;width:100%}
.bb-hero h1{max-width:14ch}
.bb-hero h1 .bb-orange{color:var(--bb-orange)}
.bb-hero__sub{font-size:1.25rem;color:#e7e7ea;max-width:620px;margin:0 0 30px}
.bb-hero__actions{display:flex;flex-wrap:wrap;gap:14px}
.bb-hero__badge{display:inline-block;background:rgba(247,147,30,.14);border:1px solid rgba(247,147,30,.4);
  color:var(--bb-orange-2);font-family:var(--bb-display);text-transform:uppercase;letter-spacing:2px;
  font-size:.85rem;padding:8px 16px;border-radius:50px;margin-bottom:22px}

/* ---------- Stats / trust ---------- */
.bb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.bb-stat__num{font-family:var(--bb-display);font-size:2.6rem;color:var(--bb-orange);line-height:1}
.bb-stat__label{color:var(--bb-muted);font-size:.95rem;text-transform:uppercase;letter-spacing:1px}
@media(max-width:680px){.bb-stats{grid-template-columns:repeat(2,1fr)}}

/* ---------- Logos studios (marquee) ---------- */
.bb-logos{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.bb-logos__track{display:flex;gap:92px;align-items:center;width:max-content;animation:bb-scroll 55s linear infinite}
.bb-logos:hover .bb-logos__track{animation-play-state:paused}
.bb-logos img{height:128px;width:auto;opacity:.85;filter:brightness(0) invert(1);transition:opacity .2s}
.bb-logos img:hover{opacity:1}
/* Carrousel : masquer la scrollbar native */
.bb-carousel__track{scrollbar-width:none;-ms-overflow-style:none}
.bb-carousel__track::-webkit-scrollbar{display:none}
@keyframes bb-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Cards grid ---------- */
.bb-grid{display:grid;gap:26px}
.bb-grid--3{grid-template-columns:repeat(3,1fr)}
.bb-grid--4{grid-template-columns:repeat(4,1fr)}
.bb-grid--2{grid-template-columns:repeat(2,1fr)}
@media(max-width:1000px){.bb-grid--4{grid-template-columns:repeat(2,1fr)}.bb-grid--3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.bb-grid--2,.bb-grid--3,.bb-grid--4{grid-template-columns:1fr}}

.bb-card{background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:var(--bb-radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,border-color .2s,box-shadow .2s}
.bb-card:hover{transform:translateY(-6px);border-color:rgba(247,147,30,.5);box-shadow:var(--bb-shadow)}
.bb-card__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#000}
.bb-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.bb-card:hover .bb-card__media img{transform:scale(1.06)}
.bb-card__tag{position:absolute;top:12px;left:12px;background:var(--bb-orange);color:#15110a;
  font-family:var(--bb-display);text-transform:uppercase;letter-spacing:1px;font-size:.72rem;
  padding:5px 12px;border-radius:50px}
.bb-card__tag--best{background:#fff;color:#111}
.bb-card__body{padding:22px;display:flex;flex-direction:column;gap:8px;flex:1}
.bb-card__body h3{margin:0}
.bb-card__meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--bb-muted);font-size:.88rem;margin:2px 0 6px}
.bb-card__meta span{display:inline-flex;align-items:center;gap:5px}
.bb-card__price{font-family:var(--bb-display);color:var(--bb-orange);font-size:1.35rem}
.bb-card__desc{color:var(--bb-muted);font-size:.96rem;flex:1}
.bb-card__foot{margin-top:14px}

/* ---------- Discipline section header ---------- */
.bb-sectionhead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:36px;flex-wrap:wrap}
.bb-sectionhead p{margin:0}

/* ---------- Mentors ---------- */
.bb-mentor{position:relative;display:block;border-radius:var(--bb-radius);overflow:hidden;aspect-ratio:3/4;background:#000;transform:translateZ(0)}
.bb-mentor__media{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;transform:translateZ(0)}
.bb-mentor img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
/* Degrade noir pose sur le media (pas sur le texte) : il zoome donc avec
   l image au survol, alors que le nom/role/studio restent nets et fixes. */
.bb-mentor__media::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,0) 54%);
  transition:transform .4s;transform-origin:center}
.bb-mentor:hover img,
.bb-mentor:hover .bb-mentor__media::after{transform:scale(1.05)}
.bb-mentor__info{position:absolute;inset:auto 0 0 0;z-index:1;padding:20px}
.bb-mentor__info h3{margin:0;font-size:1.25rem}
.bb-mentor__info .role{color:var(--bb-orange-2);font-size:.9rem}
.bb-mentor__info .studio{color:var(--bb-muted);font-size:.82rem}

/* ---------- Pricing / Reviews packs ---------- */
.bb-price{background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:var(--bb-radius);padding:34px 28px;display:flex;flex-direction:column}
.bb-price--feat{border-color:var(--bb-orange);box-shadow:0 0 0 1px var(--bb-orange) inset, var(--bb-shadow)}
.bb-price__name{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:2px;color:var(--bb-orange)}
.bb-price__amount{font-family:var(--bb-display);font-size:2.6rem;margin:8px 0}
.bb-price__amount small{font-size:1rem;color:var(--bb-muted)}
.bb-price ul{list-style:none;margin:18px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.bb-price li{padding-left:28px;position:relative;color:#dcdce0;font-size:.96rem}
.bb-price li::before{content:"✓";position:absolute;left:0;color:var(--bb-orange);font-weight:700}
.bb-price .bb-btn{margin-top:auto}

/* ---------- Testimonials ---------- */
.bb-quote{background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:var(--bb-radius);padding:28px}
.bb-quote p{font-style:italic;color:#e3e3e6}
.bb-quote__who{display:flex;align-items:center;gap:12px;margin-top:16px}
.bb-quote__who img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.bb-quote__who b{display:block}
.bb-quote__who span{color:var(--bb-muted);font-size:.85rem}

/* ---------- Discord band ---------- */
.bb-discord{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  background:linear-gradient(120deg,rgba(88,101,242,.16),rgba(88,101,242,.05));
  border:1px solid rgba(88,101,242,.35);border-radius:18px;padding:24px 30px;position:relative;overflow:hidden}
.bb-discord__txt{max-width:680px}
.bb-discord h3{font-size:1.35rem}
.bb-discord p{color:#cfd0ea}
@media(max-width:600px){.bb-discord{flex-direction:column;align-items:flex-start}}

/* ---------- CTA band ---------- */
.bb-cta-band{background:linear-gradient(120deg,#2a1606,#3a1f08);border:1px solid rgba(247,147,30,.35);
  border-radius:24px;padding:56px;text-align:center}

/* ---------- Single formation hero ---------- */
.bb-fhero{position:relative;min-height:60vh;display:flex;align-items:flex-end;background:#000 center/cover no-repeat}
.bb-fhero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,11,13,.5),rgba(11,11,13,.95))}
.bb-fhero__inner{position:relative;z-index:2;max-width:var(--bb-maxw);margin:0 auto;padding:60px 22px;width:100%}
.bb-pricebox{display:grid;grid-template-columns:1.4fr 1fr;gap:30px;align-items:start}
@media(max-width:820px){.bb-pricebox{grid-template-columns:1fr}}
.bb-article{font-size:1.05rem}
.bb-article h2,.bb-article h3{margin-top:1.4em}
.bb-article ul{padding-left:1.2em}
.bb-article img{border-radius:12px;margin:1em 0}

/* ---------- Contact / form ---------- */
.bb-form{background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:var(--bb-radius);padding:32px;display:grid;gap:16px}
.bb-form label{font-size:.9rem;color:var(--bb-muted);display:block;margin-bottom:6px}
.bb-form input,.bb-form select,.bb-form textarea{width:100%;background:var(--bb-bg);border:1px solid var(--bb-border);
  border-radius:10px;padding:13px 15px;color:var(--bb-text);font-family:var(--bb-body);font-size:1rem}
.bb-form input:focus,.bb-form select:focus,.bb-form textarea:focus{outline:none;border-color:var(--bb-orange)}
.bb-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:560px){.bb-form .row2{grid-template-columns:1fr}}
.bb-hp{position:absolute;left:-9999px}
.bb-details{border:1px solid var(--bb-border);border-radius:10px;background:var(--bb-bg);overflow:hidden}
.bb-details>summary{cursor:pointer;padding:13px 15px;color:var(--bb-text);list-style:none;user-select:none}
.bb-details>summary::-webkit-details-marker{display:none}
.bb-details>summary::after{content:"▾";float:right;color:var(--bb-muted)}
.bb-details[open]>summary::after{content:"▴"}
.bb-details select{border:0;border-top:1px solid var(--bb-border);border-radius:0}

/* ---------- Calendrier de prise de RDV ---------- */
.bb-cal{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;background:var(--bb-bg);border:1px solid var(--bb-border);border-radius:12px;padding:18px}
.bb-cal__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.bb-cal__head button{background:none;border:1px solid var(--bb-border);color:var(--bb-text);width:34px;height:34px;border-radius:8px;cursor:pointer;font-size:1.1rem;line-height:1}
.bb-cal__head button:hover:not(:disabled){border-color:var(--bb-orange);color:var(--bb-orange)}
.bb-cal__head button:disabled{opacity:.3;cursor:default}
.bb-cal__month{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:1px;font-size:1.05rem}
.bb-cal__days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.bb-cal__wd{text-align:center;color:var(--bb-muted);font-size:.66rem;text-transform:uppercase;letter-spacing:.5px;padding:2px 0}
.bb-cal__cell{aspect-ratio:1;border:1px solid transparent;background:none;color:var(--bb-muted);border-radius:9px;cursor:default;font-size:.9rem;font-family:var(--bb-body)}
.bb-cal__cell.is-empty{visibility:hidden}
.bb-cal__cell.is-avail{color:var(--bb-text);border-color:var(--bb-border);cursor:pointer}
.bb-cal__cell.is-avail:hover{border-color:var(--bb-orange);color:var(--bb-orange)}
.bb-cal__cell.is-sel{background:var(--bb-orange);color:#15110a;border-color:var(--bb-orange);font-weight:700}
.bb-cal__hint{color:var(--bb-muted);font-size:.86rem;line-height:1.5}
.bb-cal__sel{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:.5px;color:var(--bb-orange);margin:0 0 12px}
.bb-cal__slots{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bb-cal__slot{padding:12px 8px;border:1px solid var(--bb-border);background:none;color:var(--bb-text);border-radius:10px;cursor:pointer;font-weight:600;font-family:var(--bb-body)}
.bb-cal__slot:hover{border-color:var(--bb-orange);color:var(--bb-orange)}
.bb-cal__slot.is-sel{background:var(--bb-orange);color:#15110a;border-color:var(--bb-orange)}
@media(max-width:680px){.bb-cal{grid-template-columns:1fr}}
.bb-alert{padding:14px 18px;border-radius:10px;margin-bottom:20px}
.bb-alert--ok{background:rgba(46,160,67,.16);border:1px solid rgba(46,160,67,.5);color:#9be7a8}
.bb-alert--err{background:rgba(220,60,60,.16);border:1px solid rgba(220,60,60,.5);color:#f0a3a3}

/* ---------- Footer ---------- */
.bb-footer{background:var(--bb-black);border-top:1px solid var(--bb-border);padding:64px 0 28px}
.bb-footer__top{display:grid;grid-template-columns:1.1fr 1.5fr;gap:48px;align-items:start}
.bb-footer__brand{max-width:460px}
.bb-footer__mission{color:var(--bb-muted);font-size:.9rem;line-height:1.7;text-align:justify}
.bb-footer__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.bb-footer__legal{display:flex;gap:16px;flex-wrap:wrap}
@media(max-width:880px){.bb-footer__top{grid-template-columns:1fr;gap:30px}}
@media(max-width:520px){.bb-footer__cols{grid-template-columns:1fr}}
.bb-footer h4{font-size:1rem;text-transform:uppercase;letter-spacing:1px;color:#fff}
.bb-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.bb-footer a{color:var(--bb-muted)}
.bb-footer a:hover{color:var(--bb-orange)}
.bb-footer__logo img{height:46px;margin-bottom:14px}
.bb-social{display:flex;gap:12px;margin-top:14px}
.bb-social a{width:42px;height:42px;border-radius:50%;border:1px solid var(--bb-border);
  display:flex;align-items:center;justify-content:center;color:var(--bb-text)}
.bb-social a:hover{background:var(--bb-orange);color:#15110a;border-color:var(--bb-orange)}
.bb-social svg{width:20px;height:20px;fill:currentColor}
.bb-footer__bottom{margin-top:46px;padding-top:22px;border-top:1px solid var(--bb-border);
  color:var(--bb-muted);font-size:.85rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bb-footer__bottom a{color:var(--bb-muted)}

/* ---------- Breadcrumb / small ---------- */
.bb-back{display:inline-flex;align-items:center;gap:6px;color:var(--bb-muted);font-size:.9rem;margin-bottom:18px}

/* ---------- Card foot (labels + bouton) ---------- */
.bb-card__foot{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.bb-card__labels{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bb-card__type{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:1px;font-size:.7rem;
  color:var(--bb-muted);border:1px solid var(--bb-border);padding:4px 11px;border-radius:50px;white-space:nowrap}
.bb-card__type--annee{color:#15110a;background:var(--bb-orange);border-color:var(--bb-orange)}

/* ---------- Catalogue : lexique sticky ---------- */
.bb-archive{display:grid;grid-template-columns:230px 1fr;gap:46px;align-items:start}
.bb-lexicon{position:sticky;top:96px;display:flex;flex-direction:column;gap:8px}
.admin-bar .bb-lexicon{top:128px}
.bb-lexicon a.is-active{border-color:var(--bb-orange);color:var(--bb-orange)}
.bb-lexicon a{padding:13px 18px;border-radius:12px;border:1px solid var(--bb-border);color:var(--bb-text);
  font-family:var(--bb-display);text-transform:uppercase;letter-spacing:1px;font-size:.92rem;transition:.2s}
.bb-lexicon a:hover{border-color:var(--bb-orange);color:var(--bb-orange);transform:translateX(3px)}
.bb-lexicon__cta{background:var(--bb-orange);color:#15110a !important;border-color:var(--bb-orange) !important;text-align:center;margin-top:8px}
.bb-lexicon__cta:hover{background:var(--bb-orange-2);transform:none !important}
.bb-group{padding-top:10px;margin-bottom:54px}
.bb-group h2,.bb-group{scroll-margin-top:100px}
@media(max-width:880px){
  .bb-archive{grid-template-columns:1fr;gap:24px}
  .bb-lexicon{position:static;flex-direction:row;flex-wrap:wrap}
  .bb-lexicon a{flex:1 1 auto;text-align:center;font-size:.8rem;padding:10px 12px}
}

/* ---------- Inclus (premium, sans emoji) ---------- */
.bb-incl{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bb-incl__item{display:flex;gap:12px;align-items:flex-start;padding:20px;border:1px solid var(--bb-border);border-radius:14px;background:rgba(255,255,255,.02)}
.bb-incl__check{flex:0 0 28px;height:28px;border-radius:50%;background:rgba(247,147,30,.16);color:var(--bb-orange);display:flex;align-items:center;justify-content:center;font-weight:700}
.bb-incl__item b{display:block;margin-bottom:3px}
.bb-incl__item p{margin:0;color:var(--bb-muted);font-size:.9rem;line-height:1.5}
@media(max-width:880px){.bb-incl{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.bb-incl{grid-template-columns:1fr}}

/* ---------- Encadré année complète (premium) ---------- */
.bb-anneehero{display:grid;grid-template-columns:1.05fr 1fr;gap:0;border:1px solid var(--bb-border);
  border-radius:20px;overflow:hidden;background:var(--bb-surface)}
.bb-anneehero__media{position:relative;min-height:320px;background:#000}
.bb-anneehero__media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.bb-anneehero__body{padding:40px 38px;display:flex;flex-direction:column;justify-content:center}
.bb-anneehero__meta{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:18px;color:var(--bb-muted)}
.bb-anneehero__price{font-family:var(--bb-display);color:var(--bb-orange);font-size:1.5rem}
@media(max-width:820px){.bb-anneehero{grid-template-columns:1fr}.bb-anneehero__media{min-height:220px;position:relative}}

/* ---------- Vignettes modules (fines) ---------- */
/* Une seule ligne sous la vignette du parcours annuel : les cartes se reduisent
   pour tenir dans la largeur (minmax(0,1fr)), donc aucune n est tronquee ni cachee. */
.bb-modgrid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px;padding-bottom:6px}
.bb-modgrid::-webkit-scrollbar{display:none}
.bb-mod{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--bb-border);background:#000;
  display:block;text-decoration:none;aspect-ratio:4/5;transition:transform .3s,border-color .3s,box-shadow .3s}
.bb-mod:hover{transform:translateY(-4px);border-color:var(--bb-orange);box-shadow:0 16px 40px rgba(0,0,0,.45)}
.bb-mod img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bb-mod:hover img{transform:scale(1.06)}
.bb-mod__body{position:absolute;inset:auto 0 0 0;padding:16px 14px;background:linear-gradient(0deg,rgba(0,0,0,.92),transparent)}
.bb-mod__body b{display:block;color:#fff;font-size:1rem;line-height:1.2}
.bb-mod__body i{font-style:normal;color:var(--bb-muted);font-size:.8rem}

/* ---------- Fiche formation : encadré collant + programme ---------- */
.bb-pricebox > aside{position:sticky;top:100px}
.bb-formprog{margin-top:34px;border-top:1px solid var(--bb-border);padding-top:26px}
.bb-formprog__title{font-size:1.6rem;margin-top:4px}
.bb-finfos{margin:16px 0 4px;border-top:1px solid var(--bb-border);padding-top:14px;display:flex;flex-direction:column;gap:10px}
.bb-finfos__row{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.bb-finfos__row span{color:var(--bb-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.6px}
.bb-finfos__row strong{text-align:right;font-size:.95rem}
.bb-finfos__deadline{color:var(--bb-muted);font-size:.8rem;margin-top:2px;display:flex;align-items:center;gap:6px}
.bb-finfos__deadline::before{content:"⏳";font-size:.85rem;filter:saturate(0)}
@media(max-width:820px){.bb-pricebox > aside{position:static}}

/* ---------- Concept : piliers premium ---------- */
.bb-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.bb-pillar{padding:30px 24px;border:1px solid var(--bb-border);border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));position:relative;transition:border-color .25s,transform .25s}
.bb-pillar:hover{border-color:rgba(247,147,30,.45);transform:translateY(-4px)}
.bb-pillar::before{content:"";position:absolute;top:0;left:24px;right:24px;height:2px;background:var(--bb-orange);opacity:.85}
.bb-pillar__n{font-family:var(--bb-display);font-size:1.05rem;color:var(--bb-orange);letter-spacing:3px}
.bb-pillar h4{font-family:var(--bb-display);font-size:1.2rem;margin:12px 0 10px;text-transform:none;letter-spacing:0}
.bb-pillar p{color:var(--bb-muted);font-size:.95rem;margin:0;line-height:1.6}
@media(max-width:980px){.bb-pillars{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.bb-pillars{grid-template-columns:1fr}}

/* ---------- Lecteur YouTube (démo) ---------- */
.bb-ytframe{position:relative;width:100%;max-width:1000px;margin:0 auto;aspect-ratio:16/9;
  border-radius:18px;overflow:hidden;border:1px solid var(--bb-border);box-shadow:var(--bb-shadow)}
.bb-ytframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- Carrousel mentors en vedette + mosaïque films ---------- */
.bb-mfeat{position:relative;border-radius:22px;overflow:hidden;border:1px solid var(--bb-border);background:#0c0c0f}
.bb-mfeat__bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;
  transition:opacity 1s ease;filter:blur(7px) brightness(.55) saturate(1.05);transform:scale(1.06)}
.bb-mfeat__bg.is-show{opacity:.7}
.bb-mfeat::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(12,12,15,.92),rgba(12,12,15,.5))}
.bb-mfeat__inner{position:relative;z-index:2;padding:28px 0 36px}
.bb-mfeat__track{display:flex;gap:16px;overflow-x:auto;align-items:center;scroll-snap-type:x mandatory;
  padding:34px max(16px,calc(50% - 118px)) 12px;scrollbar-width:none}
.bb-mfeat__track::-webkit-scrollbar{display:none}
.bb-mfeat__card{flex:0 0 196px;scroll-snap-align:center;position:relative;border-radius:16px;overflow:hidden;
  aspect-ratio:3/4;border:1px solid var(--bb-border);background:#000;text-decoration:none;transform:scale(.6) translateY(26px);opacity:.4;
  transition:transform .5s cubic-bezier(.2,.7,.2,1),opacity .5s,box-shadow .5s}
.bb-mfeat__card img{width:100%;height:100%;object-fit:cover;filter:grayscale(.55);transition:filter .4s}
.bb-mfeat__card.is-active{transform:scale(1.05) translateY(0);opacity:1;box-shadow:0 0 0 3px var(--bb-orange),0 26px 60px rgba(0,0,0,.6);z-index:3}
.bb-mfeat__card.is-active img{filter:none}
.bb-mfeat__cap{position:absolute;left:0;right:0;bottom:0;padding:18px 14px 12px;display:flex;flex-direction:column;gap:1px;
  background:linear-gradient(0deg,rgba(0,0,0,.96),transparent);opacity:0;transition:opacity .4s}
.bb-mfeat__card.is-active .bb-mfeat__cap{opacity:1}
.bb-mfeat__cap b{font-family:var(--bb-display);text-transform:uppercase;letter-spacing:.5px;font-size:1rem;color:#fff;line-height:1.12}
.bb-mfeat__cap i{font-style:normal;font-size:.78rem;color:var(--bb-orange-2)}
.bb-mfeat__cap em{font-style:normal;font-size:.72rem;color:var(--bb-muted)}
.bb-mfeat__nav{display:flex;gap:10px;justify-content:center;margin-top:4px}

/* ---------- Mosaïque filmographie (page mentor) ---------- */
/* Grille pilotée par le nombre d'affiches : lignes équilibrées + centrage.
   --bb-filmo-cols(-t/-m) sont calculés côté PHP selon le nombre d'affiches. */
.bb-filmo{--bb-filmo-w:205px;display:grid;
  grid-template-columns:repeat(var(--bb-filmo-cols,5),minmax(0,var(--bb-filmo-w)));
  justify-content:center;gap:16px}
.bb-filmo img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px;
  border:1px solid var(--bb-border);background:#0c0c0f;display:block;
  transition:transform .3s,box-shadow .3s}
.bb-filmo img:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 14px 30px rgba(0,0,0,.5)}
@media(max-width:900px){.bb-filmo{grid-template-columns:repeat(var(--bb-filmo-cols-t,3),minmax(0,var(--bb-filmo-w)))}}
@media(max-width:560px){.bb-filmo{gap:12px;grid-template-columns:repeat(var(--bb-filmo-cols-m,2),minmax(0,1fr))}}

/* ---------- Avis : cartes de hauteur égale ---------- */
.bb-carousel__track{align-items:stretch}
.bb-carousel__track > div{display:flex}
.bb-quote{height:100%;display:flex;flex-direction:column}
.bb-quote p{display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}
.bb-quote__who{margin-top:auto}

/* ---------- Fix taille logo ---------- */
.bb-logo img,
.bb-logo .custom-logo,
.bb-header .custom-logo{height:60px !important;width:auto !important;max-height:60px !important}
.bb-logo .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.bb-footer__logo img,
.bb-footer__logo .custom-logo{height:60px !important;width:auto !important;max-height:60px !important}

/* ---------- Barre d'action fixe (mobile) ---------- */
.bb-mobilecta{display:none}
@media(max-width:980px){
  .bb-mobilecta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:900;gap:8px;
    padding:10px;background:rgba(11,11,13,.96);border-top:1px solid var(--bb-border);backdrop-filter:blur(10px)}
  .bb-mobilecta .bb-btn{flex:1;justify-content:center;padding:13px 10px}
  body{padding-bottom:74px}
}

/* ---------- Disciplines : bandeau de cartes fines ---------- */
.bb-discstrip{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.bb-disc{position:relative;aspect-ratio:3/4.3;border-radius:14px;overflow:hidden;border:1px solid var(--bb-border);display:block;background:#000}
.bb-disc img{width:100%;height:100%;object-fit:cover;filter:none;transition:transform .55s ease}
.bb-disc{transition:border-color .3s,box-shadow .3s,transform .3s}
.bb-disc:hover{border-color:var(--bb-orange);box-shadow:0 0 0 1px var(--bb-orange),0 18px 44px rgba(247,147,30,.18);transform:translateY(-4px)}
.bb-disc:hover img{transform:scale(1.06)}
.bb-disc__name{position:absolute;inset:auto 0 0 0;padding:16px 14px;font-family:var(--bb-display);
  text-transform:uppercase;letter-spacing:1px;font-size:1.02rem;color:#fff;line-height:1.15;
  background:linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.15) 70%,transparent)}
.bb-disc__name::after{content:"";display:block;width:0;height:2px;background:var(--bb-orange);margin-top:9px;transition:width .4s ease}
.bb-disc:hover .bb-disc__name::after{width:40px}
@media(max-width:900px){.bb-discstrip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .bb-discstrip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .bb-disc{flex:0 0 68%;scroll-snap-align:start}
  .bb-discstrip::-webkit-scrollbar{display:none}
}

/* ---------- Hero premium (lisibilité) ---------- */
.bb-hero{min-height:72vh;max-height:780px}
.bb-hero h1{font-size:clamp(2.9rem,7.5vw,5.4rem);text-shadow:0 2px 34px rgba(0,0,0,.65)}
.bb-hero__sub{font-size:1.32rem;color:#fff;text-shadow:0 1px 18px rgba(0,0,0,.7);max-width:640px}
.bb-hero__badge{backdrop-filter:blur(4px);background:rgba(247,147,30,.18);border-color:rgba(247,147,30,.55)}

/* ---------- Nav premium (soulignement animé) ---------- */
.bb-nav .menu a{position:relative;letter-spacing:.3px}
.bb-nav .menu a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;
  background:var(--bb-orange);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .28s ease}
.bb-nav .menu a:hover::after{transform:scaleX(1)}

/* ---------- Utility ---------- */
.bb-mt0{margin-top:0}.bb-mb0{margin-bottom:0}
.bb-divider{height:1px;background:var(--bb-border);border:0;margin:0}

/* ============================================================
   CORRECTIFS RESPONSIVE (mobile / tablette)
   Ces règles n'ont aucun effet visible sur grand écran : elles
   autorisent seulement les éléments en grille à rétrécir au lieu
   de déborder (bug du « min-width:auto » sur les items de grille).
   ============================================================ */

/* Autorise les colonnes de grille à se réduire sous la largeur de leur
   contenu (sinon un sélecteur long, une image ou un carrousel force un
   débordement horizontal sur mobile). */
.bb-archive,
.bb-archive__content,
.bb-group,
.bb-pricebox,
.bb-pricebox > *,
.bb-anneehero,
.bb-anneehero__media,
.bb-anneehero__body,
.bb-form,
.bb-cal,
.bb-cal__grid,
.bb-cal__times,
.bb-modgrid,
.bb-discstrip,
.bb-mfeat__track,
.bb-carousel__track{ min-width:0; }

/* Le formulaire et ses champs ne doivent jamais dépasser leur colonne. */
.bb-form input,
.bb-form select,
.bb-form textarea,
.bb-form .bb-details,
.bb-form .bb-details select{ max-width:100%; }

/* Calendrier de RDV : les colonnes doivent pouvoir rétrécir (sinon les 7 jours
   débordent sur petit écran). minmax(0,1fr) = identique au bureau, sûr sur mobile. */
.bb-cal__days{ grid-template-columns:repeat(7,minmax(0,1fr)); }
.bb-cal__slots{ grid-template-columns:repeat(2,minmax(0,1fr)); }

/* Filets de sécurité globaux mobile : aucune image/vidéo/tableau ne déborde. */
@media (max-width:980px){
  img, video, iframe, table{ max-width:100%; }
  .bb-container{ overflow-wrap:break-word; }
}

/* Aération mobile : sections moins hautes, encadrés moins « gonflés »
   (uniquement sous 640px — le bureau n'est pas concerné). */
@media (max-width:640px){
  .bb-section{ padding:54px 0; }
  .bb-section--tight{ padding:36px 0; }
  .bb-cta-band{ padding:28px 20px; border-radius:18px; }
  .bb-cta-band h2{ font-size:1.5rem; }
  .bb-cta-band .bb-lead{ font-size:1rem; }
  .bb-discord{ padding:20px; gap:14px; }
  .bb-discord h3{ font-size:1.15rem; }
  .bb-form{ padding:24px; }
  .bb-price{ padding:26px 22px; }
}

/* --- Header mobile : bouton menu (burger) collé à droite (était « décroché ») --- */
@media (max-width:980px){
  .bb-burger{ margin-left:auto; }
}

/* --- Disciplines : vraie grille 2 colonnes sur mobile (fini le scroll horizontal) --- */
@media (max-width:560px){
  .bb-discstrip{ display:grid; grid-template-columns:1fr 1fr; gap:12px; overflow:visible; }
  .bb-disc{ flex:initial; aspect-ratio:3/4; scroll-snap-align:none; }
  .bb-disc__name{ font-size:.92rem; padding:12px 12px; }
  /* Élément orphelin (nombre impair) : occupe toute la largeur, en bandeau paysage. */
  .bb-discstrip .bb-disc:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:16/7; }
}

/* --- Modules (/formations/) : grille 2 colonnes entièrement visible (fini le scroll caché) --- */
@media (max-width:640px){
  .bb-modgrid{ display:grid; grid-template-columns:1fr 1fr; grid-auto-flow:row; grid-auto-columns:auto; gap:12px; overflow:visible; }
  .bb-mod{ aspect-ratio:4/5; }
  .bb-modgrid .bb-mod:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:16/7; }
}

/* --- Mentors : 2 colonnes sur mobile (cartes moins « énormes ») --- */
@media (max-width:640px){
  .bb-grid--4{ grid-template-columns:1fr 1fr; gap:14px; }
  .bb-mentor__info{ padding:14px; }
  .bb-mentor__info h3{ font-size:1.02rem; }
  .bb-mentor__info .role{ font-size:.78rem; }
  .bb-mentor__info .studio{ font-size:.7rem; }
  /* Mentor orphelin (nombre impair) : pleine largeur, cadrage haut pour garder le visage. */
  .bb-grid--4 .bb-mentor:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:16/9; }
  .bb-grid--4 .bb-mentor:last-child:nth-child(odd) img{ object-position:center 25%; }
}

/* --- Logos studios : plus grands et plus serrés sur mobile (ils étaient trop petits) --- */
@media (max-width:640px){
  .bb-logos__track{ gap:34px; }
  .bb-logos img{ height:74px; }
}

/* ============================================================
   FORMULAIRE — sélecteur de formations en « chips » + calendrier
   ============================================================ */

/* Chips des formations sélectionnées (au-dessus du sélecteur) */
.bb-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 10px; }
.bb-chips.is-empty{ display:block; color:var(--bb-muted); font-size:.86rem; font-style:italic; }
.bb-chip{ display:inline-flex; align-items:center; gap:8px; background:rgba(247,147,30,.14);
  border:1px solid rgba(247,147,30,.45); color:var(--bb-text); border-radius:50px;
  padding:6px 6px 6px 14px; font-size:.88rem; line-height:1.2; }
.bb-chip__x{ width:20px; height:20px; border:0; border-radius:50%; background:rgba(255,255,255,.12);
  color:#fff; cursor:pointer; font-size:14px; line-height:1; display:flex; align-items:center;
  justify-content:center; padding:0; transition:background .2s,color .2s; }
.bb-chip__x:hover{ background:var(--bb-orange); color:#15110a; }

/* Liste de cases à cocher premium (un clic = sélection, plus besoin de Ctrl+clic) */
.bb-multi .bb-multi__list{ border-top:1px solid var(--bb-border); max-height:320px; overflow-y:auto;
  padding:6px; scrollbar-width:thin; scrollbar-color:#3a3a44 transparent; }
.bb-multi .bb-multi__list::-webkit-scrollbar{ width:8px; }
.bb-multi .bb-multi__list::-webkit-scrollbar-thumb{ background:#3a3a44; border-radius:8px; border:2px solid var(--bb-bg); }
.bb-multi__group{ padding:10px 8px 4px; }
.bb-multi__group + .bb-multi__group{ border-top:1px solid var(--bb-border); margin-top:4px; }
.bb-multi__grouplabel{ display:block; font-family:var(--bb-display); text-transform:uppercase;
  letter-spacing:1.5px; font-size:.72rem; color:var(--bb-orange); margin:2px 6px 8px; }

/* .bb-form .bb-check (et pas seulement .bb-check) pour passer DEVANT la règle
   « .bb-form label { display:block } » qui sinon casse le flex (donc le gap + l'alignement). */
.bb-form .bb-check{ display:flex !important; align-items:center; gap:11px; padding:9px 12px; border-radius:10px;
  cursor:pointer; color:#dcdce0; font-size:.95rem; margin:0; transition:background .15s,color .15s; }
.bb-form .bb-check:hover{ background:rgba(255,255,255,.05); color:#fff; }
.bb-form .bb-check:has(input:checked){ background:rgba(247,147,30,.12); color:#fff; }
.bb-form .bb-check span{ flex:1 1 auto; }
/* Case à cocher dessinée, à la taille du texte, coche centrée.
   NB : on RÉINITIALISE width/padding car .bb-form input impose width:100% + padding:13px. */
.bb-check input[type=checkbox]{
  -webkit-appearance:none; appearance:none; box-sizing:border-box;
  flex:0 0 auto; width:18px; height:18px; min-width:18px; max-width:18px; margin:0; padding:0;
  border:1.5px solid #4a4a55; border-radius:4px; background:var(--bb-bg); cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; line-height:1;
  transition:background .15s,border-color .15s,box-shadow .15s; }
.bb-check:hover input[type=checkbox]{ border-color:var(--bb-orange); }
.bb-check input[type=checkbox]:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(247,147,30,.35); }
.bb-check input[type=checkbox]:checked{ background:var(--bb-orange); border-color:var(--bb-orange); }
.bb-check input[type=checkbox]:checked::after{
  content:"\2713"; color:#15110a; font-size:11px; font-weight:700; line-height:1; }

/* Calendrier : centre parfaitement le numéro dans sa case (cadre orange aligné) */
.bb-cal__cell{ display:inline-flex; align-items:center; justify-content:center; padding:0; line-height:1; }
.bb-cal__wd{ display:flex; align-items:center; justify-content:center; }

/* (Le flou doux est désormais appliqué globalement à tous les boutons — voir .bb-btn--primary / --discord.) */

/* --- Piliers « Se former comme en studio » : accordéon sur mobile, déployés sur bureau --- */
.bb-pillar > summary{ list-style:none; cursor:pointer; display:block; }
.bb-pillar > summary::-webkit-details-marker{ display:none; }
.bb-pillar__head{ display:flex; flex-direction:column; gap:6px; }
@media (max-width:640px){
  .bb-pillars{ gap:12px; }
  .bb-pillar{ padding:18px 20px; }
  .bb-pillar > summary{ position:relative; padding-right:30px; }
  /* Chevron animé (plus premium qu'un +/−) */
  .bb-pillar > summary::after{
    content:""; position:absolute; right:4px; top:50%; margin-top:-7px;
    width:9px; height:9px;
    border-right:2px solid var(--bb-orange); border-bottom:2px solid var(--bb-orange);
    transform:rotate(45deg); transition:transform .3s ease;
  }
  .bb-pillar[open] > summary::after{ transform:rotate(-135deg); margin-top:-3px; }
  /* Accordéon : texte masqué si replié, affiché si ouvert (fiable tous navigateurs). */
  .bb-pillar > p{ display:none; }
  .bb-pillar[open] > p{ display:block; margin-top:12px; }
}
@media (min-width:641px){
  /* Bureau : toujours déployé, le clic ne replie pas, pas d'indicateur. */
  .bb-pillar > summary{ cursor:default; pointer-events:none; }
  .bb-pillar > p{ display:block !important; }
}

/* ====================================================================
 * Newsletter (bloc footer + barre de message après confirmation)
 * ================================================================== */
.bb-news{ display:flex; gap:34px; align-items:center; justify-content:space-between; flex-wrap:wrap;
  background:#15151a; border:1px solid #26262d; border-radius:16px; padding:26px 30px; margin:0 0 42px; }
.bb-news__txt{ flex:1 1 300px; }
.bb-news__txt h4{ margin:0 0 6px; font-size:1.15rem; }
.bb-news__txt p{ margin:0; color:#9a9aa6; font-size:.95rem; }
.bb-news__form{ flex:1 1 360px; }
.bb-news__row{ display:flex; gap:10px; flex-wrap:wrap; }
.bb-news__row input[type=email]{ flex:1 1 220px; background:#0b0b0d; border:1px solid #26262d; border-radius:10px;
  padding:13px 16px; color:#f5f5f7; font-size:1rem; }
.bb-news__row input[type=email]:focus{ outline:none; border-color:#F7931E; }
.bb-news__legal{ margin:10px 0 0; font-size:.78rem; color:#74747e; }
.bb-news__legal a{ color:#9a9aa6; text-decoration:underline; }
.bb-newsbar{ background:#F7931E; color:#15110a; font-weight:600; text-align:center; padding:12px 18px; }

/* Case de consentement du formulaire (RGPD) : alignement multi-lignes */
.bb-form .bb-check--consent{ align-items:flex-start; font-size:.88rem; line-height:1.5; color:#c9c9d1; }
.bb-form .bb-check--consent input{ margin-top:2px; flex:0 0 auto; }
.bb-form .bb-check--consent a{ color:#FFB23E; }

/* ============================================================
   Galerie mentors · accordeon interactif  [bb_mentors_accordion]
   Remplace l'ancien carrousel (bb-mfeat). Reprend la DA sombre/orange.
   Ouvert : portrait + nom + specialite. Ferme : specialite verticale
   + couleur propre. Fond : film phare (bb_cover) flou et sombre.
   ============================================================ */
.bb-macc{ display:flex; gap:44px; align-items:center; }
.bb-macc__text{ flex:1 1 38%; max-width:440px; }
.bb-macc__text .bb-lead{ max-width:none; }
/* Variante "galerie seule" (pages formation) : pas de colonne texte, pleine largeur. */
.bb-macc--bare{ display:block; }
/* Cadre resserre et centre : meme densite / fluidite que l'accordeon d'accueil,
   meme avec peu de mentors (bandes fermees fines qui s'ouvrent en grand). */
.bb-macc--bare .bb-macc__gallery{ width:100%; max-width:780px; margin-inline:auto; }
.bb-macc--bare .bb-macc__row{ justify-content:center; }
.bb-macc--bare .bb-macc__item{ max-width:130px; }
.bb-macc--bare .bb-macc__item.is-active{ max-width:420px; }
.bb-macc__gallery{ flex:1 1 62%; min-width:0; position:relative; border-radius:22px; overflow:hidden;
  border:1px solid var(--bb-border); background:#0c0c0f; padding:16px; }
.bb-macc__bg{ position:absolute; inset:0; z-index:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.08); filter:blur(9px) brightness(.5) saturate(1.05); transition:opacity .8s ease; }
.bb-macc__bg.is-show{ opacity:.82; }
.bb-macc__gallery::after{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(0deg, rgba(12,12,15,.72), rgba(12,12,15,.30)); }
.bb-macc__row{ position:relative; z-index:2; display:flex; gap:12px; height:440px; }
.bb-macc__row::-webkit-scrollbar{ display:none; }

/* Sur bureau : toutes les bandes restent visibles. L'active s'elargit (flex-grow),
   les autres se resserrent pour remplir la largeur, sans defilement. */
.bb-macc__item{ position:relative; flex:1 1 0; min-width:0; height:100%; border-radius:16px; overflow:hidden;
  border:1px solid var(--bb-border); background:transparent; text-decoration:none; cursor:pointer;
  transition:flex .65s cubic-bezier(.4,0,.2,1), box-shadow .6s ease, border-color .5s ease; }
.bb-macc__item.is-active{ flex-grow:6; max-width:400px; border-color:var(--macc);
  box-shadow:0 0 0 1px var(--macc), 0 26px 60px rgba(0,0,0,.55); }
.bb-macc__item:focus-visible{ outline:2px solid var(--macc); outline-offset:2px; }

/* Bande de couleur translucide (visible surtout ferme, laisse voir le film flou) */
.bb-macc__item::before{ content:""; position:absolute; inset:0; z-index:0; transition:opacity .6s ease;
  background:linear-gradient(0deg, rgba(var(--macc-rgb),.62), rgba(var(--macc-rgb),.16)); }
.bb-macc__item:hover::before{ background:linear-gradient(0deg, rgba(var(--macc-rgb),.74), rgba(var(--macc-rgb),.26)); }
.bb-macc__item.is-active::before{ opacity:0; }

/* Portrait (version ouverte) */
.bb-macc__photo{ position:absolute; inset:0; z-index:1; background-size:cover; background-position:center 22%;
  opacity:0; transition:opacity .8s ease .05s; }
.bb-macc__item.is-active .bb-macc__photo{ opacity:1; }
.bb-macc__shade{ position:absolute; inset:0; z-index:2; opacity:0; transition:opacity .7s ease;
  background:linear-gradient(0deg, rgba(0,0,0,.92) 3%, rgba(0,0,0,.15) 46%, rgba(0,0,0,.5)); }
.bb-macc__item.is-active .bb-macc__shade{ opacity:1; }

/* Specialite verticale (version fermee) */
.bb-macc__spec{ position:absolute; left:50%; bottom:20px; z-index:3;
  transform:translateX(-50%) rotate(180deg); writing-mode:vertical-rl; white-space:nowrap;
  font-family:var(--bb-display); text-transform:uppercase; letter-spacing:2px; font-weight:600;
  font-size:.82rem; color:#fff; text-shadow:0 1px 8px rgba(0,0,0,.65);
  transition:opacity .5s ease; pointer-events:none; }
.bb-macc__item.is-active .bb-macc__spec{ opacity:0; }

/* Bloc ouvert : nom + specialite + studio */
.bb-macc__open{ position:absolute; left:0; right:0; bottom:0; z-index:4; padding:22px 22px 20px;
  display:flex; flex-direction:column; gap:2px; opacity:0; transform:translateY(12px);
  transition:opacity .6s ease .2s, transform .7s cubic-bezier(.4,0,.2,1) .18s; pointer-events:none; }
.bb-macc__item.is-active .bb-macc__open{ opacity:1; transform:none; }
.bb-macc__name{ font-family:var(--bb-display); text-transform:uppercase; line-height:1.04; letter-spacing:.5px;
  font-size:clamp(1.3rem,2.2vw,1.9rem); color:#fff; }
.bb-macc__role{ font-weight:600; font-size:1rem; color:var(--macc); filter:brightness(1.12); }
.bb-macc__studio{ font-size:.86rem; color:var(--bb-muted); }

/* Responsive : comme le modele (texte au-dessus, accordeon dessous) */
@media(max-width:900px){
  .bb-macc{ flex-direction:column; align-items:stretch; gap:26px; }
  .bb-macc__text{ max-width:none; }
  .bb-macc__gallery{ flex:none; }
  /* Sur mobile/tablette : defilement horizontal, largeurs fixes (comme le modele). */
  .bb-macc__row{ height:380px; overflow-x:auto; scrollbar-width:none; }
  .bb-macc--bare .bb-macc__row{ justify-content:flex-start; }
  .bb-macc__item{ flex:0 0 52px; }
  .bb-macc__item.is-active{ flex:0 0 74%; }
}
@media(max-width:520px){
  .bb-macc__row{ height:340px; gap:9px; }
  .bb-macc__item{ flex:0 0 44px; }
  .bb-macc__item.is-active{ flex:0 0 78%; }
  .bb-macc__open{ padding:16px 16px 15px; }
}

/* ====================================================================
 * Programme de formation repliable (« Lire la suite »)
 * - Bureau : la hauteur se cale sur le bloc de prix de droite.
 * - Mobile : hauteur limitée pour ne pas avoir une page interminable.
 * - Le texte se fond vers le bas pour signaler qu'il faut déplier.
 * ================================================================== */
.bb-formprog__wrap{ position:relative; }
.bb-formprog__wrap.is-collapsed{
  max-height:var(--bb-collapse-h,460px);
  overflow:hidden;
}
/* Dégradé de fondu en bas du bloc replié (vers la couleur de fond de page). */
.bb-formprog__wrap.is-collapsed::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:130px;
  background:linear-gradient(to bottom, rgba(16,16,19,0), var(--bb-bg) 92%);
  pointer-events:none;
}
.bb-formprog__toggle{
  display:inline-flex; align-items:center; gap:8px; margin-top:16px;
  background:var(--bb-surface-2); color:#fff; border:1px solid var(--bb-border);
  border-radius:10px; padding:11px 18px; font:inherit; font-weight:600; font-size:.95rem;
  cursor:pointer; transition:border-color .2s, background .2s;
}
.bb-formprog__toggle:hover{ border-color:var(--bb-orange); background:var(--bb-surface); }
.bb-formprog__toggle .bb-formprog__ico{ color:var(--bb-orange); font-weight:700; font-size:1.05rem; line-height:1; }

/* ====================================================================
   PAGE « NOS ÉTUDIANTS » : hero photo + galerie « à la une » + filtre
   ==================================================================== */

/* Hero plein cadre (sous l'en-tête transparent, comme l'accueil). */
body.bb-page-students main#bb-content{ padding-top:0; }
/* La page passe par un widget Elementor : on neutralise ses marges internes
   pour que le hero et les sections aillent bord à bord (le contenu reste borné
   par .bb-container). Uniquement sur cette page. */
body.bb-page-students .elementor-element-populated,
body.bb-page-students .elementor-widget-shortcode,
body.bb-page-students .elementor-widget-shortcode .elementor-shortcode{ padding:0 !important; }

.bb-hero--students{ min-height:56vh; }
.bb-hero--students .bb-hero__inner{ padding-top:124px; padding-bottom:60px; }
.bb-hero__scrim{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(11,11,13,.62) 0%, rgba(11,11,13,.30) 42%, rgba(11,11,13,.92) 100%); }
@media(max-width:640px){
  .bb-hero--students{ min-height:50vh; }
  .bb-hero--students .bb-hero__inner{ padding-top:104px; }
}

/* Filtre discret par discipline (puces sobres, l'active passe en orange). */
.bb-stufilter{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 0 34px; }
.bb-stufilter__chip{ font-family:var(--bb-display); text-transform:uppercase; letter-spacing:1.5px;
  font-size:.78rem; font-weight:600; color:var(--bb-muted); background:transparent;
  border:1px solid var(--bb-border); border-radius:50px; padding:8px 18px; cursor:pointer; line-height:1;
  transition:color .2s, border-color .2s, background .2s; }
.bb-stufilter__chip:hover{ color:var(--bb-text); border-color:rgba(255,255,255,.28); }
.bb-stufilter__chip.is-active{ color:#15110a; background:var(--bb-orange); border-color:var(--bb-orange); }

/* Galerie « à la une » : on reprend l'accordéon des mentors (.bb-macc / [data-bb-macc]).
   On ajoute seulement le titre de l'avis + le commentaire dans la bande active, et on
   garde les liens cliquables. Le filtre masque les bandes hors discipline. */
.bb-macc__item.is-hidden{ display:none; }
.bb-macc--students .bb-macc__row{ height:640px; }
.bb-macc--students .bb-macc__item.is-active{ max-width:460px; }
.bb-macc--students .bb-macc__name{ font-size:clamp(1.15rem,2vw,1.55rem); }
/* Bloc texte plus haut (les témoignages longs ne sont plus coupés) + fond dégradé
   pour rester lisible même quand le texte remonte haut sur la photo. */
.bb-macc--students .bb-macc__open{ gap:3px; max-height:88%; overflow:hidden;
  background:linear-gradient(0deg, rgba(11,11,13,.97) 0%, rgba(11,11,13,.9) 64%, rgba(11,11,13,0) 100%); }
/* Anti « texte écrasé » pendant l'animation : à la fermeture, le texte de la bande
   disparaît quasi instantanément ; à l'ouverture, il ne réapparaît qu'une fois la
   bande suffisamment élargie (donc jamais de texte qui se réagence en se serrant). */
.bb-macc--students .bb-macc__open{ transition:opacity .1s ease, transform .1s ease; }
.bb-macc--students .bb-macc__item.is-active .bb-macc__open{ transition:opacity .38s ease .32s, transform .5s cubic-bezier(.4,0,.2,1) .28s; }
.bb-sacc__title{ font-family:var(--bb-display); font-weight:700; font-size:1.35rem; letter-spacing:.3px;
  color:var(--bb-orange); margin-top:10px; line-height:1.16; text-shadow:0 1px 10px rgba(0,0,0,.55); }
/* Formation en retrait pour que le titre de l'avis (orange) ressorte comme accroche. */
.bb-macc--students .bb-macc__role{ color:var(--bb-muted); font-weight:500; }
.bb-sacc__text{ font-size:.88rem; color:#e7e7ea; font-style:italic; line-height:1.5; margin-top:6px;
  display:-webkit-box; -webkit-line-clamp:12; -webkit-box-orient:vertical; overflow:hidden; }
.bb-sacc__links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; pointer-events:auto; }
.bb-sacc__links .bb-btn{ pointer-events:auto; }
/* Filtre : petite animation d'entrée des bandes qui apparaissent (fondu + glissé,
   en léger décalage l'une après l'autre). Le délai est posé en JS pour l'effet cascade. */
@keyframes bb-stu-in{ from{ opacity:0; transform:translateY(22px) scale(.95); } to{ opacity:1; transform:none; } }
.bb-macc--students .bb-macc__item.is-entering{ animation:bb-stu-in .5s cubic-bezier(.22,1,.36,1) both; }
/* Mobile / tablette : bande active moins large + bandes repliées plus larges,
   pour qu'on voie mieux les élèves suivants (avant elles étaient trop écrasées). */
@media(max-width:900px){
  .bb-macc--students .bb-macc__row{ height:600px; }
  .bb-macc--students .bb-macc__item{ flex:0 0 64px; }
  .bb-macc--students .bb-macc__item.is-active{ flex:0 0 70%; max-width:none; }
}
@media(max-width:520px){
  .bb-macc--students .bb-macc__row{ height:560px; }
  .bb-macc--students .bb-macc__item{ flex:0 0 56px; }
  .bb-macc--students .bb-macc__item.is-active{ flex:0 0 74%; }
  .bb-sacc__title{ font-size:1.1rem; line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  /* 5 lignes max : avec nom + formation + titre + boutons, le bloc ne déborde
     plus de la carte (le nom n'est plus rogné en haut). */
  .bb-sacc__text{ -webkit-line-clamp:5; }
  .bb-macc--students .bb-macc__open{ max-height:82%; }
}

/* ====================================================================
 * PAGE MENTOR · responsive mobile (hero, bio repliable, formations)
 * Rien ne change sur grand ecran : tout est borne aux petits ecrans.
 * ==================================================================== */

/* Hero : sur mobile, le portrait et le texte s'empilent. Avant, ils
   restaient cote a cote a cause d'un style en ligne qui bloquait la
   bascule ; on passe par une classe pour retrouver un vrai responsive. */
.bb-mentorhero{ grid-template-columns:0.8fr 1.2fr; }
@media (max-width:820px){
  .bb-mentorhero{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  /* Portrait borne et centre : il ne prend plus toute la hauteur d'ecran. */
  .bb-mentorhero .bb-mentor{ max-width:260px; margin-left:auto; margin-right:auto; }
}

/* Bio repliable sur mobile (« Lire la biographie »). Bureau : bio entiere,
   aucun bouton. Mobile : hauteur limitee + fondu ; le bouton n'apparait
   que si la bio depasse vraiment (declenche en JS via .is-on). Le bouton
   reutilise le style .bb-formprog__toggle deja present (pas de doublon). */
.bb-bioclamp{ position:relative; }
.bb-bioclamp__toggle{ display:none; }
@media (max-width:640px){
  .bb-bioclamp.is-collapsed{ max-height:var(--bb-bio-h,220px); overflow:hidden; }
  .bb-bioclamp.is-collapsed::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:96px;
    background:linear-gradient(to bottom, rgba(16,16,19,0), var(--bb-bg) 92%);
    pointer-events:none;
  }
  .bb-bioclamp__toggle.is-on{ display:inline-flex; }
}

/* Formations encadrees par le mentor : cartes plus compactes sur mobile
   (2 colonnes, description masquee, typo et paddings reduits) pour
   alleger la page. Le bureau et la grille /formations/ ne changent pas. */
@media (max-width:640px){
  .bb-grid--mentorforms{ grid-template-columns:1fr 1fr; gap:12px; }
  .bb-grid--mentorforms .bb-card__body{ padding:14px; gap:6px; }
  .bb-grid--mentorforms .bb-card__body h3{ font-size:1rem; line-height:1.2; }
  .bb-grid--mentorforms .bb-card__desc{ display:none; }
  .bb-grid--mentorforms .bb-card__meta{ font-size:.8rem; margin:0; }
  .bb-grid--mentorforms .bb-card__foot{ margin-top:10px; gap:8px; }
  .bb-grid--mentorforms .bb-btn--sm{ padding:9px 10px; font-size:.82rem; }
}
/* Nombre impair : la derniere carte, seule sur sa ligne, passe en pleine
   largeur et en format horizontal (visuel a gauche, infos a droite) pour
   ne pas laisser de vide a droite. Uniquement dans la vue 2 colonnes. */
@media (min-width:361px) and (max-width:640px){
  .bb-grid--mentorforms .bb-card:last-child:nth-child(odd){ grid-column:1 / -1; flex-direction:row; align-items:stretch; }
  .bb-grid--mentorforms .bb-card:last-child:nth-child(odd) .bb-card__media{ flex:0 0 42%; width:42%; aspect-ratio:auto; }
  .bb-grid--mentorforms .bb-card:last-child:nth-child(odd) .bb-card__body{ flex:1; }
}
/* Tres petits ecrans : une seule colonne (mais toujours compacte). */
@media (max-width:360px){
  .bb-grid--mentorforms{ grid-template-columns:1fr; }
}

/* ====================================================================
 * HERO · smartphone : video moins rognee
 * Sur ecran etroit et haut, object-fit:cover zoomait fort dans la video
 * (on n'en voyait qu'une bande). On abaisse la hauteur du hero sur mobile :
 * la video reste en plein cadre (aucune bande noire) mais on en voit
 * beaucoup plus. min-height reste un plancher : si le texte est long, le
 * hero grandit, rien n'est jamais coupe. Marge haute inchangee (le titre
 * ne passe pas sous l'en-tete). Bureau et tablette non concernes.
 * ==================================================================== */
@media (max-width:640px){
  .bb-hero{ min-height:54vh; }
  /* Marge haute = hauteur de l'en-tête fixe (78px) + respiration : sur les
     écrans étroits, le contenu du hero est plus haut que la zone centrée et
     remontait sous le logo/burger (badge mangé par l'en-tête). */
  .bb-hero__inner{ padding-top:114px; padding-bottom:32px; }
}

/* ====================================================================
 * CORRECTIFS PASSE PRÉ-DÉPLOIEMENT (juillet 2026)
 * ==================================================================== */

/* 1. Le reset de Hello Elementor met un fond ROSE (#CC3366) sur tous les
   <button> nus au survol/focus : burger, flèches de carrousel, calendrier,
   puces de filtre… On le neutralise globalement ; chaque composant garde
   son propre style de survol (spécificité supérieure). */
body button:hover, body button:focus,
body [type="button"]:hover, body [type="button"]:focus,
body [type="submit"]:hover, body [type="submit"]:focus{
  background:none; color:inherit;
}

/* 2. Burger : pas de halo de tap sur mobile + retour visuel propre. */
.bb-burger{ -webkit-tap-highlight-color:transparent; border-radius:10px; }
.bb-burger:hover span, .bb-burger:focus-visible span{ background:var(--bb-orange); }

/* 3. Lexique du catalogue (/formations/) sur mobile : vraie grille 2 colonnes
   alignée (fini les puces en drapeau de largeurs inégales). */
@media (max-width:880px){
  .bb-lexicon{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .bb-lexicon a{ display:flex; align-items:center; justify-content:center;
    text-align:center; font-size:.8rem; padding:12px 10px; }
  .bb-lexicon a:hover{ transform:none; }
  /* Nombre impair : la dernière puce (le CTA) occupe toute la largeur. */
  .bb-lexicon a:last-child:nth-child(odd){ grid-column:1 / -1; }
}

/* 4. Cartes formation : le prix ne se casse plus lettre à lettre
   (« 6300 / € / TTC ») quand la carte est étroite ; si la place manque,
   il passe proprement sous l'étiquette. */
.bb-card__price, .bb-anneehero__price{ white-space:nowrap; }
.bb-card__labels{ flex-wrap:wrap; row-gap:6px; }

/* 5. Hero YouTube : l'iframe reste invisible (fond noir) tant que la lecture
   n'a pas commencé, puis apparaît en fondu une fois l'habillage du player
   (icônes lecture/pause) disparu. Même principe que la vidéo mp4. */
.bb-hero__yt iframe{ opacity:0; transition:opacity .9s ease; }
.bb-hero__yt.is-ready iframe{ opacity:.92; }

/* 6.b Hero : hiérarchie de lecture premium. L'accroche (1ère ligne du champ
   « Sous-titre ») forme un bloc-titre SOUDÉ avec « Bouncing Ball » : même
   bord gauche, espacement vertical resserré, même famille typographique.
   Le descriptif passe en gris doux, plus petit et borné à ~55 caractères
   par ligne : l'œil lit le titre, l'accroche, puis le détail. */
.bb-hero h1{ margin-bottom:.12em; }
.bb-hero__tagline{
  font-family:var(--bb-display); font-weight:500; text-transform:uppercase;
  letter-spacing:3px; font-size:clamp(1.05rem,1.6vw,1.35rem); color:#fff;
  margin:0 0 16px; text-shadow:0 1px 18px rgba(0,0,0,.7);
}
.bb-hero__sub{ font-size:1.15rem; color:#d9dadf; max-width:520px; line-height:1.65; }
@media (max-width:640px){
  .bb-hero__tagline{ letter-spacing:2px; font-size:1.04rem; }
  .bb-hero__sub{ font-size:1.02rem; }
}

/* 6. Skeleton (chargement) : un léger « shimmer » anime le fond des blocs
   d'images pendant leur téléchargement. CSS pur : zéro JS, zéro requête,
   aucun décalage de mise en page (les conteneurs ont déjà leur ratio).
   L'image recouvre le shimmer dès qu'elle est chargée. */
/* Balayage doux puis repos (55 à 100% : immobile hors champ) : la boucle
   repart sans jamais de coupure visible. NB : les bandes des galeries
   mentors/élèves (.bb-macc__item) sont volontairement EXCLUES — leur plaque
   de couleur est translucide, le shimmer y restait visible en permanence. */
@keyframes bb-shimmer{
  0%{ background-position:-160% 0; }
  55%{ background-position:160% 0; }
  100%{ background-position:160% 0; }
}
.bb-card__media, .bb-mod, .bb-mentor, .bb-disc,
.bb-anneehero__media, .bb-mfeat__card{
  background-color:#111114;
  background-image:linear-gradient(100deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.04) 50%, rgba(255,255,255,0) 60%);
  background-size:200% 100%;
  background-repeat:no-repeat;
  animation:bb-shimmer 2.4s ease-in-out infinite;
}
/* Confort : pas d'animation pour les personnes qui les désactivent. */
@media (prefers-reduced-motion: reduce){
  .bb-card__media, .bb-mod, .bb-mentor, .bb-disc,
  .bb-anneehero__media, .bb-mfeat__card{ animation:none; }
}

/* ============================================================
   7. Page 404 (introuvable) : le logo Bouncing Ball tient lieu de 0.
   ============================================================ */
.bb-404{
  position:relative;overflow:hidden;
  min-height:calc(100dvh - 78px);
  display:flex;align-items:center;justify-content:center;
  padding:48px 0 84px;
}
/* Halo orange diffus en fond */
.bb-404::before{
  content:"";position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);
  width:min(680px,92vw);aspect-ratio:1;border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(circle, rgba(247,147,30,.15), rgba(247,147,30,0) 68%);
}
.bb-404__inner{position:relative;z-index:1;text-align:center;max-width:720px}

/* Le "404" : les deux 4 en contour, le 0 est remplacé par le logo. */
.bb-404__stage{display:inline-flex;justify-content:center;margin:0 auto 8px}
.bb-404__digits{
  display:flex;align-items:center;gap:clamp(4px,1.8vw,18px);
  font-family:var(--bb-display);font-weight:700;line-height:.86;
  font-size:clamp(6rem,25vw,14rem);letter-spacing:1px;
}
.bb-404__num{
  color:transparent;-webkit-text-stroke:2px rgba(245,245,247,.9);
  text-shadow:0 12px 42px rgba(0,0,0,.45);
}
.bb-404__logo-ball{
  height:clamp(4.6rem,19vw,10.5rem);width:auto;display:block;
  filter:drop-shadow(0 12px 30px rgba(247,147,30,.35));
}

.bb-404__lead{margin:0 auto 26px}
.bb-404__actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-bottom:30px}

.bb-404__links{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px;font-size:.95rem;
}
.bb-404__links a{color:var(--bb-text)}
.bb-404__links a:hover{color:var(--bb-orange)}

@media (max-width:600px){
  .bb-404{padding:32px 0 64px}
}

/* ============================================================
   8. Page Reviews : passe design (packs de reviews + bandeau CTA).
   ============================================================ */

/* Cartes packs : même langage visuel que les .bb-card du reste du site
   (survol qui soulève, bord orangé, ombre). Scopé à .bb-packs pour ne pas
   toucher l'encadré tarif de la page contact qui utilise aussi .bb-price. */
.bb-packs .bb-price{transition:transform .2s,border-color .2s,box-shadow .2s}
.bb-packs .bb-price:hover{transform:translateY(-6px);border-color:rgba(247,147,30,.5);box-shadow:var(--bb-shadow)}
.bb-packs .bb-price li{line-height:1.5}

/* Pack mis en avant : badge posé à cheval sur le bord haut de la carte. */
.bb-price--feat{position:relative}
.bb-price__badge{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:var(--bb-orange);color:#15110a;font-family:var(--bb-display);
  text-transform:uppercase;letter-spacing:1px;font-size:.72rem;
  padding:5px 14px;border-radius:50px;white-space:nowrap;
}

/* Tablette (641 à 1040 px) : 2 colonnes laissaient la 3e carte orpheline
   avec un grand vide à droite. On passe en 1 colonne centrée ; le bureau
   3 colonnes n'est pas concerné. */
@media (max-width:1040px) and (min-width:641px){
  .bb-packs{grid-template-columns:1fr;max-width:560px;margin-left:auto;margin-right:auto}
}
/* Mobile : colonne unique déjà en place, on borne juste la largeur. */
@media (max-width:640px){
  .bb-packs{max-width:480px;margin-left:auto;margin-right:auto}
}

/* Bandeau « review offerte » : version premium. Fini le marron uni :
   fond quasi noir, lueur orange douce qui tombe du haut, filet lumineux
   sur le bord supérieur, ombre portée profonde et bouton qui rayonne. */
.bb-cta-band{
  max-width:860px;margin-left:auto;margin-right:auto;
  padding:52px 44px;position:relative;overflow:hidden;
  background:
    radial-gradient(ellipse 90% 75% at 50% -12%, rgba(247,147,30,.07), rgba(247,147,30,0) 58%),
    linear-gradient(180deg,#1a1410,#0f0d0b);
  border:1px solid rgba(247,147,30,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 30px 70px -35px rgba(0,0,0,.85);
}
/* Filet lumineux : fine ligne orange qui s'estompe vers les bords. */
.bb-cta-band::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:58%;height:1px;pointer-events:none;
  background:linear-gradient(90deg,rgba(247,147,30,0),rgba(247,147,30,.8),rgba(247,147,30,0));
}
.bb-cta-band > *{position:relative}
.bb-cta-band h2{margin:10px 0 14px}
.bb-cta-band .bb-lead{margin:0 auto 26px;max-width:620px;color:#c9c4bd}
.bb-cta-band .bb-btn--primary{box-shadow:0 8px 18px -10px rgba(247,147,30,.28)}
/* Rétablit le padding mobile (la règle générique ci-dessus, plus tardive
   dans le fichier, écraserait sinon celle de la section aération mobile). */
@media (max-width:640px){
  .bb-cta-band{padding:30px 20px}
}

/* ============================================================
   8. Sélecteur de langue FR / EN (drapeaux dans l'en-tête)
   ============================================================ */
.bb-langsw{
  display:inline-flex;align-items:center;gap:2px;
  background:rgba(255,255,255,.05);border:1px solid var(--bb-border);
  border-radius:999px;padding:3px;
}
.bb-langsw__opt{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 10px;border-radius:999px;text-decoration:none;
  font-family:var(--bb-display);font-size:.72rem;font-weight:600;letter-spacing:1px;
  color:var(--bb-muted);transition:color .18s ease, background .18s ease;
}
.bb-langsw__opt svg{width:16px;height:16px;display:block;border-radius:50%;opacity:.55;transition:opacity .18s ease}
.bb-langsw__opt:hover{color:var(--bb-text)}
.bb-langsw__opt:hover svg{opacity:.9}
.bb-langsw__opt.is-active{background:rgba(247,147,30,.14);color:var(--bb-orange)}
.bb-langsw__opt.is-active svg{opacity:1}
/* Mobile : version un peu plus grande dans le menu déroulant */
.bb-mobile .bb-langsw{padding:4px}
.bb-mobile .bb-langsw__opt{padding:7px 16px;font-size:.8rem}
.bb-mobile .bb-langsw__opt svg{width:18px;height:18px}
/* Dans la barre de navigation : drapeaux seuls (compact), textes réservés au
   menu mobile. Et on interdit tout passage sur deux lignes des boutons/menu. */
.bb-header__cta .bb-langsw__opt span{display:none}
.bb-header__cta .bb-langsw__opt{padding:4px 7px}
.bb-header__cta{flex-wrap:nowrap}
.bb-header__cta .bb-btn{white-space:nowrap}
.bb-nav .menu > li > a{white-space:nowrap}
