/* Patchouli Privé — site shell (landing page) */

body {
  margin: 0;
  background: #f7f3ec;
  color: #1a1714;
  overflow-x: clip;
}

.pp-skip {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: #0b0b0b;
  color: #fffdf8;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
}

.pp-skip:focus {
  top: 1rem;
}

/* Floating contact actions */

.pp-float {
  --pp-float-glow: rgba(11, 11, 11, 0.28);
  position: fixed;
  right: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 11, 11, 0.22);
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    filter 0.4s ease;
  animation:
    pp-float-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
    pp-float-bob 3.6s ease-in-out 1.1s infinite;
  will-change: transform;
}

.pp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--pp-float-glow);
  animation: pp-float-ring 2.8s ease-out infinite;
  pointer-events: none;
}

.pp-float--whatsapp {
  bottom: 5.35rem;
  background: #25d366;
  --pp-float-glow: rgba(37, 211, 102, 0.45);
  animation-delay: 0.15s, 1.1s;
}

.pp-float--whatsapp::before {
  animation-delay: 0.35s;
}

.pp-float--call {
  bottom: 1.25rem;
  background: #0b0b0b;
  color: #c6a15b;
  --pp-float-glow: rgba(198, 161, 91, 0.4);
  animation-delay: 0.35s, 1.45s;
}

.pp-float--call::before {
  animation-delay: 1.1s;
}

.pp-float__icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pp-float:hover,
.pp-float:focus-visible {
  transform: translate3d(0, -4px, 0) scale(1.08);
  box-shadow: 0 16px 36px rgba(11, 11, 11, 0.3);
  filter: brightness(1.06);
  outline: none;
  animation-play-state: paused;
}

.pp-float:hover::before,
.pp-float:focus-visible::before {
  animation: none;
  box-shadow: 0 0 0 8px transparent;
  transition: box-shadow 0.45s ease;
}

.pp-float:hover .pp-float__icon,
.pp-float:focus-visible .pp-float__icon {
  transform: scale(1.12) rotate(-8deg);
}

.pp-float--call:hover .pp-float__icon,
.pp-float--call:focus-visible .pp-float__icon {
  transform: scale(1.12) rotate(12deg);
  animation: pp-float-ring-shake 0.55s ease;
}

.pp-float:active {
  transform: translate3d(0, -1px, 0) scale(0.96);
  transition-duration: 0.15s;
}

.pp-float:focus-visible {
  outline: 2px solid #c6a15b;
  outline-offset: 3px;
}

@keyframes pp-float-enter {
  from {
    opacity: 0;
    transform: translate3d(1.5rem, 0.75rem, 0) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes pp-float-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes pp-float-ring {
  0% {
    box-shadow: 0 0 0 0 var(--pp-float-glow);
    opacity: 0.85;
  }

  70% {
    box-shadow: 0 0 0 12px transparent;
    opacity: 0;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 0;
  }
}

@keyframes pp-float-ring-shake {
  0%,
  100% {
    transform: scale(1.12) rotate(12deg);
  }

  25% {
    transform: scale(1.12) rotate(-10deg);
  }

  50% {
    transform: scale(1.14) rotate(14deg);
  }

  75% {
    transform: scale(1.12) rotate(-6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-float,
  .pp-float::before,
  .pp-float__icon {
    animation: none !important;
    transition: none !important;
  }

  .pp-float:hover,
  .pp-float:focus-visible {
    transform: none;
    filter: none;
  }

  .pp-float:hover .pp-float__icon,
  .pp-float:focus-visible .pp-float__icon {
    transform: none;
  }
}

@media (min-width: 768px) {
  .pp-float {
    right: 1.5rem;
    width: 3.35rem;
    height: 3.35rem;
  }

  .pp-float--whatsapp {
    bottom: 5.75rem;
  }

  .pp-float--call {
    bottom: 1.5rem;
  }

  .pp-float__icon {
    width: 1.45rem;
    height: 1.45rem;
  }
}
