/* =============================================
   MODAL DE COMPARTILHAMENTO SOCIAL
============================================= */

#modal-compartilhar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#modal-compartilhar.ativo {
    display: flex;
}

/* Fundo escuro */
.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Caixa do modal */
.share-box {
    position: relative;
    z-index: 2;
    background: #111;
    border: 1px solid rgba(220, 186, 127, 0.3);
    border-radius: 20px;
    padding: 35px 40px 30px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(220,186,127,0.1);
    animation: shareEntrada 0.3s ease;
}

@keyframes shareEntrada {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* Botão fechar */
.share-fechar {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}
.share-fechar:hover { color: #fff; }

/* Título */
.share-titulo {
    font-family: 'Times New Roman', serif;
    color: #D6B377;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Grade dos botões */
.share-botoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

/* Botão genérico */
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 10px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Cores individuais */
.share-whatsapp  { background: #128C7E; }
.share-facebook  { background: #1877F2; }
.share-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-tiktok    { background: #000; border: 1px solid #333; }

.share-whatsapp:hover  { box-shadow: 0 8px 24px rgba(18,140,126,0.5); }
.share-facebook:hover  { box-shadow: 0 8px 24px rgba(24,119,242,0.5); }
.share-instagram:hover { box-shadow: 0 8px 24px rgba(220,39,67,0.5); }
.share-tiktok:hover    { box-shadow: 0 8px 24px rgba(255,255,255,0.15); }

/* Dica Instagram/TikTok */
.share-dica {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

/* =============================================
   CURSOR POINTER nas imagens clicáveis
============================================= */
.casa-noturna-img,
.herogal-evento-wrapper img,
.clubx-gallery-image,
.carrossel-img-box-final img,
.card-img-wrapper img {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.casa-noturna-img:hover,
.herogal-evento-wrapper img:hover,
.clubx-gallery-image:hover,
.carrossel-img-box-final img:hover,
.card-img-wrapper img:hover {
    opacity: 0.85;
}

/* RESPONSIVO */
@media (max-width: 480px) {
    .share-box {
        padding: 30px 20px 25px;
    }
    .share-botoes {
        grid-template-columns: 1fr;
    }
}