/* --- Variables & Reset --- */
:root {
    --bg-color: #fdfdfd;
    --text-main: #2a2a2a;
    --text-muted: #555555;
    --accent-color: #1a3c5a; /* Azul petróleo acadêmico */
    --accent-hover: #112a40;
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    max-width: 900px; /* Largura restrita para facilitar a leitura (estilo artigo) */
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 500;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-color);
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* --- Navbar --- */
#navbar {
    position: sticky;
    top: 0;
    background: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0 60px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.hero h2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 25px;
}

.hero .intro-text {
    font-size: 1.1rem;
    max-width: 750px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
}

/* --- Sections Common --- */
.section {
    padding: 60px 0;
}

/* --- Research Card --- */
.research-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
}

.status-badge {
    display: inline-block;
    background: #eef4f9;
    color: var(--accent-color);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.research-card .category {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-card h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.research-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 25px 0;
    padding: 20px;
    background: #fbfbfb;
    border: 1px solid var(--border-color);
}

.detail-block ul {
    list-style-type: none;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-block ul li::before {
    content: "• ";
    color: var(--accent-color);
}

.research-conclusion {
    font-style: italic;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* --- Tags (Interests & Tech) --- */
.tags-container, .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag, .tech-tags span {
    font-size: 0.85rem;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-muted);
    background: var(--card-bg);
}

.tag {
    background: #f9f9f9;
}

/* --- Projects --- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-card {
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
    background: var(--card-bg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h5 {
    font-size: 1.1rem;
}

.status-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
}
.in-progress { background-color: #f5a623; }
.completed { background-color: #7ed321; }

.project-tech {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 15px 0;
}

.project-link {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.project-link:hover {
    text-decoration: underline;
}

/* --- About & Education --- */
.about-list {
    margin-top: 20px;
    list-style: none;
    font-size: 0.95rem;
}
.about-list li { margin-bottom: 8px; }

.education-item {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
}
.education-item h4 { margin-bottom: 5px; }
.education-item .inst { color: var(--text-muted); margin-bottom: 10px; font-size: 0.95rem;}
.education-item .thesis-note { font-size: 0.9rem; padding: 10px; background: #fbfbfb; border: 1px solid var(--border-color); }

/* --- Academic Work / Publications --- */
.academic-list {
    list-style: none;
}

.academic-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.academic-list .year {
    font-weight: 600;
    color: var(--accent-color);
    min-width: 50px;
}

.paper-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* --- Timeline --- */
.timeline {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    margin-left: 10px;
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    left: -26px;
    top: 5px;
}

.timeline-date {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-container h3 {
    margin-bottom: 10px;
}

.contact-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.contact-links a.disabled-link {
    color: #a0a0a0;
    cursor: not-allowed;
    border: none;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .grid-2-col, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; } /* Simples para focar no conteúdo principal no mobile por agora */
    .hero-buttons { flex-direction: column; }
    
    .research-details { flex-direction: column; gap: 15px; }
}