/* ============================================================
   RESET E BASE
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f9;
  color: #333;
  padding: 0;
  margin: 0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 850px;
  margin: 24px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 24px 28px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  margin-bottom: 16px;
  text-align: left;
}

#name {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 4px;
}

#title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

#subsummary {
  font-size: 14px;
  font-style: italic;
  color: #555;
  margin-bottom: 12px;
}

#contact {
  font-size: 13px;
  color: #555;
  margin-bottom: 2px;
}

#links {
  font-size: 13px;
  color: #555;
}

#links a {
  color: #0073e6;
  text-decoration: none;
}

#links a:hover {
  text-decoration: underline;
}

/* ============================================================
   SEÇÕES
   ============================================================ */
section {
  margin-bottom: 24px;
}

section h2 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 4px;
}

section ul,
section p {
  margin-left: 12px;
  font-size: 13px;
  color: #555;
}

/* ============================================================
   LISTAS
   ============================================================ */
section ul {
  list-style: disc;
  margin-top: 4px;
  padding-left: 20px;
}

section ul li {
  margin-bottom: 3px;
}

/* ============================================================
   EXPERIENCE & EDUCATION & VOLUNTEERING & PROJECTS
   ============================================================ */
#experience > div,
#education > div,
#volunteering > div,
#projects > div {
  margin-bottom: 14px;
}

#experience h3,
#volunteering h3,
.project-title {
  font-size: 14px;
  color: #444;
  margin: 4px 0 2px 0;
  font-weight: 600;
}

/* Datas */
.date {
  font-style: italic;
  color: #777;
  font-size: 12px;
  margin-top: 2px;
}

/* Instituições */
#education em {
  font-size: 13px;
  color: #333;
}

/* ============================================================
   CORE COMPETENCIES
   ============================================================ */
#core-competencies p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.project-subtitle {
  font-size: 13px;
  font-style: italic;
  color: #444;
  margin-left: 12px;
  margin-bottom: 4px;
}

.project-link a {
  margin-left: 12px;
  font-size: 13px;
  color: #0073e6;
  text-decoration: none;
}

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

/* ============================================================
   SKILLS — 3 COLUNAS RESPONSIVAS
   ============================================================ */
#skills {
  column-count: 3;
  column-gap: 32px;
  padding-left: 12px;
  list-style-position: inside;
}

#skills li {
  break-inside: avoid;
  margin-bottom: 6px;
  font-size: 13px;
}

/* Ajustes responsivos */
@media (max-width: 900px) {
  #skills {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  #skills {
    column-count: 1;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  text-align: right;
  font-size: 12px;
  color: #888;
  margin-top: 16px;
  border-top: 1px solid #ddd;
  padding-top: 8px;
}

/* ============================================================
   IMPRESSÃO (PDF)
   ============================================================ */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .container {
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0 20px;
    width: 100%;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  #skills {
    column-count: 3;
  }
}
