/* bb.css — Reclus Lab, page d'accueil sobre (inspirée de la présentation de backbone.consulting/backbone-ia).
   Aucun effet : fonds sombres, lumière violette fixe, typographie franche, images et vidéos nettes. */

:root { --bb-bg: #07081A; --bb-card: #0E1024; --bb-line: rgba(255, 255, 255, .09); --bb-text: #F0EEEA; --bb-muted: #A9AECB; --bb-gold: #D5B083; }

/* ---------- Ouverture plein écran ---------- */
.bb-intro { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #05060E; color: #fff; cursor: pointer; isolation: isolate; }
.bb-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bb-intro-veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5, 6, 14, .45), rgba(5, 6, 14, .82) 80%), linear-gradient(180deg, rgba(5, 6, 14, .35), rgba(5, 6, 14, .7)); }
.bb-intro-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 0 20px; text-align: center; }
.bb-intro-logo { width: min(260px, 60vw); height: auto; }
.bb-intro-title { margin: 0; font-size: clamp(14px, 1.6vw, 20px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #fff; line-height: 1.7; max-width: 900px; }
.bb-intro-title b { color: var(--bb-gold); font-weight: 600; }
.bb-intro-enter { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 46px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s; }
.bb-intro-enter:hover, .bb-intro-enter:focus-visible { background: rgba(255, 255, 255, .1); border-color: #fff; }
.bb-intro-hint { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0; text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bb-intro-hint::after { content: ''; display: block; width: 1px; height: 34px; margin: 12px auto 0; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); }

/* ---------- Sections ---------- */
.bb-section { background: var(--bb-bg); color: var(--bb-text); padding: 110px 0; }
.bb-section + .bb-section { padding-top: 40px; }
.bb-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.bb-narrow { width: min(860px, 100% - 48px); }
.bb-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.bb-section h2 { margin: 0 0 40px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.bb-label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bb-gold); }
.bb-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--bb-muted); }
.bb-text h2 { margin-bottom: 22px; }

/* Ouverture du contenu */
.bb-hero { padding: 130px 0 120px; background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(75, 52, 214, .38), rgba(7, 8, 26, 0) 70%), var(--bb-bg); }
.bb-hero h1 { margin: 0; font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.bb-hero h1 em { font-style: normal; color: var(--bb-gold); }
.bb-lead { margin: 30px 0 0; max-width: 760px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--bb-text); }
.bb-sub { margin: 14px 0 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--bb-muted); }
.bb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* Boutons */
.bb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s; }
.bb-btn:hover, .bb-btn:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .07); }
.bb-btn--solid { border-color: transparent; background: linear-gradient(90deg, #3A2CA8, #6A5CF0); }
.bb-btn--solid:hover, .bb-btn--solid:focus-visible { background: linear-gradient(90deg, #4535C2, #7C6FF5); border-color: transparent; }
.bb-more { margin: 48px 0 0; }

/* Image ou vidéo + texte */
.bb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.bb-media { margin: 0; }
.bb-media img, .bb-media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--bb-card); }
.bb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 34px; }
.bb-steps li { list-style: none; }
.bb-steps li::marker { content: ''; }
.bb-steps p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; font-weight: 500; color: #fff; }

/* Questions en frise */
.bb-timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.bb-timeline::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--bb-line); }
.bb-timeline li { list-style: none; position: relative; padding: 18px 24px; background: var(--bb-card); border: 1px solid var(--bb-line); border-radius: 14px; }
.bb-timeline li::marker { content: ''; }
.bb-timeline li::before { content: ''; position: absolute; left: -33px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--bb-gold); box-shadow: 0 0 0 4px rgba(213, 176, 131, .18); }
.bb-q-n { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.bb-timeline p { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: #fff; }

/* Statistique sourcée */
.bb-section .rl-stat { margin-top: 26px; background: var(--bb-card); border: 1px solid var(--bb-line); border-radius: 16px; color: var(--bb-text); }
.bb-section .rl-stat-n { color: #fff; }
.bb-section .rl-stat p, .bb-section .rl-stat cite { color: var(--bb-muted); }
.bb-section .rl-stat a { color: var(--bb-gold); }

/* Cartes */
.bb-cards { display: grid; gap: 18px; }
.bb-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: 18px; border: 1px solid rgba(140, 130, 238, .22); background: linear-gradient(180deg, #15173A 0%, #0C0D22 100%); }
.bb-card h3 { margin: 0; font-size: 21px; font-weight: 700; color: #fff; }
.bb-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bb-muted); }
.bb-card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--bb-line); display: flex; flex-direction: column; gap: 6px; }
.bb-card-foot span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.bb-card-foot b { font-size: 24px; font-weight: 600; color: var(--bb-gold); }
.bb-card--glow { position: relative; overflow: hidden; padding-bottom: 40px; }
.bb-card--glow::after { content: ''; position: absolute; left: 26px; right: 26px; bottom: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #4B2BFF, #8C82EE 55%, var(--bb-gold)); }

/* Test de la page 1 et questions fréquentes, sur fond sombre */
.bb-test { background: var(--bb-bg) !important; }
.bb-faq { background: var(--bb-bg); color: var(--bb-text); }
.bb-faq .h-head h2 { color: #fff; font-weight: 700; }
.bb-faq .h-head p, .bb-faq .h-head p a { color: var(--bb-muted) !important; }
.bb-faq .h-label { color: var(--bb-gold); }
.bb-faq .rl-faq { border-top-color: var(--bb-line); }
.bb-faq .rl-faq details { border-bottom-color: var(--bb-line); }
.bb-faq .rl-faq summary { color: #fff; }
.bb-faq .rl-faq summary::after { border-color: rgba(255, 255, 255, .3); color: #fff; }
.bb-faq .rl-faq details p { color: var(--bb-muted); }
.bb-faq .rl-honest, .bb-faq .rl-honest strong { color: var(--bb-muted); }

/* Appel final */
.bb-cta { padding-bottom: 80px; background: radial-gradient(ellipse 50% 60% at 50% 20%, rgba(75, 52, 214, .3), rgba(7, 8, 26, 0) 70%), var(--bb-bg); }
.bb-cta p { margin: 0 0 30px; font-size: 17px; line-height: 1.65; color: var(--bb-muted); max-width: 620px; }
.bb-talk { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 110px; }
.bb-talk-title { margin: 0; font-size: clamp(56px, 9vw, 128px); line-height: .95; font-weight: 700; letter-spacing: -.035em; color: var(--bb-gold); }

/* Petits écrans */
@media (max-width: 1080px) { .bb-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .bb-split { grid-template-columns: 1fr; gap: 40px; }
  .bb-split--text-first .bb-media { order: 2; }
  .bb-cards--3 { grid-template-columns: 1fr; }
  .bb-section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .bb-cards--4 { grid-template-columns: 1fr; }
  .bb-talk { flex-direction: column; align-items: flex-start; margin-top: 70px; }
  .bb-hero { padding: 90px 0 80px; }
}

/* Correctifs */
.bb-cta .bb-talk-title { margin: 0; max-width: none; font-size: clamp(56px, 9vw, 128px); line-height: .95; font-weight: 700; letter-spacing: -.035em; color: var(--bb-gold); }
.bb-hero h1 em { font-weight: 700; }
.bb-test .h-head h2 { font-weight: 700; color: #fff; }
.bb-faq .rl-faq summary::after { background: linear-gradient(#fff, #fff) center / 11px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 11px no-repeat; }

/* Interface d'illustration du diagnostic (statique) */
.bb-ui { margin: 0; padding: 22px; border-radius: 20px; background: #F3F1EC; color: #14162B; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.bb-ui-cap { margin: 0 0 16px; font-size: 13px; color: #5A5E7A; }
.bb-ui-tabs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bb-ui-tabs li { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 12px; text-align: center; }
.bb-ui-tabs li::marker { content: ''; }
.bb-ui-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #5B4BD6; border: 1px solid #E2E0EE; }
.bb-ui-tabs li.is-on .bb-ui-ic { background: #5B4BD6; color: #fff; border-color: #5B4BD6; }
.bb-ui-tabs b { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5B4BD6; margin-top: 4px; }
.bb-ui-tabs span:last-child { font-size: 12px; color: #14162B; line-height: 1.3; }
.bb-ui-panel { background: #fff; border-radius: 14px; border: 1px solid #E7E5EE; padding: 14px; }
.bb-ui-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid #DCDAE8; border-radius: 999px; font-size: 14px; color: #14162B; margin-bottom: 10px; }
.bb-ui-search svg { color: #8A8DA6; }
.bb-ui-rows { list-style: none; margin: 0; padding: 0; }
.bb-ui-rows li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 4px; border-top: 1px solid #F0EEF5; }
.bb-ui-rows li::marker { content: ''; }
.bb-ui-n { font-size: 12px; color: #8A8DA6; }
.bb-ui-r { font-size: 13.5px; line-height: 1.35; color: #14162B; min-width: 0; }
.bb-ui-r small { display: block; font-size: 11px; color: #8A8DA6; }
.bb-ui-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.bb-ui-tag--vous { background: #ECEAFD; color: #4B3FC2; }
.bb-ui-tag--neutre { background: #EEF2F6; color: #4A5568; }
.bb-ui-tag--hostile { background: #FBEAEC; color: #A23B4C; }
.bb-ui-legend { margin-top: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8A8DA6; text-align: right; }

/* ---------- Ouverture v2 : vidéo bien visible, logo en titre de film ---------- */
.bb-intro { cursor: pointer; }
.bb-intro-video { filter: saturate(1.05) contrast(1.05); }
.bb-intro-veil { background:
  linear-gradient(180deg, rgba(5, 6, 14, .35) 0%, rgba(5, 6, 14, 0) 22%, rgba(5, 6, 14, 0) 45%, rgba(5, 6, 14, .6) 72%, rgba(5, 6, 14, .94) 100%),
  linear-gradient(90deg, rgba(5, 6, 14, .55) 0%, rgba(5, 6, 14, 0) 55%); }
.bb-intro-frame { position: absolute; inset: 22px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; pointer-events: none; z-index: 0; }
.bb-intro-place { position: absolute; top: 44px; left: 56px; margin: 0; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.bb-intro-inner { position: absolute; left: 0; right: 0; bottom: 0; height: auto; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 22px; padding: 0 clamp(36px, 6vw, 96px) clamp(56px, 10vh, 110px); text-align: left; }
.bb-intro-brand { margin: 0; line-height: 0; }
.bb-intro-logo { width: clamp(300px, 44vw, 700px); height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); }
.bb-intro-rule { display: block; width: 72px; height: 2px; background: var(--bb-gold); border-radius: 2px; }
.bb-intro-title { margin: 0; text-align: left; font-size: clamp(13px, 1.25vw, 18px); letter-spacing: .3em; line-height: 1.8; max-width: 760px; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.bb-intro-actions { display: flex; align-items: center; gap: 22px; margin: 10px 0 0; }
.bb-intro-enter { min-width: 0; height: 52px; padding: 0 34px; border: 0; background: var(--bb-gold); color: #0B0C1F; font-weight: 700; letter-spacing: .18em; }
.bb-intro-enter:hover, .bb-intro-enter:focus-visible { background: #E6CBA4; color: #0B0C1F; border: 0; }
.bb-intro-hint { position: static; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.bb-intro-hint::after { content: none; display: none; }
@media (max-width: 700px) {
  .bb-intro-frame { inset: 12px; border-radius: 16px; }
  .bb-intro-place { top: 30px; left: 32px; font-size: 10px; }
  .bb-intro-inner { padding: 0 28px 64px; gap: 18px; }
  .bb-intro-logo { width: 82vw; }
  .bb-intro-veil { background: linear-gradient(180deg, rgba(5, 6, 14, .3) 0%, rgba(5, 6, 14, 0) 25%, rgba(5, 6, 14, .55) 55%, rgba(5, 6, 14, .95) 100%); }
  .bb-intro-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Ouverture v3 : logo central et barre de recherche ---------- */
.bb-intro-veil { background:
  radial-gradient(ellipse 52% 46% at 50% 50%, rgba(5, 6, 14, .62), rgba(5, 6, 14, 0) 100%),
  linear-gradient(180deg, rgba(5, 6, 14, .4) 0%, rgba(5, 6, 14, 0) 20%, rgba(5, 6, 14, 0) 78%, rgba(5, 6, 14, .55) 100%); }
.bb-intro-place { left: auto; right: 56px; top: 44px; }
.bb-intro-rule { display: none; }
.bb-intro-inner { position: absolute; inset: 0; height: 100%; padding: 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; text-align: center; }
.bb-intro-logo { width: clamp(320px, 52vw, 860px); height: auto; filter: drop-shadow(0 12px 44px rgba(0, 0, 0, .65)); }
.bb-search { display: flex; align-items: center; gap: 20px; width: min(980px, 92vw); min-height: 92px; padding: 0 34px; border-radius: 999px; background: #fff; color: #0B0C1F; text-decoration: none; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5); }
.bb-search:hover, .bb-search:focus-visible { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), 0 0 0 4px rgba(213, 176, 131, .55); outline: none; }
.bb-search-ic { flex: none; }
.bb-search-q { flex: 1; text-align: left; font-size: clamp(18px, 2.35vw, 36px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: #0B0C1F; }
.bb-intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.bb-chip { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 10px; background: rgba(11, 12, 31, .55); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
.bb-chip:hover, .bb-chip:focus-visible { background: rgba(11, 12, 31, .8); border-color: var(--bb-gold); }
.bb-intro-hint { position: absolute; left: 0; right: 0; bottom: 40px; margin: 0; text-align: center; z-index: 1; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
@media (max-width: 700px) {
  .bb-intro-place { right: 32px; left: auto; }
  .bb-intro-inner { padding: 0 20px; gap: 24px; justify-content: center; }
  .bb-intro-logo { width: 84vw; }
  .bb-search { min-height: 70px; padding: 14px 22px; gap: 14px; border-radius: 22px; }
  .bb-search-ic { width: 24px; height: 24px; }
  .bb-search-q { font-size: 19px; }
  .bb-intro-veil { background: radial-gradient(ellipse 90% 50% at 50% 50%, rgba(5, 6, 14, .6), rgba(5, 6, 14, .15) 100%); }
}
.bb-intro-veil { background:
  radial-gradient(ellipse 58% 50% at 50% 50%, rgba(5, 6, 14, .72), rgba(5, 6, 14, .18) 100%),
  linear-gradient(180deg, rgba(5, 6, 14, .4) 0%, rgba(5, 6, 14, 0) 20%, rgba(5, 6, 14, 0) 78%, rgba(5, 6, 14, .6) 100%); }
@media (max-width: 700px) {
  .bb-intro-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
  .bb-intro-veil { background: radial-gradient(ellipse 95% 55% at 50% 48%, rgba(5, 6, 14, .7), rgba(5, 6, 14, .2) 100%); }
}

/* Fondateur sur l'accueil */
.bb-founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.bb-founder-photo { margin: 0; }
.bb-founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: #E8E6E3; }
.bb-founder-text blockquote { margin: 0; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.bb-founder-who { display: flex; flex-direction: column; gap: 4px; margin: 30px 0 0; }
.bb-founder-who b { font-size: 18px; color: var(--bb-gold); }
.bb-founder-who span { font-size: 14px; color: var(--bb-muted); }
.bb-founder-txt { margin: 22px 0 28px; font-size: 17px; line-height: 1.65; color: var(--bb-muted); max-width: 560px; }
@media (max-width: 900px) { .bb-founder { grid-template-columns: 1fr; gap: 36px; } .bb-founder-photo { max-width: 420px; } }
@media (max-width: 700px) { .bb-intro-video { object-position: 24% 40%; } }

/* ---------- Ouverture v4 : titre en bas, visages dégagés ---------- */
.bb-intro-veil { background:
  linear-gradient(180deg, rgba(5, 6, 14, .35) 0%, rgba(5, 6, 14, 0) 18%, rgba(5, 6, 14, 0) 42%, rgba(5, 6, 14, .7) 70%, rgba(5, 6, 14, .95) 100%),
  linear-gradient(90deg, rgba(5, 6, 14, .45) 0%, rgba(5, 6, 14, 0) 60%); }
.bb-intro-inner { inset: auto 0 0 0; height: auto; align-items: flex-start; justify-content: flex-end; gap: 22px; text-align: left; padding: 0 clamp(36px, 6vw, 104px) clamp(64px, 11vh, 120px); }
.bb-intro-logo { width: clamp(280px, 30vw, 520px); }
.bb-search { width: min(820px, 100%); min-height: 78px; padding: 0 30px; gap: 16px; }
.bb-search-ic { width: 26px; height: 26px; }
.bb-search-q { font-size: clamp(18px, 1.9vw, 30px); }
.bb-intro-diag { margin-top: 2px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--bb-gold); }
.bb-intro-diag:hover, .bb-intro-diag:focus-visible { color: var(--bb-gold); }
.bb-intro-down { position: absolute; left: 50%; bottom: 34px; z-index: 1; width: 14px; height: 14px; margin-left: -7px; border-right: 2px solid rgba(255, 255, 255, .75); border-bottom: 2px solid rgba(255, 255, 255, .75); transform: rotate(45deg); }
@media (max-width: 700px) {
  .bb-intro-inner { padding: 0 24px 76px; gap: 18px; }
  .bb-intro-logo { width: 72vw; }
  .bb-search { min-height: 64px; padding: 12px 20px; border-radius: 20px; }
  .bb-search-q { font-size: 18px; }
  .bb-intro-veil { background: linear-gradient(180deg, rgba(5, 6, 14, .3) 0%, rgba(5, 6, 14, 0) 25%, rgba(5, 6, 14, .6) 52%, rgba(5, 6, 14, .96) 100%); }
  .bb-intro-video { object-position: 24% 30%; }
}

/* ---------- Ouverture v5 : centré en bas, logo et cœur de métier agrandis ---------- */
.bb-intro-veil { background:
  linear-gradient(180deg, rgba(5, 6, 14, .35) 0%, rgba(5, 6, 14, 0) 18%, rgba(5, 6, 14, 0) 40%, rgba(5, 6, 14, .72) 68%, rgba(5, 6, 14, .96) 100%); }
.bb-intro-inner { align-items: center; text-align: center; gap: 26px; padding: 0 24px clamp(70px, 11vh, 120px); }
.bb-intro-logo { width: clamp(340px, 44vw, 760px); }
.bb-search { width: min(1080px, 94vw); min-height: 96px; padding: 0 38px; gap: 20px; }
.bb-search-ic { width: 32px; height: 32px; }
.bb-search-q { text-align: center; font-size: clamp(20px, 2.6vw, 42px); font-weight: 700; }
@media (max-width: 700px) {
  .bb-intro-inner { padding: 0 18px 72px; gap: 20px; }
  .bb-intro-logo { width: 86vw; }
  .bb-search { min-height: 76px; padding: 14px 20px; gap: 12px; border-radius: 22px; }
  .bb-search-ic { width: 24px; height: 24px; }
  .bb-search-q { font-size: 21px; }
}
.bb-search { justify-content: center; } .bb-search-q { flex: 0 1 auto; }

/* Barre de recherche : une seule ligne, justifiée, bordure aux couleurs du logo */
.bb-search { container-type: inline-size; justify-content: flex-start; border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #22B4F5, #5B6CF3 50%, #8E3DF0) border-box; }
.bb-search:hover, .bb-search:focus-visible { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), 0 0 0 4px rgba(142, 61, 240, .35); }
.bb-search-q { flex: 1 1 auto; min-width: 0; white-space: nowrap; text-align: justify; text-align-last: justify; text-justify: inter-word;
  font-size: calc((100cqi - 120px) / 23.5); }
@media (max-width: 700px) {
  .bb-search { min-height: 62px; padding: 0 16px; gap: 10px; border-radius: 999px; }
  .bb-search-ic { width: 20px; height: 20px; }
  .bb-search-q { font-size: calc((100cqi - 70px) / 24); }
}
.bb-search-q { font-size: calc((100cqi - 120px) / 22.4); }
html[lang^="en"] .bb-search-q { font-size: calc((100cqi - 120px) / 19.6); }
@media (max-width: 700px) {
  .bb-search { padding: 0 14px 0 16px; }
  .bb-search-q { font-size: calc((100cqi - 66px) / 22); }
  html[lang^="en"] .bb-search-q { font-size: calc((100cqi - 66px) / 19); }
}
.bb-search-q { font-size: calc((100cqi - 120px) / 21.6); }
html[lang^="en"] .bb-search-q { font-size: calc((100cqi - 120px) / 20.4); }
@media (max-width: 700px) {
  .bb-search-q { font-size: calc((100cqi - 66px) / 20.6); }
  html[lang^="en"] .bb-search-q { font-size: calc((100cqi - 66px) / 19.6); }
}
/* Taille du texte calculée par script ; repli raisonnable sans script */
.bb-search-q, html[lang^="en"] .bb-search-q { font-size: clamp(12px, 2.4vw, 40px); overflow: hidden; }
@media (max-width: 700px) { .bb-search-q, html[lang^="en"] .bb-search-q { font-size: clamp(11px, 3.4vw, 22px); } }
/* Proportions continues, sans saut entre téléphone, tablette et ordinateur */
.bb-intro-logo, .bb-intro .bb-intro-logo { width: min(86vw, max(290px, 44vw), 780px); }
.bb-search, .bb-intro .bb-search { width: min(1080px, calc(100vw - 32px)); min-height: clamp(56px, 6.8vw, 96px); padding: 0 clamp(14px, 2.6vw, 38px); gap: clamp(8px, 1.4vw, 20px); border-radius: 999px; }
.bb-search-ic, .bb-intro .bb-search-ic { width: clamp(18px, 2.2vw, 32px); height: clamp(18px, 2.2vw, 32px); }
.bb-intro-inner, .bb-intro .bb-intro-inner { gap: clamp(16px, 2vw, 26px); padding: 0 16px clamp(64px, 11vh, 120px); }
.bb-search, .bb-intro .bb-search { min-height: clamp(54px, 9vw, 96px); }
