/* Styles autrefois injectés en <style> par jamrent.js.
   Un élément <style> créé en JS est bloqué dès que style-src perd
   'unsafe-inline' : ils sont désormais servis en fichier. Texte recopié tel
   que jamrent.js l'injectait, dans son ordre d'exécution. */

/* ── Menu hamburger mobile ─────────────────────────────────────── */
    .hamburger{display:none!important;background:none;border:none;cursor:pointer;padding:.4rem .5rem;color:#374151;font-size:1.25rem;line-height:1}
    .mobile-menu{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;padding:.8rem 1.5rem 1rem;flex-direction:column;gap:0;box-shadow:0 8px 24px rgba(0,0,0,.09);z-index:99}
    .mobile-menu.open{display:flex;animation:mslide .18s ease}
    @keyframes mslide{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
    .mobile-menu a,.mobile-menu button{color:#374151;text-decoration:none;font-size:.92rem;font-weight:500;padding:.6rem 0;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;gap:.5rem}
    .mobile-menu a:last-child,.mobile-menu button:last-child{border-bottom:none}
    .mobile-menu .mm-post{color:#27ae60!important;font-weight:700}
    /* Focus clavier visible sur le menu utilisateur et le hamburger */
    #nav-dropdown-btn:focus-visible,#nav-dropdown [role="menuitem"]:focus-visible,.hamburger:focus-visible{outline:3px solid #f59e0b;outline-offset:2px;border-radius:8px}
    @media(max-width:860px){
      .hamburger{display:flex!important;align-items:center;justify-content:center}
      .nav-links{display:none!important}
      nav{position:relative}
    }
  

/* ── JamBot ────────────────────────────────────────────────────── */
    #jb-btn{position:fixed;bottom:24px;right:24px;width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#023e8a,#0077b6);border:none;cursor:pointer;box-shadow:0 4px 22px rgba(0,119,182,.45);z-index:9999;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}
    #jb-btn:hover{transform:scale(1.09);box-shadow:0 6px 30px rgba(0,119,182,.55)}
    #jb-btn svg{width:26px;height:26px;fill:#fff}
    #jb-notif{position:absolute;top:-3px;right:-3px;width:19px;height:19px;background:#f59e0b;border-radius:50%;border:2.5px solid #fff;font-size:.6rem;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-family:'Nunito',sans-serif}
    #jb-box{position:fixed;bottom:98px;right:24px;width:355px;max-height:530px;background:#fff;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.17);z-index:9998;display:none;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb}
    #jb-box.open{display:flex;animation:jbpop .2s cubic-bezier(.34,1.56,.64,1)}
    @keyframes jbpop{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
    #jb-hd{background:linear-gradient(135deg,#023e8a,#0077b6);padding:.9rem 1.1rem;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
    .jbhi{display:flex;align-items:center;gap:.75rem}
    .jbha{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
    .jbhn{color:#fff;font-family:'Nunito',sans-serif;font-weight:800;font-size:.93rem}
    .jbhs{color:rgba(255,255,255,.55);font-size:.7rem;display:flex;align-items:center;gap:.3rem}
    .jbd{width:6px;height:6px;background:#2ecc71;border-radius:50%}
    #jb-x{background:none;border:none;color:rgba(255,255,255,.6);cursor:pointer;font-size:1rem;padding:.25rem;transition:color .2s}
    #jb-x:hover{color:#fff}
    #jb-msgs{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.6rem;max-height:310px;scroll-behavior:smooth}
    #jb-msgs::-webkit-scrollbar{width:3px}
    #jb-msgs::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:2px}
    .jbr{display:flex;gap:.45rem;align-items:flex-end}
    .jbr.bot{flex-direction:row}.jbr.usr{flex-direction:row-reverse}
    .jbav{width:25px;height:25px;border-radius:50%;background:linear-gradient(135deg,#023e8a,#0077b6);display:flex;align-items:center;justify-content:center;font-size:.7rem;flex-shrink:0}
    .jbm{max-width:83%;padding:.6rem .85rem;border-radius:13px;font-size:.84rem;line-height:1.6;white-space:pre-line;word-break:break-word}
    .jbr.bot .jbm{background:#f1f5f9;color:#1a2e44;border-bottom-left-radius:3px}
    .jbr.usr .jbm{background:linear-gradient(135deg,#0077b6,#0096c7);color:#fff;border-bottom-right-radius:3px}
    .jbt2{display:flex;gap:.28rem;align-items:center;padding:.55rem .85rem}
    .jbt2 span{width:7px;height:7px;background:#9ca3af;border-radius:50%;animation:jbd2 1.1s infinite}
    .jbt2 span:nth-child(2){animation-delay:.2s}.jbt2 span:nth-child(3){animation-delay:.4s}
    @keyframes jbd2{0%,80%,100%{transform:scale(1);opacity:.4}40%{transform:scale(1.3);opacity:1}}
    #jb-sg{padding:.45rem .9rem;display:flex;gap:.35rem;flex-wrap:wrap;border-top:1px solid #f1f5f9;flex-shrink:0}
    .jbsg{background:#f0f9ff;border:1.5px solid #bae6fd;border-radius:20px;padding:.25rem .65rem;font-size:.73rem;font-weight:600;color:#0077b6;cursor:pointer;transition:all .17s;white-space:nowrap;font-family:'Inter',sans-serif}
    .jbsg:hover{background:#0077b6;color:#fff;border-color:#0077b6}
    #jb-ft{padding:.65rem .9rem;border-top:1px solid #f1f5f9;display:flex;gap:.45rem;flex-shrink:0;align-items:center}
    #jb-in{flex:1;border:1.5px solid #e5e7eb;border-radius:9px;padding:.55rem .8rem;font-family:'Inter',sans-serif;font-size:.85rem;outline:none;transition:border-color .2s;color:#1a2e44}
    #jb-in:focus{border-color:#0077b6;box-shadow:0 0 0 3px rgba(0,119,182,.08)}
    #jb-snd{background:#0077b6;color:#fff;border:none;border-radius:9px;width:36px;height:36px;cursor:pointer;font-size:.85rem;transition:all .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0}
    #jb-snd:hover{background:#0096c7}
    .jb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
    #jb-in:focus-visible,#jb-snd:focus-visible,#jb-x:focus-visible,#jb-btn:focus-visible,.jbsg:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
    @media(max-width:420px){#jb-box{width:calc(100vw - 16px);right:8px;bottom:88px}}
  

/* ── Bandeau cookies RGPD ──────────────────────────────────────── */
    #jrcb{position:fixed;bottom:0;left:0;right:0;background:#1a2e44;color:#fff;z-index:99999;box-shadow:0 -4px 24px rgba(0,0,0,.25);font-family:'Inter',sans-serif;font-size:.83rem;line-height:1.5;animation:jrcb-slide .3s ease}
    @keyframes jrcb-slide{from{transform:translateY(100%)}to{transform:translateY(0)}}
    #jrcb-inner{max-width:1280px;margin:0 auto;padding:1.2rem 1.5rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}
    #jrcb a{color:#2ecc71;text-decoration:underline;white-space:nowrap}
    #jrcb-txt{flex:1;min-width:280px}
    #jrcb-txt h4{font-family:'Nunito',sans-serif;font-size:.95rem;margin-bottom:.4rem;font-weight:800}
    #jrcb-opts{display:flex;gap:1rem;margin:.6rem 0;flex-wrap:wrap}
    .jrcb-opt{display:flex;align-items:center;gap:.4rem;font-size:.8rem}
    .jrcb-opt input[type="checkbox"]{accent-color:#2ecc71;width:16px;height:16px;cursor:pointer}
    .jrcb-opt label{cursor:pointer}
    #jrcb-btns{display:flex;gap:.65rem;flex-shrink:0;align-items:center;flex-wrap:wrap}
    .jrcb-btn{border:none;border-radius:8px;padding:.55rem 1.2rem;font-weight:700;cursor:pointer;font-family:'Nunito',sans-serif;font-size:.85rem;transition:all .2s;white-space:nowrap}
    #jrcb-all{background:#2ecc71;color:#fff}
    #jrcb-all:hover{background:#27ae60}
    #jrcb-sel{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.2)}
    #jrcb-sel:hover{background:rgba(255,255,255,.25)}
    #jrcb-ess{background:none;color:rgba(255,255,255,.6);font-size:.8rem;text-decoration:underline;cursor:pointer;border:none;font-family:'Inter',sans-serif}
    @media(max-width:640px){#jrcb-inner{flex-direction:column}#jrcb-btns{width:100%;justify-content:stretch}#jrcb-all,#jrcb-sel{flex:1;text-align:center}}
  

/* ── Barre de navigation bas de page ───────────────────────────── */
#bottom-nav-bar{background:linear-gradient(90deg,#f0f7ff 0%,#e8f5f0 100%);border-top:1px solid #e5edf5;border-bottom:1px solid #e5edf5;padding:.85rem 2rem;display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap}#bottom-nav-bar a{display:inline-flex;align-items:center;gap:.45rem;color:#374151;text-decoration:none;font-size:.88rem;font-weight:600;font-family:"Inter",sans-serif;padding:.4rem .75rem;border-radius:8px;transition:all .2s}#bottom-nav-bar a:hover{color:#0077b6;background:rgba(0,119,182,.07)}#bottom-nav-bar a i{font-size:.82rem;color:#0077b6}@media(max-width:600px){#bottom-nav-bar{gap:1rem;padding:.7rem 1rem}#bottom-nav-bar a{font-size:.82rem}}
