
.img-fluid {
    height: 400px;
    width: 400px;
}

/* Centralização dos cartões */
.social-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Cartão das redes sociais */
.social-item {
    display: flex;
    align-items: center;
    gap: 12px;

    width: min(100%, 440px);
    margin: 0 auto;
    padding: 14px 16px;

    background-color: #ffffff;
    border: 1px solid #3b4252;
    border-radius: 14px;


    color: #0b0a0a;
    text-decoration: none;

    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s;
}

.social-item:hover {
    background-color: #cc0f0f;
    border-color: #1a1c21;
    color: #fcf6f6;
}

/* Foto de perfil */
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Nome do perfil */
.social-info {
    flex: 1;
    min-width: 0;
}

.social-item:hover {
    color: #ffffff;
}

.social-item:hover .social-name {
    color: #ffffff;
}

.social-name {
    color: #0f0f0f;
    font-size: 0.95rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* Logo Instagram / LinkedIn */
.social-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Ajustes para celular */
@media (max-width: 480px) {
    .social-item {
        padding: 12px;
        gap: 10px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    .social-logo {
        width: 23px;
        height: 23px;
    }
}



.img-fluid.contact-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Estrutura padrão: Mobile First (Empilhado na vertical) */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-image-container,
.contact-socials {
    width: 100%;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Telas de Computador / Tablet (a partir de 768px) */
@media (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3rem;
    }

    /* Imagem na esquerda */
    .contact-image-container {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    /* Links na direita */
    .contact-socials {
        flex: 1;
        align-items: flex-start;
    }

    .social-container {
        justify-content: flex-start;
    }

    .contact-socials h4 {
        text-align: left;
    }
}