/* Coração de curtir (Galeria e Cultos Gravados), no estilo do Instagram */

.curtir {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.curtir svg {
    width: 24px; height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
    transition: fill .15s, stroke .15s;
}
.curtir:hover { color: #fff; }
.curtir.curtido svg { fill: #ff3040; stroke: #ff3040; }
.curtir:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.curtir.pulsando svg { animation: curtir-pulsar .45s ease-out; }
@keyframes curtir-pulsar {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.25); }
    50%  { transform: scale(.92); }
    100% { transform: scale(1); }
}

/* Toque duplo na foto */
.curtir-grande {
    position: absolute;
    left: 50%; top: 50%;
    width: 96px; height: 96px;
    margin: -48px 0 0 -48px;
    pointer-events: none;
    z-index: 2;
    animation: curtir-grande 1s ease-out forwards;
}
.curtir-grande svg {
    width: 100%; height: 100%;
    fill: #fff;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
@keyframes curtir-grande {
    0%   { transform: scale(0);    opacity: 0; }
    15%  { transform: scale(1.2);  opacity: 1; }
    30%  { transform: scale(.95); }
    45%  { transform: scale(1); }
    80%  { transform: scale(1);    opacity: 1; }
    100% { transform: scale(.9) translateY(-30px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .curtir.pulsando svg, .curtir-grande { animation: none; }
    .curtir-grande { display: none; }
}
