:root{
  --text:#0b1220;
  --muted: rgba(11,18,32,.65);
  --line: rgba(11,18,32,.12);
  --bg: #ffffff;
  --max: 980px;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
  background-image: url("../assets/fundo.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.topbar{
  position: sticky; top:0; z-index:10;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{ display:flex; justify-content:space-between; align-items:center; padding: 14px 0; }
.brand{ text-decoration:none; color:var(--text); font-weight:700; }
.nav a{ text-decoration:none; color:var(--muted); margin-left: 14px; }
.nav a:hover{ color: var(--text); }

.profile{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  padding: 34px 0 18px;
  border-bottom: 1px solid var(--line);
}
.h1{ margin:0 0 6px; font-size: 34px; letter-spacing:-.02em; }
.role{ margin:0 0 12px; color: var(--muted); font-weight:600; }
.bio{ margin:0 0 12px; }

.avatar{
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-self: end;
}

.contactline{ display:flex; flex-wrap:wrap; gap: 10px; color: var(--muted); }
.contactline a{ color: inherit; text-decoration:none; border-bottom: 1px solid transparent; }
.contactline a:hover{ color: var(--text); border-bottom-color: var(--line); }
.dot{ opacity:.5; }

.section{ padding: 26px 0; border-bottom: 1px solid var(--line); }
.h2{ margin:0 0 10px; font-size: 18px; letter-spacing:.02em; text-transform: uppercase; }
.h3{ margin:0 0 6px; font-size: 16px; }
.muted{ color: var(--muted); }

.bullets{ margin: 0; padding-left: 18px; }
.timeline__item{ padding: 6px 0; }
.year{ display:inline-block; min-width: 96px; color: var(--muted); font-weight:600; }

.grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.link{ color: var(--text); text-decoration:none; border-bottom: 1px solid var(--line); }
.link:hover{ border-bottom-color: var(--text); }

@media (max-width: 820px){
  .profile{ grid-template-columns: 1fr; }
  .avatar{ justify-self: start; max-width: 180px; }
  .grid{ grid-template-columns: 1fr; }
  .nav{ display:none; } /* depois dá pra fazer menu mobile */
}
