/*!
 * Trame · global "Signaler" floating action button.
 * Mobile only (≤900px). Pinned to the bottom-right of every marketing page.
 * Tap routes to /observatoire/?action=signaler which auto-opens the form.
 *
 * Hidden inside /observatoire/ itself (it has its own affordance — tap-hint,
 * help FAB, stats FAB) and inside /espace-client/* surfaces.
 */
.balisio-signal-fab {
  position: fixed;
  z-index: 950;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom) + 16px);
  display: none;                                    /* desktop default */
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: #b8000c;
  color: #fff;
  border-radius: 14px;
  border: 0;
  font-family: Inter, sans-serif;
  letter-spacing: -.005em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(184, 0, 12, .32), 0 4px 10px rgba(12, 27, 42, .14);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.balisio-signal-fab:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(184, 0, 12, .38), 0 4px 10px rgba(12, 27, 42, .14); }
.balisio-signal-fab:active { transform: translateY(0); }
.balisio-signal-fab .ic {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  flex-shrink: 0;
}
.balisio-signal-fab .ic svg { width: 18px; height: 18px; }
.balisio-signal-fab .lab {
  display: flex; flex-direction: column;
  line-height: 1.15; gap: 1px;
}
.balisio-signal-fab .lab b {
  font-weight: 600;
  font-size: 14px;
  font-style: normal;
}
.balisio-signal-fab .lab i {
  font-style: normal;
  font-weight: 400;
  font-size: 11.5px;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
}
.balisio-signal-fab .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  margin-left: 2px;
  flex-shrink: 0;
  animation: tsfPulse 2s ease-in-out infinite;
}
@keyframes tsfPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* Show on mobile only */
@media (max-width: 900px) {
  .balisio-signal-fab { display: inline-flex; }
}

/* Phones: tighten + move slightly clear of any other bottom-right CTA */
@media (max-width: 480px) {
  .balisio-signal-fab {
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    padding: 9px 14px 9px 10px;
    gap: 9px;
    min-height: 54px;
  }
  .balisio-signal-fab .ic { width: 34px; height: 34px; }
  .balisio-signal-fab .ic svg { width: 17px; height: 17px; }
  .balisio-signal-fab .lab b { font-size: 13.5px; }
  .balisio-signal-fab .lab i { font-size: 11px; }
}
@media (max-width: 360px) {
  /* Very narrow phones: drop the subtitle, keep title + icon + dot. */
  .balisio-signal-fab .lab i { display: none; }
  .balisio-signal-fab .lab { line-height: 1; }
}

/* Pages that surface their own report-affordance suppress the global FAB */
body[data-no-signal-fab] .balisio-signal-fab { display: none !important; }
