/* ============================================================
   PÁGINA DE PILAR — informação detalhada de cada um dos 4 pilares
============================================================ */

.pillar-hero-section {
  padding: 48px 0 40px;
  text-align: center;
  color: #fff;
}
.pillar-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.pillar-hero-section .breadcrumb { color: rgba(255,255,255,0.75); justify-content: center; padding-top: 0; margin-bottom: 18px; }
.pillar-hero-section .breadcrumb a { color: #fff; }
.pillar-hero-section .breadcrumb-sep { color: rgba(255,255,255,0.4); }
.pillar-hero-section .breadcrumb-current { color: rgba(255,255,255,0.85); }

.pillar-hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  margin: 0 auto 18px;
}
.pillar-hero-section .section-label { color: var(--gold); }
.pillar-hero-title {
  font-family:var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin: 6px 0 14px;
  color: #fff;

}
.pillar-hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.pillar-page { max-width: 900px; margin: 0 auto; padding: 40px 24px 60px; }

.pillar-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 44px 0 20px;
  
}
.pillar-section-title:first-of-type { margin-top: 0; margin-bottom: 24px; }

.pillar-content { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.pillar-content p { margin: 0 0 18px; }
.pillar-content p:last-child { margin-bottom: 0; }

/* Estatísticas do pilar (ex: Estudantes, Graduados) */
.pillar-estatisticas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 34px 0;
}
.pillar-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}
.pillar-stat-valor {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}
.pillar-stat-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}
.pillar-stat-periodo {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* Tabela de introdução dos cursos */
.cursos-intro-wrap { margin: 34px 0; overflow-x: auto; }
.cursos-intro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.cursos-intro-table th {
  background: #f2f2f2;
  color: var(--text);
  text-align: left;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
.cursos-intro-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  transition: background-color 0.15s, color 0.15s;
}
.cursos-intro-table tbody tr:hover td {
  background: var(--table-highlight, #F1F2F2);
  color: var(--text);
  font-weight: 600;
}
.cursos-intro-table .ci-no { width: 50px; color: inherit; }
.cursos-intro-table .ci-ano { width: 120px; text-align: right; color: inherit; }

.cursos-intro-table tr.ci-group td {
  background: #f2f2f2;
  color: var(--text);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 14px;
}
.cursos-intro-table tr.ci-group:hover td {
  background: #f2f2f2;
  font-weight: 700;
}

/* Docentes (Tempo Inteiro / Tempo Parcial) */
.pillar-docentes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.pillar-docentes-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.pillar-docentes-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pillar-docentes-head h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  font-family: var(--font-body);
}
.pillar-docentes-total {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color:white;
}
.pillar-docentes-total{
    color: var(--black) !important;
}
.pillar-docentes-breakdown {
  display: flex;
  gap: 10px;
}
.pillar-docentes-item {
  flex: 1;
  text-align: center;
  background: var(--bg-light, #f7f8f6);
  border-radius: 4px;
  padding: 12px 8px;
}
.pillar-docentes-valor {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.pillar-docentes-grau {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* Graduados por ano/curso (tabela matriz) */
.graduados-ano-wrap {
  margin: 34px 0;
  overflow-x: auto;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 24px;
  box-sizing: border-box;
}
.graduados-ano-table {
  border-collapse: collapse;
  font-size: 12px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
}
.graduados-ano-table th {
  background: #f2f2f2;
  color: var(--text);
  text-align: center;
  padding: 9px 8px;
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
.graduados-ano-table th:first-child { text-align: left; }
.graduados-ano-table td {
  padding: 7px 8px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.graduados-ano-table tbody tr:hover td {
  background: var(--table-highlight, #F1F2F2);
  color: var(--text);
  font-weight: 600;
}
.graduados-ano-table .gpa-curso {
  text-align: left;
  font-weight: 500;
  white-space: normal;
  min-width: 220px;
}

/* Infraestruturas do pilar — Texto Simples */
.pillar-infraestruturas{
    max-width:1000px;
    margin:50px auto;
    padding:0 24px;
}

.pillar-infra-item{
    margin-bottom:40px;
    padding-bottom:32px;
    border-bottom:1px solid var(--border);
}

.pillar-infra-item:last-child{
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
}

/* Título */
.pillar-infra-item h3{
    font-family:var(--font-heading);
    font-size:18px;
    font-weight:700;
    color:var(--text);
    margin:0 0 14px;
    line-height:1.4;
}

/* Texto principal */
.pillar-infra-item p{
    font-family:var(--font-body);
    font-size:15.5px;
    line-height:1.85;
    color:var(--text-muted);
    margin:0 0 22px;
    text-align:justify;
}

.pillar-infra-item p:last-child{
    margin-bottom:0;
}

/* Lista */
.pillar-infra-item ul{
    list-style:none;
    margin:16px 0 0;
    padding:0;
}

.pillar-infra-item li{
    font-family:var(--font-body);
    font-size:15px;
    line-height:1.7;
    color:var(--text-muted);
    margin:10px 0;
    padding-left:28px;
    position:relative;
}

/* Ícone da lista */
.pillar-infra-item li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--green);
    font-weight:700;
}

.pillar-infra-item li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .pillar-stat-valor { font-size: 26px; }
}

.pillar-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0;
}
.pillar-highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-highlight-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}
.pillar-highlight-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  font-family:var(--font-body);
}
.pillar-highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-family:var(--font-body);
}

.pillar-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Outros pilares */
.pillar-others-section { margin-top: 50px; }
.pillar-others-title {
  font-family:var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.pillar-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-other-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pillar-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  border-color: var(--green-dark);
}
.pillar-other-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
}
.pillar-other-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  font-family:var(--font-body);
}
.pillar-other-card span {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 720px) {
  .pillar-highlights-grid { grid-template-columns: 1fr; }
  .pillar-others-grid { grid-template-columns: 1fr; }
  .pillar-hero-title { font-size: 24px; }
}