/* ===== Páginas internas BiomedCore ===== */
:root {
  --page-green: #2E7D32;
  --page-blue: #29B6F6;
  --page-dark: #2C3E50;
  --page-accent: #14ff72cb;
  --page-bg: #F5F7FA;
  --page-white: #ffffff;
  --page-border: rgba(44, 62, 80, 0.12);
  --page-shadow: 0 10px 30px rgba(44, 62, 80, 0.10);
}

.page-main {
  background: var(--page-bg);
  min-height: 60vh;
}

.page-hero {
  position: relative;
  padding: 110px 20px 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(46, 125, 50, 0.12);
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(41, 182, 246, 0.22), transparent 60%),
    radial-gradient(1000px 500px at 85% 10%, rgba(46, 125, 50, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(46, 125, 50, 0.10) 0%, rgba(41, 182, 246, 0.10) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 6px;
  background: linear-gradient(90deg, var(--page-green), var(--page-blue), var(--page-accent));
  opacity: 0.85;
}

.page-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.page-breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(44, 62, 80, 0.85);
  font-size: 0.95rem;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease both;
}

.page-breadcrumb a {
  color: var(--page-blue);
  text-decoration: none;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: var(--page-green);
}

.page-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--page-green);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.7s ease both;
}

.page-subtitle {
  margin: 0;
  max-width: 72ch;
  color: rgba(44, 62, 80, 0.9);
  font-size: 1.05rem;
  line-height: 1.65;
  animation: fadeInUp 0.8s ease both;
}

.page-meta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease both;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--page-border);
  box-shadow: 0 6px 16px rgba(44, 62, 80, 0.06);
  color: rgba(44, 62, 80, 0.92);
  font-size: 0.92rem;
}

.page-pill i {
  color: var(--page-blue);
}

.page-section {
  padding: 50px 20px 70px;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sobre ===== */
.sobre-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.sobre-page-cards {
  display: grid;
  gap: 18px;
}

.sobre-page-card {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--page-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sobre-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 62, 80, 0.12);
}

.sobre-page-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 125, 50, 0.10);
  color: var(--page-green);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.sobre-page-card h3 {
  margin: 0 0 10px;
  color: var(--page-dark);
}

.sobre-page-card p,
.sobre-page-card li {
  color: rgba(44, 62, 80, 0.92);
  line-height: 1.7;
}

.sobre-page-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sobre-page-card li {
  display: flex;
  gap: 10px;
  margin: 8px 0;
}

.sobre-page-card li i {
  color: var(--page-green);
  margin-top: 4px;
}

.sobre-page-visual {
  position: sticky;
  top: 90px;
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--page-shadow);
  text-align: center;
}

.sobre-page-visual img {
  width: min(280px, 80%);
  margin: 0 auto 24px;
  display: block;
}

.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sobre-stat {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(41, 182, 246, 0.06));
  border-radius: 12px;
  padding: 14px 10px;
}

.sobre-stat .num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-green);
}

.sobre-stat .lbl {
  font-size: 0.78rem;
  color: rgba(44, 62, 80, 0.85);
  line-height: 1.3;
}

.sobre-timeline {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

.sobre-timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--page-white);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--page-border);
  box-shadow: var(--page-shadow);
}

.sobre-timeline-year {
  font-weight: 700;
  color: var(--page-blue);
  font-size: 1.1rem;
}

/* Navegação interna — Sobre */
.sobre-section-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--page-border);
  box-shadow: 0 4px 18px rgba(44, 62, 80, 0.08);
}

.sobre-section-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
}

.sobre-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--page-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(46, 125, 50, 0.06);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sobre-nav-link:hover,
.sobre-nav-link.active {
  background: var(--page-green);
  color: #fff;
  border-color: var(--page-green);
}

.sobre-nav-link i {
  font-size: 0.85rem;
}

.sobre-section-header {
  text-align: center;
  margin-bottom: 28px;
}

.sobre-section-header h2 {
  color: var(--page-green);
  font-size: 1.75rem;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sobre-section-header p {
  color: rgba(44, 62, 80, 0.88);
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.65;
}

.team-name-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--page-green);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  font-size: inherit;
}

.team-name-link:hover {
  color: var(--page-blue);
}

.sobre-founders-section {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.04) 0%, transparent 100%);
}

.sobre-founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sobre-founder-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--page-shadow);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.sobre-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 62, 80, 0.14);
}

.sobre-founder-card img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid rgba(46, 125, 50, 0.15);
}

.sobre-founder-info h3 {
  margin: 0 0 6px;
  color: var(--page-dark);
  font-size: 1.2rem;
}

.sobre-founder-info > span {
  display: block;
  color: var(--page-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.sobre-founder-info p {
  color: rgba(44, 62, 80, 0.88);
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.sobre-view-profile {
  color: var(--page-green);
  font-weight: 600;
  font-size: 0.88rem;
}

.sobre-team-section {
  padding-top: 20px;
}

.sobre-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sobre-team-card {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--page-shadow);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sobre-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44, 62, 80, 0.12);
}

.sobre-team-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sobre-team-card-body {
  padding: 16px;
}

.sobre-team-card-body h4 {
  margin: 0 0 6px;
  color: var(--page-dark);
  font-size: 0.98rem;
}

.sobre-team-role {
  display: block;
  color: var(--page-blue);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.sobre-team-commission {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(44, 62, 80, 0.75);
}

.sobre-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Modal perfil da equipa */
.team-profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  padding: 20px;
}

.team-profile-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.team-profile-modal {
  background: var(--page-white);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 0.35s ease both;
}

.team-profile-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(44, 62, 80, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--page-dark);
  line-height: 1;
  z-index: 1;
}

.team-profile-close:hover {
  background: rgba(46, 125, 50, 0.15);
  color: var(--page-green);
}

.team-profile-header {
  display: flex;
  gap: 20px;
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(41, 182, 246, 0.06));
  border-bottom: 1px solid var(--page-border);
}

.team-profile-photo {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(44, 62, 80, 0.15);
  flex-shrink: 0;
}

.team-profile-header h2 {
  margin: 0 0 6px;
  color: var(--page-dark);
  font-size: 1.35rem;
}

.team-profile-role {
  color: var(--page-blue);
  font-weight: 600;
  margin: 0 0 6px;
}

.team-profile-commission {
  color: rgba(44, 62, 80, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

.team-profile-body {
  padding: 24px 28px 28px;
}

.team-profile-body h3 {
  color: var(--page-green);
  font-size: 0.95rem;
  margin: 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-profile-body h3:first-child {
  margin-top: 0;
}

.team-profile-body p {
  color: rgba(44, 62, 80, 0.92);
  line-height: 1.65;
  margin: 0;
  font-size: 0.94rem;
}

.team-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-profile-tag {
  background: rgba(46, 125, 50, 0.1);
  color: var(--page-green);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.team-profile-email {
  margin-top: 18px !important;
  font-size: 0.9rem;
}

.team-profile-email a {
  color: var(--page-blue);
  font-weight: 600;
}

/* Header em páginas internas */
body.page-internal header {
  max-width: 100%;
  width: 100%;
  padding: 0 24px;
  height: 56px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(44, 62, 80, 0.1);
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

body.page-internal header nav {
  margin-left: auto;
}

body.page-internal header a {
  color: var(--page-dark);
  font-weight: 600;
  font-size: 0.88rem;
}

body.page-internal header a:hover,
body.page-internal header a.active {
  background: rgba(46, 125, 50, 0.12);
  color: var(--page-green);
}

body.page-internal .hamburger,
body.page-internal .hamburger::before,
body.page-internal .hamburger::after {
  background: var(--page-dark);
}

body.page-internal .page-main {
  margin-top: 0;
}

body.page-internal .page-hero {
  padding-top: 90px;
}

/* ===== Notícias ===== */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--page-shadow);
}

.news-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--page-bg);
  border: 1px solid var(--page-border);
  border-radius: 999px;
  padding: 8px 16px;
  box-sizing: border-box;
}

.news-search-box i {
  color: var(--page-green);
}

.news-search-box input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--page-dark);
}

.news-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.news-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--page-dark);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.06);
}

.news-stat-pill strong {
  color: var(--page-green);
  font-size: 1.1rem;
}

.news-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-chip {
  border: 1px solid var(--page-border);
  background: var(--page-white);
  color: var(--page-dark);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.news-chip:hover,
.news-chip.active {
  background: var(--page-green);
  color: #fff;
  border-color: var(--page-green);
}

.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--page-white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--page-border);
  box-shadow: var(--page-shadow);
  margin-bottom: 28px;
}

.news-featured-image {
  position: relative;
  min-height: 320px;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.12);
  color: var(--page-green);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.news-featured-body h2 {
  margin: 0 0 12px;
  color: var(--page-dark);
  font-size: 1.6rem;
  line-height: 1.25;
}

.news-featured-excerpt {
  color: rgba(44, 62, 80, 0.88);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(44, 62, 80, 0.7);
  margin-left: 8px;
}

.news-card-page-image .news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(46, 125, 50, 0.92);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-card-page.hidden-by-search {
  display: none;
}

.news-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card-page {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--page-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.news-card-page:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 62, 80, 0.12);
}

.news-card-page.hidden-by-filter {
  display: none;
}

.news-card-page-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.news-card-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-page:hover .news-card-page-image img {
  transform: scale(1.05);
}

.news-card-page-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(44, 62, 80, 0.75);
  margin-bottom: 10px;
}

.news-card-page-body h3 {
  margin: 0 0 10px;
  color: var(--page-dark);
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card-page-body p {
  color: rgba(44, 62, 80, 0.88);
  line-height: 1.6;
  font-size: 0.92rem;
  flex: 1;
}

.news-card-page-footer {
  margin-top: 14px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--page-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.news-read-more:hover {
  color: var(--page-blue);
}

.news-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.news-sidebar-card {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--page-shadow);
}

.news-sidebar-card h3 {
  margin: 0 0 14px;
  color: var(--page-green);
  font-size: 1rem;
}

.news-recent-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
  color: var(--page-dark);
}

.news-recent-item:last-child {
  border-bottom: none;
}

.news-recent-item small {
  display: block;
  color: rgba(44, 62, 80, 0.65);
  margin-bottom: 4px;
}

.news-recent-item span {
  font-weight: 600;
  line-height: 1.35;
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: rgba(44, 62, 80, 0.8);
}

.news-detail-panel {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--page-shadow);
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease both;
}

/* ===== Carreira ===== */
.career-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.career-stat {
  text-align: center;
  min-width: 100px;
}

.career-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--page-blue);
}

.career-stat .lbl {
  font-size: 0.88rem;
  color: rgba(44, 62, 80, 0.85);
}

.career-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.career-benefit-card {
  background: var(--page-white);
  border: 1px solid var(--page-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--page-shadow);
  transition: transform 0.25s ease;
}

.career-benefit-card:hover {
  transform: translateY(-4px);
}

.career-benefit-card i {
  font-size: 1.6rem;
  color: var(--page-blue);
  margin-bottom: 12px;
}

.career-benefit-card h3 {
  margin: 0 0 8px;
  color: var(--page-dark);
}

.career-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.12), rgba(41, 182, 246, 0.10));
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
}

.career-cta h2 {
  color: var(--page-green);
  margin: 0 0 10px;
}

.career-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-page-primary,
.btn-page-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-page-primary {
  background: var(--page-green);
  color: #fff;
}

.btn-page-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
}

.btn-page-secondary {
  background: var(--page-white);
  color: var(--page-dark);
  border: 1px solid var(--page-border);
}

.btn-page-secondary:hover {
  color: var(--page-green);
  transform: translateY(-2px);
}

/* ===== Pesquisa global ===== */
.search-hint-global {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: rgba(44, 62, 80, 0.7);
  text-align: center;
}

.search-loading {
  text-align: center;
  padding: 20px;
  color: rgba(44, 62, 80, 0.7);
}

.result-item .result-url {
  font-size: 0.78rem;
  color: var(--page-blue);
  margin-top: 4px;
}

/* ===== Avatar lightbox ===== */
.author-avatar {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-avatar:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
}

.avatar-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}

.avatar-lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.avatar-lightbox-overlay img {
  max-width: min(90vw, 520px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.avatar-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== Modal procedimento publicação ===== */
.pub-procedure-modal {
  width: min(560px, 92vw) !important;
  text-align: left !important;
  max-height: 90vh;
  overflow-y: auto;
}

.pub-procedure-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(46, 125, 50, 0.12);
  color: var(--page-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pub-procedure-intro {
  color: rgba(44, 62, 80, 0.88);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pub-procedure-steps {
  margin: 0 0 20px;
  padding-left: 20px;
  color: rgba(44, 62, 80, 0.92);
  line-height: 1.65;
}

.pub-procedure-steps li {
  margin-bottom: 10px;
}

.pub-procedure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.pub-procedure-link {
  color: var(--page-blue);
  font-weight: 600;
  text-decoration: none;
  margin-right: auto;
}

.pub-procedure-link:hover {
  color: var(--page-green);
}

.links-overlay.active {
  display: flex;
}

.filter-empty-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: rgba(44, 62, 80, 0.8);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px dashed var(--page-border);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .sobre-page-grid,
  .news-layout,
  .news-featured,
  .career-benefits,
  .sobre-mvv-grid,
  .sobre-founders-grid {
    grid-template-columns: 1fr;
  }

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

  .sobre-founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-founder-card img {
    margin: 0 auto;
  }

  .sobre-page-visual,
  .news-sidebar {
    position: static;
  }

  .news-grid-page {
    grid-template-columns: 1fr;
  }

  .sobre-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sobre-timeline-item {
    grid-template-columns: 1fr;
  }

  .sobre-team-grid {
    grid-template-columns: 1fr;
  }

  .sobre-section-nav-inner {
    justify-content: center;
  }

  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search-box {
    max-width: none;
  }
}
