.mirror { aspect-ratio: .55; }
.mirror-body {
  position: absolute; inset: 0; transform-origin: 50% 42%;
  transform: rotate(-16deg) rotateY(var(--turn, -10deg));
  filter: drop-shadow(0.75rem 1rem .7rem #52321929);
}
.mirror-handle, .mirror-neck, .mirror-frame {
  position: absolute;
  background: linear-gradient(96deg,#553d2d,#bc875e 19%,#f1cfa3 35%,#936447 58%,#543c30 85%,#cfab80);
}
.mirror-handle {
  top: 56%; left: 43%; width: 14%; height: 42%; border-radius: 55% 55% 45% 45%;
  clip-path: polygon(13% 0,87% 0,72% 38%,91% 84%,100% 94%,82% 100%,21% 100%,0 94%,10% 84%,30% 38%);
}
.mirror-neck { top: 55%; left: 38%; width: 24%; height: 9%; border-radius: 35%; }
.mirror-frame {
  inset: 0 0 39%; border-radius: 50%;
  background: linear-gradient(135deg,#78553f 1%,#f2d5ab 18%,#a67350 36%,#623f30 62%,#e7c099 84%,#805238);
  box-shadow: inset 0 0 0 1px #795b46,inset 0 0 0 3px #f3d7b580;
}
.mirror-glass {
  position: absolute; inset: 4%; border-radius: 50%; overflow: hidden;
  background: #9b876e url('media/photos/transformacao-02-depois-640.webp') var(--crop, 50%) 42% / 165% auto;
  box-shadow: inset 2px 2px 5px #302923aa,inset -1px -1px 1px #fff5dc;
}
.mirror-glass::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(114deg, #c1c9bf33 15%,#fffbedaa 35%,#fff4d938 52%,#85736633 84%);
  background-size: 165% 100%; background-position: var(--crop,50%) center;
}

.cover-mirror {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  perspective: 920px;
}
@media (min-width: 761px) {
  .cover-mirror {
    left: clamp(42%, calc(65% - 14rem), 49%); top: 43%;
    width: clamp(5rem, 31vw - 14rem, min(14vw, 14rem));
    transform: translate(-50%, -50%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cover-mirror .mirror-body { animation: mirror-poise 6s ease-in-out infinite alternate; }
  .cover-mirror .mirror-glass { animation: mirror-reflection 6s ease-in-out infinite alternate; }
  .cover-mirror .mirror-glass::after { animation: mirror-sheen 6s ease-in-out infinite alternate; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .cover-mirror .mirror-body { animation: mirror-mobile 4.2s ease-in-out -1.4s infinite alternate; }
  .cover-mirror .mirror-glass, .cover-mirror .mirror-glass::after { animation-duration: 4.2s; animation-delay: -1.4s; }
}
@keyframes mirror-mobile {
  from { transform: translateY(3px) rotate(-18deg) rotateY(-27deg); }
  to { transform: translateY(-4px) rotate(-8deg) rotateY(16deg); }
}
@keyframes mirror-poise {
  from { transform: rotate(-16deg) rotateY(-19deg); }
  to { transform: rotate(-13deg) rotateY(12deg); }
}
@keyframes mirror-reflection {
  from { background-position: 78% 42%; }
  to { background-position: 33% 42%; }
}
@keyframes mirror-sheen {
  from { background-position: 100% center; }
  to { background-position: 0% center; }
}
@media (max-width: 760px) {
  .cover-mirror {
    top: 2.2rem;
    right: 1.5%;
    width: clamp(5rem, 21.6vw, 8.6rem);
  }
}
