/* Reset básico para evitar interferências */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.side-btn {
  /* POSICIONAMENTO CRÍTICO - Mantendo exatamente como o original */
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  
  /* DIMENSÕES */
  height: 68px;
  width: 68px;
  
  /* DESIGN E CORES */
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: white;
  text-decoration: none;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* BORDAS - Apenas do lado esquerdo para colar na direita */
  border: none;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  
  overflow: hidden;
  box-shadow: -5px 0 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

/* EFEITO DE BRILHO (SHIMMER) */
.side-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  animation: shimmerEffect 4s infinite;
  pointer-events: none;
}

@keyframes shimmerEffect {
  0% { transform: translate(-100%, -100%) rotate(45deg); }
  100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* ESTADO HOVER - EXPANSÃO */
.side-btn:hover {
  width: 260px; /* Largura ajustada para não exagerar */
  justify-content: flex-end;
  padding-right: 30px;
  box-shadow: -12px 0 32px rgba(34, 197, 94, 0.5), inset 0 2px 0 rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.02);
  background: linear-gradient(135deg, #4ade80, #16a34a);
}

/* ÍCONE CENTRAL (R$) */
.side-btn .icon {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.side-btn:hover .icon {
  opacity: 0;
  transform: translateX(-50%) scale(0.5) rotate(-20deg);
}

/* TEXTO QUE APARECE NO HOVER */
.side-btn .text {
  opacity: 0;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  
  /* Texto com gradiente animado */
  background: linear-gradient(90deg, #fef08a, #fbbf24, #fef08a, #86efac);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  transition: all 0.5s ease 0.1s;
  animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
  to { background-position: 200% center; }
}

.side-btn:hover .text {
  opacity: 1;
  transform: translateX(0);
}

/* ÍCONE DE MAIS (+) */
.side-btn .plus-icon {
  font-size: 24px;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  flex-shrink: 0;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.side-btn:hover .plus-icon {
  animation: none;
  transform: rotate(90deg) scale(1.1);
}

/* ESTADO ATIVO (CLIQUE) */
.side-btn:active {
  transform: translateY(-50%) scale(0.95);
  filter: brightness(1.1);
}