/* ============================================================
   First Commit-m — design tokens
   ============================================================ */
:root {
  --purple-deep: #3B1450;
  --purple-brand: #A93FC4;
  --purple-bright: #C66ED4;
  --purple-tint: #F3E4F8;
  --gold: #FFC40E;
  --gold-deep: #C98D00;
  --ink: #1E1526;
  --paper: #FBF7FC;
  --paper-alt: #F1E1F6;
  --line: rgba(30, 21, 38, 0.12);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--purple-deep);
  line-height: 1.12;
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p { margin: 0; }

.lede {
  font-size: 1.08rem;
  color: #4A3A55;
  max-width: 62ch;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--paper-alt);
}

.section-head {
  margin-bottom: 44px;
  max-width: 680px;
}

.section-head h2 { margin-bottom: 14px; }

/* -------------------- star bullet -------------------- */
.star {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 252, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand img { width: 32px; height: 32px; }
.brand .commit { color: var(--gold-deep); }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.15s ease;
}
.site-nav a:hover { border-color: var(--gold); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 76px 0 96px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero .lede { margin-top: 20px; font-size: 1.15rem; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-figure {
  background: var(--purple-bright);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure img { border-radius: 8px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--purple-deep);
  color: #fff;
}
.btn--primary:hover { box-shadow: 0 6px 18px rgba(59, 20, 80, 0.28); }

.btn--gold {
  background: var(--gold);
  color: var(--purple-deep);
}
.btn--gold:hover { box-shadow: 0 6px 18px rgba(255, 196, 14, 0.35); }

.btn--ghost {
  background: transparent;
  border-color: var(--purple-deep);
  color: var(--purple-deep);
}
.btn--ghost:hover { background: var(--purple-tint); }

/* ============================================================
   Triângulo do portfólio
   ============================================================ */
.triangle {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.triangle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}

.tri-node {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
}

.tri-node--top {
  grid-column: 1 / span 2;
  max-width: 340px;
  margin: 0 auto 4px;
  background: var(--purple-deep);
  color: #fff;
  border: none;
}
.tri-node--top h3 { color: #fff; }
.tri-node--top .star { filter: none; }

.tri-node h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tri-node p { color: #4A3A55; font-size: 0.96rem; }
.tri-node--top p { color: rgba(255,255,255,0.85); }

.triangle-note {
  text-align: center;
  max-width: 58ch;
  margin: 32px auto 0;
  color: #4A3A55;
  font-size: 0.98rem;
}

/* ============================================================
   Por que projetos importam
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.why-grid .lede { margin-bottom: 20px; }

.badge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.97rem;
}

.badge-list .star { margin-top: 3px; }

.badge-list strong { display: block; color: var(--purple-deep); }

/* ============================================================
   Modelos de currículo
   ============================================================ */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.model-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 32px 30px;
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-card--estagio { border-top: 5px solid var(--purple-brand); }
.model-card--junior { border-top: 5px solid var(--gold); }

.model-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple-brand);
}
.model-card--junior .model-tag { color: var(--gold-deep); }

.model-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: #4A3A55;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.model-card .btn { margin-top: 8px; align-self: flex-start; }

/* ============================================================
   Trilha AWS
   ============================================================ */
.trail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.trail-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 26px 8px;
}

.trail-card h3 {
  margin-bottom: 4px;
}

.trail-meta {
  font-size: 0.85rem;
  color: #6B5A76;
  margin-bottom: 16px;
  display: block;
}

.trail-card ol {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #3A2C44;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.trail-card .btn {
  margin-bottom: 24px;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.cta-band {
  margin-top: 44px;
  background: var(--purple-deep);
  border-radius: 24px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h3 { color: #fff; font-size: 1.4rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 6px; max-width: 46ch; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: #6B5A76;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--purple-deep);
}
.footer-brand img { width: 22px; height: 22px; }

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  color: #6B5A76;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-links a:hover {
  color: var(--purple-deep);
  border-color: var(--gold);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 340px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .trail-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .section { padding: 64px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
