 /* Bouton flottant “Aide” — visible desktop & mobile */
.help-fab{
  position: fixed;
  right: clamp(14px, env(safe-area-inset-right) + 12px, 32px);
  bottom: clamp(14px, env(safe-area-inset-bottom) + 12px, 32px);
  z-index: 1000;

  display: inline-flex;                 /* ✅ visible par défaut */
  align-items: center;
  gap: .5rem;

  background: var(--brand-gold);
  color: var(--brand-text-dark);
  font-weight: 900;
  border-radius: 9999px;
  padding: .66rem 1rem;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.help-fab .icon{ font-size: 1rem; line-height: 1; }
.help-fab .txt{ line-height: 1; }

/* Hover/active (desktop) */
@media (hover:hover) and (pointer:fine){
  .help-fab:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
  }
  .help-fab:active{
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
  }
}

/* Focus accessible */
.help-fab:focus-visible{
  outline: 3px solid #e11d48;
  outline-offset: 2px;
}

/* Confort tactile (téléphones/tablettes) */
@media (pointer:coarse){
  .help-fab{ padding: .75rem 1.05rem; }
  .help-fab .icon{ font-size: 1.1rem; }
}

/* Réduction des animations si demandé par l’utilisateur */
@media (prefers-reduced-motion:no-preference){
  .help-fab{
    animation: fab-pop .28s ease-out both;
  }
  @keyframes fab-pop{
    from{ transform: translateY(8px); opacity: 0; }
    to  { transform: translateY(0); opacity: 1; }
  }
}

/* Contraste renforcé si nécessaire */
@media (prefers-contrast: more){
  .help-fab{
    border-color: rgba(0,0,0,.35);
    box-shadow: 0 0 0 3px rgba(0,0,0,.12), 0 10px 24px rgba(0,0,0,.22);
  }
}

/* Optionnel : ne pas l’imprimer */
@media print{
  .help-fab{ display: none !important; }
}