/* BETbabaIA V70091 — Couche d'habillage mobile (UI seulement). Chargée APRÈS style.css.
 * Aucune règle de calcul. Retour arrière : retirer la ligne <link> de index.html.
 * Principes : une palette (marine + or), textes >= 12 px, zones tactiles >= 44 px, poids de police mesurés, icônes en SVG. */
:root{
  --bbp-bg:#060913; --bbp-card:#101a2f; --bbp-line:rgba(255,255,255,.10);
  --bbp-gold:#ffd76b; --bbp-gold2:#d99d29; --bbp-txt:#eef4ff; --bbp-mut:#a9b8d8;
  --bbp-r:16px; --bbp-tap:44px;
}
.bbp-ico{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

/* ---------- En-tête ---------- */
html body #bbTelegramTopBar{display:none!important}                      /* l'invitation Telegram vit désormais sur l'accueil */
html body .topbar .sub{font-size:12px!important;opacity:.85;font-weight:500!important}
html body #topProfileMini #btnTopLogout{min-height:40px!important;height:40px!important;padding:0 14px!important;font-size:13px!important;font-weight:800!important;border-radius:999px!important}
html body[data-bb-view="home"] #topProfileMini{display:none!important}   /* pas de « retour à l'accueil » sur l'accueil */

/* ---------- Cadres vides (« — ») masqués tant qu'ils n'ont rien à montrer ---------- */
html body .bbp-empty{display:none!important}

/* ---------- Accueil ---------- */
html body .home-hero-pro{padding:18px 16px 16px!important}
html body .home-hero-pro h1{font-size:22px!important;line-height:1.2!important;font-weight:800!important;margin:0 0 6px!important}
html body .home-hero-pro #homeClientName{color:var(--bbp-gold)!important}
html body .home-hero-pro > p.mut{font-size:14px!important;line-height:1.45!important;margin:0 0 12px!important;color:var(--bbp-mut)!important;font-weight:500!important}
html body .home-sub-end{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;max-width:100%;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,215,107,.10)!important;border:1px solid rgba(255,215,107,.28)!important;color:var(--bbp-gold)!important;font-size:13px!important;font-weight:700!important;margin:0 0 14px!important;box-shadow:none!important}

html body .home-defi-line{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px!important;border-radius:14px!important;background:rgba(255,255,255,.04)!important;border:1px solid var(--bbp-line)!important;margin:0 0 18px!important;font-size:14px!important;text-align:left!important;box-shadow:none!important}
html body .home-defi-line b{color:var(--bbp-gold);font-weight:800}
html body .home-defi-link{width:auto!important;min-height:40px!important;margin:0!important;padding:0 16px!important;border-radius:12px!important;background:linear-gradient(180deg,var(--bbp-gold),var(--bbp-gold2))!important;color:#241800!important;font-weight:800!important;font-size:14px!important;box-shadow:none!important;white-space:nowrap;flex:0 0 auto}

.bbp-section-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--bbp-mut);font-weight:700;margin:4px 2px 8px}

.bbp-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}
html body .bbp-tile{margin:0!important;width:100%!important;min-height:92px;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:12px 14px!important;border-radius:var(--bbp-r)!important;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03))!important;border:1px solid var(--bbp-line)!important;color:var(--bbp-txt)!important;text-align:left;box-shadow:none!important;letter-spacing:0!important;transition:transform .12s ease,border-color .12s ease}
html body .bbp-tile b{font-size:15px;font-weight:800;color:var(--bbp-txt)}
html body .bbp-tile small{font-size:12px;color:var(--bbp-mut);font-weight:500;line-height:1.3}
html body .bbp-tile .bbp-ico{width:26px;height:26px;margin-bottom:6px;color:var(--bbp-gold)}
html body .bbp-tile:active{transform:scale(.98);border-color:rgba(255,215,107,.5)!important}

/* « Restez informé » : une seule famille de boutons (plus 4 dégradés de 4 couleurs) */
html body .home-action-icons{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 6px!important;padding:0!important;justify-content:stretch!important;align-items:stretch!important}
html body .home-action-icons .home-icon-action{width:100%!important;min-width:0!important;height:auto!important;min-height:52px!important;margin:0!important;padding:10px 12px!important;border-radius:14px!important;display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:8px;background:rgba(255,255,255,.05)!important;border:1px solid var(--bbp-line)!important;color:var(--bbp-txt)!important;box-shadow:none!important;font-size:18px!important;text-decoration:none!important;font-weight:700!important;box-sizing:border-box}
html body .home-action-icons .home-icon-action span{display:inline-block!important;visibility:visible!important;opacity:1!important;margin:0!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;color:var(--bbp-txt)!important;white-space:normal!important;text-align:left}
html body .home-action-icons .home-icon-action.bbp-wide{grid-column:1 / -1}
html body .home-action-icons .home-icon-action:active{border-color:rgba(255,215,107,.5)!important}
html body #bbQuickAccessFlash{display:none!important}                    /* doublon des boutons ci-dessus */

/* ---------- Carte Telegram flottante : accueil seulement, compacte, jamais au-dessus d'un menu ---------- */
html body .bb-telegram-flash{display:none!important}
html body[data-bb-view="home"]:not(.bbp-panel-open) .bb-telegram-flash{display:flex!important;bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
html body .bb-telegram-flash-card{padding:12px 14px!important;border-radius:var(--bbp-r)!important;background:rgba(14,24,44,.97)!important;border:1px solid rgba(255,215,107,.28)!important;box-shadow:0 10px 30px rgba(0,0,0,.5)!important}
html body .bb-telegram-title{font-size:14px!important;font-weight:800!important;margin:0 40px 2px 0!important}
html body .bb-telegram-text{font-size:13px!important;line-height:1.4!important;margin:0 0 10px!important;color:var(--bbp-mut)!important}
html body .bb-telegram-actions{display:flex!important;gap:8px;flex-wrap:nowrap!important}
html body .bb-telegram-actions .btn2,html body .bb-telegram-actions a{flex:1 1 0;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:var(--bbp-tap)!important;margin:0!important;padding:0 12px!important;border-radius:12px!important;font-weight:700!important;font-size:14px!important;text-decoration:none!important;box-sizing:border-box;text-align:center}
html body .bb-telegram-actions a.btn2{background:linear-gradient(180deg,var(--bbp-gold),var(--bbp-gold2))!important;color:#241800!important;border:0!important}
html body .bb-telegram-actions button.btn2{background:transparent!important;border:1px solid var(--bbp-line)!important;color:var(--bbp-mut)!important}
html body .bb-telegram-x{width:36px!important;height:36px!important;top:6px!important;right:6px!important;font-size:22px!important}

/* ---------- Barre du bas ---------- */
html body .bb-mobile-nav-btn{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;padding:6px 2px!important;color:var(--bbp-mut)!important;background:transparent!important;border:0!important;border-radius:14px!important;box-shadow:none!important;font-weight:700!important}
html body .bb-mobile-nav-btn .bbp-ico{width:22px;height:22px}
html body .bb-mobile-nav-btn span{font-size:11px!important;font-weight:700!important;line-height:1!important;color:inherit!important}
html body .bb-mobile-nav-btn.active{color:#241800!important;background:linear-gradient(180deg,var(--bbp-gold),var(--bbp-gold2))!important}
/* la poignée ne chevauche plus l'icône du milieu : elle se pose AU-DESSUS de la barre */
html body:not(.bb-mobile-menu-collapsed) .bb-mobile-dock-handle{position:absolute!important;top:-22px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;width:64px!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border-radius:12px 12px 0 0!important;border:1px solid rgba(255,255,255,.14)!important;border-bottom:0!important;background:rgba(6,9,19,.94)!important;color:var(--bbp-mut)!important;font-size:14px!important;line-height:20px!important;font-weight:700!important;box-shadow:none!important}

/* ---------- Menu mobile (feuille) ---------- */
html body .bb-mobile-panel button{min-height:var(--bbp-tap)}

/* ---------- Boutons « Restez informé » : les anciennes règles à identifiant (#btnInstallPWA…) sont neutralisées ---------- */
html body .home-action-icons #btnJoinWhatsappChannel,
html body .home-action-icons #btnInstallPWA,
html body .home-action-icons #btnEnablePush,
html body .home-action-icons #btnHomeFreePlan,
html body .home-action-icons #btnHomeTelegram{
  width:100%!important;min-width:0!important;height:auto!important;min-height:52px!important;margin:0!important;padding:10px 12px!important;
  border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  background:rgba(255,255,255,.05)!important;background-image:none!important;border:1px solid var(--bbp-line)!important;color:var(--bbp-txt)!important;
  box-shadow:none!important;text-shadow:none!important;font-size:18px!important;font-weight:700!important;text-align:left!important;text-decoration:none!important;
  white-space:normal!important;box-sizing:border-box;position:static!important;animation:none!important;
}
html body .home-action-icons #btnJoinWhatsappChannel span,
html body .home-action-icons #btnInstallPWA span,
html body .home-action-icons #btnEnablePush span,
html body .home-action-icons #btnHomeFreePlan span,
html body .home-action-icons #btnHomeTelegram span{
  display:inline-block!important;visibility:visible!important;opacity:1!important;margin:0!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important;
  color:var(--bbp-txt)!important;text-align:left!important;text-shadow:none!important;white-space:normal!important;
}
html body .home-action-icons #btnJoinWhatsappChannel::before,
html body .home-action-icons #btnInstallPWA::before,
html body .home-action-icons #btnHomeFreePlan::before{content:none!important;display:none!important}

/* =====================================================================
   V70091 (suite) — Modules : hiérarchie typographique, accordéons, zones tactiles, icônes des menus
   ===================================================================== */

/* ---------- Hiérarchie typographique : titres 800, libellés 600, textes 500 (au lieu de 900/1000 partout) ---------- */
html body #clientApp h1,html body #authPage h1{font-weight:800!important}
html body #clientApp h2,html body #authPage h2{font-weight:800!important;font-size:18px!important;line-height:1.25!important}
html body #clientApp h3,html body #authPage h3{font-weight:700!important}
html body #clientApp label,html body #authPage label{font-weight:600!important}
html body #clientApp .mut,html body #authPage .mut,html body #clientApp .box,html body #authPage .box{font-weight:500!important}
html body #clientApp b,html body #clientApp strong,html body #authPage b,html body #authPage strong{font-weight:700}
html body #clientApp button,html body #authPage button{font-weight:800!important;letter-spacing:0!important}

/* ---------- Accordéons : Mentions légales et bloc « Votre avis » ---------- */
html body .legal-item,html body .bb-rating-fold{border:1px solid var(--bbp-line);border-radius:14px;background:rgba(255,255,255,.03);margin:0 0 10px;overflow:hidden}
html body .legal-item>summary,html body .bb-rating-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 14px;font-weight:700;font-size:15px;color:var(--bbp-txt);box-sizing:border-box}
html body .legal-item>summary::-webkit-details-marker,html body .bb-rating-fold>summary::-webkit-details-marker{display:none}
html body .legal-item>summary::after,html body .bb-rating-fold>summary::after{content:"";flex:0 0 auto;width:8px;height:8px;margin:0 4px 3px 0;border-right:2px solid var(--bbp-mut);border-bottom:2px solid var(--bbp-mut);transform:rotate(45deg);transition:transform .15s ease}
html body .legal-item[open]>summary::after,html body .bb-rating-fold[open]>summary::after{transform:rotate(-135deg);margin-bottom:-3px}
html body .legal-body{padding:0 14px 12px}
html body .legal-body p{margin:0 0 10px!important;line-height:1.55;font-size:14px;color:var(--bbp-mut);font-weight:500}
html body .legal-body p b{color:var(--bbp-txt)}
html body .bb-rating-fold>summary span{font-weight:500;color:var(--bbp-mut);font-size:13px;margin-left:6px;flex:1 1 auto}
html body .bb-rating-fold>*:not(summary){margin-left:14px!important;margin-right:14px!important;width:auto!important;box-sizing:border-box}
html body .bb-rating-fold>#bbRatingTitle{margin-top:2px!important}
html body .bb-rating-fold>*:last-child{margin-bottom:14px!important}
html body .bb-rating-box{padding:8px!important}

/* ---------- Zones tactiles ---------- */
html body .bb-tuto-btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;font-size:15px!important;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important}
html body .bb-stars{gap:6px!important}
html body .bb-stars button{min-width:44px!important;min-height:44px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:24px!important}
html body #bbBackTop{width:44px!important;height:44px!important}

/* ---------- Menu mobile (feuille) : icônes uniformes ---------- */
html body .bb-mobile-panel .bb-mobile-group button:not([style*="none"]){display:flex!important;align-items:center;gap:12px;min-height:50px;font-size:15px!important;font-weight:700!important;text-align:left}
html body .bb-mobile-panel .bb-mobile-group button .bbp-ico{width:22px;height:22px;flex:0 0 auto;color:var(--bbp-gold)}
html body .bb-mobile-panel .bb-mobile-group button.locked-menu .bbp-ico,html body .bb-mobile-panel .bb-mobile-group button.disabled-menu .bbp-ico{opacity:.5}
html body .bb-mobile-panel .bb-mobile-group button.active{border-color:rgba(255,215,107,.55)!important}
html body .bb-rating-fold{margin-bottom:0!important}
