/* Variação B: mantém a página clara e organiza a formação com menos vazios. */
.profile-compact .breadcrumb { padding-top: 18px; }

.profile-compact .hero {
  grid-template-columns: minmax(270px, .8fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: 24px 0 36px;
}

.profile-compact .hero > div { max-width: 410px; }
.profile-compact .portrait { width: 68px; height: 68px; margin-bottom: 12px; }
.profile-compact .eyebrow { margin-bottom: 9px; }
.profile-compact h1 { font-size: clamp(40px, 4.2vw, 56px); margin-bottom: 9px; }
.profile-compact .registry { font-size: 13px; }
.profile-compact .intro { margin-top: 17px; font-size: 16px; line-height: 1.65; }
.profile-compact .photo img { height: 430px; max-height: none; object-fit: cover; object-position: center 57%; }
.profile-mayara .photo img { object-position: center 35%; }
.profile-compact .photo figcaption { padding-top: 7px; }

.profile-compact .education { display: block; padding: 34px 0 38px; }
.profile-compact .education-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px 42px;
  align-items: end;
  margin-bottom: 20px;
}
.profile-compact .education-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.profile-compact .education-intro h2 { margin: 0; font-size: 32px; }
.profile-compact .education-intro > p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.profile-compact .degree {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin: 0 0 10px;
  padding: 17px 20px;
  border: 1px solid rgb(20 77 71 / 12%);
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: #f3eee6;
}
.profile-compact .degree h3,
.profile-compact .degree p { margin: 0; }
.profile-compact .degree p { text-align: right; font-size: 13px; }

.profile-compact .course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}
.profile-compact .course-list li { min-width: 0; padding: 13px 0; }
.profile-compact .course-list h3 { margin-bottom: 3px; font-size: 14px; line-height: 1.4; }
.profile-compact .course-list p { font-size: 12px; line-height: 1.4; }
.profile-compact .ongoing {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4px 24px;
  align-items: start;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid rgb(20 77 71 / 12%);
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: #f3eee6;
}
.profile-compact .ongoing .status { grid-column: 1; }
.profile-compact .ongoing h3 { grid-column: 1; margin: 2px 0 0; font-size: 16px; }
.profile-compact .ongoing p { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.profile-compact .section-label { margin: 0 0 12px; font-family: Playfair, Georgia, serif; font-size: 24px; }
.profile-compact .team-links { margin-bottom: 32px; }
.profile-compact .team-links a { padding: 9px 16px; }

@media (max-width: 760px) {
  .profile-compact .hero { grid-template-columns: 1fr; gap: 22px; padding: 20px 0 28px; }
  .profile-compact .hero > div { max-width: none; }
  .profile-compact .photo img { height: min(108vw, 520px); }
  .profile-compact .education { padding: 28px 0 32px; }
  .profile-compact .education-intro { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .profile-compact .education-intro .eyebrow { grid-column: auto; margin-bottom: 0; }
  .profile-compact .education-intro h2 { font-size: 28px; }
  .profile-compact .degree { grid-template-columns: 1fr; gap: 5px; }
  .profile-compact .degree p { text-align: left; }
  .profile-compact .course-list { grid-template-columns: 1fr; }
  .profile-compact .ongoing { grid-template-columns: 1fr; }
  .profile-compact .ongoing p { grid-column: 1; grid-row: auto; margin-top: 6px; }
}
