/* =========================================================
   VIDAR EM IN-TENSÕES — STYLE.CSS (ORGANIZADO)
   - Sem mudança de layout (somente organização + comentários)
   - Responsividade agrupada por seção/página
========================================================= */

/* =========================================================
   1) VARIÁVEIS (PALETA)
========================================================= */
:root {
  --bege-claro: #f3e7cd;
  --preto-elegante: #191616;
  --verde-cinza: #5b5c4c;
  --marrom-claro: #b5a084;
  --terra-queimada: #924b38;
  --branco: #ffffff;
}

/* =========================================================
   2) RESET + BASE GLOBAL
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

body {
  background-color: var(--branco);
  color: var(--preto-elegante);
  line-height: 1.6;
}

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

/* =========================================================
   3) HEADER + NAV (GLOBAL)
========================================================= */
header {
  background-color: var(--branco);
  color: var(--preto-elegante);
  padding: 0 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  position: sticky;
  top: 0;

  /* MELHORIA: garante o header acima do conteúdo */
  z-index: 2000;

  height: 80px;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 100%;
}

/* LOGO */
.logo {
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: normal;
  font-family: "Edwardian Script ITC";
  color: var(--preto-elegante);

  display: flex;
  align-items: center;

  height: 100%;
  line-height: 1;
  padding: 0;
}

.logo-icon {
  margin-right: 12px;
  width: clamp(1rem, 5vw, 50px);
  height: clamp(1rem, 5vw, 50px);
  vertical-align: middle;
}

.logo-icon-rodape {
  font-size: clamp(0.8rem, 3vw, 4rem);
  margin: none;
  width: clamp(30px, 3vw, 50px);
  height: clamp(30px, 3vw, 50px);
  vertical-align: middle;
}

/* CONTROLE DE TEXTO DO LOGO — DESKTOP vs MOBILE */
.logo-text-desktop {
  display: block;
  font: inherit !important;
}

.logo-text-mobile {
  display: none;
}

/* NAV */
#menu {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
}

#menu > li {
  margin-left: clamp(0.65rem, 1.15vw, 1.2rem);
  position: relative;
}

#menu > li > a,
.menu-com-submenu > a {
  padding: 0.5rem;
  transition: color 0.3s;
  font-weight: 500;
  position: relative;
  font-size: 0.98rem;
  white-space: nowrap;
}

#menu a:hover,
.submenu-toggle:hover {
  color: var(--terra-queimada);
}

/* Página ativa */
#menu a.ativo {
  color: var(--terra-queimada);
  font-weight: 600;
}

/* Indicador visual abaixo do link ativo */
#menu > li > a.ativo::after,
.menu-com-submenu > a.ativo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--terra-queimada);
  border-radius: 2px;
}

.menu-com-submenu {
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: var(--preto-elegante);
  cursor: pointer;
  font-size: 0.75rem;
  transition: color 0.3s, transform 0.3s;
}

#menu > li:hover .submenu,
#menu > li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#menu > li:hover .submenu-toggle,
#menu > li:focus-within .submenu-toggle,
#menu > li.submenu-aberto .submenu-toggle {
  color: var(--terra-queimada);
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  display: block;
  min-width: 220px;
  height: auto;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  background: var(--branco);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 2100;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a.ativo {
  background: rgba(146, 75, 56, 0.1);
  color: var(--terra-queimada);
}

/* Menu hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--preto-elegante);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: all 0.3s;
}

/* -------- RESPONSIVIDADE — HEADER/NAV (GLOBAL) -------- */
@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 0 15px;
    position: sticky;
    top: 0;

    /* MELHORIA: mantém header acima do menu e conteúdo */
    z-index: 2000;

    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .header-container {
    position: relative;
  }

  /* Logo mobile */
  .logo {
    font-family: "Dancing Script", cursive !important;
    font-weight: 200 !important;
    font-size: 0.5rem !important;
    z-index: 2002;
  }

  .logo-icon {
    width: 40px !important;
    height: 40px !important;
  }

  /* Texto do logo no mobile */
  .logo-text-desktop {
    display: none !important;
  }

  .logo-text-mobile {
    display: block !important;
    font-family: "Dancing Script", cursive !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
  }

  /* Menu hamburguer */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;

    /* acima do menu */
    z-index: 2002;

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 25px;

    visibility: visible !important;
    opacity: 1 !important;
  }

  .menu-toggle span {
    height: 3px;
    width: 100%;
    background: var(--preto-elegante);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s;
    display: block !important;
  }

  .menu-toggle span:last-child {
    margin-bottom: 0;
  }

  /* Menu mobile (mostra com .show via JS) */
  nav {
    display: block !important;
    visibility: visible !important;
  }

  @media (max-width: 768px) {
    #menu {
      display: none !important;

      position: fixed;
      top: 70px;
      left: 0;
      right: 0;

      background: var(--branco);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

      padding: 1rem;
      flex-direction: column;
      align-items: flex-start;

      z-index: 1001;
    }

    #menu.show {
      display: flex !important;
      max-height: calc(100vh - 70px);
      overflow-y: auto;
    }
  }

  #menu > li {
    margin: 0;
    width: 100%;
  }

  #menu > li > a,
  .menu-com-submenu > a {
    display: block;
    padding: 10px 15px !important; /* um pouco menor */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  .menu-com-submenu {
    width: 100%;
  }

  .menu-com-submenu > a {
    flex: 1;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 0.35rem 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  #menu > li:hover .submenu,
  #menu > li:focus-within .submenu {
    display: none;
  }

  #menu > li.submenu-aberto .submenu {
    display: block;
  }

  .submenu a {
    padding: 9px 15px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    white-space: normal;
  }

  #menu > li:last-child a {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .logo-text-mobile {
    font-size: 1.8rem !important;
  }

  .logo {
    font-size: 1.3rem;
  }
}

@media (max-width: 412px) {
  .logo {
    font-size: 2.5rem !important;
  }
  .logo-icon {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 390px) {
  .logo {
    font-size: 0.2rem !important;
  }
  .logo-icon {
    width: 25px !important;
    height: 25px !important;
  }

  body.sobre-page .logo-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   4) CONTAINER (GLOBAL)
========================================================= */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* =========================================
  5.0.1) INDEX.HTML HEADER OCULTO NO HERO (VIDAR)
========================================= */

/* Estado padrão: header escondido enquanto no hero */
body.header-oculto header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Quando sair do hero: header aparece */
body.header-visivel header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =========================================================
   HEADER SUMIR NA HERO (SÓ QUANDO EXISTIR HERO NA PÁGINA)
========================================================= */

/* Quando a home tiver hero, vamos deixar o header fixo
   (assim ele não "empurra" o layout e não cria faixa clara) */
body.tem-hero header {
  position: fixed; /* em vez de sticky */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* Compensa o espaço do header no topo da página */
body.tem-hero {
  padding-top: 80px; /* desktop */
}

@media (max-width: 768px) {
  body.tem-hero {
    padding-top: 70px; /* mobile */
  }
}

/* Para o hero "encostar" no topo da tela (sem faixa) */
body.tem-hero .hero-vidar-anim {
  margin-top: -80px; /* desktop */
}

@media (max-width: 768px) {
  body.tem-hero .hero-vidar-anim {
    margin-top: -70px; /* mobile */
  }
}

/* Estado escondido do header */
header.header--hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Estado normal (visível) */
header {
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Garantir que o menu mobile fique acima de qualquer seção */
@media (max-width: 768px) {
  #menu {
    z-index: 9999 !important;
  }
}

/* =========================================
   5.0.2) INDEX.HTML HERO ANIMADO (estilo “Clarice”) - VIDAR
========================================= */
.hero-vidar-anim {
  position: relative;
  width: 100vw;
  min-height: 65vh;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--verde-cinza) 0%, #4a4b3c 100%);
  overflow: hidden;
}

/* SVG das linhas */
.hero-vidar-linhas {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  opacity: 0.9;
}

/* Aparência das linhas */
.hero-vidar-linhas .linhas path {
  fill: none;
  stroke: var(--terra-queimada);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;

  animation: vidar-desenhar 1.2s ease forwards,
    vidar-pulsar 5s ease-in-out 2s infinite;
}

/* Conteúdo por cima */
.hero-vidar-conteudo {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
  color: var(--branco);
}

.hero-vidar-conteudo h1 {
  font-family: "Edwardian Script ITC";
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-vidar-conteudo p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  opacity: 0.95;
}

/* Movimento lento do grupo inteiro (efeito “flutuando”) */
.hero-vidar-linhas .linhas {
  transform-origin: center;
  animation: vidar-flutuar 12s ease-in-out infinite alternate;
}

@keyframes vidar-flutuar {
  0% {
    transform: translate3d(-20px, 15px, 0) rotate(-3deg) scale(1.03);
  }
  100% {
    transform: translate3d(25px, -20px, 0) rotate(3deg) scale(1.06);
  }
}

@keyframes vidar-desenhar {
  to {
    stroke-dashoffset: 0;
  }
}

/* Um “respirar” bem leve no traço */
@keyframes vidar-pulsar {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-vidar-anim {
    min-height: 65vh;
  }

  .hero-vidar-linhas {
    inset: -40%;
    width: 180%;
    height: 180%;
    opacity: 0.85;
  }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  .hero-vidar-linhas .linhas,
  .hero-vidar-linhas .linhas path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}

/* =========================================================
   FIX — HERO VIDAR CENTRALIZADO NO MOBILE
   (override do "display:block" forçado no mobile)
========================================================= */
@media (max-width: 768px) {
  .hero-vidar-anim {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* ocupa melhor a tela no mobile */
    min-height: 55vh !important;
    height: 55vh !important;
  }
}

/* =========================================================
   5.1) INDEX.HTML — HERO / DESTAQUE PRINCIPAL
========================================================= */
.destaque-principal-section {
  width: 100%;
  padding: 0 40px;
  margin: 0 auto 40px;
}
.destaque-principal {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Slideshow com imagens completas */
.imagem-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--marrom-claro);
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-bg.active {
  opacity: 1;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.conteudo-principal {
  text-align: left;
  align-items: flex-start;

  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  color: white;
  padding: 50px;
  z-index: 2;
}

.conteudo-principal h1 {
  font-size: 2.5rem;
  margin: 15px 0;
  line-height: 1.2;
}

.descricao {
  text-align: left;
  margin-left: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
  max-width: 80%;
}

.meta-info {
  justify-content: flex-start;
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.botoes-acao {
  justify-content: flex-start;
  display: flex;
  gap: 15px;
}
.meta-info {
  justify-content: flex-start;
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.destaque-principal .meta-info{ justify-content: center; }

.botoes-acao {
  justify-content: flex-start;
  display: flex;
  gap: 15px;
}

.destaque-principal .botoes-acao{ justify-content: center; }

/* Botões (global usado em mais de uma parte) */
.btn {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primario {
  background: var(--terra-queimada);
  color: white;
}

.btn-primario:hover {
  background: #7a3c2d;
  transform: translateY(-2px);
}

.btn-secundario {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secundario:hover {
  background: white;
  color: var(--preto-elegante);
}

/* -------- RESPONSIVIDADE — INDEX (DESTAQUE) -------- */
@media (max-width: 768px) {
  .destaque-principal-section {
    padding: 0 20px;
    margin: 0 auto 20px;
  }

  .destaque-principal {
    height: 400px;
    border-radius: 10px 10px 0 0;
  }

  .conteudo-principal {
    padding: 25px 20px;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .conteudo-principal h1 {
    font-size: 1.4rem;
    margin: 10px 0;
    line-height: 1.3;
  }

  .descricao {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    max-width: 100%;
    opacity: 0.95;
  }

  .meta-info {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.8rem;
  }

  .botoes-acao {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .badge.evento {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .destaque-principal {
    height: 350px;
  }

  .conteudo-principal {
    padding: 20px 15px;
  }

  .conteudo-principal h1 {
    font-size: 1.2rem;
  }

  .descricao {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .destaque-principal {
    height: 300px;
  }

  .conteudo-principal h1 {
    font-size: 1.3rem;
  }

  .descricao {
    font-size: 0.8rem;
  }
}

/* =========================================================
   6) INDEX.HTML — SEÇÃO ATUALIZAÇÕES
========================================================= */
.atualizacoes-section {
  width: 100%;
  padding: 40px;
  background: var(--bege-claro);
}

.container-atualizacoes {
  max-width: 1200px;
  margin: 0 auto;
}

.grid-atualizacoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card-atualizacao {
  background: var(--branco);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 100%;
}

.card-atualizacao:hover {
  border-color: var(--terra-queimada);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cabecalho-lateral {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cabecalho-lateral h3 {
  text-align: start;
  color: var(--preto-elegante);
  font-size: 1.5rem;
  margin: 0;
}

.contador {
  background: var(--terra-queimada);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* -------- RESPONSIVIDADE — INDEX (ATUALIZAÇÕES) -------- */
@media (max-width: 768px) {
  .atualizacoes-section {
    padding: 20px;
  }

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

  .card-atualizacao {
    padding: 15px;
  }

  .cabecalho-lateral h3 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   7) INDEX.HTML — NOTÍCIAS
========================================================= */
.ultimas-noticias {
  margin-top: 2rem;
}

.titulo-secao {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--terra-queimada);
  color: var(--verde-cinza);
  text-align: center;
}

.grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card-noticia {
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--marrom-claro);
}

.card-noticia:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-noticia img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-noticia .conteudo {
  padding: 1.5rem;
}

.card-noticia h3 {
  margin-bottom: 1rem;
  color: var(--verde-cinza);
  font-size: 1.3rem;
  line-height: 1.4;
}

.card-noticia p {
  color: var(--preto-elegante);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Link "leia mais" (usado em mais de um lugar) */
.leia-mais {
  color: var(--terra-queimada);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.leia-mais:hover {
  gap: 10px;
}

/* =========================================================
   8) INDEX.HTML — LISTA DE LEITURAS
========================================================= */
.dicas-leituras.cards {
  background: var(--branco);
  padding: 3rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.dicas-leituras.cards h2 {
  color: var(--verde-cinza);
  margin-bottom: 2rem;
}

.grid-leituras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.card-leitura {
  background: var(--bege-claro);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card-leitura:hover {
  transform: scale(1.05);
}

.card-leitura img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.card-leitura h3 {
  color: var(--verde-cinza);
  font-size: 1.2rem;
}

.card-leitura p {
  color: var(--preto-elegante);
  font-size: 1rem;
}

/* -------- RESPONSIVIDADE — INDEX (LEITURAS) -------- */
@media (max-width: 768px) {
  .dicas-leituras.cards {
    padding: 2rem 1rem !important;
    margin-top: 2rem !important;
  }

  .grid-leituras {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    max-width: 100% !important;
  }

  .card-leitura {
    padding: 0.8rem !important;
    min-height: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .card-leitura img {
    max-height: 100px !important;
    object-fit: contain !important;
    margin-bottom: 0.5rem !important;
  }

  .card-leitura h3 {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }

  .card-leitura p {
    font-size: 0.8rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .dicas-leituras.cards {
    padding: 1.5rem 0.8rem !important;
  }

  .grid-leituras {
    gap: 0.8rem !important;
  }

  .card-leitura {
    padding: 0.6rem !important;
    min-height: 160px !important;
  }

  .card-leitura img {
    max-height: 80px !important;
  }

  .card-leitura h3 {
    font-size: 0.85rem !important;
  }

  .card-leitura p {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 360px) {

  .destaque-principal-section { padding: 0 16px; margin-bottom: 24px; }

  .destaque-principal { min-height: 48vh; border-radius: 8px; }

  .destaque-principal .conteudo-principal {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 18px;
    width: 100%;
    text-align: left;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
  
    min-height: 150px !important;
    padding: 0.5rem !important;
  }

  .card-leitura img {
    max-height: 70px !important;
  }

  .card-leitura h3 {
    font-size: 0.8rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-leituras {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (min-width: 1025px) {
  .grid-leituras {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  }
}

/* =========================================================
   9) INDEX.HTML — FRASE DE DESTAQUE (MANOEL DE BARROS)
========================================================= */
.frase-destaque.imagem {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 70vh;
  padding: 2rem;
  color: white;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;

  background-image: url("../images/Manoelb.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.frase-destaque.imagem::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.conteudo-frase {
  font-family: "Candara", "Calibri", sans-serif;
  font-weight: 300;
  position: relative;
  z-index: 1;

  /* MELHORIA: margem fluida para evitar "invadir o rosto" */
  margin-left: clamp(4%, 8vw, 12%);

  max-width: 600px;
}

.conteudo-frase p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.4;
}

.conteudo-frase .autor {
  font-size: clamp(0.9rem, 1.3vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
}

.credito-foto {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  color: #f0f0f0;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  white-space: nowrap;
}

/* -------- RESPONSIVIDADE — FRASE DESTAQUE (INDEX) -------- */
@media (max-width: 768px) {
  .frase-destaque.imagem {
    height: 50vh;
    padding: 0.5rem;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: left;
    padding-bottom: 5vh;
  }

  .conteudo-frase {
    margin-top: 80px;
    margin-left: 2% !important;
    margin-bottom: 5% !important;

    width: 85%;
    max-width: 280px;

    background: rgba(0, 0, 0, 0.75);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    transform: translateX(0);
    text-align: left;
  }

  .conteudo-frase p {
    font-size: 0.95rem !important;
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }

  .conteudo-frase .autor {
    font-size: 0.85rem !important;
    margin-bottom: 0;
    font-style: italic;
  }

  .credito-foto {
    bottom: 4px;
    right: 6px;
    font-size: 0.6rem;
    padding: 2px 5px;
    background: rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 412px) {
  .frase-destaque.imagem {
    height: 45vh;
    padding: 0.8rem;
    align-items: flex-end;
    padding-bottom: 4vh;
  }

  .conteudo-frase {
    margin-top: 80px;
    margin-left: 3% !important;
    margin-bottom: 3% !important;

    width: 80%;
    max-width: 280px;
    padding: 0.8rem;
    text-align: left;
  }

  .conteudo-frase p {
    font-size: 0.9rem !important;
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }

  .conteudo-frase .autor {
    font-size: 0.8rem !important;
  }

  .credito-foto {
    font-size: 0.55rem;
    bottom: 2px;
    right: 4px;
    padding: 1px 4px;
  }
}

@media (max-width: 360px) {
  .conteudo-frase {
    width: 75%;
    max-width: 250px;
    padding: 0.6rem;
  }

  .conteudo-frase p {
    font-size: 0.85rem !important;
  }

  .conteudo-frase .autor {
    font-size: 0.75rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .frase-destaque.imagem {
    height: 65vh;
    justify-content: center;
  }

  .conteudo-frase {
    margin-left: 5%;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 80%;
  }
}

@media (min-width: 1025px) {
  .frase-destaque.imagem {
    justify-content: flex-start;
  }

  .conteudo-frase {
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
  .frase-destaque.imagem {
    height: 60vh !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
  }

  .conteudo-frase {
    margin-left: 8% !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    border: none !important;
    max-width: 600px !important;
  }

  .conteudo-frase p {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  .conteudo-frase .autor {
    font-size: 1.4rem !important;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .frase-destaque.imagem {
    height: 70vh !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .conteudo-frase {
    margin-left: 10% !important;
    max-width: 700px !important;
  }

  .conteudo-frase p {
    font-size: 2rem !important;
  }

  .conteudo-frase .autor {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .frase-destaque.imagem {
    height: 60vh;
  }
}

/* =========================================================
   10) PUBLICACOES.HTML
========================================================= */


.publicacoes-academicas {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Título principal da página Publicações: cor e fonte solicitadas */
body.publicacoes-page .titulo-secao {
  color: #f3e7cd;
  font-family: "The Season", "Playfair Display", serif;
  font-weight: 400;
}

/* Background específico para a página Publicações */
body.publicacoes-page{
  background-image: url("../images/fundo1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

/* Se o arquivo for 'fundo 1.png' com espaço, priorizamos também */
body.publicacoes-page{
  /* fallback check for space in filename (browsers ignore if missing) */
  /* developer note: the actual file in the repo is 'fundo1.png' */
}

.publicacao-item {
  background: var(--branco);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border-left: 5px solid var(--terra-queimada);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.publicacao-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(146, 75, 56, 0.15);
}

.publicacao-cabecalho {
  border-bottom: 2px solid var(--bege-claro);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.publicacao-titulo {
  color: var(--verde-cinza);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
}

.publicacao-autores {
  color: var(--terra-queimada);
  font-style: italic;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.publicacao-referencia {
  color: var(--preto-elegante);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.publicacao-resumo {
  color: var(--preto-elegante);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.publicacao-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.link-publicacao {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--bege-claro);
  color: var(--verde-cinza);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.link-publicacao:hover {
  background: var(--terra-queimada);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(146, 75, 56, 0.3);
}

/* Barra de busca */
.barra-busca-container {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  animation: aparecerBusca 0.5s ease;
}

.barra-busca {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--branco);
  border: 2px solid var(--bege-claro);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.barra-busca:focus-within {
  border-color: var(--terra-queimada);
  box-shadow: 0 6px 20px rgba(146, 75, 56, 0.15);
  transform: translateY(-2px);
}

.barra-busca i.fa-search {
  color: var(--verde-cinza);
  margin-right: 1rem;
  font-size: 1.1rem;
}

#campoBusca {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: var(--preto-elegante);
  padding: 0.5rem 0;
}

#campoBusca::placeholder {
  color: var(--marrom-claro);
}

.btn-limpar {
  background: none;
  border: none;
  color: var(--marrom-claro);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.btn-limpar.visivel {
  opacity: 1;
  visibility: visible;
}

.btn-limpar:hover {
  background: var(--bege-claro);
  color: var(--terra-queimada);
}

.contador-resultados {
  text-align: center;
  margin-top: 1rem;
}

#contador {
  color: var(--verde-cinza);
  font-size: 0.9rem;
  font-style: italic;
  background: var(--bege-claro);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

/* Sem resultados */
.sem-resultados {
  text-align: center;
  padding: 3rem;
  color: var(--preto-elegante);
  background: var(--bege-claro);
  border-radius: 12px;
  display: none;
  margin: 2rem auto;
  max-width: 600px;
}

.sem-resultados.mostrar {
  display: block;
}

.sem-resultados i {
  font-size: 3rem;
  color: var(--marrom-claro);
  margin-bottom: 1rem;
}

.publicacao-item.oculto {
  display: none;
}

.destaque-busca {
  background-color: rgba(146, 75, 56, 0.2);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  font-weight: 600;
  color: var(--terra-queimada);
}

@keyframes aparecerBusca {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- RESPONSIVIDADE — PUBLICAÇÕES -------- */
@media (max-width: 768px) {
  .barra-busca-container {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .barra-busca {
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
  }

  #campoBusca {
    font-size: 0.9rem;
  }

  #campoBusca::placeholder {
    font-size: 0.9rem;
  }

  .barra-busca i.fa-search {
    font-size: 1rem;
    margin-right: 0.8rem;
  }

  .contador-resultados {
    margin-top: 0.8rem;
  }

  #contador {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .publicacoes-academicas {
    padding: 1rem;
  }

  .publicacao-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .publicacao-titulo {
    font-size: 1.2rem;
  }

  .publicacao-autores {
    font-size: 0.9rem;
  }

  .publicacao-referencia {
    font-size: 0.8rem;
  }

  .publicacao-resumo {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .publicacao-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .link-publicacao {
    justify-content: center;
    padding: 0.8rem 1rem;
  }

  .modal-conteudo {
    margin: 10% auto;
    width: 95%;
  }

  .modal-cabecalho {
    padding: 1rem 1.5rem;
  }

  .modal-corpo {
    padding: 1.5rem;
  }

  .formatos-citacao {
    gap: 0.3rem;
  }

  .formatos-citacao div {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .texto-citacao {
    height: 120px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .barra-busca {
    padding: 0.6rem 1rem;
  }

  #campoBusca::placeholder {
    font-size: 0.85rem;
  }

  .sem-resultados {
    padding: 2rem 1rem;
  }

  .sem-resultados i {
    font-size: 2.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .publicacoes-academicas {
    padding: 1.5rem;
    max-width: 90%;
  }

  .publicacao-item {
    padding: 2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .publicacoes-academicas {
    max-width: 950px;
    padding: 2rem 1.5rem;
  }
}

/* =========================================================
   DISSERTAÇÕES E TESES
========================================================= */
body.dissertacoes-page {
  background-color: var(--branco);
  background-image: url("../images/fundo1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

body.dissertacoes-page .biblioteca-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

body.dissertacoes-page .biblioteca-section {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

body.dissertacoes-page .biblioteca-header {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

body.dissertacoes-page .biblioteca-eyebrow {
  color: var(--bege-claro);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(25, 22, 22, 0.24);
}

body.dissertacoes-page .biblioteca-header h1 {
  max-width: 100%;
  color: var(--bege-claro);
  font-family: "The Season", "Playfair Display", serif;
  font-size: 3.45rem;
  font-weight: 400;
  line-height: 1;
  overflow-wrap: break-word;
  text-shadow: 0 3px 18px rgba(25, 22, 22, 0.22);
}

body.dissertacoes-page .biblioteca-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.3vw, 2rem);
  align-items: start;
}

body.dissertacoes-page .tese-card {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem) 0.9rem 1rem;
  border: 1px solid rgba(91, 92, 76, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(34, 29, 26, 0.09);
  text-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease,
    border-color 0.24s ease;
}

body.dissertacoes-page .tese-preview-shell {
  position: relative;
  display: block;
  width: min(100%, 196px);
  margin: 0 auto 0.95rem;
  color: inherit;
}

body.dissertacoes-page .tese-preview {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  background: #efe3ca;
  box-shadow: 0 10px 24px rgba(34, 29, 26, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.dissertacoes-page .tese-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.dissertacoes-page .tese-titulo {
  width: min(100%, 196px);
  margin: 0 auto 0.25rem;
  overflow: hidden;
  color: var(--preto-elegante);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dissertacoes-page .tese-autoria {
  width: min(100%, 196px);
  margin: 0 auto;
  overflow: hidden;
  color: var(--verde-cinza);
  font-size: 0.84rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dissertacoes-page .tese-card:hover {
  transform: translateY(-4px);
  border-color: rgba(146, 75, 56, 0.28);
  box-shadow: 0 16px 32px rgba(146, 75, 56, 0.16);
}

body.dissertacoes-page .tese-card:hover .tese-preview {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(34, 29, 26, 0.2);
}

@media (max-width: 900px) {
  body.dissertacoes-page .biblioteca-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.dissertacoes-page .biblioteca-main {
    width: min(calc(100% - 1rem), 520px);
    padding-top: 1.5rem;
  }

  body.dissertacoes-page .biblioteca-header h1 {
    max-width: 280px;
    font-size: 1.75rem;
    line-height: 1.08;
  }

  body.dissertacoes-page .biblioteca-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  body.dissertacoes-page .tese-preview-shell,
  body.dissertacoes-page .tese-titulo,
  body.dissertacoes-page .tese-autoria {
    width: min(100%, 148px);
  }

}

@media (max-width: 360px) {
  body.dissertacoes-page .biblioteca-header h1 {
    max-width: 250px;
    font-size: 1.6rem;
  }
}

/* =========================================================
   11) PUBLICACOES.HTML — MODAL DE CITAÇÃO
========================================================= */
.modal-citacao {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-conteudo {
  background-color: var(--branco);
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: aparecerModal 0.3s ease;
}

@keyframes aparecerModal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--bege-claro);
  background: var(--bege-claro);
  border-radius: 12px 12px 0 0;
}

.modal-cabecalho h3 {
  color: var(--verde-cinza);
  margin: 0;
  font-size: 1.3rem;
}

.fechar-modal {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--verde-cinza);
  transition: color 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fechar-modal:hover {
  color: var(--terra-queimada);
}

.modal-corpo {
  padding: 2rem;
}

.formatos-citacao {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.formatos-citacao div {
  padding: 0.6rem 1.2rem;
  background: var(--bege-claro);
  border: 2px solid transparent;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--verde-cinza);
}

.formatos-citacao div:hover {
  background: var(--marrom-claro);
}

.formato-ativo {
  background: var(--terra-queimada) !important;
  color: white !important;
  border-color: var(--terra-queimada) !important;
}

.area-citacao {
  margin-bottom: 1.5rem;
}

.texto-citacao {
  width: 100%;
  height: 150px;
  padding: 1rem;
  border: 2px solid var(--bege-claro);
  border-radius: 8px;
  resize: vertical;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #fafafa;
  margin-bottom: 1rem;
}

.texto-citacao:focus {
  outline: none;
  border-color: var(--terra-queimada);
}

.btn-copiar {
  background: var(--terra-queimada);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-copiar:hover {
  background: #7a3c2d;
  transform: translateY(-2px);
}

.btn-copiar.copiado {
  background: var(--verde-cinza);
}

.citacao-info {
  background: var(--bege-claro);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.citacao-info p {
  margin: 0.3rem 0;
  color: var(--preto-elegante);
}

/* =========================================================
   12) FOOTER (GLOBAL)
========================================================= */
footer {
  background: var(--verde-cinza);
  color: white;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 2rem 0rem;
  text-align: center;
  z-index: 100;
}

.logo-frase {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}

.logo-rodape {
  margin-bottom: 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copyright {
  margin-top: 0.6rem;
}

.footer-credito-dev {
  margin-top: 0.15rem;
  font-size: 0.92rem;
  opacity: 0.92;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--marrom-claro);
  color: var(--preto-elegante);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.social-icon:hover {
  background: var(--terra-queimada);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

/* -------- RESPONSIVIDADE — FOOTER (GLOBAL) -------- */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem !important;
    width: 100% !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }

  .footer-content {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  .logo-rodape {
    margin-bottom: 1rem !important;
    text-align: center !important;
  }

  .logo-frase {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
  }

  .footer-content p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem !important;
    text-align: center !important;
  }

  .social-links {
    justify-content: center !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
    flex-wrap: wrap !important;
  }

  .social-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
  }

  .footer-copyright {
    font-size: 0.8rem !important;
    margin-top: 1rem !important;
  }

  .footer-credito-dev {
    font-size: 0.8rem !important;
    margin-top: 0.25rem !important;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 0.8rem !important;
  }

  .footer-content {
    padding: 0 !important;
  }

  .logo-frase {
    width: 80px !important;
    height: 80px !important;
  }

  .footer-content p {
    font-size: 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }

  .social-links {
    gap: 0.8rem !important;
    margin: 1rem 0 !important;
  }

  .social-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .footer-copyright {
    font-size: 0.75rem !important;
  }

  .footer-credito-dev {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 360px) {
  footer {
    padding: 1rem 0.5rem !important;
  }

  .logo-frase {
    width: 60px !important;
    height: 60px !important;
  }

  .footer-content p {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
  }

  .social-links {
    gap: 0.6rem !important;
  }

  .social-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem !important;
  }
}

/* =========================================================
   14) SOBRE.HTML — FUNDADORAS
========================================================= */
.fundadoras-section {
  padding: 4rem 2rem;
  background: var(--bege-claro);
  margin: 2rem 0;
  border-radius: 15px;
}

.grid-fundadoras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.card-fundadora {
  background: var(--branco);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-fundadora:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.fundadoras-imagem {
  margin-bottom: 1.5rem;
}

.fundadora-imagem img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--terra-queimada);
  box-shadow: 0 8px 20px rgba(146, 75, 56, 0.2);
  transition: all 0.3s ease;
}

.card-fundadora:hover .fundadora-imagem img {
  border-color: var(--verde-cinza);
  transform: scale(1.05);
}

.fundadora-conteudo h3 {
  color: var(--verde-cinza);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.fundadora-conteudo p {
  color: var(--preto-elegante);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* =========================================================
   15) PESQUISADORES.HTML
========================================================= */
.grid-pesquisadores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.pesquisador {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  background: var(--marrom-claro);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.pesquisador:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.pesquisador img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.8rem auto;
  border: 3px solid var(--marrom-claro);
}

.pesquisador h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--preto-elegante);
  font-weight: 600;
}

.pesquisador .area {
  font-size: 0.85rem;
  color: var(--preto-elegante);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.pesquisador .bio {
  font-size: 0.8rem;
  color: var(--preto-elegante);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  flex-grow: 1;
}

.pesquisador .links {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.pesquisador .links a {
  font-size: 1.1rem;
  color: var(--verde-cinza);
  transition: all 0.3s ease;
  padding: 0.4rem;
  border-radius: 50%;
  background: var(--bege-claro);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pesquisador .links a:hover {
  color: white;
  background: var(--verde-cinza);
  transform: scale(1.1);
}

/* -------- RESPONSIVIDADE — PESQUISADORES -------- */
@media (max-width: 768px) {
  .grid-pesquisadores {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
  }

  .pesquisador {
    min-height: 200px;
    padding: 0.8rem;
  }

  .pesquisador img {
    width: 60px;
    height: 60px;
  }

  .pesquisador h3 {
    font-size: 0.85rem;
  }

  .pesquisador .area {
    font-size: 0.75rem;
  }

  .pesquisador .bio {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .grid-pesquisadores {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* =========================================================
   16) SOBRE.HTML — (HERO / TIMELINE / LINHAS / MISSÃO / PARCERIAS)
   (Seu bloco estava completo — mantive, apenas organizei)
========================================================= */
.sobre-hero {
  background: linear-gradient(135deg, var(--verde-cinza) 0%, #4a4b3c 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
  border-radius: 0 0 20px 20px;
}

.sobre-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.sobre-subtitulo {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-style: italic;
}

.sobre-hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.8;
}

/* Timeline */
.timeline-section {
  padding: 4rem 2rem;
  background: var(--bege-claro);
  margin: 2rem 0;
  border-radius: 15px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--verde-cinza);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--verde-cinza);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: bold;
  min-width: 120px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(91, 92, 76, 0.3);
}

.timeline-content {
  background: var(--branco);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 45%;
  margin: 0 2rem;
  position: relative;
  border-left: 4px solid var(--terra-queimada);
}

.timeline-content h3 {
  color: var(--verde-cinza);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.timeline-content p {
  color: var(--preto-elegante);
  line-height: 1.6;
}

/* Linhas */
.linhas-pesquisa {
  padding: 4rem 2rem;
}

.grid-linhas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.linha-card {
  background: var(--branco);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--terra-queimada);
}

.linha-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.linha-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.linha-card h3 {
  color: var(--verde-cinza);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.linha-card p {
  color: var(--preto-elegante);
  line-height: 1.6;
}

/* Missão / Visão */
.missao-visao {
  padding: 4rem 2rem;
  background: var(--bege-claro);
  margin: 2rem 0;
  border-radius: 15px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.pilar-card {
  background: var(--branco);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pilar-card h3 {
  color: var(--verde-cinza);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pilar-card p {
  color: var(--preto-elegante);
  line-height: 1.6;
  margin-bottom: 0;
}

.pilar-card ul {
  list-style: none;
  padding: 0;
}

.pilar-card li {
  padding: 0.5rem 0;
  color: var(--preto-elegante);
  position: relative;
  padding-left: 1.5rem;
}

.pilar-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terra-queimada);
  font-weight: bold;
}

/* Parcerias */
.parcerias-section {
  padding: 4rem 2rem;
  text-align: center;
}

.parcerias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto;
}

.parceiro-logo {
  background: var(--branco);
  padding: 2rem;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--verde-cinza);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.parceiro-logo:hover {
  transform: scale(1.05);
  color: var(--terra-queimada);
}

.parcerias-texto {
  max-width: 600px;
  margin: 2rem auto 0;
  color: var(--preto-elegante);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* -------- RESPONSIVIDADE — SOBRE -------- */
@media (max-width: 768px) {
  .sobre-hero {
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    border-radius: 0 0 15px 15px;
  }

  .sobre-hero-content h1 {
    font-size: 2.2rem !important;
    margin-bottom: 0.8rem;
  }

  .sobre-subtitulo {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem;
  }

  .sobre-hero-content p {
    font-size: 1rem !important;
    line-height: 1.5;
  }

  .timeline-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
    border-radius: 10px;
  }

  .timeline::before {
    left: 30px !important;
  }

  .timeline-item {
    flex-direction: row !important;
    justify-content: flex-start;
    padding-left: 60px;
    margin-bottom: 2.5rem;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    min-width: 50px;
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
  }

  .timeline-content {
    width: 100% !important;
    margin: 0 !important;
    margin-left: 1rem !important;
    padding: 1.5rem;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }

  .linhas-pesquisa {
    padding: 2rem 1rem;
  }

  .grid-linhas {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .linha-card {
    padding: 1.5rem 1.2rem;
  }

  .linha-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .linha-card h3 {
    font-size: 1.2rem;
  }

  .linha-card p {
    font-size: 0.9rem;
  }

  .missao-visao {
    padding: 2rem 1rem;
    margin: 1rem 0;
    border-radius: 10px;
  }

  .pilares-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .pilar-card {
    padding: 1.5rem 1.2rem;
  }

  .pilar-card h3 {
    font-size: 1.2rem;
  }

  .pilar-card p,
  .pilar-card li {
    font-size: 0.9rem;
  }

  .parcerias-section {
    padding: 2rem 1rem;
  }

  .parcerias-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
    margin: 2rem auto;
  }

  .parceiro-logo {
    padding: 1.5rem;
    font-size: 1.2rem;
    min-height: 80px;
  }

  .parcerias-texto {
    font-size: 1rem;
    margin: 1.5rem auto 0;
  }

  /* Fundadoras */
  .fundadoras-section {
    padding: 2rem 1rem !important;
  }

  .grid-fundadoras {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }

  .card-fundadora {
    padding: 1.5rem !important;
  }

  .fundadora-imagem img {
    width: 120px !important;
    height: 120px !important;
  }

  .fundadora-conteudo h3 {
    font-size: 1.2rem !important;
  }

  .fundadora-conteudo p {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sobre-hero {
    padding: 4rem 1.5rem;
  }

  .sobre-hero-content h1 {
    font-size: 2.8rem;
  }

  .timeline::before {
    left: 100px;
  }

  .timeline-item {
    padding-left: 120px;
  }

  .timeline-content {
    width: 70%;
  }

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

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

@media (max-width: 480px) {
  .sobre-hero-content h1 {
    font-size: 1.8rem !important;
  }

  .sobre-subtitulo {
    font-size: 1rem !important;
  }

  .timeline-year {
    min-width: 40px;
    padding: 0.5rem 0.3rem;
    font-size: 0.9rem;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-content {
    padding: 1.2rem;
  }

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

  .parceiro-logo {
    padding: 1rem;
    font-size: 1.1rem;
    min-height: 70px;
  }
}

/* =========================================================
   17) PROJETOS.HTML — GRADE COM MODAIS (OPÇÃO 3)
========================================================= */
.projetos-modais {
  padding: 2rem 0;
}

.modais-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.header-content {
  max-width: 600px;
  margin-left: 4%;
}

.header-content h2 {
  text-align: left;
  align-items: center;
  color: var(--verde-cinza);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.header-content p {
  text-align: left;
  margin-top: 0.5rem;
  align-items: center;
  color: var(--preto-elegante);
  font-size: 1.1rem;
  max-width: 500px;
  opacity: 0.9;
}

.header-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--branco);
  border-radius: 12px;
  border: 1px solid var(--bege-claro);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--terra-queimada);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--marrom-claro);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Grid projetos */
.grid-projetos-modais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.card-projeto-modal {
  background: var(--branco);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bege-claro);
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-projeto-modal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(146, 75, 56, 0.15);
  border-color: var(--terra-queimada);
}

/* Visual card */
.card-visual {
  position: relative;
}

.projeto-thumbnail {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.projeto-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-projeto-modal:hover .projeto-thumbnail img {
  transform: scale(1.05);
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(146, 75, 56, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-projeto-modal:hover .thumbnail-overlay {
  opacity: 1;
}

.view-details {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.projeto-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.status.andamento {
  background: rgba(232, 244, 248, 0.9);
  color: var(--verde-cinza);
}

.badge.priority {
  background: rgba(248, 240, 232, 0.9);
  color: var(--terra-queimada);
}

/* Info card */
.card-info {
  padding: 1.5rem;
}

.card-info h3 {
  color: var(--verde-cinza);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: "Playfair Display", serif;
}

.projeto-excerpt {
  color: var(--preto-elegante);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.projeto-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bege-claro);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--marrom-claro);
}

.meta-item i {
  font-size: 0.8rem;
}

/* Progresso */
.projeto-progress {
  margin-bottom: 1.5rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--verde-cinza);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bege-claro);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--terra-queimada);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Tags */
.projeto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--bege-claro);
  color: var(--verde-cinza);
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Modal projetos */
.modal-projeto {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
}

.modal-projeto.ativo {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  height: 90vh; /* altura fixa */
  background: var(--branco);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* ok agora */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: var(--terra-queimada);
  color: white;
}

.modal-content {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 1rem;
}

.modal-header {
  padding: 3rem 3rem 2rem;
  background: linear-gradient(
    135deg,
    var(--bege-claro) 0%,
    rgba(243, 231, 205, 0.3) 100%
  );
  border-bottom: 1px solid var(--bege-claro);
  flex-shrink: 0;
}

.modal-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.modal-header h2 {
  color: var(--verde-cinza);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.modal-header p {
  color: var(--preto-elegante);
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.modal-body {
  padding: 2rem 3rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.secao {
  margin-bottom: 2.5rem;
}

.secao h3 {
  color: var(--verde-cinza);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.secao p {
  color: var(--preto-elegante);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.secao ul {
  list-style: none;
  padding: 0;
}

.secao li {
  padding: 0.5rem 0;
  color: var(--preto-elegante);
  position: relative;
  padding-left: 1.5rem;
}

.secao li:before {
  content: "•";
  color: var(--terra-queimada);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.metodo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bege-claro);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.metodo-item:hover {
  background: var(--terra-queimada);
  color: white;
}

.metodo-item i {
  font-size: 1.2rem;
}

.info-card {
  background: var(--branco);
  border: 1px solid var(--bege-claro);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h4 {
  color: var(--verde-cinza);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.info-item strong {
  color: var(--verde-cinza);
  font-size: 0.9rem;
  min-width: 100px;
}

.info-item span {
  color: var(--preto-elegante);
  font-size: 0.9rem;
  text-align: right;
  flex: 1;
}

.equipe-lista {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.membro-equipe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--bege-claro);
}

.membro-equipe:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.membro-nome {
  color: var(--verde-cinza);
  font-weight: 500;
}

.membro-funcao {
  color: var(--marrom-claro);
  font-size: 0.8rem;
}

.resultados-lista {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.resultado-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--bege-claro);
}

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

.resultado-item i {
  color: var(--terra-queimada);
  width: 16px;
}

.resultado-item a {
  color: var(--preto-elegante);
  text-decoration: none;
  transition: color 0.3s ease;
}

.resultado-item a:hover {
  color: var(--terra-queimada);
}

.modal-footer {
  flex-shrink: 0;
  padding: 2rem 3rem;
  background: var(--bege-claro);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(181, 160, 132, 0.3);
}

/* -------- RESPONSIVIDADE — PROJETOS (MODAIS) -------- */
@media (max-width: 768px) {
  .modais-header {
    flex-direction: column;
    text-align: center;
  }

  .header-stats {
    justify-content: center;
  }

  .grid-projetos-modais {
    grid-template-columns: 1fr;
  }

  .modal-container {
    width: 95%;
    height: 95vh;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-header,
  .modal-body {
    padding: 2rem 1.5rem;
  }

  .modal-footer {
    padding: 1.5rem;
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .header-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    padding: 0.8rem 1rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .info-item {
    flex-direction: column;
    gap: 0.3rem;
  }

  .info-item span {
    text-align: left;
  }
}

/* =========================================================
   18) “CORREÇÕES / AJUSTES MOBILE” (GLOBAL AUXILIAR)
   (mantive, mas coloquei no final para não poluir seções)
========================================================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  main,
  section,
  .container,
  .grid-noticias,
  .publicacoes-hero,
  .publicacoes-academicas,
  .publicacoes-grid-moderno,
  .publicacoes-timeline,
  .publicacoes-minimalista {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }

  .destaque-principal-section,
  .ultimas-noticias,
  footer {
    display: block !important;
    visibility: visible !important;
  }

  .conteudo-principal,
  .conteudo-frase,
  .card-atualizacao,
  .card-noticia .conteudo {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .descricao,
  .conteudo-frase p,
  .card-atualizacao p {
    max-width: 100%;
  }

  .meta-info span,
  .badge.evento {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn,
  .card-atualizacao,
  .card-noticia,
  .social-icon {
    min-height: 44px;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  html {
    -webkit-overflow-scrolling: touch;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* =========================================================
   19) ANIMAÇÕES (SOBRE)
========================================================= */
.sobre-hero,
.timeline-section,
.linhas-pesquisa,
.missao-visao,
.parcerias-section,
.fundadoras-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.timeline-section {
  animation-delay: 0.2s;
}
.linhas-pesquisa {
  animation-delay: 0.4s;
}
.missao-visao {
  animation-delay: 0.6s;
}
.parcerias-section {
  animation-delay: 0.8s;
}
.fundadoras-section {
  animation-delay: 1s;
}

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

.timeline-item {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.timeline-item:nth-child(even) {
  transform: translateX(50px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Background especifico para a pagina Pesquisadores */
body.pesquisadores-page {
  background-image: url("../images/fundo 2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

body.pesquisadores-page .secao-pesquisadores {
  max-width: 1280px;
  margin: 2rem auto 3rem;
  padding: 2rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 92, 76, 0.28);
  background: rgba(243, 231, 205, 0.9);
  box-shadow: 0 18px 45px rgba(25, 22, 22, 0.25);
}

body.pesquisadores-page .titulo-secao {
  color: var(--terra-queimada);
  border-bottom-color: var(--verde-cinza);
}

body.pesquisadores-page .pesquisador {
  border: 1px solid rgba(146, 75, 56, 0.38);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(25, 22, 22, 0.12);
}

body.pesquisadores-page .pesquisador:hover {
  box-shadow: 0 14px 30px rgba(25, 22, 22, 0.22);
}

body.pesquisadores-page .pesquisador img {
  border-color: var(--verde-cinza);
}

body.pesquisadores-page .pesquisador h3 {
  color: var(--verde-cinza);
}

body.pesquisadores-page .pesquisador .area {
  color: var(--terra-queimada);
}

body.pesquisadores-page .pesquisador .bio {
  color: var(--preto-elegante);
}

body.pesquisadores-page .pesquisador .links a {
  color: var(--branco);
  background: var(--terra-queimada);
}

body.pesquisadores-page .pesquisador .links a:hover {
  color: var(--branco);
  background: var(--verde-cinza);
}

/* =========================================================
   20) INDEX.HTML - TEMA VISUAL (HOME)
========================================================= */
body.index-page {
  background:
    radial-gradient(circle at 15% 12%, rgba(146, 75, 56, 0.14), transparent 45%),
    radial-gradient(circle at 82% 24%, rgba(91, 92, 76, 0.14), transparent 44%),
    linear-gradient(180deg, #fbf8f2 0%, #f3e7cd 100%);
}

body.index-page header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91, 92, 76, 0.15);
}

body.index-page .hero-vidar-anim {
  min-height: 72vh;
  background: #2f5960;
  animation: index-hero-palette 20s ease-in-out infinite alternate;
}

body.index-page .hero-vidar-ondas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

body.index-page .hero-vidar-anim::before {
  content: none;
}

body.index-page .hero-vidar-anim::after {
  content: none;
}

body.index-page .hero-vidar-linhas .linhas {
  transform-origin: center;
  animation: index-rio-grupo 18s ease-in-out infinite alternate;
}

body.index-page .hero-vidar-linhas {
  z-index: 0;
}

body.index-page .hero-vidar-linhas .linhas path {
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.86;
  filter: drop-shadow(0 0 9px rgba(243, 231, 205, 0.18));
  animation: index-rio-luz 5.6s ease-in-out infinite;
}

body.index-page .hero-vidar-linhas .linhas path:nth-child(1) {
  stroke: url("#rio-grad-1");
  stroke-width: 4;
  animation: index-rio-sway-1 11s ease-in-out infinite alternate,
    index-rio-luz 4.8s ease-in-out infinite;
}

body.index-page .hero-vidar-linhas .linhas path:nth-child(2) {
  stroke: url("#rio-grad-2");
  stroke-width: 3;
  animation: index-rio-sway-2 9.5s ease-in-out infinite alternate,
    index-rio-luz 5.4s ease-in-out infinite;
}

body.index-page .hero-vidar-linhas .linhas path:nth-child(3) {
  stroke: url("#rio-grad-3");
  stroke-width: 2.8;
  animation: index-rio-sway-3 12.6s ease-in-out infinite alternate,
    index-rio-luz 6.2s ease-in-out infinite;
}

body.index-page .hero-vidar-linhas .linhas path:nth-child(4) {
  stroke: url("#rio-grad-4");
  stroke-width: 3.5;
  animation: index-rio-sway-4 10.8s ease-in-out infinite alternate,
    index-rio-luz 5.9s ease-in-out infinite;
}

@keyframes index-rio-luz {
  0%,
  100% {
    opacity: 0.74;
  }
  50% {
    opacity: 1;
  }
}

@keyframes index-hero-palette {
  0% {
    background-color: #2f5960;
  }
  33% {
    background-color: #355f67;
  }
  66% {
    background-color: #2a525e;
  }
  100% {
    background-color: #234a56;
  }
}

@keyframes index-rio-grupo {
  0% {
    transform: translate(-1.1%, 1.2%) scale(1);
  }
  100% {
    transform: translate(1.4%, -1.1%) scale(1.02);
  }
}

@keyframes index-rio-sway-1 {
  0% {
    transform: translate(-0.8%, 1.1%) scale(1.02);
  }
  100% {
    transform: translate(1.2%, -1.3%) scale(1.04);
  }
}

@keyframes index-rio-sway-2 {
  0% {
    transform: translate(1.1%, -0.8%) scale(1);
  }
  100% {
    transform: translate(-1.3%, 1.3%) scale(1.03);
  }
}

@keyframes index-rio-sway-3 {
  0% {
    transform: translate(-1.1%, -0.9%) scale(1.01);
  }
  100% {
    transform: translate(1.5%, 1.2%) scale(1.03);
  }
}

@keyframes index-rio-sway-4 {
  0% {
    transform: translate(1%, 0.9%) scale(1.01);
  }
  100% {
    transform: translate(-1.4%, -1.2%) scale(1.03);
  }
}

body.index-page .hero-vidar-conteudo h1 {
  color: #f7eedb;
  font-family: "Dancing Script", "Playfair Display", serif;
  font-size: clamp(3.2rem, 8.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

body.index-page .hero-vidar-conteudo {
  z-index: 2;
}
body.index-page .destaque-principal-section {
  margin-top: -6.5rem;
  padding: 0 clamp(1rem, 3vw, 3rem);
}

body.index-page .destaque-editorial {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(243, 231, 205, 0.42);
  background:
    linear-gradient(125deg, rgba(53, 95, 103, 0.92) 0%, rgba(42, 82, 94, 0.94) 100%);
  box-shadow: 0 24px 56px rgba(25, 22, 22, 0.3);
  overflow: hidden;
}

body.index-page .destaque-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(243, 231, 205, 0.2), transparent 36%),
    radial-gradient(circle at 88% 86%, rgba(243, 231, 205, 0.12), transparent 40%);
  pointer-events: none;
}

body.index-page .eventos-home-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(25, 22, 22, 0.26);
  border: 1px solid rgba(243, 231, 205, 0.2);
}

body.index-page .eventos-home-header-copy {
  min-width: 0;
}

body.index-page .eventos-home-header h2 {
  color: var(--bege-claro);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin: 0.15rem 0 0.4rem;
  line-height: 1.1;
}

body.index-page .eventos-home-header .descricao {
  margin: 0;
  max-width: 58ch;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
}

body.index-page .eventos-home-acoes {
  flex-shrink: 0;
  justify-content: flex-end;
}

body.index-page .eventos-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

body.index-page .evento-card-home {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.8rem;
  border-radius: 18px;
  background: rgba(243, 231, 205, 0.94);
  border: 1px solid rgba(91, 92, 76, 0.25);
  box-shadow: 0 14px 28px rgba(25, 22, 22, 0.12);
}

body.index-page .evento-card-imagem {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 118px;
  width: 118px;
  border-radius: 14px;
  overflow: hidden;
  height: 160px;
  background: linear-gradient(180deg, #f6efe5 0%, #efe2d2 100%);
}

body.index-page .evento-card-imagem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.index-page .evento-card-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

body.index-page .evento-card-conteudo h3 {
  color: var(--terra-queimada);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  margin: 0;
  line-height: 1.18;
}

body.index-page .evento-card-tag {
  align-self: flex-start;
  margin-bottom: 0.1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(53, 95, 103, 0.12);
  color: var(--verde-cinza);
  border: 1px solid rgba(53, 95, 103, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.index-page .evento-card-titulo {
  color: var(--preto-elegante);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

body.index-page .evento-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

body.index-page .evento-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #4f4f46;
  border: 1px solid rgba(181, 160, 132, 0.35);
  font-size: 0.8rem;
  line-height: 1.35;
}

body.index-page .eventos-home-header .btn-secundario {
  color: var(--bege-claro);
  border-color: rgba(243, 231, 205, 0.7);
  background: rgba(25, 22, 22, 0.25);
  min-width: auto;
  padding: 0.68rem 1rem;
  font-size: 0.88rem;
}

body.index-page .eventos-home-header .btn-secundario:hover {
  background: rgba(243, 231, 205, 0.9);
  color: var(--preto-elegante);
}

body.index-page .destaque-principal {
  height: min(72vh, 680px);
  border-radius: 24px;
  border: 1px solid rgba(243, 231, 205, 0.45);
  box-shadow: 0 25px 60px rgba(25, 22, 22, 0.3);
}

body.index-page .gradient-overlay {
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(25, 22, 22, 0.14) 0%,
    rgba(25, 22, 22, 0.58) 58%,
    rgba(25, 22, 22, 0.88) 100%
  );
}

body.index-page .conteudo-principal {
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 920px);
  text-align: center;
  padding: clamp(1.2rem, 2.5vw, 2.6rem);
}

body.index-page .badge.evento {
  display: inline-block;
  margin-bottom: 0.9rem;
  background: rgba(146, 75, 56, 0.88);
  color: var(--bege-claro);
  border: 1px solid rgba(243, 231, 205, 0.55);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

body.index-page .conteudo-principal h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  margin: 0.3rem 0 0.8rem;
}

body.index-page .descricao {
  margin: 0 auto 1.2rem;
  max-width: 72ch;
  font-size: clamp(0.98rem, 1.8vw, 1.2rem);
  opacity: 0.98;
}

body.index-page .meta-info {
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

body.index-page .meta-info span {
  background: rgba(243, 231, 205, 0.16);
  border: 1px solid rgba(243, 231, 205, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

body.index-page .botoes-acao {
  justify-content: center;
  gap: 0.8rem;
}

body.index-page .btn {
  min-width: 200px;
  border-radius: 999px;
  padding: 0.78rem 1.5rem;
  font-size: 0.95rem;
}

body.index-page .btn-primario {
  box-shadow: 0 10px 24px rgba(146, 75, 56, 0.35);
}

body.index-page .btn-secundario {
  border-color: rgba(255, 255, 255, 0.75);
}

body.index-page .dicas-leituras.cards {
  margin: 2.8rem auto 0;
  width: min(1280px, calc(100% - 2rem));
  border-radius: 24px;
  border: 1px solid rgba(91, 92, 76, 0.2);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(25, 22, 22, 0.12);
  backdrop-filter: blur(6px);
}

body.index-page .dicas-leituras.cards h2 {
  color: var(--terra-queimada);
}

body.index-page .card-leitura {
  border: 1px solid rgba(146, 75, 56, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefb 0%, #f8f0e8 100%);
}

body.index-page .card-leitura:hover {
  transform: translateY(-6px);
}

body.index-page .card-leitura h3 {
  font-size: 1.05rem;
}

body.index-page .frase-destaque.imagem {
  width: 100%;
  height: clamp(560px, 82vh, 900px);
  margin: 2rem 0 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

body.index-page .frase-destaque.imagem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      var(--bege-claro) 0%,
      rgba(243, 231, 205, 0.72) 3%,
      rgba(243, 231, 205, 0.2) 7%,
      rgba(243, 231, 205, 0) 12%
    ),
    linear-gradient(
      0deg,
      var(--bege-claro) 0%,
      rgba(243, 231, 205, 0.72) 4%,
      rgba(243, 231, 205, 0.2) 10%,
      rgba(243, 231, 205, 0) 18%
    );
  z-index: 0;
  pointer-events: none;
}

body.index-page .frase-destaque.imagem::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.52) 100%
  );
  z-index: 0;
}

body.index-page .frase-destaque.imagem .conteudo-frase,
body.index-page .frase-destaque.imagem .credito-foto {
  z-index: 2;
}

@media (max-width: 1024px) {
  body.index-page .destaque-principal-section {
    margin-top: -4.8rem;
  }

  body.index-page .eventos-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.index-page .eventos-home-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.index-page .destaque-principal {
    height: min(65vh, 560px);
  }
}

@media (max-width: 768px) {
  body.index-page .hero-vidar-anim {
    min-height: 64vh !important;
    height: auto !important;
  }

  body.index-page .hero-vidar-linhas .linhas path {
    stroke-width: 2.2;
    stroke-dasharray: none;
    filter: drop-shadow(0 0 5px rgba(243, 231, 205, 0.2));
  }

  body.index-page .hero-vidar-conteudo h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1.18;
  }

  body.index-page .destaque-principal-section {
    margin-top: 0.6rem;
    padding: 0 0.8rem;
  }

  body.index-page .destaque-editorial {
    padding: 1rem;
    border-radius: 16px;
  }

  body.index-page .eventos-home-header,
  body.index-page .evento-card-home {
    border-radius: 14px;
    padding: 0.85rem;
  }

  body.index-page .eventos-home-acoes,
  body.index-page .eventos-home-header .botoes-acao {
    align-items: stretch;
    width: 100%;
  }

  body.index-page .eventos-home-grid {
    grid-template-columns: 1fr;
  }

  body.index-page .evento-card-imagem {
    flex: 0 0 104px;
    width: 104px;
    height: 144px;
  }

  body.index-page .evento-card-conteudo h3 {
    font-size: 1.2rem;
  }

  body.index-page .evento-card-home {
    align-items: center;
  }

  body.index-page .evento-card-conteudo {
    justify-content: center;
  }

  body.index-page .evento-card-imagem img {
    width: 100%;
    height: 100%;
  }

  body.index-page .destaque-principal {
    height: auto;
    min-height: 520px;
    border-radius: 16px;
  }

  body.index-page .conteudo-principal {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    text-align: left;
    padding: 1rem;
  }

  body.index-page .meta-info {
    justify-content: flex-start;
  }

  body.index-page .botoes-acao {
    align-items: stretch;
  }

  body.index-page .btn {
    min-width: 0;
    width: 100%;
  }

  body.index-page .dicas-leituras.cards {
    width: calc(100% - 1rem);
    border-radius: 16px;
  }

  body.index-page .frase-destaque.imagem {
    height: 62vh;
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  body.index-page .evento-card-home {
    flex-direction: column;
    align-items: stretch;
  }

  body.index-page .evento-card-imagem {
    flex: 0 0 auto;
    width: 100%;
    height: 210px;
  }
}

@media (max-width: 480px) {
  body.index-page .hero-vidar-anim {
    min-height: 60vh !important;
  }

  body.index-page .hero-vidar-conteudo h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
    line-height: 1.2;
  }

  body.index-page .destaque-principal {
    min-height: 500px;
  }

  body.index-page .conteudo-principal h1 {
    font-size: 1.5rem;
  }

  body.index-page .descricao {
    font-size: 0.9rem;
  }

  body.index-page .frase-destaque.imagem {
    height: 56vh;
    min-height: 360px;
  }
}

/* =========================================================
   21) HOME + SOBRE (NOVO TEMA)
========================================================= */
body.index-page .atalho-sobre-fixo {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 3000;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bege-claro);
  background: linear-gradient(135deg, var(--verde-cinza), #2f5960);
  border: 1px solid rgba(243, 231, 205, 0.45);
  box-shadow: 0 10px 26px rgba(25, 22, 22, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.index-page .atalho-sobre-fixo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(25, 22, 22, 0.32);
}

body.sobre-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(169, 120, 82, 0.16), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(30, 86, 100, 0.18), transparent 34%),
    linear-gradient(180deg, #efe4d0 0%, #e7d7bd 100%);
}

body.sobre-page .container {
  max-width: 1240px;
  margin-top: 1.3rem;
}

body.sobre-page .titulo-secao {
  color: #6f3f29;
  border-bottom-color: #1f5663;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.sobre-page .sobre-hero {
  background:
    linear-gradient(132deg, #235967 0%, #496a5c 46%, #8a4f37 100%);
  border-radius: 18px;
  border: 1px solid rgba(243, 231, 205, 0.45);
  box-shadow: 0 22px 50px rgba(25, 22, 22, 0.26);
}

body.sobre-page .sobre-hero-content {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

body.sobre-page .sobre-subtitulo {
  color: rgba(249, 241, 225, 0.98);
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-style: italic;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.5;
  opacity: 0.96;
}

body.sobre-page .guia-frase {
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 600;
  color: #f2e6cd;
  margin: 0.4rem auto 0.2rem;
  line-height: 1.2;
  text-align: center;
}

body.sobre-page .sobre-hero-content h1 {
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(2.55rem, 5vw, 4.2rem);
  line-height: 1.14;
  text-wrap: balance;
  text-align: center;
  margin: 0 auto 0.6rem;
}

body.sobre-page .sobre-hero-content > p:not(.sobre-subtitulo):not(.guia-frase) {
  max-width: 820px;
  margin: 0.2rem auto 0;
  font-size: clamp(1.1rem, 2vw, 1.52rem);
  line-height: 1.62;
  color: rgba(250, 244, 231, 0.95);
  text-wrap: pretty;
  text-align: center;
}

body.sobre-page .sobre-hero-content p,
body.sobre-page .timeline-content p,
body.sobre-page .linha-card p,
body.sobre-page .pilar-card p,
body.sobre-page .pilar-card li,
body.sobre-page .fundadora-conteudo p,
body.sobre-page .parcerias-texto {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  line-height: 1.7;
}

body.sobre-page .timeline-section {
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.95), rgba(242, 228, 202, 0.9));
  border: 1px solid rgba(96, 79, 58, 0.24);
  box-shadow: 0 16px 36px rgba(46, 35, 29, 0.13);
}

body.sobre-page .timeline::before {
  background: linear-gradient(180deg, #1f5663, #7e4a33);
}

body.sobre-page .timeline-year {
  background: linear-gradient(135deg, #8a4f37, #6d3e2c);
  color: #f4ead3;
  border: 2px solid rgba(243, 231, 205, 0.76);
}

body.sobre-page .timeline-content {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(181, 152, 115, 0.45);
  box-shadow: 0 8px 24px rgba(46, 35, 29, 0.11);
}

body.sobre-page .timeline-content h3 {
  color: #1f5663;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-weight: 700;
}

body.sobre-page .linhas-pesquisa {
  background:
    linear-gradient(160deg, rgba(31, 86, 99, 0.94) 0%, rgba(74, 103, 88, 0.94) 52%, rgba(128, 75, 54, 0.93) 100%);
  border: 1px solid rgba(243, 231, 205, 0.42);
  box-shadow: 0 18px 40px rgba(25, 22, 22, 0.22);
}

body.sobre-page .linhas-pesquisa .titulo-secao {
  color: #f4ead3;
  border-bottom-color: rgba(243, 231, 205, 0.66);
}

body.sobre-page .linha-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(241, 224, 191, 0.6);
}

body.sobre-page .linha-card h3 {
  color: #1f5663;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-weight: 700;
}

body.sobre-page .missao-visao {
  background: linear-gradient(180deg, rgba(253, 247, 236, 0.96), rgba(237, 223, 197, 0.93));
  border: 1px solid rgba(146, 75, 56, 0.24);
  box-shadow: 0 14px 34px rgba(46, 35, 29, 0.11);
}

body.sobre-page .pilar-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(86, 104, 90, 0.24);
}

body.sobre-page .pilar-card h3 {
  color: #6f3f29;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-weight: 700;
}

body.sobre-page .fundadoras-section {
  background: linear-gradient(180deg, rgba(243, 231, 205, 0.95), rgba(228, 211, 183, 0.92));
  border: 1px solid rgba(91, 92, 76, 0.24);
  border-radius: 16px;
  padding: 3rem 1.6rem;
}

body.sobre-page .card-fundadora {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(146, 75, 56, 0.22);
}

body.sobre-page .fundadora-conteudo h3 {
  color: #1f5663;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-weight: 700;
}

body.sobre-page .parcerias-section {
  background: #f8f1e2;
  border: 1px solid rgba(181, 160, 132, 0.36);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(25, 22, 22, 0.1);
}

body.sobre-page .parcerias-section .titulo-secao {
  color: #1f5663;
  border-bottom-color: rgba(146, 75, 56, 0.28);
}

body.sobre-page .parcerias-blocos {
  display: grid;
  gap: 1.25rem;
}

body.sobre-page .bloco-parcerias {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(181, 160, 132, 0.28);
  box-shadow: 0 10px 24px rgba(25, 22, 22, 0.08);
}

body.sobre-page .bloco-parcerias h3 {
  margin: 0 0 1rem;
  color: #7f432f;
  font-family: "Playfair Display", "Palatino Linotype", serif;
  font-size: 1.65rem;
}

body.sobre-page .logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1rem;
}

body.sobre-page .logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(181, 160, 132, 0.3);
  box-shadow: 0 6px 16px rgba(25, 22, 22, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.sobre-page .logo-tile:hover,
body.sobre-page .logo-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(25, 22, 22, 0.14);
}

body.sobre-page .logo-tile img {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

body.sobre-page .parcerias-imagem {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(25, 22, 22, 0.08);
}

body.sobre-page .parcerias-imagem img {
  display: block;
  width: 100%;
  height: auto;
}

body.index-page .vitrine-publicacoes-home {
  width: min(1280px, calc(100% - 2rem));
  margin: 2.8rem auto 0;
  padding: 1.8rem 1.8rem 1.45rem;
  min-height: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 10%, rgba(243, 231, 205, 0.22), transparent 28%),
    radial-gradient(circle at 90% 92%, rgba(243, 231, 205, 0.16), transparent 24%),
    linear-gradient(130deg, #7f412f 0%, #944d37 38%, #2f5960 100%);
  border: 1px solid rgba(243, 231, 205, 0.35);
  box-shadow: 0 20px 36px rgba(25, 22, 22, 0.24);
}

body.index-page .vitrine-publicacoes-header {
  max-width: 860px;
  margin: 0 auto 1.2rem;
  text-align: center;
}

body.index-page .vitrine-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(243, 231, 205, 0.2);
  border: 1px solid rgba(243, 231, 205, 0.4);
  color: #f8f1e2;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

body.index-page .vitrine-publicacoes-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #f8f1e2;
  margin-bottom: 0.45rem;
}

body.index-page .vitrine-publicacoes-header p {
  color: rgba(248, 241, 226, 0.96);
  font-size: 1.05rem;
}

body.index-page .vitrine-publicacoes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

body.index-page .pub-destaque-card {
  background: rgba(250, 244, 232, 0.94);
  border: 1px solid rgba(181, 160, 132, 0.45);
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
  box-shadow: 0 10px 20px rgba(25, 22, 22, 0.14);
}

body.index-page .pub-tag {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #2f5960;
  color: #f3e7cd;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.6rem;
}

body.index-page .pub-destaque-card h3 {
  font-family: "Playfair Display", serif;
  color: #7f412f;
  font-size: 1.38rem;
  margin-bottom: 0.35rem;
}

body.index-page .pub-autores {
  color: #45545a;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

body.index-page .pub-resumo {
  color: #2f2c28;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0.8rem;
}

body.index-page .pub-destaque-card .btn {
  background: #2f5960;
  color: #f8f1e2;
  border: 1px solid rgba(47, 89, 96, 0.9);
}

body.index-page .pub-destaque-card .btn:hover {
  background: #1f4b54;
  color: #ffffff;
}

body.index-page .vitrine-publicacoes-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(20, 32, 35, 0.2);
  border: 1px solid rgba(243, 231, 205, 0.24);
  border-radius: 14px;
  padding: 0.9rem;
}

body.index-page .vitrine-topicos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

body.index-page .vitrine-topicos li {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(243, 231, 205, 0.16);
  border: 1px solid rgba(243, 231, 205, 0.34);
  color: #f8f1e2;
  font-size: 0.84rem;
}

body.index-page .pagina9-vitrine-home {
  width: min(1280px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 1.7rem 1.6rem 1.8rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 10%, rgba(243, 231, 205, 0.28), transparent 30%),
    linear-gradient(130deg, #285864 0%, #406758 52%, #7f432f 100%);
  border: 1px solid rgba(243, 231, 205, 0.34);
  box-shadow: 0 20px 34px rgba(25, 22, 22, 0.25);
}

body.index-page .pagina9-header {
  max-width: 900px;
  margin: 0 auto 1.2rem;
  text-align: center;
}

body.index-page .pagina9-header h2 {
  font-family: "Playfair Display", serif;
  color: #f8f1e2;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.4rem;
}

body.index-page .pagina9-header p {
  color: rgba(248, 241, 226, 0.95);
  font-size: 1rem;
}

body.index-page .pagina9-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.1rem;
}

body.index-page .pagina9-card {
  background: rgba(250, 245, 234, 0.95);
  border: 1px solid rgba(243, 231, 205, 0.56);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: 0 10px 20px rgba(25, 22, 22, 0.2);
}

body.index-page .pagina9-capa {
  border-radius: 12px;
  overflow: hidden;
  background: #f3e7cd;
  margin-bottom: 0.72rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.index-page .pagina9-capa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.index-page .pagina9-capa:hover,
body.index-page .pagina9-capa:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(25, 22, 22, 0.18);
}

body.index-page .pagina9-card h3 {
  font-family: "Playfair Display", serif;
  color: #6f3f29;
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

body.index-page .pagina9-card p {
  color: #1f5663;
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}

body.index-page .pagina9-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: #1f5663;
  color: #fff;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.index-page .pagina9-link:hover,
body.index-page .pagina9-link:focus-visible {
  background: #7f432f;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  body.index-page .atalho-sobre-fixo {
    right: 10px;
    bottom: 12px;
    font-size: 0.82rem;
    padding: 0.62rem 0.88rem;
  }

  body.index-page .vitrine-publicacoes-home {
    width: min(1280px, calc(100% - 1.4rem));
    margin: 1.1rem auto 0;
    padding: 1rem 0.85rem;
    min-height: 0;
  }

  body.index-page .vitrine-publicacoes-grid {
    grid-template-columns: 1fr;
  }

  body.index-page .vitrine-publicacoes-footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.index-page .pagina9-vitrine-home {
    width: min(1280px, calc(100% - 1.4rem));
    margin: 1.1rem auto 0;
    padding: 1rem 0.85rem 1.1rem;
  }

  body.index-page .pagina9-grid {
    grid-template-columns: 1fr;
  }

  body.index-page .pagina9-capa img {
    height: 100%;
  }

  body.index-page .vitrine-publicacoes-header p {
    font-size: 0.98rem;
  }

  body.sobre-page .fundadoras-section {
    padding: 2.2rem 1rem;
  }

  body.sobre-page .parcerias-section {
    padding: 2.2rem 1rem;
  }

  body.sobre-page .logo-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  body.sobre-page .sobre-hero-content h1 {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
    margin: 0 auto 0.6rem !important;
  }

  body.sobre-page .sobre-subtitulo {
    font-size: 1.14rem !important;
    line-height: 1.45 !important;
    margin: 0 auto 0.7rem !important;
  }

  body.sobre-page .sobre-hero-content > p:not(.sobre-subtitulo):not(.guia-frase) {
    font-size: 1.06rem !important;
    line-height: 1.55 !important;
    margin: 0.1rem auto 0 !important;
  }

  body.sobre-page .guia-frase {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin: 0.25rem auto 0 !important;
  }
}

/* =========================================================
   22) PROJETOS (TEMA VISUAL)
========================================================= */
body.projetos-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(146, 75, 56, 0.13), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(31, 86, 99, 0.16), transparent 30%),
    linear-gradient(180deg, #efe4d0 0%, #eadbc3 100%);
}

body.projetos-page .projetos-modais {
  width: min(1280px, calc(100% - 2rem));
  margin: 1.4rem auto 2.8rem;
  padding: 1.8rem 1.4rem 2.2rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(243, 231, 205, 0.7), transparent 35%),
    rgba(255, 251, 243, 0.93);
  border: 1px solid rgba(118, 90, 66, 0.25);
  box-shadow: 0 20px 40px rgba(30, 24, 20, 0.16);
}

body.projetos-page .modais-header {
  padding: 1.4rem 1.3rem;
  border-radius: 16px;
  background: linear-gradient(
    126deg,
    rgba(37, 89, 103, 0.95) 0%,
    rgba(73, 105, 89, 0.95) 52%,
    rgba(129, 74, 53, 0.95) 100%
  );
  border: 1px solid rgba(243, 231, 205, 0.35);
  box-shadow: 0 14px 28px rgba(25, 22, 22, 0.2);
}

body.projetos-page .header-content {
  margin-left: 0;
}

body.projetos-page .header-content h2 {
  color: #f8f1e2;
}

body.projetos-page .header-content p {
  color: rgba(248, 241, 226, 0.94);
}

body.projetos-page .stat-item {
  background: rgba(243, 231, 205, 0.94);
  border: 1px solid rgba(243, 231, 205, 0.6);
  box-shadow: 0 10px 22px rgba(25, 22, 22, 0.15);
}

body.projetos-page .stat-number {
  color: #7e4530;
}

body.projetos-page .stat-label {
  color: #355f67;
}

body.projetos-page .grid-projetos-modais {
  gap: 1.6rem;
}

body.projetos-page .card-projeto-modal {
  border-radius: 18px;
  border: 1px solid rgba(111, 63, 41, 0.23);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 237, 221, 0.97));
  box-shadow: 0 12px 30px rgba(35, 27, 22, 0.14);
}

body.projetos-page .card-projeto-modal:hover {
  box-shadow: 0 18px 34px rgba(31, 86, 99, 0.22);
  border-color: rgba(31, 86, 99, 0.55);
}

body.projetos-page .projeto-thumbnail {
  height: 320px;
}

body.projetos-page .thumbnail-overlay {
  background:
    linear-gradient(
      145deg,
      rgba(31, 86, 99, 0.78) 0%,
      rgba(126, 69, 48, 0.84) 100%
    );
}

body.projetos-page .badge.status.andamento {
  background: rgba(243, 231, 205, 0.95);
  color: #1f5663;
  border: 1px solid rgba(31, 86, 99, 0.24);
}

body.projetos-page .badge.priority {
  background: rgba(126, 69, 48, 0.92);
  color: #f8f1e2;
}

body.projetos-page .card-info h3,
body.projetos-page .progress-info,
body.projetos-page .membro-nome,
body.projetos-page .info-card h4 {
  color: #1f5663;
}

body.projetos-page .tag {
  background: rgba(31, 86, 99, 0.14);
  color: #355f67;
  border: 1px solid rgba(31, 86, 99, 0.18);
}

body.projetos-page .progress-bar {
  background: rgba(181, 160, 132, 0.42);
}

body.projetos-page .progress-fill {
  background: linear-gradient(90deg, #1f5663 0%, #7e4530 100%);
}

body.projetos-page .modal-overlay {
  background: rgba(19, 18, 17, 0.72);
}

body.projetos-page .modal-container {
  border: 1px solid rgba(243, 231, 205, 0.45);
  background: linear-gradient(180deg, #fffdf8 0%, #f9efe0 100%);
}

body.projetos-page .modal-header {
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 231, 205, 0.45), transparent 34%),
    linear-gradient(132deg, rgba(31, 86, 99, 0.95) 0%, rgba(128, 75, 54, 0.95) 100%);
  border-bottom-color: rgba(243, 231, 205, 0.35);
}

body.projetos-page .modal-header h2,
body.projetos-page .modal-header p {
  color: #f8f1e2;
}

body.projetos-page .metodo-item {
  border: 1px solid rgba(31, 86, 99, 0.14);
  background: linear-gradient(180deg, rgba(243, 231, 205, 0.88), rgba(233, 218, 193, 0.72));
}

body.projetos-page .metodo-item:hover {
  background: linear-gradient(120deg, #1f5663, #7e4530);
}

body.projetos-page .info-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(111, 63, 41, 0.24);
}

body.projetos-page .modal-footer {
  background:
    linear-gradient(180deg, rgba(243, 231, 205, 0.93), rgba(233, 218, 193, 0.95));
}

@media (max-width: 768px) {
  body.projetos-page .projetos-modais {
    width: calc(100% - 1.2rem);
    margin: 0.9rem auto 1.8rem;
    padding: 1rem 0.9rem 1.3rem;
    border-radius: 16px;
  }

  body.projetos-page .modais-header {
    padding: 1rem;
  }

  body.projetos-page .header-content h2 {
    font-size: 2rem;
  }

  body.projetos-page .projeto-thumbnail {
    height: 260px;
  }
}

@media (max-width: 480px) {
  body.projetos-page .header-content h2 {
    font-size: 1.7rem;
  }

  body.projetos-page .card-info h3 {
    font-size: 1.12rem;
  }
}

/* =========================================================
   23) EVENTOS (TEMA VISUAL)
========================================================= */
body.eventos-page {
  background:
    radial-gradient(circle at top left, rgba(146, 75, 56, 0.15), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(31, 86, 99, 0.18), transparent 22%),
    linear-gradient(180deg, #f4ead8 0%, #efe2cb 52%, #f8f2e8 100%);
}

body.eventos-page .eventos-main {
  width: min(1280px, calc(100% - 2rem));
  margin: 1.4rem auto 3rem;
  display: grid;
  gap: 1.4rem;
}

body.eventos-page .eventos-hero,
body.eventos-page .eventos-painel,
body.eventos-page .eventos-linha,
body.eventos-page .eventos-acervo,
body.eventos-page .eventos-canais {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(111, 63, 41, 0.18);
  background:
    radial-gradient(circle at top left, rgba(243, 231, 205, 0.72), transparent 38%),
    rgba(255, 252, 247, 0.94);
  box-shadow: 0 18px 38px rgba(33, 25, 20, 0.14);
}

body.eventos-page .eventos-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 1.6rem;
  padding: 2rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 231, 205, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(31, 86, 99, 0.97) 0%, rgba(73, 105, 89, 0.95) 48%, rgba(126, 69, 48, 0.97) 100%);
  border-color: rgba(243, 231, 205, 0.22);
}

body.eventos-page .eventos-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(243, 231, 205, 0.16);
  border: 1px solid rgba(243, 231, 205, 0.28);
  color: #f8f1e2;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.eventos-page .eventos-hero h1 {
  margin: 0 0 0.9rem;
  color: #f8f1e2;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.98;
  font-family: "Playfair Display", "Times New Roman", serif;
}

body.eventos-page .eventos-hero-intro {
  max-width: 46rem;
  color: rgba(248, 241, 226, 0.92);
  font-size: 1.08rem;
  line-height: 1.8;
}

body.eventos-page .eventos-hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

body.eventos-page .btn-primario {
  background: #f3e7cd;
  color: #1f5663;
}

body.eventos-page .btn-primario:hover {
  background: #fff6e6;
  color: #164450;
}

body.eventos-page .btn-secundario {
  border-color: rgba(248, 241, 226, 0.85);
  color: #f8f1e2;
}

body.eventos-page .btn-secundario:hover {
  background: #f8f1e2;
  color: #1f5663;
}

body.eventos-page .eventos-hero-resumo {
  display: grid;
  gap: 0.9rem;
  align-content: center;
}

body.eventos-page .evento-resumo-card {
  padding: 1.2rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.13);
  border: 1px solid rgba(243, 231, 205, 0.22);
  backdrop-filter: blur(10px);
}

body.eventos-page .evento-resumo-card.destaque {
  background: rgba(243, 231, 205, 0.92);
  border-color: rgba(243, 231, 205, 0.58);
}

body.eventos-page .evento-resumo-card strong {
  display: block;
  margin: 0.35rem 0 0.1rem;
  font-size: 2.35rem;
  line-height: 1;
  color: #f8f1e2;
}

body.eventos-page .evento-resumo-card.destaque strong,
body.eventos-page .evento-resumo-card.destaque .evento-resumo-rotulo,
body.eventos-page .evento-resumo-card.destaque p {
  color: #1f5663;
}

body.eventos-page .evento-resumo-rotulo {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(248, 241, 226, 0.84);
}

body.eventos-page .evento-resumo-card p {
  color: rgba(248, 241, 226, 0.9);
  font-size: 0.96rem;
  line-height: 1.6;
}

body.eventos-page .eventos-painel,
body.eventos-page .eventos-linha,
body.eventos-page .eventos-acervo,
body.eventos-page .eventos-canais {
  padding: 1.8rem;
}

body.eventos-page .eventos-painel-header {
  max-width: 44rem;
  margin-bottom: 1.4rem;
}

body.eventos-page .eventos-painel-header h2,
body.eventos-page .eventos-acervo-header h2,
body.eventos-page .eventos-canais-copy h2 {
  color: #1f5663;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin: 0.35rem 0 0.6rem;
  font-family: "Playfair Display", "Times New Roman", serif;
}

body.eventos-page .eventos-painel-header p,
body.eventos-page .eventos-acervo-header p,
body.eventos-page .eventos-canais-copy p {
  color: #4b4a43;
  font-size: 1rem;
  line-height: 1.75;
}

body.eventos-page .eventos-fases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.eventos-page .fase-evento-card {
  min-height: 220px;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(111, 63, 41, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 236, 224, 0.98));
  box-shadow: 0 14px 28px rgba(34, 29, 26, 0.08);
}

body.eventos-page .fase-evento-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

body.eventos-page .fase-evento-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.eventos-page .fase-evento-card i {
  font-size: 1.2rem;
}

body.eventos-page .fase-evento-card h3 {
  margin-bottom: 0.7rem;
  color: #1f5663;
  font-size: 1.34rem;
  line-height: 1.15;
}

body.eventos-page .fase-evento-card p {
  color: #4b4a43;
  font-size: 0.98rem;
  line-height: 1.7;
}

body.eventos-page .fase-passado .fase-evento-chip,
body.eventos-page .evento-status.passado {
  background: rgba(103, 109, 82, 0.12);
  color: #55604c;
}

body.eventos-page .fase-atual .fase-evento-chip,
body.eventos-page .evento-status.atual {
  background: rgba(31, 86, 99, 0.12);
  color: #1f5663;
}

body.eventos-page .fase-futuro .fase-evento-chip,
body.eventos-page .evento-status.futuro {
  background: rgba(146, 75, 56, 0.12);
  color: #924b38;
}

body.eventos-page .eventos-linha .titulo-secao {
  margin-bottom: 1.5rem;
}

body.eventos-page .eventos-linha-trilha {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.8rem;
}

body.eventos-page .eventos-linha-trilha::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.45rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(31, 86, 99, 0.25), rgba(146, 75, 56, 0.32));
}

body.eventos-page .linha-agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

body.eventos-page .linha-agenda-item::before {
  content: "";
  position: absolute;
  left: -1.52rem;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1f5663;
  box-shadow: 0 0 0 5px rgba(31, 86, 99, 0.12);
}

body.eventos-page .linha-agenda-item.passado::before {
  background: #55604c;
  box-shadow: 0 0 0 5px rgba(85, 96, 76, 0.12);
}

body.eventos-page .linha-agenda-item.futuro::before {
  background: #924b38;
  box-shadow: 0 0 0 5px rgba(146, 75, 56, 0.12);
}

body.eventos-page .linha-agenda-data {
  padding-top: 0.2rem;
  color: #7e4530;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.eventos-page .linha-agenda-conteudo {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(111, 63, 41, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

body.eventos-page .linha-agenda-conteudo h3 {
  margin-bottom: 0.4rem;
  color: #1f5663;
  font-size: 1.15rem;
}

body.eventos-page .linha-agenda-conteudo p {
  color: #4b4a43;
  line-height: 1.68;
}

body.eventos-page .eventos-acervo-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

body.eventos-page .eventos-acervo-header p {
  max-width: 35rem;
}

body.eventos-page .eventos-acervo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

body.eventos-page .evento-historico-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(111, 63, 41, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 239, 229, 0.98));
  box-shadow: 0 16px 32px rgba(34, 29, 26, 0.1);
}

body.eventos-page .evento-historico-media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(155deg, rgba(31, 86, 99, 0.95), rgba(126, 69, 48, 0.92));
}

body.eventos-page .evento-historico-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.eventos-page .evento-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

body.eventos-page .evento-placeholder-conteudo {
  max-width: 17rem;
  text-align: center;
  color: #f8f1e2;
}

body.eventos-page .evento-placeholder-rotulo {
  display: inline-flex;
  padding: 0.32rem 0.72rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: rgba(243, 231, 205, 0.14);
  border: 1px solid rgba(243, 231, 205, 0.22);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.eventos-page .evento-placeholder-conteudo strong {
  display: block;
  font-size: 2rem;
  line-height: 1.05;
}

body.eventos-page .evento-placeholder-conteudo p {
  margin-top: 0.7rem;
  line-height: 1.7;
}

body.eventos-page .evento-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
}

body.eventos-page .evento-historico-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem;
}

body.eventos-page .evento-tipo {
  color: #7e4530;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.eventos-page .evento-historico-body h3 {
  color: #1f5663;
  font-size: 1.5rem;
  line-height: 1.12;
}

body.eventos-page .evento-titulo-secundario {
  color: #4b4a43;
  font-style: italic;
  line-height: 1.68;
}

body.eventos-page .evento-meta-lista {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: #3d3a34;
}

body.eventos-page .evento-meta-lista li {
  position: relative;
  padding-left: 1rem;
}

body.eventos-page .evento-meta-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #924b38;
}

body.eventos-page .evento-descricao-curta {
  color: #4b4a43;
  line-height: 1.72;
}

body.eventos-page .eventos-canais {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: center;
}

body.eventos-page .eventos-canais-links {
  display: grid;
  gap: 0.85rem;
}

body.eventos-page .canal-evento-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(111, 63, 41, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #1f5663;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.eventos-page .canal-evento-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 86, 99, 0.14);
  border-color: rgba(31, 86, 99, 0.32);
}

body.eventos-page .canal-evento-link i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 86, 99, 0.1);
}

@media (max-width: 1080px) {
  body.eventos-page .eventos-hero,
  body.eventos-page .eventos-canais,
  body.eventos-page .evento-historico-card {
    grid-template-columns: 1fr;
  }

  body.eventos-page .eventos-fases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.eventos-page .eventos-acervo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.eventos-page .eventos-main {
    width: calc(100% - 1.1rem);
    margin: 0.9rem auto 2rem;
    gap: 1rem;
  }

  body.eventos-page .eventos-hero,
  body.eventos-page .eventos-painel,
  body.eventos-page .eventos-linha,
  body.eventos-page .eventos-acervo,
  body.eventos-page .eventos-canais {
    padding: 1.15rem;
    border-radius: 18px;
  }

  body.eventos-page .eventos-hero {
    gap: 1rem;
  }

  body.eventos-page .eventos-hero h1 {
    font-size: 2.45rem;
  }

  body.eventos-page .eventos-hero-intro,
  body.eventos-page .eventos-painel-header p,
  body.eventos-page .eventos-acervo-header p,
  body.eventos-page .eventos-canais-copy p {
    font-size: 0.98rem;
  }

  body.eventos-page .eventos-hero-acoes {
    flex-direction: column;
  }

  body.eventos-page .eventos-fases-grid {
    grid-template-columns: 1fr;
  }

  body.eventos-page .linha-agenda-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  body.eventos-page .linha-agenda-data {
    padding-top: 0;
  }

  body.eventos-page .eventos-linha-trilha {
    padding-left: 1.45rem;
  }

  body.eventos-page .linha-agenda-item::before {
    left: -1.2rem;
  }

  body.eventos-page .evento-historico-media {
    min-height: 250px;
  }

  body.eventos-page .evento-historico-body {
    padding: 1.15rem;
  }
}

@media (max-width: 480px) {
  body.eventos-page .eventos-hero h1,
  body.eventos-page .eventos-painel-header h2,
  body.eventos-page .eventos-acervo-header h2,
  body.eventos-page .eventos-canais-copy h2 {
    font-size: 2rem;
  }

  body.eventos-page .evento-resumo-card strong {
    font-size: 2rem;
  }

  body.eventos-page .evento-historico-body h3 {
    font-size: 1.28rem;
  }

  body.eventos-page .canal-evento-link {
    padding: 0.9rem 0.95rem;
  }
}

/* =========================================================
   MURAL.HTML
========================================================= */
body.mural-page {
  background:
    linear-gradient(180deg, rgba(246, 239, 229, 0.72), rgba(255, 255, 255, 0.98) 34rem),
    var(--branco);
}

body.mural-page .mural-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 3.5rem;
  display: grid;
  gap: 1.6rem;
}

body.mural-page .mural-hero,
body.mural-page .mural-lista {
  border: 1px solid rgba(111, 63, 41, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(34, 29, 26, 0.08);
}

body.mural-page .mural-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 1.5rem;
  align-items: end;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border-radius: 24px;
}

body.mural-page .mural-eyebrow,
body.mural-page .mural-tipo {
  color: #7e4530;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.mural-page .mural-hero h1 {
  max-width: 760px;
  margin-top: 0.7rem;
  color: #1f5663;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1;
}

body.mural-page .mural-hero p {
  max-width: 690px;
  margin-top: 1rem;
  color: #403d36;
  font-size: 1.08rem;
  line-height: 1.75;
}

body.mural-page .mural-hero-info {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem;
  border-left: 4px solid #924b38;
  background: rgba(31, 86, 99, 0.08);
}

body.mural-page .mural-hero-info strong {
  color: #1f5663;
  font-size: 1.2rem;
}

body.mural-page .mural-hero-info span {
  color: #4b4a43;
  line-height: 1.6;
}

body.mural-page .mural-lista {
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 24px;
}

body.mural-page .mural-lista-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

body.mural-page .mural-lista-header h2 {
  color: #1f5663;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

body.mural-page .mural-lista-header p {
  max-width: 620px;
  color: #4b4a43;
  line-height: 1.72;
}

body.mural-page .mural-grid {
  display: grid;
  gap: 1.15rem;
}

body.mural-page .mural-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(91, 92, 76, 0.18);
  background: #fffaf1;
}

body.mural-page .mural-imagem {
  display: block;
  min-height: 100%;
  background: #e9ddc4;
}

body.mural-page .mural-imagem img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

body.mural-page .mural-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.15rem, 3vw, 2rem);
}

body.mural-page .mural-conteudo h3 {
  color: #1f5663;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
}

body.mural-page .mural-autoria {
  color: #7e4530;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

body.mural-page .mural-descricao {
  color: #4b4a43;
  line-height: 1.72;
}

body.mural-page .mural-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: #1f5663;
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.mural-page .mural-link:hover {
  transform: translateY(-2px);
  background: #924b38;
  box-shadow: 0 12px 22px rgba(146, 75, 56, 0.2);
}

body.mural-page .mural-link-pendente {
  background: rgba(91, 92, 76, 0.14);
  color: #3d3a34;
  cursor: default;
}

body.mural-page .mural-link-pendente:hover {
  transform: none;
  background: rgba(91, 92, 76, 0.14);
  box-shadow: none;
}

@media (max-width: 1180px) and (min-width: 769px) {
  nav ul li {
    margin-left: 0.85rem;
  }

  nav ul li a {
    font-size: 0.95rem;
  }
}

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

  body.mural-page .mural-lista-header {
    display: grid;
  }

  body.mural-page .mural-imagem img {
    min-height: 280px;
    max-height: 430px;
  }
}

@media (max-width: 520px) {
  body.mural-page .mural-main {
    width: calc(100% - 1rem);
    margin-top: 1rem;
  }

  body.mural-page .mural-hero,
  body.mural-page .mural-lista {
    border-radius: 18px;
  }

  body.mural-page .mural-card {
    min-height: 0;
  }

  body.mural-page .mural-imagem img {
    min-height: 230px;
  }

body.mural-page .mural-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   FUNDOS COMPARTILHADOS DAS PÁGINAS INTERNAS
========================================================= */
body.eventos-page,
body.projetos-page {
  background-image: url("../images/fundo1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

body.mural-page,
body.sobre-page {
  background-image: url("../images/fundo 2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
