:root {
  --bg: #f3f0e8;
  --paper: #faf8f2;
  --ink: #16231d;
  --muted: #667069;
  --dark: #10231c;
  --accent: #d8c38b;
  --line: rgba(22, 35, 29, .16);

  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 240, 232, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: .9rem;
}

.nav a:hover {
  opacity: .55;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

.hero {
  max-width: var(--max);
  margin: auto;
  min-height: calc(100vh - 76px);
  padding: 100px 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: .85;
  margin: 0;
  letter-spacing: -.07em;
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 35px 0 25px;
}

.hero-text,
.lead {
  max-width: 760px;
  font-size: 1.2rem;
}

.hero-text {
  color: var(--muted);
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button {
  padding: 13px 20px;
  border: 1px solid var(--ink);
  display: inline-block;
  font-weight: 700;
  font-size: .9rem;
}

.primary {
  background: var(--ink);
  color: white;
}

.secondary {
  background: transparent;
}

.dark {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.outline-dark {
  border-color: var(--dark);
}

.institution-line {
  margin-top: 45px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-network {
  min-height: 480px;
  position: relative;
}

.network {
  position: absolute;
  inset: 0;
}

.node {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
}

.n1 { left: 8%; top: 23%; }
.n2 { left: 31%; top: 10%; }
.n3 { left: 43%; top: 43%; }
.n4 { left: 70%; top: 27%; }
.n5 { left: 83%; top: 61%; }
.n6 { left: 48%; top: 80%; }

.line {
  position: absolute;
  height: 1px;
  background: var(--ink);
  opacity: .45;
  transform-origin: left center;
}

.l1 {
  left: 10%;
  top: 25%;
  width: 25%;
  transform: rotate(-24deg);
}

.l2 {
  left: 32%;
  top: 13%;
  width: 34%;
  transform: rotate(62deg);
}

.l3 {
  left: 44%;
  top: 44%;
  width: 29%;
  transform: rotate(-26deg);
}

.l4 {
  left: 71%;
  top: 29%;
  width: 37%;
  transform: rotate(70deg);
}

.l5 {
  left: 49%;
  top: 45%;
  width: 37%;
  transform: rotate(82deg);
}

.path {
  position: absolute;
  width: 70%;
  height: 55%;
  left: 12%;
  top: 25%;
  border: 2px solid var(--accent);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(28deg);
}

.section {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 90px 1fr;
}

.section-number {
  font-size: .75rem;
  font-weight: 800;
  opacity: .45;
}

.section-content {
  max-width: 1000px;
}

.narrow {
  max-width: 800px;
}

.section h2,
.knowledge h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 40px;
}

.section-content > p:not(.eyebrow):not(.lead) {
  max-width: 760px;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark .lead {
  color: #d8dfdb;
}

.section-accent {
  background: var(--accent);
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  font-weight: 800;
  border-bottom: 1px solid;
}

.knowledge {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 15px;
  margin-top: 70px;
}

.step span,
.card span {
  font-size: .7rem;
  font-weight: 800;
  opacity: .5;
}

.step strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  letter-spacing: .04em;
}

.step p {
  font-size: .9rem;
  color: var(--muted);
}

.arrow {
  padding-top: 30px;
  opacity: .35;
}

.data-flow {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.data-flow span {
  opacity: .35;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  padding: 35px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  margin: 35px 0 15px;
}

.card p {
  color: var(--muted);
}

.featured-project {
  margin-top: 60px;
  padding: 45px;
  border: 1px solid rgba(16, 35, 28, .35);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
}

.featured-project h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  margin: 8px 0;
}

.project-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.project-tagline {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.event-list {
  margin-top: 60px;
}

.event {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 25px;
}

.event-year {
  font-size: .8rem;
  font-weight: 800;
}

.event h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.event p {
  margin: 4px 0 0;
  color: var(--muted);
}

.event a {
  font-weight: 800;
}

.institutional {
  background: #e6e2d7;
}

.institutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.institutions div {
  min-height: 180px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.institutions strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.institutions small {
  color: var(--muted);
}

.support-note {
  margin-top: 25px;
  font-size: .8rem;
}

footer {
  background: var(--dark);
  color: white;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2)) 35px;
}

footer p {
  color: #aeb9b3;
}

.footer-links {
  margin: 50px 0;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.copyright {
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .75rem;
}

@media (max-width: 800px) {

  .topbar {
    height: 66px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    grid-template-columns: 1fr;
  }

  .hero-network {
    min-height: 300px;
  }

  .section {
    padding-top: 85px;
    padding-bottom: 85px;
    grid-template-columns: 1fr;
  }

  .section-number {
    margin-bottom: 30px;
  }

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

  .arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .data-flow {
    flex-direction: column;
    gap: 10px;
  }

  .data-flow span {
    transform: rotate(90deg);
    width: 15px;
  }

  .cards,
  .institutions {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .event {
    grid-template-columns: 60px 1fr;
  }

  .event a {
    grid-column: 2;
  }

}

/* ===== PAISUME V03 START ===== */

.institutional-v03 {
  background: #e6e2d7;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
}

.institutional-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.institutional-intro {
  max-width: 820px;
}

.institutional-v03 h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 35px;
}

.institutional-organizations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 65px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.organization-card {
  min-height: 220px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.organization-card span {
  display: block;
  margin-bottom: 45px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.organization-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 15px;
}

.organization-card p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
}

.coordination-v03 {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 55px;
  margin-top: 85px;
  padding-top: 45px;
  border-top: 1px solid var(--line);
}

.coordination-content h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 400;
}

.coordination-content > p {
  max-width: 700px;
}

.coordination-areas {
  margin-top: 24px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.coordination-links {
  display: flex;
  gap: 25px;
  margin-top: 30px;
}

.coordination-links a {
  font-size: .85rem;
  font-weight: 800;
  border-bottom: 1px solid;
}

.support-note-v03 {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 800px) {

  .institutional-v03 {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .institutional-organizations {
    grid-template-columns: 1fr;
  }

  .coordination-v03 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

}

/* ===== PAISUME V03 END ===== */

/* ===== PAISUME ECOSYSTEM V031 START ===== */

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ecosystem-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background .2s ease,
    transform .2s ease;
}

a.ecosystem-card:hover {
  background: rgba(16, 35, 28, .045);
}

.ecosystem-card > span {
  display: block;
  min-height: 38px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
}

.ecosystem-card h3 {
  margin: 35px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.ecosystem-card p {
  margin: 0;
  max-width: 290px;
  color: var(--muted);
}

.ecosystem-card strong {
  display: inline-block;
  margin-top: auto;
  padding-top: 35px;
  font-size: .82rem;
}

@media (max-width: 800px) {

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

  .ecosystem-card {
    min-height: auto;
  }

  .ecosystem-card strong {
    margin-top: 30px;
    padding-top: 0;
  }

}

/* ===== PAISUME ECOSYSTEM V031 END ===== */

/* ===== PAISUME LOGOS V032 START ===== */

.institutional-logos {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-top: 70px;
  padding: 45px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.institutional-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.institution-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.uesc-logo img {
  width: 390px;
  max-height: 140px;
}

.support-logos {
  display: flex;
  align-items: center;
  gap: 55px;
  flex-wrap: wrap;
}

.support-logos img {
  max-width: 190px;
  max-height: 100px;
}

@media (max-width: 800px) {

  .institutional-logos {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .uesc-logo img {
    width: 300px;
  }

  .support-logos {
    gap: 35px;
  }

}

/* ===== PAISUME LOGOS V032 END ===== */

/* ===== PAISUME LOGO BALANCE V033 START ===== */

.uesc-logo img {
  width: 340px;
  max-height: 125px;
}

.support-logos {
  align-items: center;
  gap: 48px;
}

.support-logos img {
  width: auto;
  max-width: 185px;
  max-height: 92px;
}

.support-logos a:last-child img {
  max-width: 175px;
  max-height: 82px;
}

/* ===== PAISUME LOGO BALANCE V033 END ===== */

/* ===== PAISUME V034 START ===== */

/* Ajuste fino da faixa institucional */

.institutional-logos {
  margin-top: 55px;
  padding: 38px 0;
}

.support-logos a:first-child img {
  max-width: 205px;
  max-height: 102px;
}

.support-logos a:last-child img {
  max-width: 175px;
  max-height: 82px;
}


/* Coordenação científica */

.coordination-v03 {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 70px;

  margin-top: 70px;
  padding-top: 55px;

  border-top: 1px solid var(--line);
}

.coordination-label span {
  display: block;

  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.5;
}

.coordination-content h3 {
  margin: 0 0 14px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.coordination-role {
  margin: 0 0 8px;

  font-size: 1rem;
  font-weight: 600;
}

.coordination-department {
  margin: 0 0 5px;
  color: var(--muted);
}

.coordination-program {
  margin: 0;

  max-width: 620px;

  color: var(--muted);
  line-height: 1.65;
}

.coordination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;

  margin-top: 30px;
}

.coordination-links a {
  padding-bottom: 4px;

  border-bottom: 1px solid currentColor;

  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;

  text-decoration: none;
}

.coordination-links a:hover {
  opacity: .6;
}


@media (max-width: 800px) {

  .coordination-v03 {
    grid-template-columns: 1fr;
    gap: 25px;

    margin-top: 50px;
    padding-top: 40px;
  }

  .coordination-content h3 {
    font-size: 2rem;
  }

  .coordination-links {
    gap: 20px;
  }

}

/* ===== PAISUME V034 END ===== */


/* ===== PAISUME V035 START ===== */

/* Nome ligeiramente menor */
.coordination-content h3 {
  font-size: clamp(1.75rem, 2.35vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

/* Bolsa de produtividade em plano secundário */
.coordination-fellowship {
  max-width: 650px;
  margin: 20px 0 0;

  font-size: .88rem;
  line-height: 1.55;
  font-weight: 600;

  color: var(--muted);
}

.coordination-links {
  margin-top: 26px;
}

/* ===== PAISUME V035 END ===== */


/* ===== PAISUME SUME V040 START ===== */

.editorial-page {
  background: var(--paper);
}

.editorial-hero {
  min-height: 82vh;
  padding:
    110px
    max(24px, calc((100vw - var(--max)) / 2))
    90px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--bg);
}

.editorial-kicker {
  margin-bottom: 30px;

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.editorial-hero h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.07em;
}

.editorial-subtitle {
  max-width: 820px;

  margin: 45px 0 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}

.editorial-intro {
  max-width: 760px;

  color: var(--muted);

  font-size: 1.15rem;
  line-height: 1.75;
}

.editorial-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 65px;
  padding-top: 25px;

  border-top: 1px solid var(--line);

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.editorial-path i {
  opacity: .35;
  font-style: normal;
}

.editorial-section {
  padding:
    120px
    max(24px, calc((100vw - var(--max)) / 2));

  display: grid;
  grid-template-columns: 90px minmax(0, 820px);
}

.editorial-number {
  padding-top: 5px;

  opacity: .4;

  font-size: .72rem;
  font-weight: 800;
}

.editorial-content h2,
.references-inner h2 {
  margin: 0 0 40px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.editorial-content p {
  max-width: 760px;

  font-size: 1.02rem;
  line-height: 1.8;
}

.editorial-lead {
  margin-bottom: 32px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem !important;
  line-height: 1.5 !important;
}

.editorial-soft {
  background: var(--bg);
}

.editorial-dark {
  background: var(--dark);
  color: white;
}

.editorial-dark p {
  color: #d4ddd8;
}

.editorial-dark .eyebrow,
.editorial-dark .editorial-number {
  color: white;
}

.concept-quote {
  margin: 55px 0 0;
  padding: 28px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.concept-quote p {
  margin: 0;

  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.historical-warning {
  max-width: 720px;

  margin-top: 50px;
  padding: 30px 34px;

  border-left: 4px solid var(--accent);

  background: var(--bg);
}

.historical-warning strong {
  display: block;

  margin-bottom: 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.historical-warning p {
  margin: 0;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  margin-top: 55px;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.evidence-card {
  min-height: 230px;
  padding: 30px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-card span {
  display: block;

  margin-bottom: 30px;

  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.evidence-card p {
  margin: 0;

  color: var(--muted);

  font-size: .95rem;
}

.paisume-meaning {
  background: var(--accent);
}

.modern-translation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  max-width: 760px;

  margin: 55px 0;

  border-top: 1px solid rgba(16,35,28,.3);
  border-left: 1px solid rgba(16,35,28,.3);
}

.modern-translation div {
  padding: 28px;

  border-right: 1px solid rgba(16,35,28,.3);
  border-bottom: 1px solid rgba(16,35,28,.3);
}

.modern-translation span {
  display: block;

  margin-bottom: 12px;

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.modern-translation p {
  margin: 0;

  font-size: .92rem;
}

.final-statement {
  margin: 45px 0 !important;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem !important;
  line-height: 1.45 !important;
}

.references-section {
  padding:
    110px
    max(24px, calc((100vw - var(--max)) / 2));

  background: #e6e2d7;
}

.references-inner {
  max-width: 900px;
}

.references-list {
  margin-top: 45px;
  padding-top: 15px;

  border-top: 1px solid var(--line);
}

.references-list p {
  padding: 18px 0;
  margin: 0;

  border-bottom: 1px solid var(--line);

  font-size: .93rem;
  line-height: 1.6;
}

.references-note {
  margin-top: 30px;

  color: var(--muted);

  font-size: .8rem;
}

.nav a[aria-current="page"] {
  font-weight: 800;
}

@media (max-width: 800px) {

  .editorial-hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .editorial-hero h1 {
    font-size: clamp(5rem, 27vw, 8rem);
  }

  .editorial-section {
    padding-top: 85px;
    padding-bottom: 85px;

    grid-template-columns: 1fr;
  }

  .editorial-number {
    margin-bottom: 30px;
  }

  .evidence-grid,
  .modern-translation {
    grid-template-columns: 1fr;
  }

  .editorial-path {
    gap: 10px;
  }

}

/* ===== PAISUME SUME V040 END ===== */


/* ===== PAISUME SUME V041 START ===== */

/* Chamadas bibliográficas discretas */

.source-note {
  margin-left: 2px;

  font-family: Arial, sans-serif;
  font-size: .62em;
  font-weight: 800;
  line-height: 0;

  vertical-align: super;
}

.source-note a {
  color: inherit;
  text-decoration: none;

  border-bottom: 1px solid currentColor;
}

.source-note a:hover {
  opacity: .55;
}


/* Referências */

.reference-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;

  padding: 22px 0;

  border-bottom: 1px solid var(--line);
}

.reference-number {
  padding-top: 2px;

  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;

  opacity: .5;
}

.references-list .reference-item p {
  padding: 0;
  margin: 0;

  border: 0;

  font-size: .92rem;
  line-height: 1.7;
}

.reference-link {
  display: inline-block;

  margin-left: 8px;

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;

  color: inherit;
  text-decoration: none;

  border-bottom: 1px solid currentColor;
}

.reference-link:hover {
  opacity: .55;
}


/* Compacta o fechamento da página */

.references-section {
  padding-top: 90px;
  padding-bottom: 75px;
}

.references-note {
  max-width: 760px;

  margin-top: 28px;
  margin-bottom: 0;

  line-height: 1.65;
}


/* Destaque ao navegar para uma referência */

.reference-item:target {
  padding-left: 14px;

  border-left: 3px solid var(--accent);
}


/* ===== PAISUME SUME V041 END ===== */


/* ===== PAISUME CIENCIA V050 START ===== */

.event-featured-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;

  margin-top: 60px;

  border: 1px solid var(--line);
}

.event-featured-media {
  min-height: 390px;
}

.event-placeholder {
  width: 100%;
  height: 100%;
  min-height: 390px;

  padding: 38px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background:
    linear-gradient(
      145deg,
      rgba(16,35,28,.96),
      rgba(16,35,28,.78)
    );

  color: white;
}

.event-placeholder-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.event-placeholder strong {
  max-width: 480px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.event-placeholder > span:last-child {
  font-size: .8rem;
  font-weight: 700;
}

.event-featured-content {
  padding: 42px;
}

.event-featured-label {
  margin: 0 0 12px;

  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.event-featured-date {
  margin: 0 0 12px;

  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.event-featured-content h3,
.science-event-copy h3 {
  margin: 0 0 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.event-featured-location {
  margin: 0 0 24px;

  color: var(--muted);

  font-weight: 700;
}

.event-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}

.section-more-link {
  display: inline-block;

  margin-top: 35px;

  font-size: .82rem;
  font-weight: 800;

  border-bottom: 1px solid;
}


/* Página Ciência & Sociedade */

.science-page {
  background: var(--paper);
}

.science-hero {
  padding:
    120px
    max(24px, calc((100vw - var(--max)) / 2))
    100px;

  background: var(--bg);
}

.science-hero h1 {
  max-width: 900px;

  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 400;
  line-height: .95;
}

.science-hero-lead {
  max-width: 760px;

  margin-top: 35px;

  color: var(--muted);

  font-size: 1.2rem;
  line-height: 1.7;
}

.science-section {
  padding:
    110px
    max(24px, calc((100vw - var(--max)) / 2));
}

.science-soft {
  background: var(--bg);
}

.science-section-header {
  max-width: 820px;
}

.science-section-header h2 {
  margin: 0 0 25px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.science-section-header > p:not(.eyebrow) {
  color: var(--muted);
}

.science-event-large {
  display: grid;
  grid-template-columns: 1fr 1fr;

  margin-top: 60px;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.science-event-media,
.science-event-copy {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.science-event-copy {
  padding: 45px;
}

.event-placeholder-large {
  min-height: 520px;
}

.science-empty-state {
  max-width: 700px;

  margin-top: 55px;
  padding: 36px;

  border: 1px solid var(--line);
}

.science-empty-state span,
.science-news-placeholder span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.science-empty-state p {
  margin: 20px 0 0;

  color: var(--muted);
}

.science-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 55px;
}

.science-news-placeholder {
  min-height: 250px;

  padding: 32px;

  border: 1px solid var(--line);
}

.science-news-placeholder h3 {
  margin-top: 35px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.science-news-placeholder p {
  color: var(--muted);
}

.science-archive {
  background: #e6e2d7;
}

@media (max-width: 800px) {

  .event-featured-card,
  .science-event-large {
    grid-template-columns: 1fr;
  }

  .event-featured-media,
  .event-placeholder,
  .event-placeholder-large {
    min-height: 310px;
  }

  .event-featured-content,
  .science-event-copy {
    padding: 30px;
  }

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

}

/* ===== PAISUME CIENCIA V050 END ===== */


/* ===== PAISUME CIENCIA V051 START ===== */

/*
 * A imagem do evento agora é uma miniatura real.
 * O conteúdo textual passa a ter prioridade visual.
 */

.event-featured-card {
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  align-items: start;
}

.event-featured-media {
  min-height: 0;
  padding: 28px;
}

.event-thumbnail-link {
  display: block;
  width: 100%;

  overflow: hidden;

  border: 1px solid var(--line);

  background: var(--bg);
}

.event-thumbnail {
  display: block;

  width: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;
  object-position: top center;

  transition: transform .25s ease;
}

.event-thumbnail-link:hover .event-thumbnail {
  transform: scale(1.015);
}


/* Página Ciência & Sociedade */

.science-event-large {
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  align-items: start;
}

.science-event-media {
  min-height: 0;
  padding: 28px;
}

.science-event-copy h3 {
  max-width: 760px;

  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  line-height: 1.04;
}


/*
 * A captura é apenas uma prévia.
 * Não deve determinar a altura do card.
 */

.science-event-media,
.event-featured-media {
  align-self: start;
}


/* Mobile */

@media (max-width: 800px) {

  .event-featured-card,
  .science-event-large {
    grid-template-columns: 1fr;
  }

  .event-featured-media,
  .science-event-media {
    padding: 20px;
  }

  .event-thumbnail {
    aspect-ratio: 16 / 9;
  }

}

/* ===== PAISUME CIENCIA V051 END ===== */


/* ===== PAISUME CIENCIA V052 START ===== */

.science-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.science-list-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.16);
  overflow: hidden;
}

.science-list-thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.science-list-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform .25s ease;
}

.science-list-thumb:hover img {
  transform: scale(1.015);
}

.science-list-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.science-list-label {
  margin: 0 0 16px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  opacity: .65;
}

.science-list-date {
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.science-list-copy h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.04;
}

.science-list-location {
  margin: 0 0 18px;
  font-size: .84rem;
  font-weight: 600;
  opacity: .7;
}

.science-list-copy > p:not(
  .science-list-label
):not(
  .science-list-date
):not(
  .science-list-location
) {
  margin: 0;
  line-height: 1.65;
}

.science-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: auto;
  padding-top: 26px;
}

.science-list-actions a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}


/*
 * Na página Ciência & Sociedade há mais largura disponível.
 * Mantemos os dois eventos lado a lado em desktop.
 */

.science-section .science-events-grid {
  margin-top: 0;
}


/* Tablet/mobile */

@media (max-width: 900px) {

  .science-events-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .science-list-copy {
    padding: 22px;
  }

  .science-list-copy h3 {
    font-size: 1.7rem;
  }

}

/* ===== PAISUME CIENCIA V052 END ===== */


/* ===== PAISUME DASHBOARD V060 START ===== */


/* HOME */

.dashboard-home-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;

  margin-top: 55px;

  border: 1px solid rgba(255,255,255,.22);
}

.dashboard-home-copy {
  padding: 46px;
}

.dashboard-home-label {
  margin: 0 0 16px;

  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.dashboard-home-copy h3 {
  margin: 0 0 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
}

.dashboard-home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin: 42px 0;

  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}

.dashboard-home-stats div {
  padding: 22px;

  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.dashboard-home-stats strong {
  display: block;

  margin-bottom: 5px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.dashboard-home-stats span {
  font-size: .72rem;
  opacity: .7;
}

.dashboard-home-visual {
  min-height: 430px;

  display: flex;
  align-items: end;

  padding: 48px;

  background: rgba(255,255,255,.045);
}

.mini-chart {
  width: 100%;
  height: 260px;

  display: flex;
  align-items: end;
  gap: 14px;
}

.mini-chart span {
  flex: 1;

  background: var(--accent);
}


/* DASHBOARD */

.dashboard-page {
  background: var(--paper);
}

.dashboard-hero {
  min-height: 66vh;

  padding:
    120px
    max(24px, calc((100vw - var(--max)) / 2))
    90px;

  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: end;

  background: var(--bg);
}

.dashboard-hero h1 {
  max-width: 900px;

  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: .92;
}

.dashboard-hero-lead {
  max-width: 720px;

  margin-top: 32px;

  color: var(--muted);

  font-size: 1.2rem;
  line-height: 1.7;
}

.dashboard-meta {
  padding: 28px;

  border: 1px solid var(--line);
}

.dashboard-meta span {
  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.dashboard-meta p {
  margin-bottom: 0;

  color: var(--muted);
  font-size: .8rem;
}


.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dashboard-kpis article {
  min-height: 190px;

  padding: 28px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-kpis span {
  display: block;

  margin-bottom: 22px;

  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.dashboard-kpis strong {
  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  font-weight: 400;
}

.dashboard-kpis p {
  margin: 10px 0 0;

  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}


.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;

  padding:
    1px
    max(24px, calc((100vw - var(--max)) / 2));

  background: var(--line);
}

.dashboard-panel {
  min-width: 0;

  padding: 36px;

  background: var(--paper);
}

.dashboard-wide {
  grid-column: 1 / -1;
}

.dashboard-panel-head h2 {
  max-width: 800px;

  margin: 0 0 32px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.chart-box {
  min-height: 320px;
}

.chart-box svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-box-tall {
  min-height: 500px;
}

.chart-grid-line {
  stroke: rgba(16,35,28,.13);
  stroke-width: 1;
}

.chart-axis-label {
  fill: rgba(16,35,28,.62);

  font-family: Arial, sans-serif;
  font-size: 12px;
}

.chart-line {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-0 {
  stroke: #173e31;
}

.chart-line-1 {
  stroke: #b28b2e;
}

.chart-dot-0 {
  fill: #173e31;
}

.chart-dot-1 {
  fill: #b28b2e;
}

.chart-bar {
  fill: #173e31;
}

.chart-bar-value {
  fill: white;

  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-method {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;

  padding:
    110px
    max(24px, calc((100vw - var(--max)) / 2));

  background: var(--bg);
}

.dashboard-method h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.dashboard-method p {
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-source {
  padding:
    34px
    max(24px, calc((100vw - var(--max)) / 2));

  display: flex;
  justify-content: space-between;
  gap: 30px;

  border-top: 1px solid var(--line);

  font-size: .72rem;
  color: var(--muted);
}

.dashboard-error {
  padding: 30px;

  border: 1px solid var(--line);
}


@media (max-width: 1100px) {

  .dashboard-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 800px) {

  .dashboard-home-card,
  .dashboard-hero,
  .dashboard-method {
    grid-template-columns: 1fr;
  }

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

  .dashboard-home-visual {
    min-height: 270px;
  }

  .dashboard-meta {
    max-width: 260px;
  }

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

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

  .dashboard-wide {
    grid-column: auto;
  }

  .dashboard-source {
    flex-direction: column;
  }

}

@media (max-width: 520px) {

  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    padding: 24px;
  }

}

/* ===== PAISUME DASHBOARD V060 END ===== */


/* ===== PAISUME DASHBOARD V061 START ===== */

.dashboard-panel {
  overflow: hidden;
}

.dashboard-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.chart-period {
  margin: -20px 0 30px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

.chart-legend {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 7px;
  color: var(--muted);
  font-size: .72rem;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.legend-primary {
  background: #173e31;
}

.legend-secondary {
  background: #b28b2e;
}

.chart-box {
  width: 100%;
  overflow: hidden;
}

.chart-box svg {
  width: 100%;
  max-width: 100%;
}

.chart-end-value {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.chart-end-value-0 {
  fill: #173e31;
}

.chart-end-value-1 {
  fill: #9a7622;
}

.chart-bar-value-out {
  fill: #173e31;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.chart-bar-label {
  font-size: 11px;
}

.chart-dept-label {
  font-size: 11px;
  font-weight: 700;
}

.dashboard-data-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}


/* ---------- IMPRESSÃO / PDF ---------- */

@media print {

  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  html,
  body {
    background: #fff !important;
  }

  .topbar,
  .menu-button {
    display: none !important;
  }

  .dashboard-page {
    background: #fff !important;
  }

  .dashboard-hero {
    min-height: 0;
    padding: 12mm;

    grid-template-columns: 1fr 170px;
    gap: 12mm;

    break-inside: avoid;
    page-break-inside: avoid;
  }

  .dashboard-hero h1 {
    font-size: 44pt;
  }

  .dashboard-hero-lead {
    margin-top: 12px;
    font-size: 10.5pt;
  }

  .dashboard-meta {
    padding: 14px;
  }

  .dashboard-meta span {
    font-size: 25pt;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(6, 1fr);

    break-inside: avoid;
    page-break-inside: avoid;
  }

  .dashboard-kpis article {
    min-height: 0;
    padding: 12px;
  }

  .dashboard-kpis strong {
    font-size: 22pt;
  }

  .dashboard-kpis p {
    font-size: 7.5pt;
  }

  .dashboard-grid {
    display: block;
    padding: 0;
    background: #fff;
  }

  .dashboard-panel {
    padding: 8mm 10mm;
    margin: 0 0 6mm;

    border: 1px solid #d7d8d3;

    overflow: visible;

    break-inside: avoid;
    page-break-inside: avoid;
  }

  .dashboard-panel-head h2 {
    margin-bottom: 18px;
    font-size: 21pt;
  }

  .chart-period {
    margin-top: -10px;
    margin-bottom: 15px;
  }

  .chart-box,
  .chart-box-tall {
    min-height: 0;
  }

  .chart-box svg {
    display: block;
    width: 100%;
    max-height: 125mm;
  }

  .dashboard-method {
    padding: 12mm;

    break-inside: avoid;
    page-break-inside: avoid;
  }

  .dashboard-method h2 {
    font-size: 28pt;
  }

  .dashboard-source {
    padding: 7mm 10mm;

    break-inside: avoid;
    page-break-inside: avoid;
  }

  footer {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .dashboard-hero,
  .dashboard-kpis,
  .dashboard-panel,
  .dashboard-method,
  footer {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

  .dashboard-panel-head {
    display: block;
  }

  .chart-legend {
    margin: -12px 0 25px;
  }

}

/* ===== PAISUME DASHBOARD V061 END ===== */



/* ===== PAISUME HERO SUME V062 START ===== */
.hero-visual {
  position: relative;
  min-height: 500px;
  border-radius: 2px;
  overflow: hidden;
  background: #d9d4c6;
  box-shadow: 0 18px 50px rgba(18, 28, 23, .12);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(243, 241, 233, .26) 0%,
    rgba(243, 241, 233, .06) 28%,
    rgba(0, 0, 0, 0) 55%
  );
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-visual img {
    min-height: 380px;
  }
}

@media (max-width: 600px) {
  .hero-visual {
    min-height: 300px;
  }

  .hero-visual img {
    min-height: 300px;
  }
}
/* ===== PAISUME HERO SUME V062 END ===== */

/* ===== PAISUME HERO SUME V063 START ===== */

/* Hero editorial integrado: texto + imagem sem card */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  min-height: 720px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding:
    64px
    40px
    70px
    max(48px, calc((100vw - var(--max)) / 2));
  align-self: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 720px;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center center;
}

/*
  Fusão creme -> imagem.
  A camada invade a parte esquerda da foto para eliminar
  a sensação de "quadro separado".
*/
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(243, 241, 233, 1) 0%,
      rgba(243, 241, 233, .93) 7%,
      rgba(243, 241, 233, .68) 18%,
      rgba(243, 241, 233, .25) 31%,
      rgba(243, 241, 233, .04) 43%,
      rgba(243, 241, 233, 0) 55%
    );
}

/*
  Pequena sobreposição da imagem sob a coluna textual.
  É isso que cria o efeito editorial da referência.
*/
.hero-visual {
  margin-left: -10%;
  width: 110%;
}

/* evita que a linha institucional fique perdida */
.hero .institution-line {
  position: relative;
  z-index: 4;
}

/* Tablet */
@media (max-width: 1100px) {

  .hero {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    min-height: 650px;
  }

  .hero-content {
    padding-left: 40px;
    padding-right: 20px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 650px;
  }

  .hero-visual {
    margin-left: -7%;
    width: 107%;
  }
}

/* Mobile */
@media (max-width: 900px) {

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .hero-content {
    padding:
      72px
      24px
      42px;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    margin-left: 0;
    min-height: 420px;
  }

  .hero-visual img {
    min-height: 420px;
    height: 420px;
    object-position: center center;
  }

  .hero-visual::after {
    background:
      linear-gradient(
        180deg,
        rgba(243, 241, 233, .35) 0%,
        rgba(243, 241, 233, 0) 24%
      );
  }
}

@media (max-width: 600px) {

  .hero-content {
    padding:
      56px
      20px
      34px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 330px;
    height: 330px;
  }
}

/* ===== PAISUME HERO SUME V063 END ===== */

/* ===== PAISUME HERO AI CREDIT V064 START ===== */

.hero-image-credit {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 5;

  padding: 5px 8px;

  font-size: .62rem;
  line-height: 1.2;
  letter-spacing: .02em;

  color: rgba(255, 255, 255, .88);
  background: rgba(15, 25, 20, .38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media (max-width: 600px) {
  .hero-image-credit {
    right: 10px;
    bottom: 9px;
    font-size: .56rem;
  }
}

/* ===== PAISUME HERO AI CREDIT V064 END ===== */


/* Vitrine ENMC/ECTM 2026: vermelho da identidade oficial, escopo isolado. */
.enmc-results,
.enmc-project-result {
  --enmc-red: #9d142d;
  --enmc-deep: #761027;
  --enmc-ink: #292529;
  --enmc-neutral: #665d61;
}

.enmc-results {
  margin-top: 48px;
  scroll-margin-top: 100px;
  background: #fff;
  color: var(--enmc-ink);
  border: 1px solid #e5d9dc;
}

.enmc-results-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--enmc-red);
  color: #fff;
}

.enmc-kicker {
  margin: 0 0 14px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.enmc-event-date {
  margin: 0 0 20px;
  font-size: .82rem;
}

.enmc-results-intro h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

.enmc-results-lead { font-size: 1.05rem; }
.enmc-ecosystem { font-size: .85rem; }

.enmc-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 26px;
  font-size: .73rem;
}

.enmc-product-features span { display: flex; align-items: center; gap: 7px; }
.enmc-product-features svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.enmc-official-image { display: block; min-width: 0; }
.enmc-official-image img { display: block; width: 100%; height: auto; }
.enmc-official-image > span { display: block; margin-top: 12px; font-size: .78rem; text-decoration: underline; text-underline-offset: 4px; }
.enmc-results-body { padding: clamp(22px, 4vw, 48px); }
.enmc-results h4 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.25; }
.enmc-metrics-heading p { margin: 10px 0 24px; color: var(--enmc-neutral); }

.enmc-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: #e5d9dc;
  border: 1px solid #e5d9dc;
}

.enmc-metric {
  grid-column: span 2;
  padding: 24px;
  background: #fcf8f8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.enmc-metric:nth-child(-n+2) { grid-column: span 3; }
.enmc-metric dt { font-size: .85rem; font-weight: 600; }
.enmc-metric dd { margin: 14px 0 0; color: var(--enmc-red); font-size: clamp(2rem, 3.7vw, 3.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.enmc-metric dd span { display: block; margin-top: 12px; font-size: .73rem; font-weight: 400; letter-spacing: normal; line-height: 1.5; color: var(--enmc-neutral); }
.enmc-metric-main { background: var(--enmc-red); color: #fff; }
.enmc-metric-main dd, .enmc-metric-main dd span { color: #fff; }

.enmc-chart { margin: 40px 0; padding: 30px; background: #f7f4f3; }
.enmc-chart figcaption { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.enmc-chart .enmc-kicker { color: var(--enmc-red); }
.enmc-chart figcaption p:last-child { font-size: .85rem; color: var(--enmc-neutral); }
.enmc-peak-badge { flex-shrink: 0; padding: 7px 12px; background: var(--enmc-red); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 20px; }
.enmc-chart-help { font-size: .78rem; color: var(--enmc-neutral); }
.enmc-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 3vw, 32px);
  padding-top: 16px;
  border-bottom: 1px solid #d7cace;
}

.enmc-bar {
  display: grid;
  grid-template-rows: auto 190px auto;
  gap: 10px;
  min-width: 0;
  padding: 8px 8px 12px;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: transparent;
  color: var(--enmc-ink);
  font: inherit;
  cursor: pointer;
  transition: background .18s ease;
}

.enmc-bar strong { font-size: clamp(1rem, 2.4vw, 1.5rem); font-variant-numeric: tabular-nums; }
.enmc-bar > span:last-child { font-size: .85rem; }
.enmc-bar-track { display: flex; align-items: end; justify-content: center; }
.enmc-bar-fill { display: block; width: 100%; max-width: 115px; height: var(--bar-height); background: #b86073; border-radius: 5px 5px 0 0; transition: background .18s ease; }
.enmc-bar-peak .enmc-bar-fill { background: var(--enmc-red); }
.enmc-bar:hover, .enmc-bar[aria-pressed="true"] { background: #ecdee1; }
.enmc-bar:hover .enmc-bar-fill, .enmc-bar:focus-visible .enmc-bar-fill { background: var(--enmc-deep); }
.enmc-results a:focus-visible, .enmc-bar:focus-visible, .enmc-project-result a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.enmc-chart-readout { min-height: 1.6em; margin: 18px 0 0; font-size: .85rem; font-weight: 700; color: var(--enmc-red); }
.enmc-discover { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-top: 12px; }
.enmc-discover p { color: var(--enmc-neutral); font-size: .9rem; }
.enmc-results-actions { display: flex; flex-wrap: wrap; gap: 16px 22px; font-size: .85rem; font-weight: 700; }
.enmc-results-actions a { text-decoration: underline; text-underline-offset: 4px; }
.enmc-results-actions .enmc-action-primary { width: 100%; padding: 13px 20px; background: var(--enmc-red); color: #fff; text-decoration: none; }
.enmc-source { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid #e5d9dc; font-size: .75rem; color: var(--enmc-neutral); }

.enmc-project-result { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--enmc-red); color: var(--enmc-ink); }
.enmc-project-result p { margin: 8px 0 12px; font-size: .9rem; }
.enmc-project-result strong { color: var(--enmc-red); }
.enmc-project-result a { color: var(--enmc-red); font-size: .85rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.enmc-mini-chart { display: flex; align-items: end; gap: 4px; height: 25px; }
.enmc-mini-chart i { width: 8px; background: var(--enmc-red); height: 50%; }
.enmc-mini-chart i:nth-child(2) { height: 100%; }
.enmc-mini-chart i:nth-child(3) { height: 70%; }
.enmc-mini-chart i:nth-child(4) { height: 37%; }

@media (max-width: 900px) {
  .enmc-results-hero, .enmc-discover { grid-template-columns: 1fr; }
  .enmc-official-image { max-width: 600px; }
  .enmc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enmc-metric, .enmc-metric:nth-child(-n+2) { grid-column: auto; }
  .enmc-metric-main:nth-child(-n+2) { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .enmc-metric { padding: 18px 12px; }
  .enmc-metric dt { font-size: .78rem; }
  .enmc-metric dd { font-size: clamp(1.65rem, 7vw, 2.5rem); }
  .enmc-chart { padding: 20px 12px; }
  .enmc-chart figcaption { flex-direction: column; gap: 4px; }
  .enmc-bar { padding-inline: 3px; grid-template-rows: auto 140px auto; }
  .enmc-bar > span:last-child { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.enmc-results), html:has(.enmc-project-result) { scroll-behavior: auto; }
  .enmc-bar, .enmc-bar-fill { transition: none; }
}

@media (max-width: 360px) {
  .enmc-metrics { grid-template-columns: minmax(0, 1fr); }
  .enmc-bar { padding-inline: 0; }
  .enmc-bar strong { font-size: .85rem; }
  .enmc-bars { gap: 6px; }
}
