  #nomiFab{
    position:fixed; bottom:24px; right:24px; z-index:250;
    width:78px; height:78px; border-radius:50%; border:3px solid var(--white); cursor:pointer;
    padding:0; overflow:hidden;
    background:linear-gradient(135deg,var(--coral),var(--coral-deep));
    box-shadow:0 14px 30px -10px rgba(193,122,85,0.65), 0 4px 10px -4px rgba(46,27,16,0.3);
    display:flex; align-items:center; justify-content:center;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1);
    animation:nomiIntro .6s cubic-bezier(.34,1.56,.64,1) .8s both;
  }
  #nomiFab:hover{ transform:scale(1.08); }
  #nomiFab:active{ transform:scale(0.96); }
  #nomiFab img{ width:100%; height:100%; object-fit:cover; position:relative; z-index:2; display:block; }
  #nomiFab .nomi-ring{
    position:absolute; inset:-6px; border-radius:50%;
    border:2px solid var(--coral); opacity:0;
    animation:nomiPulse 2.8s ease-out infinite;
  }
  @keyframes nomiIntro{ 0%{ transform:scale(0) rotate(-20deg); } 100%{ transform:scale(1) rotate(0); } }
  @keyframes nomiPulse{
    0%{ opacity:.55; transform:scale(1); }
    100%{ opacity:0; transform:scale(1.35); }
  }
  #nomiFab.nomi-hide{ transform:scale(0); opacity:0; pointer-events:none; }
  /* Bug remonté le 03/09 (avec capture d'écran) : comme la barre .mobile-trust
     (index.html), ce bouton et cette bulle sont en position:fixed — sur mobile,
     quand le clavier virtuel s'ouvre (ex. en remplissant un formulaire), ils se
     retrouvent à flotter au milieu de l'écran par-dessus les champs au lieu de
     rester en bas. Masqués tant qu'un champ de formulaire a le focus (voir le
     script en bas de nomady-widget-fr.js / nomady-widget-en.js, qui bascule
     body.kb-open — chargé sur toutes les pages, contrairement à mobile-trust qui
     n'existe que sur la home). */
  body.kb-open #nomiFab, body.kb-open .nomi-hint{ display:none; }

  .nomi-hint{
    position:fixed; bottom:43px; right:114px; z-index:249;
    background:var(--white); color:var(--ink); font-family:'Poppins',sans-serif;
    font-size:0.85rem; font-weight:600; padding:11px 34px 11px 18px; border-radius:100px;
    box-shadow:0 10px 26px -10px rgba(46,27,16,0.4);
    white-space:nowrap; cursor:pointer; border:1px solid var(--line);
    opacity:0; transform:translateX(8px) scale(0.92);
    transition:opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
    pointer-events:none;
  }
  .nomi-hint.nomi-show{ opacity:1; transform:translateX(0) scale(1); pointer-events:auto; }
  .nomi-hint-close{
    position:absolute; top:50%; right:8px; transform:translateY(-50%);
    width:18px; height:18px; border-radius:50%; border:none; padding:0;
    background:rgba(46,27,16,0.08); color:var(--ink); font-size:13px; line-height:1;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
  }
  @media(max-width:900px){
    .nomi-hint{
      right:16px; left:auto; bottom:136px;
      white-space:normal; max-width:190px; text-align:center;
      font-size:0.8rem; padding:10px 30px 10px 14px;
    }
  }

  #nomiPanel{
    position:fixed; bottom:24px; right:24px; z-index:251;
    width:392px; max-width:calc(100vw - 32px); height:min(640px, 78vh);
    background:var(--white); border-radius:24px; overflow:hidden;
    box-shadow:0 30px 70px -20px rgba(46,27,16,0.45);
    display:flex; flex-direction:column;
    transform-origin:bottom right;
    transform:scale(.85) translateY(16px); opacity:0; pointer-events:none;
    transition:transform .32s cubic-bezier(.2,.9,.3,1.3), opacity .22s ease;
  }
  #nomiPanel.nomi-open{ transform:scale(1) translateY(0); opacity:1; pointer-events:auto; }

  .nomi-head{
    background:linear-gradient(120deg,var(--coral),var(--coral-deep));
    padding:18px 18px 16px; display:flex; align-items:flex-start; gap:12px; flex-shrink:0;
  }
  .nomi-head-avatar{
    width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,0.22);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative;
    overflow:hidden; border:2px solid rgba(255,255,255,0.55);
  }
  .nomi-head-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
  .nomi-head-text{ flex:1; min-width:0; }
  .nomi-head-text b{ display:block; color:#fff; font-size:1.02rem; font-weight:700; }
  .nomi-head-text span{ display:block; color:rgba(255,255,255,0.85); font-size:0.76rem; font-weight:500; margin-top:1px; }
  .nomi-close{
    width:32px; height:32px; border-radius:50%; border:none; cursor:pointer;
    background:rgba(255,255,255,0.18); color:#fff; font-size:1.15rem; line-height:1;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    transition:background .2s ease;
  }
  .nomi-close:hover{ background:rgba(255,255,255,0.32); }

  .nomi-body{
    flex:1; overflow-y:auto; padding:18px 16px; display:flex; flex-direction:column; gap:12px;
    background:var(--cream); scroll-behavior:smooth;
  }
  .nomi-body::-webkit-scrollbar{ width:5px; }
  .nomi-body::-webkit-scrollbar-thumb{ background:var(--coral-tint); border-radius:6px; }

  .nomi-row{ display:flex; align-items:flex-end; gap:8px; max-width:88%; }
  .nomi-row.bot{ align-self:flex-start; }
  .nomi-row.user{ align-self:flex-end; flex-direction:row-reverse; }
  .nomi-avatar-sm{
    width:32px; height:32px; border-radius:50%; flex-shrink:0; margin-bottom:2px;
    background:linear-gradient(135deg,var(--coral),var(--coral-deep));
    display:flex; align-items:center; justify-content:center; overflow:hidden;
  }
  .nomi-avatar-sm img{ width:100%; height:100%; object-fit:cover; display:block; }
  .nomi-bubble{
    padding:11px 15px; border-radius:16px; font-size:0.9rem; line-height:1.5;
  }
  .nomi-row.bot .nomi-bubble{
    background:var(--white); color:var(--ink); border-bottom-left-radius:5px;
    box-shadow:0 3px 10px -6px rgba(46,27,16,0.18);
  }
  .nomi-row.user .nomi-bubble{
    background:linear-gradient(135deg,var(--coral-deep),#a8663f); color:#fff;
    border-bottom-right-radius:5px;
  }
  .nomi-bubble a{ color:inherit; text-decoration:underline; font-weight:600; }

  .nomi-typing{ display:flex; gap:4px; padding:13px 15px; }
  .nomi-typing span{
    width:6px; height:6px; border-radius:50%; background:var(--ink-soft); opacity:.5;
    animation:nomiTyping 1.1s ease-in-out infinite;
  }
  .nomi-typing span:nth-child(2){ animation-delay:.15s; }
  .nomi-typing span:nth-child(3){ animation-delay:.3s; }
  @keyframes nomiTyping{ 0%,60%,100%{ transform:translateY(0); opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }

  .nomi-chips{ display:flex; flex-wrap:wrap; gap:7px; padding:2px 2px 4px; align-self:flex-start; max-width:100%; }
  .nomi-chip{
    background:var(--white); border:1.3px solid var(--line); color:var(--ink);
    font-family:'Poppins',sans-serif; font-size:0.78rem; font-weight:600;
    padding:8px 13px; border-radius:100px; cursor:pointer; transition:all .2s ease;
  }
  .nomi-chip:hover{ border-color:var(--coral); background:var(--white); transform:translateY(-1px); }

  .nomi-foot{ flex-shrink:0; background:var(--white); border-top:1px solid var(--line); padding:12px 14px; }
  .nomi-input-row{ display:flex; gap:8px; align-items:center; }
  .nomi-input-row input{
    flex:1; border:1.5px solid var(--line); border-radius:100px; padding:11px 16px;
    font-family:'Poppins',sans-serif; font-size:0.88rem; color:var(--ink); min-width:0;
  }
  .nomi-input-row input:focus{ outline:2px solid var(--coral); outline-offset:1px; }
  .nomi-send{
    width:40px; height:40px; border-radius:50%; border:none; cursor:pointer; flex-shrink:0;
    background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
    transition:background .2s ease, transform .15s ease;
  }
  .nomi-send:hover{ background:var(--coral-deep); }
  .nomi-send:active{ transform:scale(0.9); }
  .nomi-send svg{ width:17px; height:17px; }
  .nomi-disclaimer{
    text-align:center; font-size:0.68rem; color:var(--ink-soft); margin-top:9px; line-height:1.4;
  }
  .nomi-disclaimer a{ color:var(--coral-deep); font-weight:600; }

  .nomi-leadform{
    align-self:flex-start; width:100%; max-width:100%; background:var(--white);
    border-radius:16px; padding:14px; box-shadow:0 3px 10px -6px rgba(46,27,16,0.18);
    display:flex; flex-direction:column; gap:8px;
  }
  .nomi-leadform input, .nomi-leadform textarea{
    border:1.5px solid var(--line); border-radius:12px; padding:9px 12px;
    font-family:'Poppins',sans-serif; font-size:0.85rem; color:var(--ink); width:100%;
  }
  .nomi-leadform textarea{ resize:vertical; min-height:60px; }
  .nomi-leadform input:focus, .nomi-leadform textarea:focus{ outline:2px solid var(--coral); outline-offset:1px; }
  .nomi-lead-submit{
    background:var(--ink); color:#fff; border:none; border-radius:100px; padding:10px 16px;
    font-family:'Poppins',sans-serif; font-weight:600; font-size:0.85rem; cursor:pointer;
    transition:background .2s ease;
  }
  .nomi-lead-submit:hover{ background:var(--coral-deep); }
  .nomi-lead-done{ font-size:0.85rem; color:#5C7A5C; font-weight:600; padding:4px 2px; }

  @media (max-width:900px){
    #nomiFab{ bottom:60px; right:16px; width:64px; height:64px; }
    #nomiPanel{
      right:0; left:0; bottom:0; width:100%; max-width:100%;
      height:min(82vh, 640px); border-radius:22px 22px 0 0;
      transform-origin:bottom center; transform:scale(1) translateY(100%);
    }
    #nomiPanel.nomi-open{ transform:scale(1) translateY(0); }
  }
  @media (prefers-reduced-motion: reduce){
    #nomiFab, #nomiPanel, .nomi-ring, .nomi-typing span{ animation:none !important; transition:none !important; }
  }
