/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Corpo */
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho */
header {
    background-color: #fff;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header nav .logo {
    font-size: 1.6em;
    font-weight: bold;
    color: #003399;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

header nav ul li a.active,
header nav ul li a:hover {
    color: #003399;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: #e9f1ff;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.2em;
    color: #003399;
    margin-bottom: 10px;
}

.hero-text .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-text .tags span {
    background-color: #003399;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
}

/* Foto */
.hero-photo img {
    width: 100px;  /* foto reduzida */
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #003399;
}

/* Seções */
.cv-section {
    padding: 30px 40px;
    border-bottom: 1px solid #ddd;
}

.cv-section h2 {
    font-size: 1.6em;
    color: #003399;
    margin-bottom: 15px;
    border-bottom: 2px solid #003399;
    display: inline-block;
    padding-bottom: 5px;
}

.cv-section p,
.cv-section li {
    margin-bottom: 8px;
    font-size: 1em;
}

.item {
    margin-bottom: 20px;
}

.item h3 {
    font-size: 1.1em;
    color: #333;
}

.item .date {
    font-size: 0.9em;
    color: #666;
}

.list {
    list-style: disc inside;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    color: #666;
    border-top: 1px solid #ddd;
}

/* Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    background-color: #fff;
    border: 1px solid #ddd;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.placeholder {
    color: #666;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}

/* Portfólio – Página corrida */
.portfolio-section {
    padding: 40px;
    max-width: 900px;
    margin: auto;
}

.project {
    margin-bottom: 80px;
}

.project img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.project p {
    margin-top: 12px;
    font-size: 0.95em;
    color: #555;
}

