/* Reset básico para garantir consistência */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores Refinada */
    --primary-color: #0077b6; /* Azul Escuro Profissional (LinkedIn) */
    --secondary-color: #4cc9f0; /* Ciano/Azul Claro para Destaque */
    --text-color: #2c3e50; /* Cinza Escuro para Leitura */
    --background-light: #f4f6f9; /* Fundo Suave */
    --background-dark: #2c3e50; /* Fundo do Header/Footer */
    --box-shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', sans-serif; /* Nova Fonte */
    line-height: 1.7; /* Mais espaçamento para melhor leitura */
    background-color: var(--background-light);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Estilo do Cabeçalho (Header) --- */
header {
    background-color: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.profile-image-container {
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color); /* Borda de destaque */
    object-fit: cover;
    transition: all 0.4s ease-in-out;
}

.profile-image:hover {
    transform: scale(1.08) rotate(2deg); /* Efeito sutil no hover */
    border-color: #fff;
}

header h1 {
    margin-bottom: 0.25rem;
    font-size: 2.8rem;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    opacity: 0.8;
    color: #cccccc;
    font-weight: 300;
}

/* --- Estilo do Conteúdo Principal (Main) --- */
main {
    flex-grow: 1;
    max-width: 1100px;
    width: 90%;
    margin: 4rem auto;
    padding: 0;
}

section {
    background-color: white;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-subtle);
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--secondary-color); /* Linha de destaque lateral */
    padding-left: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

section h2 .fas, section h2 .fa-solid {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

#sobre p {
    margin-bottom: 1rem;
}

/* --- Seção de Habilidades (Tags) --- */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.skill-tag {
    background-color: var(--background-light);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px; /* Borda arredondada */
    border: 1px solid #e0e0e0;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Seção de Links (Botões) --- */
.links-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.link-botao {
    text-decoration: none;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px; /* Botão pilular */
    font-weight: 600;
    transition: all 0.4s ease;
    text-align: center;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-botao i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Cores específicas para GitHub e LinkedIn */
.github {
    background-color: #24292e; /* GitHub */
}

.github:hover {
    background-color: var(--primary-color); /* Unificando o hover */
    box-shadow: 0 6px 12px rgba(0, 119, 182, 0.4);
    transform: translateY(-3px);
}

.linkedin {
    background-color: var(--primary-color); /* LinkedIn */
}

.linkedin:hover {
    background-color: #24292e; /* Trocando o hover para o cinza */
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.4);
    transform: translateY(-3px);
}

/* --- Estilo do Rodapé (Footer) --- */
footer {
    background-color: var(--background-dark);
    color: #aeb6bf;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.85rem;
    margin-top: auto;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 400;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Query para responsividade em telas menores */
@media (max-width: 768px) {
    header {
        padding: 3rem 1rem 1.5rem;
    }
    header h1 {
        font-size: 2.2rem;
    }
    main {
        margin: 2rem auto;
        width: 95%;
    }
    section {
        padding: 2rem 1.5rem;
    }
    .links-container {
        justify-content: center;
        gap: 1rem;
    }
}