/* ===== SOBRE PAGE - EPSM ===== */
/* Figma node: 4841:1432 "Sobre a EPSM" (1534x5233) */

/* ─── Page Hero ──────────────────────────────────────────────
   Figma: gradient from #00476d → #003a5a diagonal, padding 80px all
   Content max-width: 900px, centered */
.page-hero {
  background: linear-gradient(135deg, #00476d 0%, #00456a 17%, #004367 33%, #004063 50%, #003e60 67%, #003c5d 83%, #003a5a 100%);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-inner {
  max-width: 900px;
  width: 100%;
}

/* Figma: 56px/700, color: white */
.page-hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Figma: 24px/700, color: white */
.page-hero-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Figma: 18px/400, color: white */
.page-hero-description {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
}

/* ─── Page Content Section ───────────────────────────────────
   Figma: bg white, padding 80px top/bottom, gap 80px between blocks */
.page-content {
  background: #ffffff;
  padding: 80px 0;
}

.page-content > .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ─── Content Block ──────────────────────────────────────────
   Figma: gap 32px between heading and content */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Figma: 36px/700, color: #00476d */
.content-block h2 {
  font-size: 36px;
  font-weight: 700;
  color: #00476d;
  line-height: 1.2;
}

/* Figma: max-width 900px for text content */
.content-narrow {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-narrow > p {
  font-size: 16px;
  font-weight: 400;
  color: #212529;
  line-height: 1.6;
}

/* ─── Highlight Box ──────────────────────────────────────────
   Figma: bg #e7f1ff, r:16, pad:24, gap:8 */
.highlight-box {
  background: #e7f1ff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-item p {
  font-size: 16px;
  font-weight: 400;
  color: #212529;
  line-height: 1.6;
  margin: 0;
}

/* Figma: 8x8 circle, bg #00476d */
.bullet-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #00476d;
  border-radius: 50%;
  margin-top: 8px;
}

/* ─── Thematic Cards Grid ────────────────────────────────────
   Figma: 3-column grid, cards 389x89, bg white, gap between */
.thematic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
}

/* Figma: bg white, 389x89, with icon and text */
.thematic-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 89px;
}

.thematic-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00476d;
  font-size: 24px;
  flex-shrink: 0;
}

/* Figma: 16px/700, color #212529 */
.thematic-card span {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
}

/* ─── Method Cards ───────────────────────────────────────────
   Figma: bg #f8f9fa, gap between cards */
.method-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* Figma: bg #f8f9fa, pad ~24px */
.method-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Figma: 16px/700, color #00476d */
.method-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #00476d;
  margin: 0;
  line-height: 1.3;
}

/* Figma: 14px/400, color #212529 */
.method-card p {
  font-size: 14px;
  font-weight: 400;
  color: #212529;
  margin: 0;
  line-height: 1.6;
}

/* ─── Activity List ──────────────────────────────────────────
   Figma: ActivityCard/LineItem: bg white, 48px height, dot + text */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.activity-list li:last-child {
  border-bottom: none;
}

/* Figma: 15px/400, color #212529 */
.activity-list li p {
  font-size: 15px;
  font-weight: 400;
  color: #212529;
  line-height: 1.6;
  margin: 0;
}

/* ─── Team Section ───────────────────────────────────────────
   Figma: bg #f8f9fa, padding 80px, gap 40px */
.team-section {
  background: #f8f9fa;
  padding: 80px 0;
}

/* Figma: 36px/700, color #00476d */
.team-section > .container > h2 {
  font-size: 36px;
  font-weight: 700;
  color: #00476d;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Figma: gap 32px between heading and cards */
.team-group {
  margin-bottom: 40px;
}

.team-group:last-child {
  margin-bottom: 0;
}

/* Figma: 24px/700, color #212529 */
.team-group h3 {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* ─── Coordinator Cards ──────────────────────────────────────
   Figma: 564x155, bg white, r:8, border #dee2e6, 2 columns */
.coordinator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.coordinator-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.coordinator-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.coordinator-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Figma: 18px/700, color #212529 */
.coordinator-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.3;
}

/* Figma: 14px/400, color #6c757d */
.coordinator-info .role {
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.5;
}

/* Figma: 14px/400, color #00476d */
.email-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #00476d;
  text-decoration: none;
  margin-top: 4px;
}

.email-link:hover {
  text-decoration: underline;
}

.email-link i {
  font-size: 14px;
}

/* ─── Researcher Cards ───────────────────────────────────────
   Figma: 370x83, bg white, r:8, pad:21/21/1/21, gap:4, border #dee2e6
   Grid: 3 columns */
.researcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.researcher-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 21px 21px 21px 21px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Figma: 14px/700, color #212529 */
.researcher-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.3;
}

/* Figma: 13px/400, color #6c757d */
.researcher-card .role,
.researcher-card .instituicao {
  font-size: 13px;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.5;
}

/* Links do membro (Lattes / e-mail) nos cards de pesquisadores */
.researcher-card .member-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #00476d;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
}

.researcher-card .member-link:hover {
  text-decoration: underline;
}

.researcher-card .member-link i {
  font-size: 13px;
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .thematic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .researcher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 48px 24px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero-subtitle {
    font-size: 18px;
  }

  .page-hero-description {
    font-size: 16px;
  }

  .page-content {
    padding: 48px 0;
  }

  .page-content > .container {
    gap: 48px;
  }

  .content-block h2 {
    font-size: 28px;
  }

  .thematic-grid {
    grid-template-columns: 1fr;
  }

  .coordinator-grid {
    grid-template-columns: 1fr;
  }

  .researcher-grid {
    grid-template-columns: 1fr;
  }

  .team-section {
    padding: 48px 0;
  }

  .team-group h3 {
    font-size: 20px;
  }
}
