/* Sticky CTA mobile — /rota/ e /mudanca/ (Zurcad) */
.rota-sticky-cta {
  display: none;
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rota-sticky-cta.is-visible {
  display: block;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.rota-sticky-cta.is-visible .rota-sticky-cta__link {
  animation: rota-cta-pulse 2.2s ease-in-out infinite;
}

.rota-sticky-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
  white-space: nowrap;
  transform: scale(1);
  will-change: transform, box-shadow;
}

.rota-sticky-cta__link:active {
  animation: none;
  transform: scale(0.96);
}

@keyframes rota-cta-pulse {
  0% {
    transform: scale(0.97);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.38), 0 0 0 0 rgba(255, 107, 53, 0.28);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.48), 0 0 0 7px rgba(255, 107, 53, 0);
  }

  100% {
    transform: scale(0.97);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.38), 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.rota-sticky-cta__emoji {
  font-size: 1.15rem;
  line-height: 1;
}

@media (min-width: 769px) {
  .rota-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.rota-has-sticky-cta {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rota-sticky-cta.is-visible .rota-sticky-cta__link {
    animation: none;
  }
}
