/* <!-- 
  Built by Christian Vendramel Rebolo
  If you're reading this, give credit  😉
  Unauthorized copying is prohibited.
--> */

/* cr-dev-signature: Christian Vendramel Rebolo */

/* ============================================================
   THIAGOFNX — BOTÕES FLUTUANTES
   ============================================================ */

/* ── Back to Top ── */
.btt {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: var(--z-float);
  width: 42px;
  height: 42px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease),
              transform 0.3s var(--ease),
              background 0.2s,
              border-color 0.2s,
              color 0.2s;
}

.btt.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.btt:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ── WhatsApp Float ── */
.wfloat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.3rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  text-decoration: none;
}

.wfloat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.wfloat i {
  font-size: 1.1rem;
}

/* Anel de pulso */
.wfloat::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: pulseRing 2.5s ease-out infinite;
}

/* Responsivo: só ícone em mobile (ver responsive.css) */
.wfloat__label {
  display: inline;
}
