:root {
    --cor-primaria: #0a4a90;
    --cor-texto: #333;
    --cor-fundo: #f9f9f9;
    --cor-branco: #fff;
    --font-principal: 'Arial', sans-serif;
    --largura-container: 960px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-principal);
    line-height: 1.6;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
}

.container {
    max-width: var(--largura-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--cor-primaria);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background-color: var(--cor-branco);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.site-header .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cor-texto);
    text-decoration: none;
}

.site-header ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
    
.site-header a {
    text-decoration: none;
    font-weight: bold;
}

.main-content {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 2rem 0;
}
    
.hero h1 {
    font-size: 2.5rem;
}
.hero p {
    font-size: 1.2rem;
    color: #555;
}
.hero .hero-content {
    margin-top: 1rem;
}

.latest-projects h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.latest-projects .project-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
        
.latest-projects .project-list li {
    background: var(--cor-branco);
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.latest-projects .project-list li:hover {
    transform: translateY(-5px);
}

.latest-projects .project-list li a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--cor-texto);
}
.latest-projects .project-list li h3 {
    color: var(--cor-primaria);
}
.latest-projects .project-list li p {
    font-size: 0.9rem;
}

.page-content {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 5px;
}
    
.page-content .project-meta {
    background: #f4f4f4;
    border-left: 4px solid var(--cor-primaria);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.page-content .content-body h2 { 
    margin-top: 1.5rem; 
}
.page-content .content-body p { 
    margin-bottom: 1rem; 
}

.site-footer {
    text-align: center; /* Esta é a linha que centraliza o texto */
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #777;
}

.botao-cv {
    display: inline-block;
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.botao-cv:hover {
    background-color: #083b73;
    color: var(--cor-branco);
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-header .main-nav {
        flex-direction: column; 
        gap: 1rem; 
    }

    .site-header ul {
        gap: 1.2rem;
        padding-top: 10px;
    }

    .latest-projects .project-list {
        grid-template-columns: 1fr; 
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 1.5rem 1rem;
    }
}