/* ---- Tokens ---- */
:root {
  --green-900: #1d3a2b;
  --green-700: #2f6b46;
  --green-600: #3a8159;
  --green-50:  #eef5f0;
  --ink:       #1c2421;
  --muted:     #5e6b64;
  --line:      #e2e8e4;
  --bg:        #ffffff;
  --bg-alt:    #f6f9f7;
  --maxw:      1080px;
  --radius:    16px;
  --shadow:    0 10px 30px rgba(29, 58, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--green-900);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--green-50) 0%, #ffffff 65%);
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 0 0 16px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  color: var(--green-900);
}

.nick { color: var(--green-600); font-style: italic; margin-right: 0.16em; }

.role {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0 18px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-600);
}

.btn-ghost:hover { background: var(--green-50); }

.hero-photo {
  position: relative;
  justify-self: center;
}

.hero-photo img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.photo-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(29, 58, 43, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--green-900);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--green-600);
  border-radius: 2px;
}

.section p { color: var(--muted); }
.section p strong { color: var(--ink); }

/* ---- Skills ---- */
.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.chip {
  background: var(--green-50);
  color: var(--green-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- Timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0; }

.timeline-item {
  position: relative;
  padding-left: 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--line);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-600);
  border: 3px solid var(--green-50);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.timeline-content h3 { font-size: 1.3rem; color: var(--ink); }
.timeline-org { font-weight: 600; color: var(--ink); margin: 4px 0 10px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 0 0 10px;
}

.card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.card-org { font-weight: 600; color: var(--ink); margin: 0; }
.card-note { margin-top: 10px; font-style: italic; }

/* ---- Goal ---- */
.goal {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.goal-icon { font-size: 2.4rem; line-height: 1; }
.goal h3 { font-size: 1.3rem; color: var(--green-900); margin-bottom: 8px; }

/* ---- Pessoal ---- */
.pessoal-intro { font-size: 1.1rem; }

.interests {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.interests li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1.02rem;
  color: var(--ink);
}

.interest-emoji { font-size: 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-900);
  color: #fff;
  padding: 40px 0;
}

.footer-name { font-family: "Fraunces", serif; font-size: 1.2rem; margin: 0 0 6px; }
.footer-meta { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { text-align: center; }
  .hero-photo { order: -1; }
  .section-title { text-align: center; }
  .section-title::after { left: 50%; transform: translateX(-50%); }
  .skills { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
