@page {
  size: A4;
  margin: 8mm 10mm;
}

* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

:root[data-theme="dark"],
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --text: #1a1630;
  --text-muted: #3f3a5c;
  --border: rgba(81, 43, 212, 0.35);
  --accent-blue: #1d4ed8;
  --period-text: #1d4ed8;
  --period-bg: rgba(37, 99, 235, 0.08);
  --tag-bg: rgba(81, 43, 212, 0.08);
  --tag-text: #512bd4;
  --shadow-card: none;
  --shadow-card-hover: none;
  --glow-title: none;

  --cat-backend: #6d28d9;
  --cat-frontend: #0078d4;
  --cat-dados: #a16207;
  --cat-arquitetura: #4338ca;
  --cat-devops: #4d7c0f;
  --cat-testes: #c2410c;
  --cat-idiomas: #0f766e;
}

body::before,
.navbar,
.footer {
  display: none !important;
}

body {
  background: #fff;
  font-size: 8.5pt;
  line-height: 1.3;
}

.container {
  max-width: 100%;
  padding: 0;
}

.hero {
  padding: 0 0 0.6rem;
  text-align: left;
  border-bottom: 2px solid #512bd4;
}

.hero__eyebrow {
  font-size: 8pt;
  margin-bottom: 0;
}

.hero__title {
  font-size: 20pt;
}

.hero__subtitle {
  font-size: 10pt;
  margin-top: 0.1rem;
}

.hero__contacts {
  justify-content: flex-start;
  gap: 0.25rem 0.85rem;
  margin-top: 0.4rem;
}

.hero__contacts li {
  border: none;
  padding: 0;
  font-size: 8pt;
  background: none;
  box-shadow: none;
}

.section {
  padding: 0.55rem 0 0;
}

.section__title {
  font-size: 12pt;
  margin-bottom: 0.5rem;
  break-after: avoid;
}

.section__title::before {
  height: 1rem;
  box-shadow: none;
}

.card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
}

.card p + p {
  margin-top: 0.35rem;
}

.card__heading {
  font-size: 10pt;
}

.card__period {
  font-size: 7.5pt;
  padding: 0.05rem 0.5rem;
}

.card__job-header {
  margin-bottom: 0.35rem;
}

.card__list {
  gap: 0.15rem;
}

.card__list li {
  padding-left: 0.9rem;
}

.card__degree {
  font-size: 9pt;
  margin: 0.1rem 0 0.3rem;
}

.skills-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  align-items: start;
}

#formacao .skills-grid {
  grid-template-columns: repeat(3, 1fr);
}

.skills-grid .card__heading {
  margin-bottom: 0.35rem;
}

.tags {
  gap: 0.25rem;
}

.tags li {
  font-size: 7pt;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.card--skill .card__heading::before {
  box-shadow: none;
}

.lang__name {
  font-size: 8pt;
}

.lang__level {
  font-size: 6.5pt;
  padding: 0.05rem 0.4rem;
}

.lang__bar {
  height: 4px;
  margin-top: 0.35rem;
}

.lang__note {
  margin-top: 0.3rem;
  font-size: 6.5pt;
}

.timeline {
  padding-left: 0;
  gap: 0.4rem;
}

.timeline::before,
.card--job::before {
  display: none;
}

.card--job {
  break-inside: avoid;
}

.hero__title {
  background: none;
  text-shadow: none;
  color: var(--text);
}

.text-gradient {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #512bd4;
}

.hero__contacts a,
.card__company {
  color: #512bd4;
}

.icon--contact {
  color: #512bd4;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
