@charset "UTF-8";

/* ===== BARRA DE REDES SOCIAIS ===== */
.social-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 85px 0px 15px 0px;
    background: rgba(242, 242, 242, 1);

    /* efeito de entrada */
    opacity: 0;
    transform: translateY(10px);
    animation: socialFadeIn 0.9s ease-out forwards;
}

/* ===== ANIMAÇÃO DE ENTRADA ===== */
@keyframes socialFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BOTÃO SOCIAL ===== */
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: transform 0.25s ease;
}

/* ===== BORDA ANIMADA – ANEL QUE GIRA ===== */
.social-icon::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;

    background: conic-gradient(
        from -90deg,
        #1e3a5f 0deg,
        #1e3a5f 50deg,
        transparent 50deg
    );

    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 2px),
        #000 calc(100% - 1px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 2px),
        #000 calc(100% - 1px)
    );

    opacity: 0;
    transform: rotate(0deg);
    transition:
        transform 0.7s ease,
        opacity 0.2s ease;
    z-index: 0;
}

/* ===== ÍCONE PNG ===== */
.social-icon img {
    width: 22px;
    height: 22px;
    z-index: 1;
    filter: brightness(0.25);
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* ===== HOVER – ELEVA ===== */
.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
}

/* ===== HOVER – BORDA CARREGA ===== */
.social-icon:hover::before {
    opacity: 1;
    transform: rotate(360deg);
}

/* ===== HOVER – ÍCONE ===== */
.social-icon:hover img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

/* ===== CLIQUE ===== */
.social-icon:active {
    transform: translateY(1px) scale(0.9);
}
