/* Configurações Gerais */
:root {
    --primary-blue: #0056b3;
    --dark-blue: #002d5f;
    --bg-light: #f8f9fa;
    --text-main: #333333;
    --accent-color: #d63384; /* Um toque de cor para destacar código */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: #ffffff;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-blue);
}

/* Botão CV com destaque */
.btn-cv {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-cv:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Conteúdo Principal */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 80px;
}

h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-blue);
    padding-left: 15px;
}

p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.1rem;
}

strong {
    color: var(--primary-blue);
}

/* Efeito suave de entrada */
.section-fade {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rodapé */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--bg-light);
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

/* Responsividade para telemóveis */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    nav {
        margin-top: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    h1 {
        font-size: 1.8rem;
    }
}