* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003366; 
    --accent-color: #0056b3;
    --dark-bg: #1c1a1a;
    --light-bg: #f8f9fa;
    --text-gray: #444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #eee;
    color: var(--text-gray);
}

/* Header */
.header {
    background-color: var(--dark-bg);
    min-height: 100px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    height: 60px;
    width: auto;
}

.list ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.list a {
    text-decoration: none;
    color: #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.list a:hover {
    color: white;
    background-color: #333;
}

/* Indicador de Página Ativa */
.list a.active {
    color: white;
    border-bottom: 3px solid var(--accent-color);
    border-radius: 0;
}

/* Main Layout */
.main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(300px, 700px) 350px;
    grid-template-areas: 
        "me data"
        "me contato";
    gap: 25px;
    padding: 40px 5%;
    justify-content: center;
}

/* Cards */
.me, .data, .contato {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.me { grid-area: me; }
.data { grid-area: data; }
.contato { grid-area: contato; }

/* Títulos */
h1, h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Foto e Apresentação, como ela não concluiu nada ficou em aberto */
.presentation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 20px;
}

.photo {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    min-width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.me p {
    line-height: 1.8;
    text-align: justify;
}

/* Linhas de Pesquisa */
.data ul {
    list-style: none;
}

.data li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.data li::before {
    content: "▹";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Seção de Contato */
.contato {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
}

.contato h2, .contato p {
    color: white;
}

.btn-lattes {
    display: inline-block;
    margin-top: 15px;
    background-color: white;
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s;
}

.btn-lattes:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #888;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* parte para a responsividade */
@media (max-width: 900px) {
    .main {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "me"
            "data"
            "contato";
        padding: 20px;
    }

    .header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    .presentation {
        flex-direction: column;
        text-align: center;
    }

    .list ul {
        gap: 5px;
    }
    
    .list a {
        padding: 8px 12px;
        font-size: 14px;
    }
}