/* Floating Welcome Bubble (retomar simulação) */

.welcome-bubble {
  position: fixed;
  right: 16px;
  bottom: 88px; /* above fixed bars/CTA */
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  border-radius: 16px;
  background: var(--color-neutral-900);
  color: var(--color-neutral-0);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.welcome-bubble.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.welcome-bubble .wb-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-neutral-0); color: var(--color-neutral-900); display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
}

.welcome-bubble .wb-text { font-size: .9rem; line-height: 1.15; }
.welcome-bubble .wb-text strong { font-weight: 600; }
.welcome-bubble .wb-actions a { color: var(--color-primary-300); text-decoration: underline; }

.welcome-bubble .wb-close { border: 0; background: transparent; color: var(--color-neutral-0); opacity: .8; cursor: pointer; }
.welcome-bubble .wb-close:hover { opacity: 1; }

/* Pequeno botão "não sou" (ao lado de retomar) */
.welcome-bubble .wb-notme {
  position: relative;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: var(--color-neutral-0);
  opacity: .85;
  margin-left: .5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .15rem .55rem;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.welcome-bubble .wb-notme:hover,
.welcome-bubble .wb-notme:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
}
.welcome-bubble .wb-notme i { pointer-events: none; }
.welcome-bubble .wb-notme::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  background: var(--color-neutral-0);
  color: var(--color-neutral-900);
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -6px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.welcome-bubble .wb-notme::before {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-neutral-0);
  transform: translate(-50%, -4px) rotate(45deg);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.welcome-bubble .wb-notme:hover::after,
.welcome-bubble .wb-notme:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.welcome-bubble .wb-notme:hover::before,
.welcome-bubble .wb-notme:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) rotate(45deg);
}

@media (max-width: 768px) {
  .welcome-bubble { right: 12px; bottom: 84px; }
}
