/* Shared WhatsApp shortcut, outside the home/service route containers. */
.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #25d366;
  color: #092e20;
  box-shadow: 0 6px 22px #071e1933, 0 1px 4px #071e1926;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-float .icon { width: 30px; height: 30px; stroke-width: 1.65; }
.whatsapp-float:focus-visible { outline: 3px solid #163e2c; outline-offset: 4px; box-shadow: 0 0 0 4px #fffefa; }

/* Let the final footer content scroll above the floating shortcut. */
.site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

/* Preserve access to the film's pause and watch links on desktop. */
@media (min-width: 900px) {
  .is-scrubbable .film-controls { margin-right: 72px; }
}

@media (hover: hover) {
  .whatsapp-float:hover { background: #42e27e; transform: translateY(-2px); box-shadow: 0 9px 26px #071e1940; }
}

@media (max-width: 650px) {
  .whatsapp-float {
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }
  .whatsapp-float .icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

@media print { .whatsapp-float { display: none; } }
