:root {
    --ppg-primary: #8c1d40;
    --ppg-secondary: #5d6770;
    --ppg-header-bg: #fff;
    --ppg-footer-bg: #e9eef1;
    --ink: #142235;
    --text: #344255;
    --muted: #6d7784;
    --line: #e5e8eb;
    --soft: #f6f7f8;
    --white: #fff;
    --shadow: 0 16px 50px rgba(20,34,53,.10);
    --radius: 4px;
    --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; }

.site-shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.content-width-compact { --shell: 980px; }
.content-width-normal { --shell: 1100px; }
.content-width-wide { --shell: 1240px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: #fff;
    padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
    position: relative;
    z-index: 20;
    background: var(--ppg-header-bg);
}

.site-header--fixed {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.institution-bar {
    background: #111;
    color: #fff;
    font-size: .83rem;
}

.institution-bar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.institution-bar__name {
    font-weight: 650;
    letter-spacing: .01em;
}

.site-search {
    display: flex;
    height: 30px;
    background: #fff;
}

.site-search input {
    width: 185px;
    border: 0;
    padding: 0 .75rem;
    font-size: .78rem;
    outline: none;
}

.site-search button {
    width: 36px;
    border: 0;
    border-left: 1px solid #ddd;
    color: var(--ppg-primary);
    background: #fff;
    font-weight: 700;
}

.site-identity {
    background: var(--ppg-header-bg);
}

.site-identity__inner {
    min-height: 118px;
    display: flex;
    align-items: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    max-width: min(520px, 80vw);
}

.brand-logo img {
    display: block;
    max-height: 72px;
    max-width: 100%;
    width: auto;
}

.brand-text {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    color: var(--ink);
}

.brand-text__eyebrow {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--ppg-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.brand-text__title {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.05;
    font-weight: 750;
    letter-spacing: -.035em;
}

.main-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.main-nav--light { background: #fff; }
.main-nav--wine { background: var(--ppg-primary); border-color: transparent; }
.main-nav--dark { background: #141a22; border-color: transparent; }

.main-nav .nav-link {
    position: relative;
    padding: 15px 14px !important;
    font-size: .92rem;
    font-weight: 650;
    color: var(--ink);
}

.main-nav--wine .nav-link,
.main-nav--dark .nav-link {
    color: rgba(255,255,255,.9);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--ppg-primary);
}

.main-nav--wine .nav-link:hover,
.main-nav--wine .nav-link.active,
.main-nav--dark .nav-link:hover,
.main-nav--dark .nav-link.active {
    color: #fff;
}

.main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    background: var(--ppg-primary);
}

.main-nav--wine .nav-link.active::after,
.main-nav--dark .nav-link.active::after {
    background: #fff;
}

.hero {
    min-height: 500px;
    background-color: #dfe4e7;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero--no-image {
    background:
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ppg-primary) 28%, white), transparent 34%),
        linear-gradient(135deg, #e9edf0, #cfd7dc);
}

.hero__inner {
    width: 100%;
    padding-block: 58px;
}

.hero-card {
    width: min(610px, 100%);
    padding: 36px 38px 38px;
    background: rgba(255,255,255,.91);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--ppg-primary);
}

.hero-card__kicker,
.section-kicker {
    color: var(--ppg-primary);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 8px;
}

.hero-card h1 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(2rem, 4.7vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 780;
}

.hero-card p {
    font-size: 1.05rem;
    margin: 0 0 24px;
    color: #334155;
}

.btn-ppg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    margin: 4px 7px 4px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .78rem;
    font-weight: 800;
    border: 1px solid var(--ppg-primary);
    transition: .2s ease;
}

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

.btn-ppg--outline {
    color: var(--ppg-primary);
    background: #fff;
}

.btn-ppg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

.home-section,
.page-section {
    padding: 72px 0;
}

.home-section--soft {
    background: var(--soft);
}

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(300px, 1.2fr);
    gap: 70px;
}

.home-intro h2,
.section-heading h2,
.page-heading h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -.035em;
}

.home-intro__content p {
    margin-top: 0;
    font-size: 1.08rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.section-heading__link,
.text-link {
    color: var(--ppg-primary);
    font-weight: 750;
    text-decoration: none;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.quick-card {
    position: relative;
    min-height: 210px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: .22s ease;
}

.quick-card:hover {
    border-color: color-mix(in srgb, var(--ppg-primary) 50%, white);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.quick-card__number {
    color: var(--ppg-primary);
    font-size: .75rem;
    font-weight: 850;
    margin-bottom: 34px;
}

.quick-card__title {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.quick-card__text {
    margin-top: 9px;
    font-size: .88rem;
    color: var(--muted);
}

.quick-card__arrow {
    margin-top: auto;
    color: var(--ppg-primary);
    font-size: 1.4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--line);
}

.news-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.035);
}

.news-card__body {
    padding: 24px;
}

.news-card time {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 650;
}

.news-card h3,
.news-card h2 {
    margin: 8px 0 14px;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.3;
}

.news-card h3 a,
.news-card h2 a {
    text-decoration: none;
}

.news-card__summary {
    color: var(--text);
    font-size: .93rem;
    margin-bottom: 14px;
}

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

.feature-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 800;
}

.feature-card p {
    margin: 0 0 24px;
    font-size: .94rem;
}

.feature-card .text-link {
    margin-top: auto;
}

.agenda-list {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.agenda-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 24px;
    padding: 24px 28px;
    background: #fff;
}

.agenda-item__date {
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-item__date span {
    color: var(--ppg-primary);
    font-size: 2rem;
    line-height: 1;
    font-weight: 850;
}

.agenda-item__date small,
.agenda-item__type {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    font-weight: 750;
    color: var(--muted);
}

.agenda-item h3 {
    margin: 4px 0;
    color: var(--ink);
    font-size: 1.05rem;
}

.agenda-item p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.page-heading {
    margin-bottom: 38px;
}

.page-heading__accent {
    display: block;
    width: 52px;
    height: 5px;
    background: var(--ppg-primary);
    margin-bottom: 18px;
}

.standard-page {
    max-width: 880px;
}

.prose {
    font-size: 1.04rem;
    color: var(--text);
}

.prose h2,
.prose h3 {
    color: var(--ink);
    margin-top: 2em;
}

.prose a {
    color: var(--ppg-primary);
}

.page-intro {
    max-width: 820px;
    margin-bottom: 36px;
}

.site-footer {
    background: var(--ppg-footer-bg);
    color: #334155;
    border-top: 5px solid var(--ppg-primary);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr;
    gap: 54px;
    padding: 54px 0 42px;
}

.footer-site-type {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ppg-primary);
    font-size: .7rem;
    font-weight: 800;
}

.footer-site-title {
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 6px 0 16px;
}

.footer-institution {
    font-weight: 650;
}

.footer-contact address {
    white-space: pre-line;
    font-style: normal;
}

.footer-contact a,
.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--ppg-primary);
}

.site-footer__bottom {
    border-top: 1px solid rgba(20,34,53,.12);
    padding: 18px 0 24px;
    text-align: center;
    font-size: .76rem;
}

@media (max-width: 1050px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    .institution-bar__name { font-size: .76rem; }
    .site-search { display: none; }
    .site-identity__inner { min-height: 94px; }
    .brand-logo img { max-height: 58px; }

    .hero { min-height: 440px; }
    .hero-card { padding: 28px; }

    .home-intro__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

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

    .main-nav .nav-link.active::after { display: none; }
}

@media (max-width: 560px) {
    .site-shell { width: min(calc(100% - 28px), var(--shell)); }
    .institution-bar__inner { min-height: 34px; }
    .site-identity__inner { min-height: 82px; }

    .home-section,
    .page-section { padding: 50px 0; }

    .hero {
        min-height: auto;
        padding: 30px 0;
    }

    .hero__inner { padding-block: 24px; }

    .hero-card {
        width: 100%;
        padding: 24px;
    }

    .quick-grid,
    .news-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .agenda-item {
        grid-template-columns: 62px 1fr;
        padding: 20px;
        gap: 18px;
    }
}


/* Redes sociais ---------------------------------------------------------- */

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ppg-primary);
    background: rgba(255,255,255,.42);
    border: 1px solid rgba(20,34,53,.16);
    border-radius: 50%;
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.social-link svg {
    display: block;
    width: 18px;
    height: 18px;
}

.social-link:hover,
.social-link:focus-visible {
    color: #fff;
    background: var(--ppg-primary);
    border-color: var(--ppg-primary);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(20,34,53,.12);
    outline: none;
}

.social-link:focus-visible {
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px var(--ppg-primary);
}


/* Component library v1.5 ----------------------------------------------- */

.content-narrow { max-width: 900px; }

.content-image { margin: 0; }
.content-image img { display:block; width:100%; height:auto; border-radius: 12px; }
.content-image figcaption { margin-top:.55rem; font-size:.86rem; color:var(--ppg-secondary); }
.content-image__credit { display:block; margin-top:.15rem; font-size:.78rem; }

.text-image { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:clamp(2rem,5vw,5rem); align-items:center; }
.text-image--reverse .text-image__content { order:2; }
.text-image--reverse .text-image__media { order:1; }
.prose > :last-child { margin-bottom:0; }

.component-cards { display:grid; gap:1.4rem; }
.component-cards--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.component-cards--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.component-cards--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.component-card { background:#fff; border:1px solid rgba(20,34,53,.10); border-radius:14px; overflow:hidden; box-shadow:0 8px 26px rgba(20,34,53,.05); }
.component-card__media img { aspect-ratio:16/9; object-fit:cover; border-radius:0; }
.component-card__body { padding:1.25rem; }
.component-card__body h3 { margin-top:0; }

.callout { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:clamp(1.5rem,4vw,3rem); border-radius:16px; }
.callout h2 { margin:.2rem 0 .5rem; }
.callout p { margin:0; max-width:70ch; }
.callout--wine { background:var(--ppg-primary); color:#fff; }
.callout--dark { background:#1f252b; color:#fff; }
.callout--soft { background:#eef1f3; color:#1a1a1a; }

.btn-ppg--light { background:#fff; color:var(--ppg-primary); white-space:nowrap; }

.stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.stat-card { padding:1.5rem; background:#fff; border-radius:14px; border:1px solid rgba(20,34,53,.09); }
.stat-card__value { font-size:clamp(2rem,4vw,3.4rem); line-height:1; font-weight:700; color:var(--ppg-primary); }
.stat-card__label { margin-top:.55rem; font-weight:700; }
.stat-card__text { margin-top:.25rem; color:var(--ppg-secondary); font-size:.9rem; }

.faq-list { border-top:1px solid rgba(20,34,53,.13); }
.faq-item { border-bottom:1px solid rgba(20,34,53,.13); }
.faq-item summary { cursor:pointer; padding:1.1rem 0; font-weight:700; }
.faq-item__answer { padding:0 0 1.25rem; }

.link-list, .document-list { display:grid; gap:.75rem; }
.link-list__item, .document-item { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.15rem; border:1px solid rgba(20,34,53,.12); border-radius:10px; background:#fff; text-decoration:none; color:inherit; }
.link-list__item:hover, .document-item:hover { border-color:var(--ppg-primary); }
.link-list__item small, .document-item span { display:block; color:var(--ppg-secondary); margin-top:.2rem; }
.document-item__meta { margin:0 !important; font-size:.78rem; font-weight:700; text-transform:uppercase; }

.agenda-list { display:grid; gap:.8rem; }
.agenda-item { display:grid; grid-template-columns:84px 1fr; gap:1rem; align-items:start; padding:1rem 0; border-bottom:1px solid rgba(20,34,53,.12); }
.agenda-item__date { text-align:center; padding:.7rem .4rem; background:#f2f3f4; border-radius:10px; color:var(--ppg-primary); }
.agenda-item__date strong { display:block; font-size:1.7rem; line-height:1; }
.agenda-item__date span { display:block; font-size:.72rem; margin-top:.3rem; }
.agenda-item h3 { margin:0 0 .35rem; }
.agenda-item__type, .agenda-item__location { color:var(--ppg-secondary); font-size:.9rem; }

.people-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.25rem; }
.person-card { background:#fff; border-radius:14px; overflow:hidden; border:1px solid rgba(20,34,53,.10); }
.person-card__photo img { width:100%; aspect-ratio:1/1; object-fit:cover; }
.person-card__body { padding:1rem; }
.person-card__body h3 { margin:0; }
.person-card__body p { margin:.3rem 0 0; color:var(--ppg-secondary); }

.research-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.research-card { display:block; padding:1.4rem; border:1px solid rgba(20,34,53,.12); border-radius:12px; text-decoration:none; color:inherit; }
.research-card:hover { border-color:var(--ppg-primary); transform:translateY(-2px); }
.research-card h3 { margin-top:0; color:var(--ppg-primary); }

@media (max-width: 900px) {
  .text-image { grid-template-columns:1fr; }
  .text-image--reverse .text-image__content, .text-image--reverse .text-image__media { order:initial; }
  .component-cards--3, .component-cards--4, .stats-grid, .people-grid, .research-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .component-cards--2, .component-cards--3, .component-cards--4, .stats-grid, .people-grid, .research-grid { grid-template-columns:1fr; }
  .callout { align-items:flex-start; flex-direction:column; }
}


/* =========================================================
   Modular layout — full width and side-by-side blocks
   ========================================================= */
.modular-layout {
  padding-block: 1rem 3rem;
}

.modular-layout__column {
  min-width: 0;
}

.modular-layout__column > .home-section {
  height: 100%;
  margin: 0;
}

.modular-layout__column > .home-section > .site-shell,
.modular-layout__column .site-shell {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.modular-layout__column .content-narrow {
  max-width: none;
}

.modular-layout__column .home-section--soft {
  border-radius: 1rem;
  padding-inline: 1.25rem;
}

.person-card--flex {
  min-height: 100%;
}

.person-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

@media (max-width: 991.98px) {
  .modular-layout {
    padding-block: .5rem 2rem;
  }
}


/* ================================================================
   UFOP PPG 2.3 — revisão visual e responsiva
   ================================================================ */

:root {
    --shell: 1280px;
    --section-space: clamp(3.25rem, 6vw, 5.75rem);
    --section-space-compact: clamp(2.25rem, 4vw, 3.75rem);
    --surface-soft: #f7f8f9;
}

.content-width-compact { --shell: 1040px; }
.content-width-normal { --shell: 1180px; }
.content-width-wide { --shell: 1320px; }

/* A composição modular já possui um shell externo. Os shells internos
   passam a ocupar 100% da coluna e deixam de estreitar o conteúdo duas vezes. */
.modular-layout {
    padding-block: clamp(1.25rem, 2.5vw, 2.5rem) clamp(4rem, 7vw, 7rem);
}

.modular-layout > .row {
    --bs-gutter-y: 0;
}

.modular-layout__column > .home-section,
.modular-layout__column > .hero {
    margin: 0;
}

.modular-layout__column > .home-section {
    padding: var(--section-space-compact) 0;
    background: transparent;
}

.modular-layout__column--full > .home-section {
    padding: var(--section-space) 0;
}

.modular-layout__column > .home-section > .site-shell,
.modular-layout__column > .hero > .site-shell {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

/* Fundos suaves deixam de virar caixas gigantes no miolo da página. */
.modular-layout .home-section--soft {
    background: transparent;
}

/* Hero mais amplo e menos parecido com um card isolado. */
.modular-layout__column--full > .hero {
    min-height: clamp(420px, 48vw, 590px);
    border-radius: 0;
    overflow: hidden;
}

.hero-card {
    width: min(650px, 92%);
    padding: clamp(1.75rem, 3vw, 3rem);
    box-shadow: 0 22px 60px rgba(20,34,53,.12);
}

/* Cabeçalhos de seção mais consistentes. */
.section-heading {
    margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.section-heading h2 {
    max-width: 18ch;
}

.section-heading p {
    max-width: 760px;
    margin: .7rem 0 0;
}

/* Menos bordas, mais respiro. */
.quick-grid,
.feature-grid,
.component-cards,
.news-grid,
.people-grid {
    gap: clamp(1rem, 2vw, 1.5rem);
}

.quick-card,
.feature-card,
.component-card,
.news-card,
.person-card {
    border-color: #e8ebee;
    border-radius: 8px;
}

.quick-card,
.feature-card,
.component-card,
.news-card {
    box-shadow: 0 5px 20px rgba(20,34,53,.035);
}

.quick-card {
    min-height: 170px;
    padding: 22px;
}

.quick-card__number {
    margin-bottom: 22px;
}

/* Indicadores: compactos e capazes de receber 2, 5, 10 ou mais itens. */
.stats-section {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-card {
    min-width: 0;
    padding: clamp(1.2rem, 2vw, 1.75rem) clamp(.9rem, 1.6vw, 1.35rem);
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card__value {
    color: var(--ppg-primary);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    font-weight: 820;
    letter-spacing: -.045em;
}

.stat-card__label {
    margin-top: .55rem;
    color: var(--ink);
    font-size: .9rem;
    line-height: 1.25;
    font-weight: 760;
}

.stat-card__text {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35;
}

.stats-grid--many {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-grid--many .stat-card:nth-child(5n) {
    border-right: 0;
}

.stats-grid--many .stat-card:nth-child(n+6) {
    border-top: 1px solid var(--line);
}

/* Docentes: retratos 4:5, grade editorial e placeholders consistentes. */
.people-section {
    border-top: 1px solid var(--line);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.person-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}

.person-card__photo-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #edf0f2;
}

.person-card__photo-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.person-card__photo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card__photo-wrap--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #eef1f3, #e1e5e8);
}

.person-card__photo-wrap--placeholder span {
    color: color-mix(in srgb, var(--ppg-primary) 75%, #394554);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
}

.person-card__body {
    padding: 1.15rem 1.15rem 1.3rem;
}

.person-card__body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 790;
}

.person-card__body h3 a {
    text-decoration: none;
}

.person-card__role {
    margin: .35rem 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.person-card__research {
    margin-top: .75rem;
    color: var(--text);
    font-size: .82rem;
    line-height: 1.45;
}

.person-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .85rem;
    margin-top: .9rem;
}

.person-card__links a {
    color: var(--ppg-primary);
    font-size: .79rem;
    font-weight: 760;
    text-decoration: none;
}

/* Notícias ganham mais presença visual quando há espaço. */
.modular-layout__column--full .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Blocos lado a lado permanecem visualmente alinhados, sem caixas externas. */
.modular-layout__column--half > .home-section,
.modular-layout__column--third > .home-section,
.modular-layout__column--two-thirds > .home-section {
    height: 100%;
}

.callout {
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .stats-grid--many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-grid--many .stat-card { border-top: 0; }
    .stats-grid--many .stat-card:nth-child(3n) { border-right: 0; }
    .stats-grid--many .stat-card:nth-child(n+4) { border-top: 1px solid var(--line); }
    .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .site-shell { width: min(calc(100% - 28px), var(--shell)); }
    .modular-layout { padding-top: .75rem; }
    .modular-layout__column > .home-section,
    .modular-layout__column--full > .home-section { padding: 2.7rem 0; }
    .stats-grid,
    .stats-grid--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid .stat-card,
    .stats-grid--many .stat-card { border-top: 0; border-right: 1px solid var(--line); }
    .stats-grid .stat-card:nth-child(2n),
    .stats-grid--many .stat-card:nth-child(2n) { border-right: 0; }
    .stats-grid .stat-card:nth-child(n+3),
    .stats-grid--many .stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modular-layout__column--full .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .people-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UFOP PPG v2.4 — redesign editorial
   Full width = fundo/ritmo da seção. Conteúdo permanece legível
   dentro de um shell amplo e responsivo.
   ============================================================ */

:root {
    --shell: 1360px;
    --section-space: clamp(4.5rem, 7vw, 7rem);
    --section-space-compact: clamp(3rem, 5vw, 4.75rem);
    --section-bg: #f7f8f9;
    --section-bg-strong: #eef1f3;
}

/* O canvas modular continua alinhado, mas módulos full podem romper
   o shell para que fundos e hero alcancem as bordas da viewport. */
.modular-layout {
    width: min(calc(100% - 48px), var(--shell));
    max-width: var(--shell);
    overflow: visible;
    padding-top: 0;
}

.modular-layout > .row {
    overflow: visible;
}

.modular-layout__column--full {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    flex: 0 0 100vw;
    padding-left: 0;
    padding-right: 0;
}

/* Em módulos full, o fundo vai de ponta a ponta; o conteúdo não. */
.modular-layout__column--full > .home-section > .site-shell,
.modular-layout__column--full > .hero > .site-shell {
    width: min(calc(100% - 64px), var(--shell));
    max-width: var(--shell);
    margin-inline: auto;
}

.modular-layout__column--full > .home-section {
    padding: var(--section-space) 0;
}

.modular-layout__column--full > .home-section--soft {
    background: var(--section-bg);
}

/* Hero realmente panorâmico, mas sem jogar texto contra as bordas. */
.modular-layout__column--full > .hero {
    min-height: clamp(500px, 55vw, 680px);
    border-radius: 0;
}

.hero__inner {
    display: flex;
    align-items: center;
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero-card {
    width: min(660px, 52vw);
    padding: clamp(2.25rem, 4vw, 4rem);
    margin-left: clamp(0rem, 2vw, 2rem);
    background: rgba(255,255,255,.94);
    border-top-width: 4px;
    border-radius: 2px;
    box-shadow: 0 24px 70px rgba(20,34,53,.14);
}

.hero-card h1 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 4.5vw, 4.5rem);
    line-height: .98;
}

.hero-card p {
    max-width: 58ch;
    margin-top: 1.15rem;
    margin-bottom: 1.75rem;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

/* Ritmo: menos vazios aleatórios e mais relação entre título e conteúdo. */
.modular-layout__column > .home-section {
    padding-top: var(--section-space-compact);
    padding-bottom: var(--section-space-compact);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.section-heading h2 {
    max-width: 24ch;
    font-size: clamp(1.85rem, 2.6vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

/* Acessos rápidos mais horizontais e menos "caixinhas". */
.quick-grid {
    gap: 1rem;
}

.quick-card {
    min-height: 150px;
    padding: 1.5rem;
    border-radius: 3px;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--ppg-primary) 25%, var(--line));
    box-shadow: 0 12px 28px rgba(20,34,53,.07);
}

/* Indicadores: faixa editorial, 5 por linha quando há muitos. */
.stats-section .section-heading {
    margin-bottom: 1.5rem;
}

.stats-grid {
    background: transparent;
    border-top: 1px solid #dfe3e6;
    border-bottom: 1px solid #dfe3e6;
}

.stat-card {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1.5rem;
}

.stat-card__value {
    font-size: clamp(2rem, 3vw, 3rem);
}

.stat-card__label {
    font-size: .86rem;
}

/* Documentos: itens baixos e largos, sem um bloco estreito visualmente pesado. */
.document-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
}

.document-item {
    min-height: 78px;
}

/* Docentes: quatro retratos proporcionais no desktop e cards mais nobres. */
.people-section {
    border-top: 0;
}

.people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
}

.person-card {
    border: 0;
    border-radius: 3px;
    background: transparent;
    overflow: visible;
}

.person-card__photo-wrap {
    aspect-ratio: 4 / 5;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(20,34,53,.08);
}

.person-card__photo-wrap--placeholder {
    aspect-ratio: 4 / 3;
    box-shadow: none;
}

.person-card__photo-wrap--placeholder span {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.person-card__body {
    padding: 1rem .1rem 0;
}

.person-card__body h3 {
    font-size: 1.05rem;
}

/* Notícias precisam ter presença semelhante aos demais conteúdos editoriais. */
.modular-layout__column--full .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-card {
    min-height: 100%;
    border-radius: 3px;
    box-shadow: none;
}

/* Chamadas funcionam como faixas, não como cards soltos. */
.modular-layout__column--full .callout {
    border-radius: 3px;
    padding: clamp(2rem, 4vw, 3.5rem);
}

/* Colunas internas: preserva o grid de composição, mas com alinhamento firme. */
.modular-layout__column--half,
.modular-layout__column--third,
.modular-layout__column--two-thirds {
    padding-left: 1rem;
    padding-right: 1rem;
}

.modular-layout__column--half > .home-section,
.modular-layout__column--third > .home-section,
.modular-layout__column--two-thirds > .home-section {
    padding-top: var(--section-space-compact);
    padding-bottom: var(--section-space-compact);
}

@media (max-width: 1199.98px) {
    :root { --shell: 1160px; }
    .hero-card { width: min(620px, 60vw); margin-left: 0; }
    .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: min(calc(100% - 40px), var(--shell));
    }
    .hero-card { width: min(620px, 78vw); }
    .document-list { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .modular-layout {
        width: min(calc(100% - 28px), var(--shell));
        padding-bottom: 4rem;
    }
    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: min(calc(100% - 28px), var(--shell));
    }
    .modular-layout__column--full > .hero { min-height: 520px; }
    .hero__inner { align-items: end; padding-block: 2.5rem; }
    .hero-card {
        width: 100%;
        margin: 0;
        padding: 1.75rem;
    }
    .hero-card h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
    .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

@media (max-width: 520px) {
    .people-grid { grid-template-columns: 1fr; }
    .person-card__photo-wrap,
    .person-card__photo-wrap--placeholder { aspect-ratio: 4 / 3; }
}

/* ================================================================
   UFOP PPG 2.5 — revisão integral do sistema visual
   ================================================================ */
:root {
    --shell: 1320px;
    --section-space: clamp(3.75rem, 5.5vw, 5.5rem);
    --section-space-compact: clamp(2.75rem, 4vw, 4rem);
    --surface-soft: #f7f8fa;
    --surface-muted: #eef2f4;
    --radius-sm: 6px;
    --radius-md: 10px;
    --shadow-soft: 0 12px 34px rgba(20,34,53,.07);
}

body {
    font-size: 16.5px;
    line-height: 1.62;
    color: #334155;
}

.site-shell {
    width: min(calc(100% - 64px), var(--shell));
}

/* Tipografia: menos extremos e leitura mais confortável. */
.section-kicker,
.hero-card__kicker,
.callout__kicker {
    font-size: .76rem;
    line-height: 1.2;
    letter-spacing: .12em;
    font-weight: 760;
}

.section-heading {
    margin-bottom: clamp(1.45rem, 2vw, 2rem);
}

.section-heading h2,
.text-image__content h2 {
    font-size: clamp(1.8rem, 2.15vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    max-width: 30ch;
}

.section-heading p,
.text-image__content .prose,
.component-card__body p,
.news-card__summary,
.research-card p {
    font-size: 1rem;
    line-height: 1.62;
}

/* Layout modular: ritmo mais curto e alinhamento consistente. */
.modular-layout {
    width: min(calc(100% - 64px), var(--shell));
    max-width: var(--shell);
    padding-bottom: clamp(4rem, 6vw, 6rem);
}

.modular-layout > .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 0;
}

.modular-layout__column > .home-section {
    padding-top: var(--section-space-compact);
    padding-bottom: var(--section-space-compact);
}

.modular-layout__column--full > .home-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.modular-layout__column--full > .home-section > .site-shell,
.modular-layout__column--full > .hero > .site-shell {
    width: min(calc(100% - 64px), var(--shell));
    max-width: var(--shell);
}

/* Em colunas, fundo "soft" não vira caixa externa. */
.modular-layout__column:not(.modular-layout__column--full) > .home-section--soft {
    background: transparent;
    border-radius: 0;
    padding-inline: 0;
}

.modular-layout__column--full > .home-section--soft {
    background: var(--surface-soft);
}

/* HERO: imagem sempre como fundo; conteúdo sem caixa branca e com duas linhas no desktop. */
.modular-layout__column--full > .hero {
    min-height: clamp(430px, 42vw, 610px);
    position: relative;
    overflow: hidden;
    background-color: #e7ecef;
    border-radius: 0;
}

.hero--has-image {
    background-image:
        linear-gradient(90deg,
            rgba(255,255,255,.97) 0%,
            rgba(255,255,255,.94) 36%,
            rgba(255,255,255,.72) 58%,
            rgba(255,255,255,.20) 82%,
            rgba(255,255,255,.05) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero--no-image {
    background:
        radial-gradient(circle at 88% 22%, rgba(140,29,64,.15), transparent 31%),
        linear-gradient(120deg, #f8fafb 0%, #edf1f3 62%, #dfe5e8 100%);
}

.hero__inner {
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: clamp(3.75rem, 6vw, 5.75rem) clamp(1rem, 3vw, 3rem);
}

.hero-card {
    width: min(100%, 1120px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-card__kicker {
    margin-bottom: 1rem;
}

.hero-card h1 {
    width: min(100%, 1100px);
    max-width: none;
    margin: 0;
    font-size: clamp(2.65rem, 3.55vw, 3.35rem);
    line-height: 1.01;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero-card p {
    width: min(100%, 760px);
    max-width: none;
    margin: 1.35rem 0 1.7rem;
    font-size: clamp(1.04rem, 1.2vw, 1.15rem);
    line-height: 1.62;
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-card__credit {
    margin-top: 1.25rem;
    font-size: .78rem;
    color: var(--muted);
}

/* Botões: um pouco menos pesados. */
.btn-ppg {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.15rem;
    font-size: .82rem;
    letter-spacing: .01em;
}

/* Acessos rápidos: cards baixos e claramente clicáveis. */
.quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.quick-card {
    min-height: 138px;
    padding: 1.35rem 1.4rem;
    border: 1px solid rgba(20,34,53,.10);
    border-radius: var(--radius-sm);
    background: #fff;
}

.quick-card__number {
    font-size: .72rem;
    margin-bottom: .9rem;
}

.quick-card__title {
    font-size: 1.03rem;
    line-height: 1.25;
}

.quick-card__text {
    margin-top: .45rem;
    font-size: .88rem;
    line-height: 1.48;
}

/* Texto + imagem: composição realmente horizontal no desktop. */
.text-image {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(2.5rem, 5vw, 5rem);
}

.text-image__content {
    max-width: 720px;
}

.text-image__media img {
    border-radius: var(--radius-md);
}

/* Cards: mais editoriais, menos aparência de dashboard. */
.component-cards {
    gap: 1.25rem;
}

.component-card {
    border-radius: var(--radius-sm);
    border-color: rgba(20,34,53,.09);
    box-shadow: none;
}

.component-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
}

.component-card__body h3 {
    font-size: 1.12rem;
    line-height: 1.25;
    margin-bottom: .55rem;
}

/* Indicadores: faixa compacta; 5 por linha, 10 = duas linhas. */
.stats-grid,
.stats-grid--many {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.stat-card {
    min-height: 112px;
    padding: 1.2rem 1.35rem;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.stat-card:nth-child(5n) {
    border-right: 0;
}

.stat-card:nth-child(n+6) {
    border-top: 1px solid var(--line);
}

.stat-card__value {
    font-size: clamp(1.9rem, 2.5vw, 2.45rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.stat-card__label {
    margin-top: .5rem;
    font-size: .88rem;
    line-height: 1.25;
}

.stat-card__text {
    margin-top: .28rem;
    font-size: .78rem;
    line-height: 1.35;
}

/* Chamada: faixa horizontal com espaço interno equilibrado. */
.callout {
    min-height: 150px;
    padding: clamp(1.8rem, 3vw, 2.7rem) clamp(1.8rem, 3.5vw, 3.2rem);
    border-radius: var(--radius-sm);
}

.callout h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.1;
}

.callout p {
    font-size: .98rem;
}

/* FAQ e links: linhas leves, texto legível, sem excesso de caixas. */
.faq-item summary {
    padding: 1rem 0;
    font-size: .96rem;
    line-height: 1.4;
}

.faq-item__answer {
    font-size: .95rem;
    line-height: 1.62;
}

.link-list {
    gap: .6rem;
}

.link-list__item {
    padding: .95rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .94rem;
}

.link-list__item small {
    font-size: .82rem;
    line-height: 1.45;
}

/* Documentos: duas colunas em desktop e melhor densidade. */
.document-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 1rem;
}

.document-item {
    min-height: 76px;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
}

.document-item strong {
    font-size: .96rem;
}

.document-item span:not(.document-item__meta) {
    font-size: .82rem;
    line-height: 1.4;
}

/* Docentes: retrato 4:5 e grade equilibrada. */
.people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 1.8rem);
}

.person-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.person-card__photo-wrap,
.person-card__photo-wrap--placeholder {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(145deg, #edf1f3, #dfe5e8);
    box-shadow: none;
}

.person-card__photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card__photo-wrap--placeholder span {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.person-card__body {
    padding: .9rem .05rem 0;
}

.person-card__body h3 {
    font-size: 1rem;
    line-height: 1.28;
}

.person-card__role,
.person-card__research {
    font-size: .82rem;
    line-height: 1.4;
}

.person-card__links {
    gap: .7rem;
    margin-top: .6rem;
}

.person-card__links a {
    font-size: .82rem;
}

/* Notícias: cards editoriais com títulos mais presentes. */
.modular-layout__column--full .news-grid,
.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.news-card {
    border: 1px solid rgba(20,34,53,.09);
    border-radius: var(--radius-sm);
    box-shadow: none;
    overflow: hidden;
}

.news-card__image img {
    aspect-ratio: 16 / 9;
}

.news-card__body {
    padding: 1.25rem 1.3rem 1.4rem;
}

.news-card time {
    font-size: .75rem;
}

.news-card h3,
.news-card h2 {
    margin-top: .55rem;
    font-size: 1.12rem;
    line-height: 1.28;
}

.news-card__summary {
    font-size: .9rem;
    line-height: 1.5;
}

/* Agenda: data compacta e texto com mais espaço. */
.agenda-item {
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.agenda-item__date {
    padding: .65rem .35rem;
    border-radius: var(--radius-sm);
}

.agenda-item h3 {
    font-size: 1rem;
    line-height: 1.32;
}

/* Linhas de pesquisa: cards baixos e horizontais. */
.research-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.research-card {
    min-height: 170px;
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.research-card:hover {
    box-shadow: var(--shadow-soft);
}

.research-card h3 {
    font-size: 1.08rem;
    line-height: 1.25;
}

/* Cabeçalho e navegação: a escala antiga estava pequena em comparação ao conteúdo. */
.main-nav .nav-link {
    font-size: .9rem;
}

.brand-text__title {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

/* Responsividade */
@media (max-width: 1199.98px) {
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-card h1 { font-size: clamp(2.55rem, 4.3vw, 3.15rem); }
}

@media (max-width: 991.98px) {
    .site-shell,
    .modular-layout,
    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: min(calc(100% - 40px), var(--shell));
    }

    .hero__inner { padding-inline: .5rem; }
    .hero-card { width: min(100%, 850px); }
    .hero-card h1 { font-size: clamp(2.35rem, 5.8vw, 3rem); }

    .stats-grid,
    .stats-grid--many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stat-card:nth-child(5n) { border-right: 1px solid var(--line); }
    .stat-card:nth-child(3n) { border-right: 0; }
    .stat-card:nth-child(n+4) { border-top: 1px solid var(--line); }

    .document-list { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-grid,
    .modular-layout__column--full .news-grid,
    .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    body { font-size: 16px; }

    .site-shell,
    .modular-layout,
    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .modular-layout__column--full > .hero { min-height: auto; }
    .hero__inner { padding: 3.25rem 0; align-items: center; }
    .hero-card h1 {
        font-size: clamp(2.1rem, 9vw, 2.75rem);
        line-height: 1.03;
    }
    .hero-card p { font-size: 1rem; }

    .section-heading h2,
    .text-image__content h2 { font-size: clamp(1.65rem, 7vw, 2rem); }

    .quick-grid,
    .news-grid,
    .modular-layout__column--full .news-grid,
    .research-grid { grid-template-columns: 1fr; }

    .stats-grid,
    .stats-grid--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-card,
    .stat-card:nth-child(3n),
    .stat-card:nth-child(5n) { border-right: 1px solid var(--line); }
    .stat-card:nth-child(2n) { border-right: 0; }
    .stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }

    .callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .people-grid { grid-template-columns: 1fr; }
    .person-card__photo-wrap,
    .person-card__photo-wrap--placeholder { aspect-ratio: 4 / 5; }
}

/* ================================================================
   UFOP PPG 2.6 — navegação responsiva e acessível
   Breakpoint editorial: 1024 px
   ================================================================ */

.mobile-menu-toggle,
.mobile-navigation,
.mobile-menu-backdrop {
    display: none;
}

/* Desktop --------------------------------------------------------- */
.desktop-navigation {
    display: block;
}

.desktop-nav,
.desktop-nav__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
}

.desktop-nav__item {
    position: relative;
}

.desktop-nav__link-row {
    display: flex;
    align-items: stretch;
}

.desktop-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 14px;
    color: var(--ink);
    text-decoration: none;
    font-size: .94rem;
    line-height: 1.2;
    font-weight: 680;
    transition: color .18s ease, background-color .18s ease;
}

.desktop-nav__submenu-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    min-height: 52px;
    margin-left: -8px;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
}

.desktop-nav__submenu-toggle span {
    display: block;
    transition: transform .18s ease;
}

.desktop-nav__link:hover,
.desktop-nav__link:focus-visible,
.desktop-nav__link.is-active {
    color: var(--ppg-primary);
}

.desktop-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    background: var(--ppg-primary);
}

.desktop-nav__submenu {
    position: absolute;
    z-index: 80;
    top: calc(100% - 1px);
    left: 0;
    width: max-content;
    min-width: 230px;
    max-width: 340px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(20,34,53,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.desktop-nav__submenu .desktop-nav__item {
    width: 100%;
}

.desktop-nav__submenu .desktop-nav__link {
    min-height: 44px;
    width: 100%;
    padding: 10px 12px;
    font-size: .9rem;
}

.desktop-nav__submenu .desktop-nav__link.is-active::after {
    display: none;
}

.desktop-nav__submenu .desktop-nav__submenu {
    top: -9px;
    left: calc(100% + 8px);
}

.desktop-nav__item--has-children:hover > .desktop-nav__submenu,
.desktop-nav__item--has-children:focus-within > .desktop-nav__submenu,
.desktop-nav__item--has-children.is-open > .desktop-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-nav__item--has-children.is-open > .desktop-nav__link-row .desktop-nav__submenu-toggle span {
    transform: rotate(180deg);
}

.main-nav--wine .desktop-nav__link,
.main-nav--wine .desktop-nav__submenu-toggle,
.main-nav--dark .desktop-nav__link,
.main-nav--dark .desktop-nav__submenu-toggle {
    color: rgba(255,255,255,.93);
}

.main-nav--wine .desktop-nav__link:hover,
.main-nav--wine .desktop-nav__link:focus-visible,
.main-nav--wine .desktop-nav__link.is-active,
.main-nav--dark .desktop-nav__link:hover,
.main-nav--dark .desktop-nav__link:focus-visible,
.main-nav--dark .desktop-nav__link.is-active {
    color: #fff;
}

.main-nav--wine .desktop-nav__link.is-active::after,
.main-nav--dark .desktop-nav__link.is-active::after {
    background: #fff;
}

.main-nav--wine .desktop-nav__submenu,
.main-nav--dark .desktop-nav__submenu {
    background: #fff;
}

.main-nav--wine .desktop-nav__submenu .desktop-nav__link,
.main-nav--wine .desktop-nav__submenu .desktop-nav__submenu-toggle,
.main-nav--dark .desktop-nav__submenu .desktop-nav__link,
.main-nav--dark .desktop-nav__submenu .desktop-nav__submenu-toggle {
    color: var(--ink);
}

/* Mobile / tablet ------------------------------------------------- */
@media (max-width: 1023.98px) {
    .desktop-navigation {
        display: none;
    }

    .site-identity__inner {
        min-height: 86px;
        justify-content: space-between;
        gap: 20px;
    }

    .brand-text,
    .brand-logo {
        min-width: 0;
        max-width: calc(100% - 92px);
    }

    .brand-text__title {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: clamp(1.25rem, 3.4vw, 1.75rem);
        line-height: 1.08;
    }

    .brand-logo img {
        max-height: 54px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 82px;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
        border-radius: 6px;
        background: #fff;
        color: var(--ink);
        font: inherit;
        font-size: .9rem;
        font-weight: 760;
        cursor: pointer;
    }

    .mobile-menu-toggle:focus-visible,
    .mobile-navigation__close:focus-visible,
    .mobile-nav a:focus-visible,
    .mobile-nav summary:focus-visible,
    .mobile-navigation__search input:focus-visible,
    .mobile-navigation__search button:focus-visible {
        outline: 3px solid color-mix(in srgb, var(--ppg-primary) 45%, white);
        outline-offset: 2px;
    }

    .mobile-menu-toggle__icon {
        width: 20px;
        display: grid;
        gap: 4px;
    }

    .mobile-menu-toggle__icon span {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 2px;
        background: currentColor;
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(12,18,27,.50);
        opacity: 0;
        transition: opacity .22s ease;
    }

    .mobile-menu-backdrop[hidden] {
        display: none;
    }

    .mobile-navigation {
        display: flex;
        position: fixed;
        z-index: 999;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(92vw, 420px);
        height: 100dvh;
        flex-direction: column;
        background: #fff;
        box-shadow: -20px 0 50px rgba(20,34,53,.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .24s ease, visibility .24s ease;
        overscroll-behavior: contain;
    }

    .mobile-menu-open .mobile-navigation {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
    }

    html.mobile-menu-open,
    html.mobile-menu-open body {
        overflow: hidden;
    }

    .mobile-navigation__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 76px;
        padding: 14px 18px 14px 22px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-navigation__brand {
        color: var(--ink);
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 800;
    }

    .mobile-navigation__close {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 50%;
        background: var(--soft);
        color: var(--ink);
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-navigation__body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 14px 22px;
    }

    .mobile-nav,
    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav__item {
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav__link,
    .mobile-nav__group > summary,
    .mobile-nav__overview {
        min-height: 52px;
        display: flex;
        align-items: center;
        color: var(--ink);
        text-decoration: none;
        font-size: 1rem;
        line-height: 1.25;
        font-weight: 690;
    }

    .mobile-nav__link,
    .mobile-nav__group > summary {
        padding: 13px 10px;
    }

    .mobile-nav__link.is-active,
    .mobile-nav__overview.is-active,
    .mobile-nav__item.is-current > .mobile-nav__link,
    .mobile-nav__item.is-current > .mobile-nav__group > summary {
        color: var(--ppg-primary);
    }

    .mobile-nav__group > summary {
        justify-content: space-between;
        gap: 16px;
        cursor: pointer;
        list-style: none;
    }

    .mobile-nav__group > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav__chevron {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        flex: 0 0 auto;
        transition: transform .18s ease;
    }

    .mobile-nav__group[open] > summary .mobile-nav__chevron {
        transform: rotate(180deg);
    }

    .mobile-nav__submenu {
        margin: 0 0 10px 10px;
        padding: 4px 0 4px 14px;
        border-left: 2px solid color-mix(in srgb, var(--ppg-primary) 22%, white);
    }

    .mobile-nav__submenu .mobile-nav__item {
        border-bottom: 0;
    }

    .mobile-nav__submenu .mobile-nav__link,
    .mobile-nav__overview {
        min-height: 46px;
        padding: 10px 10px;
        font-size: .94rem;
        font-weight: 620;
    }

    .mobile-nav__overview {
        color: var(--ppg-primary);
        font-weight: 760;
    }

    .mobile-nav__submenu .mobile-nav__submenu {
        margin-left: 8px;
    }

    .mobile-navigation__search {
        flex: 0 0 auto;
        padding: 18px 22px max(20px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: #fff;
    }

    .mobile-navigation__search label {
        display: block;
        margin-bottom: 8px;
        color: var(--ink);
        font-size: .8rem;
        font-weight: 760;
    }

    .mobile-navigation__search-row {
        display: flex;
        gap: 8px;
    }

    .mobile-navigation__search input {
        min-width: 0;
        flex: 1 1 auto;
        height: 46px;
        border: 1px solid #cfd5da;
        border-radius: 5px;
        padding: 0 12px;
        font: inherit;
        font-size: 16px; /* evita zoom automático no iOS */
    }

    .mobile-navigation__search button {
        min-height: 46px;
        padding: 0 15px;
        border: 1px solid var(--ppg-primary);
        border-radius: 5px;
        background: var(--ppg-primary);
        color: #fff;
        font: inherit;
        font-size: .88rem;
        font-weight: 760;
    }
}

@media (max-width: 560px) {
    .institution-bar {
        display: none;
    }

    .site-identity__inner {
        min-height: 74px;
    }

    .mobile-menu-toggle {
        min-width: 48px;
        width: 48px;
        padding: 0;
        border-radius: 50%;
    }

    .mobile-menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .brand-text,
    .brand-logo {
        max-width: calc(100% - 66px);
    }

    .brand-text__title {
        font-size: clamp(1.12rem, 5vw, 1.42rem);
    }

    .mobile-navigation {
        width: min(94vw, 390px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-navigation,
    .mobile-menu-backdrop,
    .mobile-nav__chevron,
    .desktop-nav__submenu,
    .desktop-nav__submenu-toggle span {
        transition: none !important;
    }
}


/* ================================================================
   UFOP PPG 2.7 — composição responsiva robusta + hero configurável
   ================================================================ */

/* O documento nunca deve criar rolagem horizontal por causa de módulos. */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, iframe {
    max-width: 100%;
}

/* Grid modular previsível. Full-width só rompe o shell em desktop. */
.modular-layout > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.modular-layout__column {
    min-width: 0;
}

@media (min-width: 992px) {
    .modular-layout__column--full {
        position: relative;
        left: 50%;
        width: 100vw;
        max-width: 100vw;
        margin-left: -50vw;
        flex: 0 0 100vw;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Hero ----------------------------------------------------------- */
.hero {
    isolation: isolate;
}

.hero__inner {
    justify-content: flex-start;
}

.hero--position-center .hero__inner {
    justify-content: center;
}

.hero--position-right .hero__inner {
    justify-content: flex-end;
}

.hero-card {
    width: min(100%, 780px);
    max-width: 780px;
}

.hero--box-light .hero-card,
.hero--box-translucent .hero-card {
    padding: clamp(2rem, 3.5vw, 3.25rem);
    border-top: 4px solid var(--ppg-primary);
    border-radius: 2px;
}

.hero--box-light .hero-card {
    background: rgba(255,255,255,.97);
    box-shadow: 0 18px 52px rgba(20,34,53,.11);
}

.hero--box-translucent .hero-card {
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 52px rgba(20,34,53,.10);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero--box-none .hero-card {
    width: min(100%, 1060px);
    max-width: 1060px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-card h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.5rem, 3.25vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.hero--box-light .hero-card h1,
.hero--box-translucent .hero-card h1 {
    max-width: 19ch;
}

.hero--box-none .hero-card h1 {
    max-width: 34ch;
}

.hero-card p {
    max-width: 62ch;
}

/* Com caixa, a fotografia pode aparecer mais livremente do que no modo sem caixa. */
.hero--has-image.hero--box-light,
.hero--has-image.hero--box-translucent {
    background-image:
        linear-gradient(90deg, rgba(20,34,53,.06), rgba(20,34,53,.02)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero--has-image.hero--box-none {
    background-image:
        linear-gradient(90deg,
            rgba(255,255,255,.97) 0%,
            rgba(255,255,255,.93) 42%,
            rgba(255,255,255,.55) 68%,
            rgba(255,255,255,.12) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

/* Blocos internos não devem parecer ilhas desconexas. */
.home-section > .site-shell {
    min-width: 0;
}

.document-list,
.people-grid,
.news-grid,
.quick-grid,
.stats-grid,
.component-cards,
.research-grid {
    min-width: 0;
}

/* Mobile/tablet -------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Todos os módulos viram uma única coluna. Isso sobrepõe qualquer
       width/flex deixado pelas regras de desktop e pelo Bootstrap. */
    .modular-layout {
        width: min(calc(100% - 32px), var(--shell));
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 0;
    }

    .modular-layout > .row {
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .modular-layout__column,
    .modular-layout__column--full,
    .modular-layout__column--two-thirds,
    .modular-layout__column--half,
    .modular-layout__column--third {
        position: static !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
    }

    .modular-layout__column--full > .home-section,
    .modular-layout__column--full > .hero {
        position: relative;
        left: 50%;
        width: 100vw;
        max-width: 100vw;
        margin-left: -50vw;
    }

    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: min(calc(100% - 32px), var(--shell));
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 0;
    }

    .hero__inner {
        min-height: 0;
        padding-block: clamp(2.5rem, 8vw, 4rem);
        justify-content: flex-start !important;
    }

    .hero-card,
    .hero--box-none .hero-card,
    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        width: 100%;
        max-width: 760px;
    }

    .hero-card h1,
    .hero--box-none .hero-card h1,
    .hero--box-light .hero-card h1,
    .hero--box-translucent .hero-card h1 {
        max-width: 100%;
    }

    .text-image {
        grid-template-columns: 1fr !important;
    }

    .callout {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-space: 3.25rem;
        --section-space-compact: 2.5rem;
    }

    .site-shell,
    .modular-layout {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: calc(100% - 28px);
    }

    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        padding: 1.5rem;
    }

    .hero-card h1 {
        font-size: clamp(2rem, 9.2vw, 2.6rem);
        line-height: 1.04;
    }

    .hero-card p {
        font-size: 1rem;
    }

    .quick-grid,
    .component-cards,
    .news-grid,
    .research-grid,
    .document-list,
    .people-grid {
        grid-template-columns: 1fr !important;
    }

    .stats-grid,
    .stats-grid--many {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: .65rem;
    }

    .callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .callout .btn-ppg {
        align-self: flex-start;
    }
}

@media (max-width: 420px) {
    .site-shell,
    .modular-layout,
    .modular-layout__column--full > .home-section > .site-shell,
    .modular-layout__column--full > .hero > .site-shell {
        width: calc(100% - 24px);
    }

    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        padding: 1.25rem;
    }

    .hero-card__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-card__actions .btn-ppg {
        width: 100%;
    }

    .stats-grid,
    .stats-grid--many {
        grid-template-columns: 1fr !important;
    }

    .stat-card,
    .stat-card:nth-child(2n),
    .stat-card:nth-child(3n),
    .stat-card:nth-child(5n) {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .stat-card:first-child {
        border-top: 0;
    }
}

/* ================================================================
   UFOP PPG 2.8 — refinamento tipográfico do hero + docentes compactos
   ================================================================ */

/* Hero: prioriza leitura horizontal. O título deve ocupar, em regra,
   no máximo duas linhas em desktops comuns. */
@media (min-width: 992px) {
    .hero-card,
    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        width: min(100%, 920px);
        max-width: 920px;
    }

    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        padding: clamp(2.35rem, 3vw, 2.85rem) clamp(2.5rem, 3.6vw, 3.4rem);
    }

    .hero-card h1,
    .hero--box-light .hero-card h1,
    .hero--box-translucent .hero-card h1 {
        max-width: 31ch;
        font-size: clamp(2.35rem, 2.65vw, 2.8rem);
        line-height: 1.04;
        letter-spacing: -.035em;
        text-wrap: balance;
    }

    .hero-card p {
        max-width: 68ch;
        font-size: 1.06rem;
        line-height: 1.62;
    }
}

/* Em notebooks menores ainda evitamos um título excessivamente alto. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-card,
    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        width: min(100%, 840px);
    }

    .hero-card h1,
    .hero--box-light .hero-card h1,
    .hero--box-translucent .hero-card h1 {
        font-size: clamp(2.25rem, 3.2vw, 2.65rem);
        max-width: 30ch;
    }
}

/* Docentes: card horizontal e compacto. A foto é apoio visual, não o
   elemento dominante da seção. */
.people-section .people-grid,
.people-grid--compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: stretch;
}

.people-section .person-card,
.person-card--compact {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: stretch;
    min-height: 146px;
    background: #fff;
    border: 1px solid rgba(20, 34, 53, .10);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 16px rgba(20, 34, 53, .035);
}

.people-section .person-card__photo-wrap,
.person-card--compact .person-card__photo-wrap {
    width: 116px;
    min-width: 116px;
    height: 100%;
    min-height: 146px;
    aspect-ratio: auto;
    border-radius: 0;
    background: #e9eef1;
    overflow: hidden;
}

.people-section .person-card__photo-wrap a,
.person-card--compact .person-card__photo-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.people-section .person-card__photo-wrap img,
.person-card--compact .person-card__photo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 146px;
    object-fit: cover;
    object-position: center top;
}

.people-section .person-card__photo-wrap--placeholder,
.person-card--compact .person-card__photo-wrap--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #edf1f3, #dfe6ea);
}

.people-section .person-card__photo-wrap--placeholder span,
.person-card--compact .person-card__photo-wrap--placeholder span {
    color: var(--ppg-primary);
    font-size: 1.7rem;
    font-weight: 700;
}

.people-section .person-card__body,
.person-card--compact .person-card__body {
    min-width: 0;
    padding: 1rem 1.1rem .95rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .7rem;
}

.person-card__identity {
    min-width: 0;
}

.people-section .person-card__body h3,
.person-card--compact .person-card__body h3 {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.people-section .person-card__role,
.person-card--compact .person-card__role {
    margin: .22rem 0 0;
    color: #596675;
    font-size: .88rem;
    line-height: 1.35;
}

.people-section .person-card__research,
.person-card--compact .person-card__research {
    display: grid;
    gap: .1rem;
    margin: 0;
    color: #52606e;
    font-size: .82rem;
    line-height: 1.4;
}

.person-card__meta-label {
    color: #7a8793;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.people-section .person-card__links,
.person-card--compact .person-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    margin-top: auto;
}

.people-section .person-card__links a,
.person-card--compact .person-card__links a {
    color: var(--ppg-primary);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.people-section .person-card__links a:hover,
.person-card--compact .person-card__links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Em telas muito largas, três cards compactos funcionam sem aumentar a foto. */
@media (min-width: 1280px) {
    .people-section .people-grid,
    .people-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .people-section .people-grid,
    .people-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .people-section .people-grid,
    .people-grid--compact {
        grid-template-columns: 1fr !important;
    }

    .people-section .person-card,
    .person-card--compact {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 124px;
    }

    .people-section .person-card__photo-wrap,
    .person-card--compact .person-card__photo-wrap {
        width: 96px;
        min-width: 96px;
        min-height: 124px;
    }

    .people-section .person-card__photo-wrap img,
    .person-card--compact .person-card__photo-wrap img {
        min-height: 124px;
    }

    .people-section .person-card__body,
    .person-card--compact .person-card__body {
        padding: .85rem .9rem;
        gap: .5rem;
    }
}

@media (max-width: 420px) {
    .hero-card h1,
    .hero--box-light .hero-card h1,
    .hero--box-translucent .hero-card h1,
    .hero--box-none .hero-card h1 {
        font-size: clamp(1.8rem, 8.4vw, 2.15rem);
        line-height: 1.06;
    }
}

/* ================================================================
   UFOP PPG 2.9 — perfil docente, diretório e refinamentos finais
   ================================================================ */

/* Hero: menos dominante. Em desktop o título ganha largura e perde altura. */
@media (min-width: 992px) {
    .hero-card,
    .hero--box-light .hero-card,
    .hero--box-translucent .hero-card {
        width: min(100%, 980px);
        max-width: 980px;
    }

    .hero-card h1,
    .hero--box-light .hero-card h1,
    .hero--box-translucent .hero-card h1,
    .hero--box-none .hero-card h1 {
        max-width: 36ch;
        font-size: clamp(2.05rem, 2.25vw, 2.45rem);
        line-height: 1.06;
        letter-spacing: -.03em;
    }
}

.person-card__identity h3 a,
.person-card__identity h2 a {
    color: inherit;
    text-decoration: none;
}

.person-card__identity h3 a:hover,
.person-card__identity h2 a:hover {
    color: var(--ppg-primary);
}

.person-card__initial-link {
    display: grid !important;
    place-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* A listagem dedicada usa a mesma linguagem visual do módulo compacto. */
.faculty-directory {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.faculty-directory__intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.faculty-directory__intro h1 {
    margin: .2rem 0 .5rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.faculty-directory__intro p {
    margin: 0;
    color: #5b6672;
}

.people-grid--directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-card--directory {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 168px;
}

.person-card--directory .person-card__photo-wrap {
    width: 132px;
    min-width: 132px;
    min-height: 168px;
}

.person-card--directory .person-card__photo-wrap img {
    min-height: 168px;
}

.person-card--directory .person-card__identity h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.25;
}

/* Perfil individual: pouca informação, forte hierarquia e sem abas. */
.faculty-profile {
    width: min(calc(100% - 32px), 1180px);
    margin-inline: auto;
    padding-block: clamp(2rem, 4vw, 4rem) clamp(3.5rem, 7vw, 6rem);
}

.faculty-profile__back {
    display: inline-flex;
    margin-bottom: 1.4rem;
    color: var(--ppg-primary);
    font-weight: 700;
    text-decoration: none;
}

.faculty-profile__back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faculty-profile__hero {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, #f7f9fa, #eef2f4);
    border: 1px solid rgba(20,34,53,.08);
    border-radius: 16px;
}

.faculty-profile__photo {
    width: 230px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: #e5eaed;
}

.faculty-profile__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.faculty-profile__photo--placeholder {
    display: grid;
    place-items: center;
    color: var(--ppg-primary);
    font-size: 3rem;
    font-weight: 800;
}

.faculty-profile__identity h1 {
    margin: .2rem 0 .35rem;
    max-width: 24ch;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    line-height: 1.03;
    letter-spacing: -.04em;
}

.faculty-profile__role {
    margin: 0;
    color: #566473;
    font-size: 1.08rem;
}

.faculty-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.5rem;
}

.btn-ppg--outline {
    background: #fff;
    color: var(--ppg-primary);
    border-color: var(--ppg-primary);
}

.faculty-profile__research {
    margin-top: 1.75rem;
}

.faculty-profile__research h2 {
    margin: 0 0 .65rem;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.faculty-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.faculty-profile__tags span {
    display: inline-flex;
    padding: .42rem .7rem;
    border-radius: 999px;
    background: rgba(150,32,56,.08);
    color: var(--ppg-primary);
    font-size: .86rem;
    font-weight: 650;
}

.faculty-profile__about {
    display: grid;
    grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.faculty-profile__about h2 {
    margin: 0;
    font-size: 1.55rem;
}

.faculty-profile__about .prose {
    max-width: 72ch;
}

@media (max-width: 991.98px) {
    .people-grid--directory {
        grid-template-columns: 1fr !important;
    }

    .faculty-profile__hero {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .faculty-profile__photo {
        width: 190px;
    }
}

@media (max-width: 680px) {
    .faculty-directory {
        padding-block: 2.25rem 3.25rem;
    }

    .person-card--directory {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 126px;
    }

    .person-card--directory .person-card__photo-wrap {
        width: 96px;
        min-width: 96px;
        min-height: 126px;
    }

    .person-card--directory .person-card__photo-wrap img {
        min-height: 126px;
    }

    .faculty-profile {
        width: calc(100% - 28px);
        padding-top: 1.5rem;
    }

    .faculty-profile__hero {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding: 1.25rem;
    }

    .faculty-profile__photo {
        width: min(180px, 55vw);
    }

    .faculty-profile__identity h1 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .faculty-profile__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .faculty-profile__actions .btn-ppg {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .faculty-profile__about {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* =========================================================
   v3.1 — Pessoas: diretório geral + perfil individual
   ========================================================= */
.people-directory,
.person-profile {
    width: min(calc(100% - 32px), 1320px);
    margin-inline: auto;
}

.people-directory {
    padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 7vw, 6rem);
}

.people-directory__intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.people-directory__intro h1 {
    margin: .2rem 0 .5rem;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.people-directory__intro p {
    margin: 0;
    color: #5d6875;
}

.people-directory__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    max-width: 610px;
}

.people-filter {
    appearance: none;
    border: 1px solid #d8dee3;
    background: #fff;
    color: #293849;
    border-radius: 999px;
    min-height: 42px;
    padding: .55rem .9rem;
    font: inherit;
    font-size: .88rem;
    font-weight: 650;
    cursor: pointer;
}

.people-filter:hover,
.people-filter:focus-visible,
.people-filter.is-active {
    border-color: var(--ppg-primary);
    color: var(--ppg-primary);
}

.people-filter.is-active {
    background: rgba(150,32,56,.07);
}

.people-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.people-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 148px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e5e9;
    border-radius: 12px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.people-card:hover {
    border-color: #cbd2d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(20,34,53,.06);
}

.people-card[hidden] {
    display: none !important;
}

.people-card__photo {
    display: grid;
    place-items: center;
    width: 112px;
    height: 100%;
    min-height: 148px;
    overflow: hidden;
    background: #e8edef;
    color: var(--ppg-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
}

.people-card__photo img {
    width: 100%;
    height: 100%;
    min-height: 148px;
    object-fit: cover;
    object-position: center top;
}

.people-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 1rem 1rem .9rem;
}

.people-card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.people-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.people-card h2 a:hover {
    color: var(--ppg-primary);
}

.people-card__type,
.people-card__position,
.people-card__areas {
    margin: .18rem 0 0;
}

.people-card__type {
    color: #566372;
    font-size: .88rem;
}

.people-card__position {
    color: #6a7480;
    font-size: .8rem;
}

.people-card__areas {
    margin-top: .7rem;
    color: #566372;
    font-size: .8rem;
    line-height: 1.4;
}

.people-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .75rem;
}

.people-card__links a {
    color: var(--ppg-primary);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.people-card__links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.person-profile {
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6rem);
}

.person-profile__back {
    display: inline-flex;
    margin-bottom: 1.6rem;
    color: var(--ppg-primary);
    font-weight: 700;
    text-decoration: none;
}

.person-profile__back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.person-profile__header {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--line);
}

.person-profile__photo {
    display: grid;
    place-items: center;
    width: 210px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: #e7ecef;
    color: var(--ppg-primary);
    font-size: 3rem;
    font-weight: 800;
}

.person-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.person-profile__identity h1 {
    margin: .25rem 0 .45rem;
    max-width: 20ch;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.person-profile__position {
    margin: 0;
    color: #556270;
    font-size: 1.05rem;
}

.person-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.5rem;
}

.person-profile__content {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, .75fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
}

.person-profile__main {
    min-width: 0;
}

.person-profile__section h2,
.person-profile__aside h2 {
    margin: 0 0 1rem;
    color: var(--text);
}

.person-profile__section h2 {
    font-size: 1.55rem;
}

.person-profile__section .prose {
    max-width: 72ch;
    color: #344354;
}

.person-profile__aside {
    align-self: start;
    padding-left: 1.6rem;
    border-left: 1px solid var(--line);
}

.person-profile__aside-section + .person-profile__aside-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.person-profile__aside h2 {
    font-size: .82rem;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.person-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.person-profile__tags span {
    display: inline-flex;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: rgba(150,32,56,.075);
    color: var(--ppg-primary);
    font-size: .83rem;
    font-weight: 650;
}

.person-profile__research-list,
.person-profile__links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.person-profile__research-list li,
.person-profile__links-list li {
    padding: .55rem 0;
    border-bottom: 1px solid #edf0f2;
    color: #445363;
    font-size: .9rem;
}

.person-profile__links-list a {
    color: var(--ppg-primary);
    text-decoration: none;
    font-weight: 650;
}

@media (max-width: 1180px) {
    .people-directory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .people-directory__intro {
        align-items: start;
        flex-direction: column;
    }

    .people-directory__filters {
        justify-content: flex-start;
    }

    .person-profile__content {
        grid-template-columns: 1fr;
    }

    .person-profile__aside {
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 680px) {
    .people-directory,
    .person-profile {
        width: calc(100% - 28px);
    }

    .people-directory__grid {
        grid-template-columns: 1fr;
    }

    .people-directory__filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .people-filter {
        width: 100%;
    }

    .people-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 126px;
    }

    .people-card__photo {
        width: 96px;
        min-height: 126px;
    }

    .people-card__photo img {
        min-height: 126px;
    }

    .person-profile__header {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .person-profile__photo {
        width: min(180px, 58vw);
    }

    .person-profile__identity h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .person-profile__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .person-profile__actions .btn-ppg {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* v3.2 — Agenda / Eventos Flex */
.events-directory,.event-profile{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:3rem 0 4.5rem}.events-directory__intro{margin-bottom:1.6rem}.events-directory__intro h1,.event-profile h1{margin:.25rem 0 .5rem;font-size:clamp(2.2rem,5vw,4rem);line-height:1.02}.events-toolbar{display:flex;flex-wrap:wrap;gap:.8rem 1rem;align-items:end;padding:1rem 0 1.4rem;border-bottom:1px solid var(--line)}.events-view-switch{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.events-view-button{border:0;background:#fff;padding:.7rem 1rem;font-weight:700}.events-view-button.is-active{background:var(--ppg-primary);color:#fff}.events-filter-label{display:grid;gap:.3rem;font-size:.78rem;font-weight:700;color:#52606d}.events-filter-label select{min-width:190px;padding:.65rem .75rem;border:1px solid var(--line);border-radius:9px;background:#fff}.events-list-full{display:grid}.event-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:1.3rem;padding:1.35rem 0;border-bottom:1px solid var(--line)}.event-date,.event-profile__date{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:start;min-height:88px;border-radius:12px;background:#f5f1f2;color:var(--ppg-primary)}.event-date strong,.event-profile__date strong{font-size:2rem;line-height:1}.event-date span,.event-profile__date span{font-weight:800;font-size:.78rem}.event-date small,.event-profile__date small{font-size:.7rem}.event-row__body h2{margin:.25rem 0 .35rem;font-size:1.25rem}.event-row__body h2 a{color:var(--text);text-decoration:none}.event-row__meta{display:flex;gap:.5rem;flex-wrap:wrap;color:var(--ppg-primary);font-size:.75rem;font-weight:750}.event-status--alert{color:#9b2c2c}.event-row__details{margin:.2rem 0;color:#5c6975;font-size:.9rem}.events-calendar-view{padding-top:1.5rem}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.calendar-header h2{text-transform:capitalize;margin:0}.calendar-header button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;padding:.5rem;font-size:.75rem;font-weight:800;color:#6a7580}.calendar-day{min-height:120px;border:1px solid var(--line);margin:-1px 0 0 -1px;padding:.45rem;overflow:hidden}.calendar-day--blank{background:#fafafa}.calendar-day__number{display:block;font-size:.78rem;font-weight:800;margin-bottom:.35rem}.calendar-event{display:block;margin:.25rem 0;padding:.3rem .4rem;border-radius:6px;background:rgba(150,32,56,.08);color:var(--ppg-primary);font-size:.72rem;line-height:1.25;text-decoration:none}.event-profile__header{display:grid;grid-template-columns:120px minmax(0,1fr);gap:2rem;align-items:start;margin:1.4rem 0 2.2rem}.event-profile__date{min-height:120px}.event-profile__facts{display:grid;gap:.4rem;margin:1rem 0;color:#4c5966}.event-profile__status{font-weight:800;color:#9b2c2c}.event-profile__image{margin:0 0 2rem}.event-profile__image img{width:100%;max-height:520px;object-fit:cover;border-radius:16px}.event-profile__lead{font-size:1.2rem;line-height:1.6;max-width:70ch}.event-profile__content{max-width:76ch}.event-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.event-card{padding:1.2rem;border:1px solid var(--line);border-radius:14px;background:#fff}.event-card h3{margin:.45rem 0}.event-card h3 a{color:var(--text);text-decoration:none}.event-card__date{font-size:.8rem;font-weight:750;color:#596774}.event-featured{padding:clamp(1.5rem,4vw,3rem);border-radius:18px;background:#f5f1f2}.event-featured h3{font-size:clamp(1.7rem,4vw,2.7rem);margin:.4rem 0}.event-banner{display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center;padding:1.1rem 1.25rem;border-radius:12px;background:var(--ppg-primary);color:#fff;text-decoration:none}.event-banner time{font-weight:800}.mini-calendar-list{display:grid;gap:.65rem}.mini-calendar-list a{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:.8rem;color:var(--text);text-decoration:none}.mini-calendar-list time{display:grid;text-align:center;padding:.45rem;border-radius:9px;background:#f5f1f2;color:var(--ppg-primary)}.mini-calendar-list time strong{font-size:1.4rem;line-height:1}.mini-calendar-list time span{font-size:.68rem;font-weight:800}
@media(max-width:800px){.events-directory,.event-profile{width:calc(100% - 28px)}.events-toolbar{align-items:stretch}.events-filter-label{flex:1 1 100%}.events-filter-label select{width:100%}.calendar-day{min-height:72px;padding:.25rem}.calendar-event{font-size:0;width:8px;height:8px;padding:0;border-radius:50%}.event-profile__header{grid-template-columns:82px minmax(0,1fr);gap:1rem}.event-profile__date{min-height:82px}.event-cards{grid-template-columns:1fr}.event-banner{grid-template-columns:1fr;gap:.25rem}.event-banner span{margin-top:.35rem}.event-row{grid-template-columns:68px minmax(0,1fr);gap:.85rem}.event-date{min-height:72px}.event-date strong{font-size:1.55rem}}

/* =========================================================
   v3.5 — refinamento visual e relações Pessoas/Pesquisa
   ========================================================= */
:root {
    --ppg-shell-v35: 1240px;
    --ppg-section-space-v35: clamp(4.5rem, 7vw, 6rem);
    --ppg-card-pad-v35: clamp(1.35rem, 2vw, 1.75rem);
    --ppg-radius-v35: 14px;
    --ppg-shadow-v35: 0 12px 30px rgba(20,34,53,.055);
}

.site-shell {
    width: min(calc(100% - 40px), var(--ppg-shell-v35));
}

.home-section {
    padding-block: var(--ppg-section-space-v35);
}

/* Pessoas — cards com foto maior, hierarquia mais limpa e 3 colunas. */
.people-section .people-grid,
.people-grid--compact,
.people-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.people-section .person-card,
.people-card {
    border-radius: var(--ppg-radius-v35);
    border-color: #dde3e7;
    box-shadow: none;
}

.people-section .person-card:hover,
.people-card:hover {
    border-color: #c7d0d6;
    box-shadow: var(--ppg-shadow-v35);
}

.people-section .person-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 164px;
}

.people-section .person-card__photo-wrap,
.people-section .person-card__photo-wrap a {
    width: 118px;
    min-height: 164px;
}

.people-section .person-card__photo-wrap img {
    width: 118px;
    height: 100%;
    min-height: 164px;
    object-fit: cover;
    object-position: center top;
}

.people-section .person-card__body {
    padding: 1.15rem 1.2rem 1rem;
}

.people-section .person-card__role span {
    color: #697681;
    font-size: .83rem;
}

.people-section .person-card__links,
.people-card__links {
    margin-top: .9rem;
}

.people-section .person-card__links a,
.people-card__links a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
}

.people-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 164px;
}

.people-card__photo,
.people-card__photo img {
    width: 118px;
    min-height: 164px;
}

.people-card__content {
    padding: 1.15rem 1.2rem 1rem;
}

/* Largura refinada para diretórios e páginas de pesquisa.
   O perfil individual de Pessoa mantém integralmente o layout da v3.4.2. */
.people-directory,
.research-directory,
.research-profile {
    width: min(calc(100% - 40px), var(--ppg-shell-v35));
}

/* Pesquisa — apresentação editorial, sem aparência de grade genérica. */
.research-editorial-list,
.research-directory__list {
    border-top: 1px solid var(--line);
}

.research-editorial-item,
.research-line-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.65rem 0;
    border-bottom: 1px solid var(--line);
}

.research-editorial-item__number,
.research-line-row__number {
    color: #9aa4ad;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.research-editorial-item h3,
.research-line-row h2 {
    margin: -.15rem 0 .45rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
}

.research-editorial-item h3 a,
.research-line-row h2 a {
    color: var(--text);
    text-decoration: none;
}

.research-editorial-item h3 a:hover,
.research-line-row h2 a:hover {
    color: var(--ppg-primary);
}

.research-editorial-item p,
.research-line-row p {
    max-width: 76ch;
    margin: 0;
    color: #5d6975;
    line-height: 1.6;
}

.research-editorial-item small {
    display: block;
    margin-top: .65rem;
    color: #7a858e;
    font-size: .78rem;
}

.research-editorial-item__link {
    align-self: center;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d9e0e5;
    border-radius: 50%;
    color: var(--ppg-primary);
    text-decoration: none;
    transition: .2s ease;
}

.research-editorial-item:hover .research-editorial-item__link {
    border-color: var(--ppg-primary);
    background: rgba(150,32,56,.055);
}

.research-directory,
.research-profile {
    margin-inline: auto;
    padding-block: clamp(2.5rem,5vw,4.5rem) clamp(4rem,7vw,6rem);
}

.ppg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .55rem;
    margin-bottom: 2.25rem;
    color: #77838d;
    font-size: .82rem;
}

.ppg-breadcrumb a {
    color: var(--ppg-primary);
    text-decoration: none;
}

.research-directory__intro,
.research-profile__header {
    max-width: 860px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.research-directory__intro h1,
.research-profile__header h1 {
    margin: .25rem 0 .75rem;
    font-size: clamp(2.25rem,5vw,4rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.research-directory__intro p {
    max-width: 70ch;
    margin: 0;
    color: #5d6975;
    font-size: 1.05rem;
    line-height: 1.65;
}

.research-line-row {
    grid-template-columns: 58px minmax(0, 1fr);
}

.research-line-row__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    margin-top: .9rem;
    color: #7a858e;
    font-size: .8rem;
}

.research-line-row__meta a {
    color: var(--ppg-primary);
    font-weight: 700;
    text-decoration: none;
}

.research-profile__description {
    max-width: 80ch;
    font-size: 1.04rem;
    line-height: 1.75;
}

.research-profile__people {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.research-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .8rem 1.2rem;
}

.research-person {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr);
    gap: .8rem;
    align-items: center;
    padding: .7rem 0;
    color: inherit;
    text-decoration: none;
}

.research-person__photo {
    display: grid;
    place-items: center;
    width: 58px;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
    background: #e8edef;
    color: var(--ppg-primary);
    font-weight: 800;
}

.research-person__photo img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.research-person strong { display:block; color:var(--text); font-size:.92rem; }
.research-person small { display:block; margin-top:.15rem; color:#6c7882; line-height:1.35; }
.research-person:hover strong { color:var(--ppg-primary); }

/* Indicadores — o número assume protagonismo. */
.stats-grid,
.stats-grid--many {
    gap: 1.15rem;
}

.stat-card {
    min-height: 175px;
    padding: 1.75rem;
    border-radius: var(--ppg-radius-v35);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.stat-card__value {
    margin-bottom: .85rem;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: .9;
    letter-spacing: -.055em;
}

.stat-card__label {
    font-size: 1rem;
}

/* Texto + imagem — relação 60/40 e imagem com presença mais controlada. */
.text-image {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
}

.text-image__media img {
    border-radius: var(--ppg-radius-v35);
    box-shadow: var(--ppg-shadow-v35);
}

/* Documentos e links — linhas mais editoriais e alvos de clique maiores. */
.link-list,
.document-list {
    gap: 0;
    border-top: 1px solid var(--line);
}

.link-list__item,
.document-item {
    min-height: 74px;
    padding: 1rem .25rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.link-list__item:hover,
.document-item:hover {
    border-color: var(--line);
    background: rgba(150,32,56,.035);
}

.document-item__meta {
    min-width: 48px;
    text-align: right;
    color: var(--ppg-primary);
}

/* FAQ — mais respiro e indicador de expansão. */
.faq-item summary {
    position: relative;
    padding: 1.35rem 3rem 1.35rem 0;
    list-style: none;
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: .25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ppg-primary);
    font-size: 1.45rem;
    font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--ppg-primary); }
.faq-item__answer { padding: 0 3rem 1.5rem 0; }

/* Agenda — data mais forte, cards consistentes e destaques com melhor hierarquia. */
.agenda-item {
    grid-template-columns: 98px minmax(0,1fr);
    gap: 1.35rem;
    padding: 1.35rem 0;
}

.agenda-item__date {
    min-height: 94px;
    padding: .9rem .5rem;
    border-radius: 12px;
    background: #f5f1f2;
}

.agenda-item__date strong {
    font-size: 2.25rem;
    letter-spacing: -.04em;
}

.event-cards { align-items: stretch; gap:1.15rem; }
.event-card {
    display:flex;
    flex-direction:column;
    min-height:220px;
    padding:1.5rem;
    border-radius:var(--ppg-radius-v35);
}
.event-card h3 { font-size:1.25rem; line-height:1.3; }
.event-card small { margin-top:auto; padding-top:1rem; }
.event-featured { padding:clamp(2rem,5vw,4rem); border-radius:20px; }
.event-featured h3 { max-width:24ch; font-size:clamp(2rem,4.5vw,3.4rem); }
.event-banner { min-height:82px; padding:1.25rem 1.5rem; border-radius:14px; }

/* Calendário compacto do módulo: grade mensal de verdade. */
.agenda-module--calendar .mini-calendar-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--ppg-radius-v35);
    background: var(--line);
}

.agenda-module--calendar .mini-calendar-list a {
    display: flex;
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding: .75rem;
    background: #fff;
}

.agenda-module--calendar .mini-calendar-list time {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    padding: 0;
    background: transparent;
}

.agenda-module--calendar .mini-calendar-list time strong { font-size:1.35rem; }
.agenda-module--calendar .mini-calendar-list time span { font-size:.68rem; }
.agenda-module--calendar .mini-calendar-list a > span { font-size:.78rem; line-height:1.35; }

@media (max-width: 1060px) {
    .people-section .people-grid,
    .people-grid--compact,
    .people-directory__grid,
    .research-people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .site-shell,
    .people-directory,
    .research-directory,
    .research-profile { width: calc(100% - 28px); }
    .home-section { padding-block: clamp(3.25rem, 10vw, 4.5rem); }
    .people-section .people-grid,
    .people-grid--compact,
    .people-directory__grid,
    .research-people-grid { grid-template-columns: 1fr; }
    .people-section .person-card,
    .people-card { grid-template-columns: 104px minmax(0,1fr); min-height:144px; }
    .people-section .person-card__photo-wrap,
    .people-section .person-card__photo-wrap a,
    .people-section .person-card__photo-wrap img,
    .people-card__photo,
    .people-card__photo img { width:104px; min-height:144px; }
    .research-editorial-item,
    .research-line-row { grid-template-columns:38px minmax(0,1fr); gap:.8rem; }
    .research-editorial-item__link { display:none; }
    .text-image { grid-template-columns:1fr; }
    .agenda-module--calendar .mini-calendar-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .agenda-module--calendar .mini-calendar-list a { min-height:88px; }
    .agenda-item { grid-template-columns:76px minmax(0,1fr); gap:.9rem; }
    .agenda-item__date { min-height:76px; }
    .agenda-item__date strong { font-size:1.8rem; }
}

/* v3.5 — calendário mensal compacto real */
.agenda-mini-calendar {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--ppg-radius-v35);
    background: #fff;
}
.agenda-mini-calendar__header {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    text-transform: capitalize;
}
.agenda-mini-calendar__weekdays,
.agenda-mini-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
}
.agenda-mini-calendar__weekdays span {
    padding: .55rem .35rem;
    border-bottom: 1px solid var(--line);
    color: #77838d;
    text-align: center;
    font-size: .7rem;
    font-weight: 800;
}
.agenda-mini-calendar__day {
    min-height: 94px;
    padding: .5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.agenda-mini-calendar__day:nth-child(7n) { border-right: 0; }
.agenda-mini-calendar__day--blank { background: #fafafa; }
.agenda-mini-calendar__number {
    display: block;
    margin-bottom: .35rem;
    color: #6d7984;
    font-size: .75rem;
    font-weight: 800;
}
.agenda-mini-calendar__day a {
    display: block;
    margin-top: .28rem;
    padding: .32rem .4rem;
    border-radius: 6px;
    background: rgba(150,32,56,.075);
    color: var(--ppg-primary);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}
.agenda-mini-calendar__day a:hover { background: rgba(150,32,56,.13); }
@media(max-width:760px){
    .agenda-mini-calendar__weekdays span { font-size:.62rem; }
    .agenda-mini-calendar__day { min-height:64px; padding:.3rem; }
    .agenda-mini-calendar__day a { width:7px; height:7px; padding:0; border-radius:50%; font-size:0; }
}

/* =========================================================
   v3.5.2 — ajuste fino de Pessoas e Agenda
   ========================================================= */

/* Pessoas: foto ganha mais presença e o enquadramento passa a ser central. */
.people-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 166px;
}

.people-card__photo,
.people-card__photo img {
    width: 132px;
    min-height: 166px;
}

.people-card__photo img {
    object-fit: cover;
    object-position: 50% 50%;
}

.people-section .person-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 166px;
}

.people-section .person-card__photo-wrap,
.people-section .person-card__photo-wrap a,
.people-section .person-card__photo-wrap img {
    width: 132px;
    min-height: 166px;
}

.people-section .person-card__photo-wrap img {
    object-fit: cover;
    object-position: 50% 50%;
}

/* Agenda: lista editorial leve, sem faixas cinzas pesadas. */
.agenda-module {
    container-type: inline-size;
}

.agenda-module--list .agenda-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.agenda-module--list .agenda-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
    padding: 1.25rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.agenda-module--list .agenda-item__date {
    display: flex;
    min-height: 0;
    padding: .05rem 1rem .05rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    border-right: 1px solid #e2e6e9;
    border-radius: 0;
    background: transparent;
    color: var(--ppg-primary);
}

.agenda-module--list .agenda-item__date strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.agenda-module--list .agenda-item__date span {
    display: block;
    margin-top: .32rem;
    color: #53616d;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .05em;
    text-align: center;
    text-transform: uppercase;
}

.agenda-module--list .agenda-item h3 {
    margin: 0 0 .45rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.agenda-module--list .agenda-item h3 a {
    color: var(--text);
    text-decoration: none;
}

.agenda-module--list .agenda-item h3 a:hover {
    color: var(--ppg-primary);
}

.agenda-module--list .agenda-item__type {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .45rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(150, 32, 56, .075);
    color: var(--ppg-primary);
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.agenda-module--list .agenda-item__location {
    position: relative;
    padding-left: 1.05rem;
    color: #65717b;
    font-size: .86rem;
}

.agenda-module--list .agenda-item__location::before {
    content: '⌖';
    position: absolute;
    left: 0;
    top: -.02rem;
    color: var(--ppg-primary);
    font-size: .85rem;
}

/* O componente responde à largura real da coluna onde foi inserido. */
@container (max-width: 520px) {
    .agenda-module--list .agenda-item {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: .85rem;
        padding: 1.05rem 0;
    }

    .agenda-module--list .agenda-item__date {
        padding-right: .7rem;
    }

    .agenda-module--list .agenda-item__date strong {
        font-size: 1.65rem;
    }

    .agenda-module--list .agenda-item h3 {
        font-size: .98rem;
    }
}

@container (max-width: 360px) {
    .agenda-module--list .agenda-item {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .agenda-module--list .agenda-item__date {
        display: flex;
        width: fit-content;
        padding: 0 0 .45rem;
        flex-direction: row;
        gap: .35rem;
        align-items: baseline;
        border-right: 0;
        border-bottom: 1px solid #e2e6e9;
    }

    .agenda-module--list .agenda-item__date strong {
        font-size: 1.5rem;
    }

    .agenda-module--list .agenda-item__date span {
        margin: 0;
        text-align: left;
    }
}

@media (max-width: 760px) {
    .people-card,
    .people-section .person-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 146px;
    }

    .people-card__photo,
    .people-card__photo img,
    .people-section .person-card__photo-wrap,
    .people-section .person-card__photo-wrap a,
    .people-section .person-card__photo-wrap img {
        width: 112px;
        min-height: 146px;
    }
}

/* =========================================================
   v3.6 — tipografia e componentes aprovados
   Agenda editorial + Pessoas com foto dominante
   ========================================================= */

/* Roboto como fonte principal. A pilha mantém fallback local seguro. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body,
button,
input,
select,
textarea {
    font-family: "Roboto", "Segoe UI", Arial, Helvetica, sans-serif;
}

body { font-weight: 400; }
.section-heading h2,
.text-image__content h2,
.brand-text__title { font-weight: 700; }
.main-nav .nav-link,
.section-heading__link { font-weight: 500; }

/* Pessoas — aplica somente às listagens/cards, nunca ao perfil individual. */
.people-card,
.people-section .person-card {
    display: grid;
    grid-template-columns: minmax(138px, 40%) minmax(0, 60%);
    min-height: 172px;
    align-items: stretch;
}

.people-card__photo,
.people-section .person-card__photo-wrap {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 172px;
    aspect-ratio: auto;
}

.people-card__photo img,
.people-section .person-card__photo-wrap a,
.people-section .person-card__photo-wrap img {
    width: 100%;
    height: 100%;
    min-height: 172px;
}

.people-card__photo img,
.people-section .person-card__photo-wrap img {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.people-section .person-card__body {
    min-width: 0;
    padding: 1.05rem 1.1rem 1rem;
}

/* Agenda — fundo branco/transparente, uma linha editorial por evento. */
.agenda-module--list,
.agenda-module--list .site-shell,
.agenda-module--list .agenda-list {
    background: transparent;
}

.agenda-module--list .agenda-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e1e5e8;
}

.agenda-module--list .agenda-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
    margin: 0;
    padding: 1.55rem 0;
    border: 0;
    border-bottom: 1px solid #e1e5e8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.agenda-module--list .agenda-item__date {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    min-height: 76px;
    padding: .05rem 1.2rem .05rem 0;
    border: 0;
    border-right: 1px solid #e1e5e8;
    border-radius: 0;
    background: transparent;
    color: var(--ppg-primary);
}

.agenda-module--list .agenda-item__date strong {
    font-size: 2.15rem;
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.035em;
}

.agenda-module--list .agenda-item__date .agenda-item__month {
    margin-top: .42rem;
    color: var(--ppg-primary);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .09em;
}

.agenda-module--list .agenda-item__date .agenda-item__year {
    margin-top: .25rem;
    color: #7a848d;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
}

.agenda-module--list .agenda-item__content { min-width: 0; }

.agenda-module--list .agenda-item h3 {
    margin: 0 0 .55rem;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.32;
}

.agenda-module--list .agenda-item h3 a {
    color: var(--ink);
    text-decoration: none;
}

.agenda-module--list .agenda-item h3 a:hover,
.agenda-module--list .agenda-item h3 a:focus-visible {
    color: var(--ppg-primary);
    text-decoration: underline;
    text-underline-offset: .16em;
}

.agenda-module--list .agenda-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .65rem;
    align-items: center;
    margin-bottom: .48rem;
}

.agenda-module--list .agenda-item__type {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: .25rem .58rem;
    border-radius: 999px;
    background: rgba(140, 29, 64, .08);
    color: var(--ppg-primary);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.agenda-module--list .agenda-item__time {
    color: #69747d;
    font-size: .82rem;
    font-weight: 500;
}

.agenda-module--list .agenda-item__location {
    position: relative;
    padding-left: 1.15rem;
    color: #68747e;
    font-size: .86rem;
    line-height: 1.45;
}

.agenda-module--list .agenda-item__location::before {
    content: '•';
    position: absolute;
    left: .18rem;
    color: var(--ppg-primary);
    font-size: 1.1rem;
    line-height: 1.05;
}

/* Responde ao tamanho real da coluna modular. */
@container (max-width: 560px) {
    .agenda-module--list .agenda-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 1rem;
        padding: 1.2rem 0;
    }
    .agenda-module--list .agenda-item__date { padding-right: .8rem; }
    .agenda-module--list .agenda-item__date strong { font-size: 1.75rem; }
    .agenda-module--list .agenda-item h3 { font-size: 1rem; }
}

@container (max-width: 380px) {
    .agenda-module--list .agenda-item {
        grid-template-columns: 1fr;
        gap: .7rem;
    }
    .agenda-module--list .agenda-item__date {
        display: flex;
        width: fit-content;
        min-height: 0;
        padding: 0 0 .55rem;
        gap: .35rem;
        align-items: baseline;
        border-right: 0;
        border-bottom: 1px solid #e1e5e8;
    }
    .agenda-module--list .agenda-item__date .agenda-item__month,
    .agenda-module--list .agenda-item__date .agenda-item__year { margin-top: 0; }
}

@media (max-width: 760px) {
    .people-card,
    .people-section .person-card {
        grid-template-columns: minmax(124px, 38%) minmax(0, 62%);
        min-height: 158px;
    }
    .people-card__photo,
    .people-card__photo img,
    .people-section .person-card__photo-wrap,
    .people-section .person-card__photo-wrap a,
    .people-section .person-card__photo-wrap img {
        width: 100%;
        min-height: 158px;
    }
}


/* =========================================================
   UFOP PPG v3.8 — Pessoas: hierarquia de informação
   ========================================================= */

/* Cards: conteúdo curto e hierarquizado. O filtro não é alterado. */
.people-card__areas { display: none !important; }

.people-card__type {
    margin-top: .28rem;
    color: var(--ppg-primary, #8c1d40);
    font-size: .84rem;
    font-weight: 500;
}

.people-card__position {
    margin-top: .18rem;
    color: #68737d;
    font-size: .8rem;
    line-height: 1.35;
}

.people-card__footer {
    margin-top: .75rem;
}

.people-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    margin-bottom: .42rem;
}

.people-card__contacts a,
.people-card__links a {
    color: var(--ppg-primary, #8c1d40);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.people-card__contacts a:hover,
.people-card__contacts a:focus-visible,
.people-card__links a:hover,
.people-card__links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.people-card__links {
    margin-top: 0;
}

/* Perfil: Linhas de pesquisa usam exatamente a mesma linguagem dos chips
   de Áreas de atuação. A diferença é apenas que as linhas são clicáveis. */
.person-profile__tags--links a {
    display: inline-flex;
    padding: .42rem .68rem;
    border: 0;
    border-radius: 999px;
    background: rgba(150,32,56,.075);
    color: var(--ppg-primary, #8c1d40);
    font-size: .83rem;
    font-weight: 650;
    line-height: normal;
    text-decoration: none;
}

.person-profile__tags--links a:hover,
.person-profile__tags--links a:focus-visible {
    background: rgba(150,32,56,.13);
    text-decoration: none;
}

